vvplot 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -7
- package/dist/style.css +1 -0
- package/dist/vvplot.esm.js +288 -163
- package/dist/vvplot.esm.min.js +18 -18
- package/dist/vvplot.global.js +287 -162
- package/dist/vvplot.global.min.js +18 -18
- package/package.json +1 -1
package/dist/vvplot.esm.min.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import{computed as X,isRef as qn,reactive as jt,unref as Tt,getCurrentScope as il,onScopeDispose as rl,toValue as vo,watch as Ct,shallowRef as ol,getCurrentInstance as sl,onMounted as po,useTemplateRef as qt,nextTick as Cn,openBlock as O,createElementBlock as V,mergeProps as K,renderSlot as ll,toDisplayString as Vt,createCommentVNode as Lt,createTextVNode as dt,Fragment as lt,renderList as ut,inject as _1,normalizeStyle as $1,createElementVNode as At,createBlock as pt,toHandlers as Gt,normalizeProps as oe,resolveDynamicComponent as l1,guardReactiveProps as m1,createVNode as $e,useModel as ke,createPropsRestProxy as bo,mergeModels as a1,ref as tn,useId as al,Teleport as cl,useSlots as ul,useAttrs as hl,provide as or}from"vue";function fl(t){return il()?(rl(t),!0):!1}function ml(t){if(!qn(t))return jt(t);const e=new Proxy({},{get(n,i,r){return Tt(Reflect.get(t.value,i,r))},set(n,i,r){return qn(t.value[i])&&!qn(r)?t.value[i].value=r:t.value[i]=r,!0},deleteProperty(n,i){return Reflect.deleteProperty(t.value,i)},has(n,i){return Reflect.has(t.value,i)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return jt(e)}function Ee(t){return ml(X(t))}const dl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const gl=dl?window:void 0;function sr(t){var e;const n=vo(t);return(e=n?.$el)!=null?e:n}function yl(){const t=ol(!1),e=sl();return e&&po(()=>{t.value=!0},e),t}function xl(t){const e=yl();return X(()=>(e.value,!!t()))}function wo(t,e,n={}){const{window:i=gl,...r}=n;let o;const l=xl(()=>i&&"ResizeObserver"in i),c=()=>{o&&(o.disconnect(),o=void 0)},a=X(()=>{const m=vo(t);return Array.isArray(m)?m.map(f=>sr(f)):[sr(m)]}),s=Ct(a,m=>{if(c(),l.value&&i){o=new ResizeObserver(e);for(const f of m)f&&o.observe(f,r)}},{immediate:!0,flush:"post"}),u=()=>{c(),s()};return fl(u),{isSupported:l,stop:u}}const j1=()=>!1,Gn=Object.assign,vl=Symbol(""),pl=Symbol(""),bl=Symbol(""),wl=Symbol(""),ko={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function kl(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:ko}}function Wn(t,e=!1,n=ko,i=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:i}}const lr=new Uint8Array([123,123]),ar=new Uint8Array([125,125]);function cr(t){return t>=97&&t<=122||t>=65&&t<=90}function ie(t){return t===32||t===10||t===9||t===12||t===13}function Ne(t){return t===47||t===62||ie(t)}function en(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const Wt={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Al{constructor(e,n){this.stack=e,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=lr,this.delimiterClose=ar,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=lr,this.delimiterClose=ar}getPos(e){let n=1,i=e+1;const r=this.newlines.length;let o=-1;if(r>100){let l=-1,c=r;for(;l+1<c;){const a=l+c>>>1;this.newlines[a]<e?l=a:c=a}o=l}else for(let l=r-1;l>=0;l--)if(e>this.newlines[l]){o=l;break}return o>=0&&(n=o+2,i=e-this.newlines[o]),{column:i,line:n,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Ne(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||ie(e)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const i=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=i}this.sectionStart=n+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Wt.TitleEnd||this.currentSequence===Wt.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===60)}stateCDATASequence(e){e===Wt.Cdata[this.sequenceIndex]?++this.sequenceIndex===Wt.Cdata.length&&(this.state=28,this.currentSequence=Wt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Wt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,n){this.enterRCDATA(e,n),this.state=31}enterRCDATA(e,n){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=n}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):cr(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){Ne(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Ne(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(en("</"+n),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){ie(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=cr(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||ie(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?this.state=7:e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):ie(e)||this.handleAttrStart(e)}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):ie(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||Ne(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||Ne(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||Ne(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||Ne(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||Ne(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):ie(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):ie(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,n){(e===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){ie(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):(e===39||e===60||e===61||e===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=Wt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===Wt.ScriptEnd[3]?this.startSpecial(Wt.ScriptEnd,4):e===Wt.StyleEnd[3]?this.startSpecial(Wt.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Wt.TitleEnd[3]?this.startSpecial(Wt.TitleEnd,4):e===Wt.TextareaEnd[3]?this.startSpecial(Wt.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===Wt.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,n){}}function ur(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function Ao(t,e){const n=ur("MODE",e),i=ur(t,e);return n===3?i===!0:i!==!1}function nn(t,e,n,...i){return Ao(t,e)}function Sl(t){throw t}function Cl(t){}function Nl(t,e,n,i){const r=`https://vuejs.org/error-reference/#compiler-${t}`,o=new SyntaxError(String(r));return o.code=t,o.loc=e,o}const Ml=t=>t.type===4&&t.isStatic;function Tl(t){switch(t){case"Teleport":case"teleport":return vl;case"Suspense":case"suspense":return pl;case"KeepAlive":case"keep-alive":return bl;case"BaseTransition":case"base-transition":return wl}}function $l(t,e){return!!(t&&Ml(t)&&t.content===e)}function hr(t){return t.type===7&&t.name==="pre"}const El=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Ll(t){for(let e=0;e<t.length;e++)if(!ie(t.charCodeAt(e)))return!1;return!0}const So={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:j1,isPreTag:j1,isIgnoreNewlineTag:j1,isCustomElement:j1,onError:Sl,onWarn:Cl,comments:!1,prefixIdentifiers:!1};let wt=So,k1=null,Se="",Kt=null,gt=null,te="",we=-1,je=-1,bi=0,Me=!1,Kn=null;const St=[],Et=new Al(St,{onerr:pe,ontext(t,e){P1(zt(t,e),t,e)},ontextentity(t,e,n){P1(t,e,n)},oninterpolation(t,e){if(Me)return P1(zt(t,e),t,e);let n=t+Et.delimiterOpen.length,i=e-Et.delimiterClose.length;for(;ie(Se.charCodeAt(n));)n++;for(;ie(Se.charCodeAt(i-1));)i--;let r=zt(n,i);r.includes("&")&&(r=wt.decodeEntities(r,!1)),Zn({type:5,content:W1(r,!1,Dt(n,i)),loc:Dt(t,e)})},onopentagname(t,e){const n=zt(t,e);Kt={type:1,tag:n,ns:wt.getNamespace(n,St[0],wt.ns),tagType:0,props:[],children:[],loc:Dt(t-1,e),codegenNode:void 0}},onopentagend(t){mr(t)},onclosetag(t,e){const n=zt(t,e);if(!wt.isVoidTag(n)){let i=!1;for(let r=0;r<St.length;r++)if(St[r].tag.toLowerCase()===n.toLowerCase()){i=!0,r>0&&pe(24,St[0].loc.start.offset);for(let l=0;l<=r;l++){const c=St.shift();G1(c,e,l<r)}break}i||pe(23,Co(t,60))}},onselfclosingtag(t){const e=Kt.tag;Kt.isSelfClosing=!0,mr(t),St[0]&&St[0].tag===e&&G1(St.shift(),t)},onattribname(t,e){gt={type:6,name:zt(t,e),nameLoc:Dt(t,e),value:void 0,loc:Dt(t)}},ondirname(t,e){const n=zt(t,e),i=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Me&&i===""&&pe(26,t),Me||i==="")gt={type:6,name:n,nameLoc:Dt(t,e),value:void 0,loc:Dt(t)};else if(gt={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[Wn("prop")]:[],loc:Dt(t)},i==="pre"){Me=Et.inVPre=!0,Kn=Kt;const r=Kt.props;for(let o=0;o<r.length;o++)r[o].type===7&&(r[o]=Rl(r[o]))}},ondirarg(t,e){if(t===e)return;const n=zt(t,e);if(Me&&!hr(gt))gt.name+=n,qe(gt.nameLoc,e);else{const i=n[0]!=="[";gt.arg=W1(i?n:n.slice(1,-1),i,Dt(t,e),i?3:0)}},ondirmodifier(t,e){const n=zt(t,e);if(Me&&!hr(gt))gt.name+="."+n,qe(gt.nameLoc,e);else if(gt.name==="slot"){const i=gt.arg;i&&(i.content+="."+n,qe(i.loc,e))}else{const i=Wn(n,!0,Dt(t,e));gt.modifiers.push(i)}},onattribdata(t,e){te+=zt(t,e),we<0&&(we=t),je=e},onattribentity(t,e,n){te+=t,we<0&&(we=e),je=n},onattribnameend(t){const e=gt.loc.start.offset,n=zt(e,t);gt.type===7&&(gt.rawName=n),Kt.props.some(i=>(i.type===7?i.rawName:i.name)===n)&&pe(2,e)},onattribend(t,e){if(Kt&>){if(qe(gt.loc,e),t!==0)if(te.includes("&")&&(te=wt.decodeEntities(te,!0)),gt.type===6)gt.name==="class"&&(te=Mo(te).trim()),t===1&&!te&&pe(13,e),gt.value={type:2,content:te,loc:t===1?Dt(we,je):Dt(we-1,je+1)},Et.inSFCRoot&&Kt.tag==="template"&>.name==="lang"&&te&&te!=="html"&&Et.enterRCDATA(en("</template"),0);else{let n=0;gt.exp=W1(te,!1,Dt(we,je),0,n),gt.name==="for"&&(gt.forParseResult=jl(gt.exp));let i=-1;gt.name==="bind"&&(i=gt.modifiers.findIndex(r=>r.content==="sync"))>-1&&nn("COMPILER_V_BIND_SYNC",wt,gt.loc,gt.arg.loc.source)&&(gt.name="model",gt.modifiers.splice(i,1))}(gt.type!==7||gt.name!=="pre")&&Kt.props.push(gt)}te="",we=je=-1},oncomment(t,e){wt.comments&&Zn({type:3,content:zt(t,e),loc:Dt(t-4,e+3)})},onend(){const t=Se.length;for(let e=0;e<St.length;e++)G1(St[e],t-1),pe(24,St[e].loc.start.offset)},oncdata(t,e){St[0].ns!==0?P1(zt(t,e),t,e):pe(1,t-9)},onprocessinginstruction(t){(St[0]?St[0].ns:wt.ns)===0&&pe(21,t-1)}}),fr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ol=/^\(|\)$/g;function jl(t){const e=t.loc,n=t.content,i=n.match(El);if(!i)return;const[,r,o]=i,l=(m,f,h=!1)=>{const d=e.start.offset+f,y=d+m.length;return W1(m,!1,Dt(d,y),0,h?1:0)},c={source:l(o.trim(),n.indexOf(o,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=r.trim().replace(Ol,"").trim();const s=r.indexOf(a),u=a.match(fr);if(u){a=a.replace(fr,"").trim();const m=u[1].trim();let f;if(m&&(f=n.indexOf(m,s+a.length),c.key=l(m,f,!0)),u[2]){const h=u[2].trim();h&&(c.index=l(h,n.indexOf(h,c.key?f+m.length:s+a.length),!0))}}return a&&(c.value=l(a,s,!0)),c}function zt(t,e){return Se.slice(t,e)}function mr(t){Et.inSFCRoot&&(Kt.innerLoc=Dt(t+1,t+1)),Zn(Kt);const{tag:e,ns:n}=Kt;n===0&&wt.isPreTag(e)&&bi++,wt.isVoidTag(e)?G1(Kt,t):(St.unshift(Kt),(n===1||n===2)&&(Et.inXML=!0)),Kt=null}function P1(t,e,n){{const o=St[0]&&St[0].tag;o!=="script"&&o!=="style"&&t.includes("&")&&(t=wt.decodeEntities(t,!1))}const i=St[0]||k1,r=i.children[i.children.length-1];r&&r.type===2?(r.content+=t,qe(r.loc,n)):i.children.push({type:2,content:t,loc:Dt(e,n)})}function G1(t,e,n=!1){n?qe(t.loc,Co(e,60)):qe(t.loc,Pl(e,62)+1),Et.inSFCRoot&&(t.children.length?t.innerLoc.end=Gn({},t.children[t.children.length-1].loc.end):t.innerLoc.end=Gn({},t.innerLoc.start),t.innerLoc.source=zt(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:r,children:o}=t;if(Me||(i==="slot"?t.tagType=2:dr(t)?t.tagType=3:ql(t)&&(t.tagType=1)),Et.inRCDATA||(t.children=No(o)),r===0&&wt.isIgnoreNewlineTag(i)){const l=o[0];l&&l.type===2&&(l.content=l.content.replace(/^\r?\n/,""))}r===0&&wt.isPreTag(i)&&bi--,Kn===t&&(Me=Et.inVPre=!1,Kn=null),Et.inXML&&(St[0]?St[0].ns:wt.ns)===0&&(Et.inXML=!1);{const l=t.props;if(!Et.inSFCRoot&&Ao("COMPILER_NATIVE_TEMPLATE",wt)&&t.tag==="template"&&!dr(t)){const a=St[0]||k1,s=a.children.indexOf(t);a.children.splice(s,1,...t.children)}const c=l.find(a=>a.type===6&&a.name==="inline-template");c&&nn("COMPILER_INLINE_TEMPLATE",wt,c.loc)&&t.children.length&&(c.value={type:2,content:zt(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:c.loc})}}function Pl(t,e){let n=t;for(;Se.charCodeAt(n)!==e&&n<Se.length-1;)n++;return n}function Co(t,e){let n=t;for(;Se.charCodeAt(n)!==e&&n>=0;)n--;return n}const Dl=new Set(["if","else","else-if","for","slot"]);function dr({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&Dl.has(e[n].name))return!0}return!1}function ql({tag:t,props:e}){if(wt.isCustomElement(t))return!1;if(t==="component"||Bl(t.charCodeAt(0))||Tl(t)||wt.isBuiltInComponent&&wt.isBuiltInComponent(t)||wt.isNativeTag&&!wt.isNativeTag(t))return!0;for(let n=0;n<e.length;n++){const i=e[n];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(nn("COMPILER_IS_ON_ELEMENT",wt,i.loc))return!0}}else if(i.name==="bind"&&$l(i.arg,"is")&&nn("COMPILER_IS_ON_ELEMENT",wt,i.loc))return!0}return!1}function Bl(t){return t>64&&t<91}const Vl=/\r\n/g;function No(t){const e=wt.whitespace!=="preserve";let n=!1;for(let i=0;i<t.length;i++){const r=t[i];if(r.type===2)if(bi)r.content=r.content.replace(Vl,`
|
|
2
|
-
`);else if(Ll(r.content)){const o=t[i-1]&&t[i-1].type,l=t[i+1]&&t[i+1].type;!o||!l||e&&(o===3&&(l===3||l===1)||o===1&&(l===3||l===1&&Il(r.content)))?(n=!0,t[i]=null):r.content=" "}else e&&(r.content=Mo(r.content))}return n?t.filter(Boolean):t}function Il(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function Mo(t){let e="",n=!1;for(let i=0;i<t.length;i++)ie(t.charCodeAt(i))?n||(e+=" ",n=!0):(e+=t[i],n=!1);return e}function Zn(t){(St[0]||k1).children.push(t)}function Dt(t,e){return{start:Et.getPos(t),end:e==null?e:Et.getPos(e),source:e==null?e:zt(t,e)}}function qe(t,e){t.end=Et.getPos(e),t.source=zt(t.start.offset,e)}function Rl(t){const e={type:6,name:t.rawName,nameLoc:Dt(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const n=t.exp.loc;n.end.offset<t.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),e.value={type:2,content:t.exp.content,loc:n}}return e}function W1(t,e=!1,n,i=0,r=0){return Wn(t,e,n,i)}function pe(t,e,n){wt.onError(Nl(t,Dt(e,e)))}function Hl(){Et.reset(),Kt=null,gt=null,te="",we=-1,je=-1,St.length=0}function Xl(t,e){if(Hl(),Se=t,wt=Gn({},So),e){let r;for(r in e)e[r]!=null&&(wt[r]=e[r])}Et.mode=wt.parseMode==="html"?1:wt.parseMode==="sfc"?2:0,Et.inXML=wt.ns===1||wt.ns===2;const n=e&&e.delimiters;n&&(Et.delimiterOpen=en(n[0]),Et.delimiterClose=en(n[1]));const i=k1=kl([],t);return Et.parse(Se),i.loc=Dt(0,t.length),i.children=No(i.children),k1=null,i}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");class i1 extends String{static#t=new Map;constructor(e){const n=String(e);if(i1.#t.has(n))return i1.#t.get(n);super(n),i1.#t.set(n,this)}}class r1 extends Number{static#t=new Map;constructor(e){const n=Number(e);if(r1.#t.has(n))return r1.#t.get(n);super(n),r1.#t.set(n,this)}}class Ve extends String{static#t=new Map;constructor(e){if(typeof e=="string"||e instanceof String)return new i1(e);if(typeof e=="number"||e instanceof Number)return new r1(e);throw new Error("Unsupported type")}static[Symbol.hasInstance](e){return e instanceof i1||e instanceof r1}}class To{constructor(e,n,i){this.label=e,this.value=n,this.level=i}toString(){return this.label}valueOf(){return this.value}toJSON(){return this.label}}class Ie extends Array{static from(e){if(e instanceof this)return e;if(e[Symbol.iterator]){let n=v1(Array.from(e).filter(i=>!(i instanceof Ve)).map(i=>String(i))).sort((i,r)=>gr(i,r,{numeric:!0}));return new this(...n)}else if(typeof e=="object"){let n=Object.keys(e).map(i=>String(i)).sort((i,r)=>gr(e[i],e[r]));return new this(...n)}throw new Error(`Invalid level values: ${e}`)}static isEqual(e,n){if(e instanceof this&&n instanceof this)return e.length===n.length&&Array(e.length).fill().every((i,r)=>e[r].label===n[r].label)}constructor(...e){return e=e.map((n,i)=>new To(String(n),i)),e.forEach(n=>n.level=e),e.mapping=Object.fromEntries(e.map(n=>[n,n])),Object.setPrototypeOf(e,Ie.prototype),e}getItem(e){return typeof e=="number"||e instanceof Number?this[e]:this.mapping[e]}apply(e){let n=e.map(i=>i instanceof Ve?i:this.mapping[i]);return n.level=this,n}}function We(t){return typeof t=="number"||t instanceof Number||t instanceof Date}function ht(t,e=0){return e==0||t==null?t:t instanceof Date?new t.constructor(+t+e):+t+e}const Ft={min(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(We)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i<r?i:r,1/0)},max(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(We)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i>r?i:r,-1/0)},mean(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(We)),n&&(t=t.filter(i=>isFinite(i))),t.length==0?NaN:Array.from(t).reduce((i,r)=>i+r,0)/t.length},sd(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(We)),n&&(t=t.filter(r=>isFinite(r))),t.length<=1)return NaN;let i=Array.from(t).reduce((r,o)=>r+o,0)/t.length;return Math.sqrt(Array.from(t).reduce((r,o)=>r+(o-i)**2,0)/(t.length-1))},quantile(t,e,{na_rm:n=!0,infinity_rm:i=!0}={}){if(n&&(t=t.filter(We)),i&&(t=t.filter(c=>isFinite(c))),t.length==0)return NaN;t=Array.from(t).sort((c,a)=>c-a);let r=(t.length-1)*e,o=Math.floor(r),l=Math.ceil(r);return o==l?t[o]:t[o]*(l-r)+t[l]*(r-o)},extent(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(We)),n&&(t=t.filter(o=>isFinite(o))),t.length==0)return new Array(2);let i=Array.from(t).reduce((o,l)=>o<l?o:l,1/0),r=Array.from(t).reduce((o,l)=>o>l?o:l,-1/0);return Object.assign([i,r],{min:i,max:r})}},Pt={sum(...t){if(t.some(i=>i==null))return null;if(t.some(i=>!Array.isArray(i)&&typeof i!="number"))throw new Error("Arguments must be numbers or arrays");let e=t.filter(i=>!Array.isArray(i)).reduce((i,r)=>+r+i,0);if(t=t.filter(i=>Array.isArray(i)),t.length==0)return[e];if(t.some(i=>i.length==0))return[];let n=t[0].length;if(t.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.reduce((o,l)=>+l[r]+o,e))},opposite(t){if(t==null)return null;if(!Array.isArray(t)&&typeof t!="number")throw new Error("Arguments must be numbers or arrays");return Array.isArray(t)?t.map(e=>e==null?e:-e):-t},concat(...t){if(t.some(i=>i==null))return null;let e=t.filter(i=>Array.isArray(i));if(e.length==0)return[t.join("")];if(t.some(i=>i.length==0))return[];let n=e[0].length;if(e.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.map(o=>Array.isArray(o)?o[r]:o).join(""))},apply(t,...e){if(e.some(r=>r==null))return null;let n=e.filter(r=>Array.isArray(r));if(n.length==0)return[t(...e)];if(e.some(r=>r.length==0))return[];let i=n[0].length;if(n.some(r=>r.length!=i))throw new Error("Arrays must have the same length");return Array.from({length:i},(r,o)=>t(...e.map(l=>Array.isArray(l)?l[o]:l)))}};function $t(...t){if(t=t.filter(e=>e!==void 0),t.length!=0)return t=t.slice(t.findIndex(e=>e==null)+1),t.length==0?null:t.reduce((e,n)=>{for(let i in n)n[i]===null&&delete e[i],n[i]!=null&&(e[i]=n[i]);return e},{})}function Te(...t){if(!t.some(e=>e===void 0))return t.some(e=>e===null)?null:t.join("")}function v1(t,e=null){let n=new Map;for(let i in t){let r=e?e(t[i]):t[i];n.has(r)||n.set(r,t[i])}return Array.from(n.values())}function gr(t,e,{numeric:n=!1}={}){return typeof t!="number"||typeof e!="number"?String(t).localeCompare(String(e),void 0,{numeric:n}):t-e}function De(t,...e){return Array.isArray(t)?(t=t.filter(n=>typeof n=="function"),t.length===0?!1:(t.forEach(n=>n(...e)),!0)):typeof t!="function"?!1:(t(...e),!0)}function Oe(t,{min:e,max:n}){return t<e||t>n?NaN:t}function yt(t,{min:e,max:n}){return t<e?e:t>n?n:t}function Qn(t,{min:e,max:n}){return t==-1/0?e:t==1/0?n:t}function Ut(t){return typeof t!="object"||t==null?t:Object.fromEntries(Object.entries(t).filter(([e,n])=>n!=null))}function $o(t,e){if(t===e)return!0;if(typeof t!="object"||typeof e!="object"||t==null||e==null)return!1;let n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(let r of n)if(!$o(t[r],e[r]))return!1;return!0}function Yl(t){if(!Array.isArray(t))throw new Error("Argument must be an array");let e=[],n=[];for(let i=0;i<t.length;i++){let r=t[i],o=e.findIndex(l=>$o(l,r));o===-1&&(e.push(r),o=e.length-1),n.push(o)}return n.categories=e,n}function zl(...t){if(t.length==0)return null;let e=t.filter(r=>Array.isArray(r)).reduce((r,o)=>{if(Array.isArray(o)){if(r==null)return o.length;if(r!=o.length)throw new Error("Arrays must have the same length")}return r},null)??0,n=[],i=[];for(let r=0;r<e;r++){let o=t.map(c=>Array.isArray(c)?c[r]:c),l=n.findIndex(c=>c.every((a,s)=>a===o[s]));l===-1&&(n.push(o),l=n.length-1),i.push(l)}return i.categories=n,i}function ee(t){if(Object.keys(t).length==0)return null;let e=Object.values(t).filter(o=>Array.isArray(o)).reduce((o,l)=>{if(Array.isArray(l)){if(o==null)return l.length;if(o!=l.length)throw new Error("Arrays must have the same length")}return o},null)??0,n=Object.keys(t),i=[],r=[];for(let o=0;o<e;o++){let l=Object.fromEntries(n.map(a=>[a,Array.isArray(t[a])?t[a][o]:t[a]])),c=i.findIndex(a=>n.every(s=>a[s]===l[s]));c===-1&&(i.push(l),c=i.length-1),r.push(c)}return r.categories=i,r}function wi(t){if(Object.keys(t).length==0)return[];let e=Object.values(t).filter(n=>Array.isArray(n)).reduce((n,i)=>{if(Array.isArray(i)){if(n==null)return i.length;if(n!=i.length)throw new Error("Arrays must have the same length")}return n},null)??0;return Array.from({length:e},(n,i)=>Object.fromEntries(Object.keys(t).map(r=>[r,Array.isArray(t[r])?t[r][i]:t[r]])))}function It(t){return t==null?[]:Array.isArray(t)?t:t==="solid"?[]:t==="dashed"?[4,4]:t==="dotted"?[1,3]:t==="dotdash"?[1,3,4,3]:t==="longdash"?[8,4]:t==="twodash"?[2,2,6,2]:t.includes(" ")?t.split(" ").map(e=>+e):t.split("").map(e=>+("0x"+e))}function Ul(t){if(!(t instanceof SVGElement))return null;function e(l){let c=l.childNodes.length;for(;c--;){const a=l.childNodes[c];a.nodeType===Node.COMMENT_NODE?l.removeChild(a):a.nodeType===Node.ELEMENT_NODE&&(e(a),a.getAttribute("style")==""&&a.removeAttribute("style"),a.getAttribute("class")==""&&a.removeAttribute("class"))}}let n=t.cloneNode(!0),i=Array.from(t.querySelectorAll("foreignObject")),r=Array.from(n.querySelectorAll("foreignObject"));for(let l=0;l<i.length;l++){let c=i[l],a=r[l],s=i[l].querySelector("canvas");if(!s)continue;let u=n.ownerDocument.createElementNS("http://www.w3.org/2000/svg","image");u.setAttribute("href",s.toDataURL()),u.setAttribute("x",c.getAttribute("x")),u.setAttribute("y",c.getAttribute("y")),u.setAttribute("width",c.getAttribute("width")),u.setAttribute("height",c.getAttribute("height")),a.parentNode.replaceChild(u,a)}for(let l of n.querySelectorAll(".vvplot-interactive"))l.remove();return e(n),n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),n.setAttribute("version","1.1"),n.setAttribute("width",t.scrollWidth),n.setAttribute("height",t.scrollHeight),n.setAttribute("viewBox",`0 0 ${t.scrollWidth} ${t.scrollHeight}`),new XMLSerializer().serializeToString(n)}const Eo={axis:{line_width:1,tick_width:1,tick_length:5,label_size:12,title_size:18},axis_h:{title_offset:20},axis_v:{title_offset:30,title_angle:90},axis_left:{tick_position:"left",title_position:"left"},axis_right:{tick_position:"right",title_position:"right"},axis_top:{tick_position:"top",title_position:"top"},axis_bottom:{tick_position:"bottom",title_position:"bottom"},grid:{line_width:1,line_width_major:2},plot:{margin:20,padding_h:50,padding_v:30},legend:{spacing:4},selection:{background:"#00000020"}},Lo={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"},grid:{line_color:"#eeeeee"}},Fl={axis:{line_color:"gray",tick_color:"gray",label_color:"gray",title_color:"gray"},grid:{line_color:"#eeeeee"}},Gl={axis:{tick_color:"black",label_color:"black",title_color:"black"},grid:{line_color:"white"},plot:{background:"#eeeeee"}},Wl={axis:{tick_color:"#333333",label_color:"#555555",title_color:"black"},grid:{line_color:"#666666"},plot:{background:"#888888"}},Kl={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"},grid:{line_color:"black",line_width_major:1,line_width_minor:.5}},Zl={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"},grid:null},Ql={axis:null,grid:null};function Jl(...t){return t.reduce((e,n)=>{for(let i in n)n[i]===null?e[i]=null:e[i]=$t(e[i],n[i]);return e??void 0},{})}function _l(t,e=!1){let{axis_h:n,axis_v:i,axis_x:r,axis_y:o,grid_h:l,grid_v:c,grid_x:a,grid_y:s,plot:{margin_x:u,margin_y:m,margin_h:f,margin_v:h,padding_x:d,padding_y:y,padding_h:w,padding_v:v,...C}={},...S}=t;return e?(n=$t(n,o),i=$t(i,r),l=$t(l,a),c=$t(c,s),C.margin_h=m===void 0?f:m,C.margin_v=u===void 0?h:u,C.padding_h=y===void 0?w:y,C.padding_v=d===void 0?v:d):(n=$t(n,r),i=$t(i,o),l=$t(l,s),c=$t(c,a),C.margin_h=u===void 0?f:u,C.margin_v=m===void 0?h:m,C.padding_h=d===void 0?w:d,C.padding_v=y===void 0?v:y),{axis_h:n,axis_v:i,grid_h:l,grid_v:c,plot:C,...S}}function ta(t){function e(n){return{line_color_major:["line_color","line_color_major"].map(i=>n?.[i]).findLast(i=>i!==void 0),line_color_minor:["line_color","line_color_minor"].map(i=>n?.[i]).findLast(i=>i!==void 0),line_width_major:["line_width","line_width_major"].map(i=>n?.[i]).findLast(i=>i!==void 0),line_width_minor:["line_width","line_width_minor"].map(i=>n?.[i]).findLast(i=>i!==void 0)}}return{axis:{h:$t(...["axis","axis_h"].map(n=>t?.[n])),v:$t(...["axis","axis_v"].map(n=>t?.[n])),left:$t(...["axis","axis_v","axis_left"].map(n=>t?.[n])),right:$t(...["axis","axis_v","axis_right"].map(n=>t?.[n])),top:$t(...["axis","axis_h","axis_top"].map(n=>t?.[n])),bottom:$t(...["axis","axis_h","axis_bottom"].map(n=>t?.[n]))},grid:{h:e($t(...["grid","grid_h"].map(n=>t?.[n]))),v:e($t(...["grid","grid_v"].map(n=>t?.[n])))},plot:{margin:{left:["margin","margin_h","margin_left"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,right:["margin","margin_h","margin_right"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,top:["margin","margin_v","margin_top"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,bottom:["margin","margin_v","margin_bottom"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0},padding:{left:["padding","padding_h","padding_left"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,right:["padding","padding_h","padding_right"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,top:["padding","padding_v","padding_top"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,bottom:["padding","padding_v","padding_bottom"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0},background:t?.plot?.background},selection:t?.selection??{},legend:{spacing:t?.legend?.spacing??0}}}const ea={base:Eo,default:Lo,light:Fl,classic:Zl,gray:Gl,dark:Wl,linedraw:Kl,void:Ql},na={scale_attrs:[],coord_scale(t,e){return null},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return null}};let Mt=Pt.sum;const ia={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0;if(t.x){let r=Mt(e.x?.apply?.(t.x)??t.x,n),o=Mt(r,t.width?.map?.(y=>-y/2)??-.5,n),l=Mt(r,t.width?.map?.(y=>+y/2)??.5,n),c=Mt(t.lwisker,i),a=Mt(t.Q1,i),s=Mt(t.median,i),u=Mt(t.Q3,i),m=Mt(t.uwisker,i),f=Pt.apply((y,{y:w,$raw:v},C)=>Mt(w,C).map((S,M)=>({x:y,y:S,$raw:v[M]})),r,t.outliers??[],i),h=Mt(t.min,i),d=Mt(t.max,i);return{x:r,xmin:o,xmax:l,lwisker:c,Q1:a,median:s,Q3:u,uwisker:m,outliers:f,$xmin:o,$xmax:l,$ymin:h,$ymax:d}}else if(t.y){let r=Mt(e.y?.apply?.(t.y)??t.y,i),o=Mt(r,t.height?.map?.(y=>-y/2)??-.5,i),l=Mt(r,t.height?.map?.(y=>+y/2)??.5,i),c=Mt(t.lwisker,n),a=Mt(t.Q1,n),s=Mt(t.median,n),u=Mt(t.Q3,n),m=Mt(t.uwisker,n),f=Pt.apply((y,{x:w,$raw:v},C)=>Mt(w,C).map((S,M)=>({x:S,y,$raw:v[M]})),r,t.outliers??[],n),h=Mt(t.xmin,n),d=Mt(t.xmax,n);return{y:r,ymin:o,ymax:l,lwisker:c,Q1:a,median:s,Q3:u,uwisker:m,outliers:f,$xmin:h,$xmax:d,$ymin:o,$ymax:l}}return{}},get_range(t,e){if(e=="x")return t.x||(t.min??[]).concat(t.max??[]);if(e=="y")return t.y||(t.min??[]).concat(t.max??[])},validate(t){return[t.$xmin,t.$xmax,t.$ymin,t.$ymax].some(e=>isNaN(e))?null:t}},ra={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(o=>+o),i=t.ynudge?.map(o=>+o);return{points:t.points.map((o,l)=>o.map(c=>{let a=n?.[l]??0,s=i?.[l]??0;return{x:+(e?.x?.[c.x]??c.x)+a,y:+(e?.y?.[c.y]??c.y)+s}}))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let Ke=Pt.sum;const oa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let{A:n,B:i,C:r}=t,o=t.xnudge??0,l=t.ynudge??0,c=Ke(e.x?.apply?.(t.cx)??t.cx,o),a=Ke(e.y?.apply?.(t.cy)??t.cy,l);return{cx:c,cy:a,A:n,B:i,C:r}},get_range(t,e){if(e=="x"){let n=Pt.apply((i,r,o)=>Math.sqrt(o/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return Ke(t.cx??[],n).concat(Ke(t.cx??[],Pt.opposite(n))??[])}if(e=="y"){let n=Pt.apply((i,r,o)=>Math.sqrt(i/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return Ke(t.cy??[],n).concat(Ke(t.cy??[],Pt.opposite(n))??[])}},validate(t){return isNaN(t.cx)||isNaN(t.cy)||isNaN(t.A)||isNaN(t.B)||isNaN(t.C)||!(t.A*t.C>t.B*t.B)?null:t}};let D1=Pt.sum;const sa={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=D1(e.x?.apply?.(t.x)??t.x,n),o=D1(e.y?.apply?.(t.y)??t.y,i),l=D1(e.x?.apply?.(t.xend)??t.xend,n),c=D1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let yr=Pt.sum;const la={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=yr(e.x?.apply?.(t.x)??t.x,n),o=yr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}};let q1=Pt.sum;const aa={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=q1(e.x?.apply?.(t.x)??t.x,n),o=q1(e.y?.apply?.(t.y)??t.y,i),l=q1(e.x?.apply?.(t.xend)??t.xend,n),c=q1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.xend)||isNaN(t.y)||isNaN(t.yend)?null:t}};let xr=Pt.sum;const ca={scale_attrs:["shape","size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=xr(e.x?.apply?.(t.x)??t.x,n),o=xr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}},ua={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(o=>+o),i=t.ynudge?.map(o=>+o);return{points:t.points.map((o,l)=>o.map(c=>{let a=n?.[l]??0,s=i?.[l]??0;return{x:+(e?.x?.[c.x]??c.x)+a,y:+(e?.y?.[c.y]??c.y)+s}}))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let B1=Pt.sum;const ha={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=B1(e.x?.apply?.(t.xmin)??t.xmin,n),o=B1(e.x?.apply?.(t.xmax)??t.xmax,n),l=B1(e.y?.apply?.(t.ymin)??t.ymin,i),c=B1(e.y?.apply?.(t.ymax)??t.ymax,i);return{xmin:r,xmax:o,ymin:l,ymax:c}},get_range(t,e){if(e=="x")return(t.xmin??[]).concat(t.xmax??[]);if(e=="y")return(t.ymin??[]).concat(t.ymax??[])},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}};let Ze=Pt.sum;const fa={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Ze(e.x?.apply?.(t.x)??t.x,n),o=Ze(e.y?.apply?.(t.y)??t.y,i),l=Ze(r,t.dx),c=Ze(o,t.dy);return{x:r,y:o,xend:l,yend:c}},get_values(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},get_range(t,e){if(e=="x")return(t.x??[]).concat(Ze(t.x??[],t.dx??0)??[]);if(e=="y")return(t.y??[]).concat(Ze(t.y??[],t.dy??0)??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let vr=Pt.sum;const ma={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=vr(e.x?.apply?.(t.x)??t.x,n),o=vr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}};let V1=Pt.sum;const da={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=V1(e.x?.apply?.(t.x)??t.x,n),o=V1(e.y?.apply?.(t.y)??t.y,i),l=V1(e.x?.apply?.(t.xend)??t.xend,n),c=V1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.xend)||isNaN(t.y)||isNaN(t.yend)?null:t}};let I1=Pt.sum;const ga={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=e.x?.apply?.(t.x)??t.x,o=e.y?.apply?.(t.y)??t.y,l=I1(r,t.width?.map?.(u=>-u/2)??-.5,n),c=I1(r,t.width?.map?.(u=>+u/2)??.5,n),a=I1(o,t.height?.map?.(u=>-u/2)??-.5,i),s=I1(o,t.height?.map?.(u=>+u/2)??.5,i);return{xmin:l,xmax:c,ymin:a,ymax:s}},get_values(t,e){if(e=="x")return t.x;if(e=="y")return t.y},get_range(t,e){if(e=="x"){let n=Pt.apply((r,o)=>+r-o/2,t.x??[],t.width??[]),i=Pt.apply((r,o)=>+r+o/2,t.x??[],t.width??[]);return n.concat(i)}if(e=="y"){let n=Pt.apply((r,o)=>+r-o/2,t.y??[],t.height??[]),i=Pt.apply((r,o)=>+r+o/2,t.y??[],t.height??[]);return n.concat(i)}},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}},Le=Object.freeze(Object.defineProperty({__proto__:null,blank:na,boxplot:ia,curve:ra,ellipse:oa,line:sa,markdown:la,markdownsegment:aa,point:ca,polygon:ua,rect:ha,stick:fa,text:ma,textsegment:da,tile:ga},Symbol.toStringTag,{value:"Module"})),ya=Object.assign(function(t){if(t.x!=null&&t.y!=null)throw new Error('"StatBar" only supports "x" or "y", not both');let e=t.x??t.y;if(e==null)throw new Error('Missing aesthetics for "StatBar": "x" or "y"');if(e.some(s=>typeof s=="number"))throw new Error('"StatBar" requires a discrete aesthetic');let n=Object.keys(t).filter(s=>!["x","y"].includes(s)&&!s.startsWith("$")),i=ee(Object.fromEntries(n.map(s=>[s,t[s]]))),r=ee({group:i??0,value:e}),o=Map.groupBy(t.$raw,(s,u)=>r.categories[r[u]]),l=Array.from(o.values()),c=Array.from(o.keys()),a={$raw:l,count:l.map(s=>s.length),$group:c.map(s=>s.group),value:c.map(s=>s.value)};for(let s of n)a[s]=c.map(u=>u.group).map(u=>i.categories[u][s]);return t.x?(({value:s,count:u,...m})=>({x:s,y:u.map(f=>f/2),height:u,...m}))(a):(({value:s,count:u,...m})=>({y:s,x:u.map(f=>f/2),width:u,...m}))(a)},{core_attrs:["x","y","xnudge","ynudge"]}),xa=Object.assign(function(t,{}){let e=["x","y"].filter(T=>t[T]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatBoxplot": "${e.join('", "')}"`);let n=t.x.some(T=>typeof T!="number"),i=t.y.some(T=>typeof T!="number");if(n&&i)throw new Error('Both "x" and "y" are discrete, "StatBoxplot" requires one continuous and one discrete aesthetic');if(!n&&!i)throw new Error('Both "x" and "y" are continuous, "StatBoxplot" requires one continuous and one discrete aesthetic');let[r,o]=n?["y","x"]:["x","y"],l=Object.keys(t).filter(T=>T!=r&&!T.startsWith("$")),c=ee(Object.fromEntries(l.map(T=>[T,t[T]]))),a=ee({group:c??0,cate:t[o]}),s=Map.groupBy(a.map((T,g)=>g),(T,g)=>a.categories[a[g]]),u=Array.from(s.keys()),m=Array.from(s.values()).map(T=>T.map(g=>t.$raw[g])),f=Array.from(s.values()).map(T=>T.map(g=>t[r][g])),h=f.map(T=>Ft.min(T)),d=f.map(T=>Ft.quantile(T,.25)),y=f.map(T=>Ft.quantile(T,.5)),w=f.map(T=>Ft.quantile(T,.75)),v=f.map(T=>Ft.max(T)),C=f.map((T,g)=>w[g]-d[g]),S=f.map((T,g)=>Math.max(h[g],d[g]-1.5*C[g])),M=f.map((T,g)=>Math.min(v[g],w[g]+1.5*C[g])),j=Array.from(s.values()).map((T,g)=>{let p=T.filter(b=>t[r][b]<S[g]||t[r][b]>M[g]);return{[r]:p.map(b=>t[r][b]),$raw:p.map(b=>t.$raw[b])}}),$={$raw:m,$group:u.map(T=>T.group),min:h,lwisker:S,Q1:d,median:y,Q3:w,uwisker:M,max:v,outliers:j};for(let T of l)$[T]=u.map(g=>g.group).map(g=>c.categories[g][T]);return $},{core_attrs:["x","y","width","height","xnudge","ynudge"]}),va=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(u=>t[u]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatCurve": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),i=ee(Object.fromEntries(n.map(u=>[u,t[u]]))),r=ee({group:i??new Array(t.x.length).fill(0)}).map((u,m,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,m)=>r[m]),l=Array.from(o.values()),c=Array.from(o.keys()),a=Array.from(Map.groupBy(wi({x:t.x,y:t.y}),(u,m)=>r[m]).values()),s={$raw:l,points:a};for(let u of n)s[u]=c.map(m=>m.group).map(m=>i.categories[m][u]);return s},{core_attrs:["x","y","xnudge","ynudge"]}),pa=Object.assign(function(t,{n:e=512,kernel:n="gaussian"}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatDensity" only supports "x" or "y", not both');let i=t.x??t.y;if(i==null)throw new Error('Missing aesthetics for "StatDensity": "x" or "y"');if(i.some(h=>typeof h!="number"))throw new Error('"StatDensity" requires a continuous aesthetic');if(n=pr[n],!n)throw new Error(`kernel must be one of ${Object.keys(pr).map(h=>`"${h}"`).join(", ")}`);let r=Object.keys(t).filter(h=>!["x","y"].includes(h)&&!h.startsWith("$")),o=ee(Object.fromEntries(r.map(h=>[h,t[h]]))),l=ee({group:o??new Array(i.length).fill(0)}).map((h,d,y)=>y.categories[h]),c=Map.groupBy(t.$raw,(h,d)=>l[d]),a=Array.from(c.values()),s=Array.from(c.keys()),u=Array.from(Map.groupBy(i,(h,d)=>l[d]).values()),m={$raw:a,$group:s.map(h=>h.group)},f=u.map(h=>{let d=ba.nrd0(h),{min:y,max:w}=Ft.extent(h);y-=3*d,w+=3*d;let v=(w-y)/(e-1);return Array.from({length:e},(S,M)=>y+M*v).map(S=>[S,Ft.mean(h.map(M=>n((S-M)/d)))/d])});for(let h of r)m[h]=s.map(d=>o.categories[d.group][h]);return t.x?m.points=f.map(h=>h.map(([d,y])=>({x:d,y}))):m.points=f.map(h=>h.map(([d,y])=>({x:y,y:d}))),m},{core_attrs:["x","y","xnudge","ynudge"]}),ba={nrd0:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=Ft.sd(t),n=Ft.quantile(t,.75)-Ft.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=Ft.sd(t),n=Ft.quantile(t,.75)-Ft.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},pr={uniform:t=>Math.abs(t)<=1?.5:0,triangular:t=>Math.abs(t)<=1?1-Math.abs(t):0,epanechnikov:t=>Math.abs(t)<=1?.75*(1-t**2):0,biweight:t=>Math.abs(t)<=1?15/16*(1-t**2)**2:0,triweight:t=>Math.abs(t)<=1?35/32*(1-t**2)**3:0,tricube:t=>Math.abs(t)<=1?70/81*(1-Math.abs(t)**3)**3:0,gaussian:t=>Math.exp(-.5*t**2)/Math.sqrt(2*Math.PI),cosine:t=>Math.abs(t)<=1?Math.PI/4*Math.cos(Math.PI/2*t):0,logistic:t=>1/Math.cosh(t)**2/Math.PI,sigmoid:t=>2/(Math.exp(t)+Math.exp(-t))**2/Math.PI},wa=Object.assign(function(t,{CI:e=.95}={}){let n=["x","y"].filter(f=>t[f]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatEllipse": "${n.join('", "')}" or "points"`);let i=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),r=ee(Object.fromEntries(i.map(f=>[f,t[f]]))),o=ee({group:r??new Array(t.x.length).fill(0)}).map((f,h,d)=>d.categories[f]),l=Map.groupBy(t.$raw,(f,h)=>o[h]),c=Array.from(l.values()),a=Array.from(l.keys()),s=-2*Math.log(1-e),u=Array.from(Map.groupBy(wi({x:t.x,y:t.y}),(f,h)=>o[h]).values()).map(f=>{const h=f.length;let d=f.reduce((M,j)=>M+j.x,0)/h,y=f.reduce((M,j)=>M+j.y,0)/h;if(h<2)return{};let w=f.reduce((M,j)=>M+(j.x-d)**2,0)/(h-1),v=f.reduce((M,j)=>M+(j.x-d)*(j.y-y),0)/(h-1),C=f.reduce((M,j)=>M+(j.y-y)**2,0)/(h-1),S=(w*C-v*v)*s;return{cx:d,cy:y,A:C/S,B:-v/S,C:w/S}}),m={$raw:c,cx:u.map(f=>f.cx??0),cy:u.map(f=>f.cy??0),A:u.map(f=>f.A??0),B:u.map(f=>f.B??0),C:u.map(f=>f.C??0)};for(let f of i)m[f]=a.map(h=>h.group).map(h=>r.categories[h][f]);return m},{core_attrs:["x","y","xnudge","ynudge"]}),ka=Object.assign(function(t,{bins:e=30,binwidth:n,breaks:i}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatHistogram" only supports "x" or "y", not both');let r=t.x??t.y;if(r==null)throw new Error('Missing aesthetics for "StatHistogram": "x" or "y"');if(r.some(f=>typeof f!="number"))throw new Error('"StatHistogram" requires a continuous aesthetic');if(i)i.sort((f,h)=>f-h);else{let{min:f,max:h}=Ft.extent(r);n||(n=(h-f)/(e-1)),i=Array.from({length:e+1},(d,y)=>f+(y-.5)*n)}e=i.length-1;let o=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),l=ee(Object.fromEntries(o.map(f=>[f,t[f]]))),c=ee({group:l??new Array(r.length).fill(0),upper:r.map(f=>i.findLast(h=>h<=f)??i[0]),lower:r.map(f=>i.find(h=>h>f)??i[e])}).map((f,h,d)=>d.categories[f]),a=Map.groupBy(t.$raw,(f,h)=>c[h]),s=Array.from(a.values()),u=Array.from(a.keys()),m={$raw:s,count:s.map(f=>f.length),$group:u.map(f=>f.group),upper:u.map(f=>f.upper),lower:u.map(f=>f.lower)};for(let f of o)m[f]=u.map(h=>l.categories[h.group][f]);return t.x?(({upper:f,lower:h,count:d,ymin:y=s.map(()=>0),...w})=>({xmin:f,xmax:h,ymin:y,ymax:d,...w}))(m):(({upper:f,lower:h,count:d,xmin:y=s.map(()=>0),...w})=>({xmin:y,xmax:d,ymin:f,ymax:h,...w}))(m)},{core_attrs:["x","y","xnudge","ynudge"]}),Aa=Object.assign(function(t){return t},{core_attrs:["x","y","xnudge","ynudge"]}),Sa=Object.assign(function(t,{orientation:e="x"}={}){let n=["x","y"].filter(s=>t[s]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatLine": "${n.join('", "')}"`);let i=t.group??new Array(t.x.length).fill(null),o=Object.values(i.reduce((s,u,m)=>(s[u]??=[],s[u].push(m),s),{})).map(s=>s.map((u,m)=>[t[e][u],m]).sort((u,m)=>u[0]-m[0]).map((u,m)=>s[u[1]])),l=o.map(s=>s.slice(0,-1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),c=o.map(s=>s.slice(1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),a={};for(let s in t)a[s]=l.map(u=>t[s][u]);return a.xend=c.map(s=>t.x[s]),a.yend=c.map(s=>t.y[s]),a},{core_attrs:["x","y","xnudge","ynudge"]}),Ca=Object.assign(function(t){if(t.x!=null){let e=["x","ymin","ymax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({x:n,ymin:i,ymax:r,...o})=>({x:n,xend:n,y:i,yend:r,...o}))(t)}else if(t.y!=null){let e=["y","xmin","xmax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({y:n,xmin:i,xmax:r,...o})=>({y:n,yend:n,x:i,xend:r,...o}))(t)}else throw new Error('Missing aesthetics for "StatLinerange": x,ymin,ymax or y,xmin,xmax')},{core_attrs:["x","y","xmin","xmax","ymin","ymax","xnudge","ynudge"]}),Na=Object.assign(function(t){let e=["x","y"].filter(a=>t[a]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPath": "${e.join('", "')}"`);let n=t.group??new Array(t.x.length).fill(null),r=Object.values(n.reduce((a,s,u)=>(a[s]??=[],a[s].push(u),a),{})).map(a=>a.map((s,u)=>a[u])),o=r.map(a=>a.slice(0,-1).concat(NaN)).reduce((a,s)=>a.concat(s),[]).filter(a=>!isNaN(a)),l=r.map(a=>a.slice(1).concat(NaN)).reduce((a,s)=>a.concat(s),[]).filter(a=>!isNaN(a)),c={};for(let a in t)c[a]=o.map(s=>t[a][s]);return c.xend=l.map(a=>t.x[a]),c.yend=l.map(a=>t.y[a]),c},{core_attrs:["x","y","xnudge","ynudge"]}),Ma=Object.assign(function(t){let e=["x","y"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPoint": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xnudge","ynudge"]}),Ta=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(u=>t[u]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPolygon": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),i=ee(Object.fromEntries(n.map(u=>[u,t[u]]))),r=ee({group:i??new Array(t.x.length).fill(0)}).map((u,m,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,m)=>r[m]),l=Array.from(o.values()),c=Array.from(o.keys()),a=Array.from(Map.groupBy(wi({x:t.x,y:t.y}),(u,m)=>r[m]).values()),s={$raw:l,points:a};for(let u of n)s[u]=c.map(m=>m.group).map(m=>i.categories[m][u]);return s},{core_attrs:["points","xnudge","ynudge"]}),$a=Object.assign(function(t){let e=["xmin","xmax","ymin","ymax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatRect": "${e.join('", "')}"`);return t},{core_attrs:["xmin","xmax","ymin","ymax","xnudge","ynudge"]}),Ea=Object.assign(function(t){t.xend==null&&(t.xend=t.x),t.yend==null&&(t.yend=t.y);let e=["x","y","xend","yend"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatSegment": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xend","yend","xnudge","ynudge"]}),La=Object.assign(function(t){t.dx==null&&(t.dx=Array(t.x.length).fill(0)),t.dy==null&&(t.dy=Array(t.y.length).fill(0));let e=["x","y","dx","dy"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatStick": "${e.join('", "')}"`);return t},{core_attrs:["x","y","dx","dy","xnudge","ynudge"]}),Oa=Object.assign(function(t){let e=["x","y","label"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatText": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xnudge","ynudge","label","text-length"]}),ja=Object.assign(function(t){t.xend==null&&(t.xend=t.x),t.yend==null&&(t.yend=t.y);let e=["x","y","xend","yend","label"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTextsegment": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xend","yend","xnudge","ynudge","label"]}),Pa=Object.assign(function(t){t.width==null&&t.x.some(n=>typeof n=="string")&&(t.width=Array(t.x.length).fill(1)),t.height==null&&t.y.some(n=>typeof n=="string")&&(t.height=Array(t.y.length).fill(1));let e=["x","y","width","height"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTile": "${e.join('", "')}"`);return t},{core_attrs:["x","y","width","height","xnudge","ynudge"]}),Da=Object.freeze(Object.defineProperty({__proto__:null,bar:ya,boxplot:xa,curve:va,density:pa,ellipse:wa,histogram:ka,identity:Aa,line:Sa,linerange:Ca,path:Na,point:Ma,polygon:Ta,rect:$a,segment:Ea,stick:La,text:Oa,textsegment:ja,tile:Pa},Symbol.toStringTag,{value:"Module"}));function K1(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function qa(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Oo(t){let e,n,i;t.length!==2?(e=K1,n=(c,a)=>K1(t(c),a),i=(c,a)=>t(c)-a):(e=t===K1||t===qa?t:Ba,n=t,i=t);function r(c,a,s=0,u=c.length){if(s<u){if(e(a,a)!==0)return u;do{const m=s+u>>>1;n(c[m],a)<0?s=m+1:u=m}while(s<u)}return s}function o(c,a,s=0,u=c.length){if(s<u){if(e(a,a)!==0)return u;do{const m=s+u>>>1;n(c[m],a)<=0?s=m+1:u=m}while(s<u)}return s}function l(c,a,s=0,u=c.length){const m=r(c,a,s,u-1);return m>s&&i(c[m-1],a)>-i(c[m],a)?m-1:m}return{left:r,center:l,right:o}}function Ba(){return 0}function Va(t){return t===null?NaN:+t}const Ia=Oo(K1),Ra=Ia.right;Oo(Va).center;const Ha=Math.sqrt(50),Xa=Math.sqrt(10),Ya=Math.sqrt(2);function rn(t,e,n){const i=(e-t)/Math.max(0,n),r=Math.floor(Math.log10(i)),o=i/Math.pow(10,r),l=o>=Ha?10:o>=Xa?5:o>=Ya?2:1;let c,a,s;return r<0?(s=Math.pow(10,-r)/l,c=Math.round(t*s),a=Math.round(e*s),c/s<t&&++c,a/s>e&&--a,s=-s):(s=Math.pow(10,r)*l,c=Math.round(t/s),a=Math.round(e/s),c*s<t&&++c,a*s>e&&--a),a<c&&.5<=n&&n<2?rn(t,e,n*2):[c,a,s]}function za(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const i=e<t,[r,o,l]=i?rn(e,t,n):rn(t,e,n);if(!(o>=r))return[];const c=o-r+1,a=new Array(c);if(i)if(l<0)for(let s=0;s<c;++s)a[s]=(o-s)/-l;else for(let s=0;s<c;++s)a[s]=(o-s)*l;else if(l<0)for(let s=0;s<c;++s)a[s]=(r+s)/-l;else for(let s=0;s<c;++s)a[s]=(r+s)*l;return a}function Jn(t,e,n){return e=+e,t=+t,n=+n,rn(t,e,n)[2]}function Ua(t,e,n){e=+e,t=+t,n=+n;const i=e<t,r=i?Jn(e,t,n):Jn(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}var Fa={value:()=>{}};function jo(){for(var t=0,e=arguments.length,n={},i;t<e;++t){if(!(i=arguments[t]+"")||i in n||/[\s.]/.test(i))throw new Error("illegal type: "+i);n[i]=[]}return new Z1(n)}function Z1(t){this._=t}function Ga(t,e){return t.trim().split(/^|\s+/).map(function(n){var i="",r=n.indexOf(".");if(r>=0&&(i=n.slice(r+1),n=n.slice(0,r)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:i}})}Z1.prototype=jo.prototype={constructor:Z1,on:function(t,e){var n=this._,i=Ga(t+"",n),r,o=-1,l=i.length;if(arguments.length<2){for(;++o<l;)if((r=(t=i[o]).type)&&(r=Wa(n[r],t.name)))return r;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++o<l;)if(r=(t=i[o]).type)n[r]=br(n[r],t.name,e);else if(e==null)for(r in n)n[r]=br(n[r],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Z1(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var n=new Array(r),i=0,r,o;i<r;++i)n[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],i=0,r=o.length;i<r;++i)o[i].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(e,n)}};function Wa(t,e){for(var n=0,i=t.length,r;n<i;++n)if((r=t[n]).name===e)return r.value}function br(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=Fa,t=t.slice(0,i).concat(t.slice(i+1));break}return n!=null&&t.push({name:e,value:n}),t}var _n="http://www.w3.org/1999/xhtml";const wr={svg:"http://www.w3.org/2000/svg",xhtml:_n,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Nn(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),wr.hasOwnProperty(e)?{space:wr[e],local:t}:t}function Ka(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===_n&&e.documentElement.namespaceURI===_n?e.createElement(t):e.createElementNS(n,t)}}function Za(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Po(t){var e=Nn(t);return(e.local?Za:Ka)(e)}function Qa(){}function ki(t){return t==null?Qa:function(){return this.querySelector(t)}}function Ja(t){typeof t!="function"&&(t=ki(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=new Array(l),a,s,u=0;u<l;++u)(a=o[u])&&(s=t.call(a,a.__data__,u,o))&&("__data__"in a&&(s.__data__=a.__data__),c[u]=s);return new ue(i,this._parents)}function _a(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function tc(){return[]}function Do(t){return t==null?tc:function(){return this.querySelectorAll(t)}}function ec(t){return function(){return _a(t.apply(this,arguments))}}function nc(t){typeof t=="function"?t=ec(t):t=Do(t);for(var e=this._groups,n=e.length,i=[],r=[],o=0;o<n;++o)for(var l=e[o],c=l.length,a,s=0;s<c;++s)(a=l[s])&&(i.push(t.call(a,a.__data__,s,l)),r.push(a));return new ue(i,r)}function qo(t){return function(){return this.matches(t)}}function Bo(t){return function(e){return e.matches(t)}}var ic=Array.prototype.find;function rc(t){return function(){return ic.call(this.children,t)}}function oc(){return this.firstElementChild}function sc(t){return this.select(t==null?oc:rc(typeof t=="function"?t:Bo(t)))}var lc=Array.prototype.filter;function ac(){return Array.from(this.children)}function cc(t){return function(){return lc.call(this.children,t)}}function uc(t){return this.selectAll(t==null?ac:cc(typeof t=="function"?t:Bo(t)))}function hc(t){typeof t!="function"&&(t=qo(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=[],a,s=0;s<l;++s)(a=o[s])&&t.call(a,a.__data__,s,o)&&c.push(a);return new ue(i,this._parents)}function Vo(t){return new Array(t.length)}function fc(){return new ue(this._enter||this._groups.map(Vo),this._parents)}function on(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}on.prototype={constructor:on,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 mc(t){return function(){return t}}function dc(t,e,n,i,r,o){for(var l=0,c,a=e.length,s=o.length;l<s;++l)(c=e[l])?(c.__data__=o[l],i[l]=c):n[l]=new on(t,o[l]);for(;l<a;++l)(c=e[l])&&(r[l]=c)}function gc(t,e,n,i,r,o,l){var c,a,s=new Map,u=e.length,m=o.length,f=new Array(u),h;for(c=0;c<u;++c)(a=e[c])&&(f[c]=h=l.call(a,a.__data__,c,e)+"",s.has(h)?r[c]=a:s.set(h,a));for(c=0;c<m;++c)h=l.call(t,o[c],c,o)+"",(a=s.get(h))?(i[c]=a,a.__data__=o[c],s.delete(h)):n[c]=new on(t,o[c]);for(c=0;c<u;++c)(a=e[c])&&s.get(f[c])===a&&(r[c]=a)}function yc(t){return t.__data__}function xc(t,e){if(!arguments.length)return Array.from(this,yc);var n=e?gc:dc,i=this._parents,r=this._groups;typeof t!="function"&&(t=mc(t));for(var o=r.length,l=new Array(o),c=new Array(o),a=new Array(o),s=0;s<o;++s){var u=i[s],m=r[s],f=m.length,h=vc(t.call(u,u&&u.__data__,s,i)),d=h.length,y=c[s]=new Array(d),w=l[s]=new Array(d),v=a[s]=new Array(f);n(u,m,y,w,v,h,e);for(var C=0,S=0,M,j;C<d;++C)if(M=y[C]){for(C>=S&&(S=C+1);!(j=w[S])&&++S<d;);M._next=j||null}}return l=new ue(l,i),l._enter=c,l._exit=a,l}function vc(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function pc(){return new ue(this._exit||this._groups.map(Vo),this._parents)}function bc(t,e,n){var i=this.enter(),r=this,o=this.exit();return typeof t=="function"?(i=t(i),i&&(i=i.selection())):i=i.append(t+""),e!=null&&(r=e(r),r&&(r=r.selection())),n==null?o.remove():n(o),i&&r?i.merge(r).order():r}function wc(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,o=i.length,l=Math.min(r,o),c=new Array(r),a=0;a<l;++a)for(var s=n[a],u=i[a],m=s.length,f=c[a]=new Array(m),h,d=0;d<m;++d)(h=s[d]||u[d])&&(f[d]=h);for(;a<r;++a)c[a]=n[a];return new ue(c,this._parents)}function kc(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i=t[e],r=i.length-1,o=i[r],l;--r>=0;)(l=i[r])&&(o&&l.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(l,o),o=l);return this}function Ac(t){t||(t=Sc);function e(m,f){return m&&f?t(m.__data__,f.__data__):!m-!f}for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var l=n[o],c=l.length,a=r[o]=new Array(c),s,u=0;u<c;++u)(s=l[u])&&(a[u]=s);a.sort(e)}return new ue(r,this._parents).order()}function Sc(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Cc(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function Nc(){return Array.from(this)}function Mc(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length;r<o;++r){var l=i[r];if(l)return l}return null}function Tc(){let t=0;for(const e of this)++t;return t}function $c(){return!this.node()}function Ec(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r=e[n],o=0,l=r.length,c;o<l;++o)(c=r[o])&&t.call(c,c.__data__,o,r);return this}function Lc(t){return function(){this.removeAttribute(t)}}function Oc(t){return function(){this.removeAttributeNS(t.space,t.local)}}function jc(t,e){return function(){this.setAttribute(t,e)}}function Pc(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Dc(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function qc(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Bc(t,e){var n=Nn(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((e==null?n.local?Oc:Lc:typeof e=="function"?n.local?qc:Dc:n.local?Pc:jc)(n,e))}function Io(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Vc(t){return function(){this.style.removeProperty(t)}}function Ic(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Rc(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function Hc(t,e,n){return arguments.length>1?this.each((e==null?Vc:typeof e=="function"?Rc:Ic)(t,e,n??"")):c1(this.node(),t)}function c1(t,e){return t.style.getPropertyValue(e)||Io(t).getComputedStyle(t,null).getPropertyValue(e)}function Xc(t){return function(){delete this[t]}}function Yc(t,e){return function(){this[t]=e}}function zc(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Uc(t,e){return arguments.length>1?this.each((e==null?Xc:typeof e=="function"?zc:Yc)(t,e)):this.node()[t]}function Ro(t){return t.trim().split(/^|\s+/)}function Ai(t){return t.classList||new Ho(t)}function Ho(t){this._node=t,this._names=Ro(t.getAttribute("class")||"")}Ho.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 Xo(t,e){for(var n=Ai(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function Yo(t,e){for(var n=Ai(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function Fc(t){return function(){Xo(this,t)}}function Gc(t){return function(){Yo(this,t)}}function Wc(t,e){return function(){(e.apply(this,arguments)?Xo:Yo)(this,t)}}function Kc(t,e){var n=Ro(t+"");if(arguments.length<2){for(var i=Ai(this.node()),r=-1,o=n.length;++r<o;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e=="function"?Wc:e?Fc:Gc)(n,e))}function Zc(){this.textContent=""}function Qc(t){return function(){this.textContent=t}}function Jc(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function _c(t){return arguments.length?this.each(t==null?Zc:(typeof t=="function"?Jc:Qc)(t)):this.node().textContent}function t0(){this.innerHTML=""}function e0(t){return function(){this.innerHTML=t}}function n0(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function i0(t){return arguments.length?this.each(t==null?t0:(typeof t=="function"?n0:e0)(t)):this.node().innerHTML}function r0(){this.nextSibling&&this.parentNode.appendChild(this)}function o0(){return this.each(r0)}function s0(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function l0(){return this.each(s0)}function a0(t){var e=typeof t=="function"?t:Po(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function c0(){return null}function u0(t,e){var n=typeof t=="function"?t:Po(t),i=e==null?c0:typeof e=="function"?e:ki(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function h0(){var t=this.parentNode;t&&t.removeChild(this)}function f0(){return this.each(h0)}function m0(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function d0(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function g0(t){return this.select(t?d0:m0)}function y0(t){return arguments.length?this.property("__data__",t):this.node().__data__}function x0(t){return function(e){t.call(this,e,this.__data__)}}function v0(t){return t.trim().split(/^|\s+/).map(function(e){var n="",i=e.indexOf(".");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{type:e,name:n}})}function p0(t){return function(){var e=this.__on;if(e){for(var n=0,i=-1,r=e.length,o;n<r;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++i]=o;++i?e.length=i:delete this.__on}}}function b0(t,e,n){return function(){var i=this.__on,r,o=x0(e);if(i){for(var l=0,c=i.length;l<c;++l)if((r=i[l]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function w0(t,e,n){var i=v0(t+""),r,o=i.length,l;if(arguments.length<2){var c=this.node().__on;if(c){for(var a=0,s=c.length,u;a<s;++a)for(r=0,u=c[a];r<o;++r)if((l=i[r]).type===u.type&&l.name===u.name)return u.value}return}for(c=e?b0:p0,r=0;r<o;++r)this.each(c(i[r],e,n));return this}function zo(t,e,n){var i=Io(t),r=i.CustomEvent;typeof r=="function"?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function k0(t,e){return function(){return zo(this,t,e)}}function A0(t,e){return function(){return zo(this,t,e.apply(this,arguments))}}function S0(t,e){return this.each((typeof e=="function"?A0:k0)(t,e))}function*C0(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length,l;r<o;++r)(l=i[r])&&(yield l)}var N0=[null];function ue(t,e){this._groups=t,this._parents=e}function E1(){return new ue([[document.documentElement]],N0)}function M0(){return this}ue.prototype=E1.prototype={constructor:ue,select:Ja,selectAll:nc,selectChild:sc,selectChildren:uc,filter:hc,data:xc,enter:fc,exit:pc,join:bc,merge:wc,selection:M0,order:kc,sort:Ac,call:Cc,nodes:Nc,node:Mc,size:Tc,empty:$c,each:Ec,attr:Bc,style:Hc,property:Uc,classed:Kc,text:_c,html:i0,raise:o0,lower:l0,append:a0,insert:u0,remove:f0,clone:g0,datum:y0,on:w0,dispatch:S0,[Symbol.iterator]:C0};function L1(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Mn(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function Ue(){}var A1=.7,sn=1/A1,o1="\\s*([+-]?\\d+)\\s*",S1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",de="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",T0=/^#([0-9a-f]{3,8})$/,$0=new RegExp(`^rgb\\(${o1},${o1},${o1}\\)$`),E0=new RegExp(`^rgb\\(${de},${de},${de}\\)$`),L0=new RegExp(`^rgba\\(${o1},${o1},${o1},${S1}\\)$`),O0=new RegExp(`^rgba\\(${de},${de},${de},${S1}\\)$`),j0=new RegExp(`^hsl\\(${S1},${de},${de}\\)$`),P0=new RegExp(`^hsla\\(${S1},${de},${de},${S1}\\)$`),kr={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};L1(Ue,He,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ar,formatHex:Ar,formatHex8:D0,formatHsl:q0,formatRgb:Sr,toString:Sr});function Ar(){return this.rgb().formatHex()}function D0(){return this.rgb().formatHex8()}function q0(){return Fo(this).formatHsl()}function Sr(){return this.rgb().formatRgb()}function He(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=T0.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Cr(e):n===3?new Zt(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?R1(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?R1(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=$0.exec(t))?new Zt(e[1],e[2],e[3],1):(e=E0.exec(t))?new Zt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=L0.exec(t))?R1(e[1],e[2],e[3],e[4]):(e=O0.exec(t))?R1(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=j0.exec(t))?Tr(e[1],e[2]/100,e[3]/100,1):(e=P0.exec(t))?Tr(e[1],e[2]/100,e[3]/100,e[4]):kr.hasOwnProperty(t)?Cr(kr[t]):t==="transparent"?new Zt(NaN,NaN,NaN,0):null}function Cr(t){return new Zt(t>>16&255,t>>8&255,t&255,1)}function R1(t,e,n,i){return i<=0&&(t=e=n=NaN),new Zt(t,e,n,i)}function Uo(t){return t instanceof Ue||(t=He(t)),t?(t=t.rgb(),new Zt(t.r,t.g,t.b,t.opacity)):new Zt}function ti(t,e,n,i){return arguments.length===1?Uo(t):new Zt(t,e,n,i??1)}function Zt(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}L1(Zt,ti,Mn(Ue,{brighter(t){return t=t==null?sn:Math.pow(sn,t),new Zt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?A1:Math.pow(A1,t),new Zt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Zt(Re(this.r),Re(this.g),Re(this.b),ln(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:Nr,formatHex:Nr,formatHex8:B0,formatRgb:Mr,toString:Mr}));function Nr(){return`#${Be(this.r)}${Be(this.g)}${Be(this.b)}`}function B0(){return`#${Be(this.r)}${Be(this.g)}${Be(this.b)}${Be((isNaN(this.opacity)?1:this.opacity)*255)}`}function Mr(){const t=ln(this.opacity);return`${t===1?"rgb(":"rgba("}${Re(this.r)}, ${Re(this.g)}, ${Re(this.b)}${t===1?")":`, ${t})`}`}function ln(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Re(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Be(t){return t=Re(t),(t<16?"0":"")+t.toString(16)}function Tr(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ce(t,e,n,i)}function Fo(t){if(t instanceof ce)return new ce(t.h,t.s,t.l,t.opacity);if(t instanceof Ue||(t=He(t)),!t)return new ce;if(t instanceof ce)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),l=NaN,c=o-r,a=(o+r)/2;return c?(e===o?l=(n-i)/c+(n<i)*6:n===o?l=(i-e)/c+2:l=(e-n)/c+4,c/=a<.5?o+r:2-o-r,l*=60):c=a>0&&a<1?0:l,new ce(l,c,a,t.opacity)}function V0(t,e,n,i){return arguments.length===1?Fo(t):new ce(t,e,n,i??1)}function ce(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}L1(ce,V0,Mn(Ue,{brighter(t){return t=t==null?sn:Math.pow(sn,t),new ce(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?A1:Math.pow(A1,t),new ce(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,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new Zt(Bn(t>=240?t-240:t+120,r,i),Bn(t,r,i),Bn(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new ce($r(this.h),H1(this.s),H1(this.l),ln(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=ln(this.opacity);return`${t===1?"hsl(":"hsla("}${$r(this.h)}, ${H1(this.s)*100}%, ${H1(this.l)*100}%${t===1?")":`, ${t})`}`}}));function $r(t){return t=(t||0)%360,t<0?t+360:t}function H1(t){return Math.max(0,Math.min(1,t||0))}function Bn(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const I0=Math.PI/180,R0=180/Math.PI,an=18,Go=.96422,Wo=1,Ko=.82521,Zo=4/29,s1=6/29,Qo=3*s1*s1,H0=s1*s1*s1;function Jo(t){if(t instanceof ge)return new ge(t.l,t.a,t.b,t.opacity);if(t instanceof Ae)return ts(t);t instanceof Zt||(t=Uo(t));var e=Hn(t.r),n=Hn(t.g),i=Hn(t.b),r=Vn((.2225045*e+.7168786*n+.0606169*i)/Wo),o,l;return e===n&&n===i?o=l=r:(o=Vn((.4360747*e+.3850649*n+.1430804*i)/Go),l=Vn((.0139322*e+.0971045*n+.7141733*i)/Ko)),new ge(116*r-16,500*(o-r),200*(r-l),t.opacity)}function ei(t,e,n,i){return arguments.length===1?Jo(t):new ge(t,e,n,i??1)}function ge(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i}L1(ge,ei,Mn(Ue,{brighter(t){return new ge(this.l+an*(t??1),this.a,this.b,this.opacity)},darker(t){return new ge(this.l-an*(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=Go*In(e),t=Wo*In(t),n=Ko*In(n),new Zt(Rn(3.1338561*e-1.6168667*t-.4906146*n),Rn(-.9787684*e+1.9161415*t+.033454*n),Rn(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function Vn(t){return t>H0?Math.pow(t,1/3):t/Qo+Zo}function In(t){return t>s1?t*t*t:Qo*(t-Zo)}function Rn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Hn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function X0(t){if(t instanceof Ae)return new Ae(t.h,t.c,t.l,t.opacity);if(t instanceof ge||(t=Jo(t)),t.a===0&&t.b===0)return new Ae(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*R0;return new Ae(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function _o(t,e,n,i){return arguments.length===1?X0(t):new Ae(t,e,n,i??1)}function Ae(t,e,n,i){this.h=+t,this.c=+e,this.l=+n,this.opacity=+i}function ts(t){if(isNaN(t.h))return new ge(t.l,0,0,t.opacity);var e=t.h*I0;return new ge(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}L1(Ae,_o,Mn(Ue,{brighter(t){return new Ae(this.h,this.c,this.l+an*(t??1),this.opacity)},darker(t){return new Ae(this.h,this.c,this.l-an*(t??1),this.opacity)},rgb(){return ts(this).rgb()}}));const Si=t=>()=>t;function Y0(t,e){return function(n){return t+n*e}}function z0(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}function U0(t){return(t=+t)==1?t1:function(e,n){return n-e?z0(e,n,t):Si(isNaN(e)?n:e)}}function t1(t,e){var n=e-t;return n?Y0(t,n):Si(isNaN(t)?e:t)}const cn=(function t(e){var n=U0(e);function i(r,o){var l=n((r=ti(r)).r,(o=ti(o)).r),c=n(r.g,o.g),a=n(r.b,o.b),s=t1(r.opacity,o.opacity);return function(u){return r.r=l(u),r.g=c(u),r.b=a(u),r.opacity=s(u),r+""}}return i.gamma=t,i})(1);function F0(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,i=e.slice(),r;return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}}function G0(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function W0(t,e){var n=e?e.length:0,i=t?Math.min(n,t.length):0,r=new Array(i),o=new Array(n),l;for(l=0;l<i;++l)r[l]=Ci(t[l],e[l]);for(;l<n;++l)o[l]=e[l];return function(c){for(l=0;l<i;++l)o[l]=r[l](c);return o}}function K0(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function ae(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Z0(t,e){var n={},i={},r;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(r in e)r in t?n[r]=Ci(t[r],e[r]):i[r]=e[r];return function(o){for(r in n)i[r]=n[r](o);return i}}var ni=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Xn=new RegExp(ni.source,"g");function Q0(t){return function(){return t}}function J0(t){return function(e){return t(e)+""}}function es(t,e){var n=ni.lastIndex=Xn.lastIndex=0,i,r,o,l=-1,c=[],a=[];for(t=t+"",e=e+"";(i=ni.exec(t))&&(r=Xn.exec(e));)(o=r.index)>n&&(o=e.slice(n,o),c[l]?c[l]+=o:c[++l]=o),(i=i[0])===(r=r[0])?c[l]?c[l]+=r:c[++l]=r:(c[++l]=null,a.push({i:l,x:ae(i,r)})),n=Xn.lastIndex;return n<e.length&&(o=e.slice(n),c[l]?c[l]+=o:c[++l]=o),c.length<2?a[0]?J0(a[0].x):Q0(e):(e=a.length,function(s){for(var u=0,m;u<e;++u)c[(m=a[u]).i]=m.x(s);return c.join("")})}function Ci(t,e){var n=typeof e,i;return e==null||n==="boolean"?Si(e):(n==="number"?ae:n==="string"?(i=He(e))?(e=i,cn):es:e instanceof He?cn:e instanceof Date?K0:G0(e)?F0:Array.isArray(e)?W0:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?Z0:ae)(t,e)}function _0(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var Er=180/Math.PI,ii={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ns(t,e,n,i,r,o){var l,c,a;return(l=Math.sqrt(t*t+e*e))&&(t/=l,e/=l),(a=t*n+e*i)&&(n-=t*a,i-=e*a),(c=Math.sqrt(n*n+i*i))&&(n/=c,i/=c,a/=c),t*i<e*n&&(t=-t,e=-e,a=-a,l=-l),{translateX:r,translateY:o,rotate:Math.atan2(e,t)*Er,skewX:Math.atan(a)*Er,scaleX:l,scaleY:c}}var X1;function tu(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?ii:ns(e.a,e.b,e.c,e.d,e.e,e.f)}function eu(t){return t==null||(X1||(X1=document.createElementNS("http://www.w3.org/2000/svg","g")),X1.setAttribute("transform",t),!(t=X1.transform.baseVal.consolidate()))?ii:(t=t.matrix,ns(t.a,t.b,t.c,t.d,t.e,t.f))}function is(t,e,n,i){function r(s){return s.length?s.pop()+" ":""}function o(s,u,m,f,h,d){if(s!==m||u!==f){var y=h.push("translate(",null,e,null,n);d.push({i:y-4,x:ae(s,m)},{i:y-2,x:ae(u,f)})}else(m||f)&&h.push("translate("+m+e+f+n)}function l(s,u,m,f){s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),f.push({i:m.push(r(m)+"rotate(",null,i)-2,x:ae(s,u)})):u&&m.push(r(m)+"rotate("+u+i)}function c(s,u,m,f){s!==u?f.push({i:m.push(r(m)+"skewX(",null,i)-2,x:ae(s,u)}):u&&m.push(r(m)+"skewX("+u+i)}function a(s,u,m,f,h,d){if(s!==m||u!==f){var y=h.push(r(h)+"scale(",null,",",null,")");d.push({i:y-4,x:ae(s,m)},{i:y-2,x:ae(u,f)})}else(m!==1||f!==1)&&h.push(r(h)+"scale("+m+","+f+")")}return function(s,u){var m=[],f=[];return s=t(s),u=t(u),o(s.translateX,s.translateY,u.translateX,u.translateY,m,f),l(s.rotate,u.rotate,m,f),c(s.skewX,u.skewX,m,f),a(s.scaleX,s.scaleY,u.scaleX,u.scaleY,m,f),s=u=null,function(h){for(var d=-1,y=f.length,w;++d<y;)m[(w=f[d]).i]=w.x(h);return m.join("")}}}var nu=is(tu,"px, ","px)","deg)"),iu=is(eu,", ",")",")");function ri(t,e){var n=t1((t=ei(t)).l,(e=ei(e)).l),i=t1(t.a,e.a),r=t1(t.b,e.b),o=t1(t.opacity,e.opacity);return function(l){return t.l=n(l),t.a=i(l),t.b=r(l),t.opacity=o(l),t+""}}var u1=0,p1=0,g1=0,rs=1e3,un,b1,hn=0,Xe=0,Tn=0,C1=typeof performance=="object"&&performance.now?performance:Date,os=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Ni(){return Xe||(os(ru),Xe=C1.now()+Tn)}function ru(){Xe=0}function fn(){this._call=this._time=this._next=null}fn.prototype=ss.prototype={constructor:fn,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?Ni():+n)+(e==null?0:+e),!this._next&&b1!==this&&(b1?b1._next=this:un=this,b1=this),this._call=t,this._time=n,oi()},stop:function(){this._call&&(this._call=null,this._time=1/0,oi())}};function ss(t,e,n){var i=new fn;return i.restart(t,e,n),i}function ou(){Ni(),++u1;for(var t=un,e;t;)(e=Xe-t._time)>=0&&t._call.call(void 0,e),t=t._next;--u1}function Lr(){Xe=(hn=C1.now())+Tn,u1=p1=0;try{ou()}finally{u1=0,lu(),Xe=0}}function su(){var t=C1.now(),e=t-hn;e>rs&&(Tn-=e,hn=t)}function lu(){for(var t,e=un,n,i=1/0;e;)e._call?(i>e._time&&(i=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:un=n);b1=t,oi(i)}function oi(t){if(!u1){p1&&(p1=clearTimeout(p1));var e=t-Xe;e>24?(t<1/0&&(p1=setTimeout(Lr,t-C1.now()-Tn)),g1&&(g1=clearInterval(g1))):(g1||(hn=C1.now(),g1=setInterval(su,rs)),u1=1,os(Lr))}}function Or(t,e,n){var i=new fn;return e=e==null?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,n),i}var au=jo("start","end","cancel","interrupt"),cu=[],ls=0,jr=1,si=2,Q1=3,Pr=4,li=5,J1=6;function $n(t,e,n,i,r,o){var l=t.__transition;if(!l)t.__transition={};else if(n in l)return;uu(t,n,{name:e,index:i,group:r,on:au,tween:cu,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:ls})}function Mi(t,e){var n=he(t,e);if(n.state>ls)throw new Error("too late; already scheduled");return n}function ye(t,e){var n=he(t,e);if(n.state>Q1)throw new Error("too late; already running");return n}function he(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function uu(t,e,n){var i=t.__transition,r;i[e]=n,n.timer=ss(o,0,n.time);function o(s){n.state=jr,n.timer.restart(l,n.delay,n.time),n.delay<=s&&l(s-n.delay)}function l(s){var u,m,f,h;if(n.state!==jr)return a();for(u in i)if(h=i[u],h.name===n.name){if(h.state===Q1)return Or(l);h.state===Pr?(h.state=J1,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+u<e&&(h.state=J1,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[u])}if(Or(function(){n.state===Q1&&(n.state=Pr,n.timer.restart(c,n.delay,n.time),c(s))}),n.state=si,n.on.call("start",t,t.__data__,n.index,n.group),n.state===si){for(n.state=Q1,r=new Array(f=n.tween.length),u=0,m=-1;u<f;++u)(h=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++m]=h);r.length=m+1}}function c(s){for(var u=s<n.duration?n.ease.call(null,s/n.duration):(n.timer.restart(a),n.state=li,1),m=-1,f=r.length;++m<f;)r[m].call(t,u);n.state===li&&(n.on.call("end",t,t.__data__,n.index,n.group),a())}function a(){n.state=J1,n.timer.stop(),delete i[e];for(var s in i)return;delete t.__transition}}function hu(t,e){var n=t.__transition,i,r,o=!0,l;if(n){e=e==null?null:e+"";for(l in n){if((i=n[l]).name!==e){o=!1;continue}r=i.state>si&&i.state<li,i.state=J1,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete n[l]}o&&delete t.__transition}}function fu(t){return this.each(function(){hu(this,t)})}function mu(t,e){var n,i;return function(){var r=ye(this,t),o=r.tween;if(o!==n){i=n=o;for(var l=0,c=i.length;l<c;++l)if(i[l].name===e){i=i.slice(),i.splice(l,1);break}}r.tween=i}}function du(t,e,n){var i,r;if(typeof n!="function")throw new Error;return function(){var o=ye(this,t),l=o.tween;if(l!==i){r=(i=l).slice();for(var c={name:e,value:n},a=0,s=r.length;a<s;++a)if(r[a].name===e){r[a]=c;break}a===s&&r.push(c)}o.tween=r}}function gu(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i=he(this.node(),n).tween,r=0,o=i.length,l;r<o;++r)if((l=i[r]).name===t)return l.value;return null}return this.each((e==null?mu:du)(n,t,e))}function Ti(t,e,n){var i=t._id;return t.each(function(){var r=ye(this,i);(r.value||(r.value={}))[e]=n.apply(this,arguments)}),function(r){return he(r,i).value[e]}}function as(t,e){var n;return(typeof e=="number"?ae:e instanceof He?cn:(n=He(e))?(e=n,cn):es)(t,e)}function yu(t){return function(){this.removeAttribute(t)}}function xu(t){return function(){this.removeAttributeNS(t.space,t.local)}}function vu(t,e,n){var i,r=n+"",o;return function(){var l=this.getAttribute(t);return l===r?null:l===i?o:o=e(i=l,n)}}function pu(t,e,n){var i,r=n+"",o;return function(){var l=this.getAttributeNS(t.space,t.local);return l===r?null:l===i?o:o=e(i=l,n)}}function bu(t,e,n){var i,r,o;return function(){var l,c=n(this),a;return c==null?void this.removeAttribute(t):(l=this.getAttribute(t),a=c+"",l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c)))}}function wu(t,e,n){var i,r,o;return function(){var l,c=n(this),a;return c==null?void this.removeAttributeNS(t.space,t.local):(l=this.getAttributeNS(t.space,t.local),a=c+"",l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c)))}}function ku(t,e){var n=Nn(t),i=n==="transform"?iu:as;return this.attrTween(t,typeof e=="function"?(n.local?wu:bu)(n,i,Ti(this,"attr."+t,e)):e==null?(n.local?xu:yu)(n):(n.local?pu:vu)(n,i,e))}function Au(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Su(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Cu(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&Su(t,o)),n}return r._value=e,r}function Nu(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&Au(t,o)),n}return r._value=e,r}function Mu(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var i=Nn(t);return this.tween(n,(i.local?Cu:Nu)(i,e))}function Tu(t,e){return function(){Mi(this,t).delay=+e.apply(this,arguments)}}function $u(t,e){return e=+e,function(){Mi(this,t).delay=e}}function Eu(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Tu:$u)(e,t)):he(this.node(),e).delay}function Lu(t,e){return function(){ye(this,t).duration=+e.apply(this,arguments)}}function Ou(t,e){return e=+e,function(){ye(this,t).duration=e}}function ju(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Lu:Ou)(e,t)):he(this.node(),e).duration}function Pu(t,e){if(typeof e!="function")throw new Error;return function(){ye(this,t).ease=e}}function Du(t){var e=this._id;return arguments.length?this.each(Pu(e,t)):he(this.node(),e).ease}function qu(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;ye(this,t).ease=n}}function Bu(t){if(typeof t!="function")throw new Error;return this.each(qu(this._id,t))}function Vu(t){typeof t!="function"&&(t=qo(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=[],a,s=0;s<l;++s)(a=o[s])&&t.call(a,a.__data__,s,o)&&c.push(a);return new Ce(i,this._parents,this._name,this._id)}function Iu(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,o=Math.min(i,r),l=new Array(i),c=0;c<o;++c)for(var a=e[c],s=n[c],u=a.length,m=l[c]=new Array(u),f,h=0;h<u;++h)(f=a[h]||s[h])&&(m[h]=f);for(;c<i;++c)l[c]=e[c];return new Ce(l,this._parents,this._name,this._id)}function Ru(t){return(t+"").trim().split(/^|\s+/).every(function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||e==="start"})}function Hu(t,e,n){var i,r,o=Ru(e)?Mi:ye;return function(){var l=o(this,t),c=l.on;c!==i&&(r=(i=c).copy()).on(e,n),l.on=r}}function Xu(t,e){var n=this._id;return arguments.length<2?he(this.node(),n).on.on(t):this.each(Hu(n,t,e))}function Yu(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function zu(){return this.on("end.remove",Yu(this._id))}function Uu(t){var e=this._name,n=this._id;typeof t!="function"&&(t=ki(t));for(var i=this._groups,r=i.length,o=new Array(r),l=0;l<r;++l)for(var c=i[l],a=c.length,s=o[l]=new Array(a),u,m,f=0;f<a;++f)(u=c[f])&&(m=t.call(u,u.__data__,f,c))&&("__data__"in u&&(m.__data__=u.__data__),s[f]=m,$n(s[f],e,n,f,s,he(u,n)));return new Ce(o,this._parents,e,n)}function Fu(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Do(t));for(var i=this._groups,r=i.length,o=[],l=[],c=0;c<r;++c)for(var a=i[c],s=a.length,u,m=0;m<s;++m)if(u=a[m]){for(var f=t.call(u,u.__data__,m,a),h,d=he(u,n),y=0,w=f.length;y<w;++y)(h=f[y])&&$n(h,e,n,y,f,d);o.push(f),l.push(u)}return new Ce(o,l,e,n)}var Gu=E1.prototype.constructor;function Wu(){return new Gu(this._groups,this._parents)}function Ku(t,e){var n,i,r;return function(){var o=c1(this,t),l=(this.style.removeProperty(t),c1(this,t));return o===l?null:o===n&&l===i?r:r=e(n=o,i=l)}}function cs(t){return function(){this.style.removeProperty(t)}}function Zu(t,e,n){var i,r=n+"",o;return function(){var l=c1(this,t);return l===r?null:l===i?o:o=e(i=l,n)}}function Qu(t,e,n){var i,r,o;return function(){var l=c1(this,t),c=n(this),a=c+"";return c==null&&(a=c=(this.style.removeProperty(t),c1(this,t))),l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c))}}function Ju(t,e){var n,i,r,o="style."+e,l="end."+o,c;return function(){var a=ye(this,t),s=a.on,u=a.value[o]==null?c||(c=cs(e)):void 0;(s!==n||r!==u)&&(i=(n=s).copy()).on(l,r=u),a.on=i}}function _u(t,e,n){var i=(t+="")=="transform"?nu:as;return e==null?this.styleTween(t,Ku(t,i)).on("end.style."+t,cs(t)):typeof e=="function"?this.styleTween(t,Qu(t,i,Ti(this,"style."+t,e))).each(Ju(this._id,t)):this.styleTween(t,Zu(t,i,e),n).on("end.style."+t,null)}function t2(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function e2(t,e,n){var i,r;function o(){var l=e.apply(this,arguments);return l!==r&&(i=(r=l)&&t2(t,l,n)),i}return o._value=e,o}function n2(t,e,n){var i="style."+(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;return this.tween(i,e2(t,e,n??""))}function i2(t){return function(){this.textContent=t}}function r2(t){return function(){var e=t(this);this.textContent=e??""}}function o2(t){return this.tween("text",typeof t=="function"?r2(Ti(this,"text",t)):i2(t==null?"":t+""))}function s2(t){return function(e){this.textContent=t.call(this,e)}}function l2(t){var e,n;function i(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&s2(r)),e}return i._value=t,i}function a2(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,l2(t))}function c2(){for(var t=this._name,e=this._id,n=us(),i=this._groups,r=i.length,o=0;o<r;++o)for(var l=i[o],c=l.length,a,s=0;s<c;++s)if(a=l[s]){var u=he(a,e);$n(a,t,n,s,l,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Ce(i,this._parents,t,n)}function u2(){var t,e,n=this,i=n._id,r=n.size();return new Promise(function(o,l){var c={value:l},a={value:function(){--r===0&&o()}};n.each(function(){var s=ye(this,i),u=s.on;u!==t&&(e=(t=u).copy(),e._.cancel.push(c),e._.interrupt.push(c),e._.end.push(a)),s.on=e}),r===0&&o()})}var h2=0;function Ce(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function us(){return++h2}var be=E1.prototype;Ce.prototype={constructor:Ce,select:Uu,selectAll:Fu,selectChild:be.selectChild,selectChildren:be.selectChildren,filter:Vu,merge:Iu,selection:Wu,transition:c2,call:be.call,nodes:be.nodes,node:be.node,size:be.size,empty:be.empty,each:be.each,on:Xu,attr:ku,attrTween:Mu,style:_u,styleTween:n2,text:o2,textTween:a2,remove:zu,tween:gu,delay:Eu,duration:ju,ease:Du,easeVarying:Bu,end:u2,[Symbol.iterator]:be[Symbol.iterator]};function f2(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var m2={time:null,delay:0,duration:250,ease:f2};function d2(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function g2(t){var e,n;t instanceof Ce?(e=t._id,t=t._name):(e=us(),(n=m2).time=Ni(),t=t==null?null:t+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var l=i[o],c=l.length,a,s=0;s<c;++s)(a=l[s])&&$n(a,t,e,s,l,n||d2(a,e));return new Ce(i,this._parents,t,e)}E1.prototype.interrupt=fu;E1.prototype.transition=g2;const ai=Math.PI,ci=2*ai,Pe=1e-6,y2=ci-Pe;function hs(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function x2(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return hs;const n=10**e;return function(i){this._+=i[0];for(let r=1,o=i.length;r<o;++r)this._+=Math.round(arguments[r]*n)/n+i[r]}}class v2{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?hs:x2(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,i,r){this._append`Q${+e},${+n},${this._x1=+i},${this._y1=+r}`}bezierCurveTo(e,n,i,r,o,l){this._append`C${+e},${+n},${+i},${+r},${this._x1=+o},${this._y1=+l}`}arcTo(e,n,i,r,o){if(e=+e,n=+n,i=+i,r=+r,o=+o,o<0)throw new Error(`negative radius: ${o}`);let l=this._x1,c=this._y1,a=i-e,s=r-n,u=l-e,m=c-n,f=u*u+m*m;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(f>Pe)if(!(Math.abs(m*a-s*u)>Pe)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let h=i-l,d=r-c,y=a*a+s*s,w=h*h+d*d,v=Math.sqrt(y),C=Math.sqrt(f),S=o*Math.tan((ai-Math.acos((y+f-w)/(2*v*C)))/2),M=S/C,j=S/v;Math.abs(M-1)>Pe&&this._append`L${e+M*u},${n+M*m}`,this._append`A${o},${o},0,0,${+(m*h>u*d)},${this._x1=e+j*a},${this._y1=n+j*s}`}}arc(e,n,i,r,o,l){if(e=+e,n=+n,i=+i,l=!!l,i<0)throw new Error(`negative radius: ${i}`);let c=i*Math.cos(r),a=i*Math.sin(r),s=e+c,u=n+a,m=1^l,f=l?r-o:o-r;this._x1===null?this._append`M${s},${u}`:(Math.abs(this._x1-s)>Pe||Math.abs(this._y1-u)>Pe)&&this._append`L${s},${u}`,i&&(f<0&&(f=f%ci+ci),f>y2?this._append`A${i},${i},0,1,${m},${e-c},${n-a}A${i},${i},0,1,${m},${this._x1=s},${this._y1=u}`:f>Pe&&this._append`A${i},${i},0,${+(f>=ai)},${m},${this._x1=e+i*Math.cos(o)},${this._y1=n+i*Math.sin(o)}`)}rect(e,n,i,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}function p2(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function mn(t,e){if(!isFinite(t)||t===0)return null;var n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function h1(t){return t=mn(Math.abs(t)),t?t[1]:NaN}function b2(t,e){return function(n,i){for(var r=n.length,o=[],l=0,c=t[0],a=0;r>0&&c>0&&(a+c+1>i&&(c=Math.max(1,i-a)),o.push(n.substring(r-=c,r+c)),!((a+=c+1)>i));)c=t[l=(l+1)%t.length];return o.reverse().join(e)}}function w2(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var k2=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function dn(t){if(!(e=k2.exec(t)))throw new Error("invalid format: "+t);var e;return new $i({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}dn.prototype=$i.prototype;function $i(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}$i.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 A2(t){t:for(var e=t.length,n=1,i=-1,r;n<e;++n)switch(t[n]){case".":i=r=n;break;case"0":i===0&&(i=n),r=n;break;default:if(!+t[n])break t;i>0&&(i=0);break}return i>0?t.slice(0,i)+t.slice(r+1):t}var gn;function S2(t,e){var n=mn(t,e);if(!n)return gn=void 0,t.toPrecision(e);var i=n[0],r=n[1],o=r-(gn=Math.max(-8,Math.min(8,Math.floor(r/3)))*3)+1,l=i.length;return o===l?i:o>l?i+new Array(o-l+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+mn(t,Math.max(0,e+o-1))[0]}function Dr(t,e){var n=mn(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}const qr={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:p2,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Dr(t*100,e),r:Dr,s:S2,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Br(t){return t}var Vr=Array.prototype.map,Ir=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function C2(t){var e=t.grouping===void 0||t.thousands===void 0?Br:b2(Vr.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",i=t.currency===void 0?"":t.currency[1]+"",r=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?Br:w2(Vr.call(t.numerals,String)),l=t.percent===void 0?"%":t.percent+"",c=t.minus===void 0?"\u2212":t.minus+"",a=t.nan===void 0?"NaN":t.nan+"";function s(m,f){m=dn(m);var h=m.fill,d=m.align,y=m.sign,w=m.symbol,v=m.zero,C=m.width,S=m.comma,M=m.precision,j=m.trim,$=m.type;$==="n"?(S=!0,$="g"):qr[$]||(M===void 0&&(M=12),j=!0,$="g"),(v||h==="0"&&d==="=")&&(v=!0,h="0",d="=");var T=(f&&f.prefix!==void 0?f.prefix:"")+(w==="$"?n:w==="#"&&/[boxX]/.test($)?"0"+$.toLowerCase():""),g=(w==="$"?i:/[%p]/.test($)?l:"")+(f&&f.suffix!==void 0?f.suffix:""),p=qr[$],b=/[defgprs%]/.test($);M=M===void 0?6:/[gprs]/.test($)?Math.max(1,Math.min(21,M)):Math.max(0,Math.min(20,M));function N(A){var R=T,I=g,F,U,z;if($==="c")I=p(A)+I,A="";else{A=+A;var q=A<0||1/A<0;if(A=isNaN(A)?a:p(Math.abs(A),M),j&&(A=A2(A)),q&&+A==0&&y!=="+"&&(q=!1),R=(q?y==="("?y:c:y==="-"||y==="("?"":y)+R,I=($==="s"&&!isNaN(A)&&gn!==void 0?Ir[8+gn/3]:"")+I+(q&&y==="("?")":""),b){for(F=-1,U=A.length;++F<U;)if(z=A.charCodeAt(F),48>z||z>57){I=(z===46?r+A.slice(F+1):A.slice(F))+I,A=A.slice(0,F);break}}}S&&!v&&(A=e(A,1/0));var H=R.length+A.length+I.length,Y=H<C?new Array(C-H+1).join(h):"";switch(S&&v&&(A=e(Y+A,Y.length?C-I.length:1/0),Y=""),d){case"<":A=R+A+I+Y;break;case"=":A=R+Y+A+I;break;case"^":A=Y.slice(0,H=Y.length>>1)+R+A+I+Y.slice(H);break;default:A=Y+R+A+I;break}return o(A)}return N.toString=function(){return m+""},N}function u(m,f){var h=Math.max(-8,Math.min(8,Math.floor(h1(f)/3)))*3,d=Math.pow(10,-h),y=s((m=dn(m),m.type="f",m),{suffix:Ir[8+h/3]});return function(w){return y(d*w)}}return{format:s,formatPrefix:u}}var Y1,fs,ms;N2({thousands:",",grouping:[3],currency:["$",""]});function N2(t){return Y1=C2(t),fs=Y1.format,ms=Y1.formatPrefix,Y1}function M2(t){return Math.max(0,-h1(Math.abs(t)))}function T2(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(h1(e)/3)))*3-h1(Math.abs(t)))}function $2(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,h1(e)-h1(t))+1}function E2(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function L2(t){return function(){return t}}function O2(t){return+t}var Rr=[0,1];function e1(t){return t}function ui(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:L2(isNaN(e)?NaN:.5)}function j2(t,e){var n;return t>e&&(n=t,t=e,e=n),function(i){return Math.max(t,Math.min(e,i))}}function P2(t,e,n){var i=t[0],r=t[1],o=e[0],l=e[1];return r<i?(i=ui(r,i),o=n(l,o)):(i=ui(i,r),o=n(o,l)),function(c){return o(i(c))}}function D2(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),o=new Array(i),l=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++l<i;)r[l]=ui(t[l],t[l+1]),o[l]=n(e[l],e[l+1]);return function(c){var a=Ra(t,c,1,i)-1;return o[a](r[a](c))}}function q2(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function B2(){var t=Rr,e=Rr,n=Ci,i,r,o,l=e1,c,a,s;function u(){var f=Math.min(t.length,e.length);return l!==e1&&(l=j2(t[0],t[f-1])),c=f>2?D2:P2,a=s=null,m}function m(f){return f==null||isNaN(f=+f)?o:(a||(a=c(t.map(i),e,n)))(i(l(f)))}return m.invert=function(f){return l(r((s||(s=c(e,t.map(i),ae)))(f)))},m.domain=function(f){return arguments.length?(t=Array.from(f,O2),u()):t.slice()},m.range=function(f){return arguments.length?(e=Array.from(f),u()):e.slice()},m.rangeRound=function(f){return e=Array.from(f),n=_0,u()},m.clamp=function(f){return arguments.length?(l=f?!0:e1,u()):l!==e1},m.interpolate=function(f){return arguments.length?(n=f,u()):n},m.unknown=function(f){return arguments.length?(o=f,m):o},function(f,h){return i=f,r=h,u()}}function V2(){return B2()(e1,e1)}function I2(t,e,n,i){var r=Ua(t,e,n),o;switch(i=dn(i??",f"),i.type){case"s":{var l=Math.max(Math.abs(t),Math.abs(e));return i.precision==null&&!isNaN(o=T2(r,l))&&(i.precision=o),ms(i,l)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(o=$2(r,Math.max(Math.abs(t),Math.abs(e))))&&(i.precision=o-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(o=M2(r))&&(i.precision=o-(i.type==="%")*2);break}}return fs(i)}function R2(t){var e=t.domain;return t.ticks=function(n){var i=e();return za(i[0],i[i.length-1],n??10)},t.tickFormat=function(n,i){var r=e();return I2(r[0],r[r.length-1],n??10,i)},t.nice=function(n){n==null&&(n=10);var i=e(),r=0,o=i.length-1,l=i[r],c=i[o],a,s,u=10;for(c<l&&(s=l,l=c,c=s,s=r,r=o,o=s);u-- >0;){if(s=Jn(l,c,n),s===a)return i[r]=l,i[o]=c,e(i);if(s>0)l=Math.floor(l/s)*s,c=Math.ceil(c/s)*s;else if(s<0)l=Math.ceil(l*s)/s,c=Math.floor(c*s)/s;else break;a=s}return t},t}function ds(){var t=V2();return t.copy=function(){return q2(t,ds())},E2.apply(t,arguments),R2(t)}function Qe(t){return function(){return t}}const Hr=1e-12;function H2(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const i=Math.floor(n);if(!(i>=0))throw new RangeError(`invalid digits: ${n}`);e=i}return t},()=>new v2(e)}function X2(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function gs(t){this._context=t}gs.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 Ei(t){return new gs(t)}function Y2(t){return t[0]}function z2(t){return t[1]}function U2(t,e){var n=Qe(!0),i=null,r=Ei,o=null,l=H2(c);t=typeof t=="function"?t:t===void 0?Y2:Qe(t),e=typeof e=="function"?e:e===void 0?z2:Qe(e);function c(a){var s,u=(a=X2(a)).length,m,f=!1,h;for(i==null&&(o=r(h=l())),s=0;s<=u;++s)!(s<u&&n(m=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(m,s,a),+e(m,s,a));if(h)return o=null,h+""||null}return c.x=function(a){return arguments.length?(t=typeof a=="function"?a:Qe(+a),c):t},c.y=function(a){return arguments.length?(e=typeof a=="function"?a:Qe(+a),c):e},c.defined=function(a){return arguments.length?(n=typeof a=="function"?a:Qe(!!a),c):n},c.curve=function(a){return arguments.length?(r=a,i!=null&&(o=r(i)),c):r},c.context=function(a){return arguments.length?(a==null?i=o=null:o=r(i=a),c):i},c}function Xr(t,e,n){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-n),t._x2,t._y2)}function Li(t,e){this._context=t,this._k=(1-e)/6}Li.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:Xr(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:Xr(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 ys=(function t(e){function n(i){return new Li(i,e)}return n.tension=function(i){return t(+i)},n})(0);function F2(t,e,n){var i=t._x1,r=t._y1,o=t._x2,l=t._y2;if(t._l01_a>Hr){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,a=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/a,r=(r*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/a}if(t._l23_a>Hr){var s=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*s+t._x1*t._l23_2a-e*t._l12_2a)/u,l=(l*s+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(i,r,o,l,t._x2,t._y2)}function xs(t,e){this._context=t,this._alpha=e}xs.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 n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,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:F2(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 vs=(function t(e){function n(i){return e?new xs(i,e):new Li(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function ps(t){this._context=t}ps.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,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var i=Yr(t),r=Yr(e),o=0,l=1;l<n;++o,++l)this._context.bezierCurveTo(i[0][o],r[0][o],i[1][o],r[1][o],t[l],e[l]);(this._line||this._line!==0&&n===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 Yr(t){var e,n=t.length-1,i,r=new Array(n),o=new Array(n),l=new Array(n);for(r[0]=0,o[0]=2,l[0]=t[0]+2*t[1],e=1;e<n-1;++e)r[e]=1,o[e]=4,l[e]=4*t[e]+2*t[e+1];for(r[n-1]=2,o[n-1]=7,l[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)i=r[e]/o[e-1],o[e]-=i,l[e]-=i*l[e-1];for(r[n-1]=l[n-1]/o[n-1],e=n-2;e>=0;--e)r[e]=(l[e]-r[e+1])/o[e];for(o[n-1]=(t[n]+r[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-r[e+1];return[r,o]}function yn(t){return new ps(t)}function w1(t,e,n){this.k=t,this.x=e,this.y=n}w1.prototype={constructor:w1,scale:function(t){return t===1?this:new w1(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new w1(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+")"}};w1.prototype;const G2={censor:Oe,squish(t,{min:e,max:n}){return isFinite(t)?t<e?e:t>n?n:t:t},squish_any:yt,squish_infinite:Qn,discard(t,{min:e,max:n}){return t<e||t>n?null:t}};function _e(t,{title:e,...n}={}){return Object.assign(function(i){return i.map(t)},{title:e},n)}function bs({values:t={},na_value:e=null,title:n,...i}={}){let r;return Array.isArray(t)?r=function(o){return o.map(l=>t[+l]??e)}:r=function(o){return o.map(l=>t[l]??e)},Object.assign(r,{title:n},i)}function Je({limits:t,oob:e=Oe,range:n=[0,1],na_value:i=null,null_value:r=null,title:o,...l}={}){return Object.assign(function(a){let s=this?.limits?.min??this?.limits?.[0]??a.extent?.[0],u=this?.limits?.max??this?.limits?.[1]??a.extent?.[1],m=u-s,f=n?.min??n[0],h=n?.max??n[1],d=h-f;return a.map(y=>(y=this.oob(y,{min:s,max:u}),y===null?r:isNaN(y)?i:f+(y-s)/m*d))},{title:o,limits:t,oob:e},l)}function zr({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>+i)},{asis:!0,title:t},e)}function hi({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>String(i??""))},{asis:!0,title:t},e)}function xn({h:t=[15,375],c:e=100,l:n=65,h_start:i=0,alpha:r=1,direction:o=1,limits:l,oob:c=Oe,na_value:a="#7f7f7f",null_value:s=null,title:u,...m}={}){return Object.assign(function(h){let d=this?.limits?.min??this?.limits?.[0]??h.extent?.[0],y=this?.limits?.max??this?.limits?.[1]??h.extent?.[1],w=y-d,v=t?.min??t[0],C=t?.max??t[1],S=C-v;return h.map(M=>(M=this.oob(M,{min:d,max:y}),M===null?s:isNaN(M)?a:_o(i+v+S*(M-d)/w*o,e,n,r).toString()))},{title:u,limits:l,oob:c},m)}function W2({values:t,na_value:e="#7f7f7f",title:n,...i}={}){return bs({values:t,na_value:e,title:n,...i})}function vn({low:t="#132B43",high:e="#56B1F7",limits:n,oob:i=Oe,na_value:r="#7f7f7f",null_value:o=null,title:l,...c}={}){return Object.assign(function(s){let u=this?.limits?.min??this?.limits?.[0]??s.extent?.[0],m=this?.limits?.max??this?.limits?.[1]??s.extent?.[1],f=ri(t,e);return s.map(h=>(h=this.oob(h,{min:u,max:m}),h===null?o:isNaN(h)?r:u===m?f(.5):h>m?e:h<u?t:f((h-u)/(m-u))))},{title:l,limits:n,oob:i},c)}function K2({low:t="#832424",mid:e="white",high:n="#3A3A98",midpoint:i=0,limits:r,oob:o=Oe,na_value:l="#7f7f7f",null_value:c=null,title:a,...s}={}){return Object.assign(function(m){let f=this?.limits?.min??this?.limits?.[0]??m.extent?.[0],h=this?.limits?.max??this?.limits?.[1]??m.extent?.[1],d=i??(f+h)/2,y=ri(t,e),w=ri(e,n);return m.map(v=>(v=this.oob(v,{min:f,max:h}),v===null?c:isNaN(v)?l:v<d?y((v-f)/(d-f)):w((v-d)/(h-d))))},{title:a,limits:r,oob:o},s)}function Z2({colors:t=[],values:e,anchors:n,limits:i,oob:r=Oe,na_value:o="#7f7f7f",null_value:l=null,title:c,...a}={}){return Object.assign(function(u){let m=this?.limits?.min??this?.limits?.[0]??u.extent?.[0],f=this?.limits?.max??this?.limits?.[1]??u.extent?.[1],h=e??n?.map?.(y=>m+(f-m)*y);h??=Array(t.length).fill(0).map((y,w)=>m+(f-m)*w/(t.length-1)),t=t.filter((y,w)=>!isNaN(h[w])),h=h.filter(y=>!isNaN(y));let d=ds(h,t);return u.map(y=>(y=this.oob(y,{min:m,max:f}),y===null?l:isNaN(y)?o:d(y)))},{title:c,limits:i,oob:r},a)}function Ur({alpha:t,limits:e,oob:n=Oe,title:i,...r}={}){let o=xn({alpha:t}),l=vn();return Object.assign(function(a){return a.level!=null?o.call(this,a):l.call(this,a)},{title:i,limits:e,oob:n},r)}function Q2({discrete:t=xn(),continuous:e=vn(),limits:n,oob:i=Oe,title:r,...o}={}){return Object.assign(function(c){return c.level!=null?t.call(this,c):e.call(this,c)},{title:r,limits:n,oob:i},o)}function Fr({title:t,...e}={}){let n=["circle","square","triangle","diamond","plus","cross"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}function Gr({title:t,...e}={}){let n=["solid","22","42","44","13","1343","73","2262","12223242","F282","F4448444","224282F2","F1"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}const Yn={identity:({title:t,...e}={})=>hi({legend:!1,title:t,...e}),discrete:xn,hue:xn,manual:W2,continuous:vn,gradient:vn,gradient2:K2,gradientn:Z2,dynamic:Q2,auto:Ur,custom:_e,default:Ur},ws={color:Yn,stroke:Yn,fill:Yn,alpha:{continuous:Je,custom:_e,default:({title:t,...e}={})=>Je({range:[.1,1],title:t,...e})},size:{identity:({title:t,...e}={})=>zr({legend:!1,title:t,...e}),continuous:Je,custom:_e,default:({title:t,...e}={})=>Je({range:[1,6],title:t,...e})},linewidth:{identity:({title:t,...e}={})=>zr({legend:!1,title:t,...e}),continuous:Je,manual:bs,custom:_e,default:({title:t,...e}={})=>Je({range:[1,6],title:t,...e})},linetype:{identity:({title:t,...e}={})=>hi({legend:!1,title:t,...e}),discrete:Gr,default:Gr,custom:_e},shape:{identity:({title:t,...e}={})=>hi({legend:!1,title:t,...e}),discrete:Fr,default:Fr,custom:_e}};function J2({step:t,minor:e=!1}={}){return function({min:n,max:i,minor:r=e}={}){let o=i-n,l=t;if(isNaN(o)||o<0)return[];if(o==0)return[n];let c=10**Math.floor(Math.log10(o)-1),a=o/c;l==null&&(l=([5,10,20].find(m=>m*5>a)??20)*c),r&&(l/=2);let s=Math.ceil(n/l),u=Math.floor(i/l);return new Array(u-s+1).fill(null).map((m,f)=>(s+f)*l)}}function _2(){return function({min:t,max:e}={}){let n=e-t;if(isNaN(n)||n<0)return[];if(n==0)return[new Date(t)];let i=new Date(t),r=new Date(e),o=i.getUTCFullYear(),l=i.getUTCMonth(),c=i.getUTCDate(),a=i.getUTCHours(),s=i.getUTCMinutes(),u=i.getUTCSeconds(),m=[];if(n>3*31536e6){let f=n/31536e6,h=10**Math.floor(Math.log10(f)-1),d=f/h,y=Math.max((d>50?10:d>25?5:2)*h,1);i=new Date(Date.UTC(Math.ceil(o/y)*y));do m.push(new Date(i));while(i.setUTCFullYear(i.getUTCFullYear()+y)<r)}else if(n>3*2592e6){let f=n/2592e6,h=[2,3,6].findLast(d=>d*3<=f)||1;i=new Date(Date.UTC(o,Math.ceil(l/h)*h));do m.push(new Date(i));while(i.setUTCMonth(i.getUTCMonth()+h)<r)}else if(n>21*864e5){i=new Date(Date.UTC(o,l,c+(7-i.getUTCDay())%7));do m.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+7)<r)}else if(n>3*864e5){let f=n/864e5,h=[2,3].findLast(d=>d*3<=f)||1;i=new Date(Date.UTC(o,l,Math.ceil(c)));do m.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+h)<r)}else if(n>3*36e5){let f=n/36e5,h=[2,3,6].findLast(d=>d*3<=f)||1;i=new Date(Date.UTC(o,l,c,Math.ceil(a/h)*h));do m.push(new Date(i));while(i.setUTCHours(i.getUTCHours()+h)<r)}else if(n>3*6e4){let f=n/6e4,h=[2,5,10,30].findLast(d=>d*3<=f)||1;i=new Date(Date.UTC(o,l,c,a,Math.ceil(s/h)*h));do m.push(new Date(i));while(i.setUTCMinutes(i.getUTCMinutes()+h)<r)}else if(n>3e3){let f=n/1e3,h=[2,5,10,30].findLast(d=>d*3<=f)||1;i=new Date(Date.UTC(o,l,c,a,s,Math.ceil(u/h)*h));do m.push(new Date(i));while(i.setUTCSeconds(i.getUTCSeconds()+h)<r)}else{let f=10**Math.floor(Math.log10(n)-1),h=n/f,d=(h>50?20:h>25?10:5)*f,y=Math.ceil(t/d),w=Math.floor(e/d);return new Array(w-y+1).fill(null).map((v,C)=>new Date((y+C)*d))}return m}}const En={number:J2,datetime:_2};let t9={y:t=>t.getUTCFullYear(),M:t=>t.getUTCMonth()+1,d:t=>t.getUTCDate(),h:t=>t.getUTCHours(),m:t=>t.getUTCMinutes(),s:t=>t.getUTCSeconds()};function fi(t,e="yyyy-MM-dd hh:mm:ss"){return e.replace(/(y|M|d|h|m|s)\1*/g,(n,i)=>{let r=String(t9[i](t)),o=n.length;return i=="y"?r.slice(-o):r.padStart(o,"0")})}const ks={default:{"":1,k:1e3,M:1e6,G:1e9,T:1e12,P:1e15,E:1e18,Z:1e21,Y:1e24},si:{y:1e-24,z:1e-21,a:1e-18,f:1e-15,p:1e-12,n:1e-9,\u03BC:1e-6,m:.001,"":1,k:1e3,M:1e6,G:1e9,T:1e12,P:1e15,E:1e18,Z:1e21,Y:1e24},binary:{"":1,Ki:1024,Mi:1024**2,Gi:1024**3,Ti:1024**4,Pi:1024**5,Ei:1024**6,Zi:1024**7,Yi:1024**8},time:{ns:1e-9,\u03BCs:1e-6,ms:.001,s:1,m:60,h:3600,d:86400,w:604800,M:2592e3,y:31536e3}};function e9(){return function(t){return t==null?"":t instanceof Date?fi(t):String(t)}}function As({accuracy:t,scale:e=1,prefix:n="",suffix:i="",big_mark:r=" ",style_positive:o="none",style_negative:l="hyphen",scale_cut:c={"":1}}={}){let a={plus:"+",space:" "}[o]??"",s={hyphen:"-",minus:"\u2212",parens:"("}[l]??"";return function(u,m,f=[u]){let h;if(t)h=t;else if(f.length>1){let S=f.filter(j=>isFinite(j)).sort((j,$)=>j-$);h=S.slice(1).map((j,$)=>j-S[$]).reduce((j,$)=>j<$?j:$)*e}else h=u||1;let d=Object.entries(c).sort((S,M)=>M[1]-S[1]).find(S=>S[1]<=h)?.[0]??"",y=(d==""?"":" ")+d+i;h=h/(c[d]??1);let w=Math.max(0,Math.ceil(-Math.log10(h))),v=Math.round(u*e/(c[d]??1)/h)*h,C=n+(v>0?a:v<0?s:"");return v<0&&l=="parens"&&(y=")"+y),v=Math.abs(v).toFixed(w).replace(new RegExp("(?<!\\..*)(\\d)(?=(?:\\d{3})+(?:\\.|$))","g"),"$1"+r),C+v+y}}function mi({format:t}={}){let e={y:31536e3,M:2678400,d:86400,h:3600,m:60,s:1},n={y:0,M:5,d:8,h:11,m:14,s:17},i={y:4,M:7,d:10,h:13,m:16,s:19};return function(r,o,l=[r]){if(l.length<=1)return fi(new Date(r),t);if(t==null){let c=Array.from(l).sort((f,h)=>f-h),a=c.slice(1).map((f,h)=>f-c[h]).reduce((f,h)=>f<h?f:h)/1e3,s=(c[c.length-1]-c[0])/1e3,u=["y","M","d","m","s"].find(f=>e[f]<=a),m=s>2678400?"y":s>86400?"M":"h";t="yyyy-MM-dd hh:mm:ss".slice(n[m],i[u])}return fi(new Date(r),t)}}function Wr(t){let e=As(t),n=mi(t);return function(i,r,o=[i]){return i instanceof To?String(i):i instanceof Date?n(i,r,o):e(i,r,o)}}const di={number:As,datetime:mi,timestamp:mi,asis:e9,auto:Wr,default:function(t){return Wr({scale_cut:ks.default,...t})}};function n9(t,e){return t==null?{}:Object.fromEntries(Object.entries(t).map(([n,i])=>[n,e(n,i)]))}function gi(t){return typeof t=="string"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="object"&&t!==null&&typeof t.valueOf()!="number"&&typeof t.valueOf()!="bigint"}class i9{constructor(e,n){let{data:i=[],aes:r,extendX:o,extendY:l}=n,{geom:c,stat:a,data:s,aes:u,levels:m={},scales:f={},attrs:h,args:d,vBind:y,extendX:w,extendY:v}=e;if(!Le[c]){console.error(`Invalid geom "${c}"`,"in layer",e,", plot",n);return}let C=typeof a=="function"?a:Da[a];if(C==null){console.error(`Invalid stat "${a}"`,"in layer",e,", plot",n);return}this.geom=c,this.vBind=Object.assign(y,{extendX:w??o??0,extendY:v??l??0}),this.scales={},typeof s=="function"&&(s=s(i)),s==null&&(s=i),u={...r,...u};let S={};this.$fnames={};for(const $ in u)this.$fnames[$]=String(u[$]),S[$]=s.map(u[$]).map(T=>T instanceof String||T instanceof Number?new Ve(T):T);S.$raw=s;let M=C?.core_attrs??["x","y","xnudge","ynudge"],j=s.length;j==0&&(j=M.map($=>h[$]).filter($=>$!=null).reduce(($,T)=>Math.max(Array.isArray(T)?T.length:1,$),0));for(const $ in h)if(M.includes($))if(Array.isArray(h[$])){if(h[$].length!=j)throw new Error(`Attribute "${$}" must have the same length as data (${j})`);S[$]=h[$]}else{if(h[$]==null)continue;S[$]=new Array(j).fill(h[$])}try{if(S=C(S,d||{}),S.$group??=S.group,S.$group==null){let $=Object.values(S).filter(T=>Array.isArray(T)).reduce((T,g)=>Math.max(T,g.length),0);S.$group=new Array($).fill(null)}}catch($){console.error("Error",$,"in layer",e,", plot",n);return}this.localScales=new Set([...Object.keys(m).filter($=>m[$]!=null),...Object.keys(f).filter($=>f[$]!=null)]),this.aes=new Set([...this.localScales,...Le[c]?.scale_attrs??[]]),this.$data=S,this.data={...S};for(const $ in S)if(f[$]!=null){let T=new Ln(f[$]);T.aesthetics=$,T._title=this.$fnames[$];let g=this.$data[$];if(!g?.length)continue;T.asis||(m?.[$]!=null?T.level=m[$]:g.some(gi)?T.level=Ie.from(g):T.extent=Ft.extent(g.filter(p=>!(p instanceof Ve)))),this.applyScale($,T)}this.attrs={};for(const $ in h)if(!M.includes($))if(Array.isArray(h[$])){if(h[$].length!=j)throw new Error(`Attribute "${$}" must have the same length as data (${j})`);this.data[$]=h[$]}else this.attrs[$]=h[$],h[$]!=null&&(this.data[$]=new Array(j).fill(h[$]))}applyScale(e,n){let i=this.$data[e];if(i==null)return;n.level&&(i=n.level.apply(i)),n.limits&&(i.extent=n.limits),n.aes=e;let r=n(i);this.data[e]=i.map((o,l)=>o instanceof Ve?o.valueOf():r[l]),this.scales[e]=n}applyCoordScale(e){try{Object.assign(this.data,Le[this.geom]?.coord_scale?.(this.$data,e))}catch(n){console.error(n)}}}class r9{constructor(e,n){this.levels={},this.extents={},this.layers=[],this.coordScales={};for(let i in n)this.layers.push(new i9(n[i],e));this.layers=this.layers.filter(i=>i.$data!=null),this.aes=new Set(this.layers.flatMap(i=>Array.from(i.aes))),this.scales=new Map}useScales(e,n){this.scales=new Map;for(const i of this.aes){let r=this.layers.filter(o=>!o.localScales.has(i)).flatMap(o=>o.$data[i]??[]);if(r.length!=0){let o=new Ln(e?.[i]??ws[i].default());o.aesthetics=i,o.asis||(n?.[i]!=null?o.level=n[i]:r.some(gi)?o.level=Ie.from(r):o.extent=Ft.extent(r.filter(l=>!(l instanceof Ve)))),o._title=this.layers.reduce((l,c)=>l??c.$fnames?.[i],null);for(const l of this.layers)l.localScales.has(i)||l.applyScale(i,o)}for(const o of this.layers){let l=o.scales?.[i];if(l!=null&&!l.asis){this.scales.has(l)||this.scales.set(l,{});let c=this.scales.get(l);c[o.geom]==null&&(c[o.geom]={});for(let a of Le[o.geom]?.scale_attrs)o.attrs[a]!=null&&(c[o.geom][a]=o.attrs[a])}}}return this}useCoordLevels(e={}){for(const n of["x","y"])if(e[n])this.levels[n]=new Ie(...e[n]);else{let i=this.layers.flatMap(r=>(Le[r.geom].get_values??Le[r.geom].get_range)?.(r.$data,n));i.some(gi)?this.levels[n]=Ie.from(i):(i=this.layers.flatMap(r=>Le[r.geom].get_range?.(r.$data,n)).filter(r=>!isNaN(r)),this.extents[n]=Ft.extent(i.filter(r=>!(r instanceof Ve))))}for(const n of this.layers)n.applyCoordScale(this.levels);return this}getComputedLayers(){return this.layers.map(e=>({data:Object.values(Object.groupBy(e.data.$group.map((i,r)=>Le[e.geom].validate(n9(e.data,(o,l)=>l?.[r]))).filter(i=>i!=null),i=>i.$group)),geom:e.geom,vBind:e.vBind}))}getCoordScales(e,n,i){let r={};if(this._range=e,this.levels.x){let o=+(e?.xmin??-.5)-(+n.x?.min||0),l=+(e?.xmax??this.levels.x.length-.5)+(+n.x?.max||0);r.x=new pn(this.levels.x,{min:o,max:l})}else{let o=e?.xmin??this.extents.x?.min??0,l=e?.xmax??this.extents.x?.max??0,c=ht(o,-n.x?.min||0),a=ht(l,+n.x?.max||0),s=i?.x??1;if(a-c<s)if(e?.xmax==null&&e?.xmin!=null)a=ht(c,+s);else if(e?.xmax!=null&&e?.xmin==null)c=ht(a,-s);else{let u=a-c;a=ht(a,-u/2+s/2),c=ht(a,-s)}c instanceof Date||a instanceof Date?r.x=new bn({min:c,max:a}):r.x=new N1({min:c,max:a})}if(this.levels.y){let o=+(e?.ymin??-.5)-(+n.y?.min||0),l=+(e?.ymax??this.levels.y.length-.5)+(+n.y?.max||0);r.y=new pn(this.levels.y,{min:o,max:l})}else{let o=e?.ymin??this.extents.y?.min??0,l=e?.ymax??this.extents.y?.max??0,c=ht(o,-n.y?.min),a=ht(l,+n.y?.max||0),s=i?.y??1;if(a-c<s)if(e?.ymax==null&&e?.ymin!=null)a=ht(c,+s);else if(e?.ymax!=null&&e?.ymin==null)c=ht(a,-s);else{let u=a-c;a=ht(a,-u/2+s/2),c=ht(a,-s)}c instanceof Date||a instanceof Date?r.y=new bn({min:c,max:a}):r.y=new N1({min:c,max:a})}return r}render(e,n,i){let r=this.getCoordScales(e,n,i);return{layers:this.getComputedLayers(),coordScales:r,scales:this.scales}}}class Ln extends Function{constructor(e){let n=e._fn??e;function i(){return n.apply(i,arguments)}return Object.setPrototypeOf(i,Ln.prototype),Object.assign(i,e),i._fn=n,i}set extent({min:e,max:n,0:i,1:r}={}){e??=i,n??=r,this._limits={0:e,1:n,length:2,min:e,max:n}}get extent(){return this.limits}set limits({min:e,max:n,0:i,1:r}={}){e??=i,n??=r,this.$limits={0:e,1:n,length:2,min:e,max:n}}get limits(){let e=this.$limits?.min??(this.level?0:this._limits?.min),n=this.$limits?.max??this.level?.length??this._limits?.max;return{0:e,1:n,length:2,min:e,max:n}}toString(){return this.title??String(this._fn)}}class pn extends Function{constructor(e,{min:n,max:i}={}){const r=n==i?o=>0:o=>(+o-n)/(i-n);return r.range={min:n,max:i},r.level=e,Object.setPrototypeOf(r,pn.prototype),r}invert(e){let{min:n,max:i}=this.range;return e*(i-n)+n}get breaks(){return Array.from(this.level)}get minorBreaks(){return[]}}class N1 extends Function{constructor(e){let{min:n,max:i}=e;const r=n==i?o=>isFinite(o)?.5:o:o=>(+o-n)/(i-n);return r.range={min:n,max:i},Object.setPrototypeOf(r,N1.prototype),r}invert(e){let{min:n,max:i}=this.range;return ht(n,e*(i-n))}get breaks(){return En.number()}}class bn extends N1{constructor(e){let n=super(e);return Object.setPrototypeOf(n,bn.prototype),n}get breaks(){return En.datetime()}get minorBreaks(){return[]}}class o9{constructor(e,{breaks:n,labels:i,minorBreaks:r,titles:o}={}){this.scale=e,this.range=e?.range,this.breaks=n??e.breaks,this.labels=i??di.auto(),this.titles=o??di.asis(),this.minorBreaks=r??n??e.minorBreaks??e.breaks}getBindings({range:e,expandMult:n}={}){let i=this.breaks,r=this.minorBreaks,o=this.labels,l=this.titles,c=e?.min??this?.range?.min,a=e?.max??this?.range?.max,s=a-c||0;c=c==null?c:ht(c,-(n?.min??0)*s),a=a==null?a:ht(a,+(n?.max??0)*s);function u(f){return f.position!=null?f:{position:f}}typeof i=="function"&&(i=i({min:c,max:a})),i=Array.isArray(i)?i.map(u):[];let m=i.map(f=>f.position);if(typeof r=="function"&&(r=r({min:c,max:a,minor:!0})),r=Array.isArray(r)?r.map(u):[],typeof o=="function"&&(o=m.map(o)),!Array.isArray(o))o=[];else if(o.length!=m.length)throw new Error("Length of labels must be the same as breaks");if(typeof l=="function"&&(l=m.map(l)),!Array.isArray(l))l=[];else if(l.length!=m.length)throw new Error("Length of titles must be the same as breaks");return{majorBreaks:i,minorBreaks:r,ticks:m.map((f,h)=>({position:f,label:o[h],title:l[h]}))}}}const s9=["font-size"],l9={key:0},f1={__name:"CoreText",props:{x:{type:Number,default:0},y:{type:Number,default:0},text:null,title:null,size:Number,color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0},anchorX:Number,anchorY:Number,dockX:Number,dockY:Number,fontFamily:String,fontSize:Number,textLength:Number,textAnchor:{type:String,default:"middle"}},setup(t){const e=qt("ele"),n=jt({width:0,height:0});Ct([e,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([r])=>{if(!r)return;await Cn();let{width:o,height:l}=r.getBBox();n.width=o,n.height=l});const i=X(()=>{let{width:r,height:o}=n,l=[],c=({start:-.5,end:.5}[t.textAnchor]??0)*r;if(t.dockX!=null||t.dockY!=null){let a={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),s={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(a)&&(a=.5),isNaN(s)&&(s=.5);let u=r*Math.abs(Math.cos(t.angle*Math.PI/180))+o*Math.abs(Math.sin(t.angle*Math.PI/180)),m=r*Math.abs(Math.sin(t.angle*Math.PI/180))+o*Math.abs(Math.cos(t.angle*Math.PI/180)),f=t.translateX,h=t.translateY;l.push(`translate(${u*(.5-a)+f},${m*(s-.5)+h})`),t.angle&&l.push(`rotate(${t.angle})`),l.push(`translate(${c},0)`)}else{let a={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),s={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(a)&&(a=.5),isNaN(s)&&(s=.5);let u=r,m=o,f=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),h=t.translateY*Math.cos(t.angle*Math.PI/180)-t.translateX*Math.sin(t.angle*Math.PI/180);t.angle&&l.push(`rotate(${t.angle})`),l.push(`translate(${u*(.5-a)+f+c},${m*(s-.5)+h})`)}return{x:t.x,y:t.y,color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-dasharray":It(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:l.join(" ")||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?"spacingAndGlyphs":null,"transform-origin":`${t.x} ${t.y}`,"text-anchor":t.textAnchor,"dominant-baseline":"central"}});return(r,o)=>(O(),V("text",K({ref_key:"ele",ref:e},i.value,{"font-size":(t.fontSize??t.size*4)||null}),[ll(r.$slots,"default",{},()=>[t.title?(O(),V("title",l9,Vt(t.title),1)):Lt("",!0),dt(" "+Vt(t.text.replace(/ /g,"\xA0")),1)])],16,s9))}};function Ss(t){switch(t._type){case"document":case"block_quote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"link":case"image":case"custom_inline":case"custom_block":return!0;default:return!1}}var a9=function(t,e){this.current=t,this.entering=e===!0},c9=function(){var t=this.current,e=this.entering;if(t===null)return null;var n=Ss(t);return e&&n?t._firstChild?(this.current=t._firstChild,this.entering=!0):this.entering=!1:t===this.root?this.current=null:t._next===null?(this.current=t._parent,this.entering=!1):(this.current=t._next,this.entering=!0),{entering:e,node:t}},u9=function(t){return{current:t,root:t,entering:!0,next:c9,resumeAt:a9}},Bt=function(t,e){this._type=t,this._parent=null,this._firstChild=null,this._lastChild=null,this._prev=null,this._next=null,this._sourcepos=e,this._open=!0,this._string_content=null,this._literal=null,this._listData={},this._info=null,this._destination=null,this._title=null,this._isFenced=!1,this._fenceChar=null,this._fenceLength=0,this._fenceOffset=null,this._level=null,this._onEnter=null,this._onExit=null},Rt=Bt.prototype;Object.defineProperty(Rt,"isContainer",{get:function(){return Ss(this)}});Object.defineProperty(Rt,"type",{get:function(){return this._type}});Object.defineProperty(Rt,"firstChild",{get:function(){return this._firstChild}});Object.defineProperty(Rt,"lastChild",{get:function(){return this._lastChild}});Object.defineProperty(Rt,"next",{get:function(){return this._next}});Object.defineProperty(Rt,"prev",{get:function(){return this._prev}});Object.defineProperty(Rt,"parent",{get:function(){return this._parent}});Object.defineProperty(Rt,"sourcepos",{get:function(){return this._sourcepos}});Object.defineProperty(Rt,"literal",{get:function(){return this._literal},set:function(t){this._literal=t}});Object.defineProperty(Rt,"destination",{get:function(){return this._destination},set:function(t){this._destination=t}});Object.defineProperty(Rt,"title",{get:function(){return this._title},set:function(t){this._title=t}});Object.defineProperty(Rt,"info",{get:function(){return this._info},set:function(t){this._info=t}});Object.defineProperty(Rt,"level",{get:function(){return this._level},set:function(t){this._level=t}});Object.defineProperty(Rt,"listType",{get:function(){return this._listData.type},set:function(t){this._listData.type=t}});Object.defineProperty(Rt,"listTight",{get:function(){return this._listData.tight},set:function(t){this._listData.tight=t}});Object.defineProperty(Rt,"listStart",{get:function(){return this._listData.start},set:function(t){this._listData.start=t}});Object.defineProperty(Rt,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(t){this._listData.delimiter=t}});Object.defineProperty(Rt,"onEnter",{get:function(){return this._onEnter},set:function(t){this._onEnter=t}});Object.defineProperty(Rt,"onExit",{get:function(){return this._onExit},set:function(t){this._onExit=t}});Bt.prototype.appendChild=function(t){t.unlink(),t._parent=this,this._lastChild?(this._lastChild._next=t,t._prev=this._lastChild,this._lastChild=t):(this._firstChild=t,this._lastChild=t)};Bt.prototype.prependChild=function(t){t.unlink(),t._parent=this,this._firstChild?(this._firstChild._prev=t,t._next=this._firstChild,this._firstChild=t):(this._firstChild=t,this._lastChild=t)};Bt.prototype.unlink=function(){this._prev?this._prev._next=this._next:this._parent&&(this._parent._firstChild=this._next),this._next?this._next._prev=this._prev:this._parent&&(this._parent._lastChild=this._prev),this._parent=null,this._next=null,this._prev=null};Bt.prototype.insertAfter=function(t){t.unlink(),t._next=this._next,t._next&&(t._next._prev=t),t._prev=this,this._next=t,t._parent=this._parent,t._next||(t._parent._lastChild=t)};Bt.prototype.insertBefore=function(t){t.unlink(),t._prev=this._prev,t._prev&&(t._prev._next=t),t._next=this,this._prev=t,t._parent=this._parent,t._prev||(t._parent._firstChild=t)};Bt.prototype.walker=function(){var t=new u9(this);return t};function h9(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var zn,Kr;function f9(){if(Kr)return zn;Kr=1;var t={};function e(i){var r,o,l=t[i];if(l)return l;for(l=t[i]=[],r=0;r<128;r++)o=String.fromCharCode(r),/^[0-9a-z]$/i.test(o)?l.push(o):l.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r<i.length;r++)l[i.charCodeAt(r)]=i[r];return l}function n(i,r,o){var l,c,a,s,u,m="";for(typeof r!="string"&&(o=r,r=n.defaultChars),typeof o>"u"&&(o=!0),u=e(r),l=0,c=i.length;l<c;l++){if(a=i.charCodeAt(l),o&&a===37&&l+2<c&&/^[0-9a-f]{2}$/i.test(i.slice(l+1,l+3))){m+=i.slice(l,l+3),l+=2;continue}if(a<128){m+=u[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&l+1<c&&(s=i.charCodeAt(l+1),s>=56320&&s<=57343)){m+=encodeURIComponent(i[l]+i[l+1]),l++;continue}m+="%EF%BF%BD";continue}m+=encodeURIComponent(i[l])}return m}return n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",zn=n,zn}var m9=f9();const d9=h9(m9);var Un={},y1={},z1={},Zr;function g9(){return Zr||(Zr=1,Object.defineProperty(z1,"__esModule",{value:!0}),z1.default=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204])),z1}var U1={},Qr;function y9(){return Qr||(Qr=1,Object.defineProperty(U1,"__esModule",{value:!0}),U1.default=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34])),U1}var F1={},Jr;function x9(){if(Jr)return F1;Jr=1,Object.defineProperty(F1,"__esModule",{value:!0});var t=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),e=String.fromCodePoint||function(i){var r="";return i>65535&&(i-=65536,r+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),r+=String.fromCharCode(i),r};function n(i){var r;return i>=55296&&i<=57343||i>1114111?"\uFFFD":e((r=t.get(i))!==null&&r!==void 0?r:i)}return F1.default=n,F1}var _r;function to(){return _r||(_r=1,(function(t){var e=y1&&y1.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var n=e(g9());t.htmlDecodeTree=n.default;var i=e(y9());t.xmlDecodeTree=i.default;var r=e(x9()),o;(function(h){h[h.HAS_VALUE=32768]="HAS_VALUE",h[h.BRANCH_LENGTH=32512]="BRANCH_LENGTH",h[h.MULTI_BYTE=128]="MULTI_BYTE",h[h.JUMP_TABLE=127]="JUMP_TABLE"})(o=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47;function l(h){return function(y,w){for(var v="",C=0,S=0;(S=y.indexOf("&",S))>=0;){if(v+=y.slice(C,S),C=S,S+=1,y.charCodeAt(S)===35){var M=S+1,j=10,$=y.charCodeAt(M);for(($|32)===120&&(j=16,S+=1,M+=1);($=y.charCodeAt(++S))>=48&&$<=57||j===16&&($|32)>=97&&($|32)<=102;);if(M!==S){var T=y.substring(M,S),g=parseInt(T,j);if(y.charCodeAt(S)===59)S+=1;else if(w)continue;v+=r.default(g),C=S}continue}for(var p=null,b=1,N=0,A=h[N];S<y.length&&(N=c(h,A,N+1,y.charCodeAt(S)),!(N<0));S++,b++)A=h[N],A&o.HAS_VALUE&&(w&&y.charCodeAt(S)!==59?N+=1:(p=A&o.MULTI_BYTE?String.fromCharCode(h[++N],h[++N]):String.fromCharCode(h[++N]),b=0));p!=null&&(v+=p,C=S-b+1)}return v+y.slice(C)}}function c(h,d,y,w){if(d<=128)return w===d?y:-1;var v=(d&o.BRANCH_LENGTH)>>8;if(v===0)return-1;if(v===1)return w===h[y]?y+1:-1;var C=d&o.JUMP_TABLE;if(C){var S=w-t.JUMP_OFFSET_BASE-C;return S<0||S>v?-1:h[y+S]-1}for(var M=y,j=M+v-1;M<=j;){var $=M+j>>>1,T=h[$];if(T<w)M=$+1;else if(T>w)j=$-1;else return h[$+v]}return-1}t.determineBranch=c;var a=l(n.default),s=l(i.default);function u(h){return a(h,!1)}t.decodeHTML=u;function m(h){return a(h,!0)}t.decodeHTMLStrict=m;function f(h){return s(h,!0)}t.decodeXML=f})(y1)),y1}var Jt={};const v9="&",p9="'",b9=">",w9="<",k9='"',A9={amp:v9,apos:p9,gt:b9,lt:w9,quot:k9};var x1={};const S9="\xC1",C9="\xE1",N9="\u0102",M9="\u0103",T9="\u223E",$9="\u223F",E9="\u223E\u0333",L9="\xC2",O9="\xE2",j9="\xB4",P9="\u0410",D9="\u0430",q9="\xC6",B9="\xE6",V9="\u2061",I9="\u{1D504}",R9="\u{1D51E}",H9="\xC0",X9="\xE0",Y9="\u2135",z9="\u2135",U9="\u0391",F9="\u03B1",G9="\u0100",W9="\u0101",K9="\u2A3F",Z9="&",Q9="&",J9="\u2A55",_9="\u2A53",t8="\u2227",e8="\u2A5C",n8="\u2A58",i8="\u2A5A",r8="\u2220",o8="\u29A4",s8="\u2220",l8="\u29A8",a8="\u29A9",c8="\u29AA",u8="\u29AB",h8="\u29AC",f8="\u29AD",m8="\u29AE",d8="\u29AF",g8="\u2221",y8="\u221F",x8="\u22BE",v8="\u299D",p8="\u2222",b8="\xC5",w8="\u237C",k8="\u0104",A8="\u0105",S8="\u{1D538}",C8="\u{1D552}",N8="\u2A6F",M8="\u2248",T8="\u2A70",$8="\u224A",E8="\u224B",L8="'",O8="\u2061",j8="\u2248",P8="\u224A",D8="\xC5",q8="\xE5",B8="\u{1D49C}",V8="\u{1D4B6}",I8="\u2254",R8="*",H8="\u2248",X8="\u224D",Y8="\xC3",z8="\xE3",U8="\xC4",F8="\xE4",G8="\u2233",W8="\u2A11",K8="\u224C",Z8="\u03F6",Q8="\u2035",J8="\u223D",_8="\u22CD",t5="\u2216",e5="\u2AE7",n5="\u22BD",i5="\u2305",r5="\u2306",o5="\u2305",s5="\u23B5",l5="\u23B6",a5="\u224C",c5="\u0411",u5="\u0431",h5="\u201E",f5="\u2235",m5="\u2235",d5="\u2235",g5="\u29B0",y5="\u03F6",x5="\u212C",v5="\u212C",p5="\u0392",b5="\u03B2",w5="\u2136",k5="\u226C",A5="\u{1D505}",S5="\u{1D51F}",C5="\u22C2",N5="\u25EF",M5="\u22C3",T5="\u2A00",$5="\u2A01",E5="\u2A02",L5="\u2A06",O5="\u2605",j5="\u25BD",P5="\u25B3",D5="\u2A04",q5="\u22C1",B5="\u22C0",V5="\u290D",I5="\u29EB",R5="\u25AA",H5="\u25B4",X5="\u25BE",Y5="\u25C2",z5="\u25B8",U5="\u2423",F5="\u2592",G5="\u2591",W5="\u2593",K5="\u2588",Z5="=\u20E5",Q5="\u2261\u20E5",J5="\u2AED",_5="\u2310",t6="\u{1D539}",e6="\u{1D553}",n6="\u22A5",i6="\u22A5",r6="\u22C8",o6="\u29C9",s6="\u2510",l6="\u2555",a6="\u2556",c6="\u2557",u6="\u250C",h6="\u2552",f6="\u2553",m6="\u2554",d6="\u2500",g6="\u2550",y6="\u252C",x6="\u2564",v6="\u2565",p6="\u2566",b6="\u2534",w6="\u2567",k6="\u2568",A6="\u2569",S6="\u229F",C6="\u229E",N6="\u22A0",M6="\u2518",T6="\u255B",$6="\u255C",E6="\u255D",L6="\u2514",O6="\u2558",j6="\u2559",P6="\u255A",D6="\u2502",q6="\u2551",B6="\u253C",V6="\u256A",I6="\u256B",R6="\u256C",H6="\u2524",X6="\u2561",Y6="\u2562",z6="\u2563",U6="\u251C",F6="\u255E",G6="\u255F",W6="\u2560",K6="\u2035",Z6="\u02D8",Q6="\u02D8",J6="\xA6",_6="\u{1D4B7}",t7="\u212C",e7="\u204F",n7="\u223D",i7="\u22CD",r7="\u29C5",o7="\\",s7="\u27C8",l7="\u2022",a7="\u2022",c7="\u224E",u7="\u2AAE",h7="\u224F",f7="\u224E",m7="\u224F",d7="\u0106",g7="\u0107",y7="\u2A44",x7="\u2A49",v7="\u2A4B",p7="\u2229",b7="\u22D2",w7="\u2A47",k7="\u2A40",A7="\u2145",S7="\u2229\uFE00",C7="\u2041",N7="\u02C7",M7="\u212D",T7="\u2A4D",$7="\u010C",E7="\u010D",L7="\xC7",O7="\xE7",j7="\u0108",P7="\u0109",D7="\u2230",q7="\u2A4C",B7="\u2A50",V7="\u010A",I7="\u010B",R7="\xB8",H7="\xB8",X7="\u29B2",Y7="\xA2",z7="\xB7",U7="\xB7",F7="\u{1D520}",G7="\u212D",W7="\u0427",K7="\u0447",Z7="\u2713",Q7="\u2713",J7="\u03A7",_7="\u03C7",th="\u02C6",eh="\u2257",nh="\u21BA",ih="\u21BB",rh="\u229B",oh="\u229A",sh="\u229D",lh="\u2299",ah="\xAE",ch="\u24C8",uh="\u2296",hh="\u2295",fh="\u2297",mh="\u25CB",dh="\u29C3",gh="\u2257",yh="\u2A10",xh="\u2AEF",vh="\u29C2",ph="\u2232",bh="\u201D",wh="\u2019",kh="\u2663",Ah="\u2663",Sh=":",Ch="\u2237",Nh="\u2A74",Mh="\u2254",Th="\u2254",$h=",",Eh="@",Lh="\u2201",Oh="\u2218",jh="\u2201",Ph="\u2102",Dh="\u2245",qh="\u2A6D",Bh="\u2261",Vh="\u222E",Ih="\u222F",Rh="\u222E",Hh="\u{1D554}",Xh="\u2102",Yh="\u2210",zh="\u2210",Uh="\xA9",Fh="\xA9",Gh="\u2117",Wh="\u2233",Kh="\u21B5",Zh="\u2717",Qh="\u2A2F",Jh="\u{1D49E}",_h="\u{1D4B8}",tf="\u2ACF",ef="\u2AD1",nf="\u2AD0",rf="\u2AD2",of="\u22EF",sf="\u2938",lf="\u2935",af="\u22DE",cf="\u22DF",uf="\u21B6",hf="\u293D",ff="\u2A48",mf="\u2A46",df="\u224D",gf="\u222A",yf="\u22D3",xf="\u2A4A",vf="\u228D",pf="\u2A45",bf="\u222A\uFE00",wf="\u21B7",kf="\u293C",Af="\u22DE",Sf="\u22DF",Cf="\u22CE",Nf="\u22CF",Mf="\xA4",Tf="\u21B6",$f="\u21B7",Ef="\u22CE",Lf="\u22CF",Of="\u2232",jf="\u2231",Pf="\u232D",Df="\u2020",qf="\u2021",Bf="\u2138",Vf="\u2193",If="\u21A1",Rf="\u21D3",Hf="\u2010",Xf="\u2AE4",Yf="\u22A3",zf="\u290F",Uf="\u02DD",Ff="\u010E",Gf="\u010F",Wf="\u0414",Kf="\u0434",Zf="\u2021",Qf="\u21CA",Jf="\u2145",_f="\u2146",t3="\u2911",e3="\u2A77",n3="\xB0",i3="\u2207",r3="\u0394",o3="\u03B4",s3="\u29B1",l3="\u297F",a3="\u{1D507}",c3="\u{1D521}",u3="\u2965",h3="\u21C3",f3="\u21C2",m3="\xB4",d3="\u02D9",g3="\u02DD",y3="`",x3="\u02DC",v3="\u22C4",p3="\u22C4",b3="\u22C4",w3="\u2666",k3="\u2666",A3="\xA8",S3="\u2146",C3="\u03DD",N3="\u22F2",M3="\xF7",T3="\xF7",$3="\u22C7",E3="\u22C7",L3="\u0402",O3="\u0452",j3="\u231E",P3="\u230D",D3="$",q3="\u{1D53B}",B3="\u{1D555}",V3="\xA8",I3="\u02D9",R3="\u20DC",H3="\u2250",X3="\u2251",Y3="\u2250",z3="\u2238",U3="\u2214",F3="\u22A1",G3="\u2306",W3="\u222F",K3="\xA8",Z3="\u21D3",Q3="\u21D0",J3="\u21D4",_3="\u2AE4",tm="\u27F8",em="\u27FA",nm="\u27F9",im="\u21D2",rm="\u22A8",om="\u21D1",sm="\u21D5",lm="\u2225",am="\u2913",cm="\u2193",um="\u2193",hm="\u21D3",fm="\u21F5",mm="\u0311",dm="\u21CA",gm="\u21C3",ym="\u21C2",xm="\u2950",vm="\u295E",pm="\u2956",bm="\u21BD",wm="\u295F",km="\u2957",Am="\u21C1",Sm="\u21A7",Cm="\u22A4",Nm="\u2910",Mm="\u231F",Tm="\u230C",$m="\u{1D49F}",Em="\u{1D4B9}",Lm="\u0405",Om="\u0455",jm="\u29F6",Pm="\u0110",Dm="\u0111",qm="\u22F1",Bm="\u25BF",Vm="\u25BE",Im="\u21F5",Rm="\u296F",Hm="\u29A6",Xm="\u040F",Ym="\u045F",zm="\u27FF",Um="\xC9",Fm="\xE9",Gm="\u2A6E",Wm="\u011A",Km="\u011B",Zm="\xCA",Qm="\xEA",Jm="\u2256",_m="\u2255",td="\u042D",ed="\u044D",nd="\u2A77",id="\u0116",rd="\u0117",od="\u2251",sd="\u2147",ld="\u2252",ad="\u{1D508}",cd="\u{1D522}",ud="\u2A9A",hd="\xC8",fd="\xE8",md="\u2A96",dd="\u2A98",gd="\u2A99",yd="\u2208",xd="\u23E7",vd="\u2113",pd="\u2A95",bd="\u2A97",wd="\u0112",kd="\u0113",Ad="\u2205",Sd="\u2205",Cd="\u25FB",Nd="\u2205",Md="\u25AB",Td="\u2004",$d="\u2005",Ed="\u2003",Ld="\u014A",Od="\u014B",jd="\u2002",Pd="\u0118",Dd="\u0119",qd="\u{1D53C}",Bd="\u{1D556}",Vd="\u22D5",Id="\u29E3",Rd="\u2A71",Hd="\u03B5",Xd="\u0395",Yd="\u03B5",zd="\u03F5",Ud="\u2256",Fd="\u2255",Gd="\u2242",Wd="\u2A96",Kd="\u2A95",Zd="\u2A75",Qd="=",Jd="\u2242",_d="\u225F",t4="\u21CC",e4="\u2261",n4="\u2A78",i4="\u29E5",r4="\u2971",o4="\u2253",s4="\u212F",l4="\u2130",a4="\u2250",c4="\u2A73",u4="\u2242",h4="\u0397",f4="\u03B7",m4="\xD0",d4="\xF0",g4="\xCB",y4="\xEB",x4="\u20AC",v4="!",p4="\u2203",b4="\u2203",w4="\u2130",k4="\u2147",A4="\u2147",S4="\u2252",C4="\u0424",N4="\u0444",M4="\u2640",T4="\uFB03",$4="\uFB00",E4="\uFB04",L4="\u{1D509}",O4="\u{1D523}",j4="\uFB01",P4="\u25FC",D4="\u25AA",q4="fj",B4="\u266D",V4="\uFB02",I4="\u25B1",R4="\u0192",H4="\u{1D53D}",X4="\u{1D557}",Y4="\u2200",z4="\u2200",U4="\u22D4",F4="\u2AD9",G4="\u2131",W4="\u2A0D",K4="\xBD",Z4="\u2153",Q4="\xBC",J4="\u2155",_4="\u2159",tg="\u215B",eg="\u2154",ng="\u2156",ig="\xBE",rg="\u2157",og="\u215C",sg="\u2158",lg="\u215A",ag="\u215D",cg="\u215E",ug="\u2044",hg="\u2322",fg="\u{1D4BB}",mg="\u2131",dg="\u01F5",gg="\u0393",yg="\u03B3",xg="\u03DC",vg="\u03DD",pg="\u2A86",bg="\u011E",wg="\u011F",kg="\u0122",Ag="\u011C",Sg="\u011D",Cg="\u0413",Ng="\u0433",Mg="\u0120",Tg="\u0121",$g="\u2265",Eg="\u2267",Lg="\u2A8C",Og="\u22DB",jg="\u2265",Pg="\u2267",Dg="\u2A7E",qg="\u2AA9",Bg="\u2A7E",Vg="\u2A80",Ig="\u2A82",Rg="\u2A84",Hg="\u22DB\uFE00",Xg="\u2A94",Yg="\u{1D50A}",zg="\u{1D524}",Ug="\u226B",Fg="\u22D9",Gg="\u22D9",Wg="\u2137",Kg="\u0403",Zg="\u0453",Qg="\u2AA5",Jg="\u2277",_g="\u2A92",ty="\u2AA4",ey="\u2A8A",ny="\u2A8A",iy="\u2A88",ry="\u2269",oy="\u2A88",sy="\u2269",ly="\u22E7",ay="\u{1D53E}",cy="\u{1D558}",uy="`",hy="\u2265",fy="\u22DB",my="\u2267",dy="\u2AA2",gy="\u2277",yy="\u2A7E",xy="\u2273",vy="\u{1D4A2}",py="\u210A",by="\u2273",wy="\u2A8E",ky="\u2A90",Ay="\u2AA7",Sy="\u2A7A",Cy=">",Ny=">",My="\u226B",Ty="\u22D7",$y="\u2995",Ey="\u2A7C",Ly="\u2A86",Oy="\u2978",jy="\u22D7",Py="\u22DB",Dy="\u2A8C",qy="\u2277",By="\u2273",Vy="\u2269\uFE00",Iy="\u2269\uFE00",Ry="\u02C7",Hy="\u200A",Xy="\xBD",Yy="\u210B",zy="\u042A",Uy="\u044A",Fy="\u2948",Gy="\u2194",Wy="\u21D4",Ky="\u21AD",Zy="^",Qy="\u210F",Jy="\u0124",_y="\u0125",tx="\u2665",ex="\u2665",nx="\u2026",ix="\u22B9",rx="\u{1D525}",ox="\u210C",sx="\u210B",lx="\u2925",ax="\u2926",cx="\u21FF",ux="\u223B",hx="\u21A9",fx="\u21AA",mx="\u{1D559}",dx="\u210D",gx="\u2015",yx="\u2500",xx="\u{1D4BD}",vx="\u210B",px="\u210F",bx="\u0126",wx="\u0127",kx="\u224E",Ax="\u224F",Sx="\u2043",Cx="\u2010",Nx="\xCD",Mx="\xED",Tx="\u2063",$x="\xCE",Ex="\xEE",Lx="\u0418",Ox="\u0438",jx="\u0130",Px="\u0415",Dx="\u0435",qx="\xA1",Bx="\u21D4",Vx="\u{1D526}",Ix="\u2111",Rx="\xCC",Hx="\xEC",Xx="\u2148",Yx="\u2A0C",zx="\u222D",Ux="\u29DC",Fx="\u2129",Gx="\u0132",Wx="\u0133",Kx="\u012A",Zx="\u012B",Qx="\u2111",Jx="\u2148",_x="\u2110",tv="\u2111",ev="\u0131",nv="\u2111",iv="\u22B7",rv="\u01B5",ov="\u21D2",sv="\u2105",lv="\u221E",av="\u29DD",cv="\u0131",uv="\u22BA",hv="\u222B",fv="\u222C",mv="\u2124",dv="\u222B",gv="\u22BA",yv="\u22C2",xv="\u2A17",vv="\u2A3C",pv="\u2063",bv="\u2062",wv="\u0401",kv="\u0451",Av="\u012E",Sv="\u012F",Cv="\u{1D540}",Nv="\u{1D55A}",Mv="\u0399",Tv="\u03B9",$v="\u2A3C",Ev="\xBF",Lv="\u{1D4BE}",Ov="\u2110",jv="\u2208",Pv="\u22F5",Dv="\u22F9",qv="\u22F4",Bv="\u22F3",Vv="\u2208",Iv="\u2062",Rv="\u0128",Hv="\u0129",Xv="\u0406",Yv="\u0456",zv="\xCF",Uv="\xEF",Fv="\u0134",Gv="\u0135",Wv="\u0419",Kv="\u0439",Zv="\u{1D50D}",Qv="\u{1D527}",Jv="\u0237",_v="\u{1D541}",tp="\u{1D55B}",ep="\u{1D4A5}",np="\u{1D4BF}",ip="\u0408",rp="\u0458",op="\u0404",sp="\u0454",lp="\u039A",ap="\u03BA",cp="\u03F0",up="\u0136",hp="\u0137",fp="\u041A",mp="\u043A",dp="\u{1D50E}",gp="\u{1D528}",yp="\u0138",xp="\u0425",vp="\u0445",pp="\u040C",bp="\u045C",wp="\u{1D542}",kp="\u{1D55C}",Ap="\u{1D4A6}",Sp="\u{1D4C0}",Cp="\u21DA",Np="\u0139",Mp="\u013A",Tp="\u29B4",$p="\u2112",Ep="\u039B",Lp="\u03BB",Op="\u27E8",jp="\u27EA",Pp="\u2991",Dp="\u27E8",qp="\u2A85",Bp="\u2112",Vp="\xAB",Ip="\u21E4",Rp="\u291F",Hp="\u2190",Xp="\u219E",Yp="\u21D0",zp="\u291D",Up="\u21A9",Fp="\u21AB",Gp="\u2939",Wp="\u2973",Kp="\u21A2",Zp="\u2919",Qp="\u291B",Jp="\u2AAB",_p="\u2AAD",tb="\u2AAD\uFE00",eb="\u290C",nb="\u290E",ib="\u2772",rb="{",ob="[",sb="\u298B",lb="\u298F",ab="\u298D",cb="\u013D",ub="\u013E",hb="\u013B",fb="\u013C",mb="\u2308",db="{",gb="\u041B",yb="\u043B",xb="\u2936",vb="\u201C",pb="\u201E",bb="\u2967",wb="\u294B",kb="\u21B2",Ab="\u2264",Sb="\u2266",Cb="\u27E8",Nb="\u21E4",Mb="\u2190",Tb="\u2190",$b="\u21D0",Eb="\u21C6",Lb="\u21A2",Ob="\u2308",jb="\u27E6",Pb="\u2961",Db="\u2959",qb="\u21C3",Bb="\u230A",Vb="\u21BD",Ib="\u21BC",Rb="\u21C7",Hb="\u2194",Xb="\u2194",Yb="\u21D4",zb="\u21C6",Ub="\u21CB",Fb="\u21AD",Gb="\u294E",Wb="\u21A4",Kb="\u22A3",Zb="\u295A",Qb="\u22CB",Jb="\u29CF",_b="\u22B2",tw="\u22B4",ew="\u2951",nw="\u2960",iw="\u2958",rw="\u21BF",ow="\u2952",sw="\u21BC",lw="\u2A8B",aw="\u22DA",cw="\u2264",uw="\u2266",hw="\u2A7D",fw="\u2AA8",mw="\u2A7D",dw="\u2A7F",gw="\u2A81",yw="\u2A83",xw="\u22DA\uFE00",vw="\u2A93",pw="\u2A85",bw="\u22D6",ww="\u22DA",kw="\u2A8B",Aw="\u22DA",Sw="\u2266",Cw="\u2276",Nw="\u2276",Mw="\u2AA1",Tw="\u2272",$w="\u2A7D",Ew="\u2272",Lw="\u297C",Ow="\u230A",jw="\u{1D50F}",Pw="\u{1D529}",Dw="\u2276",qw="\u2A91",Bw="\u2962",Vw="\u21BD",Iw="\u21BC",Rw="\u296A",Hw="\u2584",Xw="\u0409",Yw="\u0459",zw="\u21C7",Uw="\u226A",Fw="\u22D8",Gw="\u231E",Ww="\u21DA",Kw="\u296B",Zw="\u25FA",Qw="\u013F",Jw="\u0140",_w="\u23B0",tk="\u23B0",ek="\u2A89",nk="\u2A89",ik="\u2A87",rk="\u2268",ok="\u2A87",sk="\u2268",lk="\u22E6",ak="\u27EC",ck="\u21FD",uk="\u27E6",hk="\u27F5",fk="\u27F5",mk="\u27F8",dk="\u27F7",gk="\u27F7",yk="\u27FA",xk="\u27FC",vk="\u27F6",pk="\u27F6",bk="\u27F9",wk="\u21AB",kk="\u21AC",Ak="\u2985",Sk="\u{1D543}",Ck="\u{1D55D}",Nk="\u2A2D",Mk="\u2A34",Tk="\u2217",$k="_",Ek="\u2199",Lk="\u2198",Ok="\u25CA",jk="\u25CA",Pk="\u29EB",Dk="(",qk="\u2993",Bk="\u21C6",Vk="\u231F",Ik="\u21CB",Rk="\u296D",Hk="\u200E",Xk="\u22BF",Yk="\u2039",zk="\u{1D4C1}",Uk="\u2112",Fk="\u21B0",Gk="\u21B0",Wk="\u2272",Kk="\u2A8D",Zk="\u2A8F",Qk="[",Jk="\u2018",_k="\u201A",tA="\u0141",eA="\u0142",nA="\u2AA6",iA="\u2A79",rA="<",oA="<",sA="\u226A",lA="\u22D6",aA="\u22CB",cA="\u22C9",uA="\u2976",hA="\u2A7B",fA="\u25C3",mA="\u22B4",dA="\u25C2",gA="\u2996",yA="\u294A",xA="\u2966",vA="\u2268\uFE00",pA="\u2268\uFE00",bA="\xAF",wA="\u2642",kA="\u2720",AA="\u2720",SA="\u21A6",CA="\u21A6",NA="\u21A7",MA="\u21A4",TA="\u21A5",$A="\u25AE",EA="\u2A29",LA="\u041C",OA="\u043C",jA="\u2014",PA="\u223A",DA="\u2221",qA="\u205F",BA="\u2133",VA="\u{1D510}",IA="\u{1D52A}",RA="\u2127",HA="\xB5",XA="*",YA="\u2AF0",zA="\u2223",UA="\xB7",FA="\u229F",GA="\u2212",WA="\u2238",KA="\u2A2A",ZA="\u2213",QA="\u2ADB",JA="\u2026",_A="\u2213",tS="\u22A7",eS="\u{1D544}",nS="\u{1D55E}",iS="\u2213",rS="\u{1D4C2}",oS="\u2133",sS="\u223E",lS="\u039C",aS="\u03BC",cS="\u22B8",uS="\u22B8",hS="\u2207",fS="\u0143",mS="\u0144",dS="\u2220\u20D2",gS="\u2249",yS="\u2A70\u0338",xS="\u224B\u0338",vS="\u0149",pS="\u2249",bS="\u266E",wS="\u2115",kS="\u266E",AS="\xA0",SS="\u224E\u0338",CS="\u224F\u0338",NS="\u2A43",MS="\u0147",TS="\u0148",$S="\u0145",ES="\u0146",LS="\u2247",OS="\u2A6D\u0338",jS="\u2A42",PS="\u041D",DS="\u043D",qS="\u2013",BS="\u2924",VS="\u2197",IS="\u21D7",RS="\u2197",HS="\u2260",XS="\u2250\u0338",YS="\u200B",zS="\u200B",US="\u200B",FS="\u200B",GS="\u2262",WS="\u2928",KS="\u2242\u0338",ZS="\u226B",QS="\u226A",JS=`
|
|
3
|
-
`,_S="\u2204",tC="\u2204",eC="\u{1D511}",nC="\u{1D52B}",iC="\u2267\u0338",rC="\u2271",oC="\u2271",sC="\u2267\u0338",lC="\u2A7E\u0338",aC="\u2A7E\u0338",cC="\u22D9\u0338",uC="\u2275",hC="\u226B\u20D2",fC="\u226F",mC="\u226F",dC="\u226B\u0338",gC="\u21AE",yC="\u21CE",xC="\u2AF2",vC="\u220B",pC="\u22FC",bC="\u22FA",wC="\u220B",kC="\u040A",AC="\u045A",SC="\u219A",CC="\u21CD",NC="\u2025",MC="\u2266\u0338",TC="\u2270",$C="\u219A",EC="\u21CD",LC="\u21AE",OC="\u21CE",jC="\u2270",PC="\u2266\u0338",DC="\u2A7D\u0338",qC="\u2A7D\u0338",BC="\u226E",VC="\u22D8\u0338",IC="\u2274",RC="\u226A\u20D2",HC="\u226E",XC="\u22EA",YC="\u22EC",zC="\u226A\u0338",UC="\u2224",FC="\u2060",GC="\xA0",WC="\u{1D55F}",KC="\u2115",ZC="\u2AEC",QC="\xAC",JC="\u2262",_C="\u226D",tN="\u2226",eN="\u2209",nN="\u2260",iN="\u2242\u0338",rN="\u2204",oN="\u226F",sN="\u2271",lN="\u2267\u0338",aN="\u226B\u0338",cN="\u2279",uN="\u2A7E\u0338",hN="\u2275",fN="\u224E\u0338",mN="\u224F\u0338",dN="\u2209",gN="\u22F5\u0338",yN="\u22F9\u0338",xN="\u2209",vN="\u22F7",pN="\u22F6",bN="\u29CF\u0338",wN="\u22EA",kN="\u22EC",AN="\u226E",SN="\u2270",CN="\u2278",NN="\u226A\u0338",MN="\u2A7D\u0338",TN="\u2274",$N="\u2AA2\u0338",EN="\u2AA1\u0338",LN="\u220C",ON="\u220C",jN="\u22FE",PN="\u22FD",DN="\u2280",qN="\u2AAF\u0338",BN="\u22E0",VN="\u220C",IN="\u29D0\u0338",RN="\u22EB",HN="\u22ED",XN="\u228F\u0338",YN="\u22E2",zN="\u2290\u0338",UN="\u22E3",FN="\u2282\u20D2",GN="\u2288",WN="\u2281",KN="\u2AB0\u0338",ZN="\u22E1",QN="\u227F\u0338",JN="\u2283\u20D2",_N="\u2289",tM="\u2241",eM="\u2244",nM="\u2247",iM="\u2249",rM="\u2224",oM="\u2226",sM="\u2226",lM="\u2AFD\u20E5",aM="\u2202\u0338",cM="\u2A14",uM="\u2280",hM="\u22E0",fM="\u2280",mM="\u2AAF\u0338",dM="\u2AAF\u0338",gM="\u2933\u0338",yM="\u219B",xM="\u21CF",vM="\u219D\u0338",pM="\u219B",bM="\u21CF",wM="\u22EB",kM="\u22ED",AM="\u2281",SM="\u22E1",CM="\u2AB0\u0338",NM="\u{1D4A9}",MM="\u{1D4C3}",TM="\u2224",$M="\u2226",EM="\u2241",LM="\u2244",OM="\u2244",jM="\u2224",PM="\u2226",DM="\u22E2",qM="\u22E3",BM="\u2284",VM="\u2AC5\u0338",IM="\u2288",RM="\u2282\u20D2",HM="\u2288",XM="\u2AC5\u0338",YM="\u2281",zM="\u2AB0\u0338",UM="\u2285",FM="\u2AC6\u0338",GM="\u2289",WM="\u2283\u20D2",KM="\u2289",ZM="\u2AC6\u0338",QM="\u2279",JM="\xD1",_M="\xF1",tT="\u2278",eT="\u22EA",nT="\u22EC",iT="\u22EB",rT="\u22ED",oT="\u039D",sT="\u03BD",lT="#",aT="\u2116",cT="\u2007",uT="\u224D\u20D2",hT="\u22AC",fT="\u22AD",mT="\u22AE",dT="\u22AF",gT="\u2265\u20D2",yT=">\u20D2",xT="\u2904",vT="\u29DE",pT="\u2902",bT="\u2264\u20D2",wT="<\u20D2",kT="\u22B4\u20D2",AT="\u2903",ST="\u22B5\u20D2",CT="\u223C\u20D2",NT="\u2923",MT="\u2196",TT="\u21D6",$T="\u2196",ET="\u2927",LT="\xD3",OT="\xF3",jT="\u229B",PT="\xD4",DT="\xF4",qT="\u229A",BT="\u041E",VT="\u043E",IT="\u229D",RT="\u0150",HT="\u0151",XT="\u2A38",YT="\u2299",zT="\u29BC",UT="\u0152",FT="\u0153",GT="\u29BF",WT="\u{1D512}",KT="\u{1D52C}",ZT="\u02DB",QT="\xD2",JT="\xF2",_T="\u29C1",t$="\u29B5",e$="\u03A9",n$="\u222E",i$="\u21BA",r$="\u29BE",o$="\u29BB",s$="\u203E",l$="\u29C0",a$="\u014C",c$="\u014D",u$="\u03A9",h$="\u03C9",f$="\u039F",m$="\u03BF",d$="\u29B6",g$="\u2296",y$="\u{1D546}",x$="\u{1D560}",v$="\u29B7",p$="\u201C",b$="\u2018",w$="\u29B9",k$="\u2295",A$="\u21BB",S$="\u2A54",C$="\u2228",N$="\u2A5D",M$="\u2134",T$="\u2134",$$="\xAA",E$="\xBA",L$="\u22B6",O$="\u2A56",j$="\u2A57",P$="\u2A5B",D$="\u24C8",q$="\u{1D4AA}",B$="\u2134",V$="\xD8",I$="\xF8",R$="\u2298",H$="\xD5",X$="\xF5",Y$="\u2A36",z$="\u2A37",U$="\u2297",F$="\xD6",G$="\xF6",W$="\u233D",K$="\u203E",Z$="\u23DE",Q$="\u23B4",J$="\u23DC",_$="\xB6",tE="\u2225",eE="\u2225",nE="\u2AF3",iE="\u2AFD",rE="\u2202",oE="\u2202",sE="\u041F",lE="\u043F",aE="%",cE=".",uE="\u2030",hE="\u22A5",fE="\u2031",mE="\u{1D513}",dE="\u{1D52D}",gE="\u03A6",yE="\u03C6",xE="\u03D5",vE="\u2133",pE="\u260E",bE="\u03A0",wE="\u03C0",kE="\u22D4",AE="\u03D6",SE="\u210F",CE="\u210E",NE="\u210F",ME="\u2A23",TE="\u229E",$E="\u2A22",EE="+",LE="\u2214",OE="\u2A25",jE="\u2A72",PE="\xB1",DE="\xB1",qE="\u2A26",BE="\u2A27",VE="\xB1",IE="\u210C",RE="\u2A15",HE="\u{1D561}",XE="\u2119",YE="\xA3",zE="\u2AB7",UE="\u2ABB",FE="\u227A",GE="\u227C",WE="\u2AB7",KE="\u227A",ZE="\u227C",QE="\u227A",JE="\u2AAF",_E="\u227C",tL="\u227E",eL="\u2AAF",nL="\u2AB9",iL="\u2AB5",rL="\u22E8",oL="\u2AAF",sL="\u2AB3",lL="\u227E",aL="\u2032",cL="\u2033",uL="\u2119",hL="\u2AB9",fL="\u2AB5",mL="\u22E8",dL="\u220F",gL="\u220F",yL="\u232E",xL="\u2312",vL="\u2313",pL="\u221D",bL="\u221D",wL="\u2237",kL="\u221D",AL="\u227E",SL="\u22B0",CL="\u{1D4AB}",NL="\u{1D4C5}",ML="\u03A8",TL="\u03C8",$L="\u2008",EL="\u{1D514}",LL="\u{1D52E}",OL="\u2A0C",jL="\u{1D562}",PL="\u211A",DL="\u2057",qL="\u{1D4AC}",BL="\u{1D4C6}",VL="\u210D",IL="\u2A16",RL="?",HL="\u225F",XL='"',YL='"',zL="\u21DB",UL="\u223D\u0331",FL="\u0154",GL="\u0155",WL="\u221A",KL="\u29B3",ZL="\u27E9",QL="\u27EB",JL="\u2992",_L="\u29A5",tO="\u27E9",eO="\xBB",nO="\u2975",iO="\u21E5",rO="\u2920",oO="\u2933",sO="\u2192",lO="\u21A0",aO="\u21D2",cO="\u291E",uO="\u21AA",hO="\u21AC",fO="\u2945",mO="\u2974",dO="\u2916",gO="\u21A3",yO="\u219D",xO="\u291A",vO="\u291C",pO="\u2236",bO="\u211A",wO="\u290D",kO="\u290F",AO="\u2910",SO="\u2773",CO="}",NO="]",MO="\u298C",TO="\u298E",$O="\u2990",EO="\u0158",LO="\u0159",OO="\u0156",jO="\u0157",PO="\u2309",DO="}",qO="\u0420",BO="\u0440",VO="\u2937",IO="\u2969",RO="\u201D",HO="\u201D",XO="\u21B3",YO="\u211C",zO="\u211B",UO="\u211C",FO="\u211D",GO="\u211C",WO="\u25AD",KO="\xAE",ZO="\xAE",QO="\u220B",JO="\u21CB",_O="\u296F",tj="\u297D",ej="\u230B",nj="\u{1D52F}",ij="\u211C",rj="\u2964",oj="\u21C1",sj="\u21C0",lj="\u296C",aj="\u03A1",cj="\u03C1",uj="\u03F1",hj="\u27E9",fj="\u21E5",mj="\u2192",dj="\u2192",gj="\u21D2",yj="\u21C4",xj="\u21A3",vj="\u2309",pj="\u27E7",bj="\u295D",wj="\u2955",kj="\u21C2",Aj="\u230B",Sj="\u21C1",Cj="\u21C0",Nj="\u21C4",Mj="\u21CC",Tj="\u21C9",$j="\u219D",Ej="\u21A6",Lj="\u22A2",Oj="\u295B",jj="\u22CC",Pj="\u29D0",Dj="\u22B3",qj="\u22B5",Bj="\u294F",Vj="\u295C",Ij="\u2954",Rj="\u21BE",Hj="\u2953",Xj="\u21C0",Yj="\u02DA",zj="\u2253",Uj="\u21C4",Fj="\u21CC",Gj="\u200F",Wj="\u23B1",Kj="\u23B1",Zj="\u2AEE",Qj="\u27ED",Jj="\u21FE",_j="\u27E7",tP="\u2986",eP="\u{1D563}",nP="\u211D",iP="\u2A2E",rP="\u2A35",oP="\u2970",sP=")",lP="\u2994",aP="\u2A12",cP="\u21C9",uP="\u21DB",hP="\u203A",fP="\u{1D4C7}",mP="\u211B",dP="\u21B1",gP="\u21B1",yP="]",xP="\u2019",vP="\u2019",pP="\u22CC",bP="\u22CA",wP="\u25B9",kP="\u22B5",AP="\u25B8",SP="\u29CE",CP="\u29F4",NP="\u2968",MP="\u211E",TP="\u015A",$P="\u015B",EP="\u201A",LP="\u2AB8",OP="\u0160",jP="\u0161",PP="\u2ABC",DP="\u227B",qP="\u227D",BP="\u2AB0",VP="\u2AB4",IP="\u015E",RP="\u015F",HP="\u015C",XP="\u015D",YP="\u2ABA",zP="\u2AB6",UP="\u22E9",FP="\u2A13",GP="\u227F",WP="\u0421",KP="\u0441",ZP="\u22A1",QP="\u22C5",JP="\u2A66",_P="\u2925",tD="\u2198",eD="\u21D8",nD="\u2198",iD="\xA7",rD=";",oD="\u2929",sD="\u2216",lD="\u2216",aD="\u2736",cD="\u{1D516}",uD="\u{1D530}",hD="\u2322",fD="\u266F",mD="\u0429",dD="\u0449",gD="\u0428",yD="\u0448",xD="\u2193",vD="\u2190",pD="\u2223",bD="\u2225",wD="\u2192",kD="\u2191",AD="\xAD",SD="\u03A3",CD="\u03C3",ND="\u03C2",MD="\u03C2",TD="\u223C",$D="\u2A6A",ED="\u2243",LD="\u2243",OD="\u2A9E",jD="\u2AA0",PD="\u2A9D",DD="\u2A9F",qD="\u2246",BD="\u2A24",VD="\u2972",ID="\u2190",RD="\u2218",HD="\u2216",XD="\u2A33",YD="\u29E4",zD="\u2223",UD="\u2323",FD="\u2AAA",GD="\u2AAC",WD="\u2AAC\uFE00",KD="\u042C",ZD="\u044C",QD="\u233F",JD="\u29C4",_D="/",tq="\u{1D54A}",eq="\u{1D564}",nq="\u2660",iq="\u2660",rq="\u2225",oq="\u2293",sq="\u2293\uFE00",lq="\u2294",aq="\u2294\uFE00",cq="\u221A",uq="\u228F",hq="\u2291",fq="\u228F",mq="\u2291",dq="\u2290",gq="\u2292",yq="\u2290",xq="\u2292",vq="\u25A1",pq="\u25A1",bq="\u2293",wq="\u228F",kq="\u2291",Aq="\u2290",Sq="\u2292",Cq="\u2294",Nq="\u25AA",Mq="\u25A1",Tq="\u25AA",$q="\u2192",Eq="\u{1D4AE}",Lq="\u{1D4C8}",Oq="\u2216",jq="\u2323",Pq="\u22C6",Dq="\u22C6",qq="\u2606",Bq="\u2605",Vq="\u03F5",Iq="\u03D5",Rq="\xAF",Hq="\u2282",Xq="\u22D0",Yq="\u2ABD",zq="\u2AC5",Uq="\u2286",Fq="\u2AC3",Gq="\u2AC1",Wq="\u2ACB",Kq="\u228A",Zq="\u2ABF",Qq="\u2979",Jq="\u2282",_q="\u22D0",tB="\u2286",eB="\u2AC5",nB="\u2286",iB="\u228A",rB="\u2ACB",oB="\u2AC7",sB="\u2AD5",lB="\u2AD3",aB="\u2AB8",cB="\u227B",uB="\u227D",hB="\u227B",fB="\u2AB0",mB="\u227D",dB="\u227F",gB="\u2AB0",yB="\u2ABA",xB="\u2AB6",vB="\u22E9",pB="\u227F",bB="\u220B",wB="\u2211",kB="\u2211",AB="\u266A",SB="\xB9",CB="\xB2",NB="\xB3",MB="\u2283",TB="\u22D1",$B="\u2ABE",EB="\u2AD8",LB="\u2AC6",OB="\u2287",jB="\u2AC4",PB="\u2283",DB="\u2287",qB="\u27C9",BB="\u2AD7",VB="\u297B",IB="\u2AC2",RB="\u2ACC",HB="\u228B",XB="\u2AC0",YB="\u2283",zB="\u22D1",UB="\u2287",FB="\u2AC6",GB="\u228B",WB="\u2ACC",KB="\u2AC8",ZB="\u2AD4",QB="\u2AD6",JB="\u2926",_B="\u2199",tV="\u21D9",eV="\u2199",nV="\u292A",iV="\xDF",rV=" ",oV="\u2316",sV="\u03A4",lV="\u03C4",aV="\u23B4",cV="\u0164",uV="\u0165",hV="\u0162",fV="\u0163",mV="\u0422",dV="\u0442",gV="\u20DB",yV="\u2315",xV="\u{1D517}",vV="\u{1D531}",pV="\u2234",bV="\u2234",wV="\u2234",kV="\u0398",AV="\u03B8",SV="\u03D1",CV="\u03D1",NV="\u2248",MV="\u223C",TV="\u205F\u200A",$V="\u2009",EV="\u2009",LV="\u2248",OV="\u223C",jV="\xDE",PV="\xFE",DV="\u02DC",qV="\u223C",BV="\u2243",VV="\u2245",IV="\u2248",RV="\u2A31",HV="\u22A0",XV="\xD7",YV="\u2A30",zV="\u222D",UV="\u2928",FV="\u2336",GV="\u2AF1",WV="\u22A4",KV="\u{1D54B}",ZV="\u{1D565}",QV="\u2ADA",JV="\u2929",_V="\u2034",tI="\u2122",eI="\u2122",nI="\u25B5",iI="\u25BF",rI="\u25C3",oI="\u22B4",sI="\u225C",lI="\u25B9",aI="\u22B5",cI="\u25EC",uI="\u225C",hI="\u2A3A",fI="\u20DB",mI="\u2A39",dI="\u29CD",gI="\u2A3B",yI="\u23E2",xI="\u{1D4AF}",vI="\u{1D4C9}",pI="\u0426",bI="\u0446",wI="\u040B",kI="\u045B",AI="\u0166",SI="\u0167",CI="\u226C",NI="\u219E",MI="\u21A0",TI="\xDA",$I="\xFA",EI="\u2191",LI="\u219F",OI="\u21D1",jI="\u2949",PI="\u040E",DI="\u045E",qI="\u016C",BI="\u016D",VI="\xDB",II="\xFB",RI="\u0423",HI="\u0443",XI="\u21C5",YI="\u0170",zI="\u0171",UI="\u296E",FI="\u297E",GI="\u{1D518}",WI="\u{1D532}",KI="\xD9",ZI="\xF9",QI="\u2963",JI="\u21BF",_I="\u21BE",tR="\u2580",eR="\u231C",nR="\u231C",iR="\u230F",rR="\u25F8",oR="\u016A",sR="\u016B",lR="\xA8",aR="_",cR="\u23DF",uR="\u23B5",hR="\u23DD",fR="\u22C3",mR="\u228E",dR="\u0172",gR="\u0173",yR="\u{1D54C}",xR="\u{1D566}",vR="\u2912",pR="\u2191",bR="\u2191",wR="\u21D1",kR="\u21C5",AR="\u2195",SR="\u2195",CR="\u21D5",NR="\u296E",MR="\u21BF",TR="\u21BE",$R="\u228E",ER="\u2196",LR="\u2197",OR="\u03C5",jR="\u03D2",PR="\u03D2",DR="\u03A5",qR="\u03C5",BR="\u21A5",VR="\u22A5",IR="\u21C8",RR="\u231D",HR="\u231D",XR="\u230E",YR="\u016E",zR="\u016F",UR="\u25F9",FR="\u{1D4B0}",GR="\u{1D4CA}",WR="\u22F0",KR="\u0168",ZR="\u0169",QR="\u25B5",JR="\u25B4",_R="\u21C8",tH="\xDC",eH="\xFC",nH="\u29A7",iH="\u299C",rH="\u03F5",oH="\u03F0",sH="\u2205",lH="\u03D5",aH="\u03D6",cH="\u221D",uH="\u2195",hH="\u21D5",fH="\u03F1",mH="\u03C2",dH="\u228A\uFE00",gH="\u2ACB\uFE00",yH="\u228B\uFE00",xH="\u2ACC\uFE00",vH="\u03D1",pH="\u22B2",bH="\u22B3",wH="\u2AE8",kH="\u2AEB",AH="\u2AE9",SH="\u0412",CH="\u0432",NH="\u22A2",MH="\u22A8",TH="\u22A9",$H="\u22AB",EH="\u2AE6",LH="\u22BB",OH="\u2228",jH="\u22C1",PH="\u225A",DH="\u22EE",qH="|",BH="\u2016",VH="|",IH="\u2016",RH="\u2223",HH="|",XH="\u2758",YH="\u2240",zH="\u200A",UH="\u{1D519}",FH="\u{1D533}",GH="\u22B2",WH="\u2282\u20D2",KH="\u2283\u20D2",ZH="\u{1D54D}",QH="\u{1D567}",JH="\u221D",_H="\u22B3",tX="\u{1D4B1}",eX="\u{1D4CB}",nX="\u2ACB\uFE00",iX="\u228A\uFE00",rX="\u2ACC\uFE00",oX="\u228B\uFE00",sX="\u22AA",lX="\u299A",aX="\u0174",cX="\u0175",uX="\u2A5F",hX="\u2227",fX="\u22C0",mX="\u2259",dX="\u2118",gX="\u{1D51A}",yX="\u{1D534}",xX="\u{1D54E}",vX="\u{1D568}",pX="\u2118",bX="\u2240",wX="\u2240",kX="\u{1D4B2}",AX="\u{1D4CC}",SX="\u22C2",CX="\u25EF",NX="\u22C3",MX="\u25BD",TX="\u{1D51B}",$X="\u{1D535}",EX="\u27F7",LX="\u27FA",OX="\u039E",jX="\u03BE",PX="\u27F5",DX="\u27F8",qX="\u27FC",BX="\u22FB",VX="\u2A00",IX="\u{1D54F}",RX="\u{1D569}",HX="\u2A01",XX="\u2A02",YX="\u27F6",zX="\u27F9",UX="\u{1D4B3}",FX="\u{1D4CD}",GX="\u2A06",WX="\u2A04",KX="\u25B3",ZX="\u22C1",QX="\u22C0",JX="\xDD",_X="\xFD",tY="\u042F",eY="\u044F",nY="\u0176",iY="\u0177",rY="\u042B",oY="\u044B",sY="\xA5",lY="\u{1D51C}",aY="\u{1D536}",cY="\u0407",uY="\u0457",hY="\u{1D550}",fY="\u{1D56A}",mY="\u{1D4B4}",dY="\u{1D4CE}",gY="\u042E",yY="\u044E",xY="\xFF",vY="\u0178",pY="\u0179",bY="\u017A",wY="\u017D",kY="\u017E",AY="\u0417",SY="\u0437",CY="\u017B",NY="\u017C",MY="\u2128",TY="\u200B",$Y="\u0396",EY="\u03B6",LY="\u{1D537}",OY="\u2128",jY="\u0416",PY="\u0436",DY="\u21DD",qY="\u{1D56B}",BY="\u2124",VY="\u{1D4B5}",IY="\u{1D4CF}",RY="\u200D",HY="\u200C",Cs={Aacute:S9,aacute:C9,Abreve:N9,abreve:M9,ac:T9,acd:$9,acE:E9,Acirc:L9,acirc:O9,acute:j9,Acy:P9,acy:D9,AElig:q9,aelig:B9,af:V9,Afr:I9,afr:R9,Agrave:H9,agrave:X9,alefsym:Y9,aleph:z9,Alpha:U9,alpha:F9,Amacr:G9,amacr:W9,amalg:K9,amp:Z9,AMP:Q9,andand:J9,And:_9,and:t8,andd:e8,andslope:n8,andv:i8,ang:r8,ange:o8,angle:s8,angmsdaa:l8,angmsdab:a8,angmsdac:c8,angmsdad:u8,angmsdae:h8,angmsdaf:f8,angmsdag:m8,angmsdah:d8,angmsd:g8,angrt:y8,angrtvb:x8,angrtvbd:v8,angsph:p8,angst:b8,angzarr:w8,Aogon:k8,aogon:A8,Aopf:S8,aopf:C8,apacir:N8,ap:M8,apE:T8,ape:$8,apid:E8,apos:L8,ApplyFunction:O8,approx:j8,approxeq:P8,Aring:D8,aring:q8,Ascr:B8,ascr:V8,Assign:I8,ast:R8,asymp:H8,asympeq:X8,Atilde:Y8,atilde:z8,Auml:U8,auml:F8,awconint:G8,awint:W8,backcong:K8,backepsilon:Z8,backprime:Q8,backsim:J8,backsimeq:_8,Backslash:t5,Barv:e5,barvee:n5,barwed:i5,Barwed:r5,barwedge:o5,bbrk:s5,bbrktbrk:l5,bcong:a5,Bcy:c5,bcy:u5,bdquo:h5,becaus:f5,because:m5,Because:d5,bemptyv:g5,bepsi:y5,bernou:x5,Bernoullis:v5,Beta:p5,beta:b5,beth:w5,between:k5,Bfr:A5,bfr:S5,bigcap:C5,bigcirc:N5,bigcup:M5,bigodot:T5,bigoplus:$5,bigotimes:E5,bigsqcup:L5,bigstar:O5,bigtriangledown:j5,bigtriangleup:P5,biguplus:D5,bigvee:q5,bigwedge:B5,bkarow:V5,blacklozenge:I5,blacksquare:R5,blacktriangle:H5,blacktriangledown:X5,blacktriangleleft:Y5,blacktriangleright:z5,blank:U5,blk12:F5,blk14:G5,blk34:W5,block:K5,bne:Z5,bnequiv:Q5,bNot:J5,bnot:_5,Bopf:t6,bopf:e6,bot:n6,bottom:i6,bowtie:r6,boxbox:o6,boxdl:s6,boxdL:l6,boxDl:a6,boxDL:c6,boxdr:u6,boxdR:h6,boxDr:f6,boxDR:m6,boxh:d6,boxH:g6,boxhd:y6,boxHd:x6,boxhD:v6,boxHD:p6,boxhu:b6,boxHu:w6,boxhU:k6,boxHU:A6,boxminus:S6,boxplus:C6,boxtimes:N6,boxul:M6,boxuL:T6,boxUl:$6,boxUL:E6,boxur:L6,boxuR:O6,boxUr:j6,boxUR:P6,boxv:D6,boxV:q6,boxvh:B6,boxvH:V6,boxVh:I6,boxVH:R6,boxvl:H6,boxvL:X6,boxVl:Y6,boxVL:z6,boxvr:U6,boxvR:F6,boxVr:G6,boxVR:W6,bprime:K6,breve:Z6,Breve:Q6,brvbar:J6,bscr:_6,Bscr:t7,bsemi:e7,bsim:n7,bsime:i7,bsolb:r7,bsol:o7,bsolhsub:s7,bull:l7,bullet:a7,bump:c7,bumpE:u7,bumpe:h7,Bumpeq:f7,bumpeq:m7,Cacute:d7,cacute:g7,capand:y7,capbrcup:x7,capcap:v7,cap:p7,Cap:b7,capcup:w7,capdot:k7,CapitalDifferentialD:A7,caps:S7,caret:C7,caron:N7,Cayleys:M7,ccaps:T7,Ccaron:$7,ccaron:E7,Ccedil:L7,ccedil:O7,Ccirc:j7,ccirc:P7,Cconint:D7,ccups:q7,ccupssm:B7,Cdot:V7,cdot:I7,cedil:R7,Cedilla:H7,cemptyv:X7,cent:Y7,centerdot:z7,CenterDot:U7,cfr:F7,Cfr:G7,CHcy:W7,chcy:K7,check:Z7,checkmark:Q7,Chi:J7,chi:_7,circ:th,circeq:eh,circlearrowleft:nh,circlearrowright:ih,circledast:rh,circledcirc:oh,circleddash:sh,CircleDot:lh,circledR:ah,circledS:ch,CircleMinus:uh,CirclePlus:hh,CircleTimes:fh,cir:mh,cirE:dh,cire:gh,cirfnint:yh,cirmid:xh,cirscir:vh,ClockwiseContourIntegral:ph,CloseCurlyDoubleQuote:bh,CloseCurlyQuote:wh,clubs:kh,clubsuit:Ah,colon:Sh,Colon:Ch,Colone:Nh,colone:Mh,coloneq:Th,comma:$h,commat:Eh,comp:Lh,compfn:Oh,complement:jh,complexes:Ph,cong:Dh,congdot:qh,Congruent:Bh,conint:Vh,Conint:Ih,ContourIntegral:Rh,copf:Hh,Copf:Xh,coprod:Yh,Coproduct:zh,copy:Uh,COPY:Fh,copysr:Gh,CounterClockwiseContourIntegral:Wh,crarr:Kh,cross:Zh,Cross:Qh,Cscr:Jh,cscr:_h,csub:tf,csube:ef,csup:nf,csupe:rf,ctdot:of,cudarrl:sf,cudarrr:lf,cuepr:af,cuesc:cf,cularr:uf,cularrp:hf,cupbrcap:ff,cupcap:mf,CupCap:df,cup:gf,Cup:yf,cupcup:xf,cupdot:vf,cupor:pf,cups:bf,curarr:wf,curarrm:kf,curlyeqprec:Af,curlyeqsucc:Sf,curlyvee:Cf,curlywedge:Nf,curren:Mf,curvearrowleft:Tf,curvearrowright:$f,cuvee:Ef,cuwed:Lf,cwconint:Of,cwint:jf,cylcty:Pf,dagger:Df,Dagger:qf,daleth:Bf,darr:Vf,Darr:If,dArr:Rf,dash:Hf,Dashv:Xf,dashv:Yf,dbkarow:zf,dblac:Uf,Dcaron:Ff,dcaron:Gf,Dcy:Wf,dcy:Kf,ddagger:Zf,ddarr:Qf,DD:Jf,dd:_f,DDotrahd:t3,ddotseq:e3,deg:n3,Del:i3,Delta:r3,delta:o3,demptyv:s3,dfisht:l3,Dfr:a3,dfr:c3,dHar:u3,dharl:h3,dharr:f3,DiacriticalAcute:m3,DiacriticalDot:d3,DiacriticalDoubleAcute:g3,DiacriticalGrave:y3,DiacriticalTilde:x3,diam:v3,diamond:p3,Diamond:b3,diamondsuit:w3,diams:k3,die:A3,DifferentialD:S3,digamma:C3,disin:N3,div:M3,divide:T3,divideontimes:$3,divonx:E3,DJcy:L3,djcy:O3,dlcorn:j3,dlcrop:P3,dollar:D3,Dopf:q3,dopf:B3,Dot:V3,dot:I3,DotDot:R3,doteq:H3,doteqdot:X3,DotEqual:Y3,dotminus:z3,dotplus:U3,dotsquare:F3,doublebarwedge:G3,DoubleContourIntegral:W3,DoubleDot:K3,DoubleDownArrow:Z3,DoubleLeftArrow:Q3,DoubleLeftRightArrow:J3,DoubleLeftTee:_3,DoubleLongLeftArrow:tm,DoubleLongLeftRightArrow:em,DoubleLongRightArrow:nm,DoubleRightArrow:im,DoubleRightTee:rm,DoubleUpArrow:om,DoubleUpDownArrow:sm,DoubleVerticalBar:lm,DownArrowBar:am,downarrow:cm,DownArrow:um,Downarrow:hm,DownArrowUpArrow:fm,DownBreve:mm,downdownarrows:dm,downharpoonleft:gm,downharpoonright:ym,DownLeftRightVector:xm,DownLeftTeeVector:vm,DownLeftVectorBar:pm,DownLeftVector:bm,DownRightTeeVector:wm,DownRightVectorBar:km,DownRightVector:Am,DownTeeArrow:Sm,DownTee:Cm,drbkarow:Nm,drcorn:Mm,drcrop:Tm,Dscr:$m,dscr:Em,DScy:Lm,dscy:Om,dsol:jm,Dstrok:Pm,dstrok:Dm,dtdot:qm,dtri:Bm,dtrif:Vm,duarr:Im,duhar:Rm,dwangle:Hm,DZcy:Xm,dzcy:Ym,dzigrarr:zm,Eacute:Um,eacute:Fm,easter:Gm,Ecaron:Wm,ecaron:Km,Ecirc:Zm,ecirc:Qm,ecir:Jm,ecolon:_m,Ecy:td,ecy:ed,eDDot:nd,Edot:id,edot:rd,eDot:od,ee:sd,efDot:ld,Efr:ad,efr:cd,eg:ud,Egrave:hd,egrave:fd,egs:md,egsdot:dd,el:gd,Element:yd,elinters:xd,ell:vd,els:pd,elsdot:bd,Emacr:wd,emacr:kd,empty:Ad,emptyset:Sd,EmptySmallSquare:Cd,emptyv:Nd,EmptyVerySmallSquare:Md,emsp13:Td,emsp14:$d,emsp:Ed,ENG:Ld,eng:Od,ensp:jd,Eogon:Pd,eogon:Dd,Eopf:qd,eopf:Bd,epar:Vd,eparsl:Id,eplus:Rd,epsi:Hd,Epsilon:Xd,epsilon:Yd,epsiv:zd,eqcirc:Ud,eqcolon:Fd,eqsim:Gd,eqslantgtr:Wd,eqslantless:Kd,Equal:Zd,equals:Qd,EqualTilde:Jd,equest:_d,Equilibrium:t4,equiv:e4,equivDD:n4,eqvparsl:i4,erarr:r4,erDot:o4,escr:s4,Escr:l4,esdot:a4,Esim:c4,esim:u4,Eta:h4,eta:f4,ETH:m4,eth:d4,Euml:g4,euml:y4,euro:x4,excl:v4,exist:p4,Exists:b4,expectation:w4,exponentiale:k4,ExponentialE:A4,fallingdotseq:S4,Fcy:C4,fcy:N4,female:M4,ffilig:T4,fflig:$4,ffllig:E4,Ffr:L4,ffr:O4,filig:j4,FilledSmallSquare:P4,FilledVerySmallSquare:D4,fjlig:q4,flat:B4,fllig:V4,fltns:I4,fnof:R4,Fopf:H4,fopf:X4,forall:Y4,ForAll:z4,fork:U4,forkv:F4,Fouriertrf:G4,fpartint:W4,frac12:K4,frac13:Z4,frac14:Q4,frac15:J4,frac16:_4,frac18:tg,frac23:eg,frac25:ng,frac34:ig,frac35:rg,frac38:og,frac45:sg,frac56:lg,frac58:ag,frac78:cg,frasl:ug,frown:hg,fscr:fg,Fscr:mg,gacute:dg,Gamma:gg,gamma:yg,Gammad:xg,gammad:vg,gap:pg,Gbreve:bg,gbreve:wg,Gcedil:kg,Gcirc:Ag,gcirc:Sg,Gcy:Cg,gcy:Ng,Gdot:Mg,gdot:Tg,ge:$g,gE:Eg,gEl:Lg,gel:Og,geq:jg,geqq:Pg,geqslant:Dg,gescc:qg,ges:Bg,gesdot:Vg,gesdoto:Ig,gesdotol:Rg,gesl:Hg,gesles:Xg,Gfr:Yg,gfr:zg,gg:Ug,Gg:Fg,ggg:Gg,gimel:Wg,GJcy:Kg,gjcy:Zg,gla:Qg,gl:Jg,glE:_g,glj:ty,gnap:ey,gnapprox:ny,gne:iy,gnE:ry,gneq:oy,gneqq:sy,gnsim:ly,Gopf:ay,gopf:cy,grave:uy,GreaterEqual:hy,GreaterEqualLess:fy,GreaterFullEqual:my,GreaterGreater:dy,GreaterLess:gy,GreaterSlantEqual:yy,GreaterTilde:xy,Gscr:vy,gscr:py,gsim:by,gsime:wy,gsiml:ky,gtcc:Ay,gtcir:Sy,gt:Cy,GT:Ny,Gt:My,gtdot:Ty,gtlPar:$y,gtquest:Ey,gtrapprox:Ly,gtrarr:Oy,gtrdot:jy,gtreqless:Py,gtreqqless:Dy,gtrless:qy,gtrsim:By,gvertneqq:Vy,gvnE:Iy,Hacek:Ry,hairsp:Hy,half:Xy,hamilt:Yy,HARDcy:zy,hardcy:Uy,harrcir:Fy,harr:Gy,hArr:Wy,harrw:Ky,Hat:Zy,hbar:Qy,Hcirc:Jy,hcirc:_y,hearts:tx,heartsuit:ex,hellip:nx,hercon:ix,hfr:rx,Hfr:ox,HilbertSpace:sx,hksearow:lx,hkswarow:ax,hoarr:cx,homtht:ux,hookleftarrow:hx,hookrightarrow:fx,hopf:mx,Hopf:dx,horbar:gx,HorizontalLine:yx,hscr:xx,Hscr:vx,hslash:px,Hstrok:bx,hstrok:wx,HumpDownHump:kx,HumpEqual:Ax,hybull:Sx,hyphen:Cx,Iacute:Nx,iacute:Mx,ic:Tx,Icirc:$x,icirc:Ex,Icy:Lx,icy:Ox,Idot:jx,IEcy:Px,iecy:Dx,iexcl:qx,iff:Bx,ifr:Vx,Ifr:Ix,Igrave:Rx,igrave:Hx,ii:Xx,iiiint:Yx,iiint:zx,iinfin:Ux,iiota:Fx,IJlig:Gx,ijlig:Wx,Imacr:Kx,imacr:Zx,image:Qx,ImaginaryI:Jx,imagline:_x,imagpart:tv,imath:ev,Im:nv,imof:iv,imped:rv,Implies:ov,incare:sv,in:"\u2208",infin:lv,infintie:av,inodot:cv,intcal:uv,int:hv,Int:fv,integers:mv,Integral:dv,intercal:gv,Intersection:yv,intlarhk:xv,intprod:vv,InvisibleComma:pv,InvisibleTimes:bv,IOcy:wv,iocy:kv,Iogon:Av,iogon:Sv,Iopf:Cv,iopf:Nv,Iota:Mv,iota:Tv,iprod:$v,iquest:Ev,iscr:Lv,Iscr:Ov,isin:jv,isindot:Pv,isinE:Dv,isins:qv,isinsv:Bv,isinv:Vv,it:Iv,Itilde:Rv,itilde:Hv,Iukcy:Xv,iukcy:Yv,Iuml:zv,iuml:Uv,Jcirc:Fv,jcirc:Gv,Jcy:Wv,jcy:Kv,Jfr:Zv,jfr:Qv,jmath:Jv,Jopf:_v,jopf:tp,Jscr:ep,jscr:np,Jsercy:ip,jsercy:rp,Jukcy:op,jukcy:sp,Kappa:lp,kappa:ap,kappav:cp,Kcedil:up,kcedil:hp,Kcy:fp,kcy:mp,Kfr:dp,kfr:gp,kgreen:yp,KHcy:xp,khcy:vp,KJcy:pp,kjcy:bp,Kopf:wp,kopf:kp,Kscr:Ap,kscr:Sp,lAarr:Cp,Lacute:Np,lacute:Mp,laemptyv:Tp,lagran:$p,Lambda:Ep,lambda:Lp,lang:Op,Lang:jp,langd:Pp,langle:Dp,lap:qp,Laplacetrf:Bp,laquo:Vp,larrb:Ip,larrbfs:Rp,larr:Hp,Larr:Xp,lArr:Yp,larrfs:zp,larrhk:Up,larrlp:Fp,larrpl:Gp,larrsim:Wp,larrtl:Kp,latail:Zp,lAtail:Qp,lat:Jp,late:_p,lates:tb,lbarr:eb,lBarr:nb,lbbrk:ib,lbrace:rb,lbrack:ob,lbrke:sb,lbrksld:lb,lbrkslu:ab,Lcaron:cb,lcaron:ub,Lcedil:hb,lcedil:fb,lceil:mb,lcub:db,Lcy:gb,lcy:yb,ldca:xb,ldquo:vb,ldquor:pb,ldrdhar:bb,ldrushar:wb,ldsh:kb,le:Ab,lE:Sb,LeftAngleBracket:Cb,LeftArrowBar:Nb,leftarrow:Mb,LeftArrow:Tb,Leftarrow:$b,LeftArrowRightArrow:Eb,leftarrowtail:Lb,LeftCeiling:Ob,LeftDoubleBracket:jb,LeftDownTeeVector:Pb,LeftDownVectorBar:Db,LeftDownVector:qb,LeftFloor:Bb,leftharpoondown:Vb,leftharpoonup:Ib,leftleftarrows:Rb,leftrightarrow:Hb,LeftRightArrow:Xb,Leftrightarrow:Yb,leftrightarrows:zb,leftrightharpoons:Ub,leftrightsquigarrow:Fb,LeftRightVector:Gb,LeftTeeArrow:Wb,LeftTee:Kb,LeftTeeVector:Zb,leftthreetimes:Qb,LeftTriangleBar:Jb,LeftTriangle:_b,LeftTriangleEqual:tw,LeftUpDownVector:ew,LeftUpTeeVector:nw,LeftUpVectorBar:iw,LeftUpVector:rw,LeftVectorBar:ow,LeftVector:sw,lEg:lw,leg:aw,leq:cw,leqq:uw,leqslant:hw,lescc:fw,les:mw,lesdot:dw,lesdoto:gw,lesdotor:yw,lesg:xw,lesges:vw,lessapprox:pw,lessdot:bw,lesseqgtr:ww,lesseqqgtr:kw,LessEqualGreater:Aw,LessFullEqual:Sw,LessGreater:Cw,lessgtr:Nw,LessLess:Mw,lesssim:Tw,LessSlantEqual:$w,LessTilde:Ew,lfisht:Lw,lfloor:Ow,Lfr:jw,lfr:Pw,lg:Dw,lgE:qw,lHar:Bw,lhard:Vw,lharu:Iw,lharul:Rw,lhblk:Hw,LJcy:Xw,ljcy:Yw,llarr:zw,ll:Uw,Ll:Fw,llcorner:Gw,Lleftarrow:Ww,llhard:Kw,lltri:Zw,Lmidot:Qw,lmidot:Jw,lmoustache:_w,lmoust:tk,lnap:ek,lnapprox:nk,lne:ik,lnE:rk,lneq:ok,lneqq:sk,lnsim:lk,loang:ak,loarr:ck,lobrk:uk,longleftarrow:hk,LongLeftArrow:fk,Longleftarrow:mk,longleftrightarrow:dk,LongLeftRightArrow:gk,Longleftrightarrow:yk,longmapsto:xk,longrightarrow:vk,LongRightArrow:pk,Longrightarrow:bk,looparrowleft:wk,looparrowright:kk,lopar:Ak,Lopf:Sk,lopf:Ck,loplus:Nk,lotimes:Mk,lowast:Tk,lowbar:$k,LowerLeftArrow:Ek,LowerRightArrow:Lk,loz:Ok,lozenge:jk,lozf:Pk,lpar:Dk,lparlt:qk,lrarr:Bk,lrcorner:Vk,lrhar:Ik,lrhard:Rk,lrm:Hk,lrtri:Xk,lsaquo:Yk,lscr:zk,Lscr:Uk,lsh:Fk,Lsh:Gk,lsim:Wk,lsime:Kk,lsimg:Zk,lsqb:Qk,lsquo:Jk,lsquor:_k,Lstrok:tA,lstrok:eA,ltcc:nA,ltcir:iA,lt:rA,LT:oA,Lt:sA,ltdot:lA,lthree:aA,ltimes:cA,ltlarr:uA,ltquest:hA,ltri:fA,ltrie:mA,ltrif:dA,ltrPar:gA,lurdshar:yA,luruhar:xA,lvertneqq:vA,lvnE:pA,macr:bA,male:wA,malt:kA,maltese:AA,Map:"\u2905",map:SA,mapsto:CA,mapstodown:NA,mapstoleft:MA,mapstoup:TA,marker:$A,mcomma:EA,Mcy:LA,mcy:OA,mdash:jA,mDDot:PA,measuredangle:DA,MediumSpace:qA,Mellintrf:BA,Mfr:VA,mfr:IA,mho:RA,micro:HA,midast:XA,midcir:YA,mid:zA,middot:UA,minusb:FA,minus:GA,minusd:WA,minusdu:KA,MinusPlus:ZA,mlcp:QA,mldr:JA,mnplus:_A,models:tS,Mopf:eS,mopf:nS,mp:iS,mscr:rS,Mscr:oS,mstpos:sS,Mu:lS,mu:aS,multimap:cS,mumap:uS,nabla:hS,Nacute:fS,nacute:mS,nang:dS,nap:gS,napE:yS,napid:xS,napos:vS,napprox:pS,natural:bS,naturals:wS,natur:kS,nbsp:AS,nbump:SS,nbumpe:CS,ncap:NS,Ncaron:MS,ncaron:TS,Ncedil:$S,ncedil:ES,ncong:LS,ncongdot:OS,ncup:jS,Ncy:PS,ncy:DS,ndash:qS,nearhk:BS,nearr:VS,neArr:IS,nearrow:RS,ne:HS,nedot:XS,NegativeMediumSpace:YS,NegativeThickSpace:zS,NegativeThinSpace:US,NegativeVeryThinSpace:FS,nequiv:GS,nesear:WS,nesim:KS,NestedGreaterGreater:ZS,NestedLessLess:QS,NewLine:JS,nexist:_S,nexists:tC,Nfr:eC,nfr:nC,ngE:iC,nge:rC,ngeq:oC,ngeqq:sC,ngeqslant:lC,nges:aC,nGg:cC,ngsim:uC,nGt:hC,ngt:fC,ngtr:mC,nGtv:dC,nharr:gC,nhArr:yC,nhpar:xC,ni:vC,nis:pC,nisd:bC,niv:wC,NJcy:kC,njcy:AC,nlarr:SC,nlArr:CC,nldr:NC,nlE:MC,nle:TC,nleftarrow:$C,nLeftarrow:EC,nleftrightarrow:LC,nLeftrightarrow:OC,nleq:jC,nleqq:PC,nleqslant:DC,nles:qC,nless:BC,nLl:VC,nlsim:IC,nLt:RC,nlt:HC,nltri:XC,nltrie:YC,nLtv:zC,nmid:UC,NoBreak:FC,NonBreakingSpace:GC,nopf:WC,Nopf:KC,Not:ZC,not:QC,NotCongruent:JC,NotCupCap:_C,NotDoubleVerticalBar:tN,NotElement:eN,NotEqual:nN,NotEqualTilde:iN,NotExists:rN,NotGreater:oN,NotGreaterEqual:sN,NotGreaterFullEqual:lN,NotGreaterGreater:aN,NotGreaterLess:cN,NotGreaterSlantEqual:uN,NotGreaterTilde:hN,NotHumpDownHump:fN,NotHumpEqual:mN,notin:dN,notindot:gN,notinE:yN,notinva:xN,notinvb:vN,notinvc:pN,NotLeftTriangleBar:bN,NotLeftTriangle:wN,NotLeftTriangleEqual:kN,NotLess:AN,NotLessEqual:SN,NotLessGreater:CN,NotLessLess:NN,NotLessSlantEqual:MN,NotLessTilde:TN,NotNestedGreaterGreater:$N,NotNestedLessLess:EN,notni:LN,notniva:ON,notnivb:jN,notnivc:PN,NotPrecedes:DN,NotPrecedesEqual:qN,NotPrecedesSlantEqual:BN,NotReverseElement:VN,NotRightTriangleBar:IN,NotRightTriangle:RN,NotRightTriangleEqual:HN,NotSquareSubset:XN,NotSquareSubsetEqual:YN,NotSquareSuperset:zN,NotSquareSupersetEqual:UN,NotSubset:FN,NotSubsetEqual:GN,NotSucceeds:WN,NotSucceedsEqual:KN,NotSucceedsSlantEqual:ZN,NotSucceedsTilde:QN,NotSuperset:JN,NotSupersetEqual:_N,NotTilde:tM,NotTildeEqual:eM,NotTildeFullEqual:nM,NotTildeTilde:iM,NotVerticalBar:rM,nparallel:oM,npar:sM,nparsl:lM,npart:aM,npolint:cM,npr:uM,nprcue:hM,nprec:fM,npreceq:mM,npre:dM,nrarrc:gM,nrarr:yM,nrArr:xM,nrarrw:vM,nrightarrow:pM,nRightarrow:bM,nrtri:wM,nrtrie:kM,nsc:AM,nsccue:SM,nsce:CM,Nscr:NM,nscr:MM,nshortmid:TM,nshortparallel:$M,nsim:EM,nsime:LM,nsimeq:OM,nsmid:jM,nspar:PM,nsqsube:DM,nsqsupe:qM,nsub:BM,nsubE:VM,nsube:IM,nsubset:RM,nsubseteq:HM,nsubseteqq:XM,nsucc:YM,nsucceq:zM,nsup:UM,nsupE:FM,nsupe:GM,nsupset:WM,nsupseteq:KM,nsupseteqq:ZM,ntgl:QM,Ntilde:JM,ntilde:_M,ntlg:tT,ntriangleleft:eT,ntrianglelefteq:nT,ntriangleright:iT,ntrianglerighteq:rT,Nu:oT,nu:sT,num:lT,numero:aT,numsp:cT,nvap:uT,nvdash:hT,nvDash:fT,nVdash:mT,nVDash:dT,nvge:gT,nvgt:yT,nvHarr:xT,nvinfin:vT,nvlArr:pT,nvle:bT,nvlt:wT,nvltrie:kT,nvrArr:AT,nvrtrie:ST,nvsim:CT,nwarhk:NT,nwarr:MT,nwArr:TT,nwarrow:$T,nwnear:ET,Oacute:LT,oacute:OT,oast:jT,Ocirc:PT,ocirc:DT,ocir:qT,Ocy:BT,ocy:VT,odash:IT,Odblac:RT,odblac:HT,odiv:XT,odot:YT,odsold:zT,OElig:UT,oelig:FT,ofcir:GT,Ofr:WT,ofr:KT,ogon:ZT,Ograve:QT,ograve:JT,ogt:_T,ohbar:t$,ohm:e$,oint:n$,olarr:i$,olcir:r$,olcross:o$,oline:s$,olt:l$,Omacr:a$,omacr:c$,Omega:u$,omega:h$,Omicron:f$,omicron:m$,omid:d$,ominus:g$,Oopf:y$,oopf:x$,opar:v$,OpenCurlyDoubleQuote:p$,OpenCurlyQuote:b$,operp:w$,oplus:k$,orarr:A$,Or:S$,or:C$,ord:N$,order:M$,orderof:T$,ordf:$$,ordm:E$,origof:L$,oror:O$,orslope:j$,orv:P$,oS:D$,Oscr:q$,oscr:B$,Oslash:V$,oslash:I$,osol:R$,Otilde:H$,otilde:X$,otimesas:Y$,Otimes:z$,otimes:U$,Ouml:F$,ouml:G$,ovbar:W$,OverBar:K$,OverBrace:Z$,OverBracket:Q$,OverParenthesis:J$,para:_$,parallel:tE,par:eE,parsim:nE,parsl:iE,part:rE,PartialD:oE,Pcy:sE,pcy:lE,percnt:aE,period:cE,permil:uE,perp:hE,pertenk:fE,Pfr:mE,pfr:dE,Phi:gE,phi:yE,phiv:xE,phmmat:vE,phone:pE,Pi:bE,pi:wE,pitchfork:kE,piv:AE,planck:SE,planckh:CE,plankv:NE,plusacir:ME,plusb:TE,pluscir:$E,plus:EE,plusdo:LE,plusdu:OE,pluse:jE,PlusMinus:PE,plusmn:DE,plussim:qE,plustwo:BE,pm:VE,Poincareplane:IE,pointint:RE,popf:HE,Popf:XE,pound:YE,prap:zE,Pr:UE,pr:FE,prcue:GE,precapprox:WE,prec:KE,preccurlyeq:ZE,Precedes:QE,PrecedesEqual:JE,PrecedesSlantEqual:_E,PrecedesTilde:tL,preceq:eL,precnapprox:nL,precneqq:iL,precnsim:rL,pre:oL,prE:sL,precsim:lL,prime:aL,Prime:cL,primes:uL,prnap:hL,prnE:fL,prnsim:mL,prod:dL,Product:gL,profalar:yL,profline:xL,profsurf:vL,prop:pL,Proportional:bL,Proportion:wL,propto:kL,prsim:AL,prurel:SL,Pscr:CL,pscr:NL,Psi:ML,psi:TL,puncsp:$L,Qfr:EL,qfr:LL,qint:OL,qopf:jL,Qopf:PL,qprime:DL,Qscr:qL,qscr:BL,quaternions:VL,quatint:IL,quest:RL,questeq:HL,quot:XL,QUOT:YL,rAarr:zL,race:UL,Racute:FL,racute:GL,radic:WL,raemptyv:KL,rang:ZL,Rang:QL,rangd:JL,range:_L,rangle:tO,raquo:eO,rarrap:nO,rarrb:iO,rarrbfs:rO,rarrc:oO,rarr:sO,Rarr:lO,rArr:aO,rarrfs:cO,rarrhk:uO,rarrlp:hO,rarrpl:fO,rarrsim:mO,Rarrtl:dO,rarrtl:gO,rarrw:yO,ratail:xO,rAtail:vO,ratio:pO,rationals:bO,rbarr:wO,rBarr:kO,RBarr:AO,rbbrk:SO,rbrace:CO,rbrack:NO,rbrke:MO,rbrksld:TO,rbrkslu:$O,Rcaron:EO,rcaron:LO,Rcedil:OO,rcedil:jO,rceil:PO,rcub:DO,Rcy:qO,rcy:BO,rdca:VO,rdldhar:IO,rdquo:RO,rdquor:HO,rdsh:XO,real:YO,realine:zO,realpart:UO,reals:FO,Re:GO,rect:WO,reg:KO,REG:ZO,ReverseElement:QO,ReverseEquilibrium:JO,ReverseUpEquilibrium:_O,rfisht:tj,rfloor:ej,rfr:nj,Rfr:ij,rHar:rj,rhard:oj,rharu:sj,rharul:lj,Rho:aj,rho:cj,rhov:uj,RightAngleBracket:hj,RightArrowBar:fj,rightarrow:mj,RightArrow:dj,Rightarrow:gj,RightArrowLeftArrow:yj,rightarrowtail:xj,RightCeiling:vj,RightDoubleBracket:pj,RightDownTeeVector:bj,RightDownVectorBar:wj,RightDownVector:kj,RightFloor:Aj,rightharpoondown:Sj,rightharpoonup:Cj,rightleftarrows:Nj,rightleftharpoons:Mj,rightrightarrows:Tj,rightsquigarrow:$j,RightTeeArrow:Ej,RightTee:Lj,RightTeeVector:Oj,rightthreetimes:jj,RightTriangleBar:Pj,RightTriangle:Dj,RightTriangleEqual:qj,RightUpDownVector:Bj,RightUpTeeVector:Vj,RightUpVectorBar:Ij,RightUpVector:Rj,RightVectorBar:Hj,RightVector:Xj,ring:Yj,risingdotseq:zj,rlarr:Uj,rlhar:Fj,rlm:Gj,rmoustache:Wj,rmoust:Kj,rnmid:Zj,roang:Qj,roarr:Jj,robrk:_j,ropar:tP,ropf:eP,Ropf:nP,roplus:iP,rotimes:rP,RoundImplies:oP,rpar:sP,rpargt:lP,rppolint:aP,rrarr:cP,Rrightarrow:uP,rsaquo:hP,rscr:fP,Rscr:mP,rsh:dP,Rsh:gP,rsqb:yP,rsquo:xP,rsquor:vP,rthree:pP,rtimes:bP,rtri:wP,rtrie:kP,rtrif:AP,rtriltri:SP,RuleDelayed:CP,ruluhar:NP,rx:MP,Sacute:TP,sacute:$P,sbquo:EP,scap:LP,Scaron:OP,scaron:jP,Sc:PP,sc:DP,sccue:qP,sce:BP,scE:VP,Scedil:IP,scedil:RP,Scirc:HP,scirc:XP,scnap:YP,scnE:zP,scnsim:UP,scpolint:FP,scsim:GP,Scy:WP,scy:KP,sdotb:ZP,sdot:QP,sdote:JP,searhk:_P,searr:tD,seArr:eD,searrow:nD,sect:iD,semi:rD,seswar:oD,setminus:sD,setmn:lD,sext:aD,Sfr:cD,sfr:uD,sfrown:hD,sharp:fD,SHCHcy:mD,shchcy:dD,SHcy:gD,shcy:yD,ShortDownArrow:xD,ShortLeftArrow:vD,shortmid:pD,shortparallel:bD,ShortRightArrow:wD,ShortUpArrow:kD,shy:AD,Sigma:SD,sigma:CD,sigmaf:ND,sigmav:MD,sim:TD,simdot:$D,sime:ED,simeq:LD,simg:OD,simgE:jD,siml:PD,simlE:DD,simne:qD,simplus:BD,simrarr:VD,slarr:ID,SmallCircle:RD,smallsetminus:HD,smashp:XD,smeparsl:YD,smid:zD,smile:UD,smt:FD,smte:GD,smtes:WD,SOFTcy:KD,softcy:ZD,solbar:QD,solb:JD,sol:_D,Sopf:tq,sopf:eq,spades:nq,spadesuit:iq,spar:rq,sqcap:oq,sqcaps:sq,sqcup:lq,sqcups:aq,Sqrt:cq,sqsub:uq,sqsube:hq,sqsubset:fq,sqsubseteq:mq,sqsup:dq,sqsupe:gq,sqsupset:yq,sqsupseteq:xq,square:vq,Square:pq,SquareIntersection:bq,SquareSubset:wq,SquareSubsetEqual:kq,SquareSuperset:Aq,SquareSupersetEqual:Sq,SquareUnion:Cq,squarf:Nq,squ:Mq,squf:Tq,srarr:$q,Sscr:Eq,sscr:Lq,ssetmn:Oq,ssmile:jq,sstarf:Pq,Star:Dq,star:qq,starf:Bq,straightepsilon:Vq,straightphi:Iq,strns:Rq,sub:Hq,Sub:Xq,subdot:Yq,subE:zq,sube:Uq,subedot:Fq,submult:Gq,subnE:Wq,subne:Kq,subplus:Zq,subrarr:Qq,subset:Jq,Subset:_q,subseteq:tB,subseteqq:eB,SubsetEqual:nB,subsetneq:iB,subsetneqq:rB,subsim:oB,subsub:sB,subsup:lB,succapprox:aB,succ:cB,succcurlyeq:uB,Succeeds:hB,SucceedsEqual:fB,SucceedsSlantEqual:mB,SucceedsTilde:dB,succeq:gB,succnapprox:yB,succneqq:xB,succnsim:vB,succsim:pB,SuchThat:bB,sum:wB,Sum:kB,sung:AB,sup1:SB,sup2:CB,sup3:NB,sup:MB,Sup:TB,supdot:$B,supdsub:EB,supE:LB,supe:OB,supedot:jB,Superset:PB,SupersetEqual:DB,suphsol:qB,suphsub:BB,suplarr:VB,supmult:IB,supnE:RB,supne:HB,supplus:XB,supset:YB,Supset:zB,supseteq:UB,supseteqq:FB,supsetneq:GB,supsetneqq:WB,supsim:KB,supsub:ZB,supsup:QB,swarhk:JB,swarr:_B,swArr:tV,swarrow:eV,swnwar:nV,szlig:iV,Tab:rV,target:oV,Tau:sV,tau:lV,tbrk:aV,Tcaron:cV,tcaron:uV,Tcedil:hV,tcedil:fV,Tcy:mV,tcy:dV,tdot:gV,telrec:yV,Tfr:xV,tfr:vV,there4:pV,therefore:bV,Therefore:wV,Theta:kV,theta:AV,thetasym:SV,thetav:CV,thickapprox:NV,thicksim:MV,ThickSpace:TV,ThinSpace:$V,thinsp:EV,thkap:LV,thksim:OV,THORN:jV,thorn:PV,tilde:DV,Tilde:qV,TildeEqual:BV,TildeFullEqual:VV,TildeTilde:IV,timesbar:RV,timesb:HV,times:XV,timesd:YV,tint:zV,toea:UV,topbot:FV,topcir:GV,top:WV,Topf:KV,topf:ZV,topfork:QV,tosa:JV,tprime:_V,trade:tI,TRADE:eI,triangle:nI,triangledown:iI,triangleleft:rI,trianglelefteq:oI,triangleq:sI,triangleright:lI,trianglerighteq:aI,tridot:cI,trie:uI,triminus:hI,TripleDot:fI,triplus:mI,trisb:dI,tritime:gI,trpezium:yI,Tscr:xI,tscr:vI,TScy:pI,tscy:bI,TSHcy:wI,tshcy:kI,Tstrok:AI,tstrok:SI,twixt:CI,twoheadleftarrow:NI,twoheadrightarrow:MI,Uacute:TI,uacute:$I,uarr:EI,Uarr:LI,uArr:OI,Uarrocir:jI,Ubrcy:PI,ubrcy:DI,Ubreve:qI,ubreve:BI,Ucirc:VI,ucirc:II,Ucy:RI,ucy:HI,udarr:XI,Udblac:YI,udblac:zI,udhar:UI,ufisht:FI,Ufr:GI,ufr:WI,Ugrave:KI,ugrave:ZI,uHar:QI,uharl:JI,uharr:_I,uhblk:tR,ulcorn:eR,ulcorner:nR,ulcrop:iR,ultri:rR,Umacr:oR,umacr:sR,uml:lR,UnderBar:aR,UnderBrace:cR,UnderBracket:uR,UnderParenthesis:hR,Union:fR,UnionPlus:mR,Uogon:dR,uogon:gR,Uopf:yR,uopf:xR,UpArrowBar:vR,uparrow:pR,UpArrow:bR,Uparrow:wR,UpArrowDownArrow:kR,updownarrow:AR,UpDownArrow:SR,Updownarrow:CR,UpEquilibrium:NR,upharpoonleft:MR,upharpoonright:TR,uplus:$R,UpperLeftArrow:ER,UpperRightArrow:LR,upsi:OR,Upsi:jR,upsih:PR,Upsilon:DR,upsilon:qR,UpTeeArrow:BR,UpTee:VR,upuparrows:IR,urcorn:RR,urcorner:HR,urcrop:XR,Uring:YR,uring:zR,urtri:UR,Uscr:FR,uscr:GR,utdot:WR,Utilde:KR,utilde:ZR,utri:QR,utrif:JR,uuarr:_R,Uuml:tH,uuml:eH,uwangle:nH,vangrt:iH,varepsilon:rH,varkappa:oH,varnothing:sH,varphi:lH,varpi:aH,varpropto:cH,varr:uH,vArr:hH,varrho:fH,varsigma:mH,varsubsetneq:dH,varsubsetneqq:gH,varsupsetneq:yH,varsupsetneqq:xH,vartheta:vH,vartriangleleft:pH,vartriangleright:bH,vBar:wH,Vbar:kH,vBarv:AH,Vcy:SH,vcy:CH,vdash:NH,vDash:MH,Vdash:TH,VDash:$H,Vdashl:EH,veebar:LH,vee:OH,Vee:jH,veeeq:PH,vellip:DH,verbar:qH,Verbar:BH,vert:VH,Vert:IH,VerticalBar:RH,VerticalLine:HH,VerticalSeparator:XH,VerticalTilde:YH,VeryThinSpace:zH,Vfr:UH,vfr:FH,vltri:GH,vnsub:WH,vnsup:KH,Vopf:ZH,vopf:QH,vprop:JH,vrtri:_H,Vscr:tX,vscr:eX,vsubnE:nX,vsubne:iX,vsupnE:rX,vsupne:oX,Vvdash:sX,vzigzag:lX,Wcirc:aX,wcirc:cX,wedbar:uX,wedge:hX,Wedge:fX,wedgeq:mX,weierp:dX,Wfr:gX,wfr:yX,Wopf:xX,wopf:vX,wp:pX,wr:bX,wreath:wX,Wscr:kX,wscr:AX,xcap:SX,xcirc:CX,xcup:NX,xdtri:MX,Xfr:TX,xfr:$X,xharr:EX,xhArr:LX,Xi:OX,xi:jX,xlarr:PX,xlArr:DX,xmap:qX,xnis:BX,xodot:VX,Xopf:IX,xopf:RX,xoplus:HX,xotime:XX,xrarr:YX,xrArr:zX,Xscr:UX,xscr:FX,xsqcup:GX,xuplus:WX,xutri:KX,xvee:ZX,xwedge:QX,Yacute:JX,yacute:_X,YAcy:tY,yacy:eY,Ycirc:nY,ycirc:iY,Ycy:rY,ycy:oY,yen:sY,Yfr:lY,yfr:aY,YIcy:cY,yicy:uY,Yopf:hY,yopf:fY,Yscr:mY,yscr:dY,YUcy:gY,yucy:yY,yuml:xY,Yuml:vY,Zacute:pY,zacute:bY,Zcaron:wY,zcaron:kY,Zcy:AY,zcy:SY,Zdot:CY,zdot:NY,zeetrf:MY,ZeroWidthSpace:TY,Zeta:$Y,zeta:EY,zfr:LY,Zfr:OY,ZHcy:jY,zhcy:PY,zigrarr:DY,zopf:qY,Zopf:BY,Zscr:VY,zscr:IY,zwj:RY,zwnj:HY};var eo;function XY(){return eo||(eo=1,(function(t){var e=x1&&x1.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(t,"__esModule",{value:!0}),t.getTrie=t.encodeHTMLTrieRe=t.getCodePoint=void 0;var n=e(Cs);function i(c){return(c&64512)===55296}t.getCodePoint=String.prototype.codePointAt!=null?function(c,a){return c.codePointAt(a)}:(function(c,a){return i(c.charCodeAt(a))?(c.charCodeAt(a)-55296)*1024+c.charCodeAt(a+1)-56320+65536:c.charCodeAt(a)});var r=l(n.default);function o(c,a){for(var s,u="",m=0,f;(f=c.exec(a))!==null;){var h=f.index,d=a.charCodeAt(h),y=r.get(d);if(y){if(y.next!=null&&h+1<a.length){var w=(s=y.next.get(a.charCodeAt(h+1)))===null||s===void 0?void 0:s.value;if(w!=null){u+=a.substring(m,h)+w,c.lastIndex+=1,m=h+2;continue}}u+=a.substring(m,h)+y.value,m=h+1}else u+=a.substring(m,h)+"&#x"+t.getCodePoint(a,h).toString(16)+";",m=c.lastIndex+=Number(i(d))}return u+a.substr(m)}t.encodeHTMLTrieRe=o;function l(c){for(var a,s,u,m,f=new Map,h=0,d=Object.keys(c);h<d.length;h++){for(var y=d[h],w=c[y],v=f,C=0;C<w.length-1;C++){var S=w.charCodeAt(C),M=(a=v.get(S))!==null&&a!==void 0?a:{};v.set(S,M),v=(s=M.next)!==null&&s!==void 0?s:M.next=new Map}var j=(u=v.get(w.charCodeAt(w.length-1)))!==null&&u!==void 0?u:{};(m=j.value)!==null&&m!==void 0||(j.value="&"+y+";"),v.set(w.charCodeAt(w.length-1),j)}return f}t.getTrie=l})(x1)),x1}var no;function io(){if(no)return Jt;no=1;var t=Jt&&Jt.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.escapeUTF8=Jt.escape=Jt.encodeNonAsciiHTML=Jt.encodeHTML=Jt.encodeXML=void 0;var e=t(A9),n=XY(),i=t(Cs),r=m(i.default,!0),o=m(e.default,!0),l=m(e.default,!1),c=new Map(Object.keys(e.default).map(function(h){return[e.default[h].charCodeAt(0),"&"+h+";"]}));function a(h){for(var d="",y=0,w;(w=o.exec(h))!==null;){var v=w.index,C=h.charCodeAt(v),S=c.get(C);S?(d+=h.substring(y,v)+S,y=v+1):(d+=h.substring(y,v)+"&#x"+n.getCodePoint(h,v).toString(16)+";",y=o.lastIndex+=+((C&65408)===55296))}return d+h.substr(y)}Jt.encodeXML=a;function s(h){return n.encodeHTMLTrieRe(r,h)}Jt.encodeHTML=s;function u(h){return n.encodeHTMLTrieRe(o,h)}Jt.encodeNonAsciiHTML=u;function m(h,d){for(var y=Object.keys(h).map(function(S){return"\\"+h[S].charAt(0)}).filter(function(S){return!d||S.charCodeAt(1)<128}).sort(function(S,M){return S.charCodeAt(1)-M.charCodeAt(1)}).filter(function(S,M,j){return S!==j[M+1]}),w=0;w<y.length-1;w++){for(var v=w;v<y.length-1&&y[v].charCodeAt(1)+1===y[v+1].charCodeAt(1);)v+=1;var C=1+v-w;C<3||y.splice(w,C,y[w]+"-"+y[v])}return new RegExp("["+y.join("")+(d?"\\x80-\\uFFFF":"")+"]","g")}Jt.escape=a;function f(h){for(var d,y=0,w="";d=l.exec(h);)y!==d.index&&(w+=h.substring(y,d.index)),w+=c.get(d[0].charCodeAt(0)),y=d.index+1;return w+h.substring(y)}return Jt.escapeUTF8=f,Jt}var ro;function YY(){return ro||(ro=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.DecodingMode=t.EntityLevel=void 0;var e=to(),n=io(),i;(function(m){m[m.XML=0]="XML",m[m.HTML=1]="HTML"})(i=t.EntityLevel||(t.EntityLevel={}));var r;(function(m){m[m.Legacy=0]="Legacy",m[m.Strict=1]="Strict"})(r=t.DecodingMode||(t.DecodingMode={}));var o;(function(m){m[m.UTF8=0]="UTF8",m[m.ASCII=1]="ASCII",m[m.Extensive=2]="Extensive"})(o=t.EncodingMode||(t.EncodingMode={}));function l(m,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.level===i.HTML?h.mode===r.Strict?e.decodeHTMLStrict(m):e.decodeHTML(m):e.decodeXML(m)}t.decode=l;function c(m,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.level===i.HTML?h.mode===r.Legacy?e.decodeHTML(m):e.decodeHTMLStrict(m):e.decodeXML(m)}t.decodeStrict=c;function a(m,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.mode===o.UTF8?n.escapeUTF8(m):h.level===i.HTML?h.mode===o.ASCII?n.encodeNonAsciiHTML(m):n.encodeHTML(m):n.encodeXML(m)}t.encode=a;var s=io();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return s.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return s.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return s.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return s.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return s.encodeHTML}});var u=to();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return u.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return u.decodeXML}})})(Un)),Un}var Ns=YY(),zY=92,Ms="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",Ts="[A-Za-z][A-Za-z0-9-]*",UY="[a-zA-Z_:][a-zA-Z0-9:._-]*",FY="[^\"'=<>`\\x00-\\x20]+",GY="'[^']*'",WY='"[^"]*"',KY="(?:"+FY+"|"+GY+"|"+WY+")",ZY="(?:\\s*=\\s*"+KY+")",QY="(?:\\s+"+UY+ZY+"?)",$s="<"+Ts+QY+"*\\s*/?>",Es="</"+Ts+"\\s*[>]",JY="<!-->|<!--->|<!--[\\s\\S]*?-->",_Y="[<][?][\\s\\S]*?[?][>]",tz="<![A-Za-z]+[^>]*>",ez="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",nz="(?:"+$s+"|"+Es+"|"+JY+"|"+_Y+"|"+tz+"|"+ez+")",iz=new RegExp("^"+nz),rz=/[\\&]/,Ls="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",oz=new RegExp("\\\\"+Ls+"|"+Ms,"gi"),sz='[&<>"]',oo=new RegExp(sz,"g"),lz=function(t){return t.charCodeAt(0)===zY?t.charAt(1):Ns.decodeHTMLStrict(t)},Os=function(t){return rz.test(t)?t.replace(oz,lz):t},az=function(t){try{return d9(t)}catch{return t}},cz=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return t}},On=function(t){return oo.test(t)?t.replace(oo,cz):t},yi;function Oi(t){return yi(t)}if(String.fromCodePoint)yi=function(t){try{return String.fromCodePoint(t)}catch(e){if(e instanceof RangeError)return"\uFFFD";throw e}};else{var uz=String.fromCharCode,hz=Math.floor;yi=function(){var t=16384,e=[],n,i,r=-1,o=arguments.length;if(!o)return"";for(var l="";++r<o;){var c=Number(arguments[r]);if(!isFinite(c)||c<0||c>1114111||hz(c)!==c)return"\uFFFD";c<=65535?e.push(c):(c-=65536,n=(c>>10)+55296,i=c%1024+56320,e.push(n,i)),(r+1===o||e.length>t)&&(l+=uz.apply(null,e),e.length=0)}return l}}var wn=az,xi=Os,js=10,vi=42,kn=95,fz=96,Ps=91,mz=93,Ds=60,dz=33,qs=92,gz=38,Bs=40,pi=41,yz=58,Ye=39,ze=34,Vs=Ls,Fn="\\\\"+Vs,xz=Ms,vz=iz,so=new RegExp(/^[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\p{P}\p{S}]/u),pz=new RegExp('^(?:"('+Fn+`|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(`+Fn+"|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\(("+Fn+"|\\\\[^\\\\]|[^\\\\()\\x00])*\\))"),bz=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,Is=new RegExp("^"+Vs),wz=new RegExp("^"+xz,"i"),kz=/`+/,Az=/^`+/,Sz=/\.\.\./g,Cz=/--+/g,Nz=/^<([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])?)*)>/,Mz=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,Tz=/^ *(?:\n *)?/,Rs=/^[ \t\n\x0b\x0c\x0d]/,lo=/^\s/,$z=/ *$/,Ez=/^ */,ao=/^ *(?:\n|$)/,Lz=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/s,Oz=/^[^\n`\[\]\\!<&*_'"]+/m,Qt=function(t){var e=new Bt("text");return e._literal=t,e},Hs=function(t){return t.slice(1,t.length-1).trim().replace(/[ \t\r\n]+/g," ").toLowerCase().toUpperCase()},jz=function(t){var e=t.exec(this.subject.slice(this.pos));return e===null?null:(this.pos+=e.index+e[0].length,e[0])},Pz=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},Dz=function(){return this.match(Tz),!0},qz=function(t){var e=this.match(Az);if(e===null)return!1;for(var n=this.pos,i,r,o;(i=this.match(kz))!==null;)if(i===e)return r=new Bt("code"),o=this.subject.slice(n,this.pos-e.length).replace(/\n/gm," "),o.length>0&&o.match(/[^ ]/)!==null&&o[0]==" "&&o[o.length-1]==" "?r._literal=o.slice(1,o.length-1):r._literal=o,t.appendChild(r),!0;return this.pos=n,t.appendChild(Qt(e)),!0},Bz=function(t){var e=this.subject,n;return this.pos+=1,this.peek()===js?(this.pos+=1,n=new Bt("linebreak"),t.appendChild(n)):Is.test(e.charAt(this.pos))?(t.appendChild(Qt(e.charAt(this.pos))),this.pos+=1):t.appendChild(Qt("\\")),!0},Vz=function(t){var e,n,i;return(e=this.match(Nz))?(n=e.slice(1,e.length-1),i=new Bt("link"),i._destination=wn("mailto:"+n),i._title="",i.appendChild(Qt(n)),t.appendChild(i),!0):(e=this.match(Mz))?(n=e.slice(1,e.length-1),i=new Bt("link"),i._destination=wn(n),i._title="",i.appendChild(Qt(n)),t.appendChild(i),!0):!1},Iz=function(t){var e=this.match(vz);if(e===null)return!1;var n=new Bt("html_inline");return n._literal=e,t.appendChild(n),!0},Rz=function(t){var e=0,n,i,r,o=this.pos,l,c,a,s,u,m,f,h;if(t===Ye||t===ze)e++,this.pos++;else for(;this.peek()===t;)e++,this.pos++;return e===0?null:(n=o===0?`
|
|
1
|
+
import{computed as X,isRef as Rn,reactive as Ot,unref as Ct,getCurrentScope as ml,onScopeDispose as gl,watch as St,getCurrentInstance as No,hasInjectionContext as Mo,inject as N1,toValue as Re,shallowRef as C1,readonly as yl,watchEffect as vl,onMounted as To,useTemplateRef as qt,nextTick as $n,openBlock as O,createElementBlock as B,mergeProps as Q,renderSlot as pl,toDisplayString as Ut,createCommentVNode as Lt,createTextVNode as mt,Fragment as lt,renderList as ut,normalizeStyle as P1,createElementVNode as At,createBlock as vt,toHandlers as Pt,normalizeProps as oe,resolveDynamicComponent as c1,guardReactiveProps as y1,createVNode as Te,useModel as ke,createPropsRestProxy as $o,mergeModels as u1,ref as on,useId as xl,Teleport as bl,useSlots as wl,useAttrs as kl,provide as dr}from"vue";function Eo(t){return ml()?(gl(t),!0):!1}const Hn=new WeakMap,Al=(...t)=>{var e;const n=t[0],i=(e=No())==null?void 0:e.proxy;if(i==null&&!Mo())throw new Error("injectLocal must be called in setup");return i&&Hn.has(i)&&n in Hn.get(i)?Hn.get(i)[n]:N1(...t)};function Sl(t){if(!Rn(t))return Ot(t);const e=new Proxy({},{get(n,i,r){return Ct(Reflect.get(t.value,i,r))},set(n,i,r){return Rn(t.value[i])&&!Rn(r)?t.value[i].value=r:t.value[i]=r,!0},deleteProperty(n,i){return Reflect.deleteProperty(t.value,i)},has(n,i){return Reflect.has(t.value,i)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Ot(e)}function $e(t){return Sl(X(t))}const Cl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Nl=Object.prototype.toString,Ml=t=>Nl.call(t)==="[object Object]",Tl=()=>{};function mr(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function Xn(t){return Array.isArray(t)?t:[t]}function Lo(t,e,n){return St(t,e,{...n,immediate:!0})}const En=Cl?window:void 0;function ti(t){var e;const n=Re(t);return(e=n?.$el)!=null?e:n}function $l(...t){const e=[],n=()=>{e.forEach(c=>c()),e.length=0},i=(c,a,s,u)=>(c.addEventListener(a,s,u),()=>c.removeEventListener(a,s,u)),r=X(()=>{const c=Xn(Re(t[0])).filter(a=>a!=null);return c.every(a=>typeof a!="string")?c:void 0}),o=Lo(()=>{var c,a;return[(a=(c=r.value)==null?void 0:c.map(s=>ti(s)))!=null?a:[En].filter(s=>s!=null),Xn(Re(r.value?t[1]:t[0])),Xn(Ct(r.value?t[2]:t[1])),Re(r.value?t[3]:t[2])]},([c,a,s,u])=>{if(n(),!c?.length||!a?.length||!s?.length)return;const d=Ml(u)?{...u}:u;e.push(...c.flatMap(f=>a.flatMap(h=>s.map(g=>i(f,h,g,d)))))},{flush:"post"}),l=()=>{o(),n()};return Eo(n),l}function El(){const t=C1(!1),e=No();return e&&To(()=>{t.value=!0},e),t}function Oo(t){const e=El();return X(()=>(e.value,!!t()))}const Ll=Symbol("vueuse-ssr-width");function Ol(){const t=Mo()?Al(Ll,null):null;return typeof t=="number"?t:void 0}function jl(t,e={}){const{window:n=En,ssrWidth:i=Ol()}=e,r=Oo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=C1(typeof i=="number"),l=C1(),c=C1(!1),a=s=>{c.value=s.matches};return vl(()=>{if(o.value){o.value=!r.value;const s=Re(t).split(",");c.value=s.some(u=>{const d=u.includes("not all"),f=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let g=!!(f||h);return f&&g&&(g=i>=mr(f[1])),h&&g&&(g=i<=mr(h[1])),d?!g:g});return}r.value&&(l.value=n.matchMedia(Re(t)),c.value=l.value.matches)}),$l(l,"change",a,{passive:!0}),X(()=>c.value)}function Pl(t={}){const{window:e=En}=t,n=C1(1),i=jl(()=>`(resolution: ${n.value}dppx)`,t);let r=Tl;return e&&(r=Lo(i,()=>n.value=e.devicePixelRatio)),{pixelRatio:yl(n),stop:r}}function jo(t,e,n={}){const{window:i=En,...r}=n;let o;const l=Oo(()=>i&&"ResizeObserver"in i),c=()=>{o&&(o.disconnect(),o=void 0)},a=X(()=>{const d=Re(t);return Array.isArray(d)?d.map(f=>ti(f)):[ti(d)]}),s=St(a,d=>{if(c(),l.value&&i){o=new ResizeObserver(e);for(const f of d)f&&o.observe(f,r)}},{immediate:!0,flush:"post"}),u=()=>{c(),s()};return Eo(u),{isSupported:l,stop:u}}const V1=()=>!1,ei=Object.assign,Dl=Symbol(""),ql=Symbol(""),Bl=Symbol(""),Vl=Symbol(""),Po={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Il(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Po}}function ni(t,e=!1,n=Po,i=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:i}}const gr=new Uint8Array([123,123]),yr=new Uint8Array([125,125]);function vr(t){return t>=97&&t<=122||t>=65&&t<=90}function ie(t){return t===32||t===10||t===9||t===12||t===13}function Ne(t){return t===47||t===62||ie(t)}function sn(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const Gt={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Rl{constructor(e,n){this.stack=e,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=gr,this.delimiterClose=yr,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=gr,this.delimiterClose=yr}getPos(e){let n=1,i=e+1;const r=this.newlines.length;let o=-1;if(r>100){let l=-1,c=r;for(;l+1<c;){const a=l+c>>>1;this.newlines[a]<e?l=a:c=a}o=l}else for(let l=r-1;l>=0;l--)if(e>this.newlines[l]){o=l;break}return o>=0&&(n=o+2,i=e-this.newlines[o]),{column:i,line:n,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Ne(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||ie(e)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const i=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=i}this.sectionStart=n+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Gt.TitleEnd||this.currentSequence===Gt.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===60)}stateCDATASequence(e){e===Gt.Cdata[this.sequenceIndex]?++this.sequenceIndex===Gt.Cdata.length&&(this.state=28,this.currentSequence=Gt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Gt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,n){this.enterRCDATA(e,n),this.state=31}enterRCDATA(e,n){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=n}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):vr(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){Ne(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Ne(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(sn("</"+n),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){ie(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=vr(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||ie(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?this.state=7:e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):ie(e)||this.handleAttrStart(e)}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):ie(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||Ne(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||Ne(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||Ne(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||Ne(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||Ne(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):ie(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):ie(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,n){(e===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){ie(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):(e===39||e===60||e===61||e===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=Gt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===Gt.ScriptEnd[3]?this.startSpecial(Gt.ScriptEnd,4):e===Gt.StyleEnd[3]?this.startSpecial(Gt.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Gt.TitleEnd[3]?this.startSpecial(Gt.TitleEnd,4):e===Gt.TextareaEnd[3]?this.startSpecial(Gt.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===Gt.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,n){}}function pr(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function Do(t,e){const n=pr("MODE",e),i=pr(t,e);return n===3?i===!0:i!==!1}function ln(t,e,n,...i){return Do(t,e)}function Hl(t){throw t}function Xl(t){}function Yl(t,e,n,i){const r=`https://vuejs.org/error-reference/#compiler-${t}`,o=new SyntaxError(String(r));return o.code=t,o.loc=e,o}const zl=t=>t.type===4&&t.isStatic;function Fl(t){switch(t){case"Teleport":case"teleport":return Dl;case"Suspense":case"suspense":return ql;case"KeepAlive":case"keep-alive":return Bl;case"BaseTransition":case"base-transition":return Vl}}function Ul(t,e){return!!(t&&zl(t)&&t.content===e)}function xr(t){return t.type===7&&t.name==="pre"}const Gl=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Wl(t){for(let e=0;e<t.length;e++)if(!ie(t.charCodeAt(e)))return!1;return!0}const qo={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:V1,isPreTag:V1,isIgnoreNewlineTag:V1,isCustomElement:V1,onError:Hl,onWarn:Xl,comments:!1,prefixIdentifiers:!1};let bt=qo,M1=null,Se="",Wt=null,gt=null,ee="",we=-1,Pe=-1,Mi=0,Me=!1,ii=null;const Nt=[],Et=new Rl(Nt,{onerr:xe,ontext(t,e){I1(Yt(t,e),t,e)},ontextentity(t,e,n){I1(t,e,n)},oninterpolation(t,e){if(Me)return I1(Yt(t,e),t,e);let n=t+Et.delimiterOpen.length,i=e-Et.delimiterClose.length;for(;ie(Se.charCodeAt(n));)n++;for(;ie(Se.charCodeAt(i-1));)i--;let r=Yt(n,i);r.includes("&")&&(r=bt.decodeEntities(r,!1)),ri({type:5,content:_1(r,!1,Dt(n,i)),loc:Dt(t,e)})},onopentagname(t,e){const n=Yt(t,e);Wt={type:1,tag:n,ns:bt.getNamespace(n,Nt[0],bt.ns),tagType:0,props:[],children:[],loc:Dt(t-1,e),codegenNode:void 0}},onopentagend(t){wr(t)},onclosetag(t,e){const n=Yt(t,e);if(!bt.isVoidTag(n)){let i=!1;for(let r=0;r<Nt.length;r++)if(Nt[r].tag.toLowerCase()===n.toLowerCase()){i=!0,r>0&&xe(24,Nt[0].loc.start.offset);for(let l=0;l<=r;l++){const c=Nt.shift();J1(c,e,l<r)}break}i||xe(23,Bo(t,60))}},onselfclosingtag(t){const e=Wt.tag;Wt.isSelfClosing=!0,wr(t),Nt[0]&&Nt[0].tag===e&&J1(Nt.shift(),t)},onattribname(t,e){gt={type:6,name:Yt(t,e),nameLoc:Dt(t,e),value:void 0,loc:Dt(t)}},ondirname(t,e){const n=Yt(t,e),i=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Me&&i===""&&xe(26,t),Me||i==="")gt={type:6,name:n,nameLoc:Dt(t,e),value:void 0,loc:Dt(t)};else if(gt={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[ni("prop")]:[],loc:Dt(t)},i==="pre"){Me=Et.inVPre=!0,ii=Wt;const r=Wt.props;for(let o=0;o<r.length;o++)r[o].type===7&&(r[o]=ia(r[o]))}},ondirarg(t,e){if(t===e)return;const n=Yt(t,e);if(Me&&!xr(gt))gt.name+=n,Ve(gt.nameLoc,e);else{const i=n[0]!=="[";gt.arg=_1(i?n:n.slice(1,-1),i,Dt(t,e),i?3:0)}},ondirmodifier(t,e){const n=Yt(t,e);if(Me&&!xr(gt))gt.name+="."+n,Ve(gt.nameLoc,e);else if(gt.name==="slot"){const i=gt.arg;i&&(i.content+="."+n,Ve(i.loc,e))}else{const i=ni(n,!0,Dt(t,e));gt.modifiers.push(i)}},onattribdata(t,e){ee+=Yt(t,e),we<0&&(we=t),Pe=e},onattribentity(t,e,n){ee+=t,we<0&&(we=e),Pe=n},onattribnameend(t){const e=gt.loc.start.offset,n=Yt(e,t);gt.type===7&&(gt.rawName=n),Wt.props.some(i=>(i.type===7?i.rawName:i.name)===n)&&xe(2,e)},onattribend(t,e){if(Wt&>){if(Ve(gt.loc,e),t!==0)if(ee.includes("&")&&(ee=bt.decodeEntities(ee,!0)),gt.type===6)gt.name==="class"&&(ee=Io(ee).trim()),t===1&&!ee&&xe(13,e),gt.value={type:2,content:ee,loc:t===1?Dt(we,Pe):Dt(we-1,Pe+1)},Et.inSFCRoot&&Wt.tag==="template"&>.name==="lang"&&ee&&ee!=="html"&&Et.enterRCDATA(sn("</template"),0);else{let n=0;gt.exp=_1(ee,!1,Dt(we,Pe),0,n),gt.name==="for"&&(gt.forParseResult=Zl(gt.exp));let i=-1;gt.name==="bind"&&(i=gt.modifiers.findIndex(r=>r.content==="sync"))>-1&&ln("COMPILER_V_BIND_SYNC",bt,gt.loc,gt.arg.loc.source)&&(gt.name="model",gt.modifiers.splice(i,1))}(gt.type!==7||gt.name!=="pre")&&Wt.props.push(gt)}ee="",we=Pe=-1},oncomment(t,e){bt.comments&&ri({type:3,content:Yt(t,e),loc:Dt(t-4,e+3)})},onend(){const t=Se.length;for(let e=0;e<Nt.length;e++)J1(Nt[e],t-1),xe(24,Nt[e].loc.start.offset)},oncdata(t,e){Nt[0].ns!==0?I1(Yt(t,e),t,e):xe(1,t-9)},onprocessinginstruction(t){(Nt[0]?Nt[0].ns:bt.ns)===0&&xe(21,t-1)}}),br=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Kl=/^\(|\)$/g;function Zl(t){const e=t.loc,n=t.content,i=n.match(Gl);if(!i)return;const[,r,o]=i,l=(d,f,h=!1)=>{const g=e.start.offset+f,y=g+d.length;return _1(d,!1,Dt(g,y),0,h?1:0)},c={source:l(o.trim(),n.indexOf(o,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=r.trim().replace(Kl,"").trim();const s=r.indexOf(a),u=a.match(br);if(u){a=a.replace(br,"").trim();const d=u[1].trim();let f;if(d&&(f=n.indexOf(d,s+a.length),c.key=l(d,f,!0)),u[2]){const h=u[2].trim();h&&(c.index=l(h,n.indexOf(h,c.key?f+d.length:s+a.length),!0))}}return a&&(c.value=l(a,s,!0)),c}function Yt(t,e){return Se.slice(t,e)}function wr(t){Et.inSFCRoot&&(Wt.innerLoc=Dt(t+1,t+1)),ri(Wt);const{tag:e,ns:n}=Wt;n===0&&bt.isPreTag(e)&&Mi++,bt.isVoidTag(e)?J1(Wt,t):(Nt.unshift(Wt),(n===1||n===2)&&(Et.inXML=!0)),Wt=null}function I1(t,e,n){{const o=Nt[0]&&Nt[0].tag;o!=="script"&&o!=="style"&&t.includes("&")&&(t=bt.decodeEntities(t,!1))}const i=Nt[0]||M1,r=i.children[i.children.length-1];r&&r.type===2?(r.content+=t,Ve(r.loc,n)):i.children.push({type:2,content:t,loc:Dt(e,n)})}function J1(t,e,n=!1){n?Ve(t.loc,Bo(e,60)):Ve(t.loc,Ql(e,62)+1),Et.inSFCRoot&&(t.children.length?t.innerLoc.end=ei({},t.children[t.children.length-1].loc.end):t.innerLoc.end=ei({},t.innerLoc.start),t.innerLoc.source=Yt(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:r,children:o}=t;if(Me||(i==="slot"?t.tagType=2:kr(t)?t.tagType=3:_l(t)&&(t.tagType=1)),Et.inRCDATA||(t.children=Vo(o)),r===0&&bt.isIgnoreNewlineTag(i)){const l=o[0];l&&l.type===2&&(l.content=l.content.replace(/^\r?\n/,""))}r===0&&bt.isPreTag(i)&&Mi--,ii===t&&(Me=Et.inVPre=!1,ii=null),Et.inXML&&(Nt[0]?Nt[0].ns:bt.ns)===0&&(Et.inXML=!1);{const l=t.props;if(!Et.inSFCRoot&&Do("COMPILER_NATIVE_TEMPLATE",bt)&&t.tag==="template"&&!kr(t)){const a=Nt[0]||M1,s=a.children.indexOf(t);a.children.splice(s,1,...t.children)}const c=l.find(a=>a.type===6&&a.name==="inline-template");c&&ln("COMPILER_INLINE_TEMPLATE",bt,c.loc)&&t.children.length&&(c.value={type:2,content:Yt(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:c.loc})}}function Ql(t,e){let n=t;for(;Se.charCodeAt(n)!==e&&n<Se.length-1;)n++;return n}function Bo(t,e){let n=t;for(;Se.charCodeAt(n)!==e&&n>=0;)n--;return n}const Jl=new Set(["if","else","else-if","for","slot"]);function kr({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&Jl.has(e[n].name))return!0}return!1}function _l({tag:t,props:e}){if(bt.isCustomElement(t))return!1;if(t==="component"||ta(t.charCodeAt(0))||Fl(t)||bt.isBuiltInComponent&&bt.isBuiltInComponent(t)||bt.isNativeTag&&!bt.isNativeTag(t))return!0;for(let n=0;n<e.length;n++){const i=e[n];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(ln("COMPILER_IS_ON_ELEMENT",bt,i.loc))return!0}}else if(i.name==="bind"&&Ul(i.arg,"is")&&ln("COMPILER_IS_ON_ELEMENT",bt,i.loc))return!0}return!1}function ta(t){return t>64&&t<91}const ea=/\r\n/g;function Vo(t){const e=bt.whitespace!=="preserve";let n=!1;for(let i=0;i<t.length;i++){const r=t[i];if(r.type===2)if(Mi)r.content=r.content.replace(ea,`
|
|
2
|
+
`);else if(Wl(r.content)){const o=t[i-1]&&t[i-1].type,l=t[i+1]&&t[i+1].type;!o||!l||e&&(o===3&&(l===3||l===1)||o===1&&(l===3||l===1&&na(r.content)))?(n=!0,t[i]=null):r.content=" "}else e&&(r.content=Io(r.content))}return n?t.filter(Boolean):t}function na(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function Io(t){let e="",n=!1;for(let i=0;i<t.length;i++)ie(t.charCodeAt(i))?n||(e+=" ",n=!0):(e+=t[i],n=!1);return e}function ri(t){(Nt[0]||M1).children.push(t)}function Dt(t,e){return{start:Et.getPos(t),end:e==null?e:Et.getPos(e),source:e==null?e:Yt(t,e)}}function Ve(t,e){t.end=Et.getPos(e),t.source=Yt(t.start.offset,e)}function ia(t){const e={type:6,name:t.rawName,nameLoc:Dt(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const n=t.exp.loc;n.end.offset<t.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),e.value={type:2,content:t.exp.content,loc:n}}return e}function _1(t,e=!1,n,i=0,r=0){return ni(t,e,n,i)}function xe(t,e,n){bt.onError(Yl(t,Dt(e,e)))}function ra(){Et.reset(),Wt=null,gt=null,ee="",we=-1,Pe=-1,Nt.length=0}function oa(t,e){if(ra(),Se=t,bt=ei({},qo),e){let r;for(r in e)e[r]!=null&&(bt[r]=e[r])}Et.mode=bt.parseMode==="html"?1:bt.parseMode==="sfc"?2:0,Et.inXML=bt.ns===1||bt.ns===2;const n=e&&e.delimiters;n&&(Et.delimiterOpen=sn(n[0]),Et.delimiterClose=sn(n[1]));const i=M1=Il([],t);return Et.parse(Se),i.loc=Dt(0,t.length),i.children=Vo(i.children),M1=null,i}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");class o1 extends String{static#t=new Map;constructor(e){const n=String(e);if(o1.#t.has(n))return o1.#t.get(n);super(n),o1.#t.set(n,this)}}class s1 extends Number{static#t=new Map;constructor(e){const n=Number(e);if(s1.#t.has(n))return s1.#t.get(n);super(n),s1.#t.set(n,this)}}class He{static#t=new Map;constructor(e){if(typeof e=="string"||e instanceof String)return new o1(e);if(typeof e=="number"||e instanceof Number)return new s1(e);throw new Error("Unsupported type")}static[Symbol.hasInstance](e){return e instanceof o1||e instanceof s1}}class Ro{constructor(e,n,i){this.label=e,this.value=n,this.level=i}toString(){return this.label}valueOf(){return this.value}toJSON(){return this.label}}class Xe extends Array{static from(e){if(e instanceof this)return e;if(e[Symbol.iterator]){let n=w1(Array.from(e).filter(i=>!(i instanceof He)&&i!=null).map(i=>String(i))).sort((i,r)=>Ar(i,r,{numeric:!0}));return new this(...n)}else if(typeof e=="object"){let n=Object.keys(e).map(i=>String(i)).sort((i,r)=>Ar(e[i],e[r]));return new this(...n)}throw new Error(`Invalid level values: ${e}`)}static isEqual(e,n){if(e instanceof this&&n instanceof this)return e.length===n.length&&Array(e.length).fill().every((i,r)=>e[r].label===n[r].label)}constructor(...e){return e=e.map((n,i)=>new Ro(String(n),i)),e.forEach(n=>n.level=e),e.mapping=Object.fromEntries(e.map(n=>[n,n])),Object.setPrototypeOf(e,Xe.prototype),e}getItem(e){return typeof e=="number"||e instanceof Number?this[e]:this.mapping[e]}apply(e){let n=e.map(i=>i instanceof He?i:this.mapping[i]);return n.level=this,n}}function Ze(t){return typeof t=="number"||t instanceof Number||t instanceof Date}function T1(t){return typeof t=="string"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="object"&&t!==null&&typeof t.valueOf()!="number"&&typeof t.valueOf()!="bigint"}function ft(t,e=0){return e==0||t==null?t:t instanceof Date?new t.constructor(+t+e):+t+e}const Ft={min(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Ze)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i<r?i:r,1/0)},max(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Ze)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i>r?i:r,-1/0)},mean(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Ze)),n&&(t=t.filter(i=>isFinite(i))),t.length==0?NaN:Array.from(t).reduce((i,r)=>i+r,0)/t.length},sd(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(Ze)),n&&(t=t.filter(r=>isFinite(r))),t.length<=1)return NaN;let i=Array.from(t).reduce((r,o)=>r+o,0)/t.length;return Math.sqrt(Array.from(t).reduce((r,o)=>r+(o-i)**2,0)/(t.length-1))},quantile(t,e,{na_rm:n=!0,infinity_rm:i=!0}={}){if(n&&(t=t.filter(Ze)),i&&(t=t.filter(c=>isFinite(c))),t.length==0)return NaN;t=Array.from(t).sort((c,a)=>c-a);let r=(t.length-1)*e,o=Math.floor(r),l=Math.ceil(r);return o==l?t[o]:t[o]*(l-r)+t[l]*(r-o)},extent(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(Ze)),n&&(t=t.filter(o=>isFinite(o))),t.length==0)return new Array(2);let i=Array.from(t).reduce((o,l)=>o<l?o:l,1/0),r=Array.from(t).reduce((o,l)=>o>l?o:l,-1/0);return Object.assign([i,r],{min:i,max:r})}},jt={sum(...t){if(t.some(i=>i==null))return null;if(t.some(i=>!Array.isArray(i)&&typeof i!="number"))throw new Error("Arguments must be numbers or arrays");let e=t.filter(i=>!Array.isArray(i)).reduce((i,r)=>+r+i,0);if(t=t.filter(i=>Array.isArray(i)),t.length==0)return[e];if(t.some(i=>i.length==0))return[];let n=t[0].length;if(t.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.reduce((o,l)=>+l[r]+o,e))},opposite(t){if(t==null)return null;if(!Array.isArray(t)&&typeof t!="number")throw new Error("Arguments must be numbers or arrays");return Array.isArray(t)?t.map(e=>e==null?e:-e):-t},concat(...t){if(t.some(i=>i==null))return null;let e=t.filter(i=>Array.isArray(i));if(e.length==0)return[t.join("")];if(t.some(i=>i.length==0))return[];let n=e[0].length;if(e.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.map(o=>Array.isArray(o)?o[r]:o).join(""))},apply(t,...e){if(e.some(r=>r==null))return null;let n=e.filter(r=>Array.isArray(r));if(n.length==0)return[t(...e)];if(e.some(r=>r.length==0))return[];let i=n[0].length;if(n.some(r=>r.length!=i))throw new Error("Arrays must have the same length");return Array.from({length:i},(r,o)=>t(...e.map(l=>Array.isArray(l)?l[o]:l)))}};function $t(...t){if(t=t.filter(e=>e!==void 0),t.length!=0)return t=t.slice(t.findIndex(e=>e==null)+1),t.length==0?null:t.reduce((e,n)=>{for(let i in n)n[i]===null&&delete e[i],n[i]!=null&&(e[i]=n[i]);return e},{})}function De(...t){if(!t.some(e=>e===void 0))return t.some(e=>e===null)?null:t.join("")}function w1(t,e=null){let n=new Map;for(let i in t){let r=e?e(t[i]):t[i];n.has(r)||n.set(r,t[i])}return Array.from(n.values())}function Ar(t,e,{numeric:n=!1}={}){return typeof t!="number"||typeof e!="number"?String(t).localeCompare(String(e),void 0,{numeric:n}):t-e}function Be(t,...e){return Array.isArray(t)?(t=t.filter(n=>typeof n=="function"),t.length===0?!1:(t.forEach(n=>n(...e)),!0)):typeof t!="function"?!1:(t(...e),!0)}function Le(t,{min:e,max:n}){return t<e||t>n?NaN:t}function yt(t,{min:e,max:n}){return t<e?e:t>n?n:t}function oi(t,{min:e,max:n}){return t==-1/0?e:t==1/0?n:t}function zt(t){return typeof t!="object"||t==null?t:Object.fromEntries(Object.entries(t).filter(([e,n])=>n!=null))}function Ho(t,e){if(t===e)return!0;if(typeof t!="object"||typeof e!="object"||t==null||e==null)return!1;let n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(let r of n)if(!Ho(t[r],e[r]))return!1;return!0}function sa(t){if(!Array.isArray(t))throw new Error("Argument must be an array");let e=[],n=[];for(let i=0;i<t.length;i++){let r=t[i],o=e.findIndex(l=>Ho(l,r));o===-1&&(e.push(r),o=e.length-1),n.push(o)}return n.categories=e,n}function la(...t){if(t.length==0)return null;let e=t.filter(r=>Array.isArray(r)).reduce((r,o)=>{if(Array.isArray(o)){if(r==null)return o.length;if(r!=o.length)throw new Error("Arrays must have the same length")}return r},null)??0,n=[],i=[];for(let r=0;r<e;r++){let o=t.map(c=>Array.isArray(c)?c[r]:c),l=n.findIndex(c=>c.every((a,s)=>a===o[s]));l===-1&&(n.push(o),l=n.length-1),i.push(l)}return i.categories=n,i}function ne(t){if(Object.keys(t).length==0)return null;let e=Object.values(t).filter(o=>Array.isArray(o)).reduce((o,l)=>{if(Array.isArray(l)){if(o==null)return l.length;if(o!=l.length)throw new Error("Arrays must have the same length")}return o},null)??0,n=Object.keys(t),i=[],r=[];for(let o=0;o<e;o++){let l=Object.fromEntries(n.map(a=>[a,Array.isArray(t[a])?t[a][o]:t[a]])),c=i.findIndex(a=>n.every(s=>a[s]===l[s]));c===-1&&(i.push(l),c=i.length-1),r.push(c)}return r.categories=i,r}function Ti(t){if(Object.keys(t).length==0)return[];let e=Object.values(t).filter(n=>Array.isArray(n)).reduce((n,i)=>{if(Array.isArray(i)){if(n==null)return i.length;if(n!=i.length)throw new Error("Arrays must have the same length")}return n},null)??0;return Array.from({length:e},(n,i)=>Object.fromEntries(Object.keys(t).map(r=>[r,Array.isArray(t[r])?t[r][i]:t[r]])))}function Ht(t){return t==null?[]:Array.isArray(t)?t:t==="solid"?[]:t==="dashed"?[4,4]:t==="dotted"?[1,3]:t==="dotdash"?[1,3,4,3]:t==="longdash"?[8,4]:t==="twodash"?[2,2,6,2]:t.includes(" ")?t.split(" ").map(e=>+e):t.split("").map(e=>+("0x"+e))}const Yn={"":1,px:1,in:96,cm:96/2.54,mm:96/25.4,pt:96/72,pc:16};function aa(t,{unit:e="mm"}={}){if(!(t instanceof SVGElement))return null;function n(c){let a=c.childNodes.length;for(;a--;){const s=c.childNodes[a];s.nodeType===Node.COMMENT_NODE?c.removeChild(s):s.nodeType===Node.ELEMENT_NODE&&(n(s),s.getAttribute("style")==""&&s.removeAttribute("style"),s.getAttribute("class")==""&&s.removeAttribute("class"))}}let i=t.cloneNode(!0),r=Array.from(t.querySelectorAll("foreignObject")),o=Array.from(i.querySelectorAll("foreignObject"));for(let c=0;c<r.length;c++){let a=r[c],s=o[c],u=r[c].querySelector("canvas");if(!u)continue;let d=i.ownerDocument.createElementNS("http://www.w3.org/2000/svg","image");d.setAttribute("href",u.toDataURL()),d.setAttribute("x",a.getAttribute("x")),d.setAttribute("y",a.getAttribute("y")),d.setAttribute("width",a.getAttribute("width")),d.setAttribute("height",a.getAttribute("height")),s.parentNode.replaceChild(d,s)}for(let c of i.querySelectorAll(".vvplot-interactive"))c.remove();return n(i),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("version","1.1"),Yn[e]||(e=""),i.setAttribute("width",t.scrollWidth/Yn[e]+e),i.setAttribute("height",t.scrollHeight/Yn[e]+e),i.setAttribute("viewBox",`0 0 ${t.scrollWidth} ${t.scrollHeight}`),new XMLSerializer().serializeToString(i)}const Xo={axis:{line_width:1,tick_width:1,tick_length:5,label_size:12,title_size:18},axis_h:{title_offset:20},axis_v:{title_offset:30,title_angle:90},axis_left:{tick_position:"left",title_position:"left"},axis_right:{tick_position:"right",title_position:"right"},axis_top:{tick_position:"top",title_position:"top"},axis_bottom:{tick_position:"bottom",title_position:"bottom"},grid:{line_width:1,line_width_major:2},plot:{margin:20,padding_h:50,padding_v:30},legend:{spacing:4},selection:{background:"#00000020"}},Yo={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"},grid:{line_color:"#eeeeee"}},ca={axis:{line_color:"gray",tick_color:"gray",label_color:"gray",title_color:"gray"},grid:{line_color:"#eeeeee"}},ua={axis:{tick_color:"black",label_color:"black",title_color:"black"},grid:{line_color:"white"},plot:{background:"#eeeeee"}},ha={axis:{tick_color:"#333333",label_color:"#555555",title_color:"black"},grid:{line_color:"#666666"},plot:{background:"#888888"}},fa={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"},grid:{line_color:"black",line_width_major:1,line_width_minor:.5}},da={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"},grid:null},ma={axis:null,grid:null};function ga(...t){return t.reduce((e,n)=>{for(let i in n)n[i]===null?e[i]=null:e[i]=$t(e[i],n[i]);return e??void 0},{})}function ya(t,e=!1){let{axis_h:n,axis_v:i,axis_x:r,axis_y:o,grid_h:l,grid_v:c,grid_x:a,grid_y:s,plot:{margin_x:u,margin_y:d,margin_h:f,margin_v:h,padding_x:g,padding_y:y,padding_h:w,padding_v:x,...M}={},...A}=t;return e?(n=$t(n,o),i=$t(i,r),l=$t(l,a),c=$t(c,s),M.margin_h=d===void 0?f:d,M.margin_v=u===void 0?h:u,M.padding_h=y===void 0?w:y,M.padding_v=g===void 0?x:g):(n=$t(n,r),i=$t(i,o),l=$t(l,s),c=$t(c,a),M.margin_h=u===void 0?f:u,M.margin_v=d===void 0?h:d,M.padding_h=g===void 0?w:g,M.padding_v=y===void 0?x:y),{axis_h:n,axis_v:i,grid_h:l,grid_v:c,plot:M,...A}}function va(t){function e(n){return{line_color_major:["line_color","line_color_major"].map(i=>n?.[i]).findLast(i=>i!==void 0),line_color_minor:["line_color","line_color_minor"].map(i=>n?.[i]).findLast(i=>i!==void 0),line_width_major:["line_width","line_width_major"].map(i=>n?.[i]).findLast(i=>i!==void 0),line_width_minor:["line_width","line_width_minor"].map(i=>n?.[i]).findLast(i=>i!==void 0)}}return{axis:{h:$t(...["axis","axis_h"].map(n=>t?.[n])),v:$t(...["axis","axis_v"].map(n=>t?.[n])),left:$t(...["axis","axis_v","axis_left"].map(n=>t?.[n])),right:$t(...["axis","axis_v","axis_right"].map(n=>t?.[n])),top:$t(...["axis","axis_h","axis_top"].map(n=>t?.[n])),bottom:$t(...["axis","axis_h","axis_bottom"].map(n=>t?.[n]))},grid:{h:e($t(...["grid","grid_h"].map(n=>t?.[n]))),v:e($t(...["grid","grid_v"].map(n=>t?.[n])))},plot:{margin:{left:["margin","margin_h","margin_left"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,right:["margin","margin_h","margin_right"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,top:["margin","margin_v","margin_top"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,bottom:["margin","margin_v","margin_bottom"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0},padding:{left:["padding","padding_h","padding_left"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,right:["padding","padding_h","padding_right"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,top:["padding","padding_v","padding_top"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,bottom:["padding","padding_v","padding_bottom"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0},background:t?.plot?.background},selection:t?.selection??{},legend:{spacing:t?.legend?.spacing??0}}}const pa={base:Xo,default:Yo,light:ca,classic:da,gray:ua,dark:ha,linedraw:fa,void:ma},xa={scale_attrs:[],coord_scale(t,e){return null},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return null}};let Tt=jt.sum;const ba={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0;if(t.x){let r=Tt(e.x?.apply?.(t.x)??t.x,n),o=Tt(r,t.width?.map?.(y=>-y/2)??-.5,n),l=Tt(r,t.width?.map?.(y=>+y/2)??.5,n),c=Tt(t.lwisker,i),a=Tt(t.Q1,i),s=Tt(t.median,i),u=Tt(t.Q3,i),d=Tt(t.uwisker,i),f=jt.apply((y,{y:w,$raw:x},M)=>Tt(w,M).map((A,T)=>({x:y,y:A,$raw:x[T]})),r,t.outliers??[],i),h=Tt(t.min,i),g=Tt(t.max,i);return{x:r,xmin:o,xmax:l,lwisker:c,Q1:a,median:s,Q3:u,uwisker:d,outliers:f,$xmin:o,$xmax:l,$ymin:h,$ymax:g}}else if(t.y){let r=Tt(e.y?.apply?.(t.y)??t.y,i),o=Tt(r,t.height?.map?.(y=>-y/2)??-.5,i),l=Tt(r,t.height?.map?.(y=>+y/2)??.5,i),c=Tt(t.lwisker,n),a=Tt(t.Q1,n),s=Tt(t.median,n),u=Tt(t.Q3,n),d=Tt(t.uwisker,n),f=jt.apply((y,{x:w,$raw:x},M)=>Tt(w,M).map((A,T)=>({x:A,y,$raw:x[T]})),r,t.outliers??[],n),h=Tt(t.min,n),g=Tt(t.max,n);return{y:r,ymin:o,ymax:l,lwisker:c,Q1:a,median:s,Q3:u,uwisker:d,outliers:f,$xmin:h,$xmax:g,$ymin:o,$ymax:l}}return{}},get_range(t,e){if(e=="x")return t.x||(t.min??[]).concat(t.max??[]);if(e=="y")return t.y||(t.min??[]).concat(t.max??[])},validate(t){return[t.$xmin,t.$xmax,t.$ymin,t.$ymax].some(e=>isNaN(e))?null:t}},wa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(o=>+o),i=t.ynudge?.map(o=>+o);return{points:t.points.map((o,l)=>o.map(c=>{let a=n?.[l]??0,s=i?.[l]??0;return{x:+(e?.x?.[c.x]??c.x)+a,y:+(e?.y?.[c.y]??c.y)+s}}))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let Qe=jt.sum;const ka={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let{A:n,B:i,C:r}=t,o=t.xnudge??0,l=t.ynudge??0,c=Qe(e.x?.apply?.(t.cx)??t.cx,o),a=Qe(e.y?.apply?.(t.cy)??t.cy,l);return{cx:c,cy:a,A:n,B:i,C:r}},get_range(t,e){if(e=="x"){let n=jt.apply((i,r,o)=>Math.sqrt(o/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return Qe(t.cx??[],n).concat(Qe(t.cx??[],jt.opposite(n))??[])}if(e=="y"){let n=jt.apply((i,r,o)=>Math.sqrt(i/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return Qe(t.cy??[],n).concat(Qe(t.cy??[],jt.opposite(n))??[])}},validate(t){return isNaN(t.cx)||isNaN(t.cy)||isNaN(t.A)||isNaN(t.B)||isNaN(t.C)||!(t.A*t.C>t.B*t.B)?null:t}};let R1=jt.sum;const Aa={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=R1(e.x?.apply?.(t.x)??t.x,n),o=R1(e.y?.apply?.(t.y)??t.y,i),l=R1(e.x?.apply?.(t.xend)??t.xend,n),c=R1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let Sr=jt.sum;const Sa={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Sr(e.x?.apply?.(t.x)??t.x,n),o=Sr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}};let H1=jt.sum;const Ca={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=H1(e.x?.apply?.(t.x)??t.x,n),o=H1(e.y?.apply?.(t.y)??t.y,i),l=H1(e.x?.apply?.(t.xend)??t.xend,n),c=H1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.xend)||isNaN(t.y)||isNaN(t.yend)?null:t}};let Cr=jt.sum;const Na={scale_attrs:["shape","size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Cr(e.x?.apply?.(t.x)??t.x,n),o=Cr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}},Ma={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(o=>+o),i=t.ynudge?.map(o=>+o);return{points:t.points.map((o,l)=>o.map(c=>{let a=n?.[l]??0,s=i?.[l]??0;return{x:+(e?.x?.[c.x]??c.x)+a,y:+(e?.y?.[c.y]??c.y)+s}}))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let X1=jt.sum;const Ta={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=X1(e.x?.apply?.(t.xmin)??t.xmin,n),o=X1(e.x?.apply?.(t.xmax)??t.xmax,n),l=X1(e.y?.apply?.(t.ymin)??t.ymin,i),c=X1(e.y?.apply?.(t.ymax)??t.ymax,i);return{xmin:r,xmax:o,ymin:l,ymax:c}},get_range(t,e){if(e=="x")return(t.xmin??[]).concat(t.xmax??[]);if(e=="y")return(t.ymin??[]).concat(t.ymax??[])},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}};let Je=jt.sum;const $a={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Je(e.x?.apply?.(t.x)??t.x,n),o=Je(e.y?.apply?.(t.y)??t.y,i),l=Je(r,t.dx),c=Je(o,t.dy);return{x:r,y:o,xend:l,yend:c}},get_values(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},get_range(t,e){if(e=="x")return(t.x??[]).concat(Je(t.x??[],t.dx??0)??[]);if(e=="y")return(t.y??[]).concat(Je(t.y??[],t.dy??0)??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let Nr=jt.sum;const Ea={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Nr(e.x?.apply?.(t.x)??t.x,n),o=Nr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}};let Y1=jt.sum;const La={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Y1(e.x?.apply?.(t.x)??t.x,n),o=Y1(e.y?.apply?.(t.y)??t.y,i),l=Y1(e.x?.apply?.(t.xend)??t.xend,n),c=Y1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.xend)||isNaN(t.y)||isNaN(t.yend)?null:t}};let z1=jt.sum;const Oa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=e.x?.apply?.(t.x)??t.x,o=e.y?.apply?.(t.y)??t.y,l=z1(r,t.width?.map?.(u=>-u/2)??-.5,n),c=z1(r,t.width?.map?.(u=>+u/2)??.5,n),a=z1(o,t.height?.map?.(u=>-u/2)??-.5,i),s=z1(o,t.height?.map?.(u=>+u/2)??.5,i);return{xmin:l,xmax:c,ymin:a,ymax:s}},get_values(t,e){if(e=="x")return t.x;if(e=="y")return t.y},get_range(t,e){if(e=="x"){let n=jt.apply((r,o)=>+r-o/2,t.x??[],t.width??[]),i=jt.apply((r,o)=>+r+o/2,t.x??[],t.width??[]);return n.concat(i)}if(e=="y"){let n=jt.apply((r,o)=>+r-o/2,t.y??[],t.height??[]),i=jt.apply((r,o)=>+r+o/2,t.y??[],t.height??[]);return n.concat(i)}},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}},Ee=Object.freeze(Object.defineProperty({__proto__:null,blank:xa,boxplot:ba,curve:wa,ellipse:ka,line:Aa,markdown:Sa,markdownsegment:Ca,point:Na,polygon:Ma,rect:Ta,stick:$a,text:Ea,textsegment:La,tile:Oa},Symbol.toStringTag,{value:"Module"})),ja=Object.assign(function(t){if(t.x!=null&&t.y!=null)throw new Error('"StatBar" only supports "x" or "y", not both');let e=t.x??t.y;if(e==null)throw new Error('Missing aesthetics for "StatBar": "x" or "y"');if(e.some(s=>typeof s=="number"))throw new Error('"StatBar" requires a discrete aesthetic');let n=Object.keys(t).filter(s=>!["x","y"].includes(s)&&!s.startsWith("$")),i=ne(Object.fromEntries(n.map(s=>[s,t[s]]))),r=ne({group:i??0,value:e}),o=Map.groupBy(t.$raw,(s,u)=>r.categories[r[u]]),l=Array.from(o.values()),c=Array.from(o.keys()),a={$raw:l,count:l.map(s=>s.length),$group:c.map(s=>s.group),value:c.map(s=>s.value)};for(let s of n)a[s]=c.map(u=>u.group).map(u=>i.categories[u][s]);return t.x?(({value:s,count:u,...d})=>({x:s,y:u.map(f=>f/2),height:u,...d}))(a):(({value:s,count:u,...d})=>({y:s,x:u.map(f=>f/2),width:u,...d}))(a)},{core_attrs:["x","y","xnudge","ynudge"]}),Pa=Object.assign(function(t,{}){let e=["x","y"].filter(E=>t[E]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatBoxplot": "${e.join('", "')}"`);let n=t.x.some(T1),i=t.y.some(T1);if(n&&i)throw new Error('Both "x" and "y" are discrete, "StatBoxplot" requires one continuous and one discrete aesthetic');if(!n&&!i)throw new Error('Both "x" and "y" are continuous, "StatBoxplot" requires one continuous and one discrete aesthetic');let[r,o]=n?["y","x"]:["x","y"],l=Object.keys(t).filter(E=>E!=r&&!E.startsWith("$")),c=ne(Object.fromEntries(l.map(E=>[E,t[E]]))),a=ne({group:c??0,cate:t[o]}),s=Map.groupBy(a.map((E,m)=>m),(E,m)=>a.categories[a[m]]),u=Array.from(s.keys()),d=Array.from(s.values()).map(E=>E.map(m=>t.$raw[m])),f=Array.from(s.values()).map(E=>E.map(m=>t[r][m])),h=f.map(E=>Ft.min(E)),g=f.map(E=>Ft.quantile(E,.25)),y=f.map(E=>Ft.quantile(E,.5)),w=f.map(E=>Ft.quantile(E,.75)),x=f.map(E=>Ft.max(E)),M=f.map((E,m)=>w[m]-g[m]),A=f.map((E,m)=>Math.max(h[m],g[m]-1.5*M[m])),T=f.map((E,m)=>Math.min(x[m],w[m]+1.5*M[m])),j=Array.from(s.values()).map((E,m)=>{let p=E.filter(b=>t[r][b]<A[m]||t[r][b]>T[m]);return{[r]:p.map(b=>t[r][b]),$raw:p.map(b=>t.$raw[b])}}),N={$raw:d,$group:u.map(E=>E.group),min:h,lwisker:A,Q1:g,median:y,Q3:w,uwisker:T,max:x,outliers:j};for(let E of l)N[E]=u.map(m=>m.group).map(m=>c.categories[m][E]);return N},{core_attrs:["x","y","width","height","xnudge","ynudge"]}),Da=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(u=>t[u]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatCurve": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),i=ne(Object.fromEntries(n.map(u=>[u,t[u]]))),r=ne({group:i??new Array(t.x.length).fill(0)}).map((u,d,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,d)=>r[d]),l=Array.from(o.values()),c=Array.from(o.keys()),a=Array.from(Map.groupBy(Ti({x:t.x,y:t.y}),(u,d)=>r[d]).values()),s={$raw:l,points:a};for(let u of n)s[u]=c.map(d=>d.group).map(d=>i.categories[d][u]);return s},{core_attrs:["x","y","xnudge","ynudge"]}),qa=Object.assign(function(t,{n:e=512,kernel:n="gaussian"}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatDensity" only supports "x" or "y", not both');let i=t.x??t.y;if(i==null)throw new Error('Missing aesthetics for "StatDensity": "x" or "y"');if(i.some(h=>typeof h!="number"))throw new Error('"StatDensity" requires a continuous aesthetic');if(n=Mr[n],!n)throw new Error(`kernel must be one of ${Object.keys(Mr).map(h=>`"${h}"`).join(", ")}`);let r=Object.keys(t).filter(h=>!["x","y"].includes(h)&&!h.startsWith("$")),o=ne(Object.fromEntries(r.map(h=>[h,t[h]]))),l=ne({group:o??new Array(i.length).fill(0)}).map((h,g,y)=>y.categories[h]),c=Map.groupBy(t.$raw,(h,g)=>l[g]),a=Array.from(c.values()),s=Array.from(c.keys()),u=Array.from(Map.groupBy(i,(h,g)=>l[g]).values()),d={$raw:a,$group:s.map(h=>h.group)},f=u.map(h=>{let g=Ba.nrd0(h),{min:y,max:w}=Ft.extent(h);y-=3*g,w+=3*g;let x=(w-y)/(e-1);return Array.from({length:e},(A,T)=>y+T*x).map(A=>[A,Ft.mean(h.map(T=>n((A-T)/g)))/g])});for(let h of r)d[h]=s.map(g=>o.categories[g.group][h]);return t.x?d.points=f.map(h=>h.map(([g,y])=>({x:g,y}))):d.points=f.map(h=>h.map(([g,y])=>({x:y,y:g}))),d},{core_attrs:["x","y","xnudge","ynudge"]}),Ba={nrd0:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=Ft.sd(t),n=Ft.quantile(t,.75)-Ft.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=Ft.sd(t),n=Ft.quantile(t,.75)-Ft.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},Mr={uniform:t=>Math.abs(t)<=1?.5:0,triangular:t=>Math.abs(t)<=1?1-Math.abs(t):0,epanechnikov:t=>Math.abs(t)<=1?.75*(1-t**2):0,biweight:t=>Math.abs(t)<=1?15/16*(1-t**2)**2:0,triweight:t=>Math.abs(t)<=1?35/32*(1-t**2)**3:0,tricube:t=>Math.abs(t)<=1?70/81*(1-Math.abs(t)**3)**3:0,gaussian:t=>Math.exp(-.5*t**2)/Math.sqrt(2*Math.PI),cosine:t=>Math.abs(t)<=1?Math.PI/4*Math.cos(Math.PI/2*t):0,logistic:t=>1/Math.cosh(t)**2/Math.PI,sigmoid:t=>2/(Math.exp(t)+Math.exp(-t))**2/Math.PI},Va=Object.assign(function(t,{CI:e=.95}={}){let n=["x","y"].filter(f=>t[f]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatEllipse": "${n.join('", "')}" or "points"`);let i=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),r=ne(Object.fromEntries(i.map(f=>[f,t[f]]))),o=ne({group:r??new Array(t.x.length).fill(0)}).map((f,h,g)=>g.categories[f]),l=Map.groupBy(t.$raw,(f,h)=>o[h]),c=Array.from(l.values()),a=Array.from(l.keys()),s=-2*Math.log(1-e),u=Array.from(Map.groupBy(Ti({x:t.x,y:t.y}),(f,h)=>o[h]).values()).map(f=>{const h=f.length;let g=f.reduce((T,j)=>T+j.x,0)/h,y=f.reduce((T,j)=>T+j.y,0)/h;if(h<2)return{};let w=f.reduce((T,j)=>T+(j.x-g)**2,0)/(h-1),x=f.reduce((T,j)=>T+(j.x-g)*(j.y-y),0)/(h-1),M=f.reduce((T,j)=>T+(j.y-y)**2,0)/(h-1),A=(w*M-x*x)*s;return{cx:g,cy:y,A:M/A,B:-x/A,C:w/A}}),d={$raw:c,cx:u.map(f=>f.cx??0),cy:u.map(f=>f.cy??0),A:u.map(f=>f.A??0),B:u.map(f=>f.B??0),C:u.map(f=>f.C??0)};for(let f of i)d[f]=a.map(h=>h.group).map(h=>r.categories[h][f]);return d},{core_attrs:["x","y","xnudge","ynudge"]}),Ia=Object.assign(function(t,{bins:e=30,binwidth:n,breaks:i}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatHistogram" only supports "x" or "y", not both');let r=t.x??t.y;if(r==null)throw new Error('Missing aesthetics for "StatHistogram": "x" or "y"');if(r.some(f=>typeof f!="number"))throw new Error('"StatHistogram" requires a continuous aesthetic');if(i)i.sort((f,h)=>f-h);else{let{min:f,max:h}=Ft.extent(r);n||(n=(h-f)/(e-1)),i=Array.from({length:e+1},(g,y)=>f+(y-.5)*n)}e=i.length-1;let o=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),l=ne(Object.fromEntries(o.map(f=>[f,t[f]]))),c=ne({group:l??new Array(r.length).fill(0),upper:r.map(f=>i.findLast(h=>h<=f)??i[0]),lower:r.map(f=>i.find(h=>h>f)??i[e])}).map((f,h,g)=>g.categories[f]),a=Map.groupBy(t.$raw,(f,h)=>c[h]),s=Array.from(a.values()),u=Array.from(a.keys()),d={$raw:s,count:s.map(f=>f.length),$group:u.map(f=>f.group),upper:u.map(f=>f.upper),lower:u.map(f=>f.lower)};for(let f of o)d[f]=u.map(h=>l.categories[h.group][f]);return t.x?(({upper:f,lower:h,count:g,ymin:y=s.map(()=>0),...w})=>({xmin:f,xmax:h,ymin:y,ymax:g,...w}))(d):(({upper:f,lower:h,count:g,xmin:y=s.map(()=>0),...w})=>({xmin:y,xmax:g,ymin:f,ymax:h,...w}))(d)},{core_attrs:["x","y","xnudge","ynudge"]}),Ra=Object.assign(function(t){return t},{core_attrs:["x","y","xnudge","ynudge"]}),Ha=Object.assign(function(t,{orientation:e="x"}={}){let n=["x","y"].filter(s=>t[s]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatLine": "${n.join('", "')}"`);let i=t.group??new Array(t.x.length).fill(null),o=Object.values(i.reduce((s,u,d)=>(s[u]??=[],s[u].push(d),s),{})).map(s=>s.map((u,d)=>[t[e][u],d]).sort((u,d)=>u[0]-d[0]).map((u,d)=>s[u[1]])),l=o.map(s=>s.slice(0,-1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),c=o.map(s=>s.slice(1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),a={};for(let s in t)a[s]=l.map(u=>t[s][u]);return a.xend=c.map(s=>t.x[s]),a.yend=c.map(s=>t.y[s]),a},{core_attrs:["x","y","xnudge","ynudge"]}),Xa=Object.assign(function(t){if(t.x!=null){let e=["x","ymin","ymax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({x:n,ymin:i,ymax:r,...o})=>({x:n,xend:n,y:i,yend:r,...o}))(t)}else if(t.y!=null){let e=["y","xmin","xmax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({y:n,xmin:i,xmax:r,...o})=>({y:n,yend:n,x:i,xend:r,...o}))(t)}else throw new Error('Missing aesthetics for "StatLinerange": x,ymin,ymax or y,xmin,xmax')},{core_attrs:["x","y","xmin","xmax","ymin","ymax","xnudge","ynudge"]}),Ya=Object.assign(function(t){let e=["x","y"].filter(a=>t[a]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPath": "${e.join('", "')}"`);let n=t.group??new Array(t.x.length).fill(null),r=Object.values(n.reduce((a,s,u)=>(a[s]??=[],a[s].push(u),a),{})).map(a=>a.map((s,u)=>a[u])),o=r.map(a=>a.slice(0,-1).concat(NaN)).reduce((a,s)=>a.concat(s),[]).filter(a=>!isNaN(a)),l=r.map(a=>a.slice(1).concat(NaN)).reduce((a,s)=>a.concat(s),[]).filter(a=>!isNaN(a)),c={};for(let a in t)c[a]=o.map(s=>t[a][s]);return c.xend=l.map(a=>t.x[a]),c.yend=l.map(a=>t.y[a]),c},{core_attrs:["x","y","xnudge","ynudge"]}),za=Object.assign(function(t){let e=["x","y"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPoint": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xnudge","ynudge"]}),Fa=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(u=>t[u]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPolygon": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),i=ne(Object.fromEntries(n.map(u=>[u,t[u]]))),r=ne({group:i??new Array(t.x.length).fill(0)}).map((u,d,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,d)=>r[d]),l=Array.from(o.values()),c=Array.from(o.keys()),a=Array.from(Map.groupBy(Ti({x:t.x,y:t.y}),(u,d)=>r[d]).values()),s={$raw:l,points:a};for(let u of n)s[u]=c.map(d=>d.group).map(d=>i.categories[d][u]);return s},{core_attrs:["points","xnudge","ynudge"]}),Ua=Object.assign(function(t){let e=["xmin","xmax","ymin","ymax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatRect": "${e.join('", "')}"`);return t},{core_attrs:["xmin","xmax","ymin","ymax","xnudge","ynudge"]}),Ga=Object.assign(function(t){t.xend==null&&(t.xend=t.x),t.yend==null&&(t.yend=t.y);let e=["x","y","xend","yend"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatSegment": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xend","yend","xnudge","ynudge"]}),Wa=Object.assign(function(t){t.dx==null&&(t.dx=Array(t.x.length).fill(0)),t.dy==null&&(t.dy=Array(t.y.length).fill(0));let e=["x","y","dx","dy"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatStick": "${e.join('", "')}"`);return t},{core_attrs:["x","y","dx","dy","xnudge","ynudge"]}),Ka=Object.assign(function(t){let e=["x","y","label"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatText": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xnudge","ynudge","label","text-length"]}),Za=Object.assign(function(t){t.xend==null&&(t.xend=t.x),t.yend==null&&(t.yend=t.y);let e=["x","y","xend","yend","label"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTextsegment": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xend","yend","xnudge","ynudge","label"]}),Qa=Object.assign(function(t){t.width==null&&t.x.some(n=>typeof n=="string")&&(t.width=Array(t.x.length).fill(1)),t.height==null&&t.y.some(n=>typeof n=="string")&&(t.height=Array(t.y.length).fill(1));let e=["x","y","width","height"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTile": "${e.join('", "')}"`);return t},{core_attrs:["x","y","width","height","xnudge","ynudge"]}),Ja=Object.freeze(Object.defineProperty({__proto__:null,bar:ja,boxplot:Pa,curve:Da,density:qa,ellipse:Va,histogram:Ia,identity:Ra,line:Ha,linerange:Xa,path:Ya,point:za,polygon:Fa,rect:Ua,segment:Ga,stick:Wa,text:Ka,textsegment:Za,tile:Qa},Symbol.toStringTag,{value:"Module"}));function tn(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function _a(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function zo(t){let e,n,i;t.length!==2?(e=tn,n=(c,a)=>tn(t(c),a),i=(c,a)=>t(c)-a):(e=t===tn||t===_a?t:tc,n=t,i=t);function r(c,a,s=0,u=c.length){if(s<u){if(e(a,a)!==0)return u;do{const d=s+u>>>1;n(c[d],a)<0?s=d+1:u=d}while(s<u)}return s}function o(c,a,s=0,u=c.length){if(s<u){if(e(a,a)!==0)return u;do{const d=s+u>>>1;n(c[d],a)<=0?s=d+1:u=d}while(s<u)}return s}function l(c,a,s=0,u=c.length){const d=r(c,a,s,u-1);return d>s&&i(c[d-1],a)>-i(c[d],a)?d-1:d}return{left:r,center:l,right:o}}function tc(){return 0}function ec(t){return t===null?NaN:+t}const nc=zo(tn),ic=nc.right;zo(ec).center;const rc=Math.sqrt(50),oc=Math.sqrt(10),sc=Math.sqrt(2);function an(t,e,n){const i=(e-t)/Math.max(0,n),r=Math.floor(Math.log10(i)),o=i/Math.pow(10,r),l=o>=rc?10:o>=oc?5:o>=sc?2:1;let c,a,s;return r<0?(s=Math.pow(10,-r)/l,c=Math.round(t*s),a=Math.round(e*s),c/s<t&&++c,a/s>e&&--a,s=-s):(s=Math.pow(10,r)*l,c=Math.round(t/s),a=Math.round(e/s),c*s<t&&++c,a*s>e&&--a),a<c&&.5<=n&&n<2?an(t,e,n*2):[c,a,s]}function lc(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const i=e<t,[r,o,l]=i?an(e,t,n):an(t,e,n);if(!(o>=r))return[];const c=o-r+1,a=new Array(c);if(i)if(l<0)for(let s=0;s<c;++s)a[s]=(o-s)/-l;else for(let s=0;s<c;++s)a[s]=(o-s)*l;else if(l<0)for(let s=0;s<c;++s)a[s]=(r+s)/-l;else for(let s=0;s<c;++s)a[s]=(r+s)*l;return a}function si(t,e,n){return e=+e,t=+t,n=+n,an(t,e,n)[2]}function ac(t,e,n){e=+e,t=+t,n=+n;const i=e<t,r=i?si(e,t,n):si(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}var cc={value:()=>{}};function Fo(){for(var t=0,e=arguments.length,n={},i;t<e;++t){if(!(i=arguments[t]+"")||i in n||/[\s.]/.test(i))throw new Error("illegal type: "+i);n[i]=[]}return new en(n)}function en(t){this._=t}function uc(t,e){return t.trim().split(/^|\s+/).map(function(n){var i="",r=n.indexOf(".");if(r>=0&&(i=n.slice(r+1),n=n.slice(0,r)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:i}})}en.prototype=Fo.prototype={constructor:en,on:function(t,e){var n=this._,i=uc(t+"",n),r,o=-1,l=i.length;if(arguments.length<2){for(;++o<l;)if((r=(t=i[o]).type)&&(r=hc(n[r],t.name)))return r;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++o<l;)if(r=(t=i[o]).type)n[r]=Tr(n[r],t.name,e);else if(e==null)for(r in n)n[r]=Tr(n[r],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new en(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var n=new Array(r),i=0,r,o;i<r;++i)n[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],i=0,r=o.length;i<r;++i)o[i].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(e,n)}};function hc(t,e){for(var n=0,i=t.length,r;n<i;++n)if((r=t[n]).name===e)return r.value}function Tr(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=cc,t=t.slice(0,i).concat(t.slice(i+1));break}return n!=null&&t.push({name:e,value:n}),t}var li="http://www.w3.org/1999/xhtml";const $r={svg:"http://www.w3.org/2000/svg",xhtml:li,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ln(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),$r.hasOwnProperty(e)?{space:$r[e],local:t}:t}function fc(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===li&&e.documentElement.namespaceURI===li?e.createElement(t):e.createElementNS(n,t)}}function dc(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Uo(t){var e=Ln(t);return(e.local?dc:fc)(e)}function mc(){}function $i(t){return t==null?mc:function(){return this.querySelector(t)}}function gc(t){typeof t!="function"&&(t=$i(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=new Array(l),a,s,u=0;u<l;++u)(a=o[u])&&(s=t.call(a,a.__data__,u,o))&&("__data__"in a&&(s.__data__=a.__data__),c[u]=s);return new ce(i,this._parents)}function yc(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function vc(){return[]}function Go(t){return t==null?vc:function(){return this.querySelectorAll(t)}}function pc(t){return function(){return yc(t.apply(this,arguments))}}function xc(t){typeof t=="function"?t=pc(t):t=Go(t);for(var e=this._groups,n=e.length,i=[],r=[],o=0;o<n;++o)for(var l=e[o],c=l.length,a,s=0;s<c;++s)(a=l[s])&&(i.push(t.call(a,a.__data__,s,l)),r.push(a));return new ce(i,r)}function Wo(t){return function(){return this.matches(t)}}function Ko(t){return function(e){return e.matches(t)}}var bc=Array.prototype.find;function wc(t){return function(){return bc.call(this.children,t)}}function kc(){return this.firstElementChild}function Ac(t){return this.select(t==null?kc:wc(typeof t=="function"?t:Ko(t)))}var Sc=Array.prototype.filter;function Cc(){return Array.from(this.children)}function Nc(t){return function(){return Sc.call(this.children,t)}}function Mc(t){return this.selectAll(t==null?Cc:Nc(typeof t=="function"?t:Ko(t)))}function Tc(t){typeof t!="function"&&(t=Wo(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=[],a,s=0;s<l;++s)(a=o[s])&&t.call(a,a.__data__,s,o)&&c.push(a);return new ce(i,this._parents)}function Zo(t){return new Array(t.length)}function $c(){return new ce(this._enter||this._groups.map(Zo),this._parents)}function cn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}cn.prototype={constructor:cn,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 Ec(t){return function(){return t}}function Lc(t,e,n,i,r,o){for(var l=0,c,a=e.length,s=o.length;l<s;++l)(c=e[l])?(c.__data__=o[l],i[l]=c):n[l]=new cn(t,o[l]);for(;l<a;++l)(c=e[l])&&(r[l]=c)}function Oc(t,e,n,i,r,o,l){var c,a,s=new Map,u=e.length,d=o.length,f=new Array(u),h;for(c=0;c<u;++c)(a=e[c])&&(f[c]=h=l.call(a,a.__data__,c,e)+"",s.has(h)?r[c]=a:s.set(h,a));for(c=0;c<d;++c)h=l.call(t,o[c],c,o)+"",(a=s.get(h))?(i[c]=a,a.__data__=o[c],s.delete(h)):n[c]=new cn(t,o[c]);for(c=0;c<u;++c)(a=e[c])&&s.get(f[c])===a&&(r[c]=a)}function jc(t){return t.__data__}function Pc(t,e){if(!arguments.length)return Array.from(this,jc);var n=e?Oc:Lc,i=this._parents,r=this._groups;typeof t!="function"&&(t=Ec(t));for(var o=r.length,l=new Array(o),c=new Array(o),a=new Array(o),s=0;s<o;++s){var u=i[s],d=r[s],f=d.length,h=Dc(t.call(u,u&&u.__data__,s,i)),g=h.length,y=c[s]=new Array(g),w=l[s]=new Array(g),x=a[s]=new Array(f);n(u,d,y,w,x,h,e);for(var M=0,A=0,T,j;M<g;++M)if(T=y[M]){for(M>=A&&(A=M+1);!(j=w[A])&&++A<g;);T._next=j||null}}return l=new ce(l,i),l._enter=c,l._exit=a,l}function Dc(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function qc(){return new ce(this._exit||this._groups.map(Zo),this._parents)}function Bc(t,e,n){var i=this.enter(),r=this,o=this.exit();return typeof t=="function"?(i=t(i),i&&(i=i.selection())):i=i.append(t+""),e!=null&&(r=e(r),r&&(r=r.selection())),n==null?o.remove():n(o),i&&r?i.merge(r).order():r}function Vc(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,o=i.length,l=Math.min(r,o),c=new Array(r),a=0;a<l;++a)for(var s=n[a],u=i[a],d=s.length,f=c[a]=new Array(d),h,g=0;g<d;++g)(h=s[g]||u[g])&&(f[g]=h);for(;a<r;++a)c[a]=n[a];return new ce(c,this._parents)}function Ic(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i=t[e],r=i.length-1,o=i[r],l;--r>=0;)(l=i[r])&&(o&&l.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(l,o),o=l);return this}function Rc(t){t||(t=Hc);function e(d,f){return d&&f?t(d.__data__,f.__data__):!d-!f}for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var l=n[o],c=l.length,a=r[o]=new Array(c),s,u=0;u<c;++u)(s=l[u])&&(a[u]=s);a.sort(e)}return new ce(r,this._parents).order()}function Hc(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Xc(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function Yc(){return Array.from(this)}function zc(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length;r<o;++r){var l=i[r];if(l)return l}return null}function Fc(){let t=0;for(const e of this)++t;return t}function Uc(){return!this.node()}function Gc(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r=e[n],o=0,l=r.length,c;o<l;++o)(c=r[o])&&t.call(c,c.__data__,o,r);return this}function Wc(t){return function(){this.removeAttribute(t)}}function Kc(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Zc(t,e){return function(){this.setAttribute(t,e)}}function Qc(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Jc(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function _c(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function t0(t,e){var n=Ln(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((e==null?n.local?Kc:Wc:typeof e=="function"?n.local?_c:Jc:n.local?Qc:Zc)(n,e))}function Qo(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function e0(t){return function(){this.style.removeProperty(t)}}function n0(t,e,n){return function(){this.style.setProperty(t,e,n)}}function i0(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function r0(t,e,n){return arguments.length>1?this.each((e==null?e0:typeof e=="function"?i0:n0)(t,e,n??"")):h1(this.node(),t)}function h1(t,e){return t.style.getPropertyValue(e)||Qo(t).getComputedStyle(t,null).getPropertyValue(e)}function o0(t){return function(){delete this[t]}}function s0(t,e){return function(){this[t]=e}}function l0(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function a0(t,e){return arguments.length>1?this.each((e==null?o0:typeof e=="function"?l0:s0)(t,e)):this.node()[t]}function Jo(t){return t.trim().split(/^|\s+/)}function Ei(t){return t.classList||new _o(t)}function _o(t){this._node=t,this._names=Jo(t.getAttribute("class")||"")}_o.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 ts(t,e){for(var n=Ei(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function es(t,e){for(var n=Ei(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function c0(t){return function(){ts(this,t)}}function u0(t){return function(){es(this,t)}}function h0(t,e){return function(){(e.apply(this,arguments)?ts:es)(this,t)}}function f0(t,e){var n=Jo(t+"");if(arguments.length<2){for(var i=Ei(this.node()),r=-1,o=n.length;++r<o;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e=="function"?h0:e?c0:u0)(n,e))}function d0(){this.textContent=""}function m0(t){return function(){this.textContent=t}}function g0(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function y0(t){return arguments.length?this.each(t==null?d0:(typeof t=="function"?g0:m0)(t)):this.node().textContent}function v0(){this.innerHTML=""}function p0(t){return function(){this.innerHTML=t}}function x0(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function b0(t){return arguments.length?this.each(t==null?v0:(typeof t=="function"?x0:p0)(t)):this.node().innerHTML}function w0(){this.nextSibling&&this.parentNode.appendChild(this)}function k0(){return this.each(w0)}function A0(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function S0(){return this.each(A0)}function C0(t){var e=typeof t=="function"?t:Uo(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function N0(){return null}function M0(t,e){var n=typeof t=="function"?t:Uo(t),i=e==null?N0:typeof e=="function"?e:$i(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function T0(){var t=this.parentNode;t&&t.removeChild(this)}function $0(){return this.each(T0)}function E0(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function L0(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function O0(t){return this.select(t?L0:E0)}function j0(t){return arguments.length?this.property("__data__",t):this.node().__data__}function P0(t){return function(e){t.call(this,e,this.__data__)}}function D0(t){return t.trim().split(/^|\s+/).map(function(e){var n="",i=e.indexOf(".");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{type:e,name:n}})}function q0(t){return function(){var e=this.__on;if(e){for(var n=0,i=-1,r=e.length,o;n<r;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++i]=o;++i?e.length=i:delete this.__on}}}function B0(t,e,n){return function(){var i=this.__on,r,o=P0(e);if(i){for(var l=0,c=i.length;l<c;++l)if((r=i[l]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function V0(t,e,n){var i=D0(t+""),r,o=i.length,l;if(arguments.length<2){var c=this.node().__on;if(c){for(var a=0,s=c.length,u;a<s;++a)for(r=0,u=c[a];r<o;++r)if((l=i[r]).type===u.type&&l.name===u.name)return u.value}return}for(c=e?B0:q0,r=0;r<o;++r)this.each(c(i[r],e,n));return this}function ns(t,e,n){var i=Qo(t),r=i.CustomEvent;typeof r=="function"?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function I0(t,e){return function(){return ns(this,t,e)}}function R0(t,e){return function(){return ns(this,t,e.apply(this,arguments))}}function H0(t,e){return this.each((typeof e=="function"?R0:I0)(t,e))}function*X0(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length,l;r<o;++r)(l=i[r])&&(yield l)}var Y0=[null];function ce(t,e){this._groups=t,this._parents=e}function D1(){return new ce([[document.documentElement]],Y0)}function z0(){return this}ce.prototype=D1.prototype={constructor:ce,select:gc,selectAll:xc,selectChild:Ac,selectChildren:Mc,filter:Tc,data:Pc,enter:$c,exit:qc,join:Bc,merge:Vc,selection:z0,order:Ic,sort:Rc,call:Xc,nodes:Yc,node:zc,size:Fc,empty:Uc,each:Gc,attr:t0,style:r0,property:a0,classed:f0,text:y0,html:b0,raise:k0,lower:S0,append:C0,insert:M0,remove:$0,clone:O0,datum:j0,on:V0,dispatch:H0,[Symbol.iterator]:X0};function q1(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function On(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function We(){}var $1=.7,un=1/$1,l1="\\s*([+-]?\\d+)\\s*",E1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",me="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",F0=/^#([0-9a-f]{3,8})$/,U0=new RegExp(`^rgb\\(${l1},${l1},${l1}\\)$`),G0=new RegExp(`^rgb\\(${me},${me},${me}\\)$`),W0=new RegExp(`^rgba\\(${l1},${l1},${l1},${E1}\\)$`),K0=new RegExp(`^rgba\\(${me},${me},${me},${E1}\\)$`),Z0=new RegExp(`^hsl\\(${E1},${me},${me}\\)$`),Q0=new RegExp(`^hsla\\(${E1},${me},${me},${E1}\\)$`),Er={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};q1(We,ze,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Lr,formatHex:Lr,formatHex8:J0,formatHsl:_0,formatRgb:Or,toString:Or});function Lr(){return this.rgb().formatHex()}function J0(){return this.rgb().formatHex8()}function _0(){return rs(this).formatHsl()}function Or(){return this.rgb().formatRgb()}function ze(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=F0.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?jr(e):n===3?new Kt(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?F1(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?F1(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=U0.exec(t))?new Kt(e[1],e[2],e[3],1):(e=G0.exec(t))?new Kt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=W0.exec(t))?F1(e[1],e[2],e[3],e[4]):(e=K0.exec(t))?F1(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=Z0.exec(t))?qr(e[1],e[2]/100,e[3]/100,1):(e=Q0.exec(t))?qr(e[1],e[2]/100,e[3]/100,e[4]):Er.hasOwnProperty(t)?jr(Er[t]):t==="transparent"?new Kt(NaN,NaN,NaN,0):null}function jr(t){return new Kt(t>>16&255,t>>8&255,t&255,1)}function F1(t,e,n,i){return i<=0&&(t=e=n=NaN),new Kt(t,e,n,i)}function is(t){return t instanceof We||(t=ze(t)),t?(t=t.rgb(),new Kt(t.r,t.g,t.b,t.opacity)):new Kt}function ai(t,e,n,i){return arguments.length===1?is(t):new Kt(t,e,n,i??1)}function Kt(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}q1(Kt,ai,On(We,{brighter(t){return t=t==null?un:Math.pow(un,t),new Kt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?$1:Math.pow($1,t),new Kt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Kt(Ye(this.r),Ye(this.g),Ye(this.b),hn(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:Pr,formatHex:Pr,formatHex8:tu,formatRgb:Dr,toString:Dr}));function Pr(){return`#${Ie(this.r)}${Ie(this.g)}${Ie(this.b)}`}function tu(){return`#${Ie(this.r)}${Ie(this.g)}${Ie(this.b)}${Ie((isNaN(this.opacity)?1:this.opacity)*255)}`}function Dr(){const t=hn(this.opacity);return`${t===1?"rgb(":"rgba("}${Ye(this.r)}, ${Ye(this.g)}, ${Ye(this.b)}${t===1?")":`, ${t})`}`}function hn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ye(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ie(t){return t=Ye(t),(t<16?"0":"")+t.toString(16)}function qr(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ae(t,e,n,i)}function rs(t){if(t instanceof ae)return new ae(t.h,t.s,t.l,t.opacity);if(t instanceof We||(t=ze(t)),!t)return new ae;if(t instanceof ae)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),l=NaN,c=o-r,a=(o+r)/2;return c?(e===o?l=(n-i)/c+(n<i)*6:n===o?l=(i-e)/c+2:l=(e-n)/c+4,c/=a<.5?o+r:2-o-r,l*=60):c=a>0&&a<1?0:l,new ae(l,c,a,t.opacity)}function eu(t,e,n,i){return arguments.length===1?rs(t):new ae(t,e,n,i??1)}function ae(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}q1(ae,eu,On(We,{brighter(t){return t=t==null?un:Math.pow(un,t),new ae(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?$1:Math.pow($1,t),new ae(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,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new Kt(zn(t>=240?t-240:t+120,r,i),zn(t,r,i),zn(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new ae(Br(this.h),U1(this.s),U1(this.l),hn(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=hn(this.opacity);return`${t===1?"hsl(":"hsla("}${Br(this.h)}, ${U1(this.s)*100}%, ${U1(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Br(t){return t=(t||0)%360,t<0?t+360:t}function U1(t){return Math.max(0,Math.min(1,t||0))}function zn(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const nu=Math.PI/180,iu=180/Math.PI,fn=18,os=.96422,ss=1,ls=.82521,as=4/29,a1=6/29,cs=3*a1*a1,ru=a1*a1*a1;function us(t){if(t instanceof ge)return new ge(t.l,t.a,t.b,t.opacity);if(t instanceof Ae)return fs(t);t instanceof Kt||(t=is(t));var e=Wn(t.r),n=Wn(t.g),i=Wn(t.b),r=Fn((.2225045*e+.7168786*n+.0606169*i)/ss),o,l;return e===n&&n===i?o=l=r:(o=Fn((.4360747*e+.3850649*n+.1430804*i)/os),l=Fn((.0139322*e+.0971045*n+.7141733*i)/ls)),new ge(116*r-16,500*(o-r),200*(r-l),t.opacity)}function ci(t,e,n,i){return arguments.length===1?us(t):new ge(t,e,n,i??1)}function ge(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i}q1(ge,ci,On(We,{brighter(t){return new ge(this.l+fn*(t??1),this.a,this.b,this.opacity)},darker(t){return new ge(this.l-fn*(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=os*Un(e),t=ss*Un(t),n=ls*Un(n),new Kt(Gn(3.1338561*e-1.6168667*t-.4906146*n),Gn(-.9787684*e+1.9161415*t+.033454*n),Gn(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function Fn(t){return t>ru?Math.pow(t,1/3):t/cs+as}function Un(t){return t>a1?t*t*t:cs*(t-as)}function Gn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Wn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function ou(t){if(t instanceof Ae)return new Ae(t.h,t.c,t.l,t.opacity);if(t instanceof ge||(t=us(t)),t.a===0&&t.b===0)return new Ae(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*iu;return new Ae(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function hs(t,e,n,i){return arguments.length===1?ou(t):new Ae(t,e,n,i??1)}function Ae(t,e,n,i){this.h=+t,this.c=+e,this.l=+n,this.opacity=+i}function fs(t){if(isNaN(t.h))return new ge(t.l,0,0,t.opacity);var e=t.h*nu;return new ge(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}q1(Ae,hs,On(We,{brighter(t){return new Ae(this.h,this.c,this.l+fn*(t??1),this.opacity)},darker(t){return new Ae(this.h,this.c,this.l-fn*(t??1),this.opacity)},rgb(){return fs(this).rgb()}}));const Li=t=>()=>t;function su(t,e){return function(n){return t+n*e}}function lu(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}function au(t){return(t=+t)==1?n1:function(e,n){return n-e?lu(e,n,t):Li(isNaN(e)?n:e)}}function n1(t,e){var n=e-t;return n?su(t,n):Li(isNaN(t)?e:t)}const dn=(function t(e){var n=au(e);function i(r,o){var l=n((r=ai(r)).r,(o=ai(o)).r),c=n(r.g,o.g),a=n(r.b,o.b),s=n1(r.opacity,o.opacity);return function(u){return r.r=l(u),r.g=c(u),r.b=a(u),r.opacity=s(u),r+""}}return i.gamma=t,i})(1);function cu(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,i=e.slice(),r;return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}}function uu(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function hu(t,e){var n=e?e.length:0,i=t?Math.min(n,t.length):0,r=new Array(i),o=new Array(n),l;for(l=0;l<i;++l)r[l]=Oi(t[l],e[l]);for(;l<n;++l)o[l]=e[l];return function(c){for(l=0;l<i;++l)o[l]=r[l](c);return o}}function fu(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function le(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function du(t,e){var n={},i={},r;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(r in e)r in t?n[r]=Oi(t[r],e[r]):i[r]=e[r];return function(o){for(r in n)i[r]=n[r](o);return i}}var ui=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Kn=new RegExp(ui.source,"g");function mu(t){return function(){return t}}function gu(t){return function(e){return t(e)+""}}function ds(t,e){var n=ui.lastIndex=Kn.lastIndex=0,i,r,o,l=-1,c=[],a=[];for(t=t+"",e=e+"";(i=ui.exec(t))&&(r=Kn.exec(e));)(o=r.index)>n&&(o=e.slice(n,o),c[l]?c[l]+=o:c[++l]=o),(i=i[0])===(r=r[0])?c[l]?c[l]+=r:c[++l]=r:(c[++l]=null,a.push({i:l,x:le(i,r)})),n=Kn.lastIndex;return n<e.length&&(o=e.slice(n),c[l]?c[l]+=o:c[++l]=o),c.length<2?a[0]?gu(a[0].x):mu(e):(e=a.length,function(s){for(var u=0,d;u<e;++u)c[(d=a[u]).i]=d.x(s);return c.join("")})}function Oi(t,e){var n=typeof e,i;return e==null||n==="boolean"?Li(e):(n==="number"?le:n==="string"?(i=ze(e))?(e=i,dn):ds:e instanceof ze?dn:e instanceof Date?fu:uu(e)?cu:Array.isArray(e)?hu:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?du:le)(t,e)}function yu(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var Vr=180/Math.PI,hi={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ms(t,e,n,i,r,o){var l,c,a;return(l=Math.sqrt(t*t+e*e))&&(t/=l,e/=l),(a=t*n+e*i)&&(n-=t*a,i-=e*a),(c=Math.sqrt(n*n+i*i))&&(n/=c,i/=c,a/=c),t*i<e*n&&(t=-t,e=-e,a=-a,l=-l),{translateX:r,translateY:o,rotate:Math.atan2(e,t)*Vr,skewX:Math.atan(a)*Vr,scaleX:l,scaleY:c}}var G1;function vu(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?hi:ms(e.a,e.b,e.c,e.d,e.e,e.f)}function pu(t){return t==null||(G1||(G1=document.createElementNS("http://www.w3.org/2000/svg","g")),G1.setAttribute("transform",t),!(t=G1.transform.baseVal.consolidate()))?hi:(t=t.matrix,ms(t.a,t.b,t.c,t.d,t.e,t.f))}function gs(t,e,n,i){function r(s){return s.length?s.pop()+" ":""}function o(s,u,d,f,h,g){if(s!==d||u!==f){var y=h.push("translate(",null,e,null,n);g.push({i:y-4,x:le(s,d)},{i:y-2,x:le(u,f)})}else(d||f)&&h.push("translate("+d+e+f+n)}function l(s,u,d,f){s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),f.push({i:d.push(r(d)+"rotate(",null,i)-2,x:le(s,u)})):u&&d.push(r(d)+"rotate("+u+i)}function c(s,u,d,f){s!==u?f.push({i:d.push(r(d)+"skewX(",null,i)-2,x:le(s,u)}):u&&d.push(r(d)+"skewX("+u+i)}function a(s,u,d,f,h,g){if(s!==d||u!==f){var y=h.push(r(h)+"scale(",null,",",null,")");g.push({i:y-4,x:le(s,d)},{i:y-2,x:le(u,f)})}else(d!==1||f!==1)&&h.push(r(h)+"scale("+d+","+f+")")}return function(s,u){var d=[],f=[];return s=t(s),u=t(u),o(s.translateX,s.translateY,u.translateX,u.translateY,d,f),l(s.rotate,u.rotate,d,f),c(s.skewX,u.skewX,d,f),a(s.scaleX,s.scaleY,u.scaleX,u.scaleY,d,f),s=u=null,function(h){for(var g=-1,y=f.length,w;++g<y;)d[(w=f[g]).i]=w.x(h);return d.join("")}}}var xu=gs(vu,"px, ","px)","deg)"),bu=gs(pu,", ",")",")");function fi(t,e){var n=n1((t=ci(t)).l,(e=ci(e)).l),i=n1(t.a,e.a),r=n1(t.b,e.b),o=n1(t.opacity,e.opacity);return function(l){return t.l=n(l),t.a=i(l),t.b=r(l),t.opacity=o(l),t+""}}var f1=0,k1=0,p1=0,ys=1e3,mn,A1,gn=0,Fe=0,jn=0,L1=typeof performance=="object"&&performance.now?performance:Date,vs=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ji(){return Fe||(vs(wu),Fe=L1.now()+jn)}function wu(){Fe=0}function yn(){this._call=this._time=this._next=null}yn.prototype=ps.prototype={constructor:yn,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?ji():+n)+(e==null?0:+e),!this._next&&A1!==this&&(A1?A1._next=this:mn=this,A1=this),this._call=t,this._time=n,di()},stop:function(){this._call&&(this._call=null,this._time=1/0,di())}};function ps(t,e,n){var i=new yn;return i.restart(t,e,n),i}function ku(){ji(),++f1;for(var t=mn,e;t;)(e=Fe-t._time)>=0&&t._call.call(void 0,e),t=t._next;--f1}function Ir(){Fe=(gn=L1.now())+jn,f1=k1=0;try{ku()}finally{f1=0,Su(),Fe=0}}function Au(){var t=L1.now(),e=t-gn;e>ys&&(jn-=e,gn=t)}function Su(){for(var t,e=mn,n,i=1/0;e;)e._call?(i>e._time&&(i=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:mn=n);A1=t,di(i)}function di(t){if(!f1){k1&&(k1=clearTimeout(k1));var e=t-Fe;e>24?(t<1/0&&(k1=setTimeout(Ir,t-L1.now()-jn)),p1&&(p1=clearInterval(p1))):(p1||(gn=L1.now(),p1=setInterval(Au,ys)),f1=1,vs(Ir))}}function Rr(t,e,n){var i=new yn;return e=e==null?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,n),i}var Cu=Fo("start","end","cancel","interrupt"),Nu=[],xs=0,Hr=1,mi=2,nn=3,Xr=4,gi=5,rn=6;function Pn(t,e,n,i,r,o){var l=t.__transition;if(!l)t.__transition={};else if(n in l)return;Mu(t,n,{name:e,index:i,group:r,on:Cu,tween:Nu,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:xs})}function Pi(t,e){var n=ue(t,e);if(n.state>xs)throw new Error("too late; already scheduled");return n}function ye(t,e){var n=ue(t,e);if(n.state>nn)throw new Error("too late; already running");return n}function ue(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Mu(t,e,n){var i=t.__transition,r;i[e]=n,n.timer=ps(o,0,n.time);function o(s){n.state=Hr,n.timer.restart(l,n.delay,n.time),n.delay<=s&&l(s-n.delay)}function l(s){var u,d,f,h;if(n.state!==Hr)return a();for(u in i)if(h=i[u],h.name===n.name){if(h.state===nn)return Rr(l);h.state===Xr?(h.state=rn,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+u<e&&(h.state=rn,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[u])}if(Rr(function(){n.state===nn&&(n.state=Xr,n.timer.restart(c,n.delay,n.time),c(s))}),n.state=mi,n.on.call("start",t,t.__data__,n.index,n.group),n.state===mi){for(n.state=nn,r=new Array(f=n.tween.length),u=0,d=-1;u<f;++u)(h=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++d]=h);r.length=d+1}}function c(s){for(var u=s<n.duration?n.ease.call(null,s/n.duration):(n.timer.restart(a),n.state=gi,1),d=-1,f=r.length;++d<f;)r[d].call(t,u);n.state===gi&&(n.on.call("end",t,t.__data__,n.index,n.group),a())}function a(){n.state=rn,n.timer.stop(),delete i[e];for(var s in i)return;delete t.__transition}}function Tu(t,e){var n=t.__transition,i,r,o=!0,l;if(n){e=e==null?null:e+"";for(l in n){if((i=n[l]).name!==e){o=!1;continue}r=i.state>mi&&i.state<gi,i.state=rn,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete n[l]}o&&delete t.__transition}}function $u(t){return this.each(function(){Tu(this,t)})}function Eu(t,e){var n,i;return function(){var r=ye(this,t),o=r.tween;if(o!==n){i=n=o;for(var l=0,c=i.length;l<c;++l)if(i[l].name===e){i=i.slice(),i.splice(l,1);break}}r.tween=i}}function Lu(t,e,n){var i,r;if(typeof n!="function")throw new Error;return function(){var o=ye(this,t),l=o.tween;if(l!==i){r=(i=l).slice();for(var c={name:e,value:n},a=0,s=r.length;a<s;++a)if(r[a].name===e){r[a]=c;break}a===s&&r.push(c)}o.tween=r}}function Ou(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i=ue(this.node(),n).tween,r=0,o=i.length,l;r<o;++r)if((l=i[r]).name===t)return l.value;return null}return this.each((e==null?Eu:Lu)(n,t,e))}function Di(t,e,n){var i=t._id;return t.each(function(){var r=ye(this,i);(r.value||(r.value={}))[e]=n.apply(this,arguments)}),function(r){return ue(r,i).value[e]}}function bs(t,e){var n;return(typeof e=="number"?le:e instanceof ze?dn:(n=ze(e))?(e=n,dn):ds)(t,e)}function ju(t){return function(){this.removeAttribute(t)}}function Pu(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Du(t,e,n){var i,r=n+"",o;return function(){var l=this.getAttribute(t);return l===r?null:l===i?o:o=e(i=l,n)}}function qu(t,e,n){var i,r=n+"",o;return function(){var l=this.getAttributeNS(t.space,t.local);return l===r?null:l===i?o:o=e(i=l,n)}}function Bu(t,e,n){var i,r,o;return function(){var l,c=n(this),a;return c==null?void this.removeAttribute(t):(l=this.getAttribute(t),a=c+"",l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c)))}}function Vu(t,e,n){var i,r,o;return function(){var l,c=n(this),a;return c==null?void this.removeAttributeNS(t.space,t.local):(l=this.getAttributeNS(t.space,t.local),a=c+"",l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c)))}}function Iu(t,e){var n=Ln(t),i=n==="transform"?bu:bs;return this.attrTween(t,typeof e=="function"?(n.local?Vu:Bu)(n,i,Di(this,"attr."+t,e)):e==null?(n.local?Pu:ju)(n):(n.local?qu:Du)(n,i,e))}function Ru(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Hu(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Xu(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&Hu(t,o)),n}return r._value=e,r}function Yu(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&Ru(t,o)),n}return r._value=e,r}function zu(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var i=Ln(t);return this.tween(n,(i.local?Xu:Yu)(i,e))}function Fu(t,e){return function(){Pi(this,t).delay=+e.apply(this,arguments)}}function Uu(t,e){return e=+e,function(){Pi(this,t).delay=e}}function Gu(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Fu:Uu)(e,t)):ue(this.node(),e).delay}function Wu(t,e){return function(){ye(this,t).duration=+e.apply(this,arguments)}}function Ku(t,e){return e=+e,function(){ye(this,t).duration=e}}function Zu(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Wu:Ku)(e,t)):ue(this.node(),e).duration}function Qu(t,e){if(typeof e!="function")throw new Error;return function(){ye(this,t).ease=e}}function Ju(t){var e=this._id;return arguments.length?this.each(Qu(e,t)):ue(this.node(),e).ease}function _u(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;ye(this,t).ease=n}}function t2(t){if(typeof t!="function")throw new Error;return this.each(_u(this._id,t))}function e2(t){typeof t!="function"&&(t=Wo(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=[],a,s=0;s<l;++s)(a=o[s])&&t.call(a,a.__data__,s,o)&&c.push(a);return new Ce(i,this._parents,this._name,this._id)}function n2(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,o=Math.min(i,r),l=new Array(i),c=0;c<o;++c)for(var a=e[c],s=n[c],u=a.length,d=l[c]=new Array(u),f,h=0;h<u;++h)(f=a[h]||s[h])&&(d[h]=f);for(;c<i;++c)l[c]=e[c];return new Ce(l,this._parents,this._name,this._id)}function i2(t){return(t+"").trim().split(/^|\s+/).every(function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||e==="start"})}function r2(t,e,n){var i,r,o=i2(e)?Pi:ye;return function(){var l=o(this,t),c=l.on;c!==i&&(r=(i=c).copy()).on(e,n),l.on=r}}function o2(t,e){var n=this._id;return arguments.length<2?ue(this.node(),n).on.on(t):this.each(r2(n,t,e))}function s2(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function l2(){return this.on("end.remove",s2(this._id))}function a2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=$i(t));for(var i=this._groups,r=i.length,o=new Array(r),l=0;l<r;++l)for(var c=i[l],a=c.length,s=o[l]=new Array(a),u,d,f=0;f<a;++f)(u=c[f])&&(d=t.call(u,u.__data__,f,c))&&("__data__"in u&&(d.__data__=u.__data__),s[f]=d,Pn(s[f],e,n,f,s,ue(u,n)));return new Ce(o,this._parents,e,n)}function c2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Go(t));for(var i=this._groups,r=i.length,o=[],l=[],c=0;c<r;++c)for(var a=i[c],s=a.length,u,d=0;d<s;++d)if(u=a[d]){for(var f=t.call(u,u.__data__,d,a),h,g=ue(u,n),y=0,w=f.length;y<w;++y)(h=f[y])&&Pn(h,e,n,y,f,g);o.push(f),l.push(u)}return new Ce(o,l,e,n)}var u2=D1.prototype.constructor;function h2(){return new u2(this._groups,this._parents)}function f2(t,e){var n,i,r;return function(){var o=h1(this,t),l=(this.style.removeProperty(t),h1(this,t));return o===l?null:o===n&&l===i?r:r=e(n=o,i=l)}}function ws(t){return function(){this.style.removeProperty(t)}}function d2(t,e,n){var i,r=n+"",o;return function(){var l=h1(this,t);return l===r?null:l===i?o:o=e(i=l,n)}}function m2(t,e,n){var i,r,o;return function(){var l=h1(this,t),c=n(this),a=c+"";return c==null&&(a=c=(this.style.removeProperty(t),h1(this,t))),l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c))}}function g2(t,e){var n,i,r,o="style."+e,l="end."+o,c;return function(){var a=ye(this,t),s=a.on,u=a.value[o]==null?c||(c=ws(e)):void 0;(s!==n||r!==u)&&(i=(n=s).copy()).on(l,r=u),a.on=i}}function y2(t,e,n){var i=(t+="")=="transform"?xu:bs;return e==null?this.styleTween(t,f2(t,i)).on("end.style."+t,ws(t)):typeof e=="function"?this.styleTween(t,m2(t,i,Di(this,"style."+t,e))).each(g2(this._id,t)):this.styleTween(t,d2(t,i,e),n).on("end.style."+t,null)}function v2(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function p2(t,e,n){var i,r;function o(){var l=e.apply(this,arguments);return l!==r&&(i=(r=l)&&v2(t,l,n)),i}return o._value=e,o}function x2(t,e,n){var i="style."+(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;return this.tween(i,p2(t,e,n??""))}function b2(t){return function(){this.textContent=t}}function w2(t){return function(){var e=t(this);this.textContent=e??""}}function k2(t){return this.tween("text",typeof t=="function"?w2(Di(this,"text",t)):b2(t==null?"":t+""))}function A2(t){return function(e){this.textContent=t.call(this,e)}}function S2(t){var e,n;function i(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&A2(r)),e}return i._value=t,i}function C2(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,S2(t))}function N2(){for(var t=this._name,e=this._id,n=ks(),i=this._groups,r=i.length,o=0;o<r;++o)for(var l=i[o],c=l.length,a,s=0;s<c;++s)if(a=l[s]){var u=ue(a,e);Pn(a,t,n,s,l,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Ce(i,this._parents,t,n)}function M2(){var t,e,n=this,i=n._id,r=n.size();return new Promise(function(o,l){var c={value:l},a={value:function(){--r===0&&o()}};n.each(function(){var s=ye(this,i),u=s.on;u!==t&&(e=(t=u).copy(),e._.cancel.push(c),e._.interrupt.push(c),e._.end.push(a)),s.on=e}),r===0&&o()})}var T2=0;function Ce(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function ks(){return++T2}var be=D1.prototype;Ce.prototype={constructor:Ce,select:a2,selectAll:c2,selectChild:be.selectChild,selectChildren:be.selectChildren,filter:e2,merge:n2,selection:h2,transition:N2,call:be.call,nodes:be.nodes,node:be.node,size:be.size,empty:be.empty,each:be.each,on:o2,attr:Iu,attrTween:zu,style:y2,styleTween:x2,text:k2,textTween:C2,remove:l2,tween:Ou,delay:Gu,duration:Zu,ease:Ju,easeVarying:t2,end:M2,[Symbol.iterator]:be[Symbol.iterator]};function $2(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var E2={time:null,delay:0,duration:250,ease:$2};function L2(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function O2(t){var e,n;t instanceof Ce?(e=t._id,t=t._name):(e=ks(),(n=E2).time=ji(),t=t==null?null:t+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var l=i[o],c=l.length,a,s=0;s<c;++s)(a=l[s])&&Pn(a,t,e,s,l,n||L2(a,e));return new Ce(i,this._parents,t,e)}D1.prototype.interrupt=$u;D1.prototype.transition=O2;const yi=Math.PI,vi=2*yi,qe=1e-6,j2=vi-qe;function As(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function P2(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return As;const n=10**e;return function(i){this._+=i[0];for(let r=1,o=i.length;r<o;++r)this._+=Math.round(arguments[r]*n)/n+i[r]}}class D2{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?As:P2(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,i,r){this._append`Q${+e},${+n},${this._x1=+i},${this._y1=+r}`}bezierCurveTo(e,n,i,r,o,l){this._append`C${+e},${+n},${+i},${+r},${this._x1=+o},${this._y1=+l}`}arcTo(e,n,i,r,o){if(e=+e,n=+n,i=+i,r=+r,o=+o,o<0)throw new Error(`negative radius: ${o}`);let l=this._x1,c=this._y1,a=i-e,s=r-n,u=l-e,d=c-n,f=u*u+d*d;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(f>qe)if(!(Math.abs(d*a-s*u)>qe)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let h=i-l,g=r-c,y=a*a+s*s,w=h*h+g*g,x=Math.sqrt(y),M=Math.sqrt(f),A=o*Math.tan((yi-Math.acos((y+f-w)/(2*x*M)))/2),T=A/M,j=A/x;Math.abs(T-1)>qe&&this._append`L${e+T*u},${n+T*d}`,this._append`A${o},${o},0,0,${+(d*h>u*g)},${this._x1=e+j*a},${this._y1=n+j*s}`}}arc(e,n,i,r,o,l){if(e=+e,n=+n,i=+i,l=!!l,i<0)throw new Error(`negative radius: ${i}`);let c=i*Math.cos(r),a=i*Math.sin(r),s=e+c,u=n+a,d=1^l,f=l?r-o:o-r;this._x1===null?this._append`M${s},${u}`:(Math.abs(this._x1-s)>qe||Math.abs(this._y1-u)>qe)&&this._append`L${s},${u}`,i&&(f<0&&(f=f%vi+vi),f>j2?this._append`A${i},${i},0,1,${d},${e-c},${n-a}A${i},${i},0,1,${d},${this._x1=s},${this._y1=u}`:f>qe&&this._append`A${i},${i},0,${+(f>=yi)},${d},${this._x1=e+i*Math.cos(o)},${this._y1=n+i*Math.sin(o)}`)}rect(e,n,i,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}function q2(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function vn(t,e){if(!isFinite(t)||t===0)return null;var n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function d1(t){return t=vn(Math.abs(t)),t?t[1]:NaN}function B2(t,e){return function(n,i){for(var r=n.length,o=[],l=0,c=t[0],a=0;r>0&&c>0&&(a+c+1>i&&(c=Math.max(1,i-a)),o.push(n.substring(r-=c,r+c)),!((a+=c+1)>i));)c=t[l=(l+1)%t.length];return o.reverse().join(e)}}function V2(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var I2=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function pn(t){if(!(e=I2.exec(t)))throw new Error("invalid format: "+t);var e;return new qi({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}pn.prototype=qi.prototype;function qi(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}qi.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 R2(t){t:for(var e=t.length,n=1,i=-1,r;n<e;++n)switch(t[n]){case".":i=r=n;break;case"0":i===0&&(i=n),r=n;break;default:if(!+t[n])break t;i>0&&(i=0);break}return i>0?t.slice(0,i)+t.slice(r+1):t}var xn;function H2(t,e){var n=vn(t,e);if(!n)return xn=void 0,t.toPrecision(e);var i=n[0],r=n[1],o=r-(xn=Math.max(-8,Math.min(8,Math.floor(r/3)))*3)+1,l=i.length;return o===l?i:o>l?i+new Array(o-l+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+vn(t,Math.max(0,e+o-1))[0]}function Yr(t,e){var n=vn(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}const zr={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:q2,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Yr(t*100,e),r:Yr,s:H2,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Fr(t){return t}var Ur=Array.prototype.map,Gr=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function X2(t){var e=t.grouping===void 0||t.thousands===void 0?Fr:B2(Ur.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",i=t.currency===void 0?"":t.currency[1]+"",r=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?Fr:V2(Ur.call(t.numerals,String)),l=t.percent===void 0?"%":t.percent+"",c=t.minus===void 0?"\u2212":t.minus+"",a=t.nan===void 0?"NaN":t.nan+"";function s(d,f){d=pn(d);var h=d.fill,g=d.align,y=d.sign,w=d.symbol,x=d.zero,M=d.width,A=d.comma,T=d.precision,j=d.trim,N=d.type;N==="n"?(A=!0,N="g"):zr[N]||(T===void 0&&(T=12),j=!0,N="g"),(x||h==="0"&&g==="=")&&(x=!0,h="0",g="=");var E=(f&&f.prefix!==void 0?f.prefix:"")+(w==="$"?n:w==="#"&&/[boxX]/.test(N)?"0"+N.toLowerCase():""),m=(w==="$"?i:/[%p]/.test(N)?l:"")+(f&&f.suffix!==void 0?f.suffix:""),p=zr[N],b=/[defgprs%]/.test(N);T=T===void 0?6:/[gprs]/.test(N)?Math.max(1,Math.min(21,T)):Math.max(0,Math.min(20,T));function S(k){var R=E,V=m,K,U,F;if(N==="c")V=p(k)+V,k="";else{k=+k;var D=k<0||1/k<0;if(k=isNaN(k)?a:p(Math.abs(k),T),j&&(k=R2(k)),D&&+k==0&&y!=="+"&&(D=!1),R=(D?y==="("?y:c:y==="-"||y==="("?"":y)+R,V=(N==="s"&&!isNaN(k)&&xn!==void 0?Gr[8+xn/3]:"")+V+(D&&y==="("?")":""),b){for(K=-1,U=k.length;++K<U;)if(F=k.charCodeAt(K),48>F||F>57){V=(F===46?r+k.slice(K+1):k.slice(K))+V,k=k.slice(0,K);break}}}A&&!x&&(k=e(k,1/0));var H=R.length+k.length+V.length,z=H<M?new Array(M-H+1).join(h):"";switch(A&&x&&(k=e(z+k,z.length?M-V.length:1/0),z=""),g){case"<":k=R+k+V+z;break;case"=":k=R+z+k+V;break;case"^":k=z.slice(0,H=z.length>>1)+R+k+V+z.slice(H);break;default:k=z+R+k+V;break}return o(k)}return S.toString=function(){return d+""},S}function u(d,f){var h=Math.max(-8,Math.min(8,Math.floor(d1(f)/3)))*3,g=Math.pow(10,-h),y=s((d=pn(d),d.type="f",d),{suffix:Gr[8+h/3]});return function(w){return y(g*w)}}return{format:s,formatPrefix:u}}var W1,Ss,Cs;Y2({thousands:",",grouping:[3],currency:["$",""]});function Y2(t){return W1=X2(t),Ss=W1.format,Cs=W1.formatPrefix,W1}function z2(t){return Math.max(0,-d1(Math.abs(t)))}function F2(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(d1(e)/3)))*3-d1(Math.abs(t)))}function U2(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,d1(e)-d1(t))+1}function G2(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function W2(t){return function(){return t}}function K2(t){return+t}var Wr=[0,1];function i1(t){return t}function pi(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:W2(isNaN(e)?NaN:.5)}function Z2(t,e){var n;return t>e&&(n=t,t=e,e=n),function(i){return Math.max(t,Math.min(e,i))}}function Q2(t,e,n){var i=t[0],r=t[1],o=e[0],l=e[1];return r<i?(i=pi(r,i),o=n(l,o)):(i=pi(i,r),o=n(o,l)),function(c){return o(i(c))}}function J2(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),o=new Array(i),l=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++l<i;)r[l]=pi(t[l],t[l+1]),o[l]=n(e[l],e[l+1]);return function(c){var a=ic(t,c,1,i)-1;return o[a](r[a](c))}}function _2(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function t9(){var t=Wr,e=Wr,n=Oi,i,r,o,l=i1,c,a,s;function u(){var f=Math.min(t.length,e.length);return l!==i1&&(l=Z2(t[0],t[f-1])),c=f>2?J2:Q2,a=s=null,d}function d(f){return f==null||isNaN(f=+f)?o:(a||(a=c(t.map(i),e,n)))(i(l(f)))}return d.invert=function(f){return l(r((s||(s=c(e,t.map(i),le)))(f)))},d.domain=function(f){return arguments.length?(t=Array.from(f,K2),u()):t.slice()},d.range=function(f){return arguments.length?(e=Array.from(f),u()):e.slice()},d.rangeRound=function(f){return e=Array.from(f),n=yu,u()},d.clamp=function(f){return arguments.length?(l=f?!0:i1,u()):l!==i1},d.interpolate=function(f){return arguments.length?(n=f,u()):n},d.unknown=function(f){return arguments.length?(o=f,d):o},function(f,h){return i=f,r=h,u()}}function e9(){return t9()(i1,i1)}function n9(t,e,n,i){var r=ac(t,e,n),o;switch(i=pn(i??",f"),i.type){case"s":{var l=Math.max(Math.abs(t),Math.abs(e));return i.precision==null&&!isNaN(o=F2(r,l))&&(i.precision=o),Cs(i,l)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(o=U2(r,Math.max(Math.abs(t),Math.abs(e))))&&(i.precision=o-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(o=z2(r))&&(i.precision=o-(i.type==="%")*2);break}}return Ss(i)}function i9(t){var e=t.domain;return t.ticks=function(n){var i=e();return lc(i[0],i[i.length-1],n??10)},t.tickFormat=function(n,i){var r=e();return n9(r[0],r[r.length-1],n??10,i)},t.nice=function(n){n==null&&(n=10);var i=e(),r=0,o=i.length-1,l=i[r],c=i[o],a,s,u=10;for(c<l&&(s=l,l=c,c=s,s=r,r=o,o=s);u-- >0;){if(s=si(l,c,n),s===a)return i[r]=l,i[o]=c,e(i);if(s>0)l=Math.floor(l/s)*s,c=Math.ceil(c/s)*s;else if(s<0)l=Math.ceil(l*s)/s,c=Math.floor(c*s)/s;else break;a=s}return t},t}function Ns(){var t=e9();return t.copy=function(){return _2(t,Ns())},G2.apply(t,arguments),i9(t)}function _e(t){return function(){return t}}const Kr=1e-12;function r9(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const i=Math.floor(n);if(!(i>=0))throw new RangeError(`invalid digits: ${n}`);e=i}return t},()=>new D2(e)}function o9(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Ms(t){this._context=t}Ms.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 Bi(t){return new Ms(t)}function s9(t){return t[0]}function l9(t){return t[1]}function a9(t,e){var n=_e(!0),i=null,r=Bi,o=null,l=r9(c);t=typeof t=="function"?t:t===void 0?s9:_e(t),e=typeof e=="function"?e:e===void 0?l9:_e(e);function c(a){var s,u=(a=o9(a)).length,d,f=!1,h;for(i==null&&(o=r(h=l())),s=0;s<=u;++s)!(s<u&&n(d=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(d,s,a),+e(d,s,a));if(h)return o=null,h+""||null}return c.x=function(a){return arguments.length?(t=typeof a=="function"?a:_e(+a),c):t},c.y=function(a){return arguments.length?(e=typeof a=="function"?a:_e(+a),c):e},c.defined=function(a){return arguments.length?(n=typeof a=="function"?a:_e(!!a),c):n},c.curve=function(a){return arguments.length?(r=a,i!=null&&(o=r(i)),c):r},c.context=function(a){return arguments.length?(a==null?i=o=null:o=r(i=a),c):i},c}function Zr(t,e,n){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-n),t._x2,t._y2)}function Vi(t,e){this._context=t,this._k=(1-e)/6}Vi.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:Zr(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:Zr(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 Ts=(function t(e){function n(i){return new Vi(i,e)}return n.tension=function(i){return t(+i)},n})(0);function c9(t,e,n){var i=t._x1,r=t._y1,o=t._x2,l=t._y2;if(t._l01_a>Kr){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,a=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/a,r=(r*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/a}if(t._l23_a>Kr){var s=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*s+t._x1*t._l23_2a-e*t._l12_2a)/u,l=(l*s+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(i,r,o,l,t._x2,t._y2)}function $s(t,e){this._context=t,this._alpha=e}$s.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 n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,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:c9(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 Es=(function t(e){function n(i){return e?new $s(i,e):new Vi(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function Ls(t){this._context=t}Ls.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,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var i=Qr(t),r=Qr(e),o=0,l=1;l<n;++o,++l)this._context.bezierCurveTo(i[0][o],r[0][o],i[1][o],r[1][o],t[l],e[l]);(this._line||this._line!==0&&n===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 Qr(t){var e,n=t.length-1,i,r=new Array(n),o=new Array(n),l=new Array(n);for(r[0]=0,o[0]=2,l[0]=t[0]+2*t[1],e=1;e<n-1;++e)r[e]=1,o[e]=4,l[e]=4*t[e]+2*t[e+1];for(r[n-1]=2,o[n-1]=7,l[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)i=r[e]/o[e-1],o[e]-=i,l[e]-=i*l[e-1];for(r[n-1]=l[n-1]/o[n-1],e=n-2;e>=0;--e)r[e]=(l[e]-r[e+1])/o[e];for(o[n-1]=(t[n]+r[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-r[e+1];return[r,o]}function bn(t){return new Ls(t)}function S1(t,e,n){this.k=t,this.x=e,this.y=n}S1.prototype={constructor:S1,scale:function(t){return t===1?this:new S1(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new S1(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+")"}};S1.prototype;const u9={censor:Le,squish(t,{min:e,max:n}){return isFinite(t)?t<e?e:t>n?n:t:t},squish_any:yt,squish_infinite:oi,discard(t,{min:e,max:n}){return t<e||t>n?null:t}};function e1(t,{title:e,...n}={}){return Object.assign(function(i){return i.map(t)},{title:e},n)}function Os({values:t={},na_value:e=null,title:n,...i}={}){let r;return Array.isArray(t)?r=function(o){return o.map(l=>t[+l]??e)}:r=function(o){return o.map(l=>t[l]??e)},Object.assign(r,{title:n},i)}function t1({limits:t,oob:e=Le,range:n=[0,1],na_value:i=null,null_value:r=null,title:o,...l}={}){return Object.assign(function(a){let s=this?.limits?.min??this?.limits?.[0]??a.extent?.[0],u=this?.limits?.max??this?.limits?.[1]??a.extent?.[1],d=u-s,f=n?.min??n[0],h=n?.max??n[1],g=h-f;return a.map(y=>(y=this.oob(y,{min:s,max:u}),y===null?r:isNaN(y)?i:f+(y-s)/d*g))},{title:o,limits:t,oob:e},l)}function Jr({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>+i)},{asis:!0,title:t},e)}function xi({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>String(i??""))},{asis:!0,title:t},e)}function wn({h:t=[15,375],c:e=100,l:n=65,h_start:i=0,alpha:r=1,direction:o=1,limits:l,oob:c=Le,na_value:a="#7f7f7f",null_value:s=null,title:u,...d}={}){return Object.assign(function(h){let g=this?.limits?.min??this?.limits?.[0]??h.extent?.[0],y=this?.limits?.max??this?.limits?.[1]??h.extent?.[1],w=y-g,x=t?.min??t[0],M=t?.max??t[1],A=M-x;return h.map(T=>(T=this.oob(T,{min:g,max:y}),T===null?s:isNaN(T)?a:hs(i+x+A*(T-g)/w*o,e,n,r).toString()))},{title:u,limits:l,oob:c},d)}function h9({values:t,na_value:e="#7f7f7f",title:n,...i}={}){return Os({values:t,na_value:e,title:n,...i})}function kn({low:t="#132B43",high:e="#56B1F7",limits:n,oob:i=Le,na_value:r="#7f7f7f",null_value:o=null,title:l,...c}={}){return Object.assign(function(s){let u=this?.limits?.min??this?.limits?.[0]??s.extent?.[0],d=this?.limits?.max??this?.limits?.[1]??s.extent?.[1],f=fi(t,e);return s.map(h=>(h=this.oob(h,{min:u,max:d}),h===null?o:isNaN(h)?r:u===d?f(.5):h>d?e:h<u?t:f((h-u)/(d-u))))},{title:l,limits:n,oob:i},c)}function f9({low:t="#832424",mid:e="white",high:n="#3A3A98",midpoint:i=0,limits:r,oob:o=Le,na_value:l="#7f7f7f",null_value:c=null,title:a,...s}={}){return Object.assign(function(d){let f=this?.limits?.min??this?.limits?.[0]??d.extent?.[0],h=this?.limits?.max??this?.limits?.[1]??d.extent?.[1],g=i??(f+h)/2,y=fi(t,e),w=fi(e,n);return d.map(x=>(x=this.oob(x,{min:f,max:h}),x===null?c:isNaN(x)?l:x<g?y((x-f)/(g-f)):w((x-g)/(h-g))))},{title:a,limits:r,oob:o},s)}function d9({colors:t=[],values:e,anchors:n,limits:i,oob:r=Le,na_value:o="#7f7f7f",null_value:l=null,title:c,...a}={}){return Object.assign(function(u){let d=this?.limits?.min??this?.limits?.[0]??u.extent?.[0],f=this?.limits?.max??this?.limits?.[1]??u.extent?.[1],h=e??n?.map?.(y=>d+(f-d)*y);h??=Array(t.length).fill(0).map((y,w)=>d+(f-d)*w/(t.length-1)),t=t.filter((y,w)=>!isNaN(h[w])),h=h.filter(y=>!isNaN(y));let g=Ns(h,t);return u.map(y=>(y=this.oob(y,{min:d,max:f}),y===null?l:isNaN(y)?o:g(y)))},{title:c,limits:i,oob:r},a)}function _r({alpha:t,limits:e,oob:n=Le,title:i,...r}={}){let o=wn({alpha:t}),l=kn();return Object.assign(function(a){return a.level!=null?o.call(this,a):l.call(this,a)},{title:i,limits:e,oob:n},r)}function m9({discrete:t=wn(),continuous:e=kn(),limits:n,oob:i=Le,title:r,...o}={}){return Object.assign(function(c){return c.level!=null?t.call(this,c):e.call(this,c)},{title:r,limits:n,oob:i},o)}function to({title:t,...e}={}){let n=["circle","square","triangle","diamond","plus","cross"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}function eo({title:t,...e}={}){let n=["solid","22","42","44","13","1343","73","2262","12223242","F282","F4448444","224282F2","F1"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}const Zn={identity:({title:t,...e}={})=>xi({legend:!1,title:t,...e}),discrete:wn,hue:wn,manual:h9,continuous:kn,gradient:kn,gradient2:f9,gradientn:d9,dynamic:m9,auto:_r,custom:e1,default:_r},js={color:Zn,stroke:Zn,fill:Zn,alpha:{continuous:t1,custom:e1,default:({title:t,...e}={})=>t1({range:[.1,1],title:t,...e})},size:{identity:({title:t,...e}={})=>Jr({legend:!1,title:t,...e}),continuous:t1,custom:e1,default:({title:t,...e}={})=>t1({range:[1,6],title:t,...e})},linewidth:{identity:({title:t,...e}={})=>Jr({legend:!1,title:t,...e}),continuous:t1,manual:Os,custom:e1,default:({title:t,...e}={})=>t1({range:[1,6],title:t,...e})},linetype:{identity:({title:t,...e}={})=>xi({legend:!1,title:t,...e}),discrete:eo,default:eo,custom:e1},shape:{identity:({title:t,...e}={})=>xi({legend:!1,title:t,...e}),discrete:to,default:to,custom:e1}};function g9({step:t,minor:e=!1}={}){return function({min:n,max:i,minor:r=e}={}){let o=i-n,l=t;if(isNaN(o)||o<0)return[];if(o==0)return[n];let c=10**Math.floor(Math.log10(o)-1),a=o/c;l==null&&(l=([5,10,20].find(d=>d*5>a)??20)*c),r&&(l/=2);let s=Math.ceil(n/l),u=Math.floor(i/l);return new Array(u-s+1).fill(null).map((d,f)=>(s+f)*l)}}function y9(){return function({min:t,max:e}={}){let n=e-t;if(isNaN(n)||n<0)return[];if(n==0)return[new Date(t)];let i=new Date(t),r=new Date(e),o=i.getUTCFullYear(),l=i.getUTCMonth(),c=i.getUTCDate(),a=i.getUTCHours(),s=i.getUTCMinutes(),u=i.getUTCSeconds(),d=[];if(n>3*31536e6){let f=n/31536e6,h=10**Math.floor(Math.log10(f)-1),g=f/h,y=Math.max((g>50?10:g>25?5:2)*h,1);i=new Date(Date.UTC(Math.ceil(o/y)*y));do d.push(new Date(i));while(i.setUTCFullYear(i.getUTCFullYear()+y)<r)}else if(n>3*2592e6){let f=n/2592e6,h=[2,3,6].findLast(g=>g*3<=f)||1;i=new Date(Date.UTC(o,Math.ceil(l/h)*h));do d.push(new Date(i));while(i.setUTCMonth(i.getUTCMonth()+h)<r)}else if(n>21*864e5){i=new Date(Date.UTC(o,l,c+(7-i.getUTCDay())%7));do d.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+7)<r)}else if(n>3*864e5){let f=n/864e5,h=[2,3].findLast(g=>g*3<=f)||1;i=new Date(Date.UTC(o,l,Math.ceil(c)));do d.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+h)<r)}else if(n>3*36e5){let f=n/36e5,h=[2,3,6].findLast(g=>g*3<=f)||1;i=new Date(Date.UTC(o,l,c,Math.ceil(a/h)*h));do d.push(new Date(i));while(i.setUTCHours(i.getUTCHours()+h)<r)}else if(n>3*6e4){let f=n/6e4,h=[2,5,10,30].findLast(g=>g*3<=f)||1;i=new Date(Date.UTC(o,l,c,a,Math.ceil(s/h)*h));do d.push(new Date(i));while(i.setUTCMinutes(i.getUTCMinutes()+h)<r)}else if(n>3e3){let f=n/1e3,h=[2,5,10,30].findLast(g=>g*3<=f)||1;i=new Date(Date.UTC(o,l,c,a,s,Math.ceil(u/h)*h));do d.push(new Date(i));while(i.setUTCSeconds(i.getUTCSeconds()+h)<r)}else{let f=10**Math.floor(Math.log10(n)-1),h=n/f,g=(h>50?20:h>25?10:5)*f,y=Math.ceil(t/g),w=Math.floor(e/g);return new Array(w-y+1).fill(null).map((x,M)=>new Date((y+M)*g))}return d}}const Dn={number:g9,datetime:y9};let v9={y:t=>t.getUTCFullYear(),M:t=>t.getUTCMonth()+1,d:t=>t.getUTCDate(),h:t=>t.getUTCHours(),m:t=>t.getUTCMinutes(),s:t=>t.getUTCSeconds()};function bi(t,e="yyyy-MM-dd hh:mm:ss"){return e.replace(/(y|M|d|h|m|s)\1*/g,(n,i)=>{let r=String(v9[i](t)),o=n.length;return i=="y"?r.slice(-o):r.padStart(o,"0")})}const Ps={default:{"":1,k:1e3,M:1e6,G:1e9,T:1e12,P:1e15,E:1e18,Z:1e21,Y:1e24},si:{y:1e-24,z:1e-21,a:1e-18,f:1e-15,p:1e-12,n:1e-9,\u03BC:1e-6,m:.001,"":1,k:1e3,M:1e6,G:1e9,T:1e12,P:1e15,E:1e18,Z:1e21,Y:1e24},binary:{"":1,Ki:1024,Mi:1024**2,Gi:1024**3,Ti:1024**4,Pi:1024**5,Ei:1024**6,Zi:1024**7,Yi:1024**8},time:{ns:1e-9,\u03BCs:1e-6,ms:.001,s:1,m:60,h:3600,d:86400,w:604800,M:2592e3,y:31536e3}};function p9(){return function(t){return t==null?"":t instanceof Date?bi(t):String(t)}}function Ds({accuracy:t,scale:e=1,prefix:n="",suffix:i="",big_mark:r=" ",style_positive:o="none",style_negative:l="hyphen",scale_cut:c={"":1}}={}){let a={plus:"+",space:" "}[o]??"",s={hyphen:"-",minus:"\u2212",parens:"("}[l]??"";return function(u,d,f=[u]){let h;if(t)h=t;else if(f.length>1){let A=f.filter(j=>isFinite(j)).sort((j,N)=>j-N);h=A.slice(1).map((j,N)=>j-A[N]).reduce((j,N)=>j<N?j:N)*e}else h=u||1;let g=Object.entries(c).sort((A,T)=>T[1]-A[1]).find(A=>A[1]<=h)?.[0]??"",y=(g==""?"":" ")+g+i;h=h/(c[g]??1);let w=Math.max(0,Math.ceil(-Math.log10(h))),x=Math.round(u*e/(c[g]??1)/h)*h,M=n+(x>0?a:x<0?s:"");return x<0&&l=="parens"&&(y=")"+y),x=Math.abs(x).toFixed(w).replace(new RegExp("(?<!\\..*)(\\d)(?=(?:\\d{3})+(?:\\.|$))","g"),"$1"+r),M+x+y}}function wi({format:t}={}){let e={y:31536e3,M:2678400,d:86400,h:3600,m:60,s:1},n={y:0,M:5,d:8,h:11,m:14,s:17},i={y:4,M:7,d:10,h:13,m:16,s:19};return function(r,o,l=[r]){if(l.length<=1)return bi(new Date(r),t);if(t==null){let c=Array.from(l).sort((f,h)=>f-h),a=c.slice(1).map((f,h)=>f-c[h]).reduce((f,h)=>f<h?f:h)/1e3,s=(c[c.length-1]-c[0])/1e3,u=["y","M","d","m","s"].find(f=>e[f]<=a),d=s>2678400?"y":s>86400?"M":"h";t="yyyy-MM-dd hh:mm:ss".slice(n[d],i[u])}return bi(new Date(r),t)}}function no(t){let e=Ds(t),n=wi(t);return function(i,r,o=[i]){return i instanceof Ro?String(i):i instanceof Date?n(i,r,o):e(i,r,o)}}const ki={number:Ds,datetime:wi,timestamp:wi,asis:p9,auto:no,default:function(t){return no({scale_cut:Ps.default,...t})}};function x9(t,e){return t==null?{}:Object.fromEntries(Object.entries(t).map(([n,i])=>[n,e(n,i)]))}class b9{constructor(e,n){let{data:i=[],aes:r,extendX:o,extendY:l}=n,{geom:c,stat:a,data:s,aes:u,levels:d={},scales:f={},attrs:h,args:g,vBind:y,extendX:w,extendY:x}=e;if(!Ee[c]){console.error(`Invalid geom "${c}"`,"in layer",e,", plot",n);return}let M=typeof a=="function"?a:Ja[a];if(M==null){console.error(`Invalid stat "${a}"`,"in layer",e,", plot",n);return}this.geom=c,this.vBind=Object.assign(y,{extendX:w??o??0,extendY:x??l??0}),this.scales={},typeof s=="function"&&(s=s(i)),s==null&&(s=i),u={...r,...u};let A={};this.$fnames={};for(const N in u)this.$fnames[N]=String(u[N]),A[N]=s.map(u[N]).map(E=>E instanceof String||E instanceof Number?new He(E):E);A.$raw=s;let T=M?.core_attrs??["x","y","xnudge","ynudge"],j=s.length;j==0&&(j=T.map(N=>h[N]).filter(N=>N!=null).reduce((N,E)=>Math.max(Array.isArray(E)?E.length:1,N),0));for(const N in h)if(T.includes(N))if(Array.isArray(h[N])){if(h[N].length!=j)throw new Error(`Attribute "${N}" must have the same length as data (${j})`);A[N]=h[N]}else{if(h[N]==null)continue;A[N]=new Array(j).fill(h[N])}try{if(A=M(A,g||{}),A.$group??=A.group,A.$group==null){let N=Object.values(A).filter(E=>Array.isArray(E)).reduce((E,m)=>Math.max(E,m.length),0);A.$group=new Array(N).fill(null)}}catch(N){console.error("Error",N,"in layer",e,", plot",n);return}this.localScales=new Set([...Object.keys(d).filter(N=>d[N]!=null),...Object.keys(f).filter(N=>f[N]!=null)]),this.aes=new Set([...this.localScales,...Ee[c]?.scale_attrs??[]]),this.$data=A,this.data={...A};for(const N in A)if(f[N]!=null){let E=new qn(f[N]);E.aesthetics=N,E._title=this.$fnames[N];let m=this.$data[N];if(!m?.length)continue;E.asis||(d?.[N]!=null?E.level=d[N]:m.some(T1)?E.level=Xe.from(m):E.extent=Ft.extent(m.filter(p=>!(p instanceof He)))),this.applyScale(N,E)}this.attrs={};for(const N in h)if(!T.includes(N))if(Array.isArray(h[N])){if(h[N].length!=j)throw new Error(`Attribute "${N}" must have the same length as data (${j})`);this.data[N]=h[N]}else this.attrs[N]=h[N],h[N]!=null&&(this.data[N]=new Array(j).fill(h[N]))}applyScale(e,n){let i=this.$data[e];if(i==null)return;n.level&&(i=n.level.apply(i)),n.limits&&(i.extent=n.limits),n.aes=e;let r=n(i);this.data[e]=i.map((o,l)=>o instanceof He?o.valueOf():r[l]),this.scales[e]=n}applyCoordScale(e){try{Object.assign(this.data,Ee[this.geom]?.coord_scale?.(this.$data,e))}catch(n){console.error(n)}}}class w9{constructor(e,n){this.levels={},this.extents={},this.layers=[],this.coordScales={};for(let i in n)this.layers.push(new b9(n[i],e));this.layers=this.layers.filter(i=>i.$data!=null),this.aes=new Set(this.layers.flatMap(i=>Array.from(i.aes))),this.scales=new Map}useScales(e,n){this.scales=new Map;for(const i of this.aes){let r=this.layers.filter(o=>!o.localScales.has(i)).flatMap(o=>o.$data[i]??[]);if(r.length!=0){let o=new qn(e?.[i]??js[i].default());o.aesthetics=i,o.asis||(n?.[i]!=null?o.level=n[i]:r.some(T1)?o.level=Xe.from(r):o.extent=Ft.extent(r.filter(l=>!(l instanceof He)))),o._title=this.layers.reduce((l,c)=>l??c.$fnames?.[i],null);for(const l of this.layers)l.localScales.has(i)||l.applyScale(i,o)}for(const o of this.layers){let l=o.scales?.[i];if(l!=null&&!l.asis){this.scales.has(l)||this.scales.set(l,{});let c=this.scales.get(l);c[o.geom]==null&&(c[o.geom]={});for(let a of Ee[o.geom]?.scale_attrs)o.attrs[a]!=null&&(c[o.geom][a]=o.attrs[a])}}}return this}useCoordLevels(e={}){for(const n of["x","y"])if(e[n])this.levels[n]=new Xe(...e[n]);else{let i=this.layers.flatMap(r=>(Ee[r.geom].get_values??Ee[r.geom].get_range)?.(r.$data,n));i.some(T1)?this.levels[n]=Xe.from(i):(i=this.layers.flatMap(r=>Ee[r.geom].get_range?.(r.$data,n)).filter(r=>!isNaN(r)),this.extents[n]=Ft.extent(i.filter(r=>!(r instanceof He))))}for(const n of this.layers)n.applyCoordScale(this.levels);return this}getComputedLayers(){return this.layers.map(e=>({data:Object.values(Object.groupBy(e.data.$group.map((i,r)=>Ee[e.geom].validate(x9(e.data,(o,l)=>l?.[r]))).filter(i=>i!=null),i=>i.$group)),geom:e.geom,vBind:e.vBind}))}getCoordScales(e,n,i){let r={};if(this._range=e,this.levels.x){let o=+(e?.xmin??-.5)-(+n.x?.min||0),l=+(e?.xmax??this.levels.x.length-.5)+(+n.x?.max||0);r.x=new An(this.levels.x,{min:o,max:l})}else{let o=e?.xmin??this.extents.x?.min??0,l=e?.xmax??this.extents.x?.max??0,c=ft(o,-n.x?.min||0),a=ft(l,+n.x?.max||0),s=i?.x??1;if(a-c<s)if(e?.xmax==null&&e?.xmin!=null)a=ft(c,+s);else if(e?.xmax!=null&&e?.xmin==null)c=ft(a,-s);else{let u=a-c;a=ft(a,-u/2+s/2),c=ft(a,-s)}c instanceof Date||a instanceof Date?r.x=new Sn({min:c,max:a}):r.x=new O1({min:c,max:a})}if(this.levels.y){let o=+(e?.ymin??-.5)-(+n.y?.min||0),l=+(e?.ymax??this.levels.y.length-.5)+(+n.y?.max||0);r.y=new An(this.levels.y,{min:o,max:l})}else{let o=e?.ymin??this.extents.y?.min??0,l=e?.ymax??this.extents.y?.max??0,c=ft(o,-n.y?.min),a=ft(l,+n.y?.max||0),s=i?.y??1;if(a-c<s)if(e?.ymax==null&&e?.ymin!=null)a=ft(c,+s);else if(e?.ymax!=null&&e?.ymin==null)c=ft(a,-s);else{let u=a-c;a=ft(a,-u/2+s/2),c=ft(a,-s)}c instanceof Date||a instanceof Date?r.y=new Sn({min:c,max:a}):r.y=new O1({min:c,max:a})}return r}render(e,n,i){let r=this.getCoordScales(e,n,i);return{layers:this.getComputedLayers(),coordScales:r,scales:this.scales}}}class qn extends Function{constructor(e){let n=e._fn??e;function i(){return n.apply(i,arguments)}return Object.setPrototypeOf(i,qn.prototype),Object.assign(i,e),i._fn=n,i}set extent({min:e,max:n,0:i,1:r}={}){e??=i,n??=r,this._limits={0:e,1:n,length:2,min:e,max:n}}get extent(){return this.limits}set limits({min:e,max:n,0:i,1:r}={}){e??=i,n??=r,this.$limits={0:e,1:n,length:2,min:e,max:n}}get limits(){let e=this.$limits?.min??(this.level?0:this._limits?.min),n=this.$limits?.max??this.level?.length??this._limits?.max;return{0:e,1:n,length:2,min:e,max:n}}toString(){return this.title??String(this._fn)}}class An extends Function{constructor(e,{min:n,max:i}={}){const r=n==i?o=>0:o=>(+o-n)/(i-n);return r.range={min:n,max:i},r.level=e,Object.setPrototypeOf(r,An.prototype),r}invert(e){let{min:n,max:i}=this.range;return e*(i-n)+n}get breaks(){return Array.from(this.level)}get minorBreaks(){return[]}}class O1 extends Function{constructor(e){let{min:n,max:i}=e;const r=n==i?o=>isFinite(o)?.5:o:o=>(+o-n)/(i-n);return r.range={min:n,max:i},Object.setPrototypeOf(r,O1.prototype),r}invert(e){let{min:n,max:i}=this.range;return ft(n,e*(i-n))}get breaks(){return Dn.number()}}class Sn extends O1{constructor(e){let n=super(e);return Object.setPrototypeOf(n,Sn.prototype),n}get breaks(){return Dn.datetime()}get minorBreaks(){return[]}}class k9{constructor(e,{breaks:n,labels:i,minorBreaks:r,titles:o}={}){this.scale=e,this.range=e?.range,this.breaks=n??e.breaks,this.labels=i??ki.auto(),this.titles=o??ki.asis(),this.minorBreaks=r??n??e.minorBreaks??e.breaks}getBindings({range:e,expandMult:n}={}){let i=this.breaks,r=this.minorBreaks,o=this.labels,l=this.titles,c=e?.min??this?.range?.min,a=e?.max??this?.range?.max,s=a-c||0;c=c==null?c:ft(c,-(n?.min??0)*s),a=a==null?a:ft(a,+(n?.max??0)*s);function u(f){return f.position!=null?f:{position:f}}typeof i=="function"&&(i=i({min:c,max:a})),i=Array.isArray(i)?i.map(u):[];let d=i.map(f=>f.position);if(typeof r=="function"&&(r=r({min:c,max:a,minor:!0})),r=Array.isArray(r)?r.map(u):[],typeof o=="function"&&(o=d.map(o)),!Array.isArray(o))o=[];else if(o.length!=d.length)throw new Error("Length of labels must be the same as breaks");if(typeof l=="function"&&(l=d.map(l)),!Array.isArray(l))l=[];else if(l.length!=d.length)throw new Error("Length of titles must be the same as breaks");return{majorBreaks:i,minorBreaks:r,ticks:d.map((f,h)=>({position:f,label:o[h],title:l[h]}))}}}const A9=["font-size"],S9={key:0},m1={__name:"CoreText",props:{x:{type:Number,default:0},y:{type:Number,default:0},text:null,title:null,size:Number,color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0},anchorX:Number,anchorY:Number,dockX:Number,dockY:Number,fontFamily:String,fontSize:Number,textLength:Number,textAnchor:{type:String,default:"middle"}},setup(t){const e=qt("ele"),n=Ot({width:0,height:0});St([e,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([r])=>{if(!r)return;await $n();let{width:o,height:l}=r.getBBox();n.width=o,n.height=l});const i=X(()=>{let{width:r,height:o}=n,l=[],c=({start:-.5,end:.5}[t.textAnchor]??0)*r;if(t.dockX!=null||t.dockY!=null){let a={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),s={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(a)&&(a=.5),isNaN(s)&&(s=.5);let u=r*Math.abs(Math.cos(t.angle*Math.PI/180))+o*Math.abs(Math.sin(t.angle*Math.PI/180)),d=r*Math.abs(Math.sin(t.angle*Math.PI/180))+o*Math.abs(Math.cos(t.angle*Math.PI/180)),f=t.translateX,h=t.translateY;l.push(`translate(${u*(.5-a)+f},${d*(s-.5)+h})`),t.angle&&l.push(`rotate(${t.angle})`),l.push(`translate(${c},0)`)}else{let a={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),s={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(a)&&(a=.5),isNaN(s)&&(s=.5);let u=r,d=o,f=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),h=t.translateY*Math.cos(t.angle*Math.PI/180)-t.translateX*Math.sin(t.angle*Math.PI/180);t.angle&&l.push(`rotate(${t.angle})`),l.push(`translate(${u*(.5-a)+f+c},${d*(s-.5)+h})`)}return{x:t.x,y:t.y,color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-dasharray":Ht(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:l.join(" ")||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?"spacingAndGlyphs":null,"transform-origin":`${t.x} ${t.y}`,"text-anchor":t.textAnchor,"dominant-baseline":"central"}});return(r,o)=>(O(),B("text",Q({ref_key:"ele",ref:e},i.value,{"font-size":(t.fontSize??t.size*4)||null}),[pl(r.$slots,"default",{},()=>[t.title?(O(),B("title",S9,Ut(t.title),1)):Lt("",!0),mt(" "+Ut(t.text.replace(/ /g,"\xA0")),1)])],16,A9))}};function qs(t){switch(t._type){case"document":case"block_quote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"link":case"image":case"custom_inline":case"custom_block":return!0;default:return!1}}var C9=function(t,e){this.current=t,this.entering=e===!0},N9=function(){var t=this.current,e=this.entering;if(t===null)return null;var n=qs(t);return e&&n?t._firstChild?(this.current=t._firstChild,this.entering=!0):this.entering=!1:t===this.root?this.current=null:t._next===null?(this.current=t._parent,this.entering=!1):(this.current=t._next,this.entering=!0),{entering:e,node:t}},M9=function(t){return{current:t,root:t,entering:!0,next:N9,resumeAt:C9}},Bt=function(t,e){this._type=t,this._parent=null,this._firstChild=null,this._lastChild=null,this._prev=null,this._next=null,this._sourcepos=e,this._open=!0,this._string_content=null,this._literal=null,this._listData={},this._info=null,this._destination=null,this._title=null,this._isFenced=!1,this._fenceChar=null,this._fenceLength=0,this._fenceOffset=null,this._level=null,this._onEnter=null,this._onExit=null},Vt=Bt.prototype;Object.defineProperty(Vt,"isContainer",{get:function(){return qs(this)}});Object.defineProperty(Vt,"type",{get:function(){return this._type}});Object.defineProperty(Vt,"firstChild",{get:function(){return this._firstChild}});Object.defineProperty(Vt,"lastChild",{get:function(){return this._lastChild}});Object.defineProperty(Vt,"next",{get:function(){return this._next}});Object.defineProperty(Vt,"prev",{get:function(){return this._prev}});Object.defineProperty(Vt,"parent",{get:function(){return this._parent}});Object.defineProperty(Vt,"sourcepos",{get:function(){return this._sourcepos}});Object.defineProperty(Vt,"literal",{get:function(){return this._literal},set:function(t){this._literal=t}});Object.defineProperty(Vt,"destination",{get:function(){return this._destination},set:function(t){this._destination=t}});Object.defineProperty(Vt,"title",{get:function(){return this._title},set:function(t){this._title=t}});Object.defineProperty(Vt,"info",{get:function(){return this._info},set:function(t){this._info=t}});Object.defineProperty(Vt,"level",{get:function(){return this._level},set:function(t){this._level=t}});Object.defineProperty(Vt,"listType",{get:function(){return this._listData.type},set:function(t){this._listData.type=t}});Object.defineProperty(Vt,"listTight",{get:function(){return this._listData.tight},set:function(t){this._listData.tight=t}});Object.defineProperty(Vt,"listStart",{get:function(){return this._listData.start},set:function(t){this._listData.start=t}});Object.defineProperty(Vt,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(t){this._listData.delimiter=t}});Object.defineProperty(Vt,"onEnter",{get:function(){return this._onEnter},set:function(t){this._onEnter=t}});Object.defineProperty(Vt,"onExit",{get:function(){return this._onExit},set:function(t){this._onExit=t}});Bt.prototype.appendChild=function(t){t.unlink(),t._parent=this,this._lastChild?(this._lastChild._next=t,t._prev=this._lastChild,this._lastChild=t):(this._firstChild=t,this._lastChild=t)};Bt.prototype.prependChild=function(t){t.unlink(),t._parent=this,this._firstChild?(this._firstChild._prev=t,t._next=this._firstChild,this._firstChild=t):(this._firstChild=t,this._lastChild=t)};Bt.prototype.unlink=function(){this._prev?this._prev._next=this._next:this._parent&&(this._parent._firstChild=this._next),this._next?this._next._prev=this._prev:this._parent&&(this._parent._lastChild=this._prev),this._parent=null,this._next=null,this._prev=null};Bt.prototype.insertAfter=function(t){t.unlink(),t._next=this._next,t._next&&(t._next._prev=t),t._prev=this,this._next=t,t._parent=this._parent,t._next||(t._parent._lastChild=t)};Bt.prototype.insertBefore=function(t){t.unlink(),t._prev=this._prev,t._prev&&(t._prev._next=t),t._next=this,this._prev=t,t._parent=this._parent,t._prev||(t._parent._firstChild=t)};Bt.prototype.walker=function(){var t=new M9(this);return t};function T9(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Qn,io;function $9(){if(io)return Qn;io=1;var t={};function e(i){var r,o,l=t[i];if(l)return l;for(l=t[i]=[],r=0;r<128;r++)o=String.fromCharCode(r),/^[0-9a-z]$/i.test(o)?l.push(o):l.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r<i.length;r++)l[i.charCodeAt(r)]=i[r];return l}function n(i,r,o){var l,c,a,s,u,d="";for(typeof r!="string"&&(o=r,r=n.defaultChars),typeof o>"u"&&(o=!0),u=e(r),l=0,c=i.length;l<c;l++){if(a=i.charCodeAt(l),o&&a===37&&l+2<c&&/^[0-9a-f]{2}$/i.test(i.slice(l+1,l+3))){d+=i.slice(l,l+3),l+=2;continue}if(a<128){d+=u[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&l+1<c&&(s=i.charCodeAt(l+1),s>=56320&&s<=57343)){d+=encodeURIComponent(i[l]+i[l+1]),l++;continue}d+="%EF%BF%BD";continue}d+=encodeURIComponent(i[l])}return d}return n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",Qn=n,Qn}var E9=$9();const L9=T9(E9);var Jn={},x1={},K1={},ro;function O9(){return ro||(ro=1,Object.defineProperty(K1,"__esModule",{value:!0}),K1.default=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204])),K1}var Z1={},oo;function j9(){return oo||(oo=1,Object.defineProperty(Z1,"__esModule",{value:!0}),Z1.default=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34])),Z1}var Q1={},so;function P9(){if(so)return Q1;so=1,Object.defineProperty(Q1,"__esModule",{value:!0});var t=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),e=String.fromCodePoint||function(i){var r="";return i>65535&&(i-=65536,r+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),r+=String.fromCharCode(i),r};function n(i){var r;return i>=55296&&i<=57343||i>1114111?"\uFFFD":e((r=t.get(i))!==null&&r!==void 0?r:i)}return Q1.default=n,Q1}var lo;function ao(){return lo||(lo=1,(function(t){var e=x1&&x1.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var n=e(O9());t.htmlDecodeTree=n.default;var i=e(j9());t.xmlDecodeTree=i.default;var r=e(P9()),o;(function(h){h[h.HAS_VALUE=32768]="HAS_VALUE",h[h.BRANCH_LENGTH=32512]="BRANCH_LENGTH",h[h.MULTI_BYTE=128]="MULTI_BYTE",h[h.JUMP_TABLE=127]="JUMP_TABLE"})(o=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47;function l(h){return function(y,w){for(var x="",M=0,A=0;(A=y.indexOf("&",A))>=0;){if(x+=y.slice(M,A),M=A,A+=1,y.charCodeAt(A)===35){var T=A+1,j=10,N=y.charCodeAt(T);for((N|32)===120&&(j=16,A+=1,T+=1);(N=y.charCodeAt(++A))>=48&&N<=57||j===16&&(N|32)>=97&&(N|32)<=102;);if(T!==A){var E=y.substring(T,A),m=parseInt(E,j);if(y.charCodeAt(A)===59)A+=1;else if(w)continue;x+=r.default(m),M=A}continue}for(var p=null,b=1,S=0,k=h[S];A<y.length&&(S=c(h,k,S+1,y.charCodeAt(A)),!(S<0));A++,b++)k=h[S],k&o.HAS_VALUE&&(w&&y.charCodeAt(A)!==59?S+=1:(p=k&o.MULTI_BYTE?String.fromCharCode(h[++S],h[++S]):String.fromCharCode(h[++S]),b=0));p!=null&&(x+=p,M=A-b+1)}return x+y.slice(M)}}function c(h,g,y,w){if(g<=128)return w===g?y:-1;var x=(g&o.BRANCH_LENGTH)>>8;if(x===0)return-1;if(x===1)return w===h[y]?y+1:-1;var M=g&o.JUMP_TABLE;if(M){var A=w-t.JUMP_OFFSET_BASE-M;return A<0||A>x?-1:h[y+A]-1}for(var T=y,j=T+x-1;T<=j;){var N=T+j>>>1,E=h[N];if(E<w)T=N+1;else if(E>w)j=N-1;else return h[N+x]}return-1}t.determineBranch=c;var a=l(n.default),s=l(i.default);function u(h){return a(h,!1)}t.decodeHTML=u;function d(h){return a(h,!0)}t.decodeHTMLStrict=d;function f(h){return s(h,!0)}t.decodeXML=f})(x1)),x1}var Jt={};const D9="&",q9="'",B9=">",V9="<",I9='"',R9={amp:D9,apos:q9,gt:B9,lt:V9,quot:I9};var b1={};const H9="\xC1",X9="\xE1",Y9="\u0102",z9="\u0103",F9="\u223E",U9="\u223F",G9="\u223E\u0333",W9="\xC2",K9="\xE2",Z9="\xB4",Q9="\u0410",J9="\u0430",_9="\xC6",t8="\xE6",e8="\u2061",n8="\u{1D504}",i8="\u{1D51E}",r8="\xC0",o8="\xE0",s8="\u2135",l8="\u2135",a8="\u0391",c8="\u03B1",u8="\u0100",h8="\u0101",f8="\u2A3F",d8="&",m8="&",g8="\u2A55",y8="\u2A53",v8="\u2227",p8="\u2A5C",x8="\u2A58",b8="\u2A5A",w8="\u2220",k8="\u29A4",A8="\u2220",S8="\u29A8",C8="\u29A9",N8="\u29AA",M8="\u29AB",T8="\u29AC",$8="\u29AD",E8="\u29AE",L8="\u29AF",O8="\u2221",j8="\u221F",P8="\u22BE",D8="\u299D",q8="\u2222",B8="\xC5",V8="\u237C",I8="\u0104",R8="\u0105",H8="\u{1D538}",X8="\u{1D552}",Y8="\u2A6F",z8="\u2248",F8="\u2A70",U8="\u224A",G8="\u224B",W8="'",K8="\u2061",Z8="\u2248",Q8="\u224A",J8="\xC5",_8="\xE5",t5="\u{1D49C}",e5="\u{1D4B6}",n5="\u2254",i5="*",r5="\u2248",o5="\u224D",s5="\xC3",l5="\xE3",a5="\xC4",c5="\xE4",u5="\u2233",h5="\u2A11",f5="\u224C",d5="\u03F6",m5="\u2035",g5="\u223D",y5="\u22CD",v5="\u2216",p5="\u2AE7",x5="\u22BD",b5="\u2305",w5="\u2306",k5="\u2305",A5="\u23B5",S5="\u23B6",C5="\u224C",N5="\u0411",M5="\u0431",T5="\u201E",$5="\u2235",E5="\u2235",L5="\u2235",O5="\u29B0",j5="\u03F6",P5="\u212C",D5="\u212C",q5="\u0392",B5="\u03B2",V5="\u2136",I5="\u226C",R5="\u{1D505}",H5="\u{1D51F}",X5="\u22C2",Y5="\u25EF",z5="\u22C3",F5="\u2A00",U5="\u2A01",G5="\u2A02",W5="\u2A06",K5="\u2605",Z5="\u25BD",Q5="\u25B3",J5="\u2A04",_5="\u22C1",t6="\u22C0",e6="\u290D",n6="\u29EB",i6="\u25AA",r6="\u25B4",o6="\u25BE",s6="\u25C2",l6="\u25B8",a6="\u2423",c6="\u2592",u6="\u2591",h6="\u2593",f6="\u2588",d6="=\u20E5",m6="\u2261\u20E5",g6="\u2AED",y6="\u2310",v6="\u{1D539}",p6="\u{1D553}",x6="\u22A5",b6="\u22A5",w6="\u22C8",k6="\u29C9",A6="\u2510",S6="\u2555",C6="\u2556",N6="\u2557",M6="\u250C",T6="\u2552",$6="\u2553",E6="\u2554",L6="\u2500",O6="\u2550",j6="\u252C",P6="\u2564",D6="\u2565",q6="\u2566",B6="\u2534",V6="\u2567",I6="\u2568",R6="\u2569",H6="\u229F",X6="\u229E",Y6="\u22A0",z6="\u2518",F6="\u255B",U6="\u255C",G6="\u255D",W6="\u2514",K6="\u2558",Z6="\u2559",Q6="\u255A",J6="\u2502",_6="\u2551",th="\u253C",eh="\u256A",nh="\u256B",ih="\u256C",rh="\u2524",oh="\u2561",sh="\u2562",lh="\u2563",ah="\u251C",ch="\u255E",uh="\u255F",hh="\u2560",fh="\u2035",dh="\u02D8",mh="\u02D8",gh="\xA6",yh="\u{1D4B7}",vh="\u212C",ph="\u204F",xh="\u223D",bh="\u22CD",wh="\u29C5",kh="\\",Ah="\u27C8",Sh="\u2022",Ch="\u2022",Nh="\u224E",Mh="\u2AAE",Th="\u224F",$h="\u224E",Eh="\u224F",Lh="\u0106",Oh="\u0107",jh="\u2A44",Ph="\u2A49",Dh="\u2A4B",qh="\u2229",Bh="\u22D2",Vh="\u2A47",Ih="\u2A40",Rh="\u2145",Hh="\u2229\uFE00",Xh="\u2041",Yh="\u02C7",zh="\u212D",Fh="\u2A4D",Uh="\u010C",Gh="\u010D",Wh="\xC7",Kh="\xE7",Zh="\u0108",Qh="\u0109",Jh="\u2230",_h="\u2A4C",t7="\u2A50",e7="\u010A",n7="\u010B",i7="\xB8",r7="\xB8",o7="\u29B2",s7="\xA2",l7="\xB7",a7="\xB7",c7="\u{1D520}",u7="\u212D",h7="\u0427",f7="\u0447",d7="\u2713",m7="\u2713",g7="\u03A7",y7="\u03C7",v7="\u02C6",p7="\u2257",x7="\u21BA",b7="\u21BB",w7="\u229B",k7="\u229A",A7="\u229D",S7="\u2299",C7="\xAE",N7="\u24C8",M7="\u2296",T7="\u2295",$7="\u2297",E7="\u25CB",L7="\u29C3",O7="\u2257",j7="\u2A10",P7="\u2AEF",D7="\u29C2",q7="\u2232",B7="\u201D",V7="\u2019",I7="\u2663",R7="\u2663",H7=":",X7="\u2237",Y7="\u2A74",z7="\u2254",F7="\u2254",U7=",",G7="@",W7="\u2201",K7="\u2218",Z7="\u2201",Q7="\u2102",J7="\u2245",_7="\u2A6D",tf="\u2261",ef="\u222E",nf="\u222F",rf="\u222E",of="\u{1D554}",sf="\u2102",lf="\u2210",af="\u2210",cf="\xA9",uf="\xA9",hf="\u2117",ff="\u2233",df="\u21B5",mf="\u2717",gf="\u2A2F",yf="\u{1D49E}",vf="\u{1D4B8}",pf="\u2ACF",xf="\u2AD1",bf="\u2AD0",wf="\u2AD2",kf="\u22EF",Af="\u2938",Sf="\u2935",Cf="\u22DE",Nf="\u22DF",Mf="\u21B6",Tf="\u293D",$f="\u2A48",Ef="\u2A46",Lf="\u224D",Of="\u222A",jf="\u22D3",Pf="\u2A4A",Df="\u228D",qf="\u2A45",Bf="\u222A\uFE00",Vf="\u21B7",If="\u293C",Rf="\u22DE",Hf="\u22DF",Xf="\u22CE",Yf="\u22CF",zf="\xA4",Ff="\u21B6",Uf="\u21B7",Gf="\u22CE",Wf="\u22CF",Kf="\u2232",Zf="\u2231",Qf="\u232D",Jf="\u2020",_f="\u2021",t3="\u2138",e3="\u2193",n3="\u21A1",i3="\u21D3",r3="\u2010",o3="\u2AE4",s3="\u22A3",l3="\u290F",a3="\u02DD",c3="\u010E",u3="\u010F",h3="\u0414",f3="\u0434",d3="\u2021",m3="\u21CA",g3="\u2145",y3="\u2146",v3="\u2911",p3="\u2A77",x3="\xB0",b3="\u2207",w3="\u0394",k3="\u03B4",A3="\u29B1",S3="\u297F",C3="\u{1D507}",N3="\u{1D521}",M3="\u2965",T3="\u21C3",$3="\u21C2",E3="\xB4",L3="\u02D9",O3="\u02DD",j3="`",P3="\u02DC",D3="\u22C4",q3="\u22C4",B3="\u22C4",V3="\u2666",I3="\u2666",R3="\xA8",H3="\u2146",X3="\u03DD",Y3="\u22F2",z3="\xF7",F3="\xF7",U3="\u22C7",G3="\u22C7",W3="\u0402",K3="\u0452",Z3="\u231E",Q3="\u230D",J3="$",_3="\u{1D53B}",td="\u{1D555}",ed="\xA8",nd="\u02D9",id="\u20DC",rd="\u2250",od="\u2251",sd="\u2250",ld="\u2238",ad="\u2214",cd="\u22A1",ud="\u2306",hd="\u222F",fd="\xA8",dd="\u21D3",md="\u21D0",gd="\u21D4",yd="\u2AE4",vd="\u27F8",pd="\u27FA",xd="\u27F9",bd="\u21D2",wd="\u22A8",kd="\u21D1",Ad="\u21D5",Sd="\u2225",Cd="\u2913",Nd="\u2193",Md="\u2193",Td="\u21D3",$d="\u21F5",Ed="\u0311",Ld="\u21CA",Od="\u21C3",jd="\u21C2",Pd="\u2950",Dd="\u295E",qd="\u2956",Bd="\u21BD",Vd="\u295F",Id="\u2957",Rd="\u21C1",Hd="\u21A7",Xd="\u22A4",Yd="\u2910",zd="\u231F",Fd="\u230C",Ud="\u{1D49F}",Gd="\u{1D4B9}",Wd="\u0405",Kd="\u0455",Zd="\u29F6",Qd="\u0110",Jd="\u0111",_d="\u22F1",tm="\u25BF",em="\u25BE",nm="\u21F5",im="\u296F",rm="\u29A6",om="\u040F",sm="\u045F",lm="\u27FF",am="\xC9",cm="\xE9",um="\u2A6E",hm="\u011A",fm="\u011B",dm="\xCA",mm="\xEA",gm="\u2256",ym="\u2255",vm="\u042D",pm="\u044D",xm="\u2A77",bm="\u0116",wm="\u0117",km="\u2251",Am="\u2147",Sm="\u2252",Cm="\u{1D508}",Nm="\u{1D522}",Mm="\u2A9A",Tm="\xC8",$m="\xE8",Em="\u2A96",Lm="\u2A98",Om="\u2A99",jm="\u2208",Pm="\u23E7",Dm="\u2113",qm="\u2A95",Bm="\u2A97",Vm="\u0112",Im="\u0113",Rm="\u2205",Hm="\u2205",Xm="\u25FB",Ym="\u2205",zm="\u25AB",Fm="\u2004",Um="\u2005",Gm="\u2003",Wm="\u014A",Km="\u014B",Zm="\u2002",Qm="\u0118",Jm="\u0119",_m="\u{1D53C}",t4="\u{1D556}",e4="\u22D5",n4="\u29E3",i4="\u2A71",r4="\u03B5",o4="\u0395",s4="\u03B5",l4="\u03F5",a4="\u2256",c4="\u2255",u4="\u2242",h4="\u2A96",f4="\u2A95",d4="\u2A75",m4="=",g4="\u2242",y4="\u225F",v4="\u21CC",p4="\u2261",x4="\u2A78",b4="\u29E5",w4="\u2971",k4="\u2253",A4="\u212F",S4="\u2130",C4="\u2250",N4="\u2A73",M4="\u2242",T4="\u0397",$4="\u03B7",E4="\xD0",L4="\xF0",O4="\xCB",j4="\xEB",P4="\u20AC",D4="!",q4="\u2203",B4="\u2203",V4="\u2130",I4="\u2147",R4="\u2147",H4="\u2252",X4="\u0424",Y4="\u0444",z4="\u2640",F4="\uFB03",U4="\uFB00",G4="\uFB04",W4="\u{1D509}",K4="\u{1D523}",Z4="\uFB01",Q4="\u25FC",J4="\u25AA",_4="fj",tg="\u266D",eg="\uFB02",ng="\u25B1",ig="\u0192",rg="\u{1D53D}",og="\u{1D557}",sg="\u2200",lg="\u2200",ag="\u22D4",cg="\u2AD9",ug="\u2131",hg="\u2A0D",fg="\xBD",dg="\u2153",mg="\xBC",gg="\u2155",yg="\u2159",vg="\u215B",pg="\u2154",xg="\u2156",bg="\xBE",wg="\u2157",kg="\u215C",Ag="\u2158",Sg="\u215A",Cg="\u215D",Ng="\u215E",Mg="\u2044",Tg="\u2322",$g="\u{1D4BB}",Eg="\u2131",Lg="\u01F5",Og="\u0393",jg="\u03B3",Pg="\u03DC",Dg="\u03DD",qg="\u2A86",Bg="\u011E",Vg="\u011F",Ig="\u0122",Rg="\u011C",Hg="\u011D",Xg="\u0413",Yg="\u0433",zg="\u0120",Fg="\u0121",Ug="\u2265",Gg="\u2267",Wg="\u2A8C",Kg="\u22DB",Zg="\u2265",Qg="\u2267",Jg="\u2A7E",_g="\u2AA9",ty="\u2A7E",ey="\u2A80",ny="\u2A82",iy="\u2A84",ry="\u22DB\uFE00",oy="\u2A94",sy="\u{1D50A}",ly="\u{1D524}",ay="\u226B",cy="\u22D9",uy="\u22D9",hy="\u2137",fy="\u0403",dy="\u0453",my="\u2AA5",gy="\u2277",yy="\u2A92",vy="\u2AA4",py="\u2A8A",xy="\u2A8A",by="\u2A88",wy="\u2269",ky="\u2A88",Ay="\u2269",Sy="\u22E7",Cy="\u{1D53E}",Ny="\u{1D558}",My="`",Ty="\u2265",$y="\u22DB",Ey="\u2267",Ly="\u2AA2",Oy="\u2277",jy="\u2A7E",Py="\u2273",Dy="\u{1D4A2}",qy="\u210A",By="\u2273",Vy="\u2A8E",Iy="\u2A90",Ry="\u2AA7",Hy="\u2A7A",Xy=">",Yy=">",zy="\u226B",Fy="\u22D7",Uy="\u2995",Gy="\u2A7C",Wy="\u2A86",Ky="\u2978",Zy="\u22D7",Qy="\u22DB",Jy="\u2A8C",_y="\u2277",tv="\u2273",ev="\u2269\uFE00",nv="\u2269\uFE00",iv="\u02C7",rv="\u200A",ov="\xBD",sv="\u210B",lv="\u042A",av="\u044A",cv="\u2948",uv="\u2194",hv="\u21D4",fv="\u21AD",dv="^",mv="\u210F",gv="\u0124",yv="\u0125",vv="\u2665",pv="\u2665",xv="\u2026",bv="\u22B9",wv="\u{1D525}",kv="\u210C",Av="\u210B",Sv="\u2925",Cv="\u2926",Nv="\u21FF",Mv="\u223B",Tv="\u21A9",$v="\u21AA",Ev="\u{1D559}",Lv="\u210D",Ov="\u2015",jv="\u2500",Pv="\u{1D4BD}",Dv="\u210B",qv="\u210F",Bv="\u0126",Vv="\u0127",Iv="\u224E",Rv="\u224F",Hv="\u2043",Xv="\u2010",Yv="\xCD",zv="\xED",Fv="\u2063",Uv="\xCE",Gv="\xEE",Wv="\u0418",Kv="\u0438",Zv="\u0130",Qv="\u0415",Jv="\u0435",_v="\xA1",tp="\u21D4",ep="\u{1D526}",np="\u2111",ip="\xCC",rp="\xEC",op="\u2148",sp="\u2A0C",lp="\u222D",ap="\u29DC",cp="\u2129",up="\u0132",hp="\u0133",fp="\u012A",dp="\u012B",mp="\u2111",gp="\u2148",yp="\u2110",vp="\u2111",pp="\u0131",xp="\u2111",bp="\u22B7",wp="\u01B5",kp="\u21D2",Ap="\u2105",Sp="\u221E",Cp="\u29DD",Np="\u0131",Mp="\u22BA",Tp="\u222B",$p="\u222C",Ep="\u2124",Lp="\u222B",Op="\u22BA",jp="\u22C2",Pp="\u2A17",Dp="\u2A3C",qp="\u2063",Bp="\u2062",Vp="\u0401",Ip="\u0451",Rp="\u012E",Hp="\u012F",Xp="\u{1D540}",Yp="\u{1D55A}",zp="\u0399",Fp="\u03B9",Up="\u2A3C",Gp="\xBF",Wp="\u{1D4BE}",Kp="\u2110",Zp="\u2208",Qp="\u22F5",Jp="\u22F9",_p="\u22F4",tx="\u22F3",ex="\u2208",nx="\u2062",ix="\u0128",rx="\u0129",ox="\u0406",sx="\u0456",lx="\xCF",ax="\xEF",cx="\u0134",ux="\u0135",hx="\u0419",fx="\u0439",dx="\u{1D50D}",mx="\u{1D527}",gx="\u0237",yx="\u{1D541}",vx="\u{1D55B}",px="\u{1D4A5}",xx="\u{1D4BF}",bx="\u0408",wx="\u0458",kx="\u0404",Ax="\u0454",Sx="\u039A",Cx="\u03BA",Nx="\u03F0",Mx="\u0136",Tx="\u0137",$x="\u041A",Ex="\u043A",Lx="\u{1D50E}",Ox="\u{1D528}",jx="\u0138",Px="\u0425",Dx="\u0445",qx="\u040C",Bx="\u045C",Vx="\u{1D542}",Ix="\u{1D55C}",Rx="\u{1D4A6}",Hx="\u{1D4C0}",Xx="\u21DA",Yx="\u0139",zx="\u013A",Fx="\u29B4",Ux="\u2112",Gx="\u039B",Wx="\u03BB",Kx="\u27E8",Zx="\u27EA",Qx="\u2991",Jx="\u27E8",_x="\u2A85",tb="\u2112",eb="\xAB",nb="\u21E4",ib="\u291F",rb="\u2190",ob="\u219E",sb="\u21D0",lb="\u291D",ab="\u21A9",cb="\u21AB",ub="\u2939",hb="\u2973",fb="\u21A2",db="\u2919",mb="\u291B",gb="\u2AAB",yb="\u2AAD",vb="\u2AAD\uFE00",pb="\u290C",xb="\u290E",bb="\u2772",wb="{",kb="[",Ab="\u298B",Sb="\u298F",Cb="\u298D",Nb="\u013D",Mb="\u013E",Tb="\u013B",$b="\u013C",Eb="\u2308",Lb="{",Ob="\u041B",jb="\u043B",Pb="\u2936",Db="\u201C",qb="\u201E",Bb="\u2967",Vb="\u294B",Ib="\u21B2",Rb="\u2264",Hb="\u2266",Xb="\u27E8",Yb="\u21E4",zb="\u2190",Fb="\u2190",Ub="\u21D0",Gb="\u21C6",Wb="\u21A2",Kb="\u2308",Zb="\u27E6",Qb="\u2961",Jb="\u2959",_b="\u21C3",tw="\u230A",ew="\u21BD",nw="\u21BC",iw="\u21C7",rw="\u2194",ow="\u2194",sw="\u21D4",lw="\u21C6",aw="\u21CB",cw="\u21AD",uw="\u294E",hw="\u21A4",fw="\u22A3",dw="\u295A",mw="\u22CB",gw="\u29CF",yw="\u22B2",vw="\u22B4",pw="\u2951",xw="\u2960",bw="\u2958",ww="\u21BF",kw="\u2952",Aw="\u21BC",Sw="\u2A8B",Cw="\u22DA",Nw="\u2264",Mw="\u2266",Tw="\u2A7D",$w="\u2AA8",Ew="\u2A7D",Lw="\u2A7F",Ow="\u2A81",jw="\u2A83",Pw="\u22DA\uFE00",Dw="\u2A93",qw="\u2A85",Bw="\u22D6",Vw="\u22DA",Iw="\u2A8B",Rw="\u22DA",Hw="\u2266",Xw="\u2276",Yw="\u2276",zw="\u2AA1",Fw="\u2272",Uw="\u2A7D",Gw="\u2272",Ww="\u297C",Kw="\u230A",Zw="\u{1D50F}",Qw="\u{1D529}",Jw="\u2276",_w="\u2A91",tk="\u2962",ek="\u21BD",nk="\u21BC",ik="\u296A",rk="\u2584",ok="\u0409",sk="\u0459",lk="\u21C7",ak="\u226A",ck="\u22D8",uk="\u231E",hk="\u21DA",fk="\u296B",dk="\u25FA",mk="\u013F",gk="\u0140",yk="\u23B0",vk="\u23B0",pk="\u2A89",xk="\u2A89",bk="\u2A87",wk="\u2268",kk="\u2A87",Ak="\u2268",Sk="\u22E6",Ck="\u27EC",Nk="\u21FD",Mk="\u27E6",Tk="\u27F5",$k="\u27F5",Ek="\u27F8",Lk="\u27F7",Ok="\u27F7",jk="\u27FA",Pk="\u27FC",Dk="\u27F6",qk="\u27F6",Bk="\u27F9",Vk="\u21AB",Ik="\u21AC",Rk="\u2985",Hk="\u{1D543}",Xk="\u{1D55D}",Yk="\u2A2D",zk="\u2A34",Fk="\u2217",Uk="_",Gk="\u2199",Wk="\u2198",Kk="\u25CA",Zk="\u25CA",Qk="\u29EB",Jk="(",_k="\u2993",tA="\u21C6",eA="\u231F",nA="\u21CB",iA="\u296D",rA="\u200E",oA="\u22BF",sA="\u2039",lA="\u{1D4C1}",aA="\u2112",cA="\u21B0",uA="\u21B0",hA="\u2272",fA="\u2A8D",dA="\u2A8F",mA="[",gA="\u2018",yA="\u201A",vA="\u0141",pA="\u0142",xA="\u2AA6",bA="\u2A79",wA="<",kA="<",AA="\u226A",SA="\u22D6",CA="\u22CB",NA="\u22C9",MA="\u2976",TA="\u2A7B",$A="\u25C3",EA="\u22B4",LA="\u25C2",OA="\u2996",jA="\u294A",PA="\u2966",DA="\u2268\uFE00",qA="\u2268\uFE00",BA="\xAF",VA="\u2642",IA="\u2720",RA="\u2720",HA="\u21A6",XA="\u21A6",YA="\u21A7",zA="\u21A4",FA="\u21A5",UA="\u25AE",GA="\u2A29",WA="\u041C",KA="\u043C",ZA="\u2014",QA="\u223A",JA="\u2221",_A="\u205F",tS="\u2133",eS="\u{1D510}",nS="\u{1D52A}",iS="\u2127",rS="\xB5",oS="*",sS="\u2AF0",lS="\u2223",aS="\xB7",cS="\u229F",uS="\u2212",hS="\u2238",fS="\u2A2A",dS="\u2213",mS="\u2ADB",gS="\u2026",yS="\u2213",vS="\u22A7",pS="\u{1D544}",xS="\u{1D55E}",bS="\u2213",wS="\u{1D4C2}",kS="\u2133",AS="\u223E",SS="\u039C",CS="\u03BC",NS="\u22B8",MS="\u22B8",TS="\u2207",$S="\u0143",ES="\u0144",LS="\u2220\u20D2",OS="\u2249",jS="\u2A70\u0338",PS="\u224B\u0338",DS="\u0149",qS="\u2249",BS="\u266E",VS="\u2115",IS="\u266E",RS="\xA0",HS="\u224E\u0338",XS="\u224F\u0338",YS="\u2A43",zS="\u0147",FS="\u0148",US="\u0145",GS="\u0146",WS="\u2247",KS="\u2A6D\u0338",ZS="\u2A42",QS="\u041D",JS="\u043D",_S="\u2013",tC="\u2924",eC="\u2197",nC="\u21D7",iC="\u2197",rC="\u2260",oC="\u2250\u0338",sC="\u200B",lC="\u200B",aC="\u200B",cC="\u200B",uC="\u2262",hC="\u2928",fC="\u2242\u0338",dC="\u226B",mC="\u226A",gC=`
|
|
3
|
+
`,yC="\u2204",vC="\u2204",pC="\u{1D511}",xC="\u{1D52B}",bC="\u2267\u0338",wC="\u2271",kC="\u2271",AC="\u2267\u0338",SC="\u2A7E\u0338",CC="\u2A7E\u0338",NC="\u22D9\u0338",MC="\u2275",TC="\u226B\u20D2",$C="\u226F",EC="\u226F",LC="\u226B\u0338",OC="\u21AE",jC="\u21CE",PC="\u2AF2",DC="\u220B",qC="\u22FC",BC="\u22FA",VC="\u220B",IC="\u040A",RC="\u045A",HC="\u219A",XC="\u21CD",YC="\u2025",zC="\u2266\u0338",FC="\u2270",UC="\u219A",GC="\u21CD",WC="\u21AE",KC="\u21CE",ZC="\u2270",QC="\u2266\u0338",JC="\u2A7D\u0338",_C="\u2A7D\u0338",tN="\u226E",eN="\u22D8\u0338",nN="\u2274",iN="\u226A\u20D2",rN="\u226E",oN="\u22EA",sN="\u22EC",lN="\u226A\u0338",aN="\u2224",cN="\u2060",uN="\xA0",hN="\u{1D55F}",fN="\u2115",dN="\u2AEC",mN="\xAC",gN="\u2262",yN="\u226D",vN="\u2226",pN="\u2209",xN="\u2260",bN="\u2242\u0338",wN="\u2204",kN="\u226F",AN="\u2271",SN="\u2267\u0338",CN="\u226B\u0338",NN="\u2279",MN="\u2A7E\u0338",TN="\u2275",$N="\u224E\u0338",EN="\u224F\u0338",LN="\u2209",ON="\u22F5\u0338",jN="\u22F9\u0338",PN="\u2209",DN="\u22F7",qN="\u22F6",BN="\u29CF\u0338",VN="\u22EA",IN="\u22EC",RN="\u226E",HN="\u2270",XN="\u2278",YN="\u226A\u0338",zN="\u2A7D\u0338",FN="\u2274",UN="\u2AA2\u0338",GN="\u2AA1\u0338",WN="\u220C",KN="\u220C",ZN="\u22FE",QN="\u22FD",JN="\u2280",_N="\u2AAF\u0338",tM="\u22E0",eM="\u220C",nM="\u29D0\u0338",iM="\u22EB",rM="\u22ED",oM="\u228F\u0338",sM="\u22E2",lM="\u2290\u0338",aM="\u22E3",cM="\u2282\u20D2",uM="\u2288",hM="\u2281",fM="\u2AB0\u0338",dM="\u22E1",mM="\u227F\u0338",gM="\u2283\u20D2",yM="\u2289",vM="\u2241",pM="\u2244",xM="\u2247",bM="\u2249",wM="\u2224",kM="\u2226",AM="\u2226",SM="\u2AFD\u20E5",CM="\u2202\u0338",NM="\u2A14",MM="\u2280",TM="\u22E0",$M="\u2280",EM="\u2AAF\u0338",LM="\u2AAF\u0338",OM="\u2933\u0338",jM="\u219B",PM="\u21CF",DM="\u219D\u0338",qM="\u219B",BM="\u21CF",VM="\u22EB",IM="\u22ED",RM="\u2281",HM="\u22E1",XM="\u2AB0\u0338",YM="\u{1D4A9}",zM="\u{1D4C3}",FM="\u2224",UM="\u2226",GM="\u2241",WM="\u2244",KM="\u2244",ZM="\u2224",QM="\u2226",JM="\u22E2",_M="\u22E3",tT="\u2284",eT="\u2AC5\u0338",nT="\u2288",iT="\u2282\u20D2",rT="\u2288",oT="\u2AC5\u0338",sT="\u2281",lT="\u2AB0\u0338",aT="\u2285",cT="\u2AC6\u0338",uT="\u2289",hT="\u2283\u20D2",fT="\u2289",dT="\u2AC6\u0338",mT="\u2279",gT="\xD1",yT="\xF1",vT="\u2278",pT="\u22EA",xT="\u22EC",bT="\u22EB",wT="\u22ED",kT="\u039D",AT="\u03BD",ST="#",CT="\u2116",NT="\u2007",MT="\u224D\u20D2",TT="\u22AC",$T="\u22AD",ET="\u22AE",LT="\u22AF",OT="\u2265\u20D2",jT=">\u20D2",PT="\u2904",DT="\u29DE",qT="\u2902",BT="\u2264\u20D2",VT="<\u20D2",IT="\u22B4\u20D2",RT="\u2903",HT="\u22B5\u20D2",XT="\u223C\u20D2",YT="\u2923",zT="\u2196",FT="\u21D6",UT="\u2196",GT="\u2927",WT="\xD3",KT="\xF3",ZT="\u229B",QT="\xD4",JT="\xF4",_T="\u229A",t$="\u041E",e$="\u043E",n$="\u229D",i$="\u0150",r$="\u0151",o$="\u2A38",s$="\u2299",l$="\u29BC",a$="\u0152",c$="\u0153",u$="\u29BF",h$="\u{1D512}",f$="\u{1D52C}",d$="\u02DB",m$="\xD2",g$="\xF2",y$="\u29C1",v$="\u29B5",p$="\u03A9",x$="\u222E",b$="\u21BA",w$="\u29BE",k$="\u29BB",A$="\u203E",S$="\u29C0",C$="\u014C",N$="\u014D",M$="\u03A9",T$="\u03C9",$$="\u039F",E$="\u03BF",L$="\u29B6",O$="\u2296",j$="\u{1D546}",P$="\u{1D560}",D$="\u29B7",q$="\u201C",B$="\u2018",V$="\u29B9",I$="\u2295",R$="\u21BB",H$="\u2A54",X$="\u2228",Y$="\u2A5D",z$="\u2134",F$="\u2134",U$="\xAA",G$="\xBA",W$="\u22B6",K$="\u2A56",Z$="\u2A57",Q$="\u2A5B",J$="\u24C8",_$="\u{1D4AA}",tE="\u2134",eE="\xD8",nE="\xF8",iE="\u2298",rE="\xD5",oE="\xF5",sE="\u2A36",lE="\u2A37",aE="\u2297",cE="\xD6",uE="\xF6",hE="\u233D",fE="\u203E",dE="\u23DE",mE="\u23B4",gE="\u23DC",yE="\xB6",vE="\u2225",pE="\u2225",xE="\u2AF3",bE="\u2AFD",wE="\u2202",kE="\u2202",AE="\u041F",SE="\u043F",CE="%",NE=".",ME="\u2030",TE="\u22A5",$E="\u2031",EE="\u{1D513}",LE="\u{1D52D}",OE="\u03A6",jE="\u03C6",PE="\u03D5",DE="\u2133",qE="\u260E",BE="\u03A0",VE="\u03C0",IE="\u22D4",RE="\u03D6",HE="\u210F",XE="\u210E",YE="\u210F",zE="\u2A23",FE="\u229E",UE="\u2A22",GE="+",WE="\u2214",KE="\u2A25",ZE="\u2A72",QE="\xB1",JE="\xB1",_E="\u2A26",tL="\u2A27",eL="\xB1",nL="\u210C",iL="\u2A15",rL="\u{1D561}",oL="\u2119",sL="\xA3",lL="\u2AB7",aL="\u2ABB",cL="\u227A",uL="\u227C",hL="\u2AB7",fL="\u227A",dL="\u227C",mL="\u227A",gL="\u2AAF",yL="\u227C",vL="\u227E",pL="\u2AAF",xL="\u2AB9",bL="\u2AB5",wL="\u22E8",kL="\u2AAF",AL="\u2AB3",SL="\u227E",CL="\u2032",NL="\u2033",ML="\u2119",TL="\u2AB9",$L="\u2AB5",EL="\u22E8",LL="\u220F",OL="\u220F",jL="\u232E",PL="\u2312",DL="\u2313",qL="\u221D",BL="\u221D",VL="\u2237",IL="\u221D",RL="\u227E",HL="\u22B0",XL="\u{1D4AB}",YL="\u{1D4C5}",zL="\u03A8",FL="\u03C8",UL="\u2008",GL="\u{1D514}",WL="\u{1D52E}",KL="\u2A0C",ZL="\u{1D562}",QL="\u211A",JL="\u2057",_L="\u{1D4AC}",tO="\u{1D4C6}",eO="\u210D",nO="\u2A16",iO="?",rO="\u225F",oO='"',sO='"',lO="\u21DB",aO="\u223D\u0331",cO="\u0154",uO="\u0155",hO="\u221A",fO="\u29B3",dO="\u27E9",mO="\u27EB",gO="\u2992",yO="\u29A5",vO="\u27E9",pO="\xBB",xO="\u2975",bO="\u21E5",wO="\u2920",kO="\u2933",AO="\u2192",SO="\u21A0",CO="\u21D2",NO="\u291E",MO="\u21AA",TO="\u21AC",$O="\u2945",EO="\u2974",LO="\u2916",OO="\u21A3",jO="\u219D",PO="\u291A",DO="\u291C",qO="\u2236",BO="\u211A",VO="\u290D",IO="\u290F",RO="\u2910",HO="\u2773",XO="}",YO="]",zO="\u298C",FO="\u298E",UO="\u2990",GO="\u0158",WO="\u0159",KO="\u0156",ZO="\u0157",QO="\u2309",JO="}",_O="\u0420",tj="\u0440",ej="\u2937",nj="\u2969",ij="\u201D",rj="\u201D",oj="\u21B3",sj="\u211C",lj="\u211B",aj="\u211C",cj="\u211D",uj="\u211C",hj="\u25AD",fj="\xAE",dj="\xAE",mj="\u220B",gj="\u21CB",yj="\u296F",vj="\u297D",pj="\u230B",xj="\u{1D52F}",bj="\u211C",wj="\u2964",kj="\u21C1",Aj="\u21C0",Sj="\u296C",Cj="\u03A1",Nj="\u03C1",Mj="\u03F1",Tj="\u27E9",$j="\u21E5",Ej="\u2192",Lj="\u2192",Oj="\u21D2",jj="\u21C4",Pj="\u21A3",Dj="\u2309",qj="\u27E7",Bj="\u295D",Vj="\u2955",Ij="\u21C2",Rj="\u230B",Hj="\u21C1",Xj="\u21C0",Yj="\u21C4",zj="\u21CC",Fj="\u21C9",Uj="\u219D",Gj="\u21A6",Wj="\u22A2",Kj="\u295B",Zj="\u22CC",Qj="\u29D0",Jj="\u22B3",_j="\u22B5",tP="\u294F",eP="\u295C",nP="\u2954",iP="\u21BE",rP="\u2953",oP="\u21C0",sP="\u02DA",lP="\u2253",aP="\u21C4",cP="\u21CC",uP="\u200F",hP="\u23B1",fP="\u23B1",dP="\u2AEE",mP="\u27ED",gP="\u21FE",yP="\u27E7",vP="\u2986",pP="\u{1D563}",xP="\u211D",bP="\u2A2E",wP="\u2A35",kP="\u2970",AP=")",SP="\u2994",CP="\u2A12",NP="\u21C9",MP="\u21DB",TP="\u203A",$P="\u{1D4C7}",EP="\u211B",LP="\u21B1",OP="\u21B1",jP="]",PP="\u2019",DP="\u2019",qP="\u22CC",BP="\u22CA",VP="\u25B9",IP="\u22B5",RP="\u25B8",HP="\u29CE",XP="\u29F4",YP="\u2968",zP="\u211E",FP="\u015A",UP="\u015B",GP="\u201A",WP="\u2AB8",KP="\u0160",ZP="\u0161",QP="\u2ABC",JP="\u227B",_P="\u227D",tD="\u2AB0",eD="\u2AB4",nD="\u015E",iD="\u015F",rD="\u015C",oD="\u015D",sD="\u2ABA",lD="\u2AB6",aD="\u22E9",cD="\u2A13",uD="\u227F",hD="\u0421",fD="\u0441",dD="\u22A1",mD="\u22C5",gD="\u2A66",yD="\u2925",vD="\u2198",pD="\u21D8",xD="\u2198",bD="\xA7",wD=";",kD="\u2929",AD="\u2216",SD="\u2216",CD="\u2736",ND="\u{1D516}",MD="\u{1D530}",TD="\u2322",$D="\u266F",ED="\u0429",LD="\u0449",OD="\u0428",jD="\u0448",PD="\u2193",DD="\u2190",qD="\u2223",BD="\u2225",VD="\u2192",ID="\u2191",RD="\xAD",HD="\u03A3",XD="\u03C3",YD="\u03C2",zD="\u03C2",FD="\u223C",UD="\u2A6A",GD="\u2243",WD="\u2243",KD="\u2A9E",ZD="\u2AA0",QD="\u2A9D",JD="\u2A9F",_D="\u2246",tq="\u2A24",eq="\u2972",nq="\u2190",iq="\u2218",rq="\u2216",oq="\u2A33",sq="\u29E4",lq="\u2223",aq="\u2323",cq="\u2AAA",uq="\u2AAC",hq="\u2AAC\uFE00",fq="\u042C",dq="\u044C",mq="\u233F",gq="\u29C4",yq="/",vq="\u{1D54A}",pq="\u{1D564}",xq="\u2660",bq="\u2660",wq="\u2225",kq="\u2293",Aq="\u2293\uFE00",Sq="\u2294",Cq="\u2294\uFE00",Nq="\u221A",Mq="\u228F",Tq="\u2291",$q="\u228F",Eq="\u2291",Lq="\u2290",Oq="\u2292",jq="\u2290",Pq="\u2292",Dq="\u25A1",qq="\u25A1",Bq="\u2293",Vq="\u228F",Iq="\u2291",Rq="\u2290",Hq="\u2292",Xq="\u2294",Yq="\u25AA",zq="\u25A1",Fq="\u25AA",Uq="\u2192",Gq="\u{1D4AE}",Wq="\u{1D4C8}",Kq="\u2216",Zq="\u2323",Qq="\u22C6",Jq="\u22C6",_q="\u2606",tB="\u2605",eB="\u03F5",nB="\u03D5",iB="\xAF",rB="\u2282",oB="\u22D0",sB="\u2ABD",lB="\u2AC5",aB="\u2286",cB="\u2AC3",uB="\u2AC1",hB="\u2ACB",fB="\u228A",dB="\u2ABF",mB="\u2979",gB="\u2282",yB="\u22D0",vB="\u2286",pB="\u2AC5",xB="\u2286",bB="\u228A",wB="\u2ACB",kB="\u2AC7",AB="\u2AD5",SB="\u2AD3",CB="\u2AB8",NB="\u227B",MB="\u227D",TB="\u227B",$B="\u2AB0",EB="\u227D",LB="\u227F",OB="\u2AB0",jB="\u2ABA",PB="\u2AB6",DB="\u22E9",qB="\u227F",BB="\u220B",VB="\u2211",IB="\u2211",RB="\u266A",HB="\xB9",XB="\xB2",YB="\xB3",zB="\u2283",FB="\u22D1",UB="\u2ABE",GB="\u2AD8",WB="\u2AC6",KB="\u2287",ZB="\u2AC4",QB="\u2283",JB="\u2287",_B="\u27C9",tV="\u2AD7",eV="\u297B",nV="\u2AC2",iV="\u2ACC",rV="\u228B",oV="\u2AC0",sV="\u2283",lV="\u22D1",aV="\u2287",cV="\u2AC6",uV="\u228B",hV="\u2ACC",fV="\u2AC8",dV="\u2AD4",mV="\u2AD6",gV="\u2926",yV="\u2199",vV="\u21D9",pV="\u2199",xV="\u292A",bV="\xDF",wV=" ",kV="\u2316",AV="\u03A4",SV="\u03C4",CV="\u23B4",NV="\u0164",MV="\u0165",TV="\u0162",$V="\u0163",EV="\u0422",LV="\u0442",OV="\u20DB",jV="\u2315",PV="\u{1D517}",DV="\u{1D531}",qV="\u2234",BV="\u2234",VV="\u2234",IV="\u0398",RV="\u03B8",HV="\u03D1",XV="\u03D1",YV="\u2248",zV="\u223C",FV="\u205F\u200A",UV="\u2009",GV="\u2009",WV="\u2248",KV="\u223C",ZV="\xDE",QV="\xFE",JV="\u02DC",_V="\u223C",tI="\u2243",eI="\u2245",nI="\u2248",iI="\u2A31",rI="\u22A0",oI="\xD7",sI="\u2A30",lI="\u222D",aI="\u2928",cI="\u2336",uI="\u2AF1",hI="\u22A4",fI="\u{1D54B}",dI="\u{1D565}",mI="\u2ADA",gI="\u2929",yI="\u2034",vI="\u2122",pI="\u2122",xI="\u25B5",bI="\u25BF",wI="\u25C3",kI="\u22B4",AI="\u225C",SI="\u25B9",CI="\u22B5",NI="\u25EC",MI="\u225C",TI="\u2A3A",$I="\u20DB",EI="\u2A39",LI="\u29CD",OI="\u2A3B",jI="\u23E2",PI="\u{1D4AF}",DI="\u{1D4C9}",qI="\u0426",BI="\u0446",VI="\u040B",II="\u045B",RI="\u0166",HI="\u0167",XI="\u226C",YI="\u219E",zI="\u21A0",FI="\xDA",UI="\xFA",GI="\u2191",WI="\u219F",KI="\u21D1",ZI="\u2949",QI="\u040E",JI="\u045E",_I="\u016C",tR="\u016D",eR="\xDB",nR="\xFB",iR="\u0423",rR="\u0443",oR="\u21C5",sR="\u0170",lR="\u0171",aR="\u296E",cR="\u297E",uR="\u{1D518}",hR="\u{1D532}",fR="\xD9",dR="\xF9",mR="\u2963",gR="\u21BF",yR="\u21BE",vR="\u2580",pR="\u231C",xR="\u231C",bR="\u230F",wR="\u25F8",kR="\u016A",AR="\u016B",SR="\xA8",CR="_",NR="\u23DF",MR="\u23B5",TR="\u23DD",$R="\u22C3",ER="\u228E",LR="\u0172",OR="\u0173",jR="\u{1D54C}",PR="\u{1D566}",DR="\u2912",qR="\u2191",BR="\u2191",VR="\u21D1",IR="\u21C5",RR="\u2195",HR="\u2195",XR="\u21D5",YR="\u296E",zR="\u21BF",FR="\u21BE",UR="\u228E",GR="\u2196",WR="\u2197",KR="\u03C5",ZR="\u03D2",QR="\u03D2",JR="\u03A5",_R="\u03C5",tH="\u21A5",eH="\u22A5",nH="\u21C8",iH="\u231D",rH="\u231D",oH="\u230E",sH="\u016E",lH="\u016F",aH="\u25F9",cH="\u{1D4B0}",uH="\u{1D4CA}",hH="\u22F0",fH="\u0168",dH="\u0169",mH="\u25B5",gH="\u25B4",yH="\u21C8",vH="\xDC",pH="\xFC",xH="\u29A7",bH="\u299C",wH="\u03F5",kH="\u03F0",AH="\u2205",SH="\u03D5",CH="\u03D6",NH="\u221D",MH="\u2195",TH="\u21D5",$H="\u03F1",EH="\u03C2",LH="\u228A\uFE00",OH="\u2ACB\uFE00",jH="\u228B\uFE00",PH="\u2ACC\uFE00",DH="\u03D1",qH="\u22B2",BH="\u22B3",VH="\u2AE8",IH="\u2AEB",RH="\u2AE9",HH="\u0412",XH="\u0432",YH="\u22A2",zH="\u22A8",FH="\u22A9",UH="\u22AB",GH="\u2AE6",WH="\u22BB",KH="\u2228",ZH="\u22C1",QH="\u225A",JH="\u22EE",_H="|",tX="\u2016",eX="|",nX="\u2016",iX="\u2223",rX="|",oX="\u2758",sX="\u2240",lX="\u200A",aX="\u{1D519}",cX="\u{1D533}",uX="\u22B2",hX="\u2282\u20D2",fX="\u2283\u20D2",dX="\u{1D54D}",mX="\u{1D567}",gX="\u221D",yX="\u22B3",vX="\u{1D4B1}",pX="\u{1D4CB}",xX="\u2ACB\uFE00",bX="\u228A\uFE00",wX="\u2ACC\uFE00",kX="\u228B\uFE00",AX="\u22AA",SX="\u299A",CX="\u0174",NX="\u0175",MX="\u2A5F",TX="\u2227",$X="\u22C0",EX="\u2259",LX="\u2118",OX="\u{1D51A}",jX="\u{1D534}",PX="\u{1D54E}",DX="\u{1D568}",qX="\u2118",BX="\u2240",VX="\u2240",IX="\u{1D4B2}",RX="\u{1D4CC}",HX="\u22C2",XX="\u25EF",YX="\u22C3",zX="\u25BD",FX="\u{1D51B}",UX="\u{1D535}",GX="\u27F7",WX="\u27FA",KX="\u039E",ZX="\u03BE",QX="\u27F5",JX="\u27F8",_X="\u27FC",tY="\u22FB",eY="\u2A00",nY="\u{1D54F}",iY="\u{1D569}",rY="\u2A01",oY="\u2A02",sY="\u27F6",lY="\u27F9",aY="\u{1D4B3}",cY="\u{1D4CD}",uY="\u2A06",hY="\u2A04",fY="\u25B3",dY="\u22C1",mY="\u22C0",gY="\xDD",yY="\xFD",vY="\u042F",pY="\u044F",xY="\u0176",bY="\u0177",wY="\u042B",kY="\u044B",AY="\xA5",SY="\u{1D51C}",CY="\u{1D536}",NY="\u0407",MY="\u0457",TY="\u{1D550}",$Y="\u{1D56A}",EY="\u{1D4B4}",LY="\u{1D4CE}",OY="\u042E",jY="\u044E",PY="\xFF",DY="\u0178",qY="\u0179",BY="\u017A",VY="\u017D",IY="\u017E",RY="\u0417",HY="\u0437",XY="\u017B",YY="\u017C",zY="\u2128",FY="\u200B",UY="\u0396",GY="\u03B6",WY="\u{1D537}",KY="\u2128",ZY="\u0416",QY="\u0436",JY="\u21DD",_Y="\u{1D56B}",tz="\u2124",ez="\u{1D4B5}",nz="\u{1D4CF}",iz="\u200D",rz="\u200C",Bs={Aacute:H9,aacute:X9,Abreve:Y9,abreve:z9,ac:F9,acd:U9,acE:G9,Acirc:W9,acirc:K9,acute:Z9,Acy:Q9,acy:J9,AElig:_9,aelig:t8,af:e8,Afr:n8,afr:i8,Agrave:r8,agrave:o8,alefsym:s8,aleph:l8,Alpha:a8,alpha:c8,Amacr:u8,amacr:h8,amalg:f8,amp:d8,AMP:m8,andand:g8,And:y8,and:v8,andd:p8,andslope:x8,andv:b8,ang:w8,ange:k8,angle:A8,angmsdaa:S8,angmsdab:C8,angmsdac:N8,angmsdad:M8,angmsdae:T8,angmsdaf:$8,angmsdag:E8,angmsdah:L8,angmsd:O8,angrt:j8,angrtvb:P8,angrtvbd:D8,angsph:q8,angst:B8,angzarr:V8,Aogon:I8,aogon:R8,Aopf:H8,aopf:X8,apacir:Y8,ap:z8,apE:F8,ape:U8,apid:G8,apos:W8,ApplyFunction:K8,approx:Z8,approxeq:Q8,Aring:J8,aring:_8,Ascr:t5,ascr:e5,Assign:n5,ast:i5,asymp:r5,asympeq:o5,Atilde:s5,atilde:l5,Auml:a5,auml:c5,awconint:u5,awint:h5,backcong:f5,backepsilon:d5,backprime:m5,backsim:g5,backsimeq:y5,Backslash:v5,Barv:p5,barvee:x5,barwed:b5,Barwed:w5,barwedge:k5,bbrk:A5,bbrktbrk:S5,bcong:C5,Bcy:N5,bcy:M5,bdquo:T5,becaus:$5,because:E5,Because:L5,bemptyv:O5,bepsi:j5,bernou:P5,Bernoullis:D5,Beta:q5,beta:B5,beth:V5,between:I5,Bfr:R5,bfr:H5,bigcap:X5,bigcirc:Y5,bigcup:z5,bigodot:F5,bigoplus:U5,bigotimes:G5,bigsqcup:W5,bigstar:K5,bigtriangledown:Z5,bigtriangleup:Q5,biguplus:J5,bigvee:_5,bigwedge:t6,bkarow:e6,blacklozenge:n6,blacksquare:i6,blacktriangle:r6,blacktriangledown:o6,blacktriangleleft:s6,blacktriangleright:l6,blank:a6,blk12:c6,blk14:u6,blk34:h6,block:f6,bne:d6,bnequiv:m6,bNot:g6,bnot:y6,Bopf:v6,bopf:p6,bot:x6,bottom:b6,bowtie:w6,boxbox:k6,boxdl:A6,boxdL:S6,boxDl:C6,boxDL:N6,boxdr:M6,boxdR:T6,boxDr:$6,boxDR:E6,boxh:L6,boxH:O6,boxhd:j6,boxHd:P6,boxhD:D6,boxHD:q6,boxhu:B6,boxHu:V6,boxhU:I6,boxHU:R6,boxminus:H6,boxplus:X6,boxtimes:Y6,boxul:z6,boxuL:F6,boxUl:U6,boxUL:G6,boxur:W6,boxuR:K6,boxUr:Z6,boxUR:Q6,boxv:J6,boxV:_6,boxvh:th,boxvH:eh,boxVh:nh,boxVH:ih,boxvl:rh,boxvL:oh,boxVl:sh,boxVL:lh,boxvr:ah,boxvR:ch,boxVr:uh,boxVR:hh,bprime:fh,breve:dh,Breve:mh,brvbar:gh,bscr:yh,Bscr:vh,bsemi:ph,bsim:xh,bsime:bh,bsolb:wh,bsol:kh,bsolhsub:Ah,bull:Sh,bullet:Ch,bump:Nh,bumpE:Mh,bumpe:Th,Bumpeq:$h,bumpeq:Eh,Cacute:Lh,cacute:Oh,capand:jh,capbrcup:Ph,capcap:Dh,cap:qh,Cap:Bh,capcup:Vh,capdot:Ih,CapitalDifferentialD:Rh,caps:Hh,caret:Xh,caron:Yh,Cayleys:zh,ccaps:Fh,Ccaron:Uh,ccaron:Gh,Ccedil:Wh,ccedil:Kh,Ccirc:Zh,ccirc:Qh,Cconint:Jh,ccups:_h,ccupssm:t7,Cdot:e7,cdot:n7,cedil:i7,Cedilla:r7,cemptyv:o7,cent:s7,centerdot:l7,CenterDot:a7,cfr:c7,Cfr:u7,CHcy:h7,chcy:f7,check:d7,checkmark:m7,Chi:g7,chi:y7,circ:v7,circeq:p7,circlearrowleft:x7,circlearrowright:b7,circledast:w7,circledcirc:k7,circleddash:A7,CircleDot:S7,circledR:C7,circledS:N7,CircleMinus:M7,CirclePlus:T7,CircleTimes:$7,cir:E7,cirE:L7,cire:O7,cirfnint:j7,cirmid:P7,cirscir:D7,ClockwiseContourIntegral:q7,CloseCurlyDoubleQuote:B7,CloseCurlyQuote:V7,clubs:I7,clubsuit:R7,colon:H7,Colon:X7,Colone:Y7,colone:z7,coloneq:F7,comma:U7,commat:G7,comp:W7,compfn:K7,complement:Z7,complexes:Q7,cong:J7,congdot:_7,Congruent:tf,conint:ef,Conint:nf,ContourIntegral:rf,copf:of,Copf:sf,coprod:lf,Coproduct:af,copy:cf,COPY:uf,copysr:hf,CounterClockwiseContourIntegral:ff,crarr:df,cross:mf,Cross:gf,Cscr:yf,cscr:vf,csub:pf,csube:xf,csup:bf,csupe:wf,ctdot:kf,cudarrl:Af,cudarrr:Sf,cuepr:Cf,cuesc:Nf,cularr:Mf,cularrp:Tf,cupbrcap:$f,cupcap:Ef,CupCap:Lf,cup:Of,Cup:jf,cupcup:Pf,cupdot:Df,cupor:qf,cups:Bf,curarr:Vf,curarrm:If,curlyeqprec:Rf,curlyeqsucc:Hf,curlyvee:Xf,curlywedge:Yf,curren:zf,curvearrowleft:Ff,curvearrowright:Uf,cuvee:Gf,cuwed:Wf,cwconint:Kf,cwint:Zf,cylcty:Qf,dagger:Jf,Dagger:_f,daleth:t3,darr:e3,Darr:n3,dArr:i3,dash:r3,Dashv:o3,dashv:s3,dbkarow:l3,dblac:a3,Dcaron:c3,dcaron:u3,Dcy:h3,dcy:f3,ddagger:d3,ddarr:m3,DD:g3,dd:y3,DDotrahd:v3,ddotseq:p3,deg:x3,Del:b3,Delta:w3,delta:k3,demptyv:A3,dfisht:S3,Dfr:C3,dfr:N3,dHar:M3,dharl:T3,dharr:$3,DiacriticalAcute:E3,DiacriticalDot:L3,DiacriticalDoubleAcute:O3,DiacriticalGrave:j3,DiacriticalTilde:P3,diam:D3,diamond:q3,Diamond:B3,diamondsuit:V3,diams:I3,die:R3,DifferentialD:H3,digamma:X3,disin:Y3,div:z3,divide:F3,divideontimes:U3,divonx:G3,DJcy:W3,djcy:K3,dlcorn:Z3,dlcrop:Q3,dollar:J3,Dopf:_3,dopf:td,Dot:ed,dot:nd,DotDot:id,doteq:rd,doteqdot:od,DotEqual:sd,dotminus:ld,dotplus:ad,dotsquare:cd,doublebarwedge:ud,DoubleContourIntegral:hd,DoubleDot:fd,DoubleDownArrow:dd,DoubleLeftArrow:md,DoubleLeftRightArrow:gd,DoubleLeftTee:yd,DoubleLongLeftArrow:vd,DoubleLongLeftRightArrow:pd,DoubleLongRightArrow:xd,DoubleRightArrow:bd,DoubleRightTee:wd,DoubleUpArrow:kd,DoubleUpDownArrow:Ad,DoubleVerticalBar:Sd,DownArrowBar:Cd,downarrow:Nd,DownArrow:Md,Downarrow:Td,DownArrowUpArrow:$d,DownBreve:Ed,downdownarrows:Ld,downharpoonleft:Od,downharpoonright:jd,DownLeftRightVector:Pd,DownLeftTeeVector:Dd,DownLeftVectorBar:qd,DownLeftVector:Bd,DownRightTeeVector:Vd,DownRightVectorBar:Id,DownRightVector:Rd,DownTeeArrow:Hd,DownTee:Xd,drbkarow:Yd,drcorn:zd,drcrop:Fd,Dscr:Ud,dscr:Gd,DScy:Wd,dscy:Kd,dsol:Zd,Dstrok:Qd,dstrok:Jd,dtdot:_d,dtri:tm,dtrif:em,duarr:nm,duhar:im,dwangle:rm,DZcy:om,dzcy:sm,dzigrarr:lm,Eacute:am,eacute:cm,easter:um,Ecaron:hm,ecaron:fm,Ecirc:dm,ecirc:mm,ecir:gm,ecolon:ym,Ecy:vm,ecy:pm,eDDot:xm,Edot:bm,edot:wm,eDot:km,ee:Am,efDot:Sm,Efr:Cm,efr:Nm,eg:Mm,Egrave:Tm,egrave:$m,egs:Em,egsdot:Lm,el:Om,Element:jm,elinters:Pm,ell:Dm,els:qm,elsdot:Bm,Emacr:Vm,emacr:Im,empty:Rm,emptyset:Hm,EmptySmallSquare:Xm,emptyv:Ym,EmptyVerySmallSquare:zm,emsp13:Fm,emsp14:Um,emsp:Gm,ENG:Wm,eng:Km,ensp:Zm,Eogon:Qm,eogon:Jm,Eopf:_m,eopf:t4,epar:e4,eparsl:n4,eplus:i4,epsi:r4,Epsilon:o4,epsilon:s4,epsiv:l4,eqcirc:a4,eqcolon:c4,eqsim:u4,eqslantgtr:h4,eqslantless:f4,Equal:d4,equals:m4,EqualTilde:g4,equest:y4,Equilibrium:v4,equiv:p4,equivDD:x4,eqvparsl:b4,erarr:w4,erDot:k4,escr:A4,Escr:S4,esdot:C4,Esim:N4,esim:M4,Eta:T4,eta:$4,ETH:E4,eth:L4,Euml:O4,euml:j4,euro:P4,excl:D4,exist:q4,Exists:B4,expectation:V4,exponentiale:I4,ExponentialE:R4,fallingdotseq:H4,Fcy:X4,fcy:Y4,female:z4,ffilig:F4,fflig:U4,ffllig:G4,Ffr:W4,ffr:K4,filig:Z4,FilledSmallSquare:Q4,FilledVerySmallSquare:J4,fjlig:_4,flat:tg,fllig:eg,fltns:ng,fnof:ig,Fopf:rg,fopf:og,forall:sg,ForAll:lg,fork:ag,forkv:cg,Fouriertrf:ug,fpartint:hg,frac12:fg,frac13:dg,frac14:mg,frac15:gg,frac16:yg,frac18:vg,frac23:pg,frac25:xg,frac34:bg,frac35:wg,frac38:kg,frac45:Ag,frac56:Sg,frac58:Cg,frac78:Ng,frasl:Mg,frown:Tg,fscr:$g,Fscr:Eg,gacute:Lg,Gamma:Og,gamma:jg,Gammad:Pg,gammad:Dg,gap:qg,Gbreve:Bg,gbreve:Vg,Gcedil:Ig,Gcirc:Rg,gcirc:Hg,Gcy:Xg,gcy:Yg,Gdot:zg,gdot:Fg,ge:Ug,gE:Gg,gEl:Wg,gel:Kg,geq:Zg,geqq:Qg,geqslant:Jg,gescc:_g,ges:ty,gesdot:ey,gesdoto:ny,gesdotol:iy,gesl:ry,gesles:oy,Gfr:sy,gfr:ly,gg:ay,Gg:cy,ggg:uy,gimel:hy,GJcy:fy,gjcy:dy,gla:my,gl:gy,glE:yy,glj:vy,gnap:py,gnapprox:xy,gne:by,gnE:wy,gneq:ky,gneqq:Ay,gnsim:Sy,Gopf:Cy,gopf:Ny,grave:My,GreaterEqual:Ty,GreaterEqualLess:$y,GreaterFullEqual:Ey,GreaterGreater:Ly,GreaterLess:Oy,GreaterSlantEqual:jy,GreaterTilde:Py,Gscr:Dy,gscr:qy,gsim:By,gsime:Vy,gsiml:Iy,gtcc:Ry,gtcir:Hy,gt:Xy,GT:Yy,Gt:zy,gtdot:Fy,gtlPar:Uy,gtquest:Gy,gtrapprox:Wy,gtrarr:Ky,gtrdot:Zy,gtreqless:Qy,gtreqqless:Jy,gtrless:_y,gtrsim:tv,gvertneqq:ev,gvnE:nv,Hacek:iv,hairsp:rv,half:ov,hamilt:sv,HARDcy:lv,hardcy:av,harrcir:cv,harr:uv,hArr:hv,harrw:fv,Hat:dv,hbar:mv,Hcirc:gv,hcirc:yv,hearts:vv,heartsuit:pv,hellip:xv,hercon:bv,hfr:wv,Hfr:kv,HilbertSpace:Av,hksearow:Sv,hkswarow:Cv,hoarr:Nv,homtht:Mv,hookleftarrow:Tv,hookrightarrow:$v,hopf:Ev,Hopf:Lv,horbar:Ov,HorizontalLine:jv,hscr:Pv,Hscr:Dv,hslash:qv,Hstrok:Bv,hstrok:Vv,HumpDownHump:Iv,HumpEqual:Rv,hybull:Hv,hyphen:Xv,Iacute:Yv,iacute:zv,ic:Fv,Icirc:Uv,icirc:Gv,Icy:Wv,icy:Kv,Idot:Zv,IEcy:Qv,iecy:Jv,iexcl:_v,iff:tp,ifr:ep,Ifr:np,Igrave:ip,igrave:rp,ii:op,iiiint:sp,iiint:lp,iinfin:ap,iiota:cp,IJlig:up,ijlig:hp,Imacr:fp,imacr:dp,image:mp,ImaginaryI:gp,imagline:yp,imagpart:vp,imath:pp,Im:xp,imof:bp,imped:wp,Implies:kp,incare:Ap,in:"\u2208",infin:Sp,infintie:Cp,inodot:Np,intcal:Mp,int:Tp,Int:$p,integers:Ep,Integral:Lp,intercal:Op,Intersection:jp,intlarhk:Pp,intprod:Dp,InvisibleComma:qp,InvisibleTimes:Bp,IOcy:Vp,iocy:Ip,Iogon:Rp,iogon:Hp,Iopf:Xp,iopf:Yp,Iota:zp,iota:Fp,iprod:Up,iquest:Gp,iscr:Wp,Iscr:Kp,isin:Zp,isindot:Qp,isinE:Jp,isins:_p,isinsv:tx,isinv:ex,it:nx,Itilde:ix,itilde:rx,Iukcy:ox,iukcy:sx,Iuml:lx,iuml:ax,Jcirc:cx,jcirc:ux,Jcy:hx,jcy:fx,Jfr:dx,jfr:mx,jmath:gx,Jopf:yx,jopf:vx,Jscr:px,jscr:xx,Jsercy:bx,jsercy:wx,Jukcy:kx,jukcy:Ax,Kappa:Sx,kappa:Cx,kappav:Nx,Kcedil:Mx,kcedil:Tx,Kcy:$x,kcy:Ex,Kfr:Lx,kfr:Ox,kgreen:jx,KHcy:Px,khcy:Dx,KJcy:qx,kjcy:Bx,Kopf:Vx,kopf:Ix,Kscr:Rx,kscr:Hx,lAarr:Xx,Lacute:Yx,lacute:zx,laemptyv:Fx,lagran:Ux,Lambda:Gx,lambda:Wx,lang:Kx,Lang:Zx,langd:Qx,langle:Jx,lap:_x,Laplacetrf:tb,laquo:eb,larrb:nb,larrbfs:ib,larr:rb,Larr:ob,lArr:sb,larrfs:lb,larrhk:ab,larrlp:cb,larrpl:ub,larrsim:hb,larrtl:fb,latail:db,lAtail:mb,lat:gb,late:yb,lates:vb,lbarr:pb,lBarr:xb,lbbrk:bb,lbrace:wb,lbrack:kb,lbrke:Ab,lbrksld:Sb,lbrkslu:Cb,Lcaron:Nb,lcaron:Mb,Lcedil:Tb,lcedil:$b,lceil:Eb,lcub:Lb,Lcy:Ob,lcy:jb,ldca:Pb,ldquo:Db,ldquor:qb,ldrdhar:Bb,ldrushar:Vb,ldsh:Ib,le:Rb,lE:Hb,LeftAngleBracket:Xb,LeftArrowBar:Yb,leftarrow:zb,LeftArrow:Fb,Leftarrow:Ub,LeftArrowRightArrow:Gb,leftarrowtail:Wb,LeftCeiling:Kb,LeftDoubleBracket:Zb,LeftDownTeeVector:Qb,LeftDownVectorBar:Jb,LeftDownVector:_b,LeftFloor:tw,leftharpoondown:ew,leftharpoonup:nw,leftleftarrows:iw,leftrightarrow:rw,LeftRightArrow:ow,Leftrightarrow:sw,leftrightarrows:lw,leftrightharpoons:aw,leftrightsquigarrow:cw,LeftRightVector:uw,LeftTeeArrow:hw,LeftTee:fw,LeftTeeVector:dw,leftthreetimes:mw,LeftTriangleBar:gw,LeftTriangle:yw,LeftTriangleEqual:vw,LeftUpDownVector:pw,LeftUpTeeVector:xw,LeftUpVectorBar:bw,LeftUpVector:ww,LeftVectorBar:kw,LeftVector:Aw,lEg:Sw,leg:Cw,leq:Nw,leqq:Mw,leqslant:Tw,lescc:$w,les:Ew,lesdot:Lw,lesdoto:Ow,lesdotor:jw,lesg:Pw,lesges:Dw,lessapprox:qw,lessdot:Bw,lesseqgtr:Vw,lesseqqgtr:Iw,LessEqualGreater:Rw,LessFullEqual:Hw,LessGreater:Xw,lessgtr:Yw,LessLess:zw,lesssim:Fw,LessSlantEqual:Uw,LessTilde:Gw,lfisht:Ww,lfloor:Kw,Lfr:Zw,lfr:Qw,lg:Jw,lgE:_w,lHar:tk,lhard:ek,lharu:nk,lharul:ik,lhblk:rk,LJcy:ok,ljcy:sk,llarr:lk,ll:ak,Ll:ck,llcorner:uk,Lleftarrow:hk,llhard:fk,lltri:dk,Lmidot:mk,lmidot:gk,lmoustache:yk,lmoust:vk,lnap:pk,lnapprox:xk,lne:bk,lnE:wk,lneq:kk,lneqq:Ak,lnsim:Sk,loang:Ck,loarr:Nk,lobrk:Mk,longleftarrow:Tk,LongLeftArrow:$k,Longleftarrow:Ek,longleftrightarrow:Lk,LongLeftRightArrow:Ok,Longleftrightarrow:jk,longmapsto:Pk,longrightarrow:Dk,LongRightArrow:qk,Longrightarrow:Bk,looparrowleft:Vk,looparrowright:Ik,lopar:Rk,Lopf:Hk,lopf:Xk,loplus:Yk,lotimes:zk,lowast:Fk,lowbar:Uk,LowerLeftArrow:Gk,LowerRightArrow:Wk,loz:Kk,lozenge:Zk,lozf:Qk,lpar:Jk,lparlt:_k,lrarr:tA,lrcorner:eA,lrhar:nA,lrhard:iA,lrm:rA,lrtri:oA,lsaquo:sA,lscr:lA,Lscr:aA,lsh:cA,Lsh:uA,lsim:hA,lsime:fA,lsimg:dA,lsqb:mA,lsquo:gA,lsquor:yA,Lstrok:vA,lstrok:pA,ltcc:xA,ltcir:bA,lt:wA,LT:kA,Lt:AA,ltdot:SA,lthree:CA,ltimes:NA,ltlarr:MA,ltquest:TA,ltri:$A,ltrie:EA,ltrif:LA,ltrPar:OA,lurdshar:jA,luruhar:PA,lvertneqq:DA,lvnE:qA,macr:BA,male:VA,malt:IA,maltese:RA,Map:"\u2905",map:HA,mapsto:XA,mapstodown:YA,mapstoleft:zA,mapstoup:FA,marker:UA,mcomma:GA,Mcy:WA,mcy:KA,mdash:ZA,mDDot:QA,measuredangle:JA,MediumSpace:_A,Mellintrf:tS,Mfr:eS,mfr:nS,mho:iS,micro:rS,midast:oS,midcir:sS,mid:lS,middot:aS,minusb:cS,minus:uS,minusd:hS,minusdu:fS,MinusPlus:dS,mlcp:mS,mldr:gS,mnplus:yS,models:vS,Mopf:pS,mopf:xS,mp:bS,mscr:wS,Mscr:kS,mstpos:AS,Mu:SS,mu:CS,multimap:NS,mumap:MS,nabla:TS,Nacute:$S,nacute:ES,nang:LS,nap:OS,napE:jS,napid:PS,napos:DS,napprox:qS,natural:BS,naturals:VS,natur:IS,nbsp:RS,nbump:HS,nbumpe:XS,ncap:YS,Ncaron:zS,ncaron:FS,Ncedil:US,ncedil:GS,ncong:WS,ncongdot:KS,ncup:ZS,Ncy:QS,ncy:JS,ndash:_S,nearhk:tC,nearr:eC,neArr:nC,nearrow:iC,ne:rC,nedot:oC,NegativeMediumSpace:sC,NegativeThickSpace:lC,NegativeThinSpace:aC,NegativeVeryThinSpace:cC,nequiv:uC,nesear:hC,nesim:fC,NestedGreaterGreater:dC,NestedLessLess:mC,NewLine:gC,nexist:yC,nexists:vC,Nfr:pC,nfr:xC,ngE:bC,nge:wC,ngeq:kC,ngeqq:AC,ngeqslant:SC,nges:CC,nGg:NC,ngsim:MC,nGt:TC,ngt:$C,ngtr:EC,nGtv:LC,nharr:OC,nhArr:jC,nhpar:PC,ni:DC,nis:qC,nisd:BC,niv:VC,NJcy:IC,njcy:RC,nlarr:HC,nlArr:XC,nldr:YC,nlE:zC,nle:FC,nleftarrow:UC,nLeftarrow:GC,nleftrightarrow:WC,nLeftrightarrow:KC,nleq:ZC,nleqq:QC,nleqslant:JC,nles:_C,nless:tN,nLl:eN,nlsim:nN,nLt:iN,nlt:rN,nltri:oN,nltrie:sN,nLtv:lN,nmid:aN,NoBreak:cN,NonBreakingSpace:uN,nopf:hN,Nopf:fN,Not:dN,not:mN,NotCongruent:gN,NotCupCap:yN,NotDoubleVerticalBar:vN,NotElement:pN,NotEqual:xN,NotEqualTilde:bN,NotExists:wN,NotGreater:kN,NotGreaterEqual:AN,NotGreaterFullEqual:SN,NotGreaterGreater:CN,NotGreaterLess:NN,NotGreaterSlantEqual:MN,NotGreaterTilde:TN,NotHumpDownHump:$N,NotHumpEqual:EN,notin:LN,notindot:ON,notinE:jN,notinva:PN,notinvb:DN,notinvc:qN,NotLeftTriangleBar:BN,NotLeftTriangle:VN,NotLeftTriangleEqual:IN,NotLess:RN,NotLessEqual:HN,NotLessGreater:XN,NotLessLess:YN,NotLessSlantEqual:zN,NotLessTilde:FN,NotNestedGreaterGreater:UN,NotNestedLessLess:GN,notni:WN,notniva:KN,notnivb:ZN,notnivc:QN,NotPrecedes:JN,NotPrecedesEqual:_N,NotPrecedesSlantEqual:tM,NotReverseElement:eM,NotRightTriangleBar:nM,NotRightTriangle:iM,NotRightTriangleEqual:rM,NotSquareSubset:oM,NotSquareSubsetEqual:sM,NotSquareSuperset:lM,NotSquareSupersetEqual:aM,NotSubset:cM,NotSubsetEqual:uM,NotSucceeds:hM,NotSucceedsEqual:fM,NotSucceedsSlantEqual:dM,NotSucceedsTilde:mM,NotSuperset:gM,NotSupersetEqual:yM,NotTilde:vM,NotTildeEqual:pM,NotTildeFullEqual:xM,NotTildeTilde:bM,NotVerticalBar:wM,nparallel:kM,npar:AM,nparsl:SM,npart:CM,npolint:NM,npr:MM,nprcue:TM,nprec:$M,npreceq:EM,npre:LM,nrarrc:OM,nrarr:jM,nrArr:PM,nrarrw:DM,nrightarrow:qM,nRightarrow:BM,nrtri:VM,nrtrie:IM,nsc:RM,nsccue:HM,nsce:XM,Nscr:YM,nscr:zM,nshortmid:FM,nshortparallel:UM,nsim:GM,nsime:WM,nsimeq:KM,nsmid:ZM,nspar:QM,nsqsube:JM,nsqsupe:_M,nsub:tT,nsubE:eT,nsube:nT,nsubset:iT,nsubseteq:rT,nsubseteqq:oT,nsucc:sT,nsucceq:lT,nsup:aT,nsupE:cT,nsupe:uT,nsupset:hT,nsupseteq:fT,nsupseteqq:dT,ntgl:mT,Ntilde:gT,ntilde:yT,ntlg:vT,ntriangleleft:pT,ntrianglelefteq:xT,ntriangleright:bT,ntrianglerighteq:wT,Nu:kT,nu:AT,num:ST,numero:CT,numsp:NT,nvap:MT,nvdash:TT,nvDash:$T,nVdash:ET,nVDash:LT,nvge:OT,nvgt:jT,nvHarr:PT,nvinfin:DT,nvlArr:qT,nvle:BT,nvlt:VT,nvltrie:IT,nvrArr:RT,nvrtrie:HT,nvsim:XT,nwarhk:YT,nwarr:zT,nwArr:FT,nwarrow:UT,nwnear:GT,Oacute:WT,oacute:KT,oast:ZT,Ocirc:QT,ocirc:JT,ocir:_T,Ocy:t$,ocy:e$,odash:n$,Odblac:i$,odblac:r$,odiv:o$,odot:s$,odsold:l$,OElig:a$,oelig:c$,ofcir:u$,Ofr:h$,ofr:f$,ogon:d$,Ograve:m$,ograve:g$,ogt:y$,ohbar:v$,ohm:p$,oint:x$,olarr:b$,olcir:w$,olcross:k$,oline:A$,olt:S$,Omacr:C$,omacr:N$,Omega:M$,omega:T$,Omicron:$$,omicron:E$,omid:L$,ominus:O$,Oopf:j$,oopf:P$,opar:D$,OpenCurlyDoubleQuote:q$,OpenCurlyQuote:B$,operp:V$,oplus:I$,orarr:R$,Or:H$,or:X$,ord:Y$,order:z$,orderof:F$,ordf:U$,ordm:G$,origof:W$,oror:K$,orslope:Z$,orv:Q$,oS:J$,Oscr:_$,oscr:tE,Oslash:eE,oslash:nE,osol:iE,Otilde:rE,otilde:oE,otimesas:sE,Otimes:lE,otimes:aE,Ouml:cE,ouml:uE,ovbar:hE,OverBar:fE,OverBrace:dE,OverBracket:mE,OverParenthesis:gE,para:yE,parallel:vE,par:pE,parsim:xE,parsl:bE,part:wE,PartialD:kE,Pcy:AE,pcy:SE,percnt:CE,period:NE,permil:ME,perp:TE,pertenk:$E,Pfr:EE,pfr:LE,Phi:OE,phi:jE,phiv:PE,phmmat:DE,phone:qE,Pi:BE,pi:VE,pitchfork:IE,piv:RE,planck:HE,planckh:XE,plankv:YE,plusacir:zE,plusb:FE,pluscir:UE,plus:GE,plusdo:WE,plusdu:KE,pluse:ZE,PlusMinus:QE,plusmn:JE,plussim:_E,plustwo:tL,pm:eL,Poincareplane:nL,pointint:iL,popf:rL,Popf:oL,pound:sL,prap:lL,Pr:aL,pr:cL,prcue:uL,precapprox:hL,prec:fL,preccurlyeq:dL,Precedes:mL,PrecedesEqual:gL,PrecedesSlantEqual:yL,PrecedesTilde:vL,preceq:pL,precnapprox:xL,precneqq:bL,precnsim:wL,pre:kL,prE:AL,precsim:SL,prime:CL,Prime:NL,primes:ML,prnap:TL,prnE:$L,prnsim:EL,prod:LL,Product:OL,profalar:jL,profline:PL,profsurf:DL,prop:qL,Proportional:BL,Proportion:VL,propto:IL,prsim:RL,prurel:HL,Pscr:XL,pscr:YL,Psi:zL,psi:FL,puncsp:UL,Qfr:GL,qfr:WL,qint:KL,qopf:ZL,Qopf:QL,qprime:JL,Qscr:_L,qscr:tO,quaternions:eO,quatint:nO,quest:iO,questeq:rO,quot:oO,QUOT:sO,rAarr:lO,race:aO,Racute:cO,racute:uO,radic:hO,raemptyv:fO,rang:dO,Rang:mO,rangd:gO,range:yO,rangle:vO,raquo:pO,rarrap:xO,rarrb:bO,rarrbfs:wO,rarrc:kO,rarr:AO,Rarr:SO,rArr:CO,rarrfs:NO,rarrhk:MO,rarrlp:TO,rarrpl:$O,rarrsim:EO,Rarrtl:LO,rarrtl:OO,rarrw:jO,ratail:PO,rAtail:DO,ratio:qO,rationals:BO,rbarr:VO,rBarr:IO,RBarr:RO,rbbrk:HO,rbrace:XO,rbrack:YO,rbrke:zO,rbrksld:FO,rbrkslu:UO,Rcaron:GO,rcaron:WO,Rcedil:KO,rcedil:ZO,rceil:QO,rcub:JO,Rcy:_O,rcy:tj,rdca:ej,rdldhar:nj,rdquo:ij,rdquor:rj,rdsh:oj,real:sj,realine:lj,realpart:aj,reals:cj,Re:uj,rect:hj,reg:fj,REG:dj,ReverseElement:mj,ReverseEquilibrium:gj,ReverseUpEquilibrium:yj,rfisht:vj,rfloor:pj,rfr:xj,Rfr:bj,rHar:wj,rhard:kj,rharu:Aj,rharul:Sj,Rho:Cj,rho:Nj,rhov:Mj,RightAngleBracket:Tj,RightArrowBar:$j,rightarrow:Ej,RightArrow:Lj,Rightarrow:Oj,RightArrowLeftArrow:jj,rightarrowtail:Pj,RightCeiling:Dj,RightDoubleBracket:qj,RightDownTeeVector:Bj,RightDownVectorBar:Vj,RightDownVector:Ij,RightFloor:Rj,rightharpoondown:Hj,rightharpoonup:Xj,rightleftarrows:Yj,rightleftharpoons:zj,rightrightarrows:Fj,rightsquigarrow:Uj,RightTeeArrow:Gj,RightTee:Wj,RightTeeVector:Kj,rightthreetimes:Zj,RightTriangleBar:Qj,RightTriangle:Jj,RightTriangleEqual:_j,RightUpDownVector:tP,RightUpTeeVector:eP,RightUpVectorBar:nP,RightUpVector:iP,RightVectorBar:rP,RightVector:oP,ring:sP,risingdotseq:lP,rlarr:aP,rlhar:cP,rlm:uP,rmoustache:hP,rmoust:fP,rnmid:dP,roang:mP,roarr:gP,robrk:yP,ropar:vP,ropf:pP,Ropf:xP,roplus:bP,rotimes:wP,RoundImplies:kP,rpar:AP,rpargt:SP,rppolint:CP,rrarr:NP,Rrightarrow:MP,rsaquo:TP,rscr:$P,Rscr:EP,rsh:LP,Rsh:OP,rsqb:jP,rsquo:PP,rsquor:DP,rthree:qP,rtimes:BP,rtri:VP,rtrie:IP,rtrif:RP,rtriltri:HP,RuleDelayed:XP,ruluhar:YP,rx:zP,Sacute:FP,sacute:UP,sbquo:GP,scap:WP,Scaron:KP,scaron:ZP,Sc:QP,sc:JP,sccue:_P,sce:tD,scE:eD,Scedil:nD,scedil:iD,Scirc:rD,scirc:oD,scnap:sD,scnE:lD,scnsim:aD,scpolint:cD,scsim:uD,Scy:hD,scy:fD,sdotb:dD,sdot:mD,sdote:gD,searhk:yD,searr:vD,seArr:pD,searrow:xD,sect:bD,semi:wD,seswar:kD,setminus:AD,setmn:SD,sext:CD,Sfr:ND,sfr:MD,sfrown:TD,sharp:$D,SHCHcy:ED,shchcy:LD,SHcy:OD,shcy:jD,ShortDownArrow:PD,ShortLeftArrow:DD,shortmid:qD,shortparallel:BD,ShortRightArrow:VD,ShortUpArrow:ID,shy:RD,Sigma:HD,sigma:XD,sigmaf:YD,sigmav:zD,sim:FD,simdot:UD,sime:GD,simeq:WD,simg:KD,simgE:ZD,siml:QD,simlE:JD,simne:_D,simplus:tq,simrarr:eq,slarr:nq,SmallCircle:iq,smallsetminus:rq,smashp:oq,smeparsl:sq,smid:lq,smile:aq,smt:cq,smte:uq,smtes:hq,SOFTcy:fq,softcy:dq,solbar:mq,solb:gq,sol:yq,Sopf:vq,sopf:pq,spades:xq,spadesuit:bq,spar:wq,sqcap:kq,sqcaps:Aq,sqcup:Sq,sqcups:Cq,Sqrt:Nq,sqsub:Mq,sqsube:Tq,sqsubset:$q,sqsubseteq:Eq,sqsup:Lq,sqsupe:Oq,sqsupset:jq,sqsupseteq:Pq,square:Dq,Square:qq,SquareIntersection:Bq,SquareSubset:Vq,SquareSubsetEqual:Iq,SquareSuperset:Rq,SquareSupersetEqual:Hq,SquareUnion:Xq,squarf:Yq,squ:zq,squf:Fq,srarr:Uq,Sscr:Gq,sscr:Wq,ssetmn:Kq,ssmile:Zq,sstarf:Qq,Star:Jq,star:_q,starf:tB,straightepsilon:eB,straightphi:nB,strns:iB,sub:rB,Sub:oB,subdot:sB,subE:lB,sube:aB,subedot:cB,submult:uB,subnE:hB,subne:fB,subplus:dB,subrarr:mB,subset:gB,Subset:yB,subseteq:vB,subseteqq:pB,SubsetEqual:xB,subsetneq:bB,subsetneqq:wB,subsim:kB,subsub:AB,subsup:SB,succapprox:CB,succ:NB,succcurlyeq:MB,Succeeds:TB,SucceedsEqual:$B,SucceedsSlantEqual:EB,SucceedsTilde:LB,succeq:OB,succnapprox:jB,succneqq:PB,succnsim:DB,succsim:qB,SuchThat:BB,sum:VB,Sum:IB,sung:RB,sup1:HB,sup2:XB,sup3:YB,sup:zB,Sup:FB,supdot:UB,supdsub:GB,supE:WB,supe:KB,supedot:ZB,Superset:QB,SupersetEqual:JB,suphsol:_B,suphsub:tV,suplarr:eV,supmult:nV,supnE:iV,supne:rV,supplus:oV,supset:sV,Supset:lV,supseteq:aV,supseteqq:cV,supsetneq:uV,supsetneqq:hV,supsim:fV,supsub:dV,supsup:mV,swarhk:gV,swarr:yV,swArr:vV,swarrow:pV,swnwar:xV,szlig:bV,Tab:wV,target:kV,Tau:AV,tau:SV,tbrk:CV,Tcaron:NV,tcaron:MV,Tcedil:TV,tcedil:$V,Tcy:EV,tcy:LV,tdot:OV,telrec:jV,Tfr:PV,tfr:DV,there4:qV,therefore:BV,Therefore:VV,Theta:IV,theta:RV,thetasym:HV,thetav:XV,thickapprox:YV,thicksim:zV,ThickSpace:FV,ThinSpace:UV,thinsp:GV,thkap:WV,thksim:KV,THORN:ZV,thorn:QV,tilde:JV,Tilde:_V,TildeEqual:tI,TildeFullEqual:eI,TildeTilde:nI,timesbar:iI,timesb:rI,times:oI,timesd:sI,tint:lI,toea:aI,topbot:cI,topcir:uI,top:hI,Topf:fI,topf:dI,topfork:mI,tosa:gI,tprime:yI,trade:vI,TRADE:pI,triangle:xI,triangledown:bI,triangleleft:wI,trianglelefteq:kI,triangleq:AI,triangleright:SI,trianglerighteq:CI,tridot:NI,trie:MI,triminus:TI,TripleDot:$I,triplus:EI,trisb:LI,tritime:OI,trpezium:jI,Tscr:PI,tscr:DI,TScy:qI,tscy:BI,TSHcy:VI,tshcy:II,Tstrok:RI,tstrok:HI,twixt:XI,twoheadleftarrow:YI,twoheadrightarrow:zI,Uacute:FI,uacute:UI,uarr:GI,Uarr:WI,uArr:KI,Uarrocir:ZI,Ubrcy:QI,ubrcy:JI,Ubreve:_I,ubreve:tR,Ucirc:eR,ucirc:nR,Ucy:iR,ucy:rR,udarr:oR,Udblac:sR,udblac:lR,udhar:aR,ufisht:cR,Ufr:uR,ufr:hR,Ugrave:fR,ugrave:dR,uHar:mR,uharl:gR,uharr:yR,uhblk:vR,ulcorn:pR,ulcorner:xR,ulcrop:bR,ultri:wR,Umacr:kR,umacr:AR,uml:SR,UnderBar:CR,UnderBrace:NR,UnderBracket:MR,UnderParenthesis:TR,Union:$R,UnionPlus:ER,Uogon:LR,uogon:OR,Uopf:jR,uopf:PR,UpArrowBar:DR,uparrow:qR,UpArrow:BR,Uparrow:VR,UpArrowDownArrow:IR,updownarrow:RR,UpDownArrow:HR,Updownarrow:XR,UpEquilibrium:YR,upharpoonleft:zR,upharpoonright:FR,uplus:UR,UpperLeftArrow:GR,UpperRightArrow:WR,upsi:KR,Upsi:ZR,upsih:QR,Upsilon:JR,upsilon:_R,UpTeeArrow:tH,UpTee:eH,upuparrows:nH,urcorn:iH,urcorner:rH,urcrop:oH,Uring:sH,uring:lH,urtri:aH,Uscr:cH,uscr:uH,utdot:hH,Utilde:fH,utilde:dH,utri:mH,utrif:gH,uuarr:yH,Uuml:vH,uuml:pH,uwangle:xH,vangrt:bH,varepsilon:wH,varkappa:kH,varnothing:AH,varphi:SH,varpi:CH,varpropto:NH,varr:MH,vArr:TH,varrho:$H,varsigma:EH,varsubsetneq:LH,varsubsetneqq:OH,varsupsetneq:jH,varsupsetneqq:PH,vartheta:DH,vartriangleleft:qH,vartriangleright:BH,vBar:VH,Vbar:IH,vBarv:RH,Vcy:HH,vcy:XH,vdash:YH,vDash:zH,Vdash:FH,VDash:UH,Vdashl:GH,veebar:WH,vee:KH,Vee:ZH,veeeq:QH,vellip:JH,verbar:_H,Verbar:tX,vert:eX,Vert:nX,VerticalBar:iX,VerticalLine:rX,VerticalSeparator:oX,VerticalTilde:sX,VeryThinSpace:lX,Vfr:aX,vfr:cX,vltri:uX,vnsub:hX,vnsup:fX,Vopf:dX,vopf:mX,vprop:gX,vrtri:yX,Vscr:vX,vscr:pX,vsubnE:xX,vsubne:bX,vsupnE:wX,vsupne:kX,Vvdash:AX,vzigzag:SX,Wcirc:CX,wcirc:NX,wedbar:MX,wedge:TX,Wedge:$X,wedgeq:EX,weierp:LX,Wfr:OX,wfr:jX,Wopf:PX,wopf:DX,wp:qX,wr:BX,wreath:VX,Wscr:IX,wscr:RX,xcap:HX,xcirc:XX,xcup:YX,xdtri:zX,Xfr:FX,xfr:UX,xharr:GX,xhArr:WX,Xi:KX,xi:ZX,xlarr:QX,xlArr:JX,xmap:_X,xnis:tY,xodot:eY,Xopf:nY,xopf:iY,xoplus:rY,xotime:oY,xrarr:sY,xrArr:lY,Xscr:aY,xscr:cY,xsqcup:uY,xuplus:hY,xutri:fY,xvee:dY,xwedge:mY,Yacute:gY,yacute:yY,YAcy:vY,yacy:pY,Ycirc:xY,ycirc:bY,Ycy:wY,ycy:kY,yen:AY,Yfr:SY,yfr:CY,YIcy:NY,yicy:MY,Yopf:TY,yopf:$Y,Yscr:EY,yscr:LY,YUcy:OY,yucy:jY,yuml:PY,Yuml:DY,Zacute:qY,zacute:BY,Zcaron:VY,zcaron:IY,Zcy:RY,zcy:HY,Zdot:XY,zdot:YY,zeetrf:zY,ZeroWidthSpace:FY,Zeta:UY,zeta:GY,zfr:WY,Zfr:KY,ZHcy:ZY,zhcy:QY,zigrarr:JY,zopf:_Y,Zopf:tz,Zscr:ez,zscr:nz,zwj:iz,zwnj:rz};var co;function oz(){return co||(co=1,(function(t){var e=b1&&b1.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(t,"__esModule",{value:!0}),t.getTrie=t.encodeHTMLTrieRe=t.getCodePoint=void 0;var n=e(Bs);function i(c){return(c&64512)===55296}t.getCodePoint=String.prototype.codePointAt!=null?function(c,a){return c.codePointAt(a)}:(function(c,a){return i(c.charCodeAt(a))?(c.charCodeAt(a)-55296)*1024+c.charCodeAt(a+1)-56320+65536:c.charCodeAt(a)});var r=l(n.default);function o(c,a){for(var s,u="",d=0,f;(f=c.exec(a))!==null;){var h=f.index,g=a.charCodeAt(h),y=r.get(g);if(y){if(y.next!=null&&h+1<a.length){var w=(s=y.next.get(a.charCodeAt(h+1)))===null||s===void 0?void 0:s.value;if(w!=null){u+=a.substring(d,h)+w,c.lastIndex+=1,d=h+2;continue}}u+=a.substring(d,h)+y.value,d=h+1}else u+=a.substring(d,h)+"&#x"+t.getCodePoint(a,h).toString(16)+";",d=c.lastIndex+=Number(i(g))}return u+a.substr(d)}t.encodeHTMLTrieRe=o;function l(c){for(var a,s,u,d,f=new Map,h=0,g=Object.keys(c);h<g.length;h++){for(var y=g[h],w=c[y],x=f,M=0;M<w.length-1;M++){var A=w.charCodeAt(M),T=(a=x.get(A))!==null&&a!==void 0?a:{};x.set(A,T),x=(s=T.next)!==null&&s!==void 0?s:T.next=new Map}var j=(u=x.get(w.charCodeAt(w.length-1)))!==null&&u!==void 0?u:{};(d=j.value)!==null&&d!==void 0||(j.value="&"+y+";"),x.set(w.charCodeAt(w.length-1),j)}return f}t.getTrie=l})(b1)),b1}var uo;function ho(){if(uo)return Jt;uo=1;var t=Jt&&Jt.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.escapeUTF8=Jt.escape=Jt.encodeNonAsciiHTML=Jt.encodeHTML=Jt.encodeXML=void 0;var e=t(R9),n=oz(),i=t(Bs),r=d(i.default,!0),o=d(e.default,!0),l=d(e.default,!1),c=new Map(Object.keys(e.default).map(function(h){return[e.default[h].charCodeAt(0),"&"+h+";"]}));function a(h){for(var g="",y=0,w;(w=o.exec(h))!==null;){var x=w.index,M=h.charCodeAt(x),A=c.get(M);A?(g+=h.substring(y,x)+A,y=x+1):(g+=h.substring(y,x)+"&#x"+n.getCodePoint(h,x).toString(16)+";",y=o.lastIndex+=+((M&65408)===55296))}return g+h.substr(y)}Jt.encodeXML=a;function s(h){return n.encodeHTMLTrieRe(r,h)}Jt.encodeHTML=s;function u(h){return n.encodeHTMLTrieRe(o,h)}Jt.encodeNonAsciiHTML=u;function d(h,g){for(var y=Object.keys(h).map(function(A){return"\\"+h[A].charAt(0)}).filter(function(A){return!g||A.charCodeAt(1)<128}).sort(function(A,T){return A.charCodeAt(1)-T.charCodeAt(1)}).filter(function(A,T,j){return A!==j[T+1]}),w=0;w<y.length-1;w++){for(var x=w;x<y.length-1&&y[x].charCodeAt(1)+1===y[x+1].charCodeAt(1);)x+=1;var M=1+x-w;M<3||y.splice(w,M,y[w]+"-"+y[x])}return new RegExp("["+y.join("")+(g?"\\x80-\\uFFFF":"")+"]","g")}Jt.escape=a;function f(h){for(var g,y=0,w="";g=l.exec(h);)y!==g.index&&(w+=h.substring(y,g.index)),w+=c.get(g[0].charCodeAt(0)),y=g.index+1;return w+h.substring(y)}return Jt.escapeUTF8=f,Jt}var fo;function sz(){return fo||(fo=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.DecodingMode=t.EntityLevel=void 0;var e=ao(),n=ho(),i;(function(d){d[d.XML=0]="XML",d[d.HTML=1]="HTML"})(i=t.EntityLevel||(t.EntityLevel={}));var r;(function(d){d[d.Legacy=0]="Legacy",d[d.Strict=1]="Strict"})(r=t.DecodingMode||(t.DecodingMode={}));var o;(function(d){d[d.UTF8=0]="UTF8",d[d.ASCII=1]="ASCII",d[d.Extensive=2]="Extensive"})(o=t.EncodingMode||(t.EncodingMode={}));function l(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.level===i.HTML?h.mode===r.Strict?e.decodeHTMLStrict(d):e.decodeHTML(d):e.decodeXML(d)}t.decode=l;function c(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.level===i.HTML?h.mode===r.Legacy?e.decodeHTML(d):e.decodeHTMLStrict(d):e.decodeXML(d)}t.decodeStrict=c;function a(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.mode===o.UTF8?n.escapeUTF8(d):h.level===i.HTML?h.mode===o.ASCII?n.encodeNonAsciiHTML(d):n.encodeHTML(d):n.encodeXML(d)}t.encode=a;var s=ho();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return s.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return s.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return s.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return s.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return s.encodeHTML}});var u=ao();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return u.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return u.decodeXML}})})(Jn)),Jn}var Vs=sz(),lz=92,Is="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",Rs="[A-Za-z][A-Za-z0-9-]*",az="[a-zA-Z_:][a-zA-Z0-9:._-]*",cz="[^\"'=<>`\\x00-\\x20]+",uz="'[^']*'",hz='"[^"]*"',fz="(?:"+cz+"|"+uz+"|"+hz+")",dz="(?:\\s*=\\s*"+fz+")",mz="(?:\\s+"+az+dz+"?)",Hs="<"+Rs+mz+"*\\s*/?>",Xs="</"+Rs+"\\s*[>]",gz="<!-->|<!--->|<!--[\\s\\S]*?-->",yz="[<][?][\\s\\S]*?[?][>]",vz="<![A-Za-z]+[^>]*>",pz="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",xz="(?:"+Hs+"|"+Xs+"|"+gz+"|"+yz+"|"+vz+"|"+pz+")",bz=new RegExp("^"+xz),wz=/[\\&]/,Ys="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",kz=new RegExp("\\\\"+Ys+"|"+Is,"gi"),Az='[&<>"]',mo=new RegExp(Az,"g"),Sz=function(t){return t.charCodeAt(0)===lz?t.charAt(1):Vs.decodeHTMLStrict(t)},zs=function(t){return wz.test(t)?t.replace(kz,Sz):t},Cz=function(t){try{return L9(t)}catch{return t}},Nz=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return t}},Bn=function(t){return mo.test(t)?t.replace(mo,Nz):t},Ai;function Ii(t){return Ai(t)}if(String.fromCodePoint)Ai=function(t){try{return String.fromCodePoint(t)}catch(e){if(e instanceof RangeError)return"\uFFFD";throw e}};else{var Mz=String.fromCharCode,Tz=Math.floor;Ai=function(){var t=16384,e=[],n,i,r=-1,o=arguments.length;if(!o)return"";for(var l="";++r<o;){var c=Number(arguments[r]);if(!isFinite(c)||c<0||c>1114111||Tz(c)!==c)return"\uFFFD";c<=65535?e.push(c):(c-=65536,n=(c>>10)+55296,i=c%1024+56320,e.push(n,i)),(r+1===o||e.length>t)&&(l+=Mz.apply(null,e),e.length=0)}return l}}var Cn=Cz,Si=zs,Fs=10,Ci=42,Nn=95,$z=96,Us=91,Ez=93,Gs=60,Lz=33,Ws=92,Oz=38,Ks=40,Ni=41,jz=58,Ue=39,Ge=34,Zs=Ys,_n="\\\\"+Zs,Pz=Is,Dz=bz,go=new RegExp(/^[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\p{P}\p{S}]/u),qz=new RegExp('^(?:"('+_n+`|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(`+_n+"|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\(("+_n+"|\\\\[^\\\\]|[^\\\\()\\x00])*\\))"),Bz=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,Qs=new RegExp("^"+Zs),Vz=new RegExp("^"+Pz,"i"),Iz=/`+/,Rz=/^`+/,Hz=/\.\.\./g,Xz=/--+/g,Yz=/^<([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])?)*)>/,zz=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,Fz=/^ *(?:\n *)?/,Js=/^[ \t\n\x0b\x0c\x0d]/,yo=/^\s/,Uz=/ *$/,Gz=/^ */,vo=/^ *(?:\n|$)/,Wz=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/s,Kz=/^[^\n`\[\]\\!<&*_'"]+/m,Zt=function(t){var e=new Bt("text");return e._literal=t,e},_s=function(t){return t.slice(1,t.length-1).trim().replace(/[ \t\r\n]+/g," ").toLowerCase().toUpperCase()},Zz=function(t){var e=t.exec(this.subject.slice(this.pos));return e===null?null:(this.pos+=e.index+e[0].length,e[0])},Qz=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},Jz=function(){return this.match(Fz),!0},_z=function(t){var e=this.match(Rz);if(e===null)return!1;for(var n=this.pos,i,r,o;(i=this.match(Iz))!==null;)if(i===e)return r=new Bt("code"),o=this.subject.slice(n,this.pos-e.length).replace(/\n/gm," "),o.length>0&&o.match(/[^ ]/)!==null&&o[0]==" "&&o[o.length-1]==" "?r._literal=o.slice(1,o.length-1):r._literal=o,t.appendChild(r),!0;return this.pos=n,t.appendChild(Zt(e)),!0},tF=function(t){var e=this.subject,n;return this.pos+=1,this.peek()===Fs?(this.pos+=1,n=new Bt("linebreak"),t.appendChild(n)):Qs.test(e.charAt(this.pos))?(t.appendChild(Zt(e.charAt(this.pos))),this.pos+=1):t.appendChild(Zt("\\")),!0},eF=function(t){var e,n,i;return(e=this.match(Yz))?(n=e.slice(1,e.length-1),i=new Bt("link"),i._destination=Cn("mailto:"+n),i._title="",i.appendChild(Zt(n)),t.appendChild(i),!0):(e=this.match(zz))?(n=e.slice(1,e.length-1),i=new Bt("link"),i._destination=Cn(n),i._title="",i.appendChild(Zt(n)),t.appendChild(i),!0):!1},nF=function(t){var e=this.match(Dz);if(e===null)return!1;var n=new Bt("html_inline");return n._literal=e,t.appendChild(n),!0},iF=function(t){var e=0,n,i,r,o=this.pos,l,c,a,s,u,d,f,h;if(t===Ue||t===Ge)e++,this.pos++;else for(;this.peek()===t;)e++,this.pos++;return e===0?null:(n=o===0?`
|
|
4
4
|
`:this.subject.charAt(o-1),r=this.peek(),r===-1?i=`
|
|
5
|
-
`:i=
|
|
6
|
-
`},
|
|
7
|
-
`);i.sourcepos[0][0]+=s.length-1}c&&
|
|
8
|
-
`),r=n.slice(0,i),o=n.slice(i+1);e.info=
|
|
5
|
+
`:i=Ii(r),u=yo.test(i),d=go.test(i),f=yo.test(n),h=go.test(n),l=!u&&(!d||f||h),c=!f&&(!h||u||d),t===Nn?(a=l&&(!c||h),s=c&&(!l||d)):t===Ue||t===Ge?(a=l&&!c,s=c):(a=l,s=c),this.pos=o,{numdelims:e,can_open:a,can_close:s})},rF=function(t,e){var n=this.scanDelims(t);if(!n)return!1;var i=n.numdelims,r=this.pos,o;this.pos+=i,t===Ue?o="\u2019":t===Ge?o="\u201C":o=this.subject.slice(r,this.pos);var l=Zt(o);return e.appendChild(l),(n.can_open||n.can_close)&&(this.options.smart||t!==Ue&&t!==Ge)&&(this.delimiters={cc:t,numdelims:i,origdelims:i,node:l,previous:this.delimiters,next:null,can_open:n.can_open,can_close:n.can_close},this.delimiters.previous!==null&&(this.delimiters.previous.next=this.delimiters)),!0},oF=function(t){t.previous!==null&&(t.previous.next=t.next),t.next===null?this.delimiters=t.previous:t.next.previous=t.previous},sF=function(t,e){t.next!==e&&(t.next=e,e.previous=t)},lF=function(t){for(var e,n,i,r,o,l,c,a,s,u,d=[],f,h=!1,g=0;g<14;g++)d[g]=t;for(n=this.delimiters;n!==null&&n.previous!==t;)n=n.previous;for(;n!==null;){var y=n.cc;if(!n.can_close)n=n.next;else{switch(e=n.previous,u=!1,y){case Ue:f=0;break;case Ge:f=1;break;case Nn:f=2+(n.can_open?3:0)+n.origdelims%3;break;case Ci:f=8+(n.can_open?3:0)+n.origdelims%3;break}for(;e!==null&&e!==t&&e!==d[f];){if(h=(n.can_open||e.can_close)&&n.origdelims%3!==0&&(e.origdelims+n.origdelims)%3===0,e.cc===n.cc&&e.can_open&&!h){u=!0;break}e=e.previous}if(i=n,y===Ci||y===Nn)if(!u)n=n.next;else{c=n.numdelims>=2&&e.numdelims>=2?2:1,r=e.node,o=n.node,e.numdelims-=c,n.numdelims-=c,r._literal=r._literal.slice(0,r._literal.length-c),o._literal=o._literal.slice(0,o._literal.length-c);var w=new Bt(c===1?"emph":"strong");for(a=r._next;a&&a!==o;)s=a._next,a.unlink(),w.appendChild(a),a=s;r.insertAfter(w),sF(e,n),e.numdelims===0&&(r.unlink(),this.removeDelimiter(e)),n.numdelims===0&&(o.unlink(),l=n.next,this.removeDelimiter(n),n=l)}else y===Ue?(n.node._literal="\u2019",u&&(e.node._literal="\u2018"),n=n.next):y===Ge&&(n.node._literal="\u201D",u&&(e.node.literal="\u201C"),n=n.next);u||(d[f]=i.previous,i.can_open||this.removeDelimiter(i))}}for(;this.delimiters!==null&&this.delimiters!==t;)this.removeDelimiter(this.delimiters)},aF=function(){var t=this.match(qz);return t===null?null:Si(t.slice(1,-1))},cF=function(){var t=this.match(Bz);if(t===null){if(this.peek()===Gs)return null;for(var e=this.pos,n=0,i;(i=this.peek())!==-1;)if(i===Ws&&Qs.test(this.subject.charAt(this.pos+1)))this.pos+=1,this.peek()!==-1&&(this.pos+=1);else if(i===Ks)this.pos+=1,n+=1;else if(i===Ni){if(n<1)break;this.pos+=1,n-=1}else{if(Js.exec(Ii(i))!==null)break;this.pos+=1}return this.pos===e&&i!==Ni||n!==0?null:(t=this.subject.slice(e,this.pos),Cn(Si(t)))}else return Cn(Si(t.slice(1,-1)))},uF=function(){var t=this.match(Wz);return t===null||t.length>1001?0:t.length},hF=function(t){var e=this.pos;this.pos+=1;var n=Zt("[");return t.appendChild(n),this.addBracket(n,e,!1),!0},fF=function(t){var e=this.pos;if(this.pos+=1,this.peek()===Us){this.pos+=1;var n=Zt("![");t.appendChild(n),this.addBracket(n,e+1,!0)}else t.appendChild(Zt("!"));return!0},dF=function(t){var e,n,i,r,o=!1,l,c;if(this.pos+=1,e=this.pos,c=this.brackets,c===null)return t.appendChild(Zt("]")),!0;if(!c.active)return t.appendChild(Zt("]")),this.removeBracket(),!0;n=c.image;var a=this.pos;if(this.peek()===Ks&&(this.pos++,this.spnl()&&(i=this.parseLinkDestination())!==null&&this.spnl()&&(Js.test(this.subject.charAt(this.pos-1))&&(r=this.parseLinkTitle())||!0)&&this.spnl()&&this.peek()===Ni?(this.pos+=1,o=!0):this.pos=a),!o){var s=this.pos,u=this.parseLinkLabel();if(u>2?l=this.subject.slice(s,s+u):c.bracketAfter||(l=this.subject.slice(c.index,e)),u===0&&(this.pos=a),l){var d=this.refmap[_s(l)];d&&(i=d.destination,r=d.title,o=!0)}}if(o){var f=new Bt(n?"image":"link");f._destination=i,f._title=r||"";var h,g;for(h=c.node._next;h;)g=h._next,h.unlink(),f.appendChild(h),h=g;if(t.appendChild(f),this.processEmphasis(c.previousDelimiter),this.removeBracket(),c.node.unlink(),!n)for(c=this.brackets;c!==null;)c.image||(c.active=!1),c=c.previous;return!0}else return this.removeBracket(),this.pos=e,t.appendChild(Zt("]")),!0},mF=function(t,e,n){this.brackets!==null&&(this.brackets.bracketAfter=!0),this.brackets={node:t,previous:this.brackets,previousDelimiter:this.delimiters,index:e,image:n,active:!0}},gF=function(){this.brackets=this.brackets.previous},yF=function(t){var e;return(e=this.match(Vz))?(t.appendChild(Zt(Vs.decodeHTMLStrict(e))),!0):!1},vF=function(t){var e;return(e=this.match(Kz))?(this.options.smart?t.appendChild(Zt(e.replace(Hz,"\u2026").replace(Xz,function(n){var i=0,r=0;return n.length%3===0?r=n.length/3:n.length%2===0?i=n.length/2:n.length%3===2?(i=1,r=(n.length-2)/3):(i=2,r=(n.length-4)/3),"\u2014".repeat(r)+"\u2013".repeat(i)}))):t.appendChild(Zt(e)),!0):!1},pF=function(t){this.pos+=1;var e=t._lastChild;if(e&&e.type==="text"&&e._literal[e._literal.length-1]===" "){var n=e._literal[e._literal.length-2]===" ";e._literal=e._literal.replace(Uz,""),t.appendChild(new Bt(n?"linebreak":"softbreak"))}else t.appendChild(new Bt("softbreak"));return this.match(Gz),!0},xF=function(t,e){this.subject=t,this.pos=0;var n,i,r,o,l=this.pos;if(o=this.parseLinkLabel(),o===0)return 0;if(n=this.subject.slice(0,o),this.peek()===jz)this.pos++;else return this.pos=l,0;if(this.spnl(),i=this.parseLinkDestination(),i===null)return this.pos=l,0;var c=this.pos;this.spnl(),this.pos!==c&&(r=this.parseLinkTitle()),r===null&&(this.pos=c);var a=!0;if(this.match(vo)===null&&(r===null?a=!1:(r=null,this.pos=c,a=this.match(vo)!==null)),!a)return this.pos=l,0;var s=_s(n);return s===""?(this.pos=l,0):(e[s]||(e[s]={destination:i,title:r===null?"":r}),this.pos-l)},bF=function(t){var e=!1,n=this.peek();if(n===-1)return!1;switch(n){case Fs:e=this.parseNewline(t);break;case Ws:e=this.parseBackslash(t);break;case $z:e=this.parseBackticks(t);break;case Ci:case Nn:e=this.handleDelim(n,t);break;case Ue:case Ge:e=this.options.smart&&this.handleDelim(n,t);break;case Us:e=this.parseOpenBracket(t);break;case Lz:e=this.parseBang(t);break;case Ez:e=this.parseCloseBracket(t);break;case Gs:e=this.parseAutolink(t)||this.parseHtmlTag(t);break;case Oz:e=this.parseEntity(t);break;default:e=this.parseString(t);break}return e||(this.pos+=1,t.appendChild(Zt(Ii(n)))),!0},wF=function(t){for(this.subject=t._string_content.trim(),this.pos=0,this.delimiters=null,this.brackets=null;this.parseInline(t););t._string_content=null,this.processEmphasis(null)};function kF(t){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:Zz,peek:Qz,spnl:Jz,parseBackticks:_z,parseBackslash:tF,parseAutolink:eF,parseHtmlTag:nF,scanDelims:iF,handleDelim:rF,parseLinkTitle:aF,parseLinkDestination:cF,parseLinkLabel:uF,parseOpenBracket:hF,parseBang:fF,parseCloseBracket:dF,addBracket:mF,removeBracket:gF,parseEntity:yF,parseString:vF,parseNewline:pF,parseReference:xF,parseInline:bF,processEmphasis:lF,removeDelimiter:oF,options:t||{},parse:wF}}var Mn=4,tl=9,AF=10,el=62,SF=60,nl=32,il=91,CF=[/./,/^<(?:script|pre|textarea|style)(?:\s|>|$)/i,/^<!--/,/^<[?]/,/^<![A-Za-z]/,/^<!\[CDATA\[/,/^<[/]?(?: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[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|search|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,new RegExp("^(?:"+Hs+"|"+Xs+")\\s*$","i")],NF=[/./,/<\/(?:script|pre|textarea|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],MF=/^(?:\*[ \t]*){3,}$|^(?:_[ \t]*){3,}$|^(?:-[ \t]*){3,}$/,TF=/^[#`~*+_=<>0-9-]/,rl=/[^ \t\f\v\r\n]/,$F=/^[*+-]/,EF=/^(\d{1,9})([.)])/,LF=/^#{1,6}(?:[ \t]+|$)/,OF=/^`{3,}(?!.*`)|^~{3,}/,jF=/^(?:`{3,}|~{3,})(?=[ \t]*$)/,PF=/^(?:=+|-+)[ \t]*$/,DF=/\r\n|\n|\r/,qF=function(t){return!rl.test(t)},j1=function(t){return t===nl||t===tl},re=function(t,e){return e<t.length?t.charCodeAt(e):-1},po=function(t){return t.next&&t.sourcepos[1][0]!==t.next.sourcepos[0][0]-1},BF=function(){if(this.partiallyConsumedTab){this.offset+=1;var t=4-this.column%4;this.tip._string_content+=" ".repeat(t)}this.tip._string_content+=this.currentLine.slice(this.offset)+`
|
|
6
|
+
`},VF=function(t,e){for(;!this.blocks[this.tip.type].canContain(t);)this.finalize(this.tip,this.lineNumber-1);var n=e+1,i=new Bt(t,[[this.lineNumber,n],[0,0]]);return i._string_content="",this.tip.appendChild(i),this.tip=i,i},IF=function(t,e){var n=t.currentLine.slice(t.nextNonspace),i,r,o,l,c={type:null,tight:!0,bulletChar:null,start:null,delimiter:null,padding:null,markerOffset:t.indent};if(t.indent>=4)return null;if(i=n.match($F))c.type="bullet",c.bulletChar=i[0][0];else if((i=n.match(EF))&&(e.type!=="paragraph"||i[1]==1))c.type="ordered",c.start=parseInt(i[1]),c.delimiter=i[2];else return null;if(r=re(t.currentLine,t.nextNonspace+i[0].length),!(r===-1||r===tl||r===nl)||e.type==="paragraph"&&!t.currentLine.slice(t.nextNonspace+i[0].length).match(rl))return null;t.advanceNextNonspace(),t.advanceOffset(i[0].length,!0),o=t.column,l=t.offset;do t.advanceOffset(1,!0),r=re(t.currentLine,t.offset);while(t.column-o<5&&j1(r));var a=re(t.currentLine,t.offset)===-1,s=t.column-o;return s>=5||s<1||a?(c.padding=i[0].length+1,t.column=o,t.offset=l,j1(re(t.currentLine,t.offset))&&t.advanceOffset(1,!0)):c.padding=i[0].length+s,c},RF=function(t,e){return t.type===e.type&&t.delimiter===e.delimiter&&t.bulletChar===e.bulletChar},HF=function(){if(!this.allClosed){for(;this.oldtip!==this.lastMatchedContainer;){var t=this.oldtip._parent;this.finalize(this.oldtip,this.lineNumber-1),this.oldtip=t}this.allClosed=!0}},XF=function(t,e){for(var n,i,r=e.walker(),o=[];n=r.next();)if(i=n.node,n.entering&&i.type==="paragraph"){for(var l,c=!1;re(i._string_content,0)===il&&(l=t.inlineParser.parseReference(i._string_content,t.refmap));){const a=i._string_content.slice(0,l);i._string_content=i._string_content.slice(l),c=!0;const s=a.split(`
|
|
7
|
+
`);i.sourcepos[0][0]+=s.length-1}c&&qF(i._string_content)&&o.push(i)}for(i of o)i.unlink()},ol={document:{continue:function(){return 0},finalize:function(t,e){XF(t,e)},canContain:function(t){return t!=="item"},acceptsLines:!1},list:{continue:function(){return 0},finalize:function(t,e){for(var n=e._firstChild;n;){if(n._next&&po(n)){e._listData.tight=!1;break}for(var i=n._firstChild;i;){if(i._next&&po(i)){e._listData.tight=!1;break}i=i._next}n=n._next}e.sourcepos[1]=e._lastChild.sourcepos[1]},canContain:function(t){return t==="item"},acceptsLines:!1},block_quote:{continue:function(t){var e=t.currentLine;if(!t.indented&&re(e,t.nextNonspace)===el)t.advanceNextNonspace(),t.advanceOffset(1,!1),j1(re(e,t.offset))&&t.advanceOffset(1,!0);else return 1;return 0},finalize:function(){},canContain:function(t){return t!=="item"},acceptsLines:!1},item:{continue:function(t,e){if(t.blank){if(e._firstChild==null)return 1;t.advanceNextNonspace()}else if(t.indent>=e._listData.markerOffset+e._listData.padding)t.advanceOffset(e._listData.markerOffset+e._listData.padding,!0);else return 1;return 0},finalize:function(t,e){e._lastChild?e.sourcepos[1]=e._lastChild.sourcepos[1]:(e.sourcepos[1][0]=e.sourcepos[0][0],e.sourcepos[1][1]=e._listData.markerOffset+e._listData.padding)},canContain:function(t){return t!=="item"},acceptsLines:!1},heading:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},thematic_break:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},code_block:{continue:function(t,e){var n=t.currentLine,i=t.indent;if(e._isFenced){var r=i<=3&&n.charAt(t.nextNonspace)===e._fenceChar&&n.slice(t.nextNonspace).match(jF);if(r&&r[0].length>=e._fenceLength)return t.lastLineLength=t.offset+i+r[0].length,t.finalize(e,t.lineNumber),2;for(var o=e._fenceOffset;o>0&&j1(re(n,t.offset));)t.advanceOffset(1,!0),o--}else if(i>=Mn)t.advanceOffset(Mn,!0);else if(t.blank)t.advanceNextNonspace();else return 1;return 0},finalize:function(t,e){if(e._isFenced){var n=e._string_content,i=n.indexOf(`
|
|
8
|
+
`),r=n.slice(0,i),o=n.slice(i+1);e.info=zs(r.trim()),e._literal=o}else{for(var l=e._string_content.split(`
|
|
9
9
|
`);/^[ \t]*$/.test(l[l.length-1]);)l.pop();e._literal=l.join(`
|
|
10
10
|
`)+`
|
|
11
|
-
`,e.sourcepos[1][0]=e.sourcepos[0][0]+l.length-1,e.sourcepos[1][1]=e.sourcepos[0][1]+l[l.length-1].length-1}e._string_content=null},canContain:function(){return!1},acceptsLines:!0},html_block:{continue:function(t,e){return t.blank&&(e._htmlBlockType===6||e._htmlBlockType===7)?1:0},finalize:function(t,e){e._literal=e._string_content.replace(/\n$/,""),e._string_content=null},canContain:function(){return!1},acceptsLines:!0},paragraph:{continue:function(t){return t.blank?1:0},finalize:function(){},canContain:function(){return!1},acceptsLines:!0}},
|
|
12
|
-
`||i==="\r"||i==="",this.nextNonspace=e,this.nextNonspaceColumn=n,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=
|
|
13
|
-
`;n=e.next();)i=n.node.type,this[i]&&this[i](n.node,n.entering);return this.buffer}function
|
|
11
|
+
`,e.sourcepos[1][0]=e.sourcepos[0][0]+l.length-1,e.sourcepos[1][1]=e.sourcepos[0][1]+l[l.length-1].length-1}e._string_content=null},canContain:function(){return!1},acceptsLines:!0},html_block:{continue:function(t,e){return t.blank&&(e._htmlBlockType===6||e._htmlBlockType===7)?1:0},finalize:function(t,e){e._literal=e._string_content.replace(/\n$/,""),e._string_content=null},canContain:function(){return!1},acceptsLines:!0},paragraph:{continue:function(t){return t.blank?1:0},finalize:function(){},canContain:function(){return!1},acceptsLines:!0}},YF=[function(t){return!t.indented&&re(t.currentLine,t.nextNonspace)===el?(t.advanceNextNonspace(),t.advanceOffset(1,!1),j1(re(t.currentLine,t.offset))&&t.advanceOffset(1,!0),t.closeUnmatchedBlocks(),t.addChild("block_quote",t.nextNonspace),1):0},function(t){var e;if(!t.indented&&(e=t.currentLine.slice(t.nextNonspace).match(LF))){t.advanceNextNonspace(),t.advanceOffset(e[0].length,!1),t.closeUnmatchedBlocks();var n=t.addChild("heading",t.nextNonspace);return n.level=e[0].trim().length,n._string_content=t.currentLine.slice(t.offset).replace(/^[ \t]*#+[ \t]*$/,"").replace(/[ \t]+#+[ \t]*$/,""),t.advanceOffset(t.currentLine.length-t.offset),2}else return 0},function(t){var e;if(!t.indented&&(e=t.currentLine.slice(t.nextNonspace).match(OF))){var n=e[0].length;t.closeUnmatchedBlocks();var i=t.addChild("code_block",t.nextNonspace);return i._isFenced=!0,i._fenceLength=n,i._fenceChar=e[0][0],i._fenceOffset=t.indent,t.advanceNextNonspace(),t.advanceOffset(n,!1),2}else return 0},function(t,e){if(!t.indented&&re(t.currentLine,t.nextNonspace)===SF){var n=t.currentLine.slice(t.nextNonspace),i;for(i=1;i<=7;i++)if(CF[i].test(n)&&(i<7||e.type!=="paragraph"&&!(!t.allClosed&&!t.blank&&t.tip.type==="paragraph"))){t.closeUnmatchedBlocks();var r=t.addChild("html_block",t.offset);return r._htmlBlockType=i,2}}return 0},function(t,e){var n;if(!t.indented&&e.type==="paragraph"&&(n=t.currentLine.slice(t.nextNonspace).match(PF))){t.closeUnmatchedBlocks();for(var i;re(e._string_content,0)===il&&(i=t.inlineParser.parseReference(e._string_content,t.refmap));)e._string_content=e._string_content.slice(i);if(e._string_content.length>0){var r=new Bt("heading",e.sourcepos);return r.level=n[0][0]==="="?1:2,r._string_content=e._string_content,e.insertAfter(r),e.unlink(),t.tip=r,t.advanceOffset(t.currentLine.length-t.offset,!1),2}else return 0}else return 0},function(t){return!t.indented&&MF.test(t.currentLine.slice(t.nextNonspace))?(t.closeUnmatchedBlocks(),t.addChild("thematic_break",t.nextNonspace),t.advanceOffset(t.currentLine.length-t.offset,!1),2):0},function(t,e){var n;return(!t.indented||e.type==="list")&&(n=IF(t,e))?(t.closeUnmatchedBlocks(),(t.tip.type!=="list"||!RF(e._listData,n))&&(e=t.addChild("list",t.nextNonspace),e._listData=n),e=t.addChild("item",t.nextNonspace),e._listData=n,1):0},function(t){return t.indented&&t.tip.type!=="paragraph"&&!t.blank?(t.advanceOffset(Mn,!0),t.closeUnmatchedBlocks(),t.addChild("code_block",t.offset),2):0}],zF=function(t,e){for(var n=this.currentLine,i,r,o;t>0&&(o=n[this.offset]);)o===" "?(i=4-this.column%4,e?(this.partiallyConsumedTab=i>t,r=i>t?t:i,this.column+=r,this.offset+=this.partiallyConsumedTab?0:1,t-=r):(this.partiallyConsumedTab=!1,this.column+=i,this.offset+=1,t-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,t-=1)},FF=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},UF=function(){for(var t=this.currentLine,e=this.offset,n=this.column,i;(i=t.charAt(e))!=="";)if(i===" ")e++,n++;else if(i===" ")e++,n+=4-n%4;else break;this.blank=i===`
|
|
12
|
+
`||i==="\r"||i==="",this.nextNonspace=e,this.nextNonspaceColumn=n,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=Mn},GF=function(t){var e=!0,n,i=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,t.indexOf("\0")!==-1&&(t=t.replace(/\0/g,"\uFFFD")),this.currentLine=t;for(var r;(r=i._lastChild)&&r._open;){switch(i=r,this.findNextNonspace(),this.blocks[i.type].continue(this,i)){case 0:break;case 1:e=!1;break;case 2:return;default:throw"continue returned illegal value, must be 0, 1, or 2"}if(!e){i=i._parent;break}}this.allClosed=i===this.oldtip,this.lastMatchedContainer=i;for(var o=i.type!=="paragraph"&&ol[i.type].acceptsLines,l=this.blockStarts,c=l.length;!o;){if(this.findNextNonspace(),!this.indented&&!TF.test(t.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var a=0;a<c;){var s=l[a](this,i);if(s===1){i=this.tip;break}else if(s===2){i=this.tip,o=!0;break}else a++}if(a===c){this.advanceNextNonspace();break}}!this.allClosed&&!this.blank&&this.tip.type==="paragraph"?this.addLine():(this.closeUnmatchedBlocks(),n=i.type,this.blocks[n].acceptsLines?(this.addLine(),n==="html_block"&&i._htmlBlockType>=1&&i._htmlBlockType<=5&&NF[i._htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=t.length,this.finalize(i,this.lineNumber))):this.offset<t.length&&!this.blank&&(i=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine())),this.lastLineLength=t.length},WF=function(t,e){var n=t._parent;t._open=!1,t.sourcepos[1]=[e,this.lastLineLength],this.blocks[t.type].finalize(this,t),this.tip=n},KF=function(t){var e,n,i,r=t.walker();for(this.inlineParser.refmap=this.refmap,this.inlineParser.options=this.options;n=r.next();)e=n.node,i=e.type,!n.entering&&(i==="paragraph"||i==="heading")&&this.inlineParser.parse(e)},sl=function(){var t=new Bt("document",[[1,1],[0,0]]);return t},ZF=function(t){this.doc=new sl,this.tip=this.doc,this.refmap={},this.lineNumber=0,this.lastLineLength=0,this.offset=0,this.column=0,this.lastMatchedContainer=this.doc,this.currentLine="",this.options.time&&console.time("preparing input");var e=t.split(DF),n=e.length;t.charCodeAt(t.length-1)===AF&&(n-=1),this.options.time&&console.timeEnd("preparing input"),this.options.time&&console.time("block parsing");for(var i=0;i<n;i++)this.incorporateLine(e[i]);for(;this.tip;)this.finalize(this.tip,n);return this.options.time&&console.timeEnd("block parsing"),this.options.time&&console.time("inline parsing"),this.processInlines(this.doc),this.options.time&&console.timeEnd("inline parsing"),this.doc};function QF(t){return{doc:new sl,blocks:ol,blockStarts:YF,tip:this.doc,oldtip:this.doc,currentLine:"",lineNumber:0,offset:0,column:0,nextNonspace:0,nextNonspaceColumn:0,indent:0,indented:!1,blank:!1,partiallyConsumedTab:!1,allClosed:!0,lastMatchedContainer:this.doc,refmap:{},lastLineLength:0,inlineParser:new kF(t),findNextNonspace:UF,advanceOffset:zF,advanceNextNonspace:FF,addLine:BF,addChild:VF,incorporateLine:GF,finalize:WF,processInlines:KF,closeUnmatchedBlocks:HF,parse:ZF,options:t||{}}}function Ke(){}function JF(t){var e=t.walker(),n,i;for(this.buffer="",this.lastOut=`
|
|
13
|
+
`;n=e.next();)i=n.node.type,this[i]&&this[i](n.node,n.entering);return this.buffer}function _F(t){this.buffer+=t,this.lastOut=t}function tU(){this.lastOut!==`
|
|
14
14
|
`&&this.lit(`
|
|
15
|
-
`)}function
|
|
16
|
-
`,this.esc=t.esc||
|
|
17
|
-
`,this.options=t}function
|
|
18
|
-
`,this.indentLevel=0,this.indent=" ",this.esc=t.esc||
|
|
15
|
+
`)}function eU(t){this.lit(t)}function nU(t){return t}Ke.prototype.render=JF;Ke.prototype.out=eU;Ke.prototype.lit=_F;Ke.prototype.cr=tU;Ke.prototype.esc=nU;var iU=/^javascript:|vbscript:|file:|data:/i,rU=/^data:image\/(?:png|gif|jpeg|webp)/i,ll=function(t){return iU.test(t)&&!rU.test(t)};function oU(t,e,n){if(!(this.disableTags>0)){if(this.buffer+="<"+t,e&&e.length>0)for(var i=0,r;(r=e[i])!==void 0;)this.buffer+=" "+r[0]+'="'+r[1]+'"',i++;n&&(this.buffer+=" /"),this.buffer+=">",this.lastOut=">"}}function Mt(t){t=t||{},t.softbreak=t.softbreak||`
|
|
16
|
+
`,this.esc=t.esc||Bn,this.disableTags=0,this.lastOut=`
|
|
17
|
+
`,this.options=t}function sU(t){this.out(t.literal)}function lU(){this.lit(this.options.softbreak)}function aU(){this.tag("br",[],!0),this.cr()}function cU(t,e){var n=this.attrs(t);e?(this.options.safe&&ll(t.destination)||n.push(["href",this.esc(t.destination)]),t.title&&n.push(["title",this.esc(t.title)]),this.tag("a",n)):this.tag("/a")}function uU(t,e){e?(this.disableTags===0&&(this.options.safe&&ll(t.destination)?this.lit('<img src="" alt="'):this.lit('<img src="'+this.esc(t.destination)+'" alt="')),this.disableTags+=1):(this.disableTags-=1,this.disableTags===0&&(t.title&&this.lit('" title="'+this.esc(t.title)),this.lit('" />')))}function hU(t,e){this.tag(e?"em":"/em")}function fU(t,e){this.tag(e?"strong":"/strong")}function dU(t,e){var n=t.parent.parent,i=this.attrs(t);n!==null&&n.type==="list"&&n.listTight||(e?(this.cr(),this.tag("p",i)):(this.tag("/p"),this.cr()))}function mU(t,e){var n="h"+t.level,i=this.attrs(t);e?(this.cr(),this.tag(n,i)):(this.tag("/"+n),this.cr())}function gU(t){this.tag("code"),this.out(t.literal),this.tag("/code")}function yU(t){var e=t.info?t.info.split(/\s+/):[],n=this.attrs(t);if(e.length>0&&e[0].length>0){var i=this.esc(e[0]);/^language-/.exec(i)||(i="language-"+i),n.push(["class",i])}this.cr(),this.tag("pre"),this.tag("code",n),this.out(t.literal),this.tag("/code"),this.tag("/pre"),this.cr()}function vU(t){var e=this.attrs(t);this.cr(),this.tag("hr",e,!0),this.cr()}function pU(t,e){var n=this.attrs(t);e?(this.cr(),this.tag("blockquote",n),this.cr()):(this.cr(),this.tag("/blockquote"),this.cr())}function xU(t,e){var n=t.listType==="bullet"?"ul":"ol",i=this.attrs(t);if(e){var r=t.listStart;r!==null&&r!==1&&i.push(["start",r.toString()]),this.cr(),this.tag(n,i),this.cr()}else this.cr(),this.tag("/"+n),this.cr()}function bU(t,e){var n=this.attrs(t);e?this.tag("li",n):(this.tag("/li"),this.cr())}function wU(t){this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal)}function kU(t){this.cr(),this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal),this.cr()}function AU(t,e){e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit)}function SU(t,e){this.cr(),e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit),this.cr()}function CU(t){this.lit(this.esc(t))}function NU(t){var e=[];if(this.options.sourcepos){var n=t.sourcepos;n&&e.push(["data-sourcepos",String(n[0][0])+":"+String(n[0][1])+"-"+String(n[1][0])+":"+String(n[1][1])])}return e}Mt.prototype=Object.create(Ke.prototype);Mt.prototype.text=sU;Mt.prototype.html_inline=wU;Mt.prototype.html_block=kU;Mt.prototype.softbreak=lU;Mt.prototype.linebreak=aU;Mt.prototype.link=cU;Mt.prototype.image=uU;Mt.prototype.emph=hU;Mt.prototype.strong=fU;Mt.prototype.paragraph=dU;Mt.prototype.heading=mU;Mt.prototype.code=gU;Mt.prototype.code_block=yU;Mt.prototype.thematic_break=vU;Mt.prototype.block_quote=pU;Mt.prototype.list=xU;Mt.prototype.item=bU;Mt.prototype.custom_inline=AU;Mt.prototype.custom_block=SU;Mt.prototype.esc=Bn;Mt.prototype.out=CU;Mt.prototype.tag=oU;Mt.prototype.attrs=NU;var MU=/\<[^>]*\>/;function TU(t){return t.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}function v1(t){t=t||{},this.disableTags=0,this.lastOut=`
|
|
18
|
+
`,this.indentLevel=0,this.indent=" ",this.esc=t.esc||Bn,this.options=t}function $U(t){this.buffer="";var e,n,i=t.walker(),r,o,l,c,a,s,u=this.options;for(u.time&&console.time("rendering"),this.buffer+=`<?xml version="1.0" encoding="UTF-8"?>
|
|
19
19
|
`,this.buffer+=`<!DOCTYPE document SYSTEM "CommonMark.dtd">
|
|
20
|
-
`;r=i.next();)if(l=r.entering,o=r.node,s=o.type,c=o.isContainer,a=s==="thematic_break"||s==="linebreak"||s==="softbreak",n=
|
|
21
|
-
`,this.buffer}function
|
|
20
|
+
`;r=i.next();)if(l=r.entering,o=r.node,s=o.type,c=o.isContainer,a=s==="thematic_break"||s==="linebreak"||s==="softbreak",n=TU(s),l){switch(e=[],s){case"document":e.push(["xmlns","http://commonmark.org/xml/1.0"]);break;case"list":o.listType!==null&&e.push(["type",o.listType.toLowerCase()]),o.listStart!==null&&e.push(["start",String(o.listStart)]),o.listTight!==null&&e.push(["tight",o.listTight?"true":"false"]);var d=o.listDelimiter;if(d!==null){var f="";d==="."?f="period":f="paren",e.push(["delimiter",f])}break;case"code_block":o.info&&e.push(["info",o.info]);break;case"heading":e.push(["level",String(o.level)]);break;case"link":case"image":e.push(["destination",o.destination]),e.push(["title",o.title]);break;case"custom_inline":case"custom_block":e.push(["on_enter",o.onEnter]),e.push(["on_exit",o.onExit]);break}if(u.sourcepos){var h=o.sourcepos;h&&e.push(["sourcepos",String(h[0][0])+":"+String(h[0][1])+"-"+String(h[1][0])+":"+String(h[1][1])])}if(this.cr(),this.out(this.tag(n,e,a)),c)this.indentLevel+=1;else if(!c&&!a){var g=o.literal;g&&this.out(this.esc(g)),this.out(this.tag("/"+n))}}else this.indentLevel-=1,this.cr(),this.out(this.tag("/"+n));return u.time&&console.timeEnd("rendering"),this.buffer+=`
|
|
21
|
+
`,this.buffer}function EU(t){this.disableTags>0?this.buffer+=t.replace(MU,""):this.buffer+=t,this.lastOut=t}function LU(){if(this.lastOut!==`
|
|
22
22
|
`){this.buffer+=`
|
|
23
23
|
`,this.lastOut=`
|
|
24
|
-
`;for(var t=this.indentLevel;t>0;t--)this.buffer+=this.indent}}function
|
|
25
|
-
`}),m=!0;else if(h==="html_inline"){const v=d;if(v.includes("color=")){const C=v.match(/color=(['"])(.*?)\1/i)?.[2]??v.match(/color=(\S*)/)?.[1];C&&a.push({fill:C})}else v.includes("</font>")?a.pop():v.includes("<sup>")?(u-=.4*w,s.push(w*.7)):v.includes("</sup>")?(u+=.4*s.at(-1),s.pop()):v.includes("<sub>")?(u+=.25*w,s.push(w*.7)):v.includes("</sub>")&&(u-=.25*s.at(-1),s.pop())}}else["strong","emph"].includes(h)&&a.pop()}return c});return(l,c)=>(O(),V("text",K({ref_key:"ele",ref:n},r.value,{"text-anchor":t.textAnchor,"font-size":(t.fontSize??t.size*4)||null}),[t.title?(O(),V("title",yF,Vt(t.title),1)):Lt("",!0),c[0]||(c[0]=dt()),(O(!0),V(lt,null,ut(o.value,a=>(O(),V("tspan",K({ref_for:!0},a.vbind),Vt(a.text),17))),256))],16,gF))}},xF=["transform"],vF=["x2"],pF={class:"vvplot-interactive",fill:"transparent"},bF=["width","cursor"],wF={key:0,class:"vvplot-interactive",fill:"transparent"},kF=["x"],AF={__name:"CoreAxisH",props:{coord:String,ticks:{type:Array,default:()=>[]},title:String,coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Array,default:()=>[]},position:null,activeTransform:Object,transition:String},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick","move","zoom","rescale","nudge","rangechange","update:transition"],setup(t,{emit:e}){const n=X(()=>t.layout.width+t.layout.l+t.layout.r),i=X(()=>t.layout.height+t.layout.t+t.layout.b),r=_1("rangePreview"),o=X(()=>{let g=0,p={bottom:"0%",center:"50%",top:"100%"}[t.position]??t.position;return typeof p=="string"&&p.endsWith("%")?g=i.value*(1-p.slice(0,-1)/100):g=t.activeTransform.translateV+t.coord2pos({v:+p}).v*t.activeTransform.scaleV+t.layout.top,`translate(0, ${g})`}),l=X(()=>{let g=t.theme.title_position??t.theme.tick_position,p=g,b=t.theme.title_dock_x,N=t.theme.title_dock_y,A=0;return typeof g!="number"&&(p={left:0,bottom:.5,top:.5,right:1}[g]??.5,b??={left:1,right:0}[g]??.5,N??={top:0,bottom:1}[g]??.5,A=({top:-1,bottom:1}[g]??0)*(t.theme.title_offset??0)),{x:n.value*p,y:A,angle:t.theme.title_angle,dockX:b,dockY:N,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),c=X(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),a=X(()=>{let g=[];for(let p of t.ticks){typeof p=="number"&&(p={position:p});let b=t.coord2pos({h:p.position}).h,N=b*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,A=b+t.layout.l;if(A+N<0||A+N>n.value)continue;let R=(t.theme.tick_position=="top"?-1:1)*(p.length??t.theme.tick_length);g.push({key:"line-"+p.position,y1:0,y2:R,x1:A,x2:A,stroke:p.color??t.theme.tick_color,"stroke-width":p.width??t.theme.tick_width,transform:N?`translate(${N},0)`:null,style:{transition:t.transition}})}return g.filter(p=>p.stroke!=null).sort((p,b)=>p.x1-b.x1)}),s=X(()=>{let g=(t.theme.label_position??t.theme.tick_position)=="top",p=[];for(let b of t.ticks){typeof b=="number"&&(b={position:b,label:b});let N=t.coord2pos({h:b.position}).h,A=N*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,R=N+t.layout.l;if(R+A<0||R+A>n.value)continue;let I=(g?-1:1)*(t.theme.label_offset??b.length??t.theme.tick_length),F,U,z,q;t.theme.label_anchor_x!=null||t.theme.label_anchor_y!=null?(F=t.theme.label_anchor_x??.5,U=t.theme.label_anchor_y??(g?0:1)):(z=t.theme.label_dock_x??.5,q=t.theme.label_dock_y??(g?0:1)),p.push({wrapper:{key:"text-"+b.position,transform:A?`translate(${A},0)`:null,style:{transition:t.transition}},text:{x:R,y:I,angle:t.theme.label_angle,anchorX:F,anchorY:U,dockX:z,dockY:q,text:b.label,title:b.title??b.label,fontSize:b.size??t.theme.label_size,fill:b.color??t.theme.label_color,"font-family":"sans-serif",...t.theme.label_style}})}return p.filter(b=>b.text.fill!=null).sort((b,N)=>b.text.x-N.text.x)}),u=qt("i");function m(g){let p=u.value.getBoundingClientRect(),b=p.width/u.value.getBBox().width,N=g.clientX-p.left,A=N/b-t.layout.left,R=t.layout.left+t.layout.width-N/b,I={l:A,r:R},{x:F,y:U}=t.pos2coord({h:A});return F&&(I.x=F),U&&(I.y=U),I}const f=e;let h,d=0;function y(g){let p=m(g);f("pointerdown",g,p);let b=!1;function N(q){(Math.abs(q.screenX-g.screenX)>3||Math.abs(q.screenY-g.screenY)>3)&&(b=!0,q.currentTarget.removeEventListener("pointermove",N))}g.target.addEventListener("pointermove",N,{passive:!0}),g.target.addEventListener("pointerup",function(q){if(g.target.removeEventListener("pointermove",N),!b){let H=m(q);f("singleclick",new PointerEvent("singleclick",q),H)}},{once:!0});let A=t.action.find(q=>q.action=="move");if(!A)return;g.preventDefault(),g.stopPropagation(),g.target.style.cursor="grabbing",h=clearTimeout(h);let R=0,I=t.layout.width,F=t.coord2pos(A),z=u.value.getBoundingClientRect().width/u.value.getBBox().width;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=q=>{if(d+=q.movementX,!b)return;let H=yt(-d/z,{min:F.hmin-R,max:F.hmax-I}),{xmin:Y,xmax:tt,ymin:_,ymax:G}=t.pos2coord({hmin:R+H,hmax:I+H});Object.assign(r,{xmin:Y,xmax:tt,ymin:_,ymax:G})},g.target.onpointerup=q=>{g.target.onpointermove=null,g.target.onpointerup=null,g.target.style.cursor=null,b&&(h=setTimeout(()=>{$(A,q),d=0},300))}}function w(g){let p=t.action.find(Y=>Y.action=="rescale");if(!p)return;g.preventDefault(),g.stopPropagation();let{"min-range-h":b=0}=p,N=m(g),A=t.coord2pos(N).h,R=A-N.l,I=A+N.r,F=t.pos2coord({hmin:R,hmax:I}),U={min:t.coord2pos(p).hmin,max:t.coord2pos({hmin:F.hmax-b,hmax:F.hmin+b}).hmin},q=u.value.getBoundingClientRect().width/u.value.getBBox().width,H=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=Y=>{H+=Y.movementX;let{xmin:tt,xmax:_,ymin:G,ymax:J}=t.pos2coord({hmin:yt(I-(I-R)*N.r/Math.max(N.r-H/q,1),U),hmax:I});Object.assign(r,{xmin:tt,xmax:_,ymin:G,ymax:J})},g.target.onpointerup=Y=>{g.target.onpointermove=null,g.target.onpointerup=null,$(p,Y)}}function v(g){let p=t.action.find(H=>H.action=="rescale");if(!p)return;g.preventDefault(),g.stopPropagation();let{"min-range-h":b=0}=p,N=m(g),A=t.coord2pos(N).h,R=A-N.l,I=A+N.r,F=t.pos2coord({hmin:R,hmax:I}),U={min:t.coord2pos({hmin:F.hmax-b,hmax:F.hmin+b}).hmax,max:t.coord2pos(p).hmax};u.value.getBoundingClientRect().width/u.value.getBBox().width;let q=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=H=>{q+=H.movementX;let{xmin:Y,xmax:tt,ymin:_,ymax:G}=t.pos2coord({hmin:R,hmax:yt(R+(I-R)*N.l/Math.max(N.l+q,1),U)});Object.assign(r,{xmin:Y,xmax:tt,ymin:_,ymax:G})},g.target.onpointerup=H=>{g.target.onpointermove=null,g.target.onpointerup=null,$(p,H)}}let C=0,S;function M(g){let p=m(g);f("wheel",g,p);let b=t.action.find(N=>["zoom","nudge"].includes(N.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(A=>N[A]==g[A]));b&&(S=clearTimeout(S),g.preventDefault(),g.stopPropagation(),f("update:transition","transform 0.1s ease-out"),C+=g.deltaY,j(b,p,C),S=setTimeout(()=>{$(b,g),C=0},300))}function j(g,p,b){if(g.action=="zoom"){let{"min-range-h":N=0,sensitivity:A=1.25}=g,R=A**(b/100),I=t.coord2pos(g),F=Math.max(p.l-Math.max(p.l,0)*R,I.hmin??-1/0),U=Math.min(p.l+Math.max(p.r,0)*R,I.hmax??1/0),{[t.coord+"min"]:z,[t.coord+"max"]:q}=t.pos2coord({hmin:F,hmax:U});if(R<1&&q-z<N){let H=(q+z)/2;z=H-N/2,q=H+N/2}r[t.coord+"min"]=z,r[t.coord+"max"]=q}if(g.action=="nudge"){let{sensitivity:N=.1}=g,A=t.coord2pos(g),R=0,I=t.layout.width,F=N*t.layout.width*(-b/120),U=yt(-F,{min:A.hmin-R,max:A.hmax-I}),{xmin:z,xmax:q,ymin:H,ymax:Y}=t.pos2coord({hmin:R+U,hmax:I+U});Object.assign(r,{xmin:z,xmax:q,ymin:H,ymax:Y})}}function $(g,p){let b=Ut(r)??{};if(!Object.keys(b).length)return;let N=new PointerEvent(p.type,p);De(g.emit,b,N)||f(g.action,b,N),f("rangechange",b),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const T={pointerup(g){f("pointerup",g,m(g))},pointerover(g){f("pointerover",g,m(g))},pointerout(g){f("pointerout",g,m(g))},pointerenter(g){f("pointerenter",g,m(g))},pointerleave(g){f("pointerleave",g,m(g))},dblclick(g){f("dblclick",g,m(g))},click(g){f("click",g,m(g))},contextmenu(g){f("contextmenu",g,m(g))},pointermove(g){f("pointermove",g,m(g))},pointerdown:y,wheel:M};return(g,p)=>(O(),V("g",{transform:o.value,style:$1({transition:t.transition})},[At("line",K({ref:"i",x1:0,x2:n.value,y1:0,y2:0},c.value),null,16,vF),p[1]||(p[1]=dt()),(O(!0),V(lt,null,ut(a.value,b=>(O(),V("line",K({ref_for:!0},b),null,16))),256)),p[2]||(p[2]=dt()),(O(!0),V(lt,null,ut(s.value,b=>(O(),V("g",K({ref_for:!0},b.wrapper),[t.theme.label_type=="markdown"?(O(),pt(T1,K({key:0,ref_for:!0},b.text),null,16)):(O(),pt(f1,K({key:1,ref_for:!0},b.text),null,16))],16))),256)),p[3]||(p[3]=dt()),At("g",pF,[At("rect",K({width:n.value,height:10,y:-5},Gt(T,!0),{cursor:t.action.some?.(b=>b.action=="move")?"grab":null}),null,16,bF)]),p[4]||(p[4]=dt()),t.action.some?.(b=>b.action=="rescale")?(O(),V("g",wF,[At("rect",{width:20,height:10,y:-5,style:{cursor:"ew-resize"},onPointerdown:w},null,32),p[0]||(p[0]=dt()),At("rect",{width:20,height:10,y:-5,x:n.value-20,style:{cursor:"ew-resize"},onPointerdown:v},null,40,kF)])):Lt("",!0),p[5]||(p[5]=dt()),l.value.text?(O(),V(lt,{key:1},[t.theme.title_type=="markdown"?(O(),pt(T1,oe(K({key:0},l.value)),null,16)):(O(),pt(f1,oe(K({key:1},l.value)),null,16))],64)):Lt("",!0)],12,xF))}},SF=["transform"],CF=["y2"],NF={class:"vvplot-interactive",fill:"transparent"},MF=["height","cursor"],TF={key:0,class:"vvplot-interactive",fill:"transparent"},$F=["y"],EF={__name:"CoreAxisV",props:{coord:String,ticks:{type:Array,default:()=>[]},title:String,coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Array,default:()=>[]},position:null,activeTransform:Object,transition:String},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick","move","zoom","rescale","nudge","rangechange","update:transition"],setup(t,{emit:e}){const n=X(()=>t.layout.width+t.layout.l+t.layout.r),i=X(()=>t.layout.height+t.layout.t+t.layout.b),r=_1("rangePreview"),o=X(()=>{let g=0,p={left:"0%",center:"50%",right:"100%"}[t.position]??t.position;return typeof p=="string"&&p.endsWith("%")?g=n.value*p.slice(0,-1)/100:g=t.activeTransform.translateH+t.coord2pos({h:+p}).h*t.activeTransform.scaleH+t.layout.left,`translate(${g}, 0)`}),l=X(()=>{let g=t.theme.title_position??t.theme.tick_position,p=g,b=t.theme.title_dock_x,N=t.theme.title_dock_y,A=0;return typeof g!="number"&&(p={bottom:0,left:.5,right:.5,top:1}[g]??.5,b??={left:1,right:0}[g]??.5,N??={top:0,bottom:1}[g]??.5,A=({left:-1,right:1}[g]??0)*(t.theme.title_offset??0)),{x:A,y:i.value*(1-p),angle:t.theme.title_angle,dockX:b,dockY:N,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),c=X(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),a=X(()=>{let g=[];for(let p of t.ticks){typeof p=="number"&&(p={position:p});let b=t.coord2pos({v:p.position}).v,N=b*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,A=b+t.layout.t;if(A+N<0||A+N>i.value)continue;let R=(t.theme.tick_position=="right"?1:-1)*(p.length??t.theme.tick_length);g.push({key:"line-"+p.position,y1:A,y2:A,x1:0,x2:R,stroke:p.color??t.theme.tick_color,"stroke-width":p.width??t.theme.tick_width,transform:N?`translate(0,${N})`:null,style:{transition:t.transition}})}return g.filter(p=>p.stroke!=null).sort((p,b)=>p.y1-b.y1)}),s=X(()=>{let g=(t.theme.label_position??t.theme.tick_position)=="right",p=[];for(let b of t.ticks){typeof b=="number"&&(b={position:b});let N=t.coord2pos({v:b.position}).v,A=N*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,R=N+t.layout.t;if(R+A<0||R+A>i.value)continue;let I=(g?1:-1)*((t.theme.label_offset??b.length??t.theme.tick_length)+3),F,U,z,q;t.theme.label_anchor_x!=null||t.theme.label_anchor_y!=null?(F=t.theme.label_anchor_x??(g?0:1),U=t.theme.label_anchor_y??.5):(z=t.theme.label_dock_x??(g?0:1),q=t.theme.label_dock_y??.5),p.push({wrapper:{key:"text-"+b.position,transform:A?`translate(0,${A})`:null,style:{transition:t.transition}},text:{y:R,x:I,angle:t.theme.label_angle,anchorX:F,anchorY:U,dockX:z,dockY:q,text:b.label,title:b.title??b.label,fontSize:b.size??t.theme.label_size,fill:b.color??t.theme.label_color,"font-family":"sans-serif",...t.theme.label_style}})}return p.filter(b=>b.text.fill!=null).sort((b,N)=>b.text.y-N.text.y)}),u=qt("i");function m(g){let p=u.value.getBoundingClientRect(),b=p.height/u.value.getBBox().height,N=g.clientY-p.top,A=N/b-t.layout.top,R=t.layout.top+t.layout.height-N/b,I={t:A,b:R},{x:F,y:U}=t.pos2coord({v:A});return F&&(I.x=F),U&&(I.y=U),I}const f=e;let h,d=0;function y(g){let p=m(g);f("pointerdown",g,p);let b=!1;function N(q){(Math.abs(q.screenX-g.screenX)>3||Math.abs(q.screenY-g.screenY)>3)&&(b=!0,q.currentTarget.removeEventListener("pointermove",N))}g.target.addEventListener("pointermove",N,{passive:!0}),g.target.addEventListener("pointerup",function(q){if(g.target.removeEventListener("pointermove",N),!b){let H=m(q);f("singleclick",new PointerEvent("singleclick",q),H)}},{once:!0});let A=t.action.find(q=>q.action=="move");if(!A)return;g.preventDefault(),g.stopPropagation(),g.target.style.cursor="grabbing",h=clearTimeout(h);let R=0,I=t.layout.height,F=t.coord2pos(A),z=u.value.getBoundingClientRect().height/u.value.getBBox().height;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=q=>{if(d+=q.movementY,!b)return;let H=yt(-d/z,{min:F.vmin-R,max:F.vmax-I}),{xmin:Y,xmax:tt,ymin:_,ymax:G}=t.pos2coord({vmin:R+H,vmax:I+H});Object.assign(r,{xmin:Y,xmax:tt,ymin:_,ymax:G})},g.target.onpointerup=q=>{g.target.onpointermove=null,g.target.onpointerup=null,g.target.style.cursor=null,b&&(h=setTimeout(()=>{$(A,q),d=0},300))}}function w(g){let p=t.action.find(Y=>Y.action=="rescale");if(!p)return;g.preventDefault(),g.stopPropagation();let{"min-range-v":b=0}=p,N=m(g),A=t.coord2pos(N).v,R=A-N.t,I=A+N.b,F=t.pos2coord({vmin:R,vmax:I}),U={min:t.coord2pos(p).vmin,max:t.coord2pos({vmin:F.vmax-b,vmax:F.vmin+b}).vmin},q=u.value.getBoundingClientRect().height/u.value.getBBox().height,H=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=Y=>{H+=Y.movementY;let{xmin:tt,xmax:_,ymin:G,ymax:J}=t.pos2coord({vmin:yt(I-(I-R)*N.b/Math.max(N.b-H/q,1),U),vmax:I});Object.assign(r,{xmin:tt,xmax:_,ymin:G,ymax:J})},g.target.onpointerup=Y=>{g.target.onpointermove=null,g.target.onpointerup=null,$(p,Y)}}function v(g){let p=t.action.find(Y=>Y.action=="rescale");if(!p)return;g.preventDefault(),g.stopPropagation();let{"min-range-v":b=0}=p,N=m(g),A=t.coord2pos(N).v,R=A-N.t,I=A+N.b,F=t.pos2coord({vmin:R,vmax:I}),U={min:t.coord2pos({vmin:F.vmax-b,vmax:F.vmin+b}).vmax,max:t.coord2pos(p).vmax},q=u.value.getBoundingClientRect().height/u.value.getBBox().height,H=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=Y=>{H+=Y.movementY;let{xmin:tt,xmax:_,ymin:G,ymax:J}=t.pos2coord({vmin:R,vmax:yt(R+(I-R)*N.t/Math.max(N.t+H/q,1),U)});Object.assign(r,{xmin:tt,xmax:_,ymin:G,ymax:J})},g.target.onpointerup=Y=>{g.target.onpointermove=null,g.target.onpointerup=null,$(p,Y)}}let C=0,S;function M(g){let p=m(g);f("wheel",g,p);let b=t.action.find(N=>["zoom","nudge"].includes(N.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(A=>N[A]==g[A]));b&&(S=clearTimeout(S),g.preventDefault(),g.stopPropagation(),f("update:transition","transform 0.1s ease-out"),C+=g.deltaY,j(b,p,C),S=setTimeout(()=>{$(b,g),C=0},300))}function j(g,p,b){if(g.action=="zoom"){let{"min-range-v":N=0,sensitivity:A=1.25}=g,R=A**(b/100),I=t.coord2pos(g),F=Math.max(p.t-Math.max(p.t,0)*R,I.vmin??-1/0),U=Math.min(p.t+Math.max(p.b,0)*R,I.vmax??1/0),{[t.coord+"min"]:z,[t.coord+"max"]:q}=t.pos2coord({vmin:F,vmax:U});if(R<1&&q-z<N){let H=(q+z)/2;z=H-N/2,q=H+N/2}r[t.coord+"min"]=z,r[t.coord+"max"]=q}if(g.action=="nudge"){let{sensitivity:N=.1}=g,A=t.coord2pos(g),R=0,I=t.layout.height,F=N*t.layout.height*(-b/120),U=yt(-F,{min:A.vmin-R,max:A.vmax-I}),{xmin:z,xmax:q,ymin:H,ymax:Y}=t.pos2coord({vmin:R+U,vmax:I+U});Object.assign(r,{xmin:z,xmax:q,ymin:H,ymax:Y})}}function $(g,p){let b=Ut(r)??{};if(!Object.keys(b).length)return;let N=new PointerEvent(p.type,p);De(g.emit,b,N)||f(g.action,b,N),f("rangechange",b),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const T={pointerup(g){f("pointerup",g,m(g))},pointerover(g){f("pointerover",g,m(g))},pointerout(g){f("pointerout",g,m(g))},pointerenter(g){f("pointerenter",g,m(g))},pointerleave(g){f("pointerleave",g,m(g))},dblclick(g){f("dblclick",g,m(g))},click(g){f("click",g,m(g))},contextmenu(g){f("contextmenu",g,m(g))},pointermove(g){f("pointermove",g,m(g))},pointerdown:y,wheel:M};return(g,p)=>(O(),V("g",{transform:o.value,style:$1({transition:t.transition})},[At("line",K({ref:"i",x1:0,x2:0,y1:0,y2:i.value},c.value),null,16,CF),p[1]||(p[1]=dt()),(O(!0),V(lt,null,ut(a.value,b=>(O(),V("line",K({ref_for:!0},b),null,16))),256)),p[2]||(p[2]=dt()),(O(!0),V(lt,null,ut(s.value,b=>(O(),V("g",K({ref_for:!0},b.wrapper),[t.theme.label_type=="markdown"?(O(),pt(T1,K({key:0,ref_for:!0},b.text),null,16)):(O(),pt(f1,K({key:1,ref_for:!0},b.text),null,16))],16))),256)),p[3]||(p[3]=dt()),At("g",NF,[At("rect",K({width:10,height:i.value,x:-5},Gt(T,!0),{cursor:t.action.some?.(b=>b.action=="move")?"grab":null}),null,16,MF)]),p[4]||(p[4]=dt()),t.action.some?.(b=>b.action=="rescale")?(O(),V("g",TF,[At("rect",{width:10,height:20,x:-5,style:{cursor:"ns-resize"},onPointerdown:w},null,32),p[0]||(p[0]=dt()),At("rect",{width:10,height:20,x:-5,y:i.value-20,style:{cursor:"ns-resize"},onPointerdown:v},null,40,$F)])):Lt("",!0),p[5]||(p[5]=dt()),l.value.text?(O(),V(lt,{key:1},[t.theme.title_type=="markdown"?(O(),pt(T1,oe(K({key:0},l.value)),null,16)):(O(),pt(f1,oe(K({key:1},l.value)),null,16))],64)):Lt("",!0)],12,SF))}},uo={__name:"CoreAxis",props:{theme:{type:Object,default:()=>({})},position:null,orientation:null},setup(t){const e={h:AF,v:EF};return(n,i)=>t.position!="none"?(O(),pt(l1(e[t.orientation]),{key:0,theme:t.theme,position:t.position},null,8,["theme","position"])):Lt("",!0)}},LF={__name:"CoreGridH",props:{majorBreaks:{type:Array,default:()=>[]},minorBreaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){const e=X(()=>t.layout.width+t.layout.l+t.layout.r),n=X(()=>t.layout.height+t.layout.t+t.layout.b),i=X(()=>{let l=[];for(let c of t.majorBreaks){let a=t.coord2pos({v:c.position}).v;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,u=a+t.layout.t;u+s<0||u+s>n.value||l.push({key:"major-"+c.position,x1:0,x2:e.value,y1:u,y2:u,stroke:c.color??t.theme.line_color_major,"stroke-width":c.width??t.theme.line_width_major??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),r=X(()=>{let l=[];for(let c of t.minorBreaks){if(t.majorBreaks.some(m=>m.position==c.position))continue;let a=t.coord2pos({v:c.position}).v;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,u=a+t.layout.t;u+s<0||u+s>n.value||l.push({key:"minor-"+c.position,x1:0,x2:e.value,y1:u,y2:u,stroke:c.color??t.theme.line_color_minor,"stroke-width":c.width??t.theme.line_width_minor??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),o=X(()=>r.value.concat(i.value).sort((l,c)=>l.y1-c.y1));return(l,c)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(o.value,a=>(O(),V("line",K({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},OF={__name:"CoreGridV",props:{majorBreaks:{type:Array,default:()=>[]},minorBreaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){const e=X(()=>t.layout.width+t.layout.l+t.layout.r),n=X(()=>t.layout.height+t.layout.t+t.layout.b),i=X(()=>{let l=[];for(let c of t.majorBreaks){let a=t.coord2pos({h:c.position}).h;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,u=a+t.layout.l;u+s<0||u+s>e.value||l.push({key:"major-"+c.position,y1:0,y2:n.value,x1:u,x2:u,stroke:c.color??t.theme.line_color_major,"stroke-width":c.width??t.theme.line_width_major??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),r=X(()=>{let l=[];for(let c of t.minorBreaks){if(t.majorBreaks.some(m=>m.position==c.position))continue;let a=t.coord2pos({h:c.position}).h;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,u=a+t.layout.l;u+s<0||u+s>e.value||l.push({key:"minor-"+c.position,y1:0,y2:n.value,x1:u,x2:u,stroke:c.color??t.theme.line_color_minor,"stroke-width":c.width??t.theme.line_width_minor??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),o=X(()=>r.value.concat(i.value).sort((l,c)=>l.x1-c.x1));return(l,c)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(o.value,a=>(O(),V("line",K({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},jF={__name:"CoreCanvasBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.width=t.layout.fullWidth*(1+t.extendX*2),a.height=t.layout.fullHeight*(1+t.extendY*2);const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,m=new Map;for(const f of t.data)for(let{x:h,xmin:d,xmax:y,y:w,ymin:v,ymax:C,lwisker:S,Q1:M,median:j,Q3:$,uwisker:T,outliers:g,$xmin:p,$xmax:b,$ymin:N,$ymax:A,fill:R="white",color:I="black",linewidth:F=1,linetype:U,alpha:z,"translate-x":q=0,"translate-y":H=0,$raw:Y}of f){if(I==="transparent")continue;const{hmin:tt,hmax:_,vmin:G,vmax:J}=t.coord2pos(h==null?{ymin:v,ymax:C,xmin:M,xmax:$}:{xmin:d,xmax:y,ymin:M,ymax:$}),{h:st,v:ot}=t.coord2pos(h==null?{y:w,x:S}:{x:h,y:S}),{h:xt,v:Ot}=t.coord2pos(h==null?{y:w,x:T}:{x:h,y:T}),{h:Yt,v:xe}=t.coord2pos(h==null?{y:v,x:j}:{x:d,y:j}),{h:ve,v:L}=t.coord2pos(h==null?{y:C,x:j}:{x:y,y:j}),{h:D,v:B}=t.coord2pos(h==null?{y:v*.25+C*.75,x:T}:{x:d*.25+y*.75,y:T}),{h:x,v:k}=t.coord2pos(h==null?{y:v*.75+C*.25,x:T}:{x:d*.75+y*.25,y:T}),{h:E,v:P}=t.coord2pos(h==null?{y:v*.25+C*.75,x:S}:{x:d*.25+y*.75,y:S}),{h:Z,v:W}=t.coord2pos(h==null?{y:v*.75+C*.25,x:S}:{x:d*.75+y*.25,y:S});s.globalAlpha=z,s.setLineDash(It(U));const nt=new Path2D;nt.moveTo(st+q,ot+H),nt.lineTo(xt+q,Ot+H);const rt=new Path2D;rt.moveTo(D+q,B+H),rt.lineTo(x+q,k+H),rt.moveTo(E+q,P+H),rt.lineTo(Z+q,W+H),s.lineWidth=F,I!=="none"&&(s.strokeStyle=I,s.stroke(nt),s.stroke(rt));const ct=new Path2D;ct.rect(tt+q,G+H,_-tt,J-G),R!=="none"&&(s.fillStyle=R,s.fill(ct)),I!=null&&(s.strokeStyle=I,s.stroke(ct)),u.set(ct,Y);const kt=new Path2D;kt.moveTo(Yt+q,xe+H),kt.lineTo(ve+q,L+H),s.lineWidth=F*2,I!=="none"&&(s.strokeStyle=I,s.stroke(kt));for(let{x:bt,y:ft,$raw:at}of g){const{h:it,v:Q}=t.coord2pos({x:bt,y:ft}),et=new Path2D;et.arc(it+q,Q+H,2,0,Math.PI*2),R!=="none"&&(s.fillStyle=I,s.fill(et)),u.set(et,at)}}for(let f of Array.from(u.keys()).reverse())m.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const d=a.getBoundingClientRect(),y=(h.clientX-d.left)*a.width/d.width,w=(h.clientY-d.top)*a.height/d.height;for(const[v,C]of m)if(s.isPointInPath(v,y,w)){r(f,h,t.getCoord(h),C),h._vhandled=!0;break}});return a});return Ct(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),V("foreignObject",K(o.value,{ref:"container"}),null,16))}},PF={__name:"CoreCanvasCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const s=document.createElement("canvas");s.width=t.layout.fullWidth*(1+t.extendX*2),s.height=t.layout.fullHeight*(1+t.extendY*2);const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let m=new Map,f=new Map;for(const h of t.data)for(let{points:d,fill:y="none",color:w="black",linewidth:v,linetype:C,alpha:S,"translate-x":M=0,"translate-y":j=0,$raw:$,interpolate:T}of h){if(d=d.map(N=>(({h:A,v:R})=>({x:A,y:R}))(t.coord2pos(N))).filter(N=>N.x!=null&&N.y!=null),d.length===0)continue;const g=new Path2D;let b=(typeof T=="function"?T:a[T]??yn)(g);b.lineStart();for(let N=0;N<d.length;N++)b.point(d[N].x+M,d[N].y+j);b.lineEnd(),m.set(g,$),u.lineWidth=v,u.globalAlpha=S,u.setLineDash(It(C)),y!=="none"&&(u.fillStyle=y,u.fill(g)),w!=null&&(u.strokeStyle=w,u.stroke(g))}for(let h of Array.from(m.keys()).reverse())f.set(h,m.get(h));for(let h of i)s.addEventListener(h,function(d){if(d._vhandled)return;const y=s.getBoundingClientRect(),w=(d.clientX-y.left)*s.width/y.width,v=(d.clientY-y.top)*s.height/y.height;for(const[C,S]of f)if(u.isPointInPath(C,w,v)){r(h,d,t.getCoord(d),S),d._vhandled=!0;break}});return s});Ct(c,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});const a={cardinal:ys,catmullRom:vs,linear:Ei,natural:yn};return(s,u)=>(O(),V("foreignObject",K(o.value,{ref:"container"}),null,16))}},DF={__name:"CoreCanvasEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.width=t.layout.fullWidth*(1+t.extendX*2),a.height=t.layout.fullHeight*(1+t.extendY*2);const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,m=new Map;for(const f of t.data)for(let{cx:h,cy:d,A:y,B:w,C:v,fill:C="none",color:S="black",linewidth:M,linetype:j,alpha:$,"translate-x":T=0,"translate-y":g=0,$raw:p}of f){let b=Math.sqrt(v/(y*v-w*w)),N=Math.sqrt(y/(y*v-w*w));const{h:A,v:R}=t.coord2pos({x:h,y:d});let{hmin:I,hmax:F,vmin:U,vmax:z}=t.coord2pos({xmin:h-b,xmax:h+b,ymin:d-N,ymax:d+N}),q=(F-I)/(2*b),H=(z-U)/(2*N);y/=q*q,w/=q*H,v/=H*H;const Y=y+v,tt=y*v-w*w,_=Math.sqrt(Math.max(0,Y*Y/4-tt));let G=1/Math.sqrt(Y/2+_),J=1/Math.sqrt(Y/2-_),st=-Math.atan2(2*w,y-v)/2;const ot=new Path2D;ot.ellipse(A+T,R+g,G,J,st,0,2*Math.PI),u.set(ot,p),s.lineWidth=M,s.globalAlpha=$,s.setLineDash(It(j)),C!=="none"&&(s.fillStyle=C,s.fill(ot)),S!=null&&(s.strokeStyle=S,s.stroke(ot))}for(let f of Array.from(u.keys()).reverse())m.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const d=a.getBoundingClientRect(),y=(h.clientX-d.left)*a.width/d.width,w=(h.clientY-d.top)*a.height/d.height;for(const[v,C]of m)if(s.isPointInPath(v,y,w)){r(f,h,t.getCoord(h),C),h._vhandled=!0;break}});return a});return Ct(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),V("foreignObject",K(o.value,{ref:"container"}),null,16))}},ho={__name:"CoreCanvasLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.width=t.layout.fullWidth*(1+t.extendX*2),a.height=t.layout.fullHeight*(1+t.extendY*2);const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,m=new Map;for(const f of t.data)for(let{x:h,y:d,xend:y,yend:w,color:v,linewidth:C,alpha:S,linetype:M,"translate-x":j=0,"translate-y":$=0,$raw:T}of f){if(v==="transparent")continue;const{h:g,v:p}=t.coord2pos({x:h,y:d}),{h:b,v:N}=t.coord2pos({x:y,y:w}),A=new Path2D;A.moveTo(g+j,p+$),A.lineTo(b+j,N+$),u.set(A,T),s.lineWidth=C,s.globalAlpha=S,s.setLineDash(It(M)),v!=="none"&&(s.strokeStyle=v,s.stroke(A))}for(let f of Array.from(u.keys()).reverse())m.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const d=a.getBoundingClientRect(),y=(h.clientX-d.left)*a.width/d.width,w=(h.clientY-d.top)*a.height/d.height;for(const[v,C]of m)if(s.isPointInPath(v,y,w)){r(f,h,t.getCoord(h),C),h._vhandled=!0;break}});return a});return Ct(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),V("foreignObject",K(o.value,{ref:"container"}),null,16))}},qF={__name:"CoreCanvasPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o={triangle:s=>`M0-${s*2/3}L${s*.577},${s/3}L-${s*.577},${s/3}Z`,diamond:s=>`M0-${s*.707}L${s*.707},0L0,${s*.707}L-${s*.707},0Z`,square:s=>`M-${s/2}-${s/2}H${s/2}V${s/2}H-${s/2}Z`,plus:s=>`M-${s/10}-${s/2}V-${s/10}H-${s/2}V${s/10}H-${s/10}V${s/2}H${s/10}V${s/10}H${s/2}V-${s/10}H${s/10}V-${s/2}H-${s/10}Z`,corss:s=>`M-${s*.283}-${s*.424}L-${s*.424}-${s*.283}L-${s*.141},0L-${s*.424},${s*.283}L-${s*.283},${s*.424}L0,${s*.141}L${s*.283},${s*.424}L${s*.424},${s*.283}L${s*.141},0L${s*.424},-${s*.283}L${s*.283},-${s*.424}L0,-${s*.141}Z`},l=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),c=qt("container"),a=X(()=>{if(c.value==null)return;const s=document.createElement("canvas");s.width=t.layout.fullWidth*(1+t.extendX*2),s.height=t.layout.fullHeight*(1+t.extendY*2);const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let m=new Map,f=new Map;for(const h of t.data)for(let{x:d,y,size:w=6,shape:v,color:C,stroke:S,linewidth:M,linetype:j,alpha:$,"translate-x":T=0,"translate-y":g=0,$raw:p}of h){const{h:b,v:N}=t.coord2pos({x:d,y}),A=new Path2D;String(v).startsWith("path:")?A.addPath(new Path2D(v.slice(5)),new DOMMatrix().translateSelf(b+T,N+g)):v in o?A.addPath(new Path2D(o[v](w)),new DOMMatrix().translate(b+T,N+g)):A.arc(b+T,N+g,w/2,0,Math.PI*2),m.set(A,p),u.lineWidth=M,u.globalAlpha=$,u.beginPath(),C!=="none"&&(u.fillStyle=C,u.fill(A)),S!=null&&(u.strokeStyle=S,u.setLineDash(It(j)),u.stroke(A))}for(let h of Array.from(m.keys()).reverse())f.set(h,m.get(h));for(let h of i)s.addEventListener(h,function(d){if(d._vhandled)return;const y=s.getBoundingClientRect(),w=(d.clientX-y.left)*s.width/y.width,v=(d.clientY-y.top)*s.height/y.height;for(const[C,S]of f)if(u.isPointInPath(C,w,v)){r(h,d,t.getCoord(d),S),d._vhandled=!0;break}});return s});return Ct(a,s=>c.value.replaceChildren(s)),e({dispatchEvent:s=>a.value?.dispatchEvent?.(s)}),(s,u)=>(O(),V("foreignObject",K(l.value,{ref:"container"}),null,16))}},BF={__name:"CoreCanvasPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.width=t.layout.fullWidth*(1+t.extendX*2),a.height=t.layout.fullHeight*(1+t.extendY*2);const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,m=new Map;for(const f of t.data)for(let{points:h,fill:d,color:y,linewidth:w,linetype:v,alpha:C,"translate-x":S=0,"translate-y":M=0,$raw:j}of f){if(h=h.map(T=>(({h:g,v:p})=>({x:g,y:p}))(t.coord2pos(T))).filter(T=>T.x!=null&&T.y!=null),h.length===0)continue;const $=new Path2D;$.moveTo(h[0].x+S,h[0].y+M);for(let T=1;T<h.length;T++)$.lineTo(h[T].x+S,h[T].y+M);$.closePath(),u.set($,j),s.lineWidth=w,s.globalAlpha=C,s.setLineDash(It(v)),d!=="none"&&(s.fillStyle=d,s.fill($)),y!=null&&(s.strokeStyle=y,s.stroke($))}for(let f of Array.from(u.keys()).reverse())m.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const d=a.getBoundingClientRect(),y=(h.clientX-d.left)*a.width/d.width,w=(h.clientY-d.top)*a.height/d.height;for(const[v,C]of m)if(s.isPointInPath(v,y,w)){r(f,h,t.getCoord(h),C),h._vhandled=!0;break}});return a});return Ct(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),V("foreignObject",K(o.value,{ref:"container"}),null,16))}},fo={__name:"CoreCanvasRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.width=t.layout.fullWidth*(1+t.extendX*2),a.height=t.layout.fullHeight*(1+t.extendY*2);const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,m=new Map;for(const f of t.data)for(let{xmin:h,xmax:d,ymin:y,ymax:w,fill:v,color:C,linewidth:S,linetype:M,alpha:j,"translate-x":$=0,"translate-y":T=0,$raw:g}of f){const{hmin:p,hmax:b,vmin:N,vmax:A}=t.coord2pos({xmin:h,xmax:d,ymin:y,ymax:w}),R=new Path2D;R.rect(p+$,N+T,b-p,A-N),u.set(R,g),s.lineWidth=S,s.globalAlpha=j,s.setLineDash(It(M)),v!=="none"&&(s.fillStyle=v,s.fill(R)),C!=null&&(s.strokeStyle=C,s.stroke(R))}for(let f of Array.from(u.keys()).reverse())m.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const d=a.getBoundingClientRect(),y=(h.clientX-d.left)*a.width/d.width,w=(h.clientY-d.top)*a.height/d.height;for(const[v,C]of m)if(s.isPointInPath(v,y,w)){r(f,h,t.getCoord(h),C),h._vhandled=!0;break}});return a});return Ct(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),V("foreignObject",K(o.value,{ref:"container"}),null,16))}},VF={__name:"CoreCanvasText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.width=t.layout.fullWidth*(1+t.extendX*2),a.height=t.layout.fullHeight*(1+t.extendY*2);const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,m=new Map;for(const f of t.data)for(let{x:h,y:d,color:y,size:w=4,label:v="",title:C,stroke:S,linewidth:M,linetype:j,alpha:$,"anchor-x":T,"anchor-y":g,"dock-x":p,"dock-y":b,"translate-x":N=0,"translate-y":A=0,angle:R,"text-length":I,"font-family":F="sans-serif",$raw:U}of f){s.save();const{h:z,v:q}=t.coord2pos({x:h,y:d});s.textAlign="center",s.textBaseline="middle",s.lineWidth=M,s.globalAlpha=$,s.font=`${w*4}px ${F}`,s.setLineDash(It(j)),s.translate(z+N,q+A);let{width:H,fontBoundingBoxAscent:Y,fontBoundingBoxDescent:tt}=s.measureText(v),_=H,G=Y+tt;if(typeof I=="object"){let{x:J=0,y:st=0}=I,{h:ot,v:xt}=t.coord2pos({x:h+J/2,y:d+st/2}),{h:Ot,v:Yt}=t.coord2pos({x:h-J/2,y:d-st/2});_=Math.hypot(ot-Ot||0,xt-Yt||0)}else I!=null&&(_=I);if(p!=null||b!=null){let J={left:0,center:.5,right:1}[p]??+(p??.5),st={bottom:0,center:.5,top:1}[b]??+(b??.5);isNaN(J)&&(J=.5),isNaN(st)&&(st=.5);let ot=_*Math.abs(Math.cos(R*Math.PI/180))+G*Math.abs(Math.sin(R*Math.PI/180)),xt=_*Math.abs(Math.sin(R*Math.PI/180))+G*Math.abs(Math.cos(R*Math.PI/180));s.translate(ot*(.5-J),xt*(st-.5)),s.rotate(R*Math.PI/180)}else{let J={left:0,center:.5,right:1}[T]??+(T??.5),st={bottom:0,center:.5,top:1}[g]??+(g??.5);isNaN(J)&&(J=.5),isNaN(st)&&(st=.5);let ot=_,xt=G;s.rotate(R*Math.PI/180),s.translate(ot*(.5-J),xt*(st-.5))}_!=H&&s.scale(_/H,1),y!=="none"&&(s.fillStyle=y,s.fillText(v,0,0)),S!=null&&(s.strokeStyle=S,s.strokeText(v,0,0)),s.restore()}for(let f of Array.from(u.keys()).reverse())m.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const d=a.getBoundingClientRect(),y=(h.clientX-d.left)*a.width/d.width,w=(h.clientY-d.top)*a.height/d.height;for(const[v,C]of m)if(s.isPointInPath(v,y,w)){r(f,h,t.getCoord(h),C),h._vhandled=!0;break}});return a});return Ct(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),V("foreignObject",K(o.value,{ref:"container"}),null,16))}},IF={__name:"CoreCanvasTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const s=document.createElement("canvas");s.width=t.layout.fullWidth*(1+t.extendX*2),s.height=t.layout.fullHeight*(1+t.extendY*2);const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let m=new Map,f=new Map;for(const h of t.data)for(let{x:d,xend:y,y:w,yend:v,size:C=4,label:S="",title:M,color:j,stroke:$,linewidth:T,linetype:g,alpha:p,"translate-x":b=0,"translate-y":N=0,"text-length":A,"font-family":R="sans-serif","text-align":I="justify",angle:F="auto",inset:U=0,$raw:z}of h){const{h:q,v:H}=t.coord2pos({x:d,y:w}),{h:Y,v:tt}=t.coord2pos({x:y,y:v});if(u.save(),u.translate(b,N),u.textBaseline="middle",u.lineWidth=T,u.globalAlpha=p,u.font=`${C*4}px ${R}`,u.setLineDash(It(g)),["stretch","pre","start","center","end","post"].includes(I)){let _=Math.atan2(tt-H,Y-q),G=String(S).replace(/\x01|\x02/g,""),J=Math.cos(_)*U,st=Math.sin(_)*U;switch(I){case"stretch":case"center":u.translate((q+Y)/2,(H+tt)/2),u.textAlign="center";break;case"pre":u.translate(q-J,H-st),u.textAlign="end";break;case"start":u.translate(q+J,H+st),u.textAlign="start";break;case"end":u.translate(Y-J,tt-st),u.textAlign="end";break;case"post":u.translate(Y+J,tt+st),u.textAlign="start";break}u.rotate(_),I==="stretch"&&u.scale(Math.hypot(Y-q||0,tt-H||0)/u.measureText(G).width,1),j!=="none"&&(u.fillStyle=j,u.fillText(G,0,0)),$!=null&&(u.strokeStyle=$,u.strokeText(G,0,0))}else{let _=F==="auto"?Math.atan2(tt-H,Y-q):F*Math.PI/180;u.textAlign="center";let G=a(String(S)),J=(Y-q)/(G.length-1||1),st=(tt-H)/(G.length-1||1);for(let ot=0;ot<G.length;ot++){u.save(),u.translate(q+ot*J,H+ot*st),u.rotate(_);let xt=G[ot];j!=="none"&&(u.fillStyle=j,u.fillText(xt,0,0)),$!=null&&(u.strokeStyle=$,u.strokeText(xt,0,0)),u.restore()}}u.restore()}for(let h of Array.from(m.keys()).reverse())f.set(h,m.get(h));for(let h of i)s.addEventListener(h,function(d){if(d._vhandled)return;const y=s.getBoundingClientRect(),w=(d.clientX-y.left)*s.width/y.width,v=(d.clientY-y.top)*s.height/y.height;for(const[C,S]of f)if(u.isPointInPath(C,w,v)){r(h,d,t.getCoord(d),S),d._vhandled=!0;break}});return s});Ct(c,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});function a(s){let u=[];for(let m=0;m<s.length;m++)if(s[m]==""){let f=m+1;for(;f<s.length&&s[f]!="";)f++;u.push(s.slice(m+1,f)),m=f}else u.push(s[m]);return u}return(s,u)=>(O(),V("foreignObject",K(o.value,{ref:"container"}),null,16))}},RF=Object.freeze(Object.defineProperty({__proto__:null,boxplot:jF,curve:PF,ellipse:DF,line:ho,point:qF,polygon:BF,rect:fo,stick:ho,text:VF,textsegment:IF,tile:fo},Symbol.toStringTag,{value:"Module"})),HF={__name:"CoreSvgBlank",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},emits:["click","contextmenu","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup"],setup(t,{emit:e}){return(n,i)=>(O(),V("g"))}},XF={key:0},jn={__name:"CoreTile",props:{x:{type:Number,default:0},y:{type:Number,default:0},width:{type:Number,default:0},height:{type:Number,default:0},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({x:t.x-t.width/2,y:t.y-t.height/2,width:t.width,height:t.height,color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":It(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),V("rect",oe(m1(e.value)),[t.title?(O(),V("title",XF,Vt(t.title),1)):Lt("",!0)],16))}},YF={key:0},zF={key:0},ji={__name:"CorePoint",props:{x:{type:Number,default:0},y:{type:Number,default:0},shape:String,size:{type:Number,default:6},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e={circle:"M0-0.5A0.5,0.5,0,1,1,0,0.5A0.5,0.5,0,1,1,0-0.5Z",square:"M-0.5-0.5H0.5V0.5H-0.5Z",triangle:"M0-0.667L0.577,0.333L-0.577,0.333Z",diamond:"M0-0.707L0.707,0L0,0.707L-0.707,0Z",plus:"M-0.1-0.5V-0.1H-0.5V0.1H-0.1V0.5H0.1V0.1H0.5V-0.1H0.1V-0.5H-0.1Z",cross:"M-0.283-0.424L-0.424-0.283L-0.141,0L-0.424,0.283L-0.283,0.424L0,0.141L0.283,0.424L0.424,0.283L0.141,0L0.424,-0.283L0.283,-0.424L0,-0.141Z"},n=X(()=>{let i=t.shape?.startsWith?.("path:")?t.shape?.slice?.(5):e[t.shape],r={color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":It(t.linetype).join(" ")||null};if(i!=null){let o=[],l=t.x+t.translateX,c=t.y+t.translateY;(l!==0||c!==0)&&o.push(`translate(${l},${c})`),t.size!=1&&o.push(`scale(${t.size})`),t.angle&&o.push(`rotate(${t.angle})`),Object.assign(r,{d:i,transform:o.join(" ")||null})}else{let o=t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null;Object.assign(r,{cx:t.x,cy:t.y,r:t.size/2,transform:o})}return r});return(i,r)=>n.value.d?(O(),V("path",oe(K({key:0},n.value)),[t.title?(O(),V("title",YF,Vt(t.title),1)):Lt("",!0)],16)):(O(),V("circle",oe(K({key:1},n.value)),[t.title?(O(),V("title",zF,Vt(t.title),1)):Lt("",!0)],16))}},UF={key:0},n1={__name:"CoreLine",props:{x1:{type:Number,default:0},y1:{type:Number,default:0},x2:{type:Number,default:0},y2:{type:Number,default:0},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2,color:t.color||null,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":It(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),V("line",oe(m1(e.value)),[t.title?(O(),V("title",UF,Vt(t.title),1)):Lt("",!0)],16))}},FF={__name:"CoreSvgBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,xmin:m,xmax:f,y:h,ymin:d,ymax:y,lwisker:w,Q1:v,median:C,Q3:S,uwisker:M,outliers:j,$xmin:$,$xmax:T,$ymin:g,$ymax:p,fill:b="white",color:N="black",linewidth:A,linetype:R,alpha:I,title:F,"translate-x":U=0,"translate-y":z=0,class:q,style:H,$raw:Y})=>{const{hmin:tt,hmax:_,vmin:G,vmax:J}=t.coord2pos({xmin:$,xmax:T,ymin:g,ymax:p});if(tt<o&&_<o||tt>l&&_>l||G<c&&J<c||G>a&&J>a)return null;const{hmin:st,hmax:ot,vmin:xt,vmax:Ot}=t.coord2pos(u==null?{ymin:d,ymax:y,xmin:v,xmax:S}:{xmin:m,xmax:f,ymin:v,ymax:S}),{h:Yt,v:xe}=t.coord2pos(u==null?{y:h,x:w}:{x:u,y:w}),{h:ve,v:L}=t.coord2pos(u==null?{y:h,x:M}:{x:u,y:M}),{h:D,v:B}=t.coord2pos(u==null?{y:d,x:C}:{x:m,y:C}),{h:x,v:k}=t.coord2pos(u==null?{y,x:C}:{x:f,y:C}),{h:E,v:P}=t.coord2pos(u==null?{y:d*.25+y*.75,x:M}:{x:m*.25+f*.75,y:M}),{h:Z,v:W}=t.coord2pos(u==null?{y:d*.75+y*.25,x:M}:{x:m*.75+f*.25,y:M}),{h:nt,v:rt}=t.coord2pos(u==null?{y:d*.25+y*.75,x:w}:{x:m*.25+f*.75,y:w}),{h:ct,v:kt}=t.coord2pos(u==null?{y:d*.75+y*.25,x:w}:{x:m*.75+f*.25,y:w});let bt={rect:{x:(st+ot)/2,width:ot-st,y:(xt+Ot)/2,height:Ot-xt,fill:b,color:N,linetype:R,linewidth:A,alpha:I,title:F,translateX:U,translateY:z,class:q,style:H},line:{x1:Yt,y1:xe,x2:ve,y2:L,color:N,linetype:R,linewidth:A,alpha:I,translateX:U,translateY:z,class:q,style:H},midline:{x1:D,y1:B,x2:x,y2:k,color:N,linetype:R,linewidth:(A??1)*2,alpha:I,translateX:U,translateY:z,class:q,style:H},uwisker:{x1:E,y1:P,x2:Z,y2:W,color:N,linetype:R,linewidth:A,alpha:I,translateX:U,translateY:z,class:q,style:H},lwisker:{x1:nt,y1:rt,x2:ct,y2:kt,color:N,linetype:R,linewidth:A,alpha:I,translateX:U,translateY:z,class:q,style:H},outliers:j?.map(({x:at,y:it,$raw:Q})=>{const{h:et,v:mt}=t.coord2pos({x:at,y:it});let vt={x:et,y:mt,shape:"circle",size:4,color:N,alpha:I,translateX:U,translateY:z,class:q,style:H},_t=Object.fromEntries(n.map(Ht=>[Ht,se=>i(Ht,se,Q)]));return[vt,_t]})},ft=Object.fromEntries(n.map(at=>[at,it=>i(at,Object.assign(it,{_vhandled:!0}),t.getCoord(it),Y)]));return[bt,ft]}).filter(u=>u!=null))});return(o,l)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(r.value,c=>(O(),V("g",K({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),V(lt,null,ut(c,([a,s])=>(O(),V("g",null,[$e(n1,K({ref_for:!0},a.line),null,16),l[0]||(l[0]=dt()),$e(jn,K({ref_for:!0},a.rect,Gt(s)),null,16),l[1]||(l[1]=dt()),$e(n1,K({ref_for:!0},a.midline),null,16),l[2]||(l[2]=dt()),$e(n1,K({ref_for:!0},a.uwisker),null,16),l[3]||(l[3]=dt()),$e(n1,K({ref_for:!0},a.lwisker),null,16),l[4]||(l[4]=dt()),(O(!0),V(lt,null,ut(a.outliers,([u,m])=>(O(),pt(ji,K({ref_for:!0},u,Gt(m)),null,16))),256))]))),256))],16))),256))]))}},GF={key:0},Qs={__name:"CoreCurve",props:{points:{type:Array,default:()=>[]},interpolate:{default:"natural"},fill:{type:String,default:"none"},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>{let i=typeof t.interpolate=="function"?t.interpolate:n[t.interpolate]??yn;return{d:U2().curve(i)(t.points.map(r=>[r.x,r.y])),color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":It(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}}),n={cardinal:ys,catmullRom:vs,linear:Ei,natural:yn};return(i,r)=>(O(),V("path",oe(m1(e.value)),[t.title?(O(),V("title",GF,Vt(t.title),1)):Lt("",!0)],16))}},WF={__name:"CoreSvgCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({points:u,fill:m="none",color:f="black",linewidth:h,linetype:d,alpha:y,title:w,"translate-x":v=0,"translate-y":C=0,class:S,style:M,$raw:j,interpolate:$})=>{if(u=u.map(p=>(({h:b,v:N})=>({x:b,y:N}))(t.coord2pos(p))),u.every(p=>p.x<o)||u.every(p=>p.x>l)||u.every(p=>p.y<c)||u.every(p=>p.y>a))return null;let T={points:u,fill:m,color:f,linetype:d,linewidth:h,alpha:y,title:w,translateX:v,translateY:C,class:S,style:M,interpolate:$},g=Object.fromEntries(n.map(p=>[p,b=>i(p,Object.assign(b,{_vhandled:!0}),t.getCoord(b),j)]));return[T,g]}).filter(u=>u!=null))});return(o,l)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(r.value,c=>(O(),V("g",K({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),V(lt,null,ut(c,([a,s])=>(O(),pt(Qs,K({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},KF={key:0},ZF={__name:"CoreEllipse",props:{cx:{type:Number,default:0},cy:{type:Number,default:0},rx:{type:Number,default:0},ry:{type:Number,default:0},angle:{type:Number,default:0},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>{let n=[];return(t.translateX||t.translateY)&&n.push(`translate(${t.translateX}, ${t.translateY})`),t.angle&&n.push(`rotate(${t.angle})`),{cx:t.cx,cy:t.cy,rx:t.rx,ry:t.ry,color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":It(t.linetype).join(" ")||null,transform:n.join(" ")||null,"transform-origin":`${t.cx} ${t.cy}`}});return(n,i)=>(O(),V("ellipse",oe(m1(e.value)),[t.title?(O(),V("title",KF,Vt(t.title),1)):Lt("",!0)],16))}},QF={__name:"CoreSvgEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({cx:u,cy:m,A:f,B:h,C:d,fill:y="none",color:w="black",linewidth:v,linetype:C,alpha:S,title:M,"translate-x":j=0,"translate-y":$=0,class:T,style:g,$raw:p})=>{let b=Math.sqrt(d/(f*d-h*h)),N=Math.sqrt(f/(f*d-h*h));const{h:A,v:R}=t.coord2pos({x:u,y:m});let{hmin:I,hmax:F,vmin:U,vmax:z}=t.coord2pos({xmin:u-b,xmax:u+b,ymin:m-N,ymax:m+N});if(F<o||I>l||z<c||U>a)return null;let q=(F-I)/(2*b),H=(z-U)/(2*N);f/=q*q,h/=q*H,d/=H*H;const Y=f+d,tt=f*d-h*h,_=Math.sqrt(Math.max(0,Y*Y/4-tt));let G={cx:A,cy:R,rx:1/Math.sqrt(Y/2+_)||0,ry:1/Math.sqrt(Y/2-_)||0,angle:-Math.atan2(2*h,f-d)/2*180/Math.PI||0,fill:y,color:w,linetype:C,linewidth:v,alpha:S,title:M,translateX:j,translateY:$,class:T,style:g},J=Object.fromEntries(n.map(st=>[st,ot=>i(st,Object.assign(ot,{_vhandled:!0}),t.getCoord(ot),p)]));return[G,J]}).filter(u=>u!=null))});return(o,l)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(r.value,c=>(O(),V("g",K({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),V(lt,null,ut(c,([a,s])=>(O(),pt(ZF,K({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},mo={__name:"CoreSvgLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:m,xend:f,yend:h,color:d="black",linewidth:y,linetype:w,alpha:v,title:C,"translate-x":S=0,"translate-y":M=0,class:j,style:$,$raw:T})=>{const{h:g,v:p}=t.coord2pos({x:u,y:m}),{h:b,v:N}=t.coord2pos({x:f,y:h});if(g<o&&b<o||g>l&&b>l||p<c&&N<c||p>a&&N>a)return null;let A={x1:g,x2:b,y1:p,y2:N,color:d,linetype:w,linewidth:y,alpha:v,title:C,translateX:S,translateY:M,class:j,style:$},R=Object.fromEntries(n.map(I=>[I,F=>i(I,Object.assign(F,{_vhandled:!0}),t.getCoord(F),T)]));return[A,R]}).filter(u=>u!=null))});return(o,l)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(r.value,c=>(O(),V("g",K({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),V(lt,null,ut(c,([a,s])=>(O(),pt(n1,K({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},JF={__name:"CoreSvgMarkdown",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:m,size:f=4,label:h,title:d,color:y,stroke:w,linewidth:v,linetype:C,alpha:S,"anchor-x":M,"anchor-y":j,"dock-x":$,"dock-y":T,"translate-x":g=0,"translate-y":p=0,angle:b,"text-length":N,"font-family":A="sans-serif","text-anchor":R,class:I,style:F,$raw:U})=>{if(h==null)return null;const{h:z,v:q}=t.coord2pos({x:u,y:m});if(z<o||z>l||q<c||q>a)return null;if(typeof N=="object"){let{x:tt=0,y:_=0}=N,{h:G,v:J}=t.coord2pos({x:u+tt/2,y:m+_/2}),{h:st,v:ot}=t.coord2pos({x:u-tt/2,y:m-_/2});N=Math.hypot(G-st||0,J-ot||0)}let H={x:z,y:q,text:String(h),title:String(d??h),size:f,color:y,stroke:w,linetype:C,linewidth:v,alpha:S,angle:b,translateX:g,translateY:p,class:I,style:F,anchorX:M,anchorY:j,dockX:$,dockY:T,textLength:N,fontFamily:A,textAnchor:R},Y=Object.fromEntries(n.map(tt=>[tt,_=>i(tt,Object.assign(_,{_vhandled:!0}),t.getCoord(_),U)]));return[H,Y]}).filter(u=>u!=null))});return(o,l)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(r.value,c=>(O(),V("g",K({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),V(lt,null,ut(c,([a,s])=>(O(),pt(T1,K({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},_F={__name:"CoreSvgMarkdownsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let c=-t.layout.fullWidth*t.extendX-t.layout.l,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,s=-t.layout.fullHeight*t.extendY-t.layout.t,u=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(m=>m.map(({x:f,xend:h,y:d,yend:y,size:w=4,label:v,title:C,color:S,stroke:M,linewidth:j,linetype:$,alpha:T,"translate-x":g=0,"translate-y":p=0,"font-family":b="sans-serif","text-align":N="start",inset:A=0,class:R,style:I,$raw:F})=>{if(v==null)return null;const{h:U,v:z}=t.coord2pos({x:f,y:d}),{h:q,v:H}=t.coord2pos({x:h,y});if(U<c&&q<c||U>a&&q>a||z<s&&H<s||z>u&&H>u)return null;let Y=Math.atan2(H-z,q-U),tt={color:S||null,fill:S||null,"fill-opacity":T==1?null:T,"font-size":w*4,stroke:M||null,"stroke-width":j,"stroke-dasharray":It($).join(" ")||null,"stroke-opacity":T==1?null:T,"font-family":b,class:R,style:I},_=Object.fromEntries(n.map(xt=>[xt,Ot=>i(xt,Object.assign(Ot,{_vhandled:!0}),t.getCoord(Ot),F)])),G,J,st=l(String(v));switch(N){case"stretch":G=(U+q)/2,J=(z+H)/2,tt["text-anchor"]="middle",tt.textLength=Math.hypot(q-U||0,H-z||0),tt.lengthAdjust="spacingAndGlyphs";break;case"center":G=(U+q)/2,J=(z+H)/2,tt["text-anchor"]="middle";break;case"pre":G=U,J=z,g-=Math.cos(Y)*A,p-=Math.sin(Y)*A,tt["text-anchor"]="end";break;case"end":G=q,J=H,g-=Math.cos(Y)*A,p-=Math.sin(Y)*A,tt["text-anchor"]="end";break;case"post":G=q,J=H,g+=Math.cos(Y)*A,p+=Math.sin(Y)*A,tt["text-anchor"]="start";break;default:G=U,J=z,g+=Math.cos(Y)*A,p+=Math.sin(Y)*A,tt["text-anchor"]="start"}let ot=[];return(g||p)&&ot.push(`translate(${g}, ${p})`),Y&&ot.push(`rotate(${Y*180/Math.PI})`),Object.assign(tt,{x:G,y:J,"dominant-baseline":"central","transform-origin":`${G} ${J}`,transform:ot.join(" ")||null}),[tt,_,st,String(C??String(v).replace(/\x01|\x02/g,""))]}).filter(f=>f!=null))}),o=new Ks;function l(c){const a=o.parse(c).walker(),s=[];let u=[],m=[1],f=0,h;for(;h=a.next();){let{node:{type:d,literal:y},entering:w}=h,v=m.at(-1);if(w){if(d==="text"||d==="code"){const C=Object.assign({dy:Te(f||null,"em")},...u,{"font-family":d==="code"?"monospace":null,"font-size":v===1?null:`${v}em`});f=0,s.push({text:y,vbind:C})}else if(d==="strong")u.push({"font-weight":"bold"});else if(d==="emph")u.push({"font-style":"italic"});else if(d==="softbreak"||d==="paragraph")s.push({text:" "});else if(d==="html_inline"){const C=y;if(C.includes("color=")){const S=C.match(/color=(['"])(.*?)\1/i)?.[2]??C.match(/color=(\S*)/)?.[1];S&&u.push({fill:S})}else C.includes("</font>")?u.pop():C.includes("<sup>")?(f-=.4*v,m.push(v*.7)):C.includes("</sup>")?(f+=.4*m.at(-1),m.pop()):C.includes("<sub>")?(f+=.25*v,m.push(v*.7)):C.includes("</sub>")&&(f-=.25*m.at(-1),m.pop())}}else["strong","emph"].includes(d)&&u.pop()}return s}return(c,a)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(r.value,s=>(O(),V("g",K({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),V(lt,null,ut(s,([u,m,f,h])=>(O(),V("text",K({ref_for:!0},u,Gt(m,!0)),[At("title",null,Vt(h),1),a[0]||(a[0]=dt()),(O(!0),V(lt,null,ut(f,d=>(O(),V("tspan",K({ref_for:!0},d.vbind),Vt(d.text),17))),256))],16))),256))],16))),256))]))}},tG={__name:"CoreSvgPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:m,shape:f,size:h=6,color:d,stroke:y,linetype:w,linewidth:v,alpha:C,title:S,"translate-x":M=0,"translate-y":j=0,angle:$,class:T,style:g,$raw:p})=>{const{h:b,v:N}=t.coord2pos({x:u,y:m});if(b<o||b>l||N<c||N>a)return null;let A={x:b,y:N,shape:f,size:h,color:d,stroke:y,linetype:w,linewidth:v,alpha:C,title:S,angle:$,translateX:M,translateY:j,class:T,style:g},R=Object.fromEntries(n.map(I=>[I,F=>i(I,Object.assign(F,{_vhandled:!0}),t.getCoord(F),p)]));return[A,R]}).filter(u=>u!=null))});return(o,l)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(r.value,c=>(O(),V("g",K({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),V(lt,null,ut(c,([a,s])=>(O(),pt(ji,K({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},eG={key:0},Js={__name:"CorePolygon",props:{points:{type:Array,default:()=>[]},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({points:t.points.map(n=>`${n.x},${n.y}`).join(" "),color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":It(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),V("polygon",oe(m1(e.value)),[t.title?(O(),V("title",eG,Vt(t.title),1)):Lt("",!0)],16))}},nG={__name:"CoreSvgPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({points:u,fill:m,color:f,linewidth:h,linetype:d,alpha:y,title:w,"translate-x":v=0,"translate-y":C=0,class:S,style:M,$raw:j})=>{if(u=u.map(g=>(({h:p,v:b})=>({x:p,y:b}))(t.coord2pos(g))),u.every(g=>g.x<o)||u.every(g=>g.x>l)||u.every(g=>g.y<c)||u.every(g=>g.y>a))return null;let $={points:u,fill:m,color:f,linewidth:h,linetype:d,alpha:y,title:w,translateX:v,translateY:C,class:S,style:M},T=Object.fromEntries(n.map(g=>[g,p=>i(g,Object.assign(p,{_vhandled:!0}),t.getCoord(p),j)]));return[$,T]}).filter(u=>u!=null))});return(o,l)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(r.value,c=>(O(),V("g",K({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),V(lt,null,ut(c,([a,s])=>(O(),pt(Js,K({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},go={__name:"CoreSvgRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({xmin:u,xmax:m,ymin:f,ymax:h,fill:d="black",color:y,linewidth:w,linetype:v,alpha:C,title:S,"translate-x":M=0,"translate-y":j=0,class:$,style:T,$raw:g})=>{const{hmin:p,hmax:b,vmin:N,vmax:A}=t.coord2pos({xmin:u,xmax:m,ymin:f,ymax:h});if(p<o&&b<o||p>l&&b>l||N<c&&A<c||N>a&&A>a)return null;let R={x:(p+b)/2,width:b-p,y:(N+A)/2,height:A-N,fill:d,color:y,linetype:v,linewidth:w,alpha:C,title:S,translateX:M,translateY:j,class:$,style:T},I=Object.fromEntries(n.map(F=>[F,U=>i(F,Object.assign(U,{_vhandled:!0}),t.getCoord(U),g)]));return[R,I]}).filter(u=>u!=null))});return(o,l)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(r.value,c=>(O(),V("g",K({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),V(lt,null,ut(c,([a,s])=>(O(),pt(jn,K({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},iG={__name:"CoreSvgText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:m,size:f=4,label:h,title:d,color:y,stroke:w,linewidth:v,linetype:C,alpha:S,"anchor-x":M,"anchor-y":j,"dock-x":$,"dock-y":T,"translate-x":g=0,"translate-y":p=0,angle:b,"text-length":N,"font-family":A,"text-anchor":R,class:I,style:F,$raw:U})=>{if(h==null)return null;const{h:z,v:q}=t.coord2pos({x:u,y:m});if(z<o||z>l||q<c||q>a)return null;if(typeof N=="object"){let{x:tt=0,y:_=0}=N,{h:G,v:J}=t.coord2pos({x:u+tt/2,y:m+_/2}),{h:st,v:ot}=t.coord2pos({x:u-tt/2,y:m-_/2});N=Math.hypot(G-st||0,J-ot||0)}let H={x:z,y:q,text:String(h),title:String(d??h),size:f,color:y,stroke:w,linetype:C,linewidth:v,alpha:S,angle:b,translateX:g,translateY:p,class:I,style:F,anchorX:M,anchorY:j,dockX:$,dockY:T,textLength:N,fontFamily:A,textAnchor:R},Y=Object.fromEntries(n.map(tt=>[tt,_=>i(tt,Object.assign(_,{_vhandled:!0}),t.getCoord(_),U)]));return[H,Y]}).filter(u=>u!=null))});return(o,l)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(r.value,c=>(O(),V("g",K({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),V(lt,null,ut(c,([a,s])=>(O(),pt(f1,K({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},rG={__name:"CoreSvgTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let l=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,a=-t.layout.fullHeight*t.extendY-t.layout.t,s=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(u=>u.map(({x:m,xend:f,y:h,yend:d,size:y=4,label:w,title:v,color:C,stroke:S,linewidth:M,linetype:j,alpha:$,"translate-x":T=0,"translate-y":g=0,"font-family":p="sans-serif","text-align":b="justify",angle:N="auto",inset:A=0,class:R,style:I,$raw:F})=>{if(w==null)return null;const{h:U,v:z}=t.coord2pos({x:m,y:h}),{h:q,v:H}=t.coord2pos({x:f,y:d});if(U<l&&q<l||U>c&&q>c||z<a&&H<a||z>s&&H>s)return null;let Y={color:C||null,fill:C||null,"fill-opacity":$==1?null:$,"font-size":y*4,stroke:S||null,"stroke-width":M,"stroke-dasharray":It(j).join(" ")||null,"stroke-opacity":$==1?null:$,"font-family":p,class:R,style:I},tt=Object.fromEntries(n.map(_=>[_,G=>i(_,Object.assign(G,{_vhandled:!0}),t.getCoord(G),F)]));if(["stretch","pre","start","center","end","post"].includes(b)){let _=Math.atan2(H-z,q-U),G,J,st=String(w).replace(/\x01|\x02/g,""),ot=Math.cos(_)*A,xt=Math.sin(_)*A;switch(b){case"stretch":G=(U+q)/2,J=(z+H)/2,Y["text-anchor"]="middle",Y.textLength=Math.hypot(q-U||0,H-z||0),Y.lengthAdjust="spacingAndGlyphs";break;case"center":G=(U+q)/2,J=(z+H)/2,Y["text-anchor"]="middle";break;case"pre":G=U,J=z,T-=ot,g-=xt,Y["text-anchor"]="end";break;case"start":G=U,J=z,T+=ot,g+=xt,Y["text-anchor"]="start";break;case"end":G=q,J=H,T-=ot,g-=xt,Y["text-anchor"]="end";break;case"post":G=q,J=H,T+=ot,g+=xt,Y["text-anchor"]="start";break}let Ot=[];return(T||g)&&Ot.push(`translate(${T}, ${g})`),_&&Ot.push(`rotate(${_*180/Math.PI})`),Object.assign(Y,{x:G,y:J,"dominant-baseline":"central","transform-origin":`${G} ${J}`,transform:Ot.join(" ")||null}),[Y,tt,st,String(v??String(w).replace(/\x01|\x02/g,""))]}else{N==="auto"&&(N=Math.atan2(H-z,q-U)*180/Math.PI);let _=o(String(w)),G=(q-U)/(_.length-1||1),J=(H-z)/(_.length-1||1),st=_.map((ot,xt)=>[{x:U+xt*G,y:z+xt*J,"text-anchor":"middle","dominant-baseline":"central",rotate:N},ot]);return(T||g)&&(Y.transform=`translate(${T}, ${g})`),[Y,tt,st,String(v??String(w).replace(/\x01|\x02/g,""))]}}).filter(m=>m!=null))});function o(l){let c=[];for(let a=0;a<l.length;a++)if(l[a]==""){let s=a+1;for(;s<l.length&&l[s]!="";)s++;c.push(l.slice(a+1,s)),a=s}else c.push(l[a]);return c}return(l,c)=>(O(),V("g",null,[(O(!0),V(lt,null,ut(r.value,a=>(O(),V("g",K({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),V(lt,null,ut(a,([s,u,m,f])=>(O(),V("text",K({ref_for:!0},s,Gt(u,!0)),[At("title",null,Vt(f),1),c[0]||(c[0]=dt()),typeof m=="string"?(O(),V(lt,{key:0},[dt(Vt(m.replace(/ /g,"\xA0")),1)],64)):(O(!0),V(lt,{key:1},ut(m,([h,d])=>(O(),V(lt,null,[d?(O(),V("tspan",K({key:0,ref_for:!0},h),Vt(d),17)):Lt("",!0)],64))),256))],16))),256))],16))),256))]))}},oG=Object.freeze(Object.defineProperty({__proto__:null,blank:HF,boxplot:FF,curve:WF,ellipse:QF,line:mo,markdown:JF,markdownsegment:_F,point:tG,polygon:nG,rect:go,stick:mo,text:iG,textsegment:rG,tile:go},Symbol.toStringTag,{value:"Module"})),sG={__name:"CoreLayer",props:{data:Object,geom:String,render:String,defaultRender:{type:String,default:"auto"}},setup(t,{expose:e}){const n={svg:oG,canvas:RF},i=X(()=>{let l=t.render??t.defaultRender;return l=="auto"?t.data.map(a=>a.length).reduce((a,s)=>a+s,0)>1e3?"canvas":"svg":n[l][t.geom]!=null?l:"svg"}),r=qt("layer"),o=X(()=>i.value=="canvas"?"pointer-events: none;":"");return e({render:i,dispatchEvent:l=>r.value?.dispatchEvent?.(l)}),(l,c)=>(O(),pt(l1(n[i.value][t.geom]),{ref_key:"layer",ref:r,style:$1(o.value),data:t.data},null,8,["style","data"]))}},lG={key:0},aG=["onPointerdown"],yo={__name:"CoreSelection",props:a1({coord2pos:Function,pos2coord:Function,layout:Object,theme:Object,flip:Boolean,move:Boolean,resize:Boolean,dismissible:Boolean,xmin:Number,xmax:Number,ymin:Number,ymax:Number,x:Boolean,y:Boolean,minRangeX:Number,minRangeY:Number,ctrlKey:Boolean,shiftKey:Boolean,altKey:Boolean,metaKey:Boolean,buttons:Number,activeTransform:Object,transition:String},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:a1(["select","selecting","selectend","click","contextmenu"],["update:modelValue"]),setup(t,{emit:e}){const n=ke(t,"modelValue"),i=bo(t,["coord2pos","pos2coord","layout","theme","flip","activeTransform","transition"]);function r({xmin:f,xmax:h,ymin:d,ymax:y,xreverse:w=!1,yreverse:v=!1}={}){if([f,h,d,y].every(S=>S==null))return null;f!=null&&h!=null&&f>h&&([f,h,w]=[h,f,!w]),d!=null&&y!=null&&d>y&&([d,y,v]=[y,d,!v]);let C={xreverse:w,yreverse:v};return f!=null&&isFinite(f)&&(C.xmin=f),h!=null&&isFinite(h)&&(C.xmax=h),d!=null&&isFinite(d)&&(C.ymin=d),y!=null&&isFinite(y)&&(C.ymax=y),C}const o=X(()=>{if(n.value==null||n.value.hidden)return null;let f=r(n.value);if(f==null)return null;let{hmin:h,hmax:d,vmin:y,vmax:w}=t.coord2pos(f,{limited:!0}),v=t.coord2pos(f);return{hmin:h,hmax:d,vmin:y,vmax:w,pos:v}}),l=X(()=>{if(!o.value)return null;let{translateH:f,translateV:h,scaleH:d,scaleV:y}=t.activeTransform,{hmin:w,hmax:v,vmin:C,vmax:S,pos:M}=o.value,j=v-w,$=S-C,T=t.layout.left,g=t.layout.top,p=1,b=1;if(M.hmin!=null&&M.hmax!=null)T+=f,p=d;else if(M.hmin!=null){let A=f+w*(d-1);p=1-A/j,T+=A*(1+w/j)}else if(M.hmax!=null){let A=f+v*(d-1);p=1+A/j,T+=A*(1-v/j)}if(M.vmin!=null&&M.vmax!=null)g+=t.activeTransform.translateV,b=t.activeTransform.scaleV;else if(M.vmin!=null){let A=h+C*(y-1);b=1-A/$,g+=A*(1+C/$)}else if(M.vmax!=null){let A=h+S*(y-1);b=1+A/$,g+=A*(1-S/$)}let N=[];return(T!=0||g!=0)&&N.push(`translate(${T}, ${g})`),(p!=1||b!=1)&&N.push(`scale(${p}, ${b})`),N.join(" ")||null}),c=X(()=>t.activeTransform.translateH!=0||t.activeTransform.translateV!=0||t.activeTransform.scaleH!=1||t.activeTransform.scaleV!=1),a=X(()=>{if(!o.value)return null;let{hmin:f,hmax:h,vmin:d,vmax:y,pos:w}=o.value,v=t.theme?.line_width??1;w.hmin==null&&(f-=v/2),w.hmax==null&&(h+=v/2),w.vmin==null&&(d-=v/2),w.vmax==null&&(y+=v/2);let C=h-f,S=y-d;return{x:f,y:d,width:C,height:S,fill:t.theme?.background??"transparent","fill-opacity":t.theme?.opacity,stroke:t.theme?.line_color??"none","stroke-width":t.theme?.line_width,"stroke-opacity":t.theme?.opacity,transform:l.value,style:{transition:t.transition,"pointer-events":"none"}}}),s=X(()=>{if(!o.value||c.value)return null;let f=10,{hmin:h,hmax:d,vmin:y,vmax:w,pos:v}=o.value,C=d-h,S=w-y,M={};i.move&&(M.tblr={x:h,y,width:C,height:S,fill:"transparent",style:"cursor:move;"}),i.resize&&(v.hmin!=null&&(M.l={x:h-f/2,y,width:f,height:S,style:"cursor:ew-resize;",class:"vvplot-interactive"}),v.hmax!=null&&(M.r={x:d-f/2,y,width:f,height:S,style:"cursor:ew-resize;"}),v.vmin!=null&&(M.t={x:h,y:y-f/2,width:C,height:f,style:"cursor:ns-resize;"}),v.vmax!=null&&(M.b={x:h,y:w-f/2,width:C,height:f,style:"cursor:ns-resize;"}),v.hmin!=null&&v.vmin!=null&&(M.tl={x:h-f/2,y:y-f/2,width:f,height:f,style:"cursor:nwse-resize;"}),v.hmax!=null&&v.vmin!=null&&(M.tr={x:d-f/2,y:y-f/2,width:f,height:f,style:"cursor:nesw-resize;"}),v.hmin!=null&&v.vmax!=null&&(M.bl={x:h-f/2,y:w-f/2,width:f,height:f,style:"cursor:nesw-resize;"}),v.hmax!=null&&v.vmax!=null&&(M.br={x:d-f/2,y:w-f/2,width:f,height:f,style:"cursor:nwse-resize;"}));let j=t.layout.left,$=t.layout.top;if(j||$)for(let T in M)M[T].transform=`translate(${j}, ${$})`;return M}),u=e;function m(f,h){if(!h||!["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(J=>i[J]==f[J]))return;f.stopPropagation(),f.preventDefault(),f.target.setPointerCapture(f.pointerId);let{xreverse:d,yreverse:y,...w}=r(n.value),v=t.coord2pos(w),{h:C,v:S}=t.pos2coord({h:v.hmin,v:v.vmin}),{h:M,v:j}=t.pos2coord({h:v.hmax,v:v.vmax}),{hmin:$,hmax:T,vmin:g,vmax:p}=v,b=!1,N={min:i.xmin,max:i.xmax},A={min:i.ymin,max:i.ymax},[R=0,I=0]=t.flip?[i.minRangeY,i.minRangeX]:[i.minRangeX,i.minRangeY],F=t.coord2pos(i),U=0,z=0,q,H,Y,tt,_=!1,G=!1;f.target.onpointermove=J=>{if(b=!0,U+=J.movementX,z+=J.movementY,h.includes("l")&&h.includes("r")){let st=yt(U,{min:F.hmin-$,max:F.hmax-T}),ot=t.pos2coord({hmin:ht($,st),hmax:ht(T,st)});C=ot.hmin,M=ot.hmax}else h.includes("l")?(C=t.pos2coord({h:$+U}).h,C=yt(C,C>M?{min:ht(M,R)}:{max:ht(M,-R)}),_=$+U>T):h.includes("r")&&(M=t.pos2coord({h:T+U}).h,M=yt(M,M>C?{min:ht(C,R)}:{max:ht(C,-R)}),_=T+U<$);if(h.includes("t")&&h.includes("b")){let st=yt(z,{min:F.vmin-g,max:F.vmax-p}),ot=t.pos2coord({vmin:ht(g,st),vmax:ht(p,st)});S=ot.vmin,j=ot.vmax}else h.includes("t")?(S=t.pos2coord({v:g+z}).v,S=yt(S,S>j?{min:ht(j,I)}:{max:ht(j,-I)}),G=g+z>p):h.includes("b")&&(j=t.pos2coord({v:p+z}).v,j=yt(j,j>S?{min:ht(S,I)}:{max:ht(S,-I)}),G=p+z<g);q=yt(t.flip?S:C,N),H=yt(t.flip?j:M,N),Y=yt(t.flip?C:S,A),tt=yt(t.flip?M:j,A),q>H&&([q,H]=[H,q]),Y>tt&&([Y,tt]=[tt,Y]),u("selecting",{xmin:q,xmax:H,ymin:Y,ymax:tt},t.theme)},f.target.onpointerup=J=>{if(J.currentTarget.onpointerup=null,J.currentTarget.onpointermove=null,i.buttons&1&&(J.currentTarget.onclick=xt=>{xt.currentTarget.onclick=null,u("click",xt)}),i.buttons&2&&(J.currentTarget.oncontextmenu=xt=>{xt.currentTarget.onclick=null,u("contextmenu",xt)}),!b)return;let st={xmin:q,xmax:H,xreverse:!!(_^d),ymin:Y,ymax:tt,yreverse:!!(G^y)},ot=new PointerEvent("select",f);n.value=Ut(st),u("selectend"),u("select",Ut(st),ot)}}return(f,h)=>a.value?(O(),V("g",lG,[At("rect",oe(m1(a.value)),null,16),h[0]||(h[0]=dt()),(O(!0),V(lt,null,ut(s.value,(d,y)=>(O(),V("rect",K({fill:"transparent"},{ref_for:!0},d,{onPointerdown:w=>m(w,y),class:"vvplot-interactive"}),null,16,aG))),256))])):Lt("",!0)}},cG=["height","width"],uG=["y1","y2"],hG=["y"],fG={__name:"CoreGuideGradientbar",props:{scales:Array,appearance:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array,limits:Object},setup(t){const e=X(()=>{let{min:o,max:l}=t.limits;return t.breaks.map(c=>({position:(c-o)/(l-o),label:String(c)}))}),n=X(()=>{let o=30,{min:l,max:c}=t.limits,a=(c-l)/(o-1),s=Array.from({length:o},(m,f)=>l+f*a),u=t.scales.map(m=>m(s));return s.map((m,f)=>Object.fromEntries(t.scales.map((h,d)=>[{color:"fill"}[h.aesthetics]??h.aesthetics,u[d][f]])))}),i=tn(0),r=qt("svg");return Ct(e,async()=>{await Cn();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(O(),V("svg",{height:n.value.length*3+20,width:i.value,ref:"svg"},[(O(!0),V(lt,null,ut(n.value,(c,a)=>(O(),pt(jn,K({width:10,height:3.1,x:10,y:10+(29-a+.5)*3,alpha:t.appearance.alpha},{ref_for:!0},c),null,16,["y","alpha"]))),256)),l[1]||(l[1]=dt()),(O(!0),V(lt,null,ut(e.value,(c,a)=>(O(),V("g",null,[At("line",{x1:"15",x2:"18",y1:10+(1-c.position)*90,y2:10+(1-c.position)*90,stroke:"black"},null,8,uG),l[0]||(l[0]=dt()),At("text",{x:"20",y:10+(1-c.position)*90,"alignment-baseline":"central"},Vt(c.label),9,hG)]))),256))],8,cG))}},xo=Object.freeze(Object.defineProperty({__proto__:null,curve:Qs,line:n1,point:ji,polygon:Js,text:f1,tile:jn},Symbol.toStringTag,{value:"Module"})),mG=["height","width"],dG=["transform"],gG={transform:"translate(10, 10)"},yG={x:"20",y:"10","alignment-baseline":"central"},xG={__name:"CoreGuideLegendkey",props:{scales:Array,appearances:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array},setup(t){const e=X(()=>{let o=t.scales.map(s=>s(t.breaks)),l=t.breaks.map((s,u)=>({bind:Object.fromEntries(t.scales.map((m,f)=>[m.aesthetics,o[f][u]])),label:String(s)})),c=Yl(l.map(s=>s.bind)),a=Map.groupBy(l.map(s=>s.label),(s,u)=>c.categories[c[u]]);return Array.from(a).map(([s,u])=>{let m={tile:{},line:{},point:{},text:{}};for(let f in m)for(let h of Object.keys(xo[f].props))s[h]&&(m[f][h]=s[h]);return{bind:m,label:u.join("; ")}})}),n=X(()=>{let{text:o,line:l,point:c,tile:a}=t.appearances,s={};return a!=null&&(s.tile={width:10,height:10,fill:"transparent",...a}),l!=null&&(s.line={x1:-5,x2:5,color:"black",...l}),c!=null&&(s.point={size:6,...c}),o!=null&&(s.text={size:4,text:"a",...o}),s}),i=tn(0),r=qt("svg");return Ct(e,async()=>{await Cn();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(O(),V("svg",{height:e.value.length*20,width:i.value,ref:"svg"},[(O(!0),V(lt,null,ut(e.value,(c,a)=>(O(),V("g",{transform:`translate(0, ${a*20})`},[At("g",gG,[(O(!0),V(lt,null,ut(n.value,(s,u)=>(O(),pt(l1(xo[u]),K({ref_for:!0},{...s,...c.bind[u]}),null,16))),256))]),l[0]||(l[0]=dt()),At("text",yG,Vt(c.label),1)],8,dG))),256))],8,mG))}},vG=Object.assign({inheritAttrs:!1},{__name:"CoreGuide",props:{scales:Array,type:{type:String,default:"legendkey"}},setup(t){const e={legendkey:xG,gradientbar:fG},n=X(()=>t.scales.reduce((o,[l])=>o??l.title,null)??t.scales.reduce((o,[l])=>o??l._title,null)),i=X(()=>{let o=t.scales.map(([c])=>c),l=o.find(c=>c.breaks!=null);return Array.isArray(l?.breaks)?Array.from(l.breaks):(l=o.find(c=>c.level!=null),l?.level?l.level.apply(Array.from(l.level)):(l=o.find(c=>c.limits!=null),En.number({minor:!0})(l.limits)))}),r=X(()=>{let o={scales:t.scales.map(([l])=>l)};if(t.type=="legendkey")o.appearances={tile:$t(...t.scales.flatMap(([l,c])=>[c.rect,c.tile,c.polygon,c.ellipse])),line:$t(...t.scales.flatMap(([l,c])=>[c.line,c.linerange,c.curve])),point:$t(...t.scales.flatMap(([l,c])=>[c.point])),text:$t(...t.scales.flatMap(([l,c])=>[c.text,c.markdown]))};else if(t.type=="gradientbar"){let l=t.scales.map(([a])=>a.limits?.max).filter(a=>a!=null).reduce((a,s)=>Math.min(a,s),1/0),c=t.scales.map(([a])=>a.limits?.min).filter(a=>a!=null).reduce((a,s)=>Math.max(a,s),-1/0);o.limits={min:c,max:l},o.appearance=$t(...t.scales.flatMap(([a,s])=>Object.values(s)))}return o});return(o,l)=>(O(),V(lt,null,[At("span",null,Vt(n.value),1),l[0]||(l[0]=dt()),(O(),pt(l1(e[t.type]),K(r.value,{breaks:i.value}),null,16,["breaks"]))],64))}}),pG={__name:"CoreLegend",props:{theme:{type:Object,default:()=>({})},scales:Map},setup(t){const e=X(()=>{let i=new Map(Array.from(t.scales).filter(([s])=>s.legend!==!1&&s.limits?.min!=s.limits?.max)),r=Array.from(i.keys()),o=r.map(s=>s.key),l=1;for(let s=0;s<o.length;s++){for(;o.includes("_guide_"+l);)l++;o[s]??=o.find((u,m)=>o[m]!=null&&Ie.isEqual(r[m].level,r[s].level))??"_guide_"+l}let c=r.map(s=>n(s)),a=zl(o,c);return Map.groupBy(i,(s,u)=>a.categories[a[u]])});function n(i){return i==null?null:["gradientbar","legendkey"].includes(i.guide)?i.guide:i.level?"legendkey":["color","fill","alpha"].includes(i.aesthetics)?"gradientbar":"legendkey"}return(i,r)=>t.scales?(O(),V("div",{key:0,class:"vvplot-legend",style:$1({gap:t.theme.spacing+"px"})},[(O(!0),V(lt,null,ut(e.value,([[o,l],c])=>(O(),pt(vG,{key:o,type:l,scales:c},null,8,["type","scales"]))),128))],4)):Lt("",!0)}},bG=["id"],wG=["width","height"],kG=["transform","width","height","fill"],AG=["transform"],SG=["transform","clip-path"],CG=["transform"],NG=["clip-path"],MG={key:1},TG=Object.assign({inheritAttrs:!1},{__name:"CorePlot",props:a1({schema:Object,layers:Array,minRange:Object,expandAdd:Object,flip:Boolean,reverse:Object,paddings:Object,expandMult:Object,coordLevels:Object,levels:Object,scales:Object,axes:{type:Array,default:()=>[]},theme:Object,render:String,clip:Boolean,action:{type:Array,default:()=>[]},selections:{type:Array,default:()=>[]},legendTeleport:null},{selectionPreview:{},selectionPreviewModifiers:{},selectionPreviewTheme:{},selectionPreviewThemeModifiers:{},transition:{},transitionModifiers:{}}),emits:a1(["click","singleclick","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","select","move","zoom","rescale","nudge"],["update:selectionPreview","update:selectionPreviewTheme","update:transition"]),setup(t,{expose:e,emit:n}){const i=al(),r=bo(t,["schema","theme","expandAdd","expandMult","coordLevels","levels","scales","flip","reverse","paddings"]),o=n,l=_1("range"),c=_1("rangePreview"),a=ke(t,"selectionPreview"),s=ke(t,"selectionPreviewTheme");function u(L,D){a.value=L,s.value=D}const m=X(()=>Object.assign({},t.theme?.selection,s.value));function f(){a.value={}}const h=ke(t,"transition"),d=qt("svg"),y=qt("layers"),w=tn(0),v=tn(0);wo(d,L=>{let{width:D,height:B}=L[0].contentRect;w.value=D,v.value=B});const C=X(()=>new r9(t.schema,r.layers)),S=X(()=>C.value.useScales(t.scales,t.levels).useCoordLevels(t.coordLevels).render(l,t.expandAdd,r.minRange)),M=Ee(()=>{let L=Object.fromEntries(["left","right","top","bottom"].map(E=>[E,t.paddings[E]&&t.theme.plot.padding[E]||0])),D=+t.theme.plot.margin.left+L.left,B=+t.theme.plot.margin.right+L.right,x=+t.theme.plot.margin.top+L.top,k=+t.theme.plot.margin.bottom+L.bottom;return x+k>v.value&&(x=v.value*(x/(x+k)),k=v.value-x),D+B>w.value&&(D=w.value*(D/(D+B)),B=w.value-D),{l:D,r:B,t:x,b:k,left:D,right:w.value-B,top:x,bottom:v.value-k,width:w.value-D-B,height:v.value-x-k}}),j=Ee(()=>{let L=S.value.coordScales,D=t.expandMult,{min:B,max:x}=N(L.x.range,D.x),{min:k,max:E}=N(L.y.range,D.y),[P,Z,W,nt]=t.flip?[k,E,B,x]:[B,x,k,E],{width:rt,height:ct}=M;return{left:rt*P||0,right:rt*(1-Z)||0,top:ct*nt||0,bottom:ct*(1-W)||0,l:rt*P||0,r:rt*Z||0,t:ct*nt||0,b:ct*W||0,width:rt*(1-P-Z),height:ct*(1-nt-W),fullWidth:rt,fullHeight:ct}});e({vplot:S,panel:M,svg:d});const $=X(()=>{let L=G.value.translateH+j.left,D=G.value.translateV+j.top,B=G.value.scaleH,x=G.value.scaleV,k=[];return(L!=0||D!=0)&&k.push(`translate(${L}, ${D})`),(B!=1||x!=1)&&k.push(`scale(${B}, ${x})`),{transform:k.join(" ")||null}});function T({value:L,min:D,max:B},x,k,E){let P={};return L!=null&&(P.value=x.invert(k?1-L/E:L/E)),k?(B!=null&&(P.min=x.invert(1-B/E)),D!=null&&(P.max=x.invert(1-D/E))):(D!=null&&(P.min=x.invert(D/E)),B!=null&&(P.max=x.invert(B/E))),P}function g({h:L,hmin:D,hmax:B,v:x,vmin:k,vmax:E}={}){let P=S.value.coordScales,{width:Z,height:W}=j,nt={},[rt,ct,kt]=t.flip?[x,k,E]:[L,D,B],[bt,ft,at]=t.flip?[L,D,B]:[x,k,E];if(rt!=null||ct!=null||kt!=null){let{value:it,min:Q,max:et}=T({value:rt,min:ct,max:kt},P.x,t.flip!=t.reverse.x,t.flip?W:Z);Object.assign(nt,Ut({x:it,xmin:Q,xmax:et})),t.flip?Object.assign(nt,Ut({v:it,vmin:Q,vmax:et})):Object.assign(nt,Ut({h:it,hmin:Q,hmax:et}))}if(bt!=null||ft!=null||at!=null){let{value:it,min:Q,max:et}=T({value:bt,min:ft,max:at},P.y,t.flip==t.reverse.y,t.flip?Z:W);Object.assign(nt,Ut({y:it,ymin:Q,ymax:et})),t.flip?Object.assign(nt,Ut({h:it,hmin:Q,hmax:et})):Object.assign(nt,Ut({v:it,vmin:Q,vmax:et}))}return nt}function p({value:L,min:D,max:B}={},{oob:x=Qn}={},k,E,P,Z){let W={};return L!=null&&(W.value=P?x(P*(E?1-k(L):k(L)),Z):0),D==null&&B==null||(E?(B!=null&&(W.min=P?x(P*(1-k(B)),Z):0),D!=null&&(W.max=P?x(P*(1-k(D)),Z):0)):(D!=null&&(W.min=P?x(P*k(D),Z):0),B!=null&&(W.max=P?x(P*k(B),Z):0))),W}function b({h:L,hmin:D,hmax:B,v:x,vmin:k,vmax:E,x:P,xmin:Z,xmax:W,y:nt,ymin:rt,ymax:ct}={},{limited:kt=!1,oob:bt=Qn}={}){let{width:ft,height:at,l:it,r:Q,t:et,b:mt}=j,vt={},_t=S.value.coordScales,Ht={min:-it,max:ft+Q},se={min:-et,max:at+mt};if((P!=null||Z!=null||W!=null)&&(t.flip?[x,k,E]=[P,Z,W]:[L,D,B]=[P,Z,W]),(nt!=null||rt!=null||ct!=null)&&(t.flip?[L,D,B]=[nt,rt,ct]:[x,k,E]=[nt,rt,ct]),L!=null||D!=null||B!=null){let{value:fe,min:me,max:Ge}=p({value:L,min:D,max:B},{oob:bt},_t[t.flip?"y":"x"],t.reverse[t.flip?"y":"x"],ft,Ht);Object.assign(vt,Ut({h:fe,hmin:me,hmax:Ge}))}if(x!=null||k!=null||E!=null){let{value:fe,min:me,max:Ge}=p({value:x,min:k,max:E},{oob:bt},_t[t.flip?"x":"y"],!t.reverse[t.flip?"x":"y"],at,se);Object.assign(vt,Ut({v:fe,vmin:me,vmax:Ge}))}return kt&&(vt.hmin==null&&(vt.hmin=Ht.min),vt.hmax==null&&(vt.hmax=Ht.max),vt.vmin==null&&(vt.vmin=se.min),vt.vmax==null&&(vt.vmax=se.max)),vt}function N({min:L,max:D}={},{min:B=0,max:x=0}={}){let k=D-L,E=+L-B*k,P=+D+x*k,Z=P-E;return{min:Z==0?0:(L-E)/Z,max:Z==0?0:(P-D)/Z}}function A(L){let D=d.value.getBoundingClientRect(),B=D.width/d.value.clientWidth,x=D.height/d.value.clientHeight,k=L.clientX-D.left,E=L.clientY-D.top,P=k/B-(M.left+j.left),Z=E/x-(M.top+j.top),W=M.left+j.right-k/B,nt=M.top+j.bottom-E/x,{x:rt,y:ct}=g({h:P,v:Z});return{l:P,t:Z,r:W,b:nt,x:rt,y:ct}}function R(L){let D=d.value.getBoundingClientRect(),B=D.width/d.value.clientWidth,x=D.height/d.value.clientHeight;return L.clientX-D.left>M.l*B&&D.right-L.clientX>M.r*B&&L.clientY-D.top>M.t*x&&D.bottom-L.clientY>M.b*x}function I(L){if(!y.value||L._vhandled||!R(L)||!Array.from(y.value).filter(k=>k.render=="canvas").length)return L;let B={};for(let k in L)B[k]=L[k];B.bubbles=!1;let x=new PointerEvent(L.type,B);for(let k of Object.keys(L)){let E=Object.getOwnPropertyDescriptor(x,k);E&&!E.writable&&!E.set||(x[k]=L[k])}for(let k=y.value.length-1;k>=0;k--)y.value[k].dispatchEvent(x)===!1&&L.preventDefault();for(let k of Object.keys(x)){let E=Object.getOwnPropertyDescriptor(x,k);E&&!E.writable&&!E.set||(L[k]=x[k])}return x._vhandled?x:L}let F,U=0,z=0;function q(L){let D=I(L),B=A(L);if(o("pointerdown",D,B),D.defaultPrevented&&L.preventDefault(),r.clip&&!R(L))return;let x=L.currentTarget,k=!1;function E(W){(Math.abs(W.screenX-L.screenX)>3||Math.abs(W.screenY-L.screenY)>3)&&(k=!0,W.currentTarget.removeEventListener("pointermove",E))}L.target.addEventListener("pointermove",E,{passive:!0}),L.target.addEventListener("pointerup",function(W){if(L.target.removeEventListener("pointermove",E),!k){let nt=new PointerEvent("singleclick",W);W.target.dispatchEvent(nt)}},{once:!0});let P=r.selections.findLast(W=>["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(nt=>W[nt]==L[nt]));if(P){let{x:W=!1,y:nt=!1,"min-range-x":rt=0,"min-range-y":ct=0}=P;L.target.setPointerCapture(L.pointerId),x.style.userSelect="none";let kt=(({xmin:ft,xmax:at})=>({min:ft,max:at}))(P),bt=(({ymin:ft,ymax:at})=>({min:ft,max:at}))(P);L.target.onpointermove=ft=>{if(!W&&!nt||!k)return;let at=A(ft),it={};if(W){let Q=yt(B.x,kt),et=yt(yt(at.x,at.x>Q?{min:ht(Q,rt)}:{max:ht(Q,-rt)}),kt);it.xmin=Q>et?et:Q,it.xmax=Q>et?Q:et,it.xreverse=Q>et}if(nt){let Q=yt(B.y,bt),et=yt(yt(at.y,at.y>Q?{min:ht(Q,ct)}:{max:ht(Q,-ct)}),bt);it.ymin=Q>et?et:Q,it.ymax=Q>et?Q:et}a.value=it,s.value=P.theme},L.target.onpointerup=ft=>{if(ft.currentTarget.onpointerup=null,ft.currentTarget.onpointermove=null,x.style.userSelect=null,a.value={},k&&(W||nt)){P.buttons&1&&(ft.currentTarget.onclick=et=>{et.currentTarget.onclick=null,De(P.onClick,et)}),P.buttons&2&&(ft.currentTarget.oncontextmenu=et=>{et.currentTarget.oncontextmenu=null,De(P.onContextmenu,et)});let at=A(ft),it={},Q=new PointerEvent("select",L);if(W){let et=yt(B.x,kt),mt=yt(yt(at.x,at.x>et?{min:ht(et,rt)}:{max:ht(et,-rt)}),kt);if(et==mt)return;it.xmin=et>mt?mt:et,it.xmax=et>mt?et:mt,it.xreverse=et>mt}if(nt){let et=yt(B.y,bt),mt=yt(yt(at.y,at.y>et?{min:ht(et,ct)}:{max:ht(et,-ct)}),bt);if(et==mt)return;it.ymin=et>mt?mt:et,it.ymax=et>mt?et:mt,it.yreverse=et>mt}P["onUpdate:modelValue"]?.(it),De(P.onSelect,Ut(it),Q)||o("select",Ut(it),Q)}if(!k&&P.dismissible!==!1){if(ft.defaultPrevented)return;let at=P.modelValue;if(P.dismissible!==!0&&["xmin","xmax","ymin","ymax"].every(et=>at?.[et]==null))return;let it={},Q=new PointerEvent("select",L);P["onUpdate:modelValue"]?.(it),De(P.onDismiss,Ut(it),Q)||o("select",Ut(it),Q)}};return}let Z=r.action.find(W=>W.action=="move"&&["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(nt=>W[nt]==L[nt]));if(Z){let W=d.value.getBoundingClientRect(),nt=W.width/d.value.clientWidth,rt=W.height/d.value.clientHeight;L.target.setPointerCapture(L.pointerId),x.style.userSelect="none",F=clearTimeout(F);let ct=0,kt=j.width,bt=0,ft=j.height,at,it,Q,et,mt=b(Z);L.target.onpointermove=vt=>{let{x:_t=!1,y:Ht=!1}=Z,[se,fe]=t.flip?[Ht,_t]:[_t,Ht];if(se){U+=vt.movementX;let ne=yt(-U/nt,{min:mt.hmin-ct,max:mt.hmax-kt});at=ct+ne,it=kt+ne}if(fe){z+=vt.movementY;let ne=yt(-z/rt,{min:mt.vmin-bt,max:mt.vmax-ft});Q=bt+ne,et=ft+ne}let{xmin:me,xmax:Ge,ymin:Pn,ymax:Dn}=g({hmin:at,hmax:it,vmin:Q,vmax:et});Object.assign(c,{xmin:me,xmax:Ge,ymin:Pn,ymax:Dn})},L.target.onpointerup=vt=>{vt.currentTarget.onpointerup=null,vt.currentTarget.onpointermove=null,x.style.userSelect=null,F=setTimeout(()=>{J(Z,vt),U=z=0},300)};return}}let H=0,Y;function tt(L){let D=I(L),B=A(L);if(o("wheel",D,B),D.defaultPrevented&&L.preventDefault(),r.clip&&!R(L))return;let x=r.action.find(k=>["zoom","nudge"].includes(k.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(E=>k[E]==L[E]));!x||!x.x&&!x.y||(Y=clearTimeout(Y),L.preventDefault(),h.value="transform 0.1s ease-out",H+=L.deltaY,_(x,B,H),Y=setTimeout(()=>{J(x,L),H=0},300))}function _(L,D,B){if(L.action=="zoom"){let{x=!1,y:k=!1,"min-range-x":E=0,"min-range-y":P=0,sensitivity:Z=1.25}=L,W=Z**(H/100),[nt,rt]=t.flip?[k,x]:[x,k],ct=b(L),kt,bt,ft,at;nt&&(kt=Math.max(D.l-Math.max(D.l,0)*W,ct.hmin??-1/0),bt=Math.min(D.l+Math.max(D.r,0)*W,ct.hmax??1/0)),rt&&(ft=Math.max(D.t-Math.max(D.t,0)*W,ct.vmin??-1/0),at=Math.min(D.t+Math.max(D.b,0)*W,ct.vmax??1/0));let{xmin:it,xmax:Q,ymin:et,ymax:mt}=g({hmin:kt,hmax:bt,vmin:ft,vmax:at});if(x&&W<1&&Q-it<E){let vt=(Q+it)/2;it=vt-E/2,Q=vt+E/2}if(k&&W<1&&mt-et<P){let vt=(mt+et)/2;et=vt-P/2,mt=vt+P/2}Object.assign(c,{xmin:it,xmax:Q,ymin:et,ymax:mt})}if(L.action=="nudge"){let{x=!1,y:k=!1,sensitivity:E=.1}=L,[P,Z]=t.flip?[k,x]:[x,k],W=b(L),nt=0,rt=j.width,ct=0,kt=j.height,bt,ft,at,it;if(P){let _t=E*j.width*(-B/120),Ht=yt(-_t,{min:W.hmin-nt,max:W.hmax-rt});bt=nt+Ht,ft=rt+Ht}if(Z){let _t=E*j.height*(-B/120),Ht=yt(-_t,{min:W.vmin-ct,max:W.vmax-kt});at=ct+Ht,it=kt+Ht}let{xmin:Q,xmax:et,ymin:mt,ymax:vt}=g({hmin:bt,hmax:ft,vmin:at,vmax:it});Object.assign(c,{xmin:Q,xmax:et,ymin:mt,ymax:vt})}}const G=X(()=>{let L=0,D=j.width,B=0,x=j.height,{hmin:k=L,hmax:E=D,vmin:P=B,vmax:Z=x}=b(c??{}),W=D-L,nt=E-k,rt=x-B,ct=Z-P;return{scaleH:W<1||nt<1||Math.abs(W-nt)<1?1:W/nt,translateH:(L*E-k*D)/(E-k)||0,scaleV:rt<1||ct<1||Math.abs(rt-ct)<1?1:rt/ct,translateV:(B*Z-P*x)/(Z-P)||0}});Ct(G,({translateH:L,translateV:D,scaleH:B,scaleV:x})=>{!L&&!D&&B==1&&x==1&&(h.value=null)},{deep:!0});function J(L,D){let B=Ut(c)??{};if(!Object.keys(B).length)return;let x=new PointerEvent(D.type,D);De(L.emit,B,x)||o(L.action,B,x),ot(B),Object.assign(c,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const st={pointerdown:q,pointerup(L){let D=I(L),B=A(L);o("pointerup",D,B),D.defaultPrevented&&L.preventDefault()},pointerover(L){o("pointerover",L,A(L))},pointerout(L){o("pointerout",L,A(L))},pointerenter(L){o("pointerenter",L,A(L))},pointerleave(L){o("pointerleave",L,A(L))},click(L){o("click",I(L),A(L))},contextmenu(L){let D=I(L),B=A(L);o("contextmenu",D,B),D.defaultPrevented&&L.preventDefault()},singleclick(L){o("singleclick",I(L),A(L))},dblclick(L){let D=I(L),B=A(L);o("dblclick",D,B),D.defaultPrevented&&L.preventDefault()},pointermove(L){let D=I(L),B=A(L);o("pointermove",D,B),D.defaultPrevented&&L.preventDefault()},wheel:tt};function ot(L){let{xmin:D,xmax:B,ymin:x,ymax:k}=L,{xmin:E,xmax:P,ymin:Z,ymax:W}=l;D=D!=null?ht(D,+t.expandAdd.x.min):E,B=B!=null?ht(B,-t.expandAdd.x.max):P,x=x!=null?ht(x,+t.expandAdd.y.min):Z,k=k!=null?ht(k,-t.expandAdd.y.max):W,!(D==E&&B==P&&x==Z&&k==W)&&Object.assign(l,{xmin:D,xmax:B,ymin:x,ymax:k})}const xt=Ee(()=>{let L=c?.xmin??l?.xmin,D=c?.xmax??l?.xmax,B=c?.ymin??l?.ymin,x=c?.ymax??l?.ymax;return{x:L||D?{min:L,max:D}:void 0,y:B||x?{min:B,max:x}:void 0}}),Ot=X(()=>{let L={x:S.value.coordScales.x,y:S.value.coordScales.y};return r.axes.filter(D=>D.coord in L).filter(D=>["h","v"].includes(D.orientation)).map(({coord:D,breaks:B,labels:x,titles:k,minorBreaks:E,...P})=>({coord:D,axis:new o9(L[D],{breaks:B,labels:x,titles:k,minorBreaks:E}),etc:P}))}),Yt=X(()=>Ot.value.map(({coord:L,axis:D,etc:B})=>{let{majorBreaks:x,minorBreaks:k,ticks:E}=D.getBindings({range:xt[L],expandMult:t.expandMult[L]}),{showGrid:P,orientation:Z,...W}=B;return{majorBreaks:x,minorBreaks:k,ticks:E,showGrid:P,coord:L,orientation:Z,bind:W}})),xe=X(()=>{let L=Yt.value.filter(B=>B.showGrid&&B.orientation=="v"),D=Yt.value.filter(B=>B.showGrid&&B.orientation=="h");return{h:{majorBreaks:v1(L.flatMap(B=>B.majorBreaks),B=>B.position),minorBreaks:v1(L.flatMap(B=>B.minorBreaks),B=>B.position)},v:{majorBreaks:v1(D.flatMap(B=>B.majorBreaks),B=>B.position),minorBreaks:v1(D.flatMap(B=>B.minorBreaks),B=>B.position)}}}),ve=X(()=>Yt.value.map(({orientation:L,coord:D,bind:B,ticks:x})=>{let{onMove:k=(...nt)=>o("move",...nt),onZoom:E=(...nt)=>o("zoom",...nt),onRescale:P=(...nt)=>o("rescale",...nt),onNudge:Z=(...nt)=>o("nudge",...nt),...W}=B;return{orientation:L,bind:{coord:D,orientation:L,ticks:x,layout:j,coord2pos:b,pos2coord:g,...W},on:{zoom:E,move:k,rescale:P,nudge:Z,rangechange:ot}}}));return(L,D)=>(O(),V("svg",K({ref:"svg",width:"100%",height:"100%"},Gt(st,!0),L.$attrs),[At("defs",null,[At("clipPath",{id:`${Tt(i)}-plot-clip`},[At("rect",{x:"0",y:"0",width:Tt(M).width,height:Tt(M).height},null,8,wG)],8,bG)]),D[6]||(D[6]=dt()),t.theme.plot.background?(O(),V("rect",{key:0,transform:`translate(${Tt(M).left}, ${Tt(M).top})`,width:Tt(M).width,height:Tt(M).height,fill:t.theme.plot.background},null,8,kG)):Lt("",!0),D[7]||(D[7]=dt()),At("g",{transform:`translate(${Tt(M).left}, ${Tt(M).top})`,style:{"pointer-events":"none"}},[t.theme.grid.h?(O(),pt(LF,K({key:0},xe.value.h,{layout:Tt(j),theme:t.theme.grid.h,activeTransform:G.value,coord2pos:b,transition:h.value}),null,16,["layout","theme","activeTransform","transition"])):Lt("",!0),D[2]||(D[2]=dt()),t.theme.grid.v?(O(),pt(OF,K({key:1},xe.value.v,{layout:Tt(j),theme:t.theme.grid.v,activeTransform:G.value,coord2pos:b,transition:h.value}),null,16,["layout","theme","activeTransform","transition"])):Lt("",!0)],8,AG),D[8]||(D[8]=dt()),At("g",{transform:`translate(${Tt(M).left}, ${Tt(M).top})`,"clip-path":r.clip?`url(#${Tt(i)}-plot-clip)`:null},[At("g",K($.value,{style:{transition:h.value}}),[(O(!0),V(lt,null,ut(S.value.layers,B=>(O(),pt(sG,K({ref_for:!0,ref_key:"layers",ref:y,data:B.data},{ref_for:!0},B.vBind,{layout:Tt(j),geom:B.geom,coord2pos:b,getCoord:A,"default-render":r.render}),null,16,["data","layout","geom","default-render"]))),256))],16),D[3]||(D[3]=dt()),(O(!0),V(lt,null,ut(r.selections,B=>(O(),pt(yo,K({coord2pos:b,pos2coord:g,layout:Tt(j),onSelecting:u,onSelectend:f,transition:h.value,activeTransform:G.value},{ref_for:!0},B,{flip:t.flip}),null,16,["layout","transition","activeTransform","flip"]))),256)),D[4]||(D[4]=dt()),$e(yo,{coord2pos:b,pos2coord:g,layout:Tt(j),modelValue:a.value,transition:h.value,activeTransform:G.value,theme:m.value,flip:t.flip},null,8,["layout","modelValue","transition","activeTransform","theme","flip"])],8,SG),D[9]||(D[9]=dt()),At("g",{transform:`translate(${Tt(M).left}, ${Tt(M).top})`},[(O(!0),V(lt,null,ut(ve.value.filter(B=>typeof B.bind.position!="number"),B=>(O(),pt(uo,K({ref_for:!0},B.bind,Gt(B.on),{transition:h.value,"onUpdate:transition":D[0]||(D[0]=x=>h.value=x),activeTransform:G.value}),null,16,["transition","activeTransform"]))),256)),D[5]||(D[5]=dt()),At("g",{"clip-path":r.clip?`url(#${Tt(i)}-plot-clip)`:null},[(O(!0),V(lt,null,ut(ve.value.filter(B=>typeof B.bind.position=="number"),B=>(O(),pt(uo,K({ref_for:!0},B.bind,Gt(B.on),{transition:h.value,"onUpdate:transition":D[1]||(D[1]=x=>h.value=x),activeTransform:G.value}),null,16,["transition","activeTransform"]))),256))],8,NG)],8,CG),D[10]||(D[10]=dt()),r.legendTeleport?(O(),V("foreignObject",MG,[(O(),pt(cl,{defer:"",to:r.legendTeleport},[$e(pG,{scales:S.value?.scales,theme:t.theme.legend},null,8,["scales","theme"])],8,["to"]))])):Lt("",!0)],16))}}),Sn={$_type:"action",$_props:{}},Pi={$_type:"layer"},Di={$_props:{geom:"tile",stat:"bar"},$_type:"layer"},qi={$_props:{geom:"blank",stat:"identity"},$_type:"layer"},Bi={$_props:{geom:"boxplot",stat:"boxplot"},$_type:"layer"},Vi={$_props:{geom:"curve",stat:"curve"},$_type:"layer",$_attrnames:["interpolate"]},Ii={$_props:{geom:"curve",stat:"density"},$_type:"layer",$_argnames:["n","kernel"]},Ri={$_props:{geom:"ellipse",stat:"ellipse"},$_type:"layer",$_argnames:["CI"]},Hi={$_props:{geom:"rect",stat:"histogram"},$_type:"layer",$_argnames:["bins","binwidth","breaks"]},Xi={$_props:{geom:"line",stat:"line"},$_type:"layer",$_argnames:["orientation"]},Yi={$_props:{geom:"line",stat:"linerange"},$_type:"layer"},zi={$_props:{geom:"markdown",stat:"text"},$_type:"layer"},Ui={$_props:{geom:"markdownsegment",stat:"textsegment"},$_type:"layer"},Fi={$_props:{geom:"line",stat:"path"},$_type:"layer"},Gi={$_props:{geom:"point",stat:"point"},$_type:"layer"},Wi={$_props:{geom:"polygon",stat:"polygon"},$_type:"layer"},Ki={$_props:{geom:"rect",stat:"rect"},$_type:"layer"},Zi={$_props:{geom:"line",stat:"segment"},$_type:"layer"},Qi={$_props:{geom:"stick",stat:"stick"},$_type:"layer"},Ji={$_props:{geom:"text",stat:"text"},$_type:"layer"},_i={$_props:{geom:"textsegment",stat:"textsegment"},$_type:"layer"},tr={$_props:{geom:"tile",stat:"tile"},$_type:"layer"},$G=Object.freeze(Object.defineProperty({__proto__:null,VVGeom:Pi,VVGeomBar:Di,VVGeomBlank:qi,VVGeomBoxplot:Bi,VVGeomCurve:Vi,VVGeomDensity:Ii,VVGeomEllipse:Ri,VVGeomHistogram:Hi,VVGeomLine:Xi,VVGeomLinerange:Yi,VVGeomMarkdown:zi,VVGeomMarkdownsegment:Ui,VVGeomPath:Fi,VVGeomPoint:Gi,VVGeomPolygon:Wi,VVGeomRect:Ki,VVGeomSegment:Zi,VVGeomStick:Qi,VVGeomText:Ji,VVGeomTextsegment:_i,VVGeomTile:tr},Symbol.toStringTag,{value:"Module"})),er={$_type:"axis",$_props:{}},nr={$_type:"axis",$_props:{coord:"x"}},ir={$_type:"axis",$_props:{coord:"y"}},EG=Object.freeze(Object.defineProperty({__proto__:null,VVAxis:er,VVAxisX:nr,VVAxisY:ir},Symbol.toStringTag,{value:"Module"})),LG={key:0,class:"vvplot-panel",style:{"pointer-events":"auto",display:"contents"}},_s=Object.assign({inheritAttrs:!1},{__name:"Plot",props:a1({data:Array,scales:Object,aes:Object,expandAdd:Object,expandMult:Object,extend:Object,levels:Object,range:Object,minRange:Object,rangePreview:Object,axes:[Object,Array],theme:[Object,Array],action:[Object,Array],reverse:Object,render:String,flip:Boolean,clip:{type:Boolean,default:!0},resize:null,legendTeleport:null},{selectionPreview:{default:()=>({})},selectionPreviewModifiers:{},selectionPreviewTheme:{default:()=>({})},selectionPreviewThemeModifiers:{},transition:{},transitionModifiers:{},width:{},widthModifiers:{},height:{},heightModifiers:{}}),emits:a1(["resize","rangechange","select","update:range","update:rangePreview"],["update:selectionPreview","update:selectionPreviewTheme","update:transition","update:width","update:height"]),setup(t,{expose:e,emit:n}){const i={...$G,...EG,VVAction:Sn,VVSelection:Sn},r={x:"y",y:"x",h:"v",v:"h",top:"bottom",bottom:"top",left:"right",right:"left"};function o(x){return x==null?x:x===""||!!x}const l=n,c=ke(t,"selectionPreview"),a=ke(t,"selectionPreviewTheme"),s=ke(t,"transition");function u(x){return x==null?[]:x.flatMap(k=>k.type==lt?u(k.children):k.type=="template"?u(k.children).map(E=>(E.props={...E.props,...k.props},E)):k)}function m(x){return{props:Object.fromEntries(x.props.map(E=>{try{if(E.type==7)return[E.arg.content,new Function("return "+E.exp.content)()];if(E.type==6)return[E.name,E.value?.content??""]}catch{}}).filter(E=>E!=null)),children:x.children.map(E=>()=>[m(E)]),type:i[x.tag]}}const f=ul(),h=hl(),d=jt({axis:{},layer:{},action:{},selection:{},dom:{}});for(let x in f)Ct(()=>f[x]?.(),k=>{let E=u(k).flatMap(Z=>Z.type?.template?Xl(Z.type.template,{decodeEntities:!0}).children.map(nt=>m(nt)):Z).filter(Z=>Z!=null),P=Object.groupBy(E,Z=>Z.type.$_type??"dom");for(let Z in P)d[Z][x]=P[Z]},{immediate:!0});const y=X(()=>Object.values(d.layer).flat()),w=X(()=>Object.values(d.axis).flat()),v=X(()=>Object.values(d.action).flat()),C=X(()=>Object.values(d.selection).flat()),S=X(()=>Object.keys(d.dom).flatMap(x=>x=="panel"?[]:d.dom[x])),M=X(()=>{let x={},k={};for(let E in h)if(E.startsWith("on")){let P=Array.isArray(h[E])?h[E]:[h[E]];x[E]=P.filter(Z=>typeof Z=="function"),k[E]=P.filter(Z=>typeof Z!="function")}else k[E]=h[E];return{plot:x,wrapper:k}}),j=X(()=>{let x=[Eo,Lo].concat(t.theme??[]);return ta(_l(Jl(...x),t.flip))},{deep:!0}),$=Ee(()=>{let x=w.value.map(P=>({...P.type.$_props,...P.props})),k=x.filter(P=>P.coord==="x"),E=x.filter(P=>P.coord==="y");return{x:k.find(P=>o(P.primary))??k.find(P=>P.primary==null&&!o(P.secondary)),y:E.find(P=>o(P.primary))??E.find(P=>P.primary==null&&!o(P.secondary))}}),T={levels:jt({}),extend:jt({}),"min-range":jt({}),"expand-add":jt({}),"expand-mult":jt({}),boundary:jt({}),reverse:jt({}),min:jt({}),max:jt({}),"min-preview":jt({}),"max-preview":jt({})};Ct($,x=>{for(let k of["x","y"])for(let E in T)T[E][k]=x?.[k]?.[E]},{immediate:!0});const g=Ee(()=>{let x={};for(let k of["x","y"]){let E=T.boundary[k];x[k]={min:E?.min??E?.[0],max:E?.max??E?.[1]}}return x}),p=X(()=>({data:t.data,aes:t.aes,extendX:T.extend.x??t.extend?.x??0,extendY:T.extend.y??t.extend?.y??0})),b=X(()=>y.value.map(x=>{let{geom:k,stat:E,scales:P,data:Z,"extend-x":W,"extend-y":nt,...rt}={...x.type.$_props,...x.props},ct=x.type.$_argnames||[],kt=x.type.$_attrnames||[],bt={},ft={},at={},it={};for(let Q in rt)Q!="key"&&(ct.includes(Q)?ft[Q]=rt[Q]:kt.includes(Q)?at[Q]=rt[Q]:Q.startsWith("on")?it[Q]=rt[Q]:typeof rt[Q]=="function"?["item-class","item-style"].includes(Q)?bt[Q.slice(5)]=rt[Q]:bt[Q]=rt[Q]:["class","style","group-class","group-style","render"].includes(Q)?it[Q]=rt[Q]:["item-class","item-style"].includes(Q)?at[Q.slice(5)]=rt[Q]:at[Q]=rt[Q]);return{geom:k,stat:E,data:Z,aes:bt,attrs:at,scales:P,args:ft,extendX:W,extendY:nt,vBind:it}})),N=X(()=>(({x,y:k,...E})=>E)(t.levels??{})),A=X(()=>{let x={};for(let k of["x","y"])x[k]=T.levels[k]??t.levels?.[k];return x}),R=X(()=>{let x={};for(let k of["x","y"]){let E=T.min[k]??t.range?.[k+"min"],P=T.max[k]??t.range?.[k+"max"];x[k+"min"]=isFinite(E)&&!Number.isNaN(E)?E:null,x[k+"max"]=isFinite(P)&&!Number.isNaN(P)?P:null}return x}),I=X(()=>{let x={};for(let k of["x","y"]){let E=T["min-preview"][k]??t.rangePreview?.[k+"min"],P=T["max-preview"][k]??t.rangePreview?.[k+"max"];x[k+"min"]=isFinite(E)&&!Number.isNaN(E)?E:null,x[k+"max"]=isFinite(P)&&!Number.isNaN(P)?P:null}return x}),F=Ee(()=>({xmin:$?.x?.["onUpdate:min"],xmax:$?.x?.["onUpdate:max"],ymin:$?.y?.["onUpdate:min"],ymax:$?.y?.["onUpdate:max"]})),U=Ee(()=>({xmin:$?.x?.["onUpdate:minPreview"],xmax:$?.x?.["onUpdate:maxPreview"],ymin:$?.y?.["onUpdate:minPreview"],ymax:$?.y?.["onUpdate:maxPreview"]})),z=jt({}),q=jt({});Ct(R,(x,k)=>{x?.xmin!==k?.xmin&&(z.xmin=x.xmin),x?.xmax!==k?.xmax&&(z.xmax=x.xmax),x?.ymin!==k?.ymin&&(z.ymin=x.ymin),x?.ymax!==k?.ymax&&(z.ymax=x.ymax)},{immediate:!0}),Ct(I,(x,k)=>{x?.xmin!==k?.xmin&&(q.xmin=x.xmin),x?.xmax!==k?.xmax&&(q.xmax=x.xmax),x?.ymin!==k?.ymin&&(q.ymin=x.ymin),x?.ymax!==k?.ymax&&(q.ymax=x.ymax)},{immediate:!0}),Ct(()=>({...z}),(x,k)=>{for(let E in F)F[E]?.(x[E]);l("rangechange",{...x},{...k}),l("update:range",{...x})},{deep:!0}),Ct(()=>q,x=>{for(let k in U)U[k]?.(x[k]);l("update:rangePreview",{...x})},{deep:!0}),or("range",z),or("rangePreview",q);const H=X(()=>({x:T["min-range"].x??t.minRange?.x??0,y:T["min-range"].y??t.minRange?.y??0})),Y=X(()=>{let x=T["expand-add"].x??t.expandAdd?.x??0,k=T["expand-add"].y??t.expandAdd?.y??0;return Array.isArray(x)?x={min:x[0],max:x[1]}:typeof x=="number"&&(x={min:x,max:x}),Array.isArray(k)?k={min:k[0],max:k[1]}:typeof k=="number"&&(k={min:k,max:k}),{x,y:k}}),tt=X(()=>{let x=T["expand-mult"].x??t.expandMult?.x??.05,k=T["expand-mult"].y??t.expandMult?.y??.05;return Array.isArray(x)?x={min:x[0],max:x[1]}:typeof x=="number"&&(x={min:x,max:x}),Array.isArray(k)?k={min:k[0],max:k[1]}:typeof k=="number"&&(k={min:k,max:k}),{x,y:k}}),_=Ee(()=>({x:o(T.reverse.x)??t.reverse?.x??!1,y:o(T.reverse.y)??t.reverse?.y??!1})),G={left:1,right:2,middle:4,X1:8,X2:16},J=X(()=>{let x=t.flip?{x:"v",y:"h"}:{x:"h",y:"v"},k=w.value.map(E=>({...E.type.$_props,...E.props,$_children:E.children})).concat(t.axes??[]);return k.every(E=>E?.coord!="x")&&k.push({coord:"x"}),k.every(E=>E?.coord!="y")&&k.push({coord:"y"}),k.map(({coord:E,position:P,title:Z,breaks:W,labels:nt,titles:rt,"minor-breaks":ct,"show-grid":kt,theme:bt=[],extend:ft,boundary:at,action:it,primary:Q,secondary:et,"expand-mult":mt,"expand-add":vt,levels:_t,limits:Ht,min:se,max:fe,"onUpdate:min":me,"onUpdate:max":Ge,$_children:Pn,...Dn})=>{let ne=x[E];P=P??"start",P=="start"?(P={h:"bottom",v:"left"}[ne],_[r[E]]&&(P=r[P])):P=="end"&&(P={h:"top",v:"right"}[ne],_[r[E]]&&(P=r[P]));let el=Object.values(Pn??{}).filter(Xt=>typeof Xt=="function").flatMap(Xt=>u(Xt())).map(Xt=>({...Xt.type.$_props,...Xt.props})).concat(it??[]).flatMap(Xt=>{let rr=[];for(let O1 of["move","nudge","zoom","rescale"]){let le=Xt[O1];if(le==null||le===!1)continue;let nl="on"+O1.charAt(0).toUpperCase()+O1.slice(1);rr.push({action:O1,[ne+"min"]:le.min??Xt.min??at?.min??at?.[0]??g?.[E]?.min,[ne+"max"]:le.max??Xt.max??at?.max??at?.[1]??g?.[E]?.max,["min-range-"+ne]:le["min-range"]??Xt["min-range"],ctrlKey:!!(le.ctrl??o(Xt.ctrl)),shiftKey:!!(le.shift??o(Xt.shift)),altKey:!!(le.alt??o(Xt.alt)),metaKey:!!(le.meta??o(Xt.meta)),buttons:le.buttons??G[le.button]??Xt.buttons??G[Xt.button]??1,emit:Xt[nl]})}return rr});return{coord:E,orientation:ne,position:P,title:Z,breaks:W,labels:nt,titles:rt,minorBreaks:ct,showGrid:o(kt)??P!=="none",extend:ft??T.extend[E],theme:Object.assign({},...[j.value?.axis?.[P]??j.value?.axis?.[ne]].concat(bt)),action:el,...Dn}}).filter(E=>E!=null)}),st=jt({});Ct(J,x=>{for(let k of["left","right","top","bottom"])st[k]=x.some(E=>E.position==k)},{immediate:!0});const ot=X(()=>v.value.map(x=>({...x.type.$_props,...x.props})).concat(t.action??[]).flatMap(x=>{let k=[];for(let E of["select","move","nudge","zoom"]){let P=x[E];if(P==null||P===!1)continue;let Z=P.x==null&&P.y==null&&x.x==null&&x.y==null,W="on"+E.charAt(0).toUpperCase()+E.slice(1);k.push({action:E,x:Z||!!(P.x??o(x.x)),y:Z||!!(P.y??o(x.y)),xmin:P.xmin??x.xmin??g?.x?.min,xmax:P.xmax??x.xmax??g?.x?.max,ymin:P.ymin??x.ymin??g?.y?.min,ymax:P.ymax??x.ymax??g?.y?.max,"min-range-x":P["min-range-x"]??x["min-range-x"],"min-range-y":P["min-range-y"]??x["min-range-y"],ctrlKey:!!(P.ctrl??o(x.ctrl)),shiftKey:!!(P.shift??o(x.shift)),altKey:!!(P.alt??o(x.alt)),metaKey:!!(P.meta??o(x.meta)),buttons:P.buttons??G[P.button]??x.buttons??G[x.button]??1,emit:x[W]})}return k})),xt=X(()=>C.value.map(x=>({...x.type.$_props,...x.props})).map(({once:x,move:k,dismissible:E,resize:P,x:Z,y:W,xmin:nt,xmax:rt,ymin:ct,ymax:kt,ctrl:bt,shift:ft,alt:at,meta:it,button:Q,buttons:et,modelValue:mt,"onUpdate:modelValue":vt,theme:_t=[],...Ht})=>{let se=Z==null&&W==null;return o(x)?(mt=jt({}),vt=null):vt==null&&(mt=jt(mt??{}),vt=fe=>{for(let me in mt)delete mt[me];Object.assign(mt,fe)}),{move:!!o(k),dismissible:E==null?void 0:E!==!1,resize:!!o(P),x:se||!!o(Z),y:se||!!o(W),xmin:nt??g?.x?.min,xmax:rt??g?.x?.max,ymin:ct??g?.y?.min,ymax:kt??g?.y?.max,ctrlKey:!!o(bt),shiftKey:!!o(ft),altKey:!!o(at),metaKey:!!o(it),buttons:et??G[Q]??1,modelValue:mt,"onUpdate:modelValue":vt,theme:Object.assign({},...[j.value?.selection].concat(_t)),onSelect:(fe,me)=>l("select",fe,me),...Ht}})),Ot=qt("wrapper"),Yt=qt("plot"),xe=ke(t,"width"),ve=ke(t,"height");po(()=>{Ct(xe,x=>{Ot.value.style.width=Te(x,"px")??null},{immediate:!0}),Ct(ve,x=>{Ot.value.style.height=Te(x,"px")??null},{immediate:!0})});let L={width:0,height:0};wo(Yt,x=>{let{width:k,height:E}=x[0].contentRect;Ot.value.style.width&&(xe.value=k),Ot.value.style.height&&(ve.value=E),(k>0||E>0)&&(L.width>0||L.height>0)&&l("resize",{width:k,height:E},L),L={width:k,height:E}});const D=X(()=>({position:"absolute",pointerEvents:"none",left:Te(Yt.value?.panel?.left,"px"),top:Te(Yt.value?.panel?.top,"px"),width:Te(Yt.value?.panel?.width,"px"),height:Te(Yt.value?.panel?.height,"px")})),B=X(()=>{let x={position:"relative",overflow:"hidden",boxSizing:"border-box"};return t.resize==="both"||t.resize===!0||t.resize===""?Object.assign(x,{resize:"both"}):t.resize==="horizontal"||t.resize==="x"&&!t.flip||t.resize==="y"&&t.flip?Object.assign(x,{resize:"horizontal"}):(t.resize==="vertical"||t.resize==="y"&&!t.flip||t.resize==="x"&&t.flip)&&Object.assign(x,{resize:"vertical"}),x});return e({get svg(){return Yt.value.svg},serialize(){return Ul(Yt.value.svg)}}),(x,k)=>(O(),V("div",K({ref:"wrapper",class:"vvplot",style:B.value},M.value.wrapper),[$e(TG,K({ref:"plot",paddings:st,schema:p.value,layers:b.value,"min-range":H.value,"expand-add":Y.value,"expand-mult":tt.value,reverse:Tt(_),flip:t.flip,"coord-levels":A.value,levels:N.value,scales:t.scales,axes:J.value,theme:j.value,selections:xt.value,transition:s.value,"onUpdate:transition":k[0]||(k[0]=E=>s.value=E)},M.value.plot,{"selection-preview":c.value,"onUpdate:selectionPreview":k[1]||(k[1]=E=>c.value=E),"selection-preview-theme":a.value,"onUpdate:selectionPreviewTheme":k[2]||(k[2]=E=>a.value=E),action:ot.value,clip:t.clip,render:t.render,legendTeleport:t.legendTeleport,onSelect:k[3]||(k[3]=(E,P)=>l("select",E,P))}),null,16,["paddings","schema","layers","min-range","expand-add","expand-mult","reverse","flip","coord-levels","levels","scales","axes","theme","selections","transition","selection-preview","selection-preview-theme","action","clip","render","legendTeleport"]),k[4]||(k[4]=dt()),At("div",{class:"vvplot-panel-container",style:$1(D.value)},[d.dom.panel?.length?(O(),V("div",LG,[(O(!0),V(lt,null,ut(d.dom.panel,E=>(O(),pt(l1(E)))),256))])):Lt("",!0)],4),k[5]||(k[5]=dt()),(O(!0),V(lt,null,ut(S.value,E=>(O(),pt(l1(E)))),256))],16))}}),tl={$_type:"selection",$_props:{}},OG=Object.freeze(Object.defineProperty({__proto__:null,VVAction:Sn,VVAxis:er,VVAxisX:nr,VVAxisY:ir,VVGeom:Pi,VVGeomBar:Di,VVGeomBlank:qi,VVGeomBoxplot:Bi,VVGeomCurve:Vi,VVGeomDensity:Ii,VVGeomEllipse:Ri,VVGeomHistogram:Hi,VVGeomLine:Xi,VVGeomLinerange:Yi,VVGeomMarkdown:zi,VVGeomMarkdownsegment:Ui,VVGeomPath:Fi,VVGeomPoint:Gi,VVGeomPolygon:Wi,VVGeomRect:Ki,VVGeomSegment:Zi,VVGeomStick:Qi,VVGeomText:Ji,VVGeomTextsegment:_i,VVGeomTile:tr,VVPlot:_s,VVSelection:tl},Symbol.toStringTag,{value:"Module"}));export{Sn as VVAction,er as VVAxis,nr as VVAxisX,ir as VVAxisY,Pi as VVGeom,Di as VVGeomBar,qi as VVGeomBlank,Bi as VVGeomBoxplot,Vi as VVGeomCurve,Ii as VVGeomDensity,Ri as VVGeomEllipse,Hi as VVGeomHistogram,Xi as VVGeomLine,Yi as VVGeomLinerange,zi as VVGeomMarkdown,Ui as VVGeomMarkdownsegment,Fi as VVGeomPath,Gi as VVGeomPoint,Wi as VVGeomPolygon,Ki as VVGeomRect,Zi as VVGeomSegment,Qi as VVGeomStick,Ji as VVGeomText,_i as VVGeomTextsegment,tr as VVGeomTile,_s as VVPlot,tl as VVSelection,OG as components,ks as number_cut,G2 as oob,En as vvbreak,di as vvlabel,ws as vvscale,ea as vvtheme};
|
|
24
|
+
`;for(var t=this.indentLevel;t>0;t--)this.buffer+=this.indent}}function OU(t,e,n){var i="<"+t;if(e&&e.length>0)for(var r=0,o;(o=e[r])!==void 0;)i+=" "+o[0]+'="'+this.esc(o[1])+'"',r++;return n&&(i+=" /"),i+=">",i}v1.prototype=Object.create(Ke.prototype);v1.prototype.render=$U;v1.prototype.out=EU;v1.prototype.cr=LU;v1.prototype.tag=OU;v1.prototype.esc=Bn;const jU=["text-anchor","font-size"],PU={key:0},g1={__name:"CoreMarkdown",props:{x:{type:Number,default:0},y:{type:Number,default:0},text:null,title:null,size:Number,color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0},anchorX:Number,anchorY:Number,dockX:Number,dockY:Number,fontFamily:String,fontSize:Number,textLength:Number,textAnchor:{type:String,default:"middle"}},setup(t){const e=new QF,n=qt("ele"),i=Ot({width:0,height:0});St([n,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([l])=>{if(!l)return;await $n();let{width:c,height:a}=l.getBBox();i.width=c,i.height=a});const r=X(()=>{let{width:l,height:c}=i,a=[],s=({start:-.5,end:.5}[t.textAnchor]??0)*l;if(t.dockX!=null||t.dockY!=null){let u={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),d={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(u)&&(u=.5),isNaN(d)&&(d=.5);let f=l*Math.abs(Math.cos(t.angle*Math.PI/180))+c*Math.abs(Math.sin(t.angle*Math.PI/180)),h=l*Math.abs(Math.sin(t.angle*Math.PI/180))+c*Math.abs(Math.cos(t.angle*Math.PI/180)),g=t.translateX,y=t.translateY;a.push(`translate(${f*(.5-u)+g},${h*(d-.5)+y})`),t.angle&&a.push(`rotate(${t.angle})`),a.push(`translate(${s},${-c/2})`)}else{let u={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),d={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(u)&&(u=.5),isNaN(d)&&(d=.5);let f=l,h=c,g=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),y=t.translateY*Math.cos(t.angle*Math.PI/180)-t.translateX*Math.sin(t.angle*Math.PI/180);t.angle&&a.push(`rotate(${t.angle})`),a.push(`translate(${f*(.5-u)+g+s},${h*(d-.5)+y-c/2})`)}return{x:t.x,y:t.y,color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-dasharray":Ht(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:a.join(" ")||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?"spacingAndGlyphs":null,"transform-origin":`${t.x} ${t.y}`}}),o=X(()=>{const l=e.parse(String(t.text)).walker(),c=[];let a=[],s=[1],u=0,d=!0,f;for(;f=l.next();){let{node:{type:h,literal:g},entering:y}=f,w=s.at(-1);if(y){if(h==="text"||h==="code"){let x=u+(d?1:0);const M=Object.assign({x:d?t.x:null,dy:De(x||null,"em")},...a,{"font-family":h==="code"?"monospace":null,"font-size":w===1?null:`${w}em`});u=0,d=!1,c.push({text:g,vbind:M})}else if(h==="strong")a.push({"font-weight":"bold"});else if(h==="emph")a.push({"font-style":"italic"});else if(h==="softbreak"||h==="paragraph")c.push({text:`
|
|
25
|
+
`}),d=!0;else if(h==="html_inline"){const x=g;if(x.includes("color=")){const M=x.match(/color=(['"])(.*?)\1/i)?.[2]??x.match(/color=(\S*)/)?.[1];M&&a.push({fill:M})}else x.includes("</font>")?a.pop():x.includes("<sup>")?(u-=.4*w,s.push(w*.7)):x.includes("</sup>")?(u+=.4*s.at(-1),s.pop()):x.includes("<sub>")?(u+=.25*w,s.push(w*.7)):x.includes("</sub>")&&(u-=.25*s.at(-1),s.pop())}}else["strong","emph"].includes(h)&&a.pop()}return c});return(l,c)=>(O(),B("text",Q({ref_key:"ele",ref:n},r.value,{"text-anchor":t.textAnchor,"font-size":(t.fontSize??t.size*4)||null}),[t.title?(O(),B("title",PU,Ut(t.title),1)):Lt("",!0),c[0]||(c[0]=mt()),(O(!0),B(lt,null,ut(o.value,a=>(O(),B("tspan",Q({ref_for:!0},a.vbind),Ut(a.text),17))),256))],16,jU))}},DU=["transform"],qU=["x2"],BU={class:"vvplot-interactive",fill:"transparent"},VU=["width","cursor"],IU={key:0,class:"vvplot-interactive",fill:"transparent"},RU=["x"],HU={__name:"CoreAxisH",props:{coord:String,ticks:{type:Array,default:()=>[]},title:String,coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Array,default:()=>[]},position:null,activeTransform:Object,transition:String},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick","move","zoom","rescale","nudge","rangechange","update:transition"],setup(t,{emit:e}){const n=X(()=>t.layout.width+t.layout.l+t.layout.r),i=X(()=>t.layout.height+t.layout.t+t.layout.b),r=N1("rangePreview"),o=X(()=>{let m=0,p={bottom:"0%",center:"50%",top:"100%"}[t.position]??t.position;return typeof p=="string"&&p.endsWith("%")?m=i.value*(1-p.slice(0,-1)/100):m=t.activeTransform.translateV+t.coord2pos({v:+p}).v*t.activeTransform.scaleV+t.layout.top,`translate(0, ${m})`}),l=X(()=>{let m=t.theme.title_position??t.theme.tick_position,p=m,b=t.theme.title_dock_x,S=t.theme.title_dock_y,k=0;return typeof m!="number"&&(p={left:0,bottom:.5,top:.5,right:1}[m]??.5,b??={left:1,right:0}[m]??.5,S??={top:0,bottom:1}[m]??.5,k=({top:-1,bottom:1}[m]??0)*(t.theme.title_offset??0)),{x:n.value*p,y:k,angle:t.theme.title_angle,dockX:b,dockY:S,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),c=X(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),a=X(()=>{let m=[];for(let p of t.ticks){typeof p=="number"&&(p={position:p});let b=t.coord2pos({h:p.position}).h,S=b*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,k=b+t.layout.l;if(k+S<0||k+S>n.value)continue;let R=(t.theme.tick_position=="top"?-1:1)*(p.length??t.theme.tick_length);m.push({key:"line-"+p.position,y1:0,y2:R,x1:k,x2:k,stroke:p.color??t.theme.tick_color,"stroke-width":p.width??t.theme.tick_width,transform:S?`translate(${S},0)`:null,style:{transition:t.transition}})}return m.filter(p=>p.stroke!=null).sort((p,b)=>p.x1-b.x1)}),s=X(()=>{let m=(t.theme.label_position??t.theme.tick_position)=="top",p=[];for(let b of t.ticks){typeof b=="number"&&(b={position:b,label:b});let S=t.coord2pos({h:b.position}).h,k=S*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,R=S+t.layout.l;if(R+k<0||R+k>n.value)continue;let V=(m?-1:1)*(t.theme.label_offset??b.length??t.theme.tick_length),K,U,F,D;t.theme.label_anchor_x!=null||t.theme.label_anchor_y!=null?(K=t.theme.label_anchor_x??.5,U=t.theme.label_anchor_y??(m?0:1)):(F=t.theme.label_dock_x??.5,D=t.theme.label_dock_y??(m?0:1)),p.push({wrapper:{key:"text-"+b.position,transform:k?`translate(${k},0)`:null,style:{transition:t.transition}},text:{x:R,y:V,angle:t.theme.label_angle,anchorX:K,anchorY:U,dockX:F,dockY:D,text:b.label,title:b.title??b.label,fontSize:b.size??t.theme.label_size,fill:b.color??t.theme.label_color,"font-family":"sans-serif",...t.theme.label_style}})}return p.filter(b=>b.text.fill!=null).sort((b,S)=>b.text.x-S.text.x)}),u=qt("i");function d(m){let p=u.value.getBoundingClientRect(),b=p.width/u.value.getBBox().width,S=m.clientX-p.left,k=S/b-t.layout.left,R=t.layout.left+t.layout.width-S/b,V={l:k,r:R},{x:K,y:U}=t.pos2coord({h:k});return K&&(V.x=K),U&&(V.y=U),V}const f=e;let h,g=0;function y(m){let p=d(m);f("pointerdown",m,p);let b=!1;function S(D){(Math.abs(D.screenX-m.screenX)>3||Math.abs(D.screenY-m.screenY)>3)&&(b=!0,D.currentTarget.removeEventListener("pointermove",S))}m.target.addEventListener("pointermove",S,{passive:!0}),m.target.addEventListener("pointerup",function(D){if(m.target.removeEventListener("pointermove",S),!b){let H=d(D);f("singleclick",new PointerEvent("singleclick",D),H)}},{once:!0});let k=t.action.find(D=>D.action=="move");if(!k)return;m.preventDefault(),m.stopPropagation(),m.target.style.cursor="grabbing",h=clearTimeout(h);let R=0,V=t.layout.width,K=t.coord2pos(k),F=u.value.getBoundingClientRect().width/u.value.getBBox().width;m.target.setPointerCapture(m.pointerId),m.target.onpointermove=D=>{if(g+=D.movementX,!b)return;let H=yt(-g/F,{min:K.hmin-R,max:K.hmax-V}),{xmin:z,xmax:et,ymin:J,ymax:Z}=t.pos2coord({hmin:R+H,hmax:V+H});Object.assign(r,{xmin:z,xmax:et,ymin:J,ymax:Z})},m.target.onpointerup=D=>{m.target.onpointermove=null,m.target.onpointerup=null,m.target.style.cursor=null,b&&(h=setTimeout(()=>{N(k,D),g=0},300))}}function w(m){let p=t.action.find(z=>z.action=="rescale");if(!p)return;m.preventDefault(),m.stopPropagation();let{"min-range-h":b=0}=p,S=d(m),k=t.coord2pos(S).h,R=k-S.l,V=k+S.r,K=t.pos2coord({hmin:R,hmax:V}),U={min:t.coord2pos(p).hmin,max:t.coord2pos({hmin:K.hmax-b,hmax:K.hmin+b}).hmin},D=u.value.getBoundingClientRect().width/u.value.getBBox().width,H=0;m.target.setPointerCapture(m.pointerId),m.target.onpointermove=z=>{H+=z.movementX;let{xmin:et,xmax:J,ymin:Z,ymax:_}=t.pos2coord({hmin:yt(V-(V-R)*S.r/Math.max(S.r-H/D,1),U),hmax:V});Object.assign(r,{xmin:et,xmax:J,ymin:Z,ymax:_})},m.target.onpointerup=z=>{m.target.onpointermove=null,m.target.onpointerup=null,N(p,z)}}function x(m){let p=t.action.find(H=>H.action=="rescale");if(!p)return;m.preventDefault(),m.stopPropagation();let{"min-range-h":b=0}=p,S=d(m),k=t.coord2pos(S).h,R=k-S.l,V=k+S.r,K=t.pos2coord({hmin:R,hmax:V}),U={min:t.coord2pos({hmin:K.hmax-b,hmax:K.hmin+b}).hmax,max:t.coord2pos(p).hmax};u.value.getBoundingClientRect().width/u.value.getBBox().width;let D=0;m.target.setPointerCapture(m.pointerId),m.target.onpointermove=H=>{D+=H.movementX;let{xmin:z,xmax:et,ymin:J,ymax:Z}=t.pos2coord({hmin:R,hmax:yt(R+(V-R)*S.l/Math.max(S.l+D,1),U)});Object.assign(r,{xmin:z,xmax:et,ymin:J,ymax:Z})},m.target.onpointerup=H=>{m.target.onpointermove=null,m.target.onpointerup=null,N(p,H)}}let M=0,A;function T(m){let p=d(m);f("wheel",m,p);let b=t.action.find(S=>["zoom","nudge"].includes(S.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(k=>S[k]==m[k]));b&&(A=clearTimeout(A),m.preventDefault(),m.stopPropagation(),f("update:transition","transform 0.1s ease-out"),M+=m.deltaY,j(b,p,M),A=setTimeout(()=>{N(b,m),M=0},300))}function j(m,p,b){if(m.action=="zoom"){let{"min-range-h":S=0,sensitivity:k=1.25}=m,R=k**(b/100),V=t.coord2pos(m),K=Math.max(p.l-Math.max(p.l,0)*R,V.hmin??-1/0),U=Math.min(p.l+Math.max(p.r,0)*R,V.hmax??1/0),{[t.coord+"min"]:F,[t.coord+"max"]:D}=t.pos2coord({hmin:K,hmax:U});if(R<1&&D-F<S){let H=(D+F)/2;F=H-S/2,D=H+S/2}r[t.coord+"min"]=F,r[t.coord+"max"]=D}if(m.action=="nudge"){let{sensitivity:S=.1}=m,k=t.coord2pos(m),R=0,V=t.layout.width,K=S*t.layout.width*(-b/120),U=yt(-K,{min:k.hmin-R,max:k.hmax-V}),{xmin:F,xmax:D,ymin:H,ymax:z}=t.pos2coord({hmin:R+U,hmax:V+U});Object.assign(r,{xmin:F,xmax:D,ymin:H,ymax:z})}}function N(m,p){let b=zt(r)??{};if(!Object.keys(b).length)return;let S=new PointerEvent(p.type,p);Be(m.emit,b,S)||f(m.action,b,S),f("rangechange",b),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const E={pointerup(m){f("pointerup",m,d(m))},pointerover(m){f("pointerover",m,d(m))},pointerout(m){f("pointerout",m,d(m))},pointerenter(m){f("pointerenter",m,d(m))},pointerleave(m){f("pointerleave",m,d(m))},dblclick(m){f("dblclick",m,d(m))},click(m){f("click",m,d(m))},contextmenu(m){f("contextmenu",m,d(m))},pointermove(m){f("pointermove",m,d(m))},wheel:T};return(m,p)=>(O(),B("g",{transform:o.value,style:P1({transition:t.transition})},[At("line",Q({ref:"i",x1:0,x2:n.value,y1:0,y2:0},c.value),null,16,qU),p[1]||(p[1]=mt()),(O(!0),B(lt,null,ut(a.value,b=>(O(),B("line",Q({ref_for:!0},b),null,16))),256)),p[2]||(p[2]=mt()),(O(!0),B(lt,null,ut(s.value,b=>(O(),B("g",Q({ref_for:!0},b.wrapper),[t.theme.label_type=="markdown"?(O(),vt(g1,Q({key:0,ref_for:!0},b.text),null,16)):(O(),vt(m1,Q({key:1,ref_for:!0},b.text),null,16))],16))),256)),p[3]||(p[3]=mt()),At("g",BU,[At("rect",Q({width:n.value,height:10,y:-5},Pt(E,!0),{onPointerdown:y,cursor:t.action.some?.(b=>b.action=="move")?"grab":null}),null,16,VU)]),p[4]||(p[4]=mt()),t.action.some?.(b=>b.action=="rescale")?(O(),B("g",IU,[At("rect",Q({width:20,height:10,y:-5,style:{cursor:"ew-resize"}},Pt(E,!0),{onPointerdown:w}),null,16),p[0]||(p[0]=mt()),At("rect",Q({width:20,height:10,y:-5,x:n.value-20,style:{cursor:"ew-resize"}},Pt(E,!0),{onPointerdown:x}),null,16,RU)])):Lt("",!0),p[5]||(p[5]=mt()),l.value.text?(O(),B(lt,{key:1},[t.theme.title_type=="markdown"?(O(),vt(g1,oe(Q({key:0},l.value)),null,16)):(O(),vt(m1,oe(Q({key:1},l.value)),null,16))],64)):Lt("",!0)],12,DU))}},XU=["transform"],YU=["y2"],zU={class:"vvplot-interactive",fill:"transparent"},FU=["height","cursor"],UU={key:0,class:"vvplot-interactive",fill:"transparent"},GU=["y"],WU={__name:"CoreAxisV",props:{coord:String,ticks:{type:Array,default:()=>[]},title:String,coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Array,default:()=>[]},position:null,activeTransform:Object,transition:String},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick","move","zoom","rescale","nudge","rangechange","update:transition"],setup(t,{emit:e}){const n=X(()=>t.layout.width+t.layout.l+t.layout.r),i=X(()=>t.layout.height+t.layout.t+t.layout.b),r=N1("rangePreview"),o=X(()=>{let m=0,p={left:"0%",center:"50%",right:"100%"}[t.position]??t.position;return typeof p=="string"&&p.endsWith("%")?m=n.value*p.slice(0,-1)/100:m=t.activeTransform.translateH+t.coord2pos({h:+p}).h*t.activeTransform.scaleH+t.layout.left,`translate(${m}, 0)`}),l=X(()=>{let m=t.theme.title_position??t.theme.tick_position,p=m,b=t.theme.title_dock_x,S=t.theme.title_dock_y,k=0;return typeof m!="number"&&(p={bottom:0,left:.5,right:.5,top:1}[m]??.5,b??={left:1,right:0}[m]??.5,S??={top:0,bottom:1}[m]??.5,k=({left:-1,right:1}[m]??0)*(t.theme.title_offset??0)),{x:k,y:i.value*(1-p),angle:t.theme.title_angle,dockX:b,dockY:S,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),c=X(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),a=X(()=>{let m=[];for(let p of t.ticks){typeof p=="number"&&(p={position:p});let b=t.coord2pos({v:p.position}).v,S=b*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,k=b+t.layout.t;if(k+S<0||k+S>i.value)continue;let R=(t.theme.tick_position=="right"?1:-1)*(p.length??t.theme.tick_length);m.push({key:"line-"+p.position,y1:k,y2:k,x1:0,x2:R,stroke:p.color??t.theme.tick_color,"stroke-width":p.width??t.theme.tick_width,transform:S?`translate(0,${S})`:null,style:{transition:t.transition}})}return m.filter(p=>p.stroke!=null).sort((p,b)=>p.y1-b.y1)}),s=X(()=>{let m=(t.theme.label_position??t.theme.tick_position)=="right",p=[];for(let b of t.ticks){typeof b=="number"&&(b={position:b});let S=t.coord2pos({v:b.position}).v,k=S*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,R=S+t.layout.t;if(R+k<0||R+k>i.value)continue;let V=(m?1:-1)*((t.theme.label_offset??b.length??t.theme.tick_length)+3),K,U,F,D;t.theme.label_anchor_x!=null||t.theme.label_anchor_y!=null?(K=t.theme.label_anchor_x??(m?0:1),U=t.theme.label_anchor_y??.5):(F=t.theme.label_dock_x??(m?0:1),D=t.theme.label_dock_y??.5),p.push({wrapper:{key:"text-"+b.position,transform:k?`translate(0,${k})`:null,style:{transition:t.transition}},text:{y:R,x:V,angle:t.theme.label_angle,anchorX:K,anchorY:U,dockX:F,dockY:D,text:b.label,title:b.title??b.label,fontSize:b.size??t.theme.label_size,fill:b.color??t.theme.label_color,"font-family":"sans-serif",...t.theme.label_style}})}return p.filter(b=>b.text.fill!=null).sort((b,S)=>b.text.y-S.text.y)}),u=qt("i");function d(m){let p=u.value.getBoundingClientRect(),b=p.height/u.value.getBBox().height,S=m.clientY-p.top,k=S/b-t.layout.top,R=t.layout.top+t.layout.height-S/b,V={t:k,b:R},{x:K,y:U}=t.pos2coord({v:k});return K&&(V.x=K),U&&(V.y=U),V}const f=e;let h,g=0;function y(m){let p=d(m);f("pointerdown",m,p);let b=!1;function S(D){(Math.abs(D.screenX-m.screenX)>3||Math.abs(D.screenY-m.screenY)>3)&&(b=!0,D.currentTarget.removeEventListener("pointermove",S))}m.target.addEventListener("pointermove",S,{passive:!0}),m.target.addEventListener("pointerup",function(D){if(m.target.removeEventListener("pointermove",S),!b){let H=d(D);f("singleclick",new PointerEvent("singleclick",D),H)}},{once:!0});let k=t.action.find(D=>D.action=="move");if(!k)return;m.preventDefault(),m.stopPropagation(),m.target.style.cursor="grabbing",h=clearTimeout(h);let R=0,V=t.layout.height,K=t.coord2pos(k),F=u.value.getBoundingClientRect().height/u.value.getBBox().height;m.target.setPointerCapture(m.pointerId),m.target.onpointermove=D=>{if(g+=D.movementY,!b)return;let H=yt(-g/F,{min:K.vmin-R,max:K.vmax-V}),{xmin:z,xmax:et,ymin:J,ymax:Z}=t.pos2coord({vmin:R+H,vmax:V+H});Object.assign(r,{xmin:z,xmax:et,ymin:J,ymax:Z})},m.target.onpointerup=D=>{m.target.onpointermove=null,m.target.onpointerup=null,m.target.style.cursor=null,b&&(h=setTimeout(()=>{N(k,D),g=0},300))}}function w(m){let p=t.action.find(z=>z.action=="rescale");if(!p)return;m.preventDefault(),m.stopPropagation();let{"min-range-v":b=0}=p,S=d(m),k=t.coord2pos(S).v,R=k-S.t,V=k+S.b,K=t.pos2coord({vmin:R,vmax:V}),U={min:t.coord2pos(p).vmin,max:t.coord2pos({vmin:K.vmax-b,vmax:K.vmin+b}).vmin},D=u.value.getBoundingClientRect().height/u.value.getBBox().height,H=0;m.target.setPointerCapture(m.pointerId),m.target.onpointermove=z=>{H+=z.movementY;let{xmin:et,xmax:J,ymin:Z,ymax:_}=t.pos2coord({vmin:yt(V-(V-R)*S.b/Math.max(S.b-H/D,1),U),vmax:V});Object.assign(r,{xmin:et,xmax:J,ymin:Z,ymax:_})},m.target.onpointerup=z=>{m.target.onpointermove=null,m.target.onpointerup=null,N(p,z)}}function x(m){let p=t.action.find(z=>z.action=="rescale");if(!p)return;m.preventDefault(),m.stopPropagation();let{"min-range-v":b=0}=p,S=d(m),k=t.coord2pos(S).v,R=k-S.t,V=k+S.b,K=t.pos2coord({vmin:R,vmax:V}),U={min:t.coord2pos({vmin:K.vmax-b,vmax:K.vmin+b}).vmax,max:t.coord2pos(p).vmax},D=u.value.getBoundingClientRect().height/u.value.getBBox().height,H=0;m.target.setPointerCapture(m.pointerId),m.target.onpointermove=z=>{H+=z.movementY;let{xmin:et,xmax:J,ymin:Z,ymax:_}=t.pos2coord({vmin:R,vmax:yt(R+(V-R)*S.t/Math.max(S.t+H/D,1),U)});Object.assign(r,{xmin:et,xmax:J,ymin:Z,ymax:_})},m.target.onpointerup=z=>{m.target.onpointermove=null,m.target.onpointerup=null,N(p,z)}}let M=0,A;function T(m){let p=d(m);f("wheel",m,p);let b=t.action.find(S=>["zoom","nudge"].includes(S.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(k=>S[k]==m[k]));b&&(A=clearTimeout(A),m.preventDefault(),m.stopPropagation(),f("update:transition","transform 0.1s ease-out"),M+=m.deltaY,j(b,p,M),A=setTimeout(()=>{N(b,m),M=0},300))}function j(m,p,b){if(m.action=="zoom"){let{"min-range-v":S=0,sensitivity:k=1.25}=m,R=k**(b/100),V=t.coord2pos(m),K=Math.max(p.t-Math.max(p.t,0)*R,V.vmin??-1/0),U=Math.min(p.t+Math.max(p.b,0)*R,V.vmax??1/0),{[t.coord+"min"]:F,[t.coord+"max"]:D}=t.pos2coord({vmin:K,vmax:U});if(R<1&&D-F<S){let H=(D+F)/2;F=H-S/2,D=H+S/2}r[t.coord+"min"]=F,r[t.coord+"max"]=D}if(m.action=="nudge"){let{sensitivity:S=.1}=m,k=t.coord2pos(m),R=0,V=t.layout.height,K=S*t.layout.height*(-b/120),U=yt(-K,{min:k.vmin-R,max:k.vmax-V}),{xmin:F,xmax:D,ymin:H,ymax:z}=t.pos2coord({vmin:R+U,vmax:V+U});Object.assign(r,{xmin:F,xmax:D,ymin:H,ymax:z})}}function N(m,p){let b=zt(r)??{};if(!Object.keys(b).length)return;let S=new PointerEvent(p.type,p);Be(m.emit,b,S)||f(m.action,b,S),f("rangechange",b),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const E={pointerup(m){f("pointerup",m,d(m))},pointerover(m){f("pointerover",m,d(m))},pointerout(m){f("pointerout",m,d(m))},pointerenter(m){f("pointerenter",m,d(m))},pointerleave(m){f("pointerleave",m,d(m))},dblclick(m){f("dblclick",m,d(m))},click(m){f("click",m,d(m))},contextmenu(m){f("contextmenu",m,d(m))},pointermove(m){f("pointermove",m,d(m))},wheel:T};return(m,p)=>(O(),B("g",{transform:o.value,style:P1({transition:t.transition})},[At("line",Q({ref:"i",x1:0,x2:0,y1:0,y2:i.value},c.value),null,16,YU),p[1]||(p[1]=mt()),(O(!0),B(lt,null,ut(a.value,b=>(O(),B("line",Q({ref_for:!0},b),null,16))),256)),p[2]||(p[2]=mt()),(O(!0),B(lt,null,ut(s.value,b=>(O(),B("g",Q({ref_for:!0},b.wrapper),[t.theme.label_type=="markdown"?(O(),vt(g1,Q({key:0,ref_for:!0},b.text),null,16)):(O(),vt(m1,Q({key:1,ref_for:!0},b.text),null,16))],16))),256)),p[3]||(p[3]=mt()),At("g",zU,[At("rect",Q({width:10,height:i.value,x:-5},Pt(E,!0),{onPointerdown:y,cursor:t.action.some?.(b=>b.action=="move")?"grab":null}),null,16,FU)]),p[4]||(p[4]=mt()),t.action.some?.(b=>b.action=="rescale")?(O(),B("g",UU,[At("rect",Q({width:10,height:20,x:-5,style:{cursor:"ns-resize"}},Pt(E,!0),{onPointerdown:w}),null,16),p[0]||(p[0]=mt()),At("rect",Q({width:10,height:20,x:-5,y:i.value-20,style:{cursor:"ns-resize"}},Pt(E,!0),{onPointerdown:x}),null,16,GU)])):Lt("",!0),p[5]||(p[5]=mt()),l.value.text?(O(),B(lt,{key:1},[t.theme.title_type=="markdown"?(O(),vt(g1,oe(Q({key:0},l.value)),null,16)):(O(),vt(m1,oe(Q({key:1},l.value)),null,16))],64)):Lt("",!0)],12,XU))}},xo={__name:"CoreAxis",props:{theme:{type:Object,default:()=>({})},position:null,orientation:null},setup(t){const e={h:HU,v:WU};return(n,i)=>t.position!="none"?(O(),vt(c1(e[t.orientation]),{key:0,theme:t.theme,position:t.position},null,8,["theme","position"])):Lt("",!0)}},KU={__name:"CoreGridH",props:{majorBreaks:{type:Array,default:()=>[]},minorBreaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){const e=X(()=>t.layout.width+t.layout.l+t.layout.r),n=X(()=>t.layout.height+t.layout.t+t.layout.b),i=X(()=>{let l=[];for(let c of t.majorBreaks){let a=t.coord2pos({v:c.position}).v;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,u=a+t.layout.t;u+s<0||u+s>n.value||l.push({key:"major-"+c.position,x1:0,x2:e.value,y1:u,y2:u,stroke:c.color??t.theme.line_color_major,"stroke-width":c.width??t.theme.line_width_major??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),r=X(()=>{let l=[];for(let c of t.minorBreaks){if(t.majorBreaks.some(d=>d.position==c.position))continue;let a=t.coord2pos({v:c.position}).v;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,u=a+t.layout.t;u+s<0||u+s>n.value||l.push({key:"minor-"+c.position,x1:0,x2:e.value,y1:u,y2:u,stroke:c.color??t.theme.line_color_minor,"stroke-width":c.width??t.theme.line_width_minor??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),o=X(()=>r.value.concat(i.value).sort((l,c)=>l.y1-c.y1));return(l,c)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(o.value,a=>(O(),B("line",Q({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},ZU={__name:"CoreGridV",props:{majorBreaks:{type:Array,default:()=>[]},minorBreaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){const e=X(()=>t.layout.width+t.layout.l+t.layout.r),n=X(()=>t.layout.height+t.layout.t+t.layout.b),i=X(()=>{let l=[];for(let c of t.majorBreaks){let a=t.coord2pos({h:c.position}).h;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,u=a+t.layout.l;u+s<0||u+s>e.value||l.push({key:"major-"+c.position,y1:0,y2:n.value,x1:u,x2:u,stroke:c.color??t.theme.line_color_major,"stroke-width":c.width??t.theme.line_width_major??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),r=X(()=>{let l=[];for(let c of t.minorBreaks){if(t.majorBreaks.some(d=>d.position==c.position))continue;let a=t.coord2pos({h:c.position}).h;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,u=a+t.layout.l;u+s<0||u+s>e.value||l.push({key:"minor-"+c.position,y1:0,y2:n.value,x1:u,x2:u,stroke:c.color??t.theme.line_color_minor,"stroke-width":c.width??t.theme.line_width_minor??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),o=X(()=>r.value.concat(i.value).sort((l,c)=>l.x1-c.x1));return(l,c)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(o.value,a=>(O(),B("line",Q({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},QU={__name:"CoreCanvasBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{x:h,xmin:g,xmax:y,y:w,ymin:x,ymax:M,lwisker:A,Q1:T,median:j,Q3:N,uwisker:E,outliers:m,$xmin:p,$xmax:b,$ymin:S,$ymax:k,fill:R="white",color:V="black",linewidth:K=1,linetype:U,alpha:F,"translate-x":D=0,"translate-y":H=0,$raw:z}of f){if(V==="transparent")continue;const{hmin:et,hmax:J,vmin:Z,vmax:_}=t.coord2pos(h==null?{ymin:x,ymax:M,xmin:T,xmax:N}:{xmin:g,xmax:y,ymin:T,ymax:N}),{h:ot,v:st}=t.coord2pos(h==null?{y:w,x:A}:{x:h,y:A}),{h:xt,v:Qt}=t.coord2pos(h==null?{y:w,x:E}:{x:h,y:E}),{h:_t,v:te}=t.coord2pos(h==null?{y:x,x:j}:{x:g,y:j}),{h:ve,v:L}=t.coord2pos(h==null?{y:M,x:j}:{x:y,y:j}),{h:P,v:q}=t.coord2pos(h==null?{y:x*.25+M*.75,x:E}:{x:g*.25+y*.75,y:E}),{h:Y,v}=t.coord2pos(h==null?{y:x*.75+M*.25,x:E}:{x:g*.75+y*.25,y:E}),{h:C,v:$}=t.coord2pos(h==null?{y:x*.25+M*.75,x:A}:{x:g*.25+y*.75,y:A}),{h:I,v:G}=t.coord2pos(h==null?{y:x*.75+M*.25,x:A}:{x:g*.75+y*.25,y:A});s.globalAlpha=F,s.setLineDash(Ht(U));const tt=new Path2D;tt.moveTo(ot+D,st+H),tt.lineTo(xt+D,Qt+H);const at=new Path2D;at.moveTo(P+D,q+H),at.lineTo(Y+D,v+H),at.moveTo(C+D,$+H),at.lineTo(I+D,G+H),s.lineWidth=K,V!=="none"&&(s.strokeStyle=V,s.stroke(tt),s.stroke(at));const it=new Path2D;it.rect(et+D,Z+H,J-et,_-Z),R!=="none"&&(s.fillStyle=R,s.fill(it)),V!=null&&(s.strokeStyle=V,s.stroke(it)),u.set(it,z);const wt=new Path2D;wt.moveTo(_t+D,te+H),wt.lineTo(ve+D,L+H),s.lineWidth=K*2,V!=="none"&&(s.strokeStyle=V,s.stroke(wt));for(let{x:kt,y:ht,$raw:ct}of m){const{h:nt,v:rt}=t.coord2pos({x:kt,y:ht}),W=new Path2D;W.arc(nt+D,rt+H,2,0,Math.PI*2),R!=="none"&&(s.fillStyle=V,s.fill(W)),u.set(W,ct)}}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const g=a.getBoundingClientRect(),y=(h.clientX-g.left)*a.width/g.width,w=(h.clientY-g.top)*a.height/g.height;for(const[x,M]of d)if(s.isPointInPath(x,y,w)){r(f,h,t.getCoord(h),M),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},JU={__name:"CoreCanvasCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const s=document.createElement("canvas");s.style.width=o.value.width+"px",s.style.height=o.value.height+"px",s.width=o.value.width*t.dpi/96,s.height=o.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(const h of t.data)for(let{points:g,fill:y="none",color:w="black",linewidth:x,linetype:M,alpha:A,"translate-x":T=0,"translate-y":j=0,$raw:N,interpolate:E}of h){if(g=g.map(S=>(({h:k,v:R})=>({x:k,y:R}))(t.coord2pos(S))).filter(S=>S.x!=null&&S.y!=null),g.length===0)continue;const m=new Path2D;let b=(typeof E=="function"?E:a[E]??bn)(m);b.lineStart();for(let S=0;S<g.length;S++)b.point(g[S].x+T,g[S].y+j);b.lineEnd(),d.set(m,N),u.lineWidth=x,u.globalAlpha=A,u.setLineDash(Ht(M)),y!=="none"&&(u.fillStyle=y,u.fill(m)),w!=null&&(u.strokeStyle=w,u.stroke(m))}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(g){if(g._vhandled)return;const y=s.getBoundingClientRect(),w=(g.clientX-y.left)*s.width/y.width,x=(g.clientY-y.top)*s.height/y.height;for(const[M,A]of f)if(u.isPointInPath(M,w,x)){r(h,g,t.getCoord(g),A),g._vhandled=!0;break}});return s});St(c,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});const a={cardinal:Ts,catmullRom:Es,linear:Bi,natural:bn};return(s,u)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},_U={__name:"CoreCanvasEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{cx:h,cy:g,A:y,B:w,C:x,fill:M="none",color:A="black",linewidth:T,linetype:j,alpha:N,"translate-x":E=0,"translate-y":m=0,$raw:p}of f){let b=Math.sqrt(x/(y*x-w*w)),S=Math.sqrt(y/(y*x-w*w));const{h:k,v:R}=t.coord2pos({x:h,y:g});let{h:V,v:K}=t.coord2pos({x:h-b,y:g-S}),{h:U,v:F}=t.coord2pos({x:h+b,y:g+S}),D=(U-V)/(2*b),H=(F-K)/(2*S);y/=D*D,w/=D*H,x/=H*H;const z=y+x,et=y*x-w*w,J=Math.sqrt(Math.max(0,z*z/4-et));let Z=1/Math.sqrt(z/2+J),_=1/Math.sqrt(z/2-J),ot=Math.atan2(2*w,y-x)/2;const st=new Path2D;st.ellipse(k+E,R+m,Z,_,ot,0,2*Math.PI),u.set(st,p),s.lineWidth=T,s.globalAlpha=N,s.setLineDash(Ht(j)),M!=="none"&&(s.fillStyle=M,s.fill(st)),A!=null&&(s.strokeStyle=A,s.stroke(st))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const g=a.getBoundingClientRect(),y=(h.clientX-g.left)*a.width/g.width,w=(h.clientY-g.top)*a.height/g.height;for(const[x,M]of d)if(s.isPointInPath(x,y,w)){r(f,h,t.getCoord(h),M),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},bo={__name:"CoreCanvasLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{x:h,y:g,xend:y,yend:w,color:x,linewidth:M,alpha:A,linetype:T,"translate-x":j=0,"translate-y":N=0,$raw:E}of f){if(x==="transparent")continue;const{h:m,v:p}=t.coord2pos({x:h,y:g}),{h:b,v:S}=t.coord2pos({x:y,y:w}),k=new Path2D;k.moveTo(m+j,p+N),k.lineTo(b+j,S+N),u.set(k,E),s.lineWidth=M,s.globalAlpha=A,s.setLineDash(Ht(T)),x!=="none"&&(s.strokeStyle=x,s.stroke(k))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const g=a.getBoundingClientRect(),y=(h.clientX-g.left)*a.width/g.width,w=(h.clientY-g.top)*a.height/g.height;for(const[x,M]of d)if(s.isPointInPath(x,y,w)){r(f,h,t.getCoord(h),M),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},tG={__name:"CoreCanvasPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o={triangle:s=>`M0-${s*2/3}L${s*.577},${s/3}L-${s*.577},${s/3}Z`,diamond:s=>`M0-${s*.707}L${s*.707},0L0,${s*.707}L-${s*.707},0Z`,square:s=>`M-${s/2}-${s/2}H${s/2}V${s/2}H-${s/2}Z`,plus:s=>`M-${s/10}-${s/2}V-${s/10}H-${s/2}V${s/10}H-${s/10}V${s/2}H${s/10}V${s/10}H${s/2}V-${s/10}H${s/10}V-${s/2}H-${s/10}Z`,corss:s=>`M-${s*.283}-${s*.424}L-${s*.424}-${s*.283}L-${s*.141},0L-${s*.424},${s*.283}L-${s*.283},${s*.424}L0,${s*.141}L${s*.283},${s*.424}L${s*.424},${s*.283}L${s*.141},0L${s*.424},-${s*.283}L${s*.283},-${s*.424}L0,-${s*.141}Z`},l=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),c=qt("container"),a=X(()=>{if(c.value==null)return;const s=document.createElement("canvas");s.style.width=l.value.width+"px",s.style.height=l.value.height+"px",s.width=l.value.width*t.dpi/96,s.height=l.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(const h of t.data)for(let{x:g,y,size:w=6,shape:x,color:M,stroke:A,linewidth:T,linetype:j,alpha:N,"translate-x":E=0,"translate-y":m=0,$raw:p}of h){const{h:b,v:S}=t.coord2pos({x:g,y}),k=new Path2D;String(x).startsWith("path:")?k.addPath(new Path2D(x.slice(5)),new DOMMatrix().translateSelf(b+E,S+m)):x in o?k.addPath(new Path2D(o[x](w)),new DOMMatrix().translate(b+E,S+m)):k.arc(b+E,S+m,w/2,0,Math.PI*2),d.set(k,p),u.lineWidth=T,u.globalAlpha=N,u.beginPath(),M!=="none"&&(u.fillStyle=M,u.fill(k)),A!=null&&(u.strokeStyle=A,u.setLineDash(Ht(j)),u.stroke(k))}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(g){if(g._vhandled)return;const y=s.getBoundingClientRect(),w=(g.clientX-y.left)*s.width/y.width,x=(g.clientY-y.top)*s.height/y.height;for(const[M,A]of f)if(u.isPointInPath(M,w,x)){r(h,g,t.getCoord(g),A),g._vhandled=!0;break}});return s});return St(a,s=>c.value.replaceChildren(s)),e({dispatchEvent:s=>a.value?.dispatchEvent?.(s)}),(s,u)=>(O(),B("foreignObject",Q(l.value,{ref:"container"}),null,16))}},eG={__name:"CoreCanvasPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{points:h,fill:g,color:y,linewidth:w,linetype:x,alpha:M,"translate-x":A=0,"translate-y":T=0,$raw:j}of f){if(h=h.map(E=>(({h:m,v:p})=>({x:m,y:p}))(t.coord2pos(E))).filter(E=>E.x!=null&&E.y!=null),h.length===0)continue;const N=new Path2D;N.moveTo(h[0].x+A,h[0].y+T);for(let E=1;E<h.length;E++)N.lineTo(h[E].x+A,h[E].y+T);N.closePath(),u.set(N,j),s.lineWidth=w,s.globalAlpha=M,s.setLineDash(Ht(x)),g!=="none"&&(s.fillStyle=g,s.fill(N)),y!=null&&(s.strokeStyle=y,s.stroke(N))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const g=a.getBoundingClientRect(),y=(h.clientX-g.left)*a.width/g.width,w=(h.clientY-g.top)*a.height/g.height;for(const[x,M]of d)if(s.isPointInPath(x,y,w)){r(f,h,t.getCoord(h),M),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},wo={__name:"CoreCanvasRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{xmin:h,xmax:g,ymin:y,ymax:w,fill:x,color:M,linewidth:A,linetype:T,alpha:j,"translate-x":N=0,"translate-y":E=0,$raw:m}of f){const{hmin:p,hmax:b,vmin:S,vmax:k}=t.coord2pos({xmin:h,xmax:g,ymin:y,ymax:w}),R=new Path2D;R.rect(p+N,S+E,b-p,k-S),u.set(R,m),s.lineWidth=A,s.globalAlpha=j,s.setLineDash(Ht(T)),x!=="none"&&(s.fillStyle=x,s.fill(R)),M!=null&&(s.strokeStyle=M,s.stroke(R))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const g=a.getBoundingClientRect(),y=(h.clientX-g.left)*a.width/g.width,w=(h.clientY-g.top)*a.height/g.height;for(const[x,M]of d)if(s.isPointInPath(x,y,w)){r(f,h,t.getCoord(h),M),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},nG={__name:"CoreCanvasText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{x:h,y:g,color:y,size:w=4,label:x="",title:M,stroke:A,linewidth:T,linetype:j,alpha:N,"anchor-x":E,"anchor-y":m,"dock-x":p,"dock-y":b,"translate-x":S=0,"translate-y":k=0,angle:R,"text-length":V,"font-family":K="sans-serif",$raw:U}of f){s.save();const{h:F,v:D}=t.coord2pos({x:h,y:g});s.textAlign="center",s.textBaseline="middle",s.lineWidth=T,s.globalAlpha=N,s.font=`${w*4}px ${K}`,s.setLineDash(Ht(j)),s.translate(F+S,D+k);let{width:H,fontBoundingBoxAscent:z,fontBoundingBoxDescent:et}=s.measureText(x),J=H,Z=z+et;if(typeof V=="object"){let{x:_=0,y:ot=0}=V,{h:st,v:xt}=t.coord2pos({x:h+_/2,y:g+ot/2}),{h:Qt,v:_t}=t.coord2pos({x:h-_/2,y:g-ot/2});J=Math.hypot(st-Qt||0,xt-_t||0)}else V!=null&&(J=V);if(p!=null||b!=null){let _={left:0,center:.5,right:1}[p]??+(p??.5),ot={bottom:0,center:.5,top:1}[b]??+(b??.5);isNaN(_)&&(_=.5),isNaN(ot)&&(ot=.5);let st=J*Math.abs(Math.cos(R*Math.PI/180))+Z*Math.abs(Math.sin(R*Math.PI/180)),xt=J*Math.abs(Math.sin(R*Math.PI/180))+Z*Math.abs(Math.cos(R*Math.PI/180));s.translate(st*(.5-_),xt*(ot-.5)),s.rotate(R*Math.PI/180)}else{let _={left:0,center:.5,right:1}[E]??+(E??.5),ot={bottom:0,center:.5,top:1}[m]??+(m??.5);isNaN(_)&&(_=.5),isNaN(ot)&&(ot=.5);let st=J,xt=Z;s.rotate(R*Math.PI/180),s.translate(st*(.5-_),xt*(ot-.5))}J!=H&&s.scale(J/H,1),y!=="none"&&(s.fillStyle=y,s.fillText(x,0,0)),A!=null&&(s.strokeStyle=A,s.strokeText(x,0,0)),s.restore()}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const g=a.getBoundingClientRect(),y=(h.clientX-g.left)*a.width/g.width,w=(h.clientY-g.top)*a.height/g.height;for(const[x,M]of d)if(s.isPointInPath(x,y,w)){r(f,h,t.getCoord(h),M),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},iG={__name:"CoreCanvasTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const s=document.createElement("canvas");s.style.width=o.value.width+"px",s.style.height=o.value.height+"px",s.width=o.value.width*t.dpi/96,s.height=o.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(const h of t.data)for(let{x:g,xend:y,y:w,yend:x,size:M=4,label:A="",title:T,color:j,stroke:N,linewidth:E,linetype:m,alpha:p,"translate-x":b=0,"translate-y":S=0,"text-length":k,"font-family":R="sans-serif","text-align":V="justify",angle:K="auto",inset:U=0,$raw:F}of h){const{h:D,v:H}=t.coord2pos({x:g,y:w}),{h:z,v:et}=t.coord2pos({x:y,y:x});if(u.save(),u.translate(b,S),u.textBaseline="middle",u.lineWidth=E,u.globalAlpha=p,u.font=`${M*4}px ${R}`,u.setLineDash(Ht(m)),["stretch","pre","start","center","end","post"].includes(V)){let J=Math.atan2(et-H,z-D),Z=String(A).replace(/\x01|\x02/g,""),_=Math.cos(J)*U,ot=Math.sin(J)*U;switch(V){case"stretch":case"center":u.translate((D+z)/2,(H+et)/2),u.textAlign="center";break;case"pre":u.translate(D-_,H-ot),u.textAlign="end";break;case"start":u.translate(D+_,H+ot),u.textAlign="start";break;case"end":u.translate(z-_,et-ot),u.textAlign="end";break;case"post":u.translate(z+_,et+ot),u.textAlign="start";break}u.rotate(J),V==="stretch"&&u.scale(Math.hypot(z-D||0,et-H||0)/u.measureText(Z).width,1),j!=="none"&&(u.fillStyle=j,u.fillText(Z,0,0)),N!=null&&(u.strokeStyle=N,u.strokeText(Z,0,0))}else{let J=K==="auto"?Math.atan2(et-H,z-D):K*Math.PI/180;u.textAlign="center";let Z=a(String(A)),_=(z-D)/(Z.length-1||1),ot=(et-H)/(Z.length-1||1);for(let st=0;st<Z.length;st++){u.save(),u.translate(D+st*_,H+st*ot),u.rotate(J);let xt=Z[st];j!=="none"&&(u.fillStyle=j,u.fillText(xt,0,0)),N!=null&&(u.strokeStyle=N,u.strokeText(xt,0,0)),u.restore()}}u.restore()}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(g){if(g._vhandled)return;const y=s.getBoundingClientRect(),w=(g.clientX-y.left)*s.width/y.width,x=(g.clientY-y.top)*s.height/y.height;for(const[M,A]of f)if(u.isPointInPath(M,w,x)){r(h,g,t.getCoord(g),A),g._vhandled=!0;break}});return s});St(c,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});function a(s){let u=[];for(let d=0;d<s.length;d++)if(s[d]==""){let f=d+1;for(;f<s.length&&s[f]!="";)f++;u.push(s.slice(d+1,f)),d=f}else u.push(s[d]);return u}return(s,u)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},rG=Object.freeze(Object.defineProperty({__proto__:null,boxplot:QU,curve:JU,ellipse:_U,line:bo,point:tG,polygon:eG,rect:wo,stick:bo,text:nG,textsegment:iG,tile:wo},Symbol.toStringTag,{value:"Module"})),oG={__name:"CoreSvgBlank",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup"],setup(t,{emit:e}){return(n,i)=>(O(),B("g"))}},sG={key:0},Vn={__name:"CoreTile",props:{x:{type:Number,default:0},y:{type:Number,default:0},width:{type:Number,default:0},height:{type:Number,default:0},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({x:t.x-t.width/2,y:t.y-t.height/2,width:t.width,height:t.height,color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Ht(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),B("rect",oe(y1(e.value)),[t.title?(O(),B("title",sG,Ut(t.title),1)):Lt("",!0)],16))}},lG={key:0},aG={key:0},Ri={__name:"CorePoint",props:{x:{type:Number,default:0},y:{type:Number,default:0},shape:String,size:{type:Number,default:6},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e={circle:"M0-0.5A0.5,0.5,0,1,1,0,0.5A0.5,0.5,0,1,1,0-0.5Z",square:"M-0.5-0.5H0.5V0.5H-0.5Z",triangle:"M0-0.667L0.577,0.333L-0.577,0.333Z",diamond:"M0-0.707L0.707,0L0,0.707L-0.707,0Z",plus:"M-0.1-0.5V-0.1H-0.5V0.1H-0.1V0.5H0.1V0.1H0.5V-0.1H0.1V-0.5H-0.1Z",cross:"M-0.283-0.424L-0.424-0.283L-0.141,0L-0.424,0.283L-0.283,0.424L0,0.141L0.283,0.424L0.424,0.283L0.141,0L0.424,-0.283L0.283,-0.424L0,-0.141Z"},n=X(()=>{let i=t.shape?.startsWith?.("path:")?t.shape?.slice?.(5):e[t.shape],r={color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Ht(t.linetype).join(" ")||null};if(i!=null){let o=[],l=t.x+t.translateX,c=t.y+t.translateY;(l!==0||c!==0)&&o.push(`translate(${l},${c})`),t.size!=1&&o.push(`scale(${t.size})`),t.angle&&o.push(`rotate(${t.angle})`),Object.assign(r,{d:i,transform:o.join(" ")||null})}else{let o=t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null;Object.assign(r,{cx:t.x,cy:t.y,r:t.size/2,transform:o})}return r});return(i,r)=>n.value.d?(O(),B("path",oe(Q({key:0},n.value)),[t.title?(O(),B("title",lG,Ut(t.title),1)):Lt("",!0)],16)):(O(),B("circle",oe(Q({key:1},n.value)),[t.title?(O(),B("title",aG,Ut(t.title),1)):Lt("",!0)],16))}},cG={key:0},r1={__name:"CoreLine",props:{x1:{type:Number,default:0},y1:{type:Number,default:0},x2:{type:Number,default:0},y2:{type:Number,default:0},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2,color:t.color||null,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Ht(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),B("line",oe(y1(e.value)),[t.title?(O(),B("title",cG,Ut(t.title),1)):Lt("",!0)],16))}},uG={__name:"CoreSvgBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,xmin:d,xmax:f,y:h,ymin:g,ymax:y,lwisker:w,Q1:x,median:M,Q3:A,uwisker:T,outliers:j,$xmin:N,$xmax:E,$ymin:m,$ymax:p,fill:b="white",color:S="black",linewidth:k,linetype:R,alpha:V,title:K,"translate-x":U=0,"translate-y":F=0,class:D,style:H,$raw:z})=>{const{hmin:et,hmax:J,vmin:Z,vmax:_}=t.coord2pos({xmin:N,xmax:E,ymin:m,ymax:p});if(et<o&&J<o||et>l&&J>l||Z<c&&_<c||Z>a&&_>a)return null;const{hmin:ot,hmax:st,vmin:xt,vmax:Qt}=t.coord2pos(u==null?{ymin:g,ymax:y,xmin:x,xmax:A}:{xmin:d,xmax:f,ymin:x,ymax:A}),{h:_t,v:te}=t.coord2pos(u==null?{y:h,x:w}:{x:u,y:w}),{h:ve,v:L}=t.coord2pos(u==null?{y:h,x:T}:{x:u,y:T}),{h:P,v:q}=t.coord2pos(u==null?{y:g,x:M}:{x:d,y:M}),{h:Y,v}=t.coord2pos(u==null?{y,x:M}:{x:f,y:M}),{h:C,v:$}=t.coord2pos(u==null?{y:g*.25+y*.75,x:T}:{x:d*.25+f*.75,y:T}),{h:I,v:G}=t.coord2pos(u==null?{y:g*.75+y*.25,x:T}:{x:d*.75+f*.25,y:T}),{h:tt,v:at}=t.coord2pos(u==null?{y:g*.25+y*.75,x:w}:{x:d*.25+f*.75,y:w}),{h:it,v:wt}=t.coord2pos(u==null?{y:g*.75+y*.25,x:w}:{x:d*.75+f*.25,y:w});let kt={rect:{x:(ot+st)/2,width:st-ot,y:(xt+Qt)/2,height:Qt-xt,fill:b,color:S,linetype:R,linewidth:k,alpha:V,title:K,translateX:U,translateY:F,class:D,style:H},line:{x1:_t,y1:te,x2:ve,y2:L,color:S,linetype:R,linewidth:k,alpha:V,translateX:U,translateY:F,class:D,style:H},midline:{x1:P,y1:q,x2:Y,y2:v,color:S,linetype:R,linewidth:(k??1)*2,alpha:V,translateX:U,translateY:F,class:D,style:H},uwisker:{x1:C,y1:$,x2:I,y2:G,color:S,linetype:R,linewidth:k,alpha:V,translateX:U,translateY:F,class:D,style:H},lwisker:{x1:tt,y1:at,x2:it,y2:wt,color:S,linetype:R,linewidth:k,alpha:V,translateX:U,translateY:F,class:D,style:H},outliers:j?.map(({x:ct,y:nt,$raw:rt})=>{const{h:W,v:pt}=t.coord2pos({x:ct,y:nt});let dt={x:W,y:pt,shape:"circle",size:4,color:S,alpha:V,translateX:U,translateY:F,class:D,style:H},Xt=Object.fromEntries(n.map(It=>[It,he=>i(It,he,rt)]));return[dt,Xt]})},ht=Object.fromEntries(n.map(ct=>[ct,nt=>i(ct,Object.assign(nt,{_vhandled:!0}),t.getCoord(nt),z)]));return[kt,ht]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),B("g",null,[Te(r1,Q({ref_for:!0},a.line),null,16),l[0]||(l[0]=mt()),Te(Vn,Q({ref_for:!0},a.rect,Pt(s)),null,16),l[1]||(l[1]=mt()),Te(r1,Q({ref_for:!0},a.midline),null,16),l[2]||(l[2]=mt()),Te(r1,Q({ref_for:!0},a.uwisker),null,16),l[3]||(l[3]=mt()),Te(r1,Q({ref_for:!0},a.lwisker),null,16),l[4]||(l[4]=mt()),(O(!0),B(lt,null,ut(a.outliers,([u,d])=>(O(),vt(Ri,Q({ref_for:!0},u,Pt(d)),null,16))),256))]))),256))],16))),256))]))}},hG={key:0},al={__name:"CoreCurve",props:{points:{type:Array,default:()=>[]},interpolate:{default:"natural"},fill:{type:String,default:"none"},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>{let i=typeof t.interpolate=="function"?t.interpolate:n[t.interpolate]??bn;return{d:a9().curve(i)(t.points.map(r=>[r.x,r.y])),color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Ht(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}}),n={cardinal:Ts,catmullRom:Es,linear:Bi,natural:bn};return(i,r)=>(O(),B("path",oe(y1(e.value)),[t.title?(O(),B("title",hG,Ut(t.title),1)):Lt("",!0)],16))}},fG={__name:"CoreSvgCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({points:u,fill:d="none",color:f="black",linewidth:h,linetype:g,alpha:y,title:w,"translate-x":x=0,"translate-y":M=0,class:A,style:T,$raw:j,interpolate:N})=>{if(u=u.map(p=>(({h:b,v:S})=>({x:b,y:S}))(t.coord2pos(p))),u.every(p=>p.x<o)||u.every(p=>p.x>l)||u.every(p=>p.y<c)||u.every(p=>p.y>a))return null;let E={points:u,fill:d,color:f,linetype:g,linewidth:h,alpha:y,title:w,translateX:x,translateY:M,class:A,style:T,interpolate:N},m=Object.fromEntries(n.map(p=>[p,b=>i(p,Object.assign(b,{_vhandled:!0}),t.getCoord(b),j)]));return[E,m]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),vt(al,Q({ref_for:!0},a,Pt(s)),null,16))),256))],16))),256))]))}},dG={key:0},mG={__name:"CoreEllipse",props:{cx:{type:Number,default:0},cy:{type:Number,default:0},rx:{type:Number,default:0},ry:{type:Number,default:0},angle:{type:Number,default:0},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>{let n=[];return(t.translateX||t.translateY)&&n.push(`translate(${t.translateX}, ${t.translateY})`),t.angle&&n.push(`rotate(${t.angle})`),{cx:t.cx,cy:t.cy,rx:t.rx,ry:t.ry,color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Ht(t.linetype).join(" ")||null,transform:n.join(" ")||null,"transform-origin":`${t.cx} ${t.cy}`}});return(n,i)=>(O(),B("ellipse",oe(y1(e.value)),[t.title?(O(),B("title",dG,Ut(t.title),1)):Lt("",!0)],16))}},gG={__name:"CoreSvgEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({cx:u,cy:d,A:f,B:h,C:g,fill:y="none",color:w="black",linewidth:x,linetype:M,alpha:A,title:T,"translate-x":j=0,"translate-y":N=0,class:E,style:m,$raw:p})=>{let b=Math.sqrt(g/(f*g-h*h)),S=Math.sqrt(f/(f*g-h*h));const{h:k,v:R}=t.coord2pos({x:u,y:d});let{h:V,v:K}=t.coord2pos({x:u-b,y:d-S}),{h:U,v:F}=t.coord2pos({x:u+b,y:d+S});if(V<o&&U<o||U>l&&V>l||K<c&&F<c||F>a&&K>a)return null;let D=(U-V)/(2*b),H=(F-K)/(2*S);f/=D*D,h/=D*H,g/=H*H;const z=f+g,et=f*g-h*h,J=Math.sqrt(Math.max(0,z*z/4-et));let Z={cx:k,cy:R,rx:1/Math.sqrt(z/2+J)||0,ry:1/Math.sqrt(z/2-J)||0,angle:Math.atan2(2*h,f-g)/2*180/Math.PI||0,fill:y,color:w,linetype:M,linewidth:x,alpha:A,title:T,translateX:j,translateY:N,class:E,style:m},_=Object.fromEntries(n.map(ot=>[ot,st=>i(ot,Object.assign(st,{_vhandled:!0}),t.getCoord(st),p)]));return[Z,_]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),vt(mG,Q({ref_for:!0},a,Pt(s)),null,16))),256))],16))),256))]))}},ko={__name:"CoreSvgLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,xend:f,yend:h,color:g="black",linewidth:y,linetype:w,alpha:x,title:M,"translate-x":A=0,"translate-y":T=0,class:j,style:N,$raw:E})=>{const{h:m,v:p}=t.coord2pos({x:u,y:d}),{h:b,v:S}=t.coord2pos({x:f,y:h});if(m<o&&b<o||m>l&&b>l||p<c&&S<c||p>a&&S>a)return null;let k={x1:m,x2:b,y1:p,y2:S,color:g,linetype:w,linewidth:y,alpha:x,title:M,translateX:A,translateY:T,class:j,style:N},R=Object.fromEntries(n.map(V=>[V,K=>i(V,Object.assign(K,{_vhandled:!0}),t.getCoord(K),E)]));return[k,R]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),vt(r1,Q({ref_for:!0},a,Pt(s)),null,16))),256))],16))),256))]))}},yG={__name:"CoreSvgMarkdown",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,size:f=4,label:h,title:g,color:y,stroke:w,linewidth:x,linetype:M,alpha:A,"anchor-x":T,"anchor-y":j,"dock-x":N,"dock-y":E,"translate-x":m=0,"translate-y":p=0,angle:b,"text-length":S,"font-family":k="sans-serif","text-anchor":R,class:V,style:K,$raw:U})=>{if(h==null)return null;const{h:F,v:D}=t.coord2pos({x:u,y:d});if(F<o||F>l||D<c||D>a)return null;if(typeof S=="object"){let{x:et=0,y:J=0}=S,{h:Z,v:_}=t.coord2pos({x:u+et/2,y:d+J/2}),{h:ot,v:st}=t.coord2pos({x:u-et/2,y:d-J/2});S=Math.hypot(Z-ot||0,_-st||0)}let H={x:F,y:D,text:String(h),title:String(g??h),size:f,color:y,stroke:w,linetype:M,linewidth:x,alpha:A,angle:b,translateX:m,translateY:p,class:V,style:K,anchorX:T,anchorY:j,dockX:N,dockY:E,textLength:S,fontFamily:k,textAnchor:R},z=Object.fromEntries(n.map(et=>[et,J=>i(et,Object.assign(J,{_vhandled:!0}),t.getCoord(J),U)]));return[H,z]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),vt(g1,Q({ref_for:!0},a,Pt(s)),null,16))),256))],16))),256))]))}},vG={__name:"CoreSvgMarkdownsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,xend:d,y:f,yend:h,size:g=4,label:y,title:w,color:x,stroke:M,linewidth:A,linetype:T,alpha:j,"translate-x":N=0,"translate-y":E=0,"anchor-x":m,"anchor-y":p=.5,"font-family":b="sans-serif","text-align":S="start",inset:k=0,class:R,style:V,$raw:K})=>{if(y==null)return null;const{h:U,v:F}=t.coord2pos({x:u,y:f}),{h:D,v:H}=t.coord2pos({x:d,y:h});if(U<o&&D<o||U>l&&D>l||F<c&&H<c||F>a&&H>a)return null;let z=Math.atan2(H-F,D-U),et={text:String(y),title:String(w??y),color:x,alpha:j,size:g,stroke:M,linewidth:A,linetype:T,fontFamily:b,class:R,style:V},J=Object.fromEntries(n.map(ot=>[ot,st=>i(ot,Object.assign(st,{_vhandled:!0}),t.getCoord(st),K)])),Z,_;switch(S){case"stretch":Z=(U+D)/2,_=(F+H)/2,m=.5,et.textLength=Math.hypot(D-U||0,H-F||0);break;case"center":Z=(U+D)/2,_=(F+H)/2,m??=.5;break;case"pre":Z=U,_=F,N-=Math.cos(z)*k,E-=Math.sin(z)*k,m??=1;break;case"end":Z=D,_=H,N-=Math.cos(z)*k,E-=Math.sin(z)*k,m??=1;break;case"post":Z=D,_=H,N+=Math.cos(z)*k,E+=Math.sin(z)*k,m??=0;break;default:Z=U,_=F,N+=Math.cos(z)*k,E+=Math.sin(z)*k,m??=0}return Object.assign(et,{x:Z,y:_,translateX:N,translateY:E,anchorX:m,anchorY:p,angle:z*180/Math.PI}),[et,J]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),vt(g1,Q({ref_for:!0},a,Pt(s)),null,16))),256))],16))),256))]))}},pG={__name:"CoreSvgPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,shape:f,size:h=6,color:g,stroke:y,linetype:w,linewidth:x,alpha:M,title:A,"translate-x":T=0,"translate-y":j=0,angle:N,class:E,style:m,$raw:p})=>{const{h:b,v:S}=t.coord2pos({x:u,y:d});if(b<o||b>l||S<c||S>a)return null;let k={x:b,y:S,shape:f,size:h,color:g,stroke:y,linetype:w,linewidth:x,alpha:M,title:A,angle:N,translateX:T,translateY:j,class:E,style:m},R=Object.fromEntries(n.map(V=>[V,K=>i(V,Object.assign(K,{_vhandled:!0}),t.getCoord(K),p)]));return[k,R]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),vt(Ri,Q({ref_for:!0},a,Pt(s)),null,16))),256))],16))),256))]))}},xG={key:0},cl={__name:"CorePolygon",props:{points:{type:Array,default:()=>[]},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({points:t.points.map(n=>`${n.x},${n.y}`).join(" "),color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Ht(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),B("polygon",oe(y1(e.value)),[t.title?(O(),B("title",xG,Ut(t.title),1)):Lt("",!0)],16))}},bG={__name:"CoreSvgPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({points:u,fill:d,color:f,linewidth:h,linetype:g,alpha:y,title:w,"translate-x":x=0,"translate-y":M=0,class:A,style:T,$raw:j})=>{if(u=u.map(m=>(({h:p,v:b})=>({x:p,y:b}))(t.coord2pos(m))),u.every(m=>m.x<o)||u.every(m=>m.x>l)||u.every(m=>m.y<c)||u.every(m=>m.y>a))return null;let N={points:u,fill:d,color:f,linewidth:h,linetype:g,alpha:y,title:w,translateX:x,translateY:M,class:A,style:T},E=Object.fromEntries(n.map(m=>[m,p=>i(m,Object.assign(p,{_vhandled:!0}),t.getCoord(p),j)]));return[N,E]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),vt(cl,Q({ref_for:!0},a,Pt(s)),null,16))),256))],16))),256))]))}},Ao={__name:"CoreSvgRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({xmin:u,xmax:d,ymin:f,ymax:h,fill:g="black",color:y,linewidth:w,linetype:x,alpha:M,title:A,"translate-x":T=0,"translate-y":j=0,class:N,style:E,$raw:m})=>{const{hmin:p,hmax:b,vmin:S,vmax:k}=t.coord2pos({xmin:u,xmax:d,ymin:f,ymax:h});if(p<o&&b<o||p>l&&b>l||S<c&&k<c||S>a&&k>a)return null;let R={x:(p+b)/2,width:b-p,y:(S+k)/2,height:k-S,fill:g,color:y,linetype:x,linewidth:w,alpha:M,title:A,translateX:T,translateY:j,class:N,style:E},V=Object.fromEntries(n.map(K=>[K,U=>i(K,Object.assign(U,{_vhandled:!0}),t.getCoord(U),m)]));return[R,V]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),vt(Vn,Q({ref_for:!0},a,Pt(s)),null,16))),256))],16))),256))]))}},wG={__name:"CoreSvgText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,size:f=4,label:h,title:g,color:y,stroke:w,linewidth:x,linetype:M,alpha:A,"anchor-x":T,"anchor-y":j,"dock-x":N,"dock-y":E,"translate-x":m=0,"translate-y":p=0,angle:b,"text-length":S,"font-family":k,"text-anchor":R,class:V,style:K,$raw:U})=>{if(h==null)return null;const{h:F,v:D}=t.coord2pos({x:u,y:d});if(F<o||F>l||D<c||D>a)return null;if(typeof S=="object"){let{x:et=0,y:J=0}=S,{h:Z,v:_}=t.coord2pos({x:u+et/2,y:d+J/2}),{h:ot,v:st}=t.coord2pos({x:u-et/2,y:d-J/2});S=Math.hypot(Z-ot||0,_-st||0)}let H={x:F,y:D,text:String(h),title:String(g??h),size:f,color:y,stroke:w,linetype:M,linewidth:x,alpha:A,angle:b,translateX:m,translateY:p,class:V,style:K,anchorX:T,anchorY:j,dockX:N,dockY:E,textLength:S,fontFamily:k,textAnchor:R},z=Object.fromEntries(n.map(et=>[et,J=>i(et,Object.assign(J,{_vhandled:!0}),t.getCoord(J),U)]));return[H,z]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),vt(m1,Q({ref_for:!0},a,Pt(s)),null,16))),256))],16))),256))]))}},kG={__name:"CoreSvgTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let l=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,a=-t.layout.fullHeight*t.extendY-t.layout.t,s=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(u=>u.map(({x:d,xend:f,y:h,yend:g,size:y=4,label:w,title:x,color:M,stroke:A,linewidth:T,linetype:j,alpha:N,"translate-x":E=0,"translate-y":m=0,"font-family":p="sans-serif","text-align":b="justify",angle:S="auto",inset:k=0,class:R,style:V,$raw:K})=>{if(w==null)return null;const{h:U,v:F}=t.coord2pos({x:d,y:h}),{h:D,v:H}=t.coord2pos({x:f,y:g});if(U<l&&D<l||U>c&&D>c||F<a&&H<a||F>s&&H>s)return null;let z={color:M||null,fill:M||null,"fill-opacity":N==1?null:N,"font-size":y*4,stroke:A||null,"stroke-width":T,"stroke-dasharray":Ht(j).join(" ")||null,"stroke-opacity":N==1?null:N,"font-family":p,class:R,style:V},et=Object.fromEntries(n.map(J=>[J,Z=>i(J,Object.assign(Z,{_vhandled:!0}),t.getCoord(Z),K)]));if(["stretch","pre","start","center","end","post"].includes(b)){let J=Math.atan2(H-F,D-U),Z,_,ot=String(w).replace(/\x01|\x02/g,""),st=Math.cos(J)*k,xt=Math.sin(J)*k;switch(b){case"stretch":Z=(U+D)/2,_=(F+H)/2,z["text-anchor"]="middle",z.textLength=Math.hypot(D-U||0,H-F||0),z.lengthAdjust="spacingAndGlyphs";break;case"center":Z=(U+D)/2,_=(F+H)/2,z["text-anchor"]="middle";break;case"pre":Z=U,_=F,E-=st,m-=xt,z["text-anchor"]="end";break;case"start":Z=U,_=F,E+=st,m+=xt,z["text-anchor"]="start";break;case"end":Z=D,_=H,E-=st,m-=xt,z["text-anchor"]="end";break;case"post":Z=D,_=H,E+=st,m+=xt,z["text-anchor"]="start";break}let Qt=[];return(E||m)&&Qt.push(`translate(${E}, ${m})`),J&&Qt.push(`rotate(${J*180/Math.PI})`),Object.assign(z,{x:Z,y:_,"dominant-baseline":"central","transform-origin":`${Z} ${_}`,transform:Qt.join(" ")||null}),[z,et,ot,String(x??String(w).replace(/\x01|\x02/g,""))]}else{S==="auto"&&(S=Math.atan2(H-F,D-U)*180/Math.PI);let J=o(String(w)),Z=(D-U)/(J.length-1||1),_=(H-F)/(J.length-1||1),ot=J.map((st,xt)=>[{x:U+xt*Z,y:F+xt*_,"text-anchor":"middle","dominant-baseline":"central",rotate:S},st]);return(E||m)&&(z.transform=`translate(${E}, ${m})`),[z,et,ot,String(x??String(w).replace(/\x01|\x02/g,""))]}}).filter(d=>d!=null))});function o(l){let c=[];for(let a=0;a<l.length;a++)if(l[a]==""){let s=a+1;for(;s<l.length&&l[s]!="";)s++;c.push(l.slice(a+1,s)),a=s}else c.push(l[a]);return c}return(l,c)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,a=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(a,([s,u,d,f])=>(O(),B("text",Q({ref_for:!0},s,Pt(u,!0)),[At("title",null,Ut(f),1),c[0]||(c[0]=mt()),typeof d=="string"?(O(),B(lt,{key:0},[mt(Ut(d.replace(/ /g,"\xA0")),1)],64)):(O(!0),B(lt,{key:1},ut(d,([h,g])=>(O(),B(lt,null,[g?(O(),B("tspan",Q({key:0,ref_for:!0},h),Ut(g),17)):Lt("",!0)],64))),256))],16))),256))],16))),256))]))}},AG=Object.freeze(Object.defineProperty({__proto__:null,blank:oG,boxplot:uG,curve:fG,ellipse:gG,line:ko,markdown:yG,markdownsegment:vG,point:pG,polygon:bG,rect:Ao,stick:ko,text:wG,textsegment:kG,tile:Ao},Symbol.toStringTag,{value:"Module"})),SG={__name:"CoreLayer",props:{data:Object,geom:String,render:String,defaultRender:{type:String,default:"auto"},dpi:Number,defaultDpi:Number},setup(t,{expose:e}){const n={svg:AG,canvas:rG},i=X(()=>{let c=t.render??t.defaultRender;return c=="auto"?t.data.map(s=>s.length).reduce((s,u)=>s+u,0)>1e3?"canvas":"svg":n[c][t.geom]!=null?c:"svg"}),r=qt("layer"),o=X(()=>i.value=="canvas"?"pointer-events: none;":"");e({render:i,dispatchEvent:c=>r.value?.dispatchEvent?.(c)});const l=X(()=>i.value==="canvas"?t.dpi??t.defaultDpi:void 0);return(c,a)=>(O(),vt(c1(n[i.value][t.geom]),{ref_key:"layer",ref:r,style:P1(o.value),data:t.data,dpi:l.value},null,8,["style","data","dpi"]))}},CG={key:0},NG=["onPointerdown"],So={__name:"CoreSelection",props:u1({coord2pos:Function,pos2coord:Function,layout:Object,theme:Object,flip:Boolean,move:Boolean,resize:Boolean,dismissible:Boolean,xmin:Number,xmax:Number,ymin:Number,ymax:Number,x:Boolean,y:Boolean,minRangeX:Number,minRangeY:Number,ctrlKey:Boolean,shiftKey:Boolean,altKey:Boolean,metaKey:Boolean,buttons:Number,activeTransform:Object,transition:String},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:u1(["select","selecting","selectend","click","contextmenu"],["update:modelValue"]),setup(t,{emit:e}){const n=ke(t,"modelValue"),i=$o(t,["coord2pos","pos2coord","layout","theme","flip","activeTransform","transition"]);function r({xmin:f,xmax:h,ymin:g,ymax:y,xreverse:w=!1,yreverse:x=!1}={}){if([f,h,g,y].every(A=>A==null))return null;f!=null&&h!=null&&f>h&&([f,h,w]=[h,f,!w]),g!=null&&y!=null&&g>y&&([g,y,x]=[y,g,!x]);let M={xreverse:w,yreverse:x};return f!=null&&isFinite(f)&&(M.xmin=f),h!=null&&isFinite(h)&&(M.xmax=h),g!=null&&isFinite(g)&&(M.ymin=g),y!=null&&isFinite(y)&&(M.ymax=y),M}const o=X(()=>{if(n.value==null||n.value.hidden)return null;let f=r(n.value);if(f==null)return null;let{hmin:h,hmax:g,vmin:y,vmax:w}=t.coord2pos(f,{limited:!0}),x=t.coord2pos(f);return{hmin:h,hmax:g,vmin:y,vmax:w,pos:x}}),l=X(()=>{if(!o.value)return null;let{translateH:f,translateV:h,scaleH:g,scaleV:y}=t.activeTransform,{hmin:w,hmax:x,vmin:M,vmax:A,pos:T}=o.value,j=x-w,N=A-M,E=t.layout.left,m=t.layout.top,p=1,b=1;if(T.hmin!=null&&T.hmax!=null)E+=f,p=g;else if(T.hmin!=null){let k=f+w*(g-1);p=1-k/j,E+=k*(1+w/j)}else if(T.hmax!=null){let k=f+x*(g-1);p=1+k/j,E+=k*(1-x/j)}if(T.vmin!=null&&T.vmax!=null)m+=t.activeTransform.translateV,b=t.activeTransform.scaleV;else if(T.vmin!=null){let k=h+M*(y-1);b=1-k/N,m+=k*(1+M/N)}else if(T.vmax!=null){let k=h+A*(y-1);b=1+k/N,m+=k*(1-A/N)}let S=[];return(E!=0||m!=0)&&S.push(`translate(${E}, ${m})`),(p!=1||b!=1)&&S.push(`scale(${p}, ${b})`),S.join(" ")||null}),c=X(()=>t.activeTransform.translateH!=0||t.activeTransform.translateV!=0||t.activeTransform.scaleH!=1||t.activeTransform.scaleV!=1),a=X(()=>{if(!o.value)return null;let{hmin:f,hmax:h,vmin:g,vmax:y,pos:w}=o.value,x=t.theme?.line_width??1;w.hmin==null&&(f-=x/2),w.hmax==null&&(h+=x/2),w.vmin==null&&(g-=x/2),w.vmax==null&&(y+=x/2);let M=h-f,A=y-g;return{x:f,y:g,width:M,height:A,fill:t.theme?.background??"transparent","fill-opacity":t.theme?.opacity,stroke:t.theme?.line_color??"none","stroke-width":t.theme?.line_width,"stroke-opacity":t.theme?.opacity,transform:l.value,style:{transition:t.transition,"pointer-events":"none"}}}),s=X(()=>{if(!o.value||c.value)return null;let f=10,{hmin:h,hmax:g,vmin:y,vmax:w,pos:x}=o.value,M=g-h,A=w-y,T={};i.move&&(T.tblr={x:h,y,width:M,height:A,fill:"transparent",style:"cursor:move;"}),i.resize&&(x.hmin!=null&&(T.l={x:h-f/2,y,width:f,height:A,style:"cursor:ew-resize;",class:"vvplot-interactive"}),x.hmax!=null&&(T.r={x:g-f/2,y,width:f,height:A,style:"cursor:ew-resize;"}),x.vmin!=null&&(T.t={x:h,y:y-f/2,width:M,height:f,style:"cursor:ns-resize;"}),x.vmax!=null&&(T.b={x:h,y:w-f/2,width:M,height:f,style:"cursor:ns-resize;"}),x.hmin!=null&&x.vmin!=null&&(T.tl={x:h-f/2,y:y-f/2,width:f,height:f,style:"cursor:nwse-resize;"}),x.hmax!=null&&x.vmin!=null&&(T.tr={x:g-f/2,y:y-f/2,width:f,height:f,style:"cursor:nesw-resize;"}),x.hmin!=null&&x.vmax!=null&&(T.bl={x:h-f/2,y:w-f/2,width:f,height:f,style:"cursor:nesw-resize;"}),x.hmax!=null&&x.vmax!=null&&(T.br={x:g-f/2,y:w-f/2,width:f,height:f,style:"cursor:nwse-resize;"}));let j=t.layout.left,N=t.layout.top;if(j||N)for(let E in T)T[E].transform=`translate(${j}, ${N})`;return T}),u=e;function d(f,h){if(!h||!["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(_=>i[_]==f[_]))return;f.stopPropagation(),f.preventDefault(),f.target.setPointerCapture(f.pointerId);let{xreverse:g,yreverse:y,...w}=r(n.value),x=t.coord2pos(w),{h:M,v:A}=t.pos2coord({h:x.hmin,v:x.vmin}),{h:T,v:j}=t.pos2coord({h:x.hmax,v:x.vmax}),{hmin:N,hmax:E,vmin:m,vmax:p}=x,b=!1,S={min:i.xmin,max:i.xmax},k={min:i.ymin,max:i.ymax},[R=0,V=0]=t.flip?[i.minRangeY,i.minRangeX]:[i.minRangeX,i.minRangeY],K=t.coord2pos(i),U=0,F=0,D,H,z,et,J=!1,Z=!1;f.target.onpointermove=_=>{if(b=!0,U+=_.movementX,F+=_.movementY,h.includes("l")&&h.includes("r")){let ot=yt(U,{min:K.hmin-N,max:K.hmax-E}),st=t.pos2coord({hmin:ft(N,ot),hmax:ft(E,ot)});M=st.hmin,T=st.hmax}else h.includes("l")?(M=t.pos2coord({h:N+U}).h,M=yt(M,M>T?{min:ft(T,R)}:{max:ft(T,-R)}),J=N+U>E):h.includes("r")&&(T=t.pos2coord({h:E+U}).h,T=yt(T,T>M?{min:ft(M,R)}:{max:ft(M,-R)}),J=E+U<N);if(h.includes("t")&&h.includes("b")){let ot=yt(F,{min:K.vmin-m,max:K.vmax-p}),st=t.pos2coord({vmin:ft(m,ot),vmax:ft(p,ot)});A=st.vmin,j=st.vmax}else h.includes("t")?(A=t.pos2coord({v:m+F}).v,A=yt(A,A>j?{min:ft(j,V)}:{max:ft(j,-V)}),Z=m+F>p):h.includes("b")&&(j=t.pos2coord({v:p+F}).v,j=yt(j,j>A?{min:ft(A,V)}:{max:ft(A,-V)}),Z=p+F<m);D=yt(t.flip?A:M,S),H=yt(t.flip?j:T,S),z=yt(t.flip?M:A,k),et=yt(t.flip?T:j,k),D>H&&([D,H]=[H,D]),z>et&&([z,et]=[et,z]),u("selecting",{xmin:D,xmax:H,ymin:z,ymax:et},t.theme)},f.target.onpointerup=_=>{if(_.currentTarget.onpointerup=null,_.currentTarget.onpointermove=null,i.buttons&1&&(_.currentTarget.onclick=xt=>{xt.currentTarget.onclick=null,u("click",xt)}),i.buttons&2&&(_.currentTarget.oncontextmenu=xt=>{xt.currentTarget.onclick=null,u("contextmenu",xt)}),!b)return;let ot={xmin:D,xmax:H,xreverse:!!(J^g),ymin:z,ymax:et,yreverse:!!(Z^y)},st=new PointerEvent("select",f);n.value=zt(ot),u("selectend"),u("select",zt(ot),st)}}return(f,h)=>a.value?(O(),B("g",CG,[At("rect",oe(y1(a.value)),null,16),h[0]||(h[0]=mt()),(O(!0),B(lt,null,ut(s.value,(g,y)=>(O(),B("rect",Q({fill:"transparent"},{ref_for:!0},g,{onPointerdown:w=>d(w,y),class:"vvplot-interactive"}),null,16,NG))),256))])):Lt("",!0)}},MG=["height","width"],TG=["y1","y2"],$G=["y"],EG={__name:"CoreGuideGradientbar",props:{scales:Array,appearance:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array,limits:Object},setup(t){const e=X(()=>{let{min:o,max:l}=t.limits;return t.breaks.map(c=>({position:(c-o)/(l-o),label:String(c)}))}),n=X(()=>{let o=30,{min:l,max:c}=t.limits,a=(c-l)/(o-1),s=Array.from({length:o},(d,f)=>l+f*a),u=t.scales.map(d=>d(s));return s.map((d,f)=>Object.fromEntries(t.scales.map((h,g)=>[{color:"fill"}[h.aesthetics]??h.aesthetics,u[g][f]])))}),i=on(0),r=qt("svg");return St(e,async()=>{await $n();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(O(),B("svg",{height:n.value.length*3+20,width:i.value,ref:"svg"},[(O(!0),B(lt,null,ut(n.value,(c,a)=>(O(),vt(Vn,Q({width:10,height:3.1,x:10,y:10+(29-a+.5)*3,alpha:t.appearance.alpha},{ref_for:!0},c),null,16,["y","alpha"]))),256)),l[1]||(l[1]=mt()),(O(!0),B(lt,null,ut(e.value,(c,a)=>(O(),B("g",null,[At("line",{x1:"15",x2:"18",y1:10+(1-c.position)*90,y2:10+(1-c.position)*90,stroke:"black"},null,8,TG),l[0]||(l[0]=mt()),At("text",{x:"20",y:10+(1-c.position)*90,"alignment-baseline":"central"},Ut(c.label),9,$G)]))),256))],8,MG))}},Co=Object.freeze(Object.defineProperty({__proto__:null,curve:al,line:r1,point:Ri,polygon:cl,text:m1,tile:Vn},Symbol.toStringTag,{value:"Module"})),LG=["height","width"],OG=["transform"],jG={transform:"translate(10, 10)"},PG={x:"20",y:"10","alignment-baseline":"central"},DG={__name:"CoreGuideLegendkey",props:{scales:Array,appearances:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array},setup(t){const e=X(()=>{let o=t.scales.map(s=>s(t.breaks)),l=t.breaks.map((s,u)=>({bind:Object.fromEntries(t.scales.map((d,f)=>[d.aesthetics,o[f][u]])),label:String(s)})),c=sa(l.map(s=>s.bind)),a=Map.groupBy(l.map(s=>s.label),(s,u)=>c.categories[c[u]]);return Array.from(a).map(([s,u])=>{let d={tile:{},line:{},point:{},text:{}};for(let f in d)for(let h of Object.keys(Co[f].props))s[h]&&(d[f][h]=s[h]);return{bind:d,label:u.join("; ")}})}),n=X(()=>{let{text:o,line:l,point:c,tile:a}=t.appearances,s={};return a!=null&&(s.tile={width:10,height:10,fill:"transparent",...a}),l!=null&&(s.line={x1:-5,x2:5,color:"black",...l}),c!=null&&(s.point={size:6,...c}),o!=null&&(s.text={size:4,text:"a",...o}),s}),i=on(0),r=qt("svg");return St(e,async()=>{await $n();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(O(),B("svg",{height:e.value.length*20,width:i.value,ref:"svg"},[(O(!0),B(lt,null,ut(e.value,(c,a)=>(O(),B("g",{transform:`translate(0, ${a*20})`},[At("g",jG,[(O(!0),B(lt,null,ut(n.value,(s,u)=>(O(),vt(c1(Co[u]),Q({ref_for:!0},{...s,...c.bind[u]}),null,16))),256))]),l[0]||(l[0]=mt()),At("text",PG,Ut(c.label),1)],8,OG))),256))],8,LG))}},qG=Object.assign({inheritAttrs:!1},{__name:"CoreGuide",props:{scales:Array,type:{type:String,default:"legendkey"}},setup(t){const e={legendkey:DG,gradientbar:EG},n=X(()=>t.scales.reduce((o,[l])=>o??l.title,null)??t.scales.reduce((o,[l])=>o??l._title,null)),i=X(()=>{let o=t.scales.map(([c])=>c),l=o.find(c=>c.breaks!=null);return Array.isArray(l?.breaks)?Array.from(l.breaks):(l=o.find(c=>c.level!=null),l?.level?l.level.apply(Array.from(l.level)):(l=o.find(c=>c.limits!=null),Dn.number({minor:!0})(l.limits)))}),r=X(()=>{let o={scales:t.scales.map(([l])=>l)};if(t.type=="legendkey")o.appearances={tile:$t(...t.scales.flatMap(([l,c])=>[c.rect,c.tile,c.polygon,c.ellipse])),line:$t(...t.scales.flatMap(([l,c])=>[c.line,c.linerange,c.curve])),point:$t(...t.scales.flatMap(([l,c])=>[c.point])),text:$t(...t.scales.flatMap(([l,c])=>[c.text,c.markdown]))};else if(t.type=="gradientbar"){let l=t.scales.map(([a])=>a.limits?.max).filter(a=>a!=null).reduce((a,s)=>Math.min(a,s),1/0),c=t.scales.map(([a])=>a.limits?.min).filter(a=>a!=null).reduce((a,s)=>Math.max(a,s),-1/0);o.limits={min:c,max:l},o.appearance=$t(...t.scales.flatMap(([a,s])=>Object.values(s)))}return o});return(o,l)=>(O(),B(lt,null,[At("span",null,Ut(n.value),1),l[0]||(l[0]=mt()),(O(),vt(c1(e[t.type]),Q(r.value,{breaks:i.value}),null,16,["breaks"]))],64))}}),BG={__name:"CoreLegend",props:{theme:{type:Object,default:()=>({})},scales:Map},setup(t){const e=X(()=>{let i=new Map(Array.from(t.scales).filter(([s])=>s.legend!==!1&&s.limits?.min!=s.limits?.max)),r=Array.from(i.keys()),o=r.map(s=>s.key),l=1;for(let s=0;s<o.length;s++){for(;o.includes("_guide_"+l);)l++;o[s]??=o.find((u,d)=>o[d]!=null&&Xe.isEqual(r[d].level,r[s].level))??"_guide_"+l}let c=r.map(s=>n(s)),a=la(o,c);return Map.groupBy(i,(s,u)=>a.categories[a[u]])});function n(i){return i==null?null:["gradientbar","legendkey"].includes(i.guide)?i.guide:i.level?"legendkey":["color","fill","alpha"].includes(i.aesthetics)?"gradientbar":"legendkey"}return(i,r)=>t.scales?(O(),B("div",{key:0,class:"vvplot-legend",style:P1({gap:t.theme.spacing+"px"})},[(O(!0),B(lt,null,ut(e.value,([[o,l],c])=>(O(),vt(qG,{key:o,type:l,scales:c},null,8,["type","scales"]))),128))],4)):Lt("",!0)}},VG=["id"],IG=["width","height"],RG=["transform","width","height","fill"],HG=["transform"],XG=["transform","clip-path"],YG=["transform"],zG=["clip-path"],FG={key:1},UG=Object.assign({inheritAttrs:!1},{__name:"CorePlot",props:u1({schema:Object,layers:Array,minRange:Object,expandAdd:Object,flip:Boolean,reverse:Object,paddings:Object,expandMult:Object,coordLevels:Object,levels:Object,scales:Object,axes:{type:Array,default:()=>[]},theme:Object,render:String,clip:Boolean,dpi:Number,action:{type:Array,default:()=>[]},selections:{type:Array,default:()=>[]},legendTeleport:null},{selectionPreview:{},selectionPreviewModifiers:{},selectionPreviewTheme:{},selectionPreviewThemeModifiers:{},transition:{},transitionModifiers:{}}),emits:u1(["click","singleclick","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","select","move","zoom","rescale","nudge"],["update:selectionPreview","update:selectionPreviewTheme","update:transition"]),setup(t,{expose:e,emit:n}){const i=xl(),r=$o(t,["schema","theme","expandAdd","expandMult","coordLevels","levels","scales","flip","reverse","paddings"]),o=n,l=N1("range"),c=N1("rangePreview"),a=ke(t,"selectionPreview"),s=ke(t,"selectionPreviewTheme");function u(L,P){a.value=L,s.value=P}const d=X(()=>Object.assign({},t.theme?.selection,s.value));function f(){a.value={}}const h=ke(t,"transition"),g=qt("svg"),y=qt("layers"),w=on(0),x=on(0);jo(g,L=>{let{width:P,height:q}=L[0].contentRect;w.value=P,x.value=q});const M=X(()=>new w9(t.schema,r.layers)),A=X(()=>M.value.useScales(t.scales,t.levels).useCoordLevels(t.coordLevels).render(l,t.expandAdd,r.minRange)),T=$e(()=>{let L=Object.fromEntries(["left","right","top","bottom"].map(C=>[C,t.paddings[C]&&t.theme.plot.padding[C]||0])),P=+t.theme.plot.margin.left+L.left,q=+t.theme.plot.margin.right+L.right,Y=+t.theme.plot.margin.top+L.top,v=+t.theme.plot.margin.bottom+L.bottom;return Y+v>x.value&&(Y=x.value*(Y/(Y+v)),v=x.value-Y),P+q>w.value&&(P=w.value*(P/(P+q)),q=w.value-P),{l:P,r:q,t:Y,b:v,left:P,right:w.value-q,top:Y,bottom:x.value-v,width:w.value-P-q,height:x.value-Y-v}}),j=$e(()=>{let L=A.value.coordScales,P=t.expandMult,{min:q,max:Y}=S(L.x.range,P.x),{min:v,max:C}=S(L.y.range,P.y),[$,I,G,tt]=t.flip?[v,C,q,Y]:[q,Y,v,C],{width:at,height:it}=T;return{left:at*$||0,right:at*(1-I)||0,top:it*tt||0,bottom:it*(1-G)||0,l:at*$||0,r:at*I||0,t:it*tt||0,b:it*G||0,width:at*(1-$-I),height:it*(1-tt-G),fullWidth:at,fullHeight:it}});e({vplot:A,panel:T,svg:g});const N=X(()=>{let L=Z.value.translateH+j.left,P=Z.value.translateV+j.top,q=Z.value.scaleH,Y=Z.value.scaleV,v=[];return(L!=0||P!=0)&&v.push(`translate(${L}, ${P})`),(q!=1||Y!=1)&&v.push(`scale(${q}, ${Y})`),{transform:v.join(" ")||null}});function E({value:L,min:P,max:q},Y,v,C){let $={};return L!=null&&($.value=Y.invert(v?1-L/C:L/C)),v?(q!=null&&($.min=Y.invert(1-q/C)),P!=null&&($.max=Y.invert(1-P/C))):(P!=null&&($.min=Y.invert(P/C)),q!=null&&($.max=Y.invert(q/C))),$}function m({h:L,hmin:P,hmax:q,v:Y,vmin:v,vmax:C}={}){let $=A.value.coordScales,{width:I,height:G}=j,tt={},[at,it,wt]=t.flip?[Y,v,C]:[L,P,q],[kt,ht,ct]=t.flip?[L,P,q]:[Y,v,C];if(at!=null||it!=null||wt!=null){let{value:nt,min:rt,max:W}=E({value:at,min:it,max:wt},$.x,t.flip!=t.reverse.x,t.flip?G:I);Object.assign(tt,zt({x:nt,xmin:rt,xmax:W})),t.flip?Object.assign(tt,zt({v:nt,vmin:rt,vmax:W})):Object.assign(tt,zt({h:nt,hmin:rt,hmax:W}))}if(kt!=null||ht!=null||ct!=null){let{value:nt,min:rt,max:W}=E({value:kt,min:ht,max:ct},$.y,t.flip==t.reverse.y,t.flip?I:G);Object.assign(tt,zt({y:nt,ymin:rt,ymax:W})),t.flip?Object.assign(tt,zt({h:nt,hmin:rt,hmax:W})):Object.assign(tt,zt({v:nt,vmin:rt,vmax:W}))}return tt}function p({value:L,min:P,max:q}={},{oob:Y=oi}={},v,C,$,I){let G={};return L!=null&&(G.value=$?Y($*(C?1-v(L):v(L)),I):0),P==null&&q==null||(C?(q!=null&&(G.min=$?Y($*(1-v(q)),I):0),P!=null&&(G.max=$?Y($*(1-v(P)),I):0)):(P!=null&&(G.min=$?Y($*v(P),I):0),q!=null&&(G.max=$?Y($*v(q),I):0))),G}function b({h:L,hmin:P,hmax:q,v:Y,vmin:v,vmax:C,x:$,xmin:I,xmax:G,y:tt,ymin:at,ymax:it}={},{limited:wt=!1,oob:kt=oi}={}){let{width:ht,height:ct,l:nt,r:rt,t:W,b:pt}=j,dt={},Xt=A.value.coordScales,It={min:-nt,max:ht+rt},he={min:-W,max:ct+pt};if(($!=null||I!=null||G!=null)&&(t.flip?[Y,v,C]=[$,I,G]:[L,P,q]=[$,I,G]),(tt!=null||at!=null||it!=null)&&(t.flip?[L,P,q]=[tt,at,it]:[Y,v,C]=[tt,at,it]),L!=null||P!=null||q!=null){let{value:pe,min:fe,max:de}=p({value:L,min:P,max:q},{oob:kt},Xt[t.flip?"y":"x"],t.reverse[t.flip?"y":"x"],ht,It);Object.assign(dt,zt({h:pe,hmin:fe,hmax:de}))}if(Y!=null||v!=null||C!=null){let{value:pe,min:fe,max:de}=p({value:Y,min:v,max:C},{oob:kt},Xt[t.flip?"x":"y"],!t.reverse[t.flip?"x":"y"],ct,he);Object.assign(dt,zt({v:pe,vmin:fe,vmax:de}))}return wt&&(dt.hmin==null&&(dt.hmin=It.min),dt.hmax==null&&(dt.hmax=It.max),dt.vmin==null&&(dt.vmin=he.min),dt.vmax==null&&(dt.vmax=he.max)),dt}function S({min:L,max:P}={},{min:q=0,max:Y=0}={}){let v=P-L,C=+L-q*v,$=+P+Y*v,I=$-C;return{min:I==0?0:(L-C)/I,max:I==0?0:($-P)/I}}function k(L){let P=g.value.getBoundingClientRect(),q=P.width/g.value.clientWidth,Y=P.height/g.value.clientHeight,v=L.clientX-P.left,C=L.clientY-P.top,$=v/q-(T.left+j.left),I=C/Y-(T.top+j.top),G=T.left+j.right-v/q,tt=T.top+j.bottom-C/Y,{x:at,y:it}=m({h:$,v:I});return{l:$,t:I,r:G,b:tt,x:at,y:it}}function R(L){let P=g.value.getBoundingClientRect(),q=P.width/g.value.clientWidth,Y=P.height/g.value.clientHeight;return L.clientX-P.left>T.l*q&&P.right-L.clientX>T.r*q&&L.clientY-P.top>T.t*Y&&P.bottom-L.clientY>T.b*Y}function V(L){if(!y.value||L._vhandled||!R(L)||!Array.from(y.value).filter(v=>v.render=="canvas").length)return L;let q={};for(let v in L)q[v]=L[v];q.bubbles=!1;let Y=new PointerEvent(L.type,q);for(let v of Object.keys(L)){let C=Object.getOwnPropertyDescriptor(Y,v);C&&!C.writable&&!C.set||(Y[v]=L[v])}for(let v=y.value.length-1;v>=0;v--)y.value[v].dispatchEvent(Y)===!1&&L.preventDefault();for(let v of Object.keys(Y)){let C=Object.getOwnPropertyDescriptor(Y,v);C&&!C.writable&&!C.set||(L[v]=Y[v])}return Y._vhandled?Y:L}let K,U=0,F=0;function D(L){let P=V(L),q=k(L);if(o("pointerdown",P,q),P.defaultPrevented&&L.preventDefault(),r.clip&&!R(L))return;let Y=L.currentTarget,v=!1;function C(G){(Math.abs(G.screenX-L.screenX)>3||Math.abs(G.screenY-L.screenY)>3)&&(v=!0,G.currentTarget.removeEventListener("pointermove",C))}L.target.addEventListener("pointermove",C,{passive:!0}),L.target.addEventListener("pointerup",function(G){if(L.target.removeEventListener("pointermove",C),!v){let tt=new PointerEvent("singleclick",G);G.target.dispatchEvent(tt)}},{once:!0});let $=r.selections.findLast(G=>["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(tt=>G[tt]==L[tt]));if($){let{x:G=!1,y:tt=!1,"min-range-x":at=0,"min-range-y":it=0}=$;L.target.setPointerCapture(L.pointerId),Y.style.userSelect="none";let wt=(({xmin:ht,xmax:ct})=>({min:ht,max:ct}))($),kt=(({ymin:ht,ymax:ct})=>({min:ht,max:ct}))($);L.target.onpointermove=ht=>{if(!G&&!tt||!v)return;let ct=k(ht),nt={};if(G){let rt=yt(q.x,wt),W=yt(yt(ct.x,ct.x>rt?{min:ft(rt,at)}:{max:ft(rt,-at)}),wt);nt.xmin=rt>W?W:rt,nt.xmax=rt>W?rt:W,nt.xreverse=rt>W}if(tt){let rt=yt(q.y,kt),W=yt(yt(ct.y,ct.y>rt?{min:ft(rt,it)}:{max:ft(rt,-it)}),kt);nt.ymin=rt>W?W:rt,nt.ymax=rt>W?rt:W}a.value=nt,s.value=$.theme},L.target.onpointerup=ht=>{if(ht.currentTarget.onpointerup=null,ht.currentTarget.onpointermove=null,Y.style.userSelect=null,a.value={},v&&(G||tt)){$.buttons&1&&(ht.currentTarget.onclick=W=>{W.currentTarget.onclick=null,Be($.onClick,W)}),$.buttons&2&&(ht.currentTarget.oncontextmenu=W=>{W.currentTarget.oncontextmenu=null,Be($.onContextmenu,W)});let ct=k(ht),nt={},rt=new PointerEvent("select",L);if(G){let W=yt(q.x,wt),pt=yt(yt(ct.x,ct.x>W?{min:ft(W,at)}:{max:ft(W,-at)}),wt);if(W==pt)return;nt.xmin=W>pt?pt:W,nt.xmax=W>pt?W:pt,nt.xreverse=W>pt}if(tt){let W=yt(q.y,kt),pt=yt(yt(ct.y,ct.y>W?{min:ft(W,it)}:{max:ft(W,-it)}),kt);if(W==pt)return;nt.ymin=W>pt?pt:W,nt.ymax=W>pt?W:pt,nt.yreverse=W>pt}$["onUpdate:modelValue"]?.(nt),Be($.onSelect,zt(nt),rt)||o("select",zt(nt),rt)}if(!v&&$.dismissible!==!1){if(ht.defaultPrevented)return;let ct=$.modelValue;if($.dismissible!==!0&&["xmin","xmax","ymin","ymax"].every(W=>ct?.[W]==null))return;let nt={},rt=new PointerEvent("select",L);$["onUpdate:modelValue"]?.(nt),Be($.onDismiss,zt(nt),rt)||o("select",zt(nt),rt)}};return}let I=r.action.find(G=>G.action=="move"&&["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(tt=>G[tt]==L[tt]));if(I){let G=g.value.getBoundingClientRect(),tt=G.width/g.value.clientWidth,at=G.height/g.value.clientHeight;L.target.setPointerCapture(L.pointerId),Y.style.userSelect="none",K=clearTimeout(K);let it=0,wt=j.width,kt=0,ht=j.height,ct,nt,rt,W,pt=b(I);L.target.onpointermove=dt=>{let{x:Xt=!1,y:It=!1}=I,[he,pe]=t.flip?[It,Xt]:[Xt,It];if(he){U+=dt.movementX;let Oe=yt(-U/tt,{min:pt.hmin-it,max:pt.hmax-wt});ct=it+Oe,nt=wt+Oe}if(pe){F+=dt.movementY;let Oe=yt(-F/at,{min:pt.vmin-kt,max:pt.vmax-ht});rt=kt+Oe,W=ht+Oe}let{xmin:fe,xmax:de,ymin:hr,ymax:In}=m({hmin:ct,hmax:nt,vmin:rt,vmax:W});Object.assign(c,{xmin:fe,xmax:de,ymin:hr,ymax:In})},L.target.onpointerup=dt=>{dt.currentTarget.onpointerup=null,dt.currentTarget.onpointermove=null,Y.style.userSelect=null,K=setTimeout(()=>{_(I,dt),U=F=0},300)};return}}let H=0,z;function et(L){let P=V(L),q=k(L);if(o("wheel",P,q),P.defaultPrevented&&L.preventDefault(),r.clip&&!R(L))return;let Y=r.action.find(v=>["zoom","nudge"].includes(v.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(C=>v[C]==L[C]));!Y||!Y.x&&!Y.y||(z=clearTimeout(z),L.preventDefault(),h.value="transform 0.1s ease-out",H+=L.deltaY,J(Y,q,H),z=setTimeout(()=>{_(Y,L),H=0},300))}function J(L,P,q){if(L.action=="zoom"){let{x:Y=!1,y:v=!1,"min-range-x":C=0,"min-range-y":$=0,sensitivity:I=1.25}=L,G=I**(H/100),[tt,at]=t.flip?[v,Y]:[Y,v],it=b(L),wt,kt,ht,ct;tt&&(wt=Math.max(P.l-Math.max(P.l,0)*G,it.hmin??-1/0),kt=Math.min(P.l+Math.max(P.r,0)*G,it.hmax??1/0)),at&&(ht=Math.max(P.t-Math.max(P.t,0)*G,it.vmin??-1/0),ct=Math.min(P.t+Math.max(P.b,0)*G,it.vmax??1/0));let{xmin:nt,xmax:rt,ymin:W,ymax:pt}=m({hmin:wt,hmax:kt,vmin:ht,vmax:ct});if(Y&&G<1&&rt-nt<C){let dt=(rt+nt)/2;nt=dt-C/2,rt=dt+C/2}if(v&&G<1&&pt-W<$){let dt=(pt+W)/2;W=dt-$/2,pt=dt+$/2}Object.assign(c,{xmin:nt,xmax:rt,ymin:W,ymax:pt})}if(L.action=="nudge"){let{x:Y=!1,y:v=!1,sensitivity:C=.1}=L,[$,I]=t.flip?[v,Y]:[Y,v],G=b(L),tt=0,at=j.width,it=0,wt=j.height,kt,ht,ct,nt;if($){let Xt=C*j.width*(-q/120),It=yt(-Xt,{min:G.hmin-tt,max:G.hmax-at});kt=tt+It,ht=at+It}if(I){let Xt=C*j.height*(-q/120),It=yt(-Xt,{min:G.vmin-it,max:G.vmax-wt});ct=it+It,nt=wt+It}let{xmin:rt,xmax:W,ymin:pt,ymax:dt}=m({hmin:kt,hmax:ht,vmin:ct,vmax:nt});Object.assign(c,{xmin:rt,xmax:W,ymin:pt,ymax:dt})}}const Z=X(()=>{let L=0,P=j.width,q=0,Y=j.height,{hmin:v=L,hmax:C=P,vmin:$=q,vmax:I=Y}=b(c??{}),G=P-L,tt=C-v,at=Y-q,it=I-$;return{scaleH:G<1||tt<1||Math.abs(G-tt)<1?1:G/tt,translateH:(L*C-v*P)/(C-v)||0,scaleV:at<1||it<1||Math.abs(at-it)<1?1:at/it,translateV:(q*I-$*Y)/(I-$)||0}});St(Z,({translateH:L,translateV:P,scaleH:q,scaleV:Y})=>{!L&&!P&&q==1&&Y==1&&(h.value=null)},{deep:!0});function _(L,P){let q=zt(c)??{};if(!Object.keys(q).length)return;let Y=new PointerEvent(P.type,P);Be(L.emit,q,Y)||o(L.action,q,Y),st(q),Object.assign(c,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const ot={pointerdown:D,pointerup(L){let P=V(L),q=k(L);o("pointerup",P,q),P.defaultPrevented&&L.preventDefault()},pointerover(L){o("pointerover",L,k(L))},pointerout(L){o("pointerout",L,k(L))},pointerenter(L){o("pointerenter",L,k(L))},pointerleave(L){o("pointerleave",L,k(L))},click(L){o("click",V(L),k(L))},contextmenu(L){let P=V(L),q=k(L);o("contextmenu",P,q),P.defaultPrevented&&L.preventDefault()},singleclick(L){o("singleclick",V(L),k(L))},dblclick(L){let P=V(L),q=k(L);o("dblclick",P,q),P.defaultPrevented&&L.preventDefault()},pointermove(L){let P=V(L),q=k(L);o("pointermove",P,q),P.defaultPrevented&&L.preventDefault()},wheel:et};function st(L){let{xmin:P,xmax:q,ymin:Y,ymax:v}=L,{xmin:C,xmax:$,ymin:I,ymax:G}=l;P=P!=null?ft(P,+t.expandAdd.x.min):C,q=q!=null?ft(q,-t.expandAdd.x.max):$,Y=Y!=null?ft(Y,+t.expandAdd.y.min):I,v=v!=null?ft(v,-t.expandAdd.y.max):G,!(P==C&&q==$&&Y==I&&v==G)&&Object.assign(l,{xmin:P,xmax:q,ymin:Y,ymax:v})}const xt=$e(()=>{let L=c?.xmin??l?.xmin,P=c?.xmax??l?.xmax,q=c?.ymin??l?.ymin,Y=c?.ymax??l?.ymax;return{x:L||P?{min:L,max:P}:void 0,y:q||Y?{min:q,max:Y}:void 0}}),Qt=X(()=>{let L={x:A.value.coordScales.x,y:A.value.coordScales.y};return r.axes.filter(P=>P.coord in L).filter(P=>["h","v"].includes(P.orientation)).map(({coord:P,breaks:q,labels:Y,titles:v,minorBreaks:C,...$})=>({coord:P,axis:new k9(L[P],{breaks:q,labels:Y,titles:v,minorBreaks:C}),etc:$}))}),_t=X(()=>Qt.value.map(({coord:L,axis:P,etc:q})=>{let{majorBreaks:Y,minorBreaks:v,ticks:C}=P.getBindings({range:xt[L],expandMult:t.expandMult[L]}),{showGrid:$,orientation:I,...G}=q;return{majorBreaks:Y,minorBreaks:v,ticks:C,showGrid:$,coord:L,orientation:I,bind:G}})),te=X(()=>{let L=_t.value.filter(q=>q.showGrid&&q.orientation=="v"),P=_t.value.filter(q=>q.showGrid&&q.orientation=="h");return{h:{majorBreaks:w1(L.flatMap(q=>q.majorBreaks),q=>q.position),minorBreaks:w1(L.flatMap(q=>q.minorBreaks),q=>q.position)},v:{majorBreaks:w1(P.flatMap(q=>q.majorBreaks),q=>q.position),minorBreaks:w1(P.flatMap(q=>q.minorBreaks),q=>q.position)}}}),ve=X(()=>_t.value.map(({orientation:L,coord:P,bind:q,ticks:Y})=>{let{onMove:v=(...tt)=>o("move",...tt),onZoom:C=(...tt)=>o("zoom",...tt),onRescale:$=(...tt)=>o("rescale",...tt),onNudge:I=(...tt)=>o("nudge",...tt),...G}=q;return{orientation:L,bind:{coord:P,orientation:L,ticks:Y,layout:j,coord2pos:b,pos2coord:m,...G},on:{zoom:C,move:v,rescale:$,nudge:I,rangechange:st}}}));return(L,P)=>(O(),B("svg",Q({ref:"svg",width:"100%",height:"100%"},Pt(ot,!0),L.$attrs),[At("defs",null,[At("clipPath",{id:`${Ct(i)}-plot-clip`},[At("rect",{x:"0",y:"0",width:Ct(T).width,height:Ct(T).height},null,8,IG)],8,VG)]),P[6]||(P[6]=mt()),t.theme.plot.background?(O(),B("rect",{key:0,transform:`translate(${Ct(T).left}, ${Ct(T).top})`,width:Ct(T).width,height:Ct(T).height,fill:t.theme.plot.background},null,8,RG)):Lt("",!0),P[7]||(P[7]=mt()),At("g",{transform:`translate(${Ct(T).left}, ${Ct(T).top})`,style:{"pointer-events":"none"}},[t.theme.grid.h?(O(),vt(KU,Q({key:0},te.value.h,{layout:Ct(j),theme:t.theme.grid.h,activeTransform:Z.value,coord2pos:b,transition:h.value}),null,16,["layout","theme","activeTransform","transition"])):Lt("",!0),P[2]||(P[2]=mt()),t.theme.grid.v?(O(),vt(ZU,Q({key:1},te.value.v,{layout:Ct(j),theme:t.theme.grid.v,activeTransform:Z.value,coord2pos:b,transition:h.value}),null,16,["layout","theme","activeTransform","transition"])):Lt("",!0)],8,HG),P[8]||(P[8]=mt()),At("g",{transform:`translate(${Ct(T).left}, ${Ct(T).top})`,"clip-path":r.clip?`url(#${Ct(i)}-plot-clip)`:null},[At("g",Q(N.value,{style:{transition:h.value}}),[(O(!0),B(lt,null,ut(A.value.layers,q=>(O(),vt(SG,Q({ref_for:!0,ref_key:"layers",ref:y,data:q.data},{ref_for:!0},q.vBind,{layout:Ct(j),geom:q.geom,coord2pos:b,getCoord:k,"default-render":r.render,"default-dpi":r.dpi}),null,16,["data","layout","geom","default-render","default-dpi"]))),256))],16),P[3]||(P[3]=mt()),(O(!0),B(lt,null,ut(r.selections,q=>(O(),vt(So,Q({coord2pos:b,pos2coord:m,layout:Ct(j),onSelecting:u,onSelectend:f,transition:h.value,activeTransform:Z.value},{ref_for:!0},q,{flip:t.flip}),null,16,["layout","transition","activeTransform","flip"]))),256)),P[4]||(P[4]=mt()),Te(So,{coord2pos:b,pos2coord:m,layout:Ct(j),modelValue:a.value,transition:h.value,activeTransform:Z.value,theme:d.value,flip:t.flip},null,8,["layout","modelValue","transition","activeTransform","theme","flip"])],8,XG),P[9]||(P[9]=mt()),At("g",{transform:`translate(${Ct(T).left}, ${Ct(T).top})`},[(O(!0),B(lt,null,ut(ve.value.filter(q=>typeof q.bind.position!="number"),q=>(O(),vt(xo,Q({ref_for:!0},q.bind,Pt(q.on),{transition:h.value,"onUpdate:transition":P[0]||(P[0]=Y=>h.value=Y),activeTransform:Z.value}),null,16,["transition","activeTransform"]))),256)),P[5]||(P[5]=mt()),At("g",{"clip-path":r.clip?`url(#${Ct(i)}-plot-clip)`:null},[(O(!0),B(lt,null,ut(ve.value.filter(q=>typeof q.bind.position=="number"),q=>(O(),vt(xo,Q({ref_for:!0},q.bind,Pt(q.on),{transition:h.value,"onUpdate:transition":P[1]||(P[1]=Y=>h.value=Y),activeTransform:Z.value}),null,16,["transition","activeTransform"]))),256))],8,zG)],8,YG),P[10]||(P[10]=mt()),r.legendTeleport?(O(),B("foreignObject",FG,[(O(),vt(bl,{defer:"",to:r.legendTeleport},[Te(BG,{scales:A.value?.scales,theme:t.theme.legend},null,8,["scales","theme"])],8,["to"]))])):Lt("",!0)],16))}}),Tn={$_type:"action",$_props:{}},Hi={$_type:"layer"},Xi={$_props:{geom:"tile",stat:"bar"},$_type:"layer"},Yi={$_props:{geom:"blank",stat:"identity"},$_type:"layer"},zi={$_props:{geom:"boxplot",stat:"boxplot"},$_type:"layer"},Fi={$_props:{geom:"curve",stat:"curve"},$_type:"layer",$_attrnames:["interpolate"]},Ui={$_props:{geom:"curve",stat:"density"},$_type:"layer",$_argnames:["n","kernel"]},Gi={$_props:{geom:"ellipse",stat:"ellipse"},$_type:"layer",$_argnames:["CI"]},Wi={$_props:{geom:"rect",stat:"histogram"},$_type:"layer",$_argnames:["bins","binwidth","breaks"]},Ki={$_props:{geom:"line",stat:"line"},$_type:"layer",$_argnames:["orientation"]},Zi={$_props:{geom:"line",stat:"linerange"},$_type:"layer"},Qi={$_props:{geom:"markdown",stat:"text"},$_type:"layer"},Ji={$_props:{geom:"markdownsegment",stat:"textsegment"},$_type:"layer"},_i={$_props:{geom:"line",stat:"path"},$_type:"layer"},tr={$_props:{geom:"point",stat:"point"},$_type:"layer"},er={$_props:{geom:"polygon",stat:"polygon"},$_type:"layer"},nr={$_props:{geom:"rect",stat:"rect"},$_type:"layer"},ir={$_props:{geom:"line",stat:"segment"},$_type:"layer"},rr={$_props:{geom:"stick",stat:"stick"},$_type:"layer"},or={$_props:{geom:"text",stat:"text"},$_type:"layer"},sr={$_props:{geom:"textsegment",stat:"textsegment"},$_type:"layer"},lr={$_props:{geom:"tile",stat:"tile"},$_type:"layer"},GG=Object.freeze(Object.defineProperty({__proto__:null,VVGeom:Hi,VVGeomBar:Xi,VVGeomBlank:Yi,VVGeomBoxplot:zi,VVGeomCurve:Fi,VVGeomDensity:Ui,VVGeomEllipse:Gi,VVGeomHistogram:Wi,VVGeomLine:Ki,VVGeomLinerange:Zi,VVGeomMarkdown:Qi,VVGeomMarkdownsegment:Ji,VVGeomPath:_i,VVGeomPoint:tr,VVGeomPolygon:er,VVGeomRect:nr,VVGeomSegment:ir,VVGeomStick:rr,VVGeomText:or,VVGeomTextsegment:sr,VVGeomTile:lr},Symbol.toStringTag,{value:"Module"})),ar={$_type:"axis",$_props:{}},cr={$_type:"axis",$_props:{coord:"x"}},ur={$_type:"axis",$_props:{coord:"y"}},WG=Object.freeze(Object.defineProperty({__proto__:null,VVAxis:ar,VVAxisX:cr,VVAxisY:ur},Symbol.toStringTag,{value:"Module"})),KG={key:0,class:"vvplot-panel",style:{"pointer-events":"auto",display:"contents"}},ul=Object.assign({inheritAttrs:!1},{__name:"Plot",props:u1({data:Array,scales:Object,aes:Object,expandAdd:Object,expandMult:Object,extend:Object,levels:Object,range:Object,minRange:Object,rangePreview:Object,axes:[Object,Array],theme:[Object,Array],action:[Object,Array],reverse:Object,render:String,flip:Boolean,clip:{type:Boolean,default:!0},resize:null,legendTeleport:null,dpi:Number},{selectionPreview:{default:()=>({})},selectionPreviewModifiers:{},selectionPreviewTheme:{default:()=>({})},selectionPreviewThemeModifiers:{},transition:{},transitionModifiers:{},width:{},widthModifiers:{},height:{},heightModifiers:{}}),emits:u1(["resize","rangechange","select","update:range","update:rangePreview"],["update:selectionPreview","update:selectionPreviewTheme","update:transition","update:width","update:height"]),setup(t,{expose:e,emit:n}){const i={...GG,...WG,VVAction:Tn,VVSelection:Tn},r={x:"y",y:"x",h:"v",v:"h",top:"bottom",bottom:"top",left:"right",right:"left"};function o(v){return v==null?v:v===""||!!v}const l=n,c=ke(t,"selectionPreview"),a=ke(t,"selectionPreviewTheme"),s=ke(t,"transition");function u(v){return v==null?[]:v.flatMap(C=>C.type==lt?u(C.children):C.type=="template"?u(C.children).map($=>($.props={...$.props,...C.props},$)):C)}function d(v){return{props:Object.fromEntries(v.props.map($=>{try{if($.type==7)return[$.arg.content,new Function("return "+$.exp.content)()];if($.type==6)return[$.name,$.value?.content??""]}catch{}}).filter($=>$!=null)),children:v.children.map($=>()=>[d($)]),type:i[v.tag]}}const f=wl(),h=kl(),g=Ot({axis:{},layer:{},action:{},selection:{},dom:{}});for(let v in f)St(()=>f[v]?.(),C=>{let $=u(C).flatMap(G=>G.type?.template?oa(G.type.template,{decodeEntities:!0}).children.map(at=>d(at)):G).filter(G=>G!=null),I=Object.groupBy($,G=>G.type.$_type??"dom");for(let G in I)g[G][v]=I[G]},{immediate:!0});const y=X(()=>Object.values(g.layer).flat()),w=X(()=>Object.values(g.axis).flat()),x=X(()=>Object.values(g.action).flat()),M=X(()=>Object.values(g.selection).flat()),A=X(()=>Object.keys(g.dom).flatMap(v=>v=="panel"?[]:g.dom[v])),T=X(()=>{let v={},C={};for(let $ in h)if($.startsWith("on")){let I=Array.isArray(h[$])?h[$]:[h[$]];v[$]=I.filter(G=>typeof G=="function"),C[$]=I.filter(G=>typeof G!="function")}else $.startsWith("svg-")?v[$.slice(4)]=h[$]:C[$]=h[$];return{plot:v,wrapper:C}}),j=X(()=>{let v=[Xo,Yo].concat(t.theme??[]);return va(ya(ga(...v),t.flip))},{deep:!0}),N=$e(()=>{let v=w.value.map(I=>({...I.type.$_props,...I.props})),C=v.filter(I=>I.coord==="x"),$=v.filter(I=>I.coord==="y");return{x:C.find(I=>o(I.primary))??C.find(I=>I.primary==null&&!o(I.secondary)),y:$.find(I=>o(I.primary))??$.find(I=>I.primary==null&&!o(I.secondary))}}),E={levels:Ot({}),extend:Ot({}),"min-range":Ot({}),"expand-add":Ot({}),"expand-mult":Ot({}),boundary:Ot({}),reverse:Ot({}),min:Ot({}),max:Ot({}),"min-preview":Ot({}),"max-preview":Ot({})};St(N,v=>{for(let C of["x","y"])for(let $ in E)E[$][C]=v?.[C]?.[$]},{immediate:!0});const m=$e(()=>{let v={};for(let C of["x","y"]){let $=E.boundary[C];v[C]={min:$?.min??$?.[0],max:$?.max??$?.[1]}}return v}),p=X(()=>({data:t.data,aes:t.aes,extendX:E.extend.x??t.extend?.x??0,extendY:E.extend.y??t.extend?.y??0})),b=X(()=>y.value.map(v=>{let{geom:C,stat:$,scales:I,data:G,"extend-x":tt,"extend-y":at,...it}={...v.type.$_props,...v.props},wt=v.type.$_argnames||[],kt=v.type.$_attrnames||[],ht={},ct={},nt={},rt={};for(let W in it)W!="key"&&(wt.includes(W)?ct[W]=it[W]:kt.includes(W)?nt[W]=it[W]:W.startsWith("on")?rt[W]=it[W]:typeof it[W]=="function"?["item-class","item-style"].includes(W)?ht[W.slice(5)]=it[W]:ht[W]=it[W]:["class","style","group-class","group-style","dpi","render"].includes(W)?rt[W]=it[W]:["item-class","item-style"].includes(W)?nt[W.slice(5)]=it[W]:nt[W]=it[W]);return{geom:C,stat:$,data:G,aes:ht,attrs:nt,scales:I,args:ct,extendX:tt,extendY:at,vBind:rt}})),S=X(()=>(({x:v,y:C,...$})=>$)(t.levels??{})),k=X(()=>{let v={};for(let C of["x","y"])v[C]=E.levels[C]??t.levels?.[C];return v}),R=X(()=>{let v={};for(let C of["x","y"]){let $=E.min[C]??t.range?.[C+"min"],I=E.max[C]??t.range?.[C+"max"];v[C+"min"]=isFinite($)&&!Number.isNaN($)?$:null,v[C+"max"]=isFinite(I)&&!Number.isNaN(I)?I:null}return v}),V=X(()=>{let v={};for(let C of["x","y"]){let $=E["min-preview"][C]??t.rangePreview?.[C+"min"],I=E["max-preview"][C]??t.rangePreview?.[C+"max"];v[C+"min"]=isFinite($)&&!Number.isNaN($)?$:null,v[C+"max"]=isFinite(I)&&!Number.isNaN(I)?I:null}return v}),K=$e(()=>({xmin:N?.x?.["onUpdate:min"],xmax:N?.x?.["onUpdate:max"],ymin:N?.y?.["onUpdate:min"],ymax:N?.y?.["onUpdate:max"]})),U=$e(()=>({xmin:N?.x?.["onUpdate:minPreview"],xmax:N?.x?.["onUpdate:maxPreview"],ymin:N?.y?.["onUpdate:minPreview"],ymax:N?.y?.["onUpdate:maxPreview"]})),F=Ot({}),D=Ot({});St(R,(v,C)=>{v?.xmin!==C?.xmin&&(F.xmin=v.xmin),v?.xmax!==C?.xmax&&(F.xmax=v.xmax),v?.ymin!==C?.ymin&&(F.ymin=v.ymin),v?.ymax!==C?.ymax&&(F.ymax=v.ymax)},{immediate:!0}),St(V,(v,C)=>{v?.xmin!==C?.xmin&&(D.xmin=v.xmin),v?.xmax!==C?.xmax&&(D.xmax=v.xmax),v?.ymin!==C?.ymin&&(D.ymin=v.ymin),v?.ymax!==C?.ymax&&(D.ymax=v.ymax)},{immediate:!0}),St(()=>({...F}),(v,C)=>{for(let $ in K)K[$]?.(v[$]);l("rangechange",{...v},{...C}),l("update:range",{...v})},{deep:!0}),St(()=>D,v=>{for(let C in U)U[C]?.(v[C]);l("update:rangePreview",{...v})},{deep:!0}),dr("range",F),dr("rangePreview",D);const H=X(()=>({x:E["min-range"].x??t.minRange?.x??0,y:E["min-range"].y??t.minRange?.y??0})),z=X(()=>{let v=E["expand-add"].x??t.expandAdd?.x??0,C=E["expand-add"].y??t.expandAdd?.y??0;return Array.isArray(v)?v={min:v[0],max:v[1]}:typeof v=="number"&&(v={min:v,max:v}),Array.isArray(C)?C={min:C[0],max:C[1]}:typeof C=="number"&&(C={min:C,max:C}),{x:v,y:C}}),et=X(()=>{let v=E["expand-mult"].x??t.expandMult?.x??.05,C=E["expand-mult"].y??t.expandMult?.y??.05;return Array.isArray(v)?v={min:v[0],max:v[1]}:typeof v=="number"&&(v={min:v,max:v}),Array.isArray(C)?C={min:C[0],max:C[1]}:typeof C=="number"&&(C={min:C,max:C}),{x:v,y:C}}),J=$e(()=>({x:o(E.reverse.x)??t.reverse?.x??!1,y:o(E.reverse.y)??t.reverse?.y??!1})),Z={left:1,right:2,middle:4,X1:8,X2:16},_=X(()=>{let v=t.flip?{x:"v",y:"h"}:{x:"h",y:"v"},C=w.value.map($=>({...$.type.$_props,...$.props,$_children:$.children})).concat(t.axes??[]);return C.every($=>$?.coord!="x")&&C.push({coord:"x"}),C.every($=>$?.coord!="y")&&C.push({coord:"y"}),C.map(({coord:$,position:I,title:G,breaks:tt,labels:at,titles:it,"minor-breaks":wt,"show-grid":kt,theme:ht=[],extend:ct,boundary:nt,action:rt,primary:W,secondary:pt,"expand-mult":dt,"expand-add":Xt,levels:It,limits:he,min:pe,max:fe,"onUpdate:min":de,"onUpdate:max":hr,$_children:In,...Oe})=>{let je=v[$];I=I??"start",I=="start"?(I={h:"bottom",v:"left"}[je],J[r[$]]&&(I=r[I])):I=="end"&&(I={h:"top",v:"right"}[je],J[r[$]]&&(I=r[I]));let fl=Object.values(In??{}).filter(Rt=>typeof Rt=="function").flatMap(Rt=>u(Rt())).map(Rt=>({...Rt.type.$_props,...Rt.props})).concat(rt??[]).flatMap(Rt=>{let fr=[];for(let B1 of["move","nudge","zoom","rescale"]){let se=Rt[B1];if(se==null||se===!1)continue;let dl="on"+B1.charAt(0).toUpperCase()+B1.slice(1);fr.push({action:B1,[je+"min"]:se.min??Rt.min??nt?.min??nt?.[0]??m?.[$]?.min,[je+"max"]:se.max??Rt.max??nt?.max??nt?.[1]??m?.[$]?.max,["min-range-"+je]:se["min-range"]??Rt["min-range"],ctrlKey:!!(se.ctrl??o(Rt.ctrl)),shiftKey:!!(se.shift??o(Rt.shift)),altKey:!!(se.alt??o(Rt.alt)),metaKey:!!(se.meta??o(Rt.meta)),buttons:se.buttons??Z[se.button]??Rt.buttons??Z[Rt.button]??1,emit:Rt[dl]})}return fr});return{coord:$,orientation:je,position:I,title:G,breaks:tt,labels:at,titles:it,minorBreaks:wt,showGrid:o(kt)??I!=="none",extend:ct??E.extend[$],theme:Object.assign({},...[j.value?.axis?.[I]??j.value?.axis?.[je]].concat(ht)),action:fl,...Oe}}).filter($=>$!=null)}),ot=Ot({});St(_,v=>{for(let C of["left","right","top","bottom"])ot[C]=v.some($=>$.position==C)},{immediate:!0});const st=X(()=>x.value.map(v=>({...v.type.$_props,...v.props})).concat(t.action??[]).flatMap(v=>{let C=[];for(let $ of["select","move","nudge","zoom"]){let I=v[$];if(I==null||I===!1)continue;let G=I.x==null&&I.y==null&&v.x==null&&v.y==null,tt="on"+$.charAt(0).toUpperCase()+$.slice(1);C.push({action:$,x:G||!!(I.x??o(v.x)),y:G||!!(I.y??o(v.y)),xmin:I.xmin??v.xmin??m?.x?.min,xmax:I.xmax??v.xmax??m?.x?.max,ymin:I.ymin??v.ymin??m?.y?.min,ymax:I.ymax??v.ymax??m?.y?.max,"min-range-x":I["min-range-x"]??v["min-range-x"],"min-range-y":I["min-range-y"]??v["min-range-y"],ctrlKey:!!(I.ctrl??o(v.ctrl)),shiftKey:!!(I.shift??o(v.shift)),altKey:!!(I.alt??o(v.alt)),metaKey:!!(I.meta??o(v.meta)),buttons:I.buttons??Z[I.button]??v.buttons??Z[v.button]??1,emit:v[tt]})}return C})),xt=X(()=>M.value.map(v=>({...v.type.$_props,...v.props})).map(({once:v,move:C,dismissible:$,resize:I,x:G,y:tt,xmin:at,xmax:it,ymin:wt,ymax:kt,ctrl:ht,shift:ct,alt:nt,meta:rt,button:W,buttons:pt,modelValue:dt,"onUpdate:modelValue":Xt,theme:It=[],...he})=>{let pe=G==null&&tt==null;return o(v)?(dt=Ot({}),Xt=null):Xt==null&&(dt=Ot(dt??{}),Xt=fe=>{for(let de in dt)delete dt[de];Object.assign(dt,fe)}),{move:!!o(C),dismissible:$==null?void 0:$!==!1,resize:!!o(I),x:pe||!!o(G),y:pe||!!o(tt),xmin:at??m?.x?.min,xmax:it??m?.x?.max,ymin:wt??m?.y?.min,ymax:kt??m?.y?.max,ctrlKey:!!o(ht),shiftKey:!!o(ct),altKey:!!o(nt),metaKey:!!o(rt),buttons:pt??Z[W]??1,modelValue:dt,"onUpdate:modelValue":Xt,theme:Object.assign({},...[j.value?.selection].concat(It)),onSelect:(fe,de)=>l("select",fe,de),...he}})),{pixelRatio:Qt}=Pl(),_t=qt("wrapper"),te=qt("plot"),ve=ke(t,"width"),L=ke(t,"height");To(()=>{St(ve,v=>{_t.value.style.width=De(v,"px")??null},{immediate:!0}),St(L,v=>{_t.value.style.height=De(v,"px")??null},{immediate:!0})});let P={width:0,height:0};jo(te,v=>{let{width:C,height:$}=v[0].contentRect;_t.value.style.width&&(ve.value=C),_t.value.style.height&&(L.value=$),(C>0||$>0)&&(P.width>0||P.height>0)&&l("resize",{width:C,height:$},P),P={width:C,height:$}});const q=X(()=>({position:"absolute",pointerEvents:"none",left:De(te.value?.panel?.left,"px"),top:De(te.value?.panel?.top,"px"),width:De(te.value?.panel?.width,"px"),height:De(te.value?.panel?.height,"px")})),Y=X(()=>{let v={position:"relative",overflow:"hidden",boxSizing:"border-box"};return t.resize==="both"||t.resize===!0||t.resize===""?Object.assign(v,{resize:"both"}):t.resize==="horizontal"||t.resize==="x"&&!t.flip||t.resize==="y"&&t.flip?Object.assign(v,{resize:"horizontal"}):(t.resize==="vertical"||t.resize==="y"&&!t.flip||t.resize==="x"&&t.flip)&&Object.assign(v,{resize:"vertical"}),v});return e({get svg(){return te.value.svg},serialize(v){return aa(te.value.svg,v)}}),(v,C)=>(O(),B("div",Q({ref:"wrapper",class:"vvplot",style:Y.value},T.value.wrapper),[Te(UG,Q({ref:"plot",paddings:ot,schema:p.value,layers:b.value,"min-range":H.value,"expand-add":z.value,"expand-mult":et.value,reverse:Ct(J),flip:t.flip,"coord-levels":k.value,levels:S.value,scales:t.scales,axes:_.value,theme:j.value,selections:xt.value,transition:s.value,"onUpdate:transition":C[0]||(C[0]=$=>s.value=$)},T.value.plot,{"selection-preview":c.value,"onUpdate:selectionPreview":C[1]||(C[1]=$=>c.value=$),"selection-preview-theme":a.value,"onUpdate:selectionPreviewTheme":C[2]||(C[2]=$=>a.value=$),action:st.value,clip:t.clip,render:t.render,dpi:t.dpi??96*Ct(Qt),legendTeleport:t.legendTeleport,onSelect:C[3]||(C[3]=($,I)=>l("select",$,I))}),null,16,["paddings","schema","layers","min-range","expand-add","expand-mult","reverse","flip","coord-levels","levels","scales","axes","theme","selections","transition","selection-preview","selection-preview-theme","action","clip","render","dpi","legendTeleport"]),C[4]||(C[4]=mt()),At("div",{class:"vvplot-panel-container",style:P1(q.value)},[g.dom.panel?.length?(O(),B("div",KG,[(O(!0),B(lt,null,ut(g.dom.panel,$=>(O(),vt(c1($)))),256))])):Lt("",!0)],4),C[5]||(C[5]=mt()),(O(!0),B(lt,null,ut(A.value,$=>(O(),vt(c1($)))),256))],16))}}),hl={$_type:"selection",$_props:{}},ZG=Object.freeze(Object.defineProperty({__proto__:null,VVAction:Tn,VVAxis:ar,VVAxisX:cr,VVAxisY:ur,VVGeom:Hi,VVGeomBar:Xi,VVGeomBlank:Yi,VVGeomBoxplot:zi,VVGeomCurve:Fi,VVGeomDensity:Ui,VVGeomEllipse:Gi,VVGeomHistogram:Wi,VVGeomLine:Ki,VVGeomLinerange:Zi,VVGeomMarkdown:Qi,VVGeomMarkdownsegment:Ji,VVGeomPath:_i,VVGeomPoint:tr,VVGeomPolygon:er,VVGeomRect:nr,VVGeomSegment:ir,VVGeomStick:rr,VVGeomText:or,VVGeomTextsegment:sr,VVGeomTile:lr,VVPlot:ul,VVSelection:hl},Symbol.toStringTag,{value:"Module"}));export{Tn as VVAction,ar as VVAxis,cr as VVAxisX,ur as VVAxisY,Hi as VVGeom,Xi as VVGeomBar,Yi as VVGeomBlank,zi as VVGeomBoxplot,Fi as VVGeomCurve,Ui as VVGeomDensity,Gi as VVGeomEllipse,Wi as VVGeomHistogram,Ki as VVGeomLine,Zi as VVGeomLinerange,Qi as VVGeomMarkdown,Ji as VVGeomMarkdownsegment,_i as VVGeomPath,tr as VVGeomPoint,er as VVGeomPolygon,nr as VVGeomRect,ir as VVGeomSegment,rr as VVGeomStick,or as VVGeomText,sr as VVGeomTextsegment,lr as VVGeomTile,ul as VVPlot,hl as VVSelection,ZG as components,Ps as number_cut,u9 as oob,Dn as vvbreak,ki as vvlabel,js as vvscale,pa as vvtheme};
|