diff --git a/200.html b/200.html index 8356216..d27275c 100644 --- a/200.html +++ b/200.html @@ -8,14 +8,14 @@ - + - - + + - -
\ No newline at end of file diff --git a/404.html b/404.html index 8356216..d27275c 100644 --- a/404.html +++ b/404.html @@ -8,14 +8,14 @@ - + - - + + - -
\ No newline at end of file diff --git a/_payload.json b/_payload.json index 79cd58e..9726ec4 100644 --- a/_payload.json +++ b/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":3},["Reactive",2],{},1713933361381] \ No newline at end of file +[{"data":1,"prerenderedAt":3},["Reactive",2],{},1713933858838] \ No newline at end of file diff --git a/assets/WlsRhCXb.js b/assets/7IqAQcW-.js similarity index 86% rename from assets/WlsRhCXb.js rename to assets/7IqAQcW-.js index 3c20561..bb5555d 100644 --- a/assets/WlsRhCXb.js +++ b/assets/7IqAQcW-.js @@ -1,15 +1,15 @@ -var k1=Object.defineProperty;var S1=(e,r,t)=>r in e?k1(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var ur=(e,r,t)=>(S1(e,typeof r!="symbol"?r+"":r,t),t);import{k as A1,l as C1,E as We,a8 as Vr,y as _1,z as E1,Y as D1,A as _n,C as T1,D as M1,f as Eu,Q as F1,R as $a,N as Ha,K as lt,o as Ua,c as z1,a as jr,$ as En,a0 as Dn,h as u0,U as Tn,a6 as I1,V as B1,at as Va,au as ja,av as N1,aw as R1,ax as O1,X as L1,O as P1,g as q1}from"./LLeh9DNx.js";import{f as $1}from"./ZVcvh5EZ.js";var H1=A1("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control"),g0=H1.build(),de=C1({getRootId:e=>{var r;return((r=e.ids)==null?void 0:r.root)??`editable:${e.id}`},getAreaId:e=>{var r;return((r=e.ids)==null?void 0:r.area)??`editable:${e.id}:area`},getLabelId:e=>{var r;return((r=e.ids)==null?void 0:r.label)??`editable:${e.id}:label`},getPreviewId:e=>{var r;return((r=e.ids)==null?void 0:r.preview)??`editable:${e.id}:preview`},getInputId:e=>{var r;return((r=e.ids)==null?void 0:r.input)??`editable:${e.id}:input`},getControlId:e=>{var r;return((r=e.ids)==null?void 0:r.controls)??`editable:${e.id}:controls`},getSubmitTriggerId:e=>{var r;return((r=e.ids)==null?void 0:r.submitTrigger)??`editable:${e.id}:submit`},getCancelTriggerId:e=>{var r;return((r=e.ids)==null?void 0:r.cancelTrigger)??`editable:${e.id}:cancel`},getEditTriggerId:e=>{var r;return((r=e.ids)==null?void 0:r.editTrigger)??`editable:${e.id}:edit`},getInputEl:e=>de.getById(e,de.getInputId(e)),getPreviewEl:e=>de.getById(e,de.getPreviewId(e)),getSubmitTriggerEl:e=>de.getById(e,de.getSubmitTriggerId(e)),getCancelTriggerEl:e=>de.getById(e,de.getCancelTriggerId(e)),getEditTriggerEl:e=>de.getById(e,de.getEditTriggerId(e))});function U1(e,r,t){const u=e.context.disabled,n=e.context.isInteractive,a=e.context.readOnly,i=e.context.isValueEmpty,o=e.context.invalid,s=e.context.autoResize,f=e.context.translations,h=e.matches("edit"),d=e.context.placeholder,g=typeof d=="string"?{edit:d,preview:d}:d;return{isEditing:h,isValueEmpty:i,value:e.context.value,setValue(v){r({type:"SET_VALUE",value:v})},clearValue(){r({type:"SET_VALUE",value:""})},edit(){n&&r("EDIT")},cancel(){n&&r("CANCEL")},submit(){n&&r("SUBMIT")},rootProps:t.element({...g0.root.attrs,id:de.getRootId(e.context),dir:e.context.dir}),areaProps:t.element({...g0.area.attrs,id:de.getAreaId(e.context),dir:e.context.dir,style:s?{display:"inline-grid"}:void 0,"data-focus":We(h),"data-disabled":We(u),"data-placeholder-shown":We(i)}),labelProps:t.label({...g0.label.attrs,id:de.getLabelId(e.context),dir:e.context.dir,htmlFor:de.getInputId(e.context),"data-focus":We(h),"data-invalid":We(o),onPointerDown(v){var y;h||(v.preventDefault(),(y=de.getPreviewEl(e.context))==null||y.focus())}}),inputProps:t.input({...g0.input.attrs,dir:e.context.dir,"aria-label":f.input,name:e.context.name,form:e.context.form,id:de.getInputId(e.context),hidden:s?void 0:!h,placeholder:g==null?void 0:g.edit,maxLength:e.context.maxLength,disabled:u,"data-disabled":We(u),readOnly:a,"data-readonly":We(a),"aria-invalid":Vr(o),"data-invalid":We(o),defaultValue:e.context.value,size:s?1:void 0,onChange(v){r({type:"TYPE",value:v.currentTarget.value})},onKeyDown(v){const T={Escape(){r("CANCEL")},Enter(E){!E.shiftKey&&!E.metaKey&&r("ENTER")}}[v.key];T&&(v.preventDefault(),T(v))},style:s?{all:"unset",gridArea:"1 / 1 / auto / auto",visibility:h?void 0:"hidden"}:void 0}),previewProps:t.element({id:de.getPreviewId(e.context),...g0.preview.attrs,dir:e.context.dir,"data-placeholder-shown":We(i),"aria-readonly":Vr(a),"data-readonly":We(u),"data-disabled":We(u),"aria-disabled":Vr(u),"aria-invalid":Vr(o),"data-invalid":We(o),children:i?g==null?void 0:g.preview:e.context.value,hidden:s?void 0:h,tabIndex:n&&e.context.isPreviewFocusable?0:void 0,onFocus(){n&&r("FOCUS")},onDoubleClick(){n&&r("DBLCLICK")},style:s?{whiteSpace:"pre",userSelect:"none",gridArea:"1 / 1 / auto / auto",visibility:h?"hidden":void 0,overflow:"hidden",textOverflow:"ellipsis"}:void 0}),editTriggerProps:t.button({...g0.editTrigger.attrs,id:de.getEditTriggerId(e.context),dir:e.context.dir,"aria-label":f.edit,hidden:h,type:"button",disabled:u,onClick(){n&&r("EDIT")}}),controlProps:t.element({id:de.getControlId(e.context),...g0.control.attrs,dir:e.context.dir}),submitTriggerProps:t.button({...g0.submitTrigger.attrs,dir:e.context.dir,id:de.getSubmitTriggerId(e.context),"aria-label":f.submit,hidden:!h,disabled:u,type:"button",onClick(){n&&r("SUBMIT")}}),cancelTriggerProps:t.button({...g0.cancelTrigger.attrs,dir:e.context.dir,"aria-label":f.cancel,id:de.getCancelTriggerId(e.context),hidden:!h,type:"button",disabled:u,onClick(){n&&r("CANCEL")}})}}function V1(e){const r=_1(e);return E1({id:"editable",initial:r.startWithEditView?"edit":"preview",entry:r.startWithEditView?["focusInput"]:void 0,context:{activationMode:"focus",submitMode:"both",value:"",previousValue:"",selectOnFocus:!0,...r,translations:{input:"editable input",edit:"edit",submit:"submit",cancel:"cancel",...r.translations}},watch:{value:["syncInputValue"]},computed:{submitOnEnter:t=>["both","enter"].includes(t.submitMode),submitOnBlur:t=>["both","blur"].includes(t.submitMode),isInteractive:t=>!(t.disabled||t.readOnly),isValueEmpty:t=>t.value==="",isPreviewFocusable:t=>t.activationMode==="focus"},on:{SET_VALUE:{actions:"setValue"}},states:{preview:{entry:["blurInputIfNeeded"],on:{EDIT:{target:"edit",actions:["focusInput","invokeOnEdit"]},DBLCLICK:{guard:"activateOnDblClick",target:"edit",actions:["focusInput","invokeOnEdit"]},FOCUS:{guard:"activateOnFocus",target:"edit",actions:["setPreviousValue","focusInput","invokeOnEdit"]}}},edit:{activities:["trackInteractOutside"],on:{TYPE:{actions:"setValue"},BLUR:[{guard:"submitOnBlur",target:"preview",actions:["restoreFocus","invokeOnSubmit"]},{target:"preview",actions:["revertValue","restoreFocus","invokeOnCancel"]}],CANCEL:{target:"preview",actions:["revertValue","restoreFocus","invokeOnCancel"]},ENTER:{guard:"submitOnEnter",target:"preview",actions:["setPreviousValue","invokeOnSubmit","restoreFocus"]},SUBMIT:{target:"preview",actions:["setPreviousValue","invokeOnSubmit","restoreFocus"]}}}}},{guards:{submitOnBlur:t=>t.submitOnBlur,submitOnEnter:t=>t.submitOnEnter,activateOnDblClick:t=>t.activationMode==="dblclick",activateOnFocus:t=>t.activationMode==="focus"},activities:{trackInteractOutside(t,u,{send:n}){return $1(de.getInputEl(t),{exclude(a){return[de.getCancelTriggerEl(t),de.getSubmitTriggerEl(t)].some(o=>D1(o,a))},onFocusOutside:t.onFocusOutside,onPointerDownOutside:t.onPointerDownOutside,onInteractOutside(a){var o;if((o=t.onInteractOutside)==null||o.call(t,a),a.defaultPrevented)return;const{focusable:i}=a.detail;n({type:"BLUR",src:"interact-outside",focusable:i})}})}},actions:{restoreFocus(t,u){u.focusable||_n(()=>{var a;const n=((a=t.finalFocusEl)==null?void 0:a.call(t))??de.getEditTriggerEl(t);n==null||n.focus({preventScroll:!0})})},focusInput(t){_n(()=>{const u=de.getInputEl(t);u&&(t.selectOnFocus?u.select():u.focus({preventScroll:!0}))})},invokeOnCancel(t){var u;(u=t.onValueRevert)==null||u.call(t,{value:t.previousValue})},invokeOnSubmit(t){var u;(u=t.onValueCommit)==null||u.call(t,{value:t.value})},invokeOnEdit(t){var u;(u=t.onEdit)==null||u.call(t)},syncInputValue(t){Ga.value(t)},setValue(t,u){const n=t.maxLength!=null?u.value.slice(0,t.maxLength):u.value;Mn.value(t,n)},setPreviousValue(t){t.previousValue=t.value},revertValue(t){Mn.value(t,t.previousValue)},blurInputIfNeeded(t){var u;(u=de.getInputEl(t))==null||u.blur()}}})}var Ga={value:e=>{const r=de.getInputEl(e);de.setValue(r,e.value)}},j1={change(e){var r;(r=e.onValueChange)==null||r.call(e,{value:e.value}),Ga.value(e)}},Mn={value(e,r){T1(e.value,r)||(e.value=r,j1.change(e))}};M1()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEdit","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","selectOnFocus","startWithEditView","submitMode","translations","value"]);const rh=Eu({__name:"Editable",props:{id:{},default:{},onValueCommit:{type:Function}},setup(e){const r=e,[t,u]=F1(V1({id:r.id,selectOnFocus:!1,submitMode:"enter",onValueCommit:a=>{console.log("Value submitted",a.value),r.onValueCommit(a.value)}})),n=$a(()=>U1(t.value,u,B1));return Ha(()=>n.value.setValue(r.default)),lt(()=>r.default,()=>n.value.setValue(r.default)),(a,i)=>(Ua(),z1("div",{class:I1(["border-1.5 rounded",u0(n).isEditing?"border-dark-c":"border-transparent"])},[jr("div",En(Dn(u0(n).rootProps)),[jr("div",En(Dn(u0(n).areaProps)),[jr("input",Tn(u0(n).inputProps,{class:"w-full text-center outline-none px-1 bg-transparent"}),null,16),jr("div",Tn(u0(n).previewProps,{"text-center":"",truncate:""}),null,16)],16)],16)],2))}}),Ya="New Resume",Wa={marginV:55,marginH:45,lineHeight:1.3,paragraphSpace:5,themeColor:"#377bb5",fontCJK:{name:"华康宋体",fontFamily:"HKST"},fontEN:{name:"Minion Pro"},fontSize:15,paper:"A4"},G1=`--- -name: Haha Ha +var k1=Object.defineProperty;var S1=(e,r,t)=>r in e?k1(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var ur=(e,r,t)=>(S1(e,typeof r!="symbol"?r+"":r,t),t);import{k as A1,l as C1,E as We,a8 as Vr,y as _1,z as E1,Y as D1,A as _n,C as T1,D as M1,f as Eu,Q as F1,R as $a,N as Ha,K as st,o as Ua,c as z1,a as jr,$ as En,a0 as Dn,h as u0,U as Tn,a6 as I1,V as B1,at as Va,au as ja,av as N1,aw as R1,ax as O1,X as L1,O as P1,g as q1}from"./BZDDQZjI.js";import{f as $1}from"./DDzfXkp7.js";var H1=A1("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control"),g0=H1.build(),de=C1({getRootId:e=>{var r;return((r=e.ids)==null?void 0:r.root)??`editable:${e.id}`},getAreaId:e=>{var r;return((r=e.ids)==null?void 0:r.area)??`editable:${e.id}:area`},getLabelId:e=>{var r;return((r=e.ids)==null?void 0:r.label)??`editable:${e.id}:label`},getPreviewId:e=>{var r;return((r=e.ids)==null?void 0:r.preview)??`editable:${e.id}:preview`},getInputId:e=>{var r;return((r=e.ids)==null?void 0:r.input)??`editable:${e.id}:input`},getControlId:e=>{var r;return((r=e.ids)==null?void 0:r.controls)??`editable:${e.id}:controls`},getSubmitTriggerId:e=>{var r;return((r=e.ids)==null?void 0:r.submitTrigger)??`editable:${e.id}:submit`},getCancelTriggerId:e=>{var r;return((r=e.ids)==null?void 0:r.cancelTrigger)??`editable:${e.id}:cancel`},getEditTriggerId:e=>{var r;return((r=e.ids)==null?void 0:r.editTrigger)??`editable:${e.id}:edit`},getInputEl:e=>de.getById(e,de.getInputId(e)),getPreviewEl:e=>de.getById(e,de.getPreviewId(e)),getSubmitTriggerEl:e=>de.getById(e,de.getSubmitTriggerId(e)),getCancelTriggerEl:e=>de.getById(e,de.getCancelTriggerId(e)),getEditTriggerEl:e=>de.getById(e,de.getEditTriggerId(e))});function U1(e,r,t){const u=e.context.disabled,n=e.context.isInteractive,a=e.context.readOnly,i=e.context.isValueEmpty,o=e.context.invalid,l=e.context.autoResize,f=e.context.translations,h=e.matches("edit"),d=e.context.placeholder,g=typeof d=="string"?{edit:d,preview:d}:d;return{isEditing:h,isValueEmpty:i,value:e.context.value,setValue(v){r({type:"SET_VALUE",value:v})},clearValue(){r({type:"SET_VALUE",value:""})},edit(){n&&r("EDIT")},cancel(){n&&r("CANCEL")},submit(){n&&r("SUBMIT")},rootProps:t.element({...g0.root.attrs,id:de.getRootId(e.context),dir:e.context.dir}),areaProps:t.element({...g0.area.attrs,id:de.getAreaId(e.context),dir:e.context.dir,style:l?{display:"inline-grid"}:void 0,"data-focus":We(h),"data-disabled":We(u),"data-placeholder-shown":We(i)}),labelProps:t.label({...g0.label.attrs,id:de.getLabelId(e.context),dir:e.context.dir,htmlFor:de.getInputId(e.context),"data-focus":We(h),"data-invalid":We(o),onPointerDown(v){var y;h||(v.preventDefault(),(y=de.getPreviewEl(e.context))==null||y.focus())}}),inputProps:t.input({...g0.input.attrs,dir:e.context.dir,"aria-label":f.input,name:e.context.name,form:e.context.form,id:de.getInputId(e.context),hidden:l?void 0:!h,placeholder:g==null?void 0:g.edit,maxLength:e.context.maxLength,disabled:u,"data-disabled":We(u),readOnly:a,"data-readonly":We(a),"aria-invalid":Vr(o),"data-invalid":We(o),defaultValue:e.context.value,size:l?1:void 0,onChange(v){r({type:"TYPE",value:v.currentTarget.value})},onKeyDown(v){const T={Escape(){r("CANCEL")},Enter(E){!E.shiftKey&&!E.metaKey&&r("ENTER")}}[v.key];T&&(v.preventDefault(),T(v))},style:l?{all:"unset",gridArea:"1 / 1 / auto / auto",visibility:h?void 0:"hidden"}:void 0}),previewProps:t.element({id:de.getPreviewId(e.context),...g0.preview.attrs,dir:e.context.dir,"data-placeholder-shown":We(i),"aria-readonly":Vr(a),"data-readonly":We(u),"data-disabled":We(u),"aria-disabled":Vr(u),"aria-invalid":Vr(o),"data-invalid":We(o),children:i?g==null?void 0:g.preview:e.context.value,hidden:l?void 0:h,tabIndex:n&&e.context.isPreviewFocusable?0:void 0,onFocus(){n&&r("FOCUS")},onDoubleClick(){n&&r("DBLCLICK")},style:l?{whiteSpace:"pre",userSelect:"none",gridArea:"1 / 1 / auto / auto",visibility:h?"hidden":void 0,overflow:"hidden",textOverflow:"ellipsis"}:void 0}),editTriggerProps:t.button({...g0.editTrigger.attrs,id:de.getEditTriggerId(e.context),dir:e.context.dir,"aria-label":f.edit,hidden:h,type:"button",disabled:u,onClick(){n&&r("EDIT")}}),controlProps:t.element({id:de.getControlId(e.context),...g0.control.attrs,dir:e.context.dir}),submitTriggerProps:t.button({...g0.submitTrigger.attrs,dir:e.context.dir,id:de.getSubmitTriggerId(e.context),"aria-label":f.submit,hidden:!h,disabled:u,type:"button",onClick(){n&&r("SUBMIT")}}),cancelTriggerProps:t.button({...g0.cancelTrigger.attrs,dir:e.context.dir,"aria-label":f.cancel,id:de.getCancelTriggerId(e.context),hidden:!h,type:"button",disabled:u,onClick(){n&&r("CANCEL")}})}}function V1(e){const r=_1(e);return E1({id:"editable",initial:r.startWithEditView?"edit":"preview",entry:r.startWithEditView?["focusInput"]:void 0,context:{activationMode:"focus",submitMode:"both",value:"",previousValue:"",selectOnFocus:!0,...r,translations:{input:"editable input",edit:"edit",submit:"submit",cancel:"cancel",...r.translations}},watch:{value:["syncInputValue"]},computed:{submitOnEnter:t=>["both","enter"].includes(t.submitMode),submitOnBlur:t=>["both","blur"].includes(t.submitMode),isInteractive:t=>!(t.disabled||t.readOnly),isValueEmpty:t=>t.value==="",isPreviewFocusable:t=>t.activationMode==="focus"},on:{SET_VALUE:{actions:"setValue"}},states:{preview:{entry:["blurInputIfNeeded"],on:{EDIT:{target:"edit",actions:["focusInput","invokeOnEdit"]},DBLCLICK:{guard:"activateOnDblClick",target:"edit",actions:["focusInput","invokeOnEdit"]},FOCUS:{guard:"activateOnFocus",target:"edit",actions:["setPreviousValue","focusInput","invokeOnEdit"]}}},edit:{activities:["trackInteractOutside"],on:{TYPE:{actions:"setValue"},BLUR:[{guard:"submitOnBlur",target:"preview",actions:["restoreFocus","invokeOnSubmit"]},{target:"preview",actions:["revertValue","restoreFocus","invokeOnCancel"]}],CANCEL:{target:"preview",actions:["revertValue","restoreFocus","invokeOnCancel"]},ENTER:{guard:"submitOnEnter",target:"preview",actions:["setPreviousValue","invokeOnSubmit","restoreFocus"]},SUBMIT:{target:"preview",actions:["setPreviousValue","invokeOnSubmit","restoreFocus"]}}}}},{guards:{submitOnBlur:t=>t.submitOnBlur,submitOnEnter:t=>t.submitOnEnter,activateOnDblClick:t=>t.activationMode==="dblclick",activateOnFocus:t=>t.activationMode==="focus"},activities:{trackInteractOutside(t,u,{send:n}){return $1(de.getInputEl(t),{exclude(a){return[de.getCancelTriggerEl(t),de.getSubmitTriggerEl(t)].some(o=>D1(o,a))},onFocusOutside:t.onFocusOutside,onPointerDownOutside:t.onPointerDownOutside,onInteractOutside(a){var o;if((o=t.onInteractOutside)==null||o.call(t,a),a.defaultPrevented)return;const{focusable:i}=a.detail;n({type:"BLUR",src:"interact-outside",focusable:i})}})}},actions:{restoreFocus(t,u){u.focusable||_n(()=>{var a;const n=((a=t.finalFocusEl)==null?void 0:a.call(t))??de.getEditTriggerEl(t);n==null||n.focus({preventScroll:!0})})},focusInput(t){_n(()=>{const u=de.getInputEl(t);u&&(t.selectOnFocus?u.select():u.focus({preventScroll:!0}))})},invokeOnCancel(t){var u;(u=t.onValueRevert)==null||u.call(t,{value:t.previousValue})},invokeOnSubmit(t){var u;(u=t.onValueCommit)==null||u.call(t,{value:t.value})},invokeOnEdit(t){var u;(u=t.onEdit)==null||u.call(t)},syncInputValue(t){Ga.value(t)},setValue(t,u){const n=t.maxLength!=null?u.value.slice(0,t.maxLength):u.value;Mn.value(t,n)},setPreviousValue(t){t.previousValue=t.value},revertValue(t){Mn.value(t,t.previousValue)},blurInputIfNeeded(t){var u;(u=de.getInputEl(t))==null||u.blur()}}})}var Ga={value:e=>{const r=de.getInputEl(e);de.setValue(r,e.value)}},j1={change(e){var r;(r=e.onValueChange)==null||r.call(e,{value:e.value}),Ga.value(e)}},Mn={value(e,r){T1(e.value,r)||(e.value=r,j1.change(e))}};M1()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEdit","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","selectOnFocus","startWithEditView","submitMode","translations","value"]);const rh=Eu({__name:"Editable",props:{id:{},default:{},onValueCommit:{type:Function}},setup(e){const r=e,[t,u]=F1(V1({id:r.id,selectOnFocus:!1,submitMode:"enter",onValueCommit:a=>{console.log("Value submitted",a.value),r.onValueCommit(a.value)}})),n=$a(()=>U1(t.value,u,B1));return Ha(()=>n.value.setValue(r.default)),st(()=>r.default,()=>n.value.setValue(r.default)),(a,i)=>(Ua(),z1("div",{class:I1(["border-1.5 rounded",u0(n).isEditing?"border-dark-c":"border-transparent"])},[jr("div",En(Dn(u0(n).rootProps)),[jr("div",En(Dn(u0(n).areaProps)),[jr("input",Tn(u0(n).inputProps,{class:"w-full text-center outline-none px-1 bg-transparent"}),null,16),jr("div",Tn(u0(n).previewProps,{"text-center":"",truncate:""}),null,16)],16)],16)],2))}}),Ya="My Resume",Wa={marginV:55,marginH:45,lineHeight:1.3,paragraphSpace:5,themeColor:"#000000",fontCJK:{name:"华康宋体",fontFamily:"HKST"},fontEN:{name:"Times New Roman"},fontSize:15,paper:"A4"},G1=`--- +name: John Doe header: - text: (+1) 123-456-7890 - - text: renovamenzxh@gmail.com - link: mailto:renovamenzxh@gmail.com - - text: Renovamen - link: https://github.com/Renovamen - - text: xiaohan-zou - link: https://www.linkedin.com/in/xiaohan-zou/ - - text: zxh.io - link: https://zxh.io + - text: email@example.com + link: mailto:email@example.com + - text: example + link: https://github.com/example + - text: example + link: https://www.linkedin.com/in/example/ + - text: example.com + link: https://example.com - text: 1234 Abc Street, Boston, MA 02215 newLine: true --- @@ -99,11 +99,11 @@ B.Eng. in Software Engineering **Tools and Frameworks:** Git, PyTorch, Keras, scikit-learn, Linux, Vue, React, Django, $\\LaTeX$ **Languages:** Chinese (native), English (proficient) -`,se="#vue-smart-pages-preview",Y1=`/* Backbone CSS for Resume Template 1 */ +`,le="#vue-smart-pages-preview",Y1=`/* Backbone CSS for Resume Template 1 */ /* Basic */ -${se} { +${le} { background-color: white; color: black; text-align: justify; @@ -113,138 +113,138 @@ ${se} { hyphens: auto; } -${se} p, -${se} li, -${se} dl { +${le} p, +${le} li, +${le} dl { margin: 0; } /* Headings */ -${se} h1, -${se} h2, -${se} h3 { +${le} h1, +${le} h2, +${le} h3 { font-weight: bold; } -${se} h1 { +${le} h1 { font-size: 2.13em; } -${se} h2, -${se} h3 { +${le} h2, +${le} h3 { margin-bottom: 5px; font-size: 1.2em; } -${se} h2 { +${le} h2 { border-bottom-style: solid; border-bottom-width: 1px; } /* Lists */ -${se} ul, -${se} ol { +${le} ul, +${le} ol { padding-left: 1.5em; margin: 0.2em 0; } -${se} ul { - list-style-type: circle; +${le} ul { + list-style-type: disc; } -${se} ol { +${le} ol { list-style-type: decimal; } /* Definition Lists */ -${se} dl { +${le} dl { display: flex; } -${se} dl dt, -${se} dl dd:not(:last-child) { +${le} dl dt, +${le} dl dd:not(:last-child) { flex: 1; } /* Tex */ -${se} :not(span.katex-display) > span.katex { +${le} :not(span.katex-display) > span.katex { font-size: 1em !important; } /* SVG & Images */ -${se} svg.iconify { +${le} svg.iconify { vertical-align: -0.2em; } -${se} img { +${le} img { max-width: 100%; } /* Header */ -${se} .resume-header { +${le} .resume-header { text-align: center; } -${se} .resume-header h1 { +${le} .resume-header h1 { text-align: center; line-height: 1; margin-bottom: 8px; } -${se} .resume-header-item:not(.no-separator)::after { +${le} .resume-header-item:not(.no-separator)::after { content: " | "; } /* Citations */ -${se} ul.crossref-list { +${le} ul.crossref-list { padding-left: 1.2em; } -${se} li.crossref-item p { +${le} li.crossref-item p { margin-left: 0.5em; } -${se} li.crossref-item::marker { +${le} li.crossref-item::marker { content: attr(data-caption); } -${se} sup.crossref-ref { +${le} sup.crossref-ref { font-size: 100%; top: 0; } /* Dark & print mode */ -.dark ${se} { +.dark ${le} { background-color: #334155; color: #e5e7eb; } @media print { - ${se} { + ${le} { background-color: white !important; color: black !important; } - .dark ${se} a { + .dark ${le} a { color: black !important; } } -`;var W1=(()=>{try{return new CSSStyleSheet,!0}catch{}return!1})(),Z1=void 0,X1={},Du=(e,r)=>{let t=r?X1[r]:Z1;W1?(t&&!(t instanceof CSSStyleSheet)&&(t=void 0),t?t.replaceSync(e):(t=new CSSStyleSheet,t.replaceSync(e),document.adoptedStyleSheets=[...document.adoptedStyleSheets,t])):(t&&!(t instanceof HTMLStyleElement)&&(t=void 0),t?t.innerHTML=e:(t=document.createElement("style"),t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)))};const K1=(e,r)=>`#${r} :not(.resume-header-item) > a { color: ${e.themeColor} }#${r} h1, #${r} h2, #${r} h3 { color: ${e.themeColor} }#${r} h2 { border-bottom-color: ${e.themeColor} }`,J1=(e,r)=>{const t=e.lineHeight;return`#${r} p, #${r} li { line-height: ${t.toFixed(2)} }#${r} h2, #${r} h3 { line-height: ${(t*1.154).toFixed(2)} }#${r} dl { line-height: ${(t*1.038).toFixed(2)} }`},Q1=(e,r)=>`#${r} h2 { margin-top: ${e.paragraphSpace}px }`,es=(e,r)=>{const t=e.fontEN.fontFamily||e.fontEN.name,u=e.fontCJK.fontFamily||e.fontCJK.name;return`#${r} { font-family: ${t}, ${u} }`},rs=(e,r)=>`#${r} { font-size: ${e.fontSize}px }`,ts=e=>`@media print { @page { size: ${e.paper}; } }`,us=(e,r)=>{const t=`vue-smart-pages-${r}`,u=es(e,t)+rs(e,t)+K1(e,t)+Q1(e,t)+J1(e,t)+(r==="preview"?ts(e):"");Du(u,`resume-md-dynamic-${r}`)},ns=(e,r)=>{r!=="preview"&&(e=e.replaceAll(se,`#vue-smart-pages-${r}`)),Du(e,`resume-md-backbone-${r}`)},Tu=Va("data",()=>{const e=ja({mdContent:"",cssContent:"",mdFlag:!1,cssFlag:!1,curResumeId:null,curResumeName:Ya});return{data:e,setData:(n,a)=>{e[n]=a,n==="cssContent"&&ns(a,"preview")},toggleMdFlag:n=>{e.mdFlag=n},toggleCssFlag:n=>{e.cssFlag=n}}}),as=10,th=["#000000","#377bb5","#ca3832","#ee8732","#9c5bde","#43912b"],is=[{name:"Adobe Garamond Pro"},{name:"CMU Sans Serif"},{name:"Euclid"},{name:"Minion Pro"},{name:"Tex Gyre Pagella"},{name:"Times Newer Roman"}],os=[{name:"华康宋体",fontFamily:"HKST"},{name:"霞鹜文楷",fontFamily:"LXGW WenKai"}],ss=["chinese-simplified","chinese-traditional","japanese","korean"],uh={"Noto Sans SC":"思源黑体(简)","Noto Sans TC":"思源黑体(繁)","Noto Serif SC":"思源宋体(简)","Noto Serif TC":"思源宋体(繁)"},nh=["思源黑体(简)","思源黑体(繁)","思源宋体(简)","思源宋体(繁)"],ls=["Baloo 2","Baloo Bhai 2","Baloo Bhaijaan 2","Baloo Bhaina 2","Baloo Chettan 2","Baloo Da 2","Baloo Paaji 2","Baloo Tamma 2","Baloo Tammudu 2","Baloo Thambi 2","Brygada 1918","Exo 2","M PLUS 1","M PLUS 1 Code","M PLUS 1p","M PLUS 2","M PLUS Rounded 1c","Shippori Mincho","Source Sans 3","Source Serif 4"],Za={A4:{h:299,w:210},letter:{h:279.4+3,w:215.9}},cs=3.78,fs=(e,r)=>~~(Za[e][r]*cs);var Xa=e=>`font-${e}`,ds=e=>document.getElementById(Xa(e))!==null,hs=(e,r)=>{const t=document.createElement("style");t.id=Xa(e),t.textContent=r,document.head.appendChild(t)},ms="https://www.googleapis.com/webfonts/v1/webfonts",ps="https://fonts.googleapis.com/css",Ka=e=>new Promise((r,t)=>{const u=new XMLHttpRequest;u.overrideMimeType("application/json"),u.open("GET",e,!0),u.onreadystatechange=()=>{u.readyState===4&&(u.status!==200?t(new Error(`Response has status code ${u.status}`)):r(u.responseText))},u.send()}),bs=async(e,r,t)=>{const u=new URL(ps),n=t.join(","),a=e.map(i=>`${i.family}:${n}`);return u.searchParams.append("family",a.join("|")),u.searchParams.append("subset",r.join(",")),u.searchParams.append("font-display","swap"),Ka(u.href)},vs=e=>e.replace(/\s+/g,"-").toLowerCase(),gs=async e=>{const r=new URL(ms);r.searchParams.append("sort","popularity"),r.searchParams.append("key",e);const t=await Ka(r.href);return JSON.parse(t).items.map(n=>{const{family:a,...i}=n;return{...i,family:a,id:vs(a)}})},xs=async(e,r,t)=>{if(!ds(e.id)){const u=await bs([e],r,t);hs(e.id,u)}},ys=class{constructor(e,{families:r=[],categories:t=[],subsets:u=["latin"],variants:n=["regular"],filter:a=()=>!0,limit:i=-1,sort:o="alphabet"}={},s=()=>{}){ur(this,"apiKey");ur(this,"options");ur(this,"activeFontFamily");ur(this,"onChange");ur(this,"fontMap",new Map);this.apiKey=e,this.options={families:r,categories:t,subsets:u,variants:n,filter:a,limit:i,sort:o},this.onChange=s,this.activeFontFamily=""}async init(){const e=await gs(this.apiKey);for(let r=0;r=0&&this.fontMap.size>=this.options.limit)break;(this.options.families.length===0||this.options.families.includes(t.family))&&(this.options.categories.length===0||this.options.categories.includes(t.category))&&this.options.subsets.every(u=>t.subsets.includes(u))&&this.options.variants.every(u=>t.variants.includes(u))&&this.options.filter(t)===!0&&this.fontMap.set(t.family,t)}return this.options.sort==="alphabet"&&(this.fontMap=new Map([...this.fontMap.entries()].sort(([r],[t])=>r.localeCompare(t)))),this.fontMap}getFontMap(){return this.fontMap}getActiveFont(){const e=this.fontMap.get(this.activeFontFamily);if(e)return e;throw Error(`Cannot get active font: "${this.activeFontFamily}" is not in the font list`)}async setActiveFont(e){const r=this.fontMap.get(e);if(!r)throw Error(`Cannot update active font: "${e}" is not in the font list`);this.activeFontFamily=e,await xs(r,this.options.subsets,this.options.variants),this.onChange(r)}setOnChange(e){this.onChange=e}},ws=ys;let Gr;const ks=e=>{const r=t=>t.some(u=>(u.fontFamily||u.name)===(e.fontFamily||e.name));return!r(is)&&!r(os)},Ja=async()=>{const r=N1().public.googleFontsKey;return!Gr&&r!==""&&(Gr=new ws(r,{variants:["regular","700"],filter:t=>!ls.includes(t.family)}),await Gr.init()),Gr},Ss=async e=>{if(ks(e)){const r=await Ja();r&&await r.setActiveFont(e.fontFamily||e.name)}},ah=async()=>{const e=await Ja();if(!e)return{gfonts_en:[],gfonts_cjk:[]};const r=e.getFontMap(),t=[],u=[];for(const n of r.keys()){const a=r.get(n);ss.some(i=>a.subsets.includes(i))?u.push(a):t.push(a)}return{gfonts_en:t,gfonts_cjk:u}},As=e=>{const r=[];for(const t of typeof e=="string"?[e]:e)r.push(document.fonts.load(`12px ${t}`));return Promise.all(r)},Cs=e=>As([e.fontEN.fontFamily||e.fontEN.name,e.fontCJK.fontFamily||e.fontCJK.name]);var ih=async e=>{try{const r=await fetch(e);if(!r.ok)throw Error("Request error: "+r);return r.text()}catch(r){return Promise.reject(r)}},_s=(e,r)=>{const t=n=>{if(n.stopPropagation(),!n.target.files||n.target.files.length<1)return;const a=n.target.files[0];let i=null;const o=()=>{const s=i.result;e(s)};i=new FileReader,i.onloadend=o,i.readAsText(a)},u=document.createElement("input");u.style.display="none",u.type="file",u.onchange=t,r&&(u.accept=r),document.body.appendChild(u),u.click(),document.body.removeChild(u)},Es=(e,r)=>{const t=document.createElement("a");t.href="data:text/plain;charset=utf-8,"+encodeURIComponent(r),t.download=e,t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)},Qa=typeof window<"u",qa,Ds=Qa?/mac/i.test(((qa=navigator.userAgentData)==null?void 0:qa.platform)||navigator.platform):!1,ei=e=>JSON.parse(JSON.stringify(e));const Ts=Va("style",()=>{const e=ei(Wa),r=ja(e);return{styles:r,setStyle:async(u,n)=>{["fontCJK","fontEN"].includes(u)&&await Ss(n),r[u]=n,["marginV","marginH"].includes(u)||us(r,"preview")}}}),K0=()=>{const e=R1(),r=$a(()=>e.$toast.value);return{save:()=>{r.value.create({description:e.$i18n.t("notification.save"),type:"success"})},switch:f=>{r.value.create({description:e.$i18n.t("notification.switch",{msg:f}),type:"info"})},delete:f=>{r.value.create({description:e.$i18n.t("notification.delete",{msg:f}),type:"error"})},new:()=>{r.value.create({description:e.$i18n.t("notification.new"),type:"success"})},duplicate:f=>{r.value.create({description:e.$i18n.t("notification.duplicate",{old:f,new:f+" Copy"}),type:"success"})},correct:f=>{f===!0?r.value.create({description:e.$i18n.t("notification.correct.no"),type:"info"}):r.value.create({description:e.$i18n.t("notification.correct.yes",{num:f}),type:"success"})},import:f=>{f?r.value.create({description:e.$i18n.t("notification.import.yes"),type:"success"}):r.value.create({description:e.$i18n.t("notification.import.no"),type:"error"})}}};var Yr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ms(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Wr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ri={exports:{}};/*! +`;var W1=(()=>{try{return new CSSStyleSheet,!0}catch{}return!1})(),Z1=void 0,X1={},Du=(e,r)=>{let t=r?X1[r]:Z1;W1?(t&&!(t instanceof CSSStyleSheet)&&(t=void 0),t?t.replaceSync(e):(t=new CSSStyleSheet,t.replaceSync(e),document.adoptedStyleSheets=[...document.adoptedStyleSheets,t])):(t&&!(t instanceof HTMLStyleElement)&&(t=void 0),t?t.innerHTML=e:(t=document.createElement("style"),t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)))};const K1=(e,r)=>`#${r} :not(.resume-header-item) > a { color: ${e.themeColor} }#${r} h1, #${r} h2, #${r} h3 { color: ${e.themeColor} }#${r} h2 { border-bottom-color: ${e.themeColor} }`,J1=(e,r)=>{const t=e.lineHeight;return`#${r} p, #${r} li { line-height: ${t.toFixed(2)} }#${r} h2, #${r} h3 { line-height: ${(t*1.154).toFixed(2)} }#${r} dl { line-height: ${(t*1.038).toFixed(2)} }`},Q1=(e,r)=>`#${r} h2 { margin-top: ${e.paragraphSpace}px }`,el=(e,r)=>{const t=e.fontEN.fontFamily||e.fontEN.name,u=e.fontCJK.fontFamily||e.fontCJK.name;return`#${r} { font-family: ${t}, ${u} }`},rl=(e,r)=>`#${r} { font-size: ${e.fontSize}px }`,tl=e=>`@media print { @page { size: ${e.paper}; } }`,ul=(e,r)=>{const t=`vue-smart-pages-${r}`,u=el(e,t)+rl(e,t)+K1(e,t)+Q1(e,t)+J1(e,t)+(r==="preview"?tl(e):"");Du(u,`resume-md-dynamic-${r}`)},nl=(e,r)=>{r!=="preview"&&(e=e.replaceAll(le,`#vue-smart-pages-${r}`)),Du(e,`resume-md-backbone-${r}`)},Tu=Va("data",()=>{const e=ja({mdContent:"",cssContent:"",mdFlag:!1,cssFlag:!1,curResumeId:null,curResumeName:Ya});return{data:e,setData:(n,a)=>{e[n]=a,n==="cssContent"&&nl(a,"preview")},toggleMdFlag:n=>{e.mdFlag=n},toggleCssFlag:n=>{e.cssFlag=n}}}),al=10,th=["#000000","#377bb5","#ca3832","#ee8732","#9c5bde","#43912b"],il=[{name:"Adobe Garamond Pro"},{name:"CMU Sans Serif"},{name:"Euclid"},{name:"Minion Pro"},{name:"Tex Gyre Pagella"},{name:"Times Newer Roman"}],ol=[{name:"华康宋体",fontFamily:"HKST"},{name:"霞鹜文楷",fontFamily:"LXGW WenKai"}],ll=["chinese-simplified","chinese-traditional","japanese","korean"],uh={"Noto Sans SC":"思源黑体(简)","Noto Sans TC":"思源黑体(繁)","Noto Serif SC":"思源宋体(简)","Noto Serif TC":"思源宋体(繁)"},nh=["思源黑体(简)","思源黑体(繁)","思源宋体(简)","思源宋体(繁)"],sl=["Baloo 2","Baloo Bhai 2","Baloo Bhaijaan 2","Baloo Bhaina 2","Baloo Chettan 2","Baloo Da 2","Baloo Paaji 2","Baloo Tamma 2","Baloo Tammudu 2","Baloo Thambi 2","Brygada 1918","Exo 2","M PLUS 1","M PLUS 1 Code","M PLUS 1p","M PLUS 2","M PLUS Rounded 1c","Shippori Mincho","Source Sans 3","Source Serif 4"],Za={A4:{h:299,w:210},letter:{h:279.4+3,w:215.9}},cl=3.78,fl=(e,r)=>~~(Za[e][r]*cl);var Xa=e=>`font-${e}`,dl=e=>document.getElementById(Xa(e))!==null,hl=(e,r)=>{const t=document.createElement("style");t.id=Xa(e),t.textContent=r,document.head.appendChild(t)},ml="https://www.googleapis.com/webfonts/v1/webfonts",pl="https://fonts.googleapis.com/css",Ka=e=>new Promise((r,t)=>{const u=new XMLHttpRequest;u.overrideMimeType("application/json"),u.open("GET",e,!0),u.onreadystatechange=()=>{u.readyState===4&&(u.status!==200?t(new Error(`Response has status code ${u.status}`)):r(u.responseText))},u.send()}),bl=async(e,r,t)=>{const u=new URL(pl),n=t.join(","),a=e.map(i=>`${i.family}:${n}`);return u.searchParams.append("family",a.join("|")),u.searchParams.append("subset",r.join(",")),u.searchParams.append("font-display","swap"),Ka(u.href)},vl=e=>e.replace(/\s+/g,"-").toLowerCase(),gl=async e=>{const r=new URL(ml);r.searchParams.append("sort","popularity"),r.searchParams.append("key",e);const t=await Ka(r.href);return JSON.parse(t).items.map(n=>{const{family:a,...i}=n;return{...i,family:a,id:vl(a)}})},xl=async(e,r,t)=>{if(!dl(e.id)){const u=await bl([e],r,t);hl(e.id,u)}},yl=class{constructor(e,{families:r=[],categories:t=[],subsets:u=["latin"],variants:n=["regular"],filter:a=()=>!0,limit:i=-1,sort:o="alphabet"}={},l=()=>{}){ur(this,"apiKey");ur(this,"options");ur(this,"activeFontFamily");ur(this,"onChange");ur(this,"fontMap",new Map);this.apiKey=e,this.options={families:r,categories:t,subsets:u,variants:n,filter:a,limit:i,sort:o},this.onChange=l,this.activeFontFamily=""}async init(){const e=await gl(this.apiKey);for(let r=0;r=0&&this.fontMap.size>=this.options.limit)break;(this.options.families.length===0||this.options.families.includes(t.family))&&(this.options.categories.length===0||this.options.categories.includes(t.category))&&this.options.subsets.every(u=>t.subsets.includes(u))&&this.options.variants.every(u=>t.variants.includes(u))&&this.options.filter(t)===!0&&this.fontMap.set(t.family,t)}return this.options.sort==="alphabet"&&(this.fontMap=new Map([...this.fontMap.entries()].sort(([r],[t])=>r.localeCompare(t)))),this.fontMap}getFontMap(){return this.fontMap}getActiveFont(){const e=this.fontMap.get(this.activeFontFamily);if(e)return e;throw Error(`Cannot get active font: "${this.activeFontFamily}" is not in the font list`)}async setActiveFont(e){const r=this.fontMap.get(e);if(!r)throw Error(`Cannot update active font: "${e}" is not in the font list`);this.activeFontFamily=e,await xl(r,this.options.subsets,this.options.variants),this.onChange(r)}setOnChange(e){this.onChange=e}},wl=yl;let Gr;const kl=e=>{const r=t=>t.some(u=>(u.fontFamily||u.name)===(e.fontFamily||e.name));return!r(il)&&!r(ol)},Ja=async()=>{const r=N1().public.googleFontsKey;return!Gr&&r!==""&&(Gr=new wl(r,{variants:["regular","700"],filter:t=>!sl.includes(t.family)}),await Gr.init()),Gr},Sl=async e=>{if(kl(e)){const r=await Ja();r&&await r.setActiveFont(e.fontFamily||e.name)}},ah=async()=>{const e=await Ja();if(!e)return{gfonts_en:[],gfonts_cjk:[]};const r=e.getFontMap(),t=[],u=[];for(const n of r.keys()){const a=r.get(n);ll.some(i=>a.subsets.includes(i))?u.push(a):t.push(a)}return{gfonts_en:t,gfonts_cjk:u}},Al=e=>{const r=[];for(const t of typeof e=="string"?[e]:e)r.push(document.fonts.load(`12px ${t}`));return Promise.all(r)},Cl=e=>Al([e.fontEN.fontFamily||e.fontEN.name,e.fontCJK.fontFamily||e.fontCJK.name]);var ih=async e=>{try{const r=await fetch(e);if(!r.ok)throw Error("Request error: "+r);return r.text()}catch(r){return Promise.reject(r)}},_l=(e,r)=>{const t=n=>{if(n.stopPropagation(),!n.target.files||n.target.files.length<1)return;const a=n.target.files[0];let i=null;const o=()=>{const l=i.result;e(l)};i=new FileReader,i.onloadend=o,i.readAsText(a)},u=document.createElement("input");u.style.display="none",u.type="file",u.onchange=t,r&&(u.accept=r),document.body.appendChild(u),u.click(),document.body.removeChild(u)},El=(e,r)=>{const t=document.createElement("a");t.href="data:text/plain;charset=utf-8,"+encodeURIComponent(r),t.download=e,t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)},Qa=typeof window<"u",qa,Dl=Qa?/mac/i.test(((qa=navigator.userAgentData)==null?void 0:qa.platform)||navigator.platform):!1,ei=e=>JSON.parse(JSON.stringify(e));const Tl=Va("style",()=>{const e=ei(Wa),r=ja(e);return{styles:r,setStyle:async(u,n)=>{["fontCJK","fontEN"].includes(u)&&await Sl(n),r[u]=n,["marginV","marginH"].includes(u)||ul(r,"preview")}}}),K0=()=>{const e=R1(),r=$a(()=>e.$toast.value);return{save:()=>{r.value.create({description:e.$i18n.t("notification.save"),type:"success"})},switch:f=>{r.value.create({description:e.$i18n.t("notification.switch",{msg:f}),type:"info"})},delete:f=>{r.value.create({description:e.$i18n.t("notification.delete",{msg:f}),type:"error"})},new:()=>{r.value.create({description:e.$i18n.t("notification.new"),type:"success"})},duplicate:f=>{r.value.create({description:e.$i18n.t("notification.duplicate",{old:f,new:f+" Copy"}),type:"success"})},correct:f=>{f===!0?r.value.create({description:e.$i18n.t("notification.correct.no"),type:"info"}):r.value.create({description:e.$i18n.t("notification.correct.yes",{num:f}),type:"success"})},import:f=>{f?r.value.create({description:e.$i18n.t("notification.import.yes"),type:"success"}):r.value.create({description:e.$i18n.t("notification.import.no"),type:"error"})}}};var Yr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ml(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Wr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ri={exports:{}};/*! localForage -- Offline Storage, Improved Version 1.10.0 https://localforage.github.io/localForage (c) 2013-2017 Mozilla, Apache License 2.0 -*/(function(e,r){(function(t){e.exports=t()})(function(){return function t(u,n,a){function i(f,h){if(!n[f]){if(!u[f]){var d=typeof Wr=="function"&&Wr;if(!h&&d)return d(f,!0);if(o)return o(f,!0);var g=new Error("Cannot find module '"+f+"'");throw g.code="MODULE_NOT_FOUND",g}var v=n[f]={exports:{}};u[f][0].call(v.exports,function(y){var T=u[f][1][y];return i(T||y)},v,v.exports,t,u,n,a)}return n[f].exports}for(var o=typeof Wr=="function"&&Wr,s=0;s"u"&&t(3);var d=Promise;function g(b,S){S&&b.then(function(x){S(null,x)},function(x){S(x)})}function v(b,S,x){typeof S=="function"&&b.then(S),typeof x=="function"&&b.catch(x)}function y(b){return typeof b!="string"&&(console.warn(b+" used as a key, but it is not a string."),b=String(b)),b}function T(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var E="local-forage-detect-blob-support",I=void 0,z={},R=Object.prototype.toString,q="readonly",F="readwrite";function O(b){for(var S=b.length,x=new ArrayBuffer(S),_=new Uint8Array(x),D=0;D=43)}}).catch(function(){return!1})}function Z(b){return typeof I=="boolean"?d.resolve(I):H(b).then(function(S){return I=S,I})}function K(b){var S=z[b.name],x={};x.promise=new d(function(_,D){x.resolve=_,x.reject=D}),S.deferredOperations.push(x),S.dbReady?S.dbReady=S.dbReady.then(function(){return x.promise}):S.dbReady=x.promise}function le(b){var S=z[b.name],x=S.deferredOperations.pop();if(x)return x.resolve(),x.promise}function ie(b,S){var x=z[b.name],_=x.deferredOperations.pop();if(_)return _.reject(S),_.promise}function ae(b,S){return new d(function(x,_){if(z[b.name]=z[b.name]||Ie(),b.db)if(S)K(b),b.db.close();else return x(b.db);var D=[b.name];S&&D.push(b.version);var C=s.open.apply(s,D);S&&(C.onupgradeneeded=function(B){var L=C.result;try{L.createObjectStore(b.storeName),B.oldVersion<=1&&L.createObjectStore(E)}catch(U){if(U.name==="ConstraintError")console.warn('The database "'+b.name+'" has been upgraded from version '+B.oldVersion+" to version "+B.newVersion+', but the storage "'+b.storeName+'" already exists.');else throw U}}),C.onerror=function(B){B.preventDefault(),_(C.error)},C.onsuccess=function(){var B=C.result;B.onversionchange=function(L){L.target.close()},x(B),le(b)}})}function ke(b){return ae(b,!1)}function ve(b){return ae(b,!0)}function me(b,S){if(!b.db)return!0;var x=!b.db.objectStoreNames.contains(b.storeName),_=b.versionb.db.version;if(_&&(b.version!==S&&console.warn('The database "'+b.name+`" can't be downgraded from version `+b.db.version+" to version "+b.version+"."),b.version=b.db.version),D||x){if(x){var C=b.db.version+1;C>b.version&&(b.version=C)}return!0}return!1}function Le(b){return new d(function(S,x){var _=new FileReader;_.onerror=x,_.onloadend=function(D){var C=btoa(D.target.result||"");S({__local_forage_encoded_blob:!0,data:C,type:b.type})},_.readAsBinaryString(b)})}function Ue(b){var S=O(atob(b.data));return h([S],{type:b.type})}function b0(b){return b&&b.__local_forage_encoded_blob}function yr(b){var S=this,x=S._initReady().then(function(){var _=z[S._dbInfo.name];if(_&&_.dbReady)return _.dbReady});return v(x,b,b),x}function a0(b){K(b);for(var S=z[b.name],x=S.forages,_=0;_0&&(!b.db||C.name==="InvalidStateError"||C.name==="NotFoundError"))return d.resolve().then(function(){if(!b.db||C.name==="NotFoundError"&&!b.db.objectStoreNames.contains(b.storeName)&&b.version<=b.db.version)return b.db&&(b.version=b.db.version+1),ve(b)}).then(function(){return a0(b).then(function(){Te(b,S,x,_-1)})}).catch(x);x(C)}}function Ie(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function Y0(b){var S=this,x={db:null};if(b)for(var _ in b)x[_]=b[_];var D=z[x.name];D||(D=Ie(),z[x.name]=D),D.forages.push(S),S._initReady||(S._initReady=S.ready,S.ready=yr);var C=[];function B(){return d.resolve()}for(var L=0;L>4,j[D++]=(B&15)<<4|L>>2,j[D++]=(L&3)<<6|U&63;return V}function Lt(b){var S=new Uint8Array(b),x="",_;for(_=0;_>2],x+=r0[(S[_]&3)<<4|S[_+1]>>4],x+=r0[(S[_+1]&15)<<2|S[_+2]>>6],x+=r0[S[_+2]&63];return S.length%3===2?x=x.substring(0,x.length-1)+"=":S.length%3===1&&(x=x.substring(0,x.length-2)+"=="),x}function Lo(b,S){var x="";if(b&&(x=gn.call(b)),b&&(x==="[object ArrayBuffer]"||b.buffer&&gn.call(b.buffer)==="[object ArrayBuffer]")){var _,D=v0;b instanceof ArrayBuffer?(_=b,D+=Rt):(_=b.buffer,x==="[object Int8Array]"?D+=sn:x==="[object Uint8Array]"?D+=ln:x==="[object Uint8ClampedArray]"?D+=cn:x==="[object Int16Array]"?D+=fn:x==="[object Uint16Array]"?D+=hn:x==="[object Int32Array]"?D+=dn:x==="[object Uint32Array]"?D+=mn:x==="[object Float32Array]"?D+=pn:x==="[object Float64Array]"?D+=bn:S(new Error("Failed to get type for BinaryArray"))),S(D+Lt(_))}else if(x==="[object Blob]"){var C=new FileReader;C.onload=function(){var B=Hr+b.type+"~"+Lt(this.result);S(v0+Ot+B)},C.readAsArrayBuffer(b)}else try{S(JSON.stringify(b))}catch(B){console.error("Couldn't convert value into a JSON string: ",b),S(null,B)}}function Po(b){if(b.substring(0,F0)!==v0)return JSON.parse(b);var S=b.substring(vn),x=b.substring(F0,vn),_;if(x===Ot&&rr.test(S)){var D=S.match(rr);_=D[1],S=S.substring(D[0].length)}var C=xn(S);switch(x){case Rt:return C;case Ot:return h([C],{type:_});case sn:return new Int8Array(C);case ln:return new Uint8Array(C);case cn:return new Uint8ClampedArray(C);case fn:return new Int16Array(C);case hn:return new Uint16Array(C);case dn:return new Int32Array(C);case mn:return new Uint32Array(C);case pn:return new Float32Array(C);case bn:return new Float64Array(C);default:throw new Error("Unkown type: "+x)}}var Pt={serialize:Lo,deserialize:Po,stringToBuffer:xn,bufferToString:Lt};function yn(b,S,x,_){b.executeSql("CREATE TABLE IF NOT EXISTS "+S.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],x,_)}function qo(b){var S=this,x={db:null};if(b)for(var _ in b)x[_]=typeof b[_]!="string"?b[_].toString():b[_];var D=new d(function(C,B){try{x.db=openDatabase(x.name,String(x.version),x.description,x.size)}catch(L){return B(L)}x.db.transaction(function(L){yn(L,x,function(){S._dbInfo=x,C()},function(U,V){B(V)})},B)});return x.serializer=Pt,D}function z0(b,S,x,_,D,C){b.executeSql(x,_,D,function(B,L){L.code===L.SYNTAX_ERR?B.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[S.storeName],function(U,V){V.rows.length?C(U,L):yn(U,S,function(){U.executeSql(x,_,D,C)},C)},C):C(B,L)},C)}function $o(b,S){var x=this;b=y(b);var _=new d(function(D,C){x.ready().then(function(){var B=x._dbInfo;B.db.transaction(function(L){z0(L,B,"SELECT * FROM "+B.storeName+" WHERE key = ? LIMIT 1",[b],function(U,V){var j=V.rows.length?V.rows.item(0).value:null;j&&(j=B.serializer.deserialize(j)),D(j)},function(U,V){C(V)})})}).catch(C)});return g(_,S),_}function Ho(b,S){var x=this,_=new d(function(D,C){x.ready().then(function(){var B=x._dbInfo;B.db.transaction(function(L){z0(L,B,"SELECT * FROM "+B.storeName,[],function(U,V){for(var j=V.rows,X=j.length,ne=0;ne0){B(wn.apply(D,[b,U,x,_-1]));return}L(ne)}})})}).catch(L)});return g(C,x),C}function Uo(b,S,x){return wn.apply(this,[b,S,x,1])}function Vo(b,S){var x=this;b=y(b);var _=new d(function(D,C){x.ready().then(function(){var B=x._dbInfo;B.db.transaction(function(L){z0(L,B,"DELETE FROM "+B.storeName+" WHERE key = ?",[b],function(){D()},function(U,V){C(V)})})}).catch(C)});return g(_,S),_}function jo(b){var S=this,x=new d(function(_,D){S.ready().then(function(){var C=S._dbInfo;C.db.transaction(function(B){z0(B,C,"DELETE FROM "+C.storeName,[],function(){_()},function(L,U){D(U)})})}).catch(D)});return g(x,b),x}function Go(b){var S=this,x=new d(function(_,D){S.ready().then(function(){var C=S._dbInfo;C.db.transaction(function(B){z0(B,C,"SELECT COUNT(key) as c FROM "+C.storeName,[],function(L,U){var V=U.rows.item(0).c;_(V)},function(L,U){D(U)})})}).catch(D)});return g(x,b),x}function Yo(b,S){var x=this,_=new d(function(D,C){x.ready().then(function(){var B=x._dbInfo;B.db.transaction(function(L){z0(L,B,"SELECT key FROM "+B.storeName+" WHERE id = ? LIMIT 1",[b+1],function(U,V){var j=V.rows.length?V.rows.item(0).key:null;D(j)},function(U,V){C(V)})})}).catch(C)});return g(_,S),_}function Wo(b){var S=this,x=new d(function(_,D){S.ready().then(function(){var C=S._dbInfo;C.db.transaction(function(B){z0(B,C,"SELECT key FROM "+C.storeName,[],function(L,U){for(var V=[],j=0;j '__WebKitDatabaseInfoTable__'",[],function(D,C){for(var B=[],L=0;L0}function r1(b){var S=this,x={};if(b)for(var _ in b)x[_]=b[_];return x.keyPrefix=kn(b,S._defaultConfig),e1()?(S._dbInfo=x,x.serializer=Pt,d.resolve()):d.reject()}function t1(b){var S=this,x=S.ready().then(function(){for(var _=S._dbInfo.keyPrefix,D=localStorage.length-1;D>=0;D--){var C=localStorage.key(D);C.indexOf(_)===0&&localStorage.removeItem(C)}});return g(x,b),x}function u1(b,S){var x=this;b=y(b);var _=x.ready().then(function(){var D=x._dbInfo,C=localStorage.getItem(D.keyPrefix+b);return C&&(C=D.serializer.deserialize(C)),C});return g(_,S),_}function n1(b,S){var x=this,_=x.ready().then(function(){for(var D=x._dbInfo,C=D.keyPrefix,B=C.length,L=localStorage.length,U=1,V=0;V=0;B--){var L=localStorage.key(B);L.indexOf(C)===0&&localStorage.removeItem(L)}}):D=d.reject("Invalid arguments"),g(D,S),D}var f1={_driver:"localStorageWrapper",_initStorage:r1,_support:Jo(),iterate:n1,getItem:u1,setItem:l1,removeItem:s1,clear:t1,length:o1,key:a1,keys:i1,dropInstance:c1},d1=function(S,x){return S===x||typeof S=="number"&&typeof x=="number"&&isNaN(S)&&isNaN(x)},h1=function(S,x){for(var _=S.length,D=0;D<_;){if(d1(S[D],x))return!0;D++}return!1},Sn=Array.isArray||function(b){return Object.prototype.toString.call(b)==="[object Array]"},Sr={},An={},tr={INDEXEDDB:Nt,WEBSQL:Ko,LOCALSTORAGE:f1},m1=[tr.INDEXEDDB._driver,tr.WEBSQL._driver,tr.LOCALSTORAGE._driver],Ur=["dropInstance"],qt=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Ur),p1={description:"",driver:m1.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function b1(b,S){b[S]=function(){var x=arguments;return b.ready().then(function(){return b[S].apply(b,x)})}}function $t(){for(var b=1;b"u"?"undefined":a(x))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var _ in x){if(_==="storeName"&&(x[_]=x[_].replace(/\W/g,"_")),_==="version"&&typeof x[_]!="number")return new Error("Database version must be a number.");this._config[_]=x[_]}return"driver"in x&&x.driver?this.setDriver(this._config.driver):!0}else return typeof x=="string"?this._config[x]:this._config},b.prototype.defineDriver=function(x,_,D){var C=new d(function(B,L){try{var U=x._driver,V=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!x._driver){L(V);return}for(var j=qt.concat("_initStorage"),X=0,ne=j.length;XQa?pr.getItem(br):null,oh=async()=>{const e=await j0()||{};return Object.keys(e).map(r=>({id:r,...e[r]})).sort((r,t)=>(t.update||t.id).localeCompare(r.update||r.id))},Fs=e=>{const{setStyle:r}=Ts();for(const t of Object.keys(e))r(t,e[t])},zs=e=>{const{setData:r,toggleMdFlag:t}=Tu();r("mdContent",e),t(!0)},Is=e=>{const{setData:r,toggleCssFlag:t}=Tu();r("cssContent",e),t(!0)},Bs=(e,r)=>{const{setData:t}=Tu();t("curResumeId",e),t("curResumeName",r.name),zs(r.markdown),Is(r.css),Fs(r.styles)},Ns=async(e,r)=>{const t=await j0()||{};t[e]=r,await pr.setItem(br,t),K0().save()},sh=async()=>{const e=new Date().getTime().toString();return await Ns(e,{name:Ya,markdown:G1,css:Y1,styles:Wa,update:e}),K0().new(),e},lh=async()=>{const e=await j0()||{};Es("resumemd_data.json",JSON.stringify(e))},ch=async e=>{const r=K0(),t=a=>{for(const i of Object.values(a)){if(typeof i.name!="string"||typeof i.markdown!="string"||typeof i.css!="string"||typeof i.styles!="object"||!["string","undefined"].includes(typeof i.update))return!1;const o=i.styles;if(typeof o.fontSize!="number"||typeof o.lineHeight!="number"||typeof o.marginH!="number"||typeof o.marginV!="number"||typeof o.paper!="string"||typeof o.paragraphSpace!="number"||typeof o.themeColor!="string"||typeof o.fontCJK!="object"||typeof o.fontCJK.name!="string"||typeof o.fontEN!="object"||typeof o.fontEN.name!="string")return!1}return!0},u=await j0()||{};_s(async a=>{const i=JSON.parse(a);if(!t(i)){r.import(!1);return}const o={...u,...i};await pr.setItem(br,o),r.import(!0),e&&e()},".json")},fh=async e=>{const r=K0(),t=await j0();if(t&&t[e]){const u=t[e].name;delete t[e],await pr.setItem(br,t),r.delete(u)}},dh=async e=>{const r=K0(),t=await j0();return t&&t[e]?(Bs(e,t[e]),r.switch(t[e].name),!0):!1},hh=async e=>{const r=K0(),t=await j0();if(t&&t[e]){const u=ei(t[e]),n=new Date().getTime().toString(),a=u.name;u.name=a+" Copy",u.update=n,t[n]=u,await pr.setItem(br,t),r.duplicate(a)}},mh=async(e,r)=>{const t=await j0()||{};t[e].name=r,await pr.setItem(br,t),K0().save()};var ph=(e,r)=>{const t=e.replace("ctrl",Ds?"meta":"ctrl"),u=O1({passive:!1,onEventFired:i=>{if(i.type!=="keydown")return;let o=!0;for(const s of t.split("+"))switch(s){case"ctrl":i.ctrlKey||(o=!1);break;case"meta":i.metaKey||(o=!1);break;case"shift":i.shiftKey||(o=!1);break;default:i.key!==s&&(o=!1)}o&&i.preventDefault()}}),n=u[t],{current:a}=u;lt(n,i=>{i&&a.size===t.split("+").length&&r()})};function Fn(e,r,t){var u,n,a;r===void 0&&(r=50),t===void 0&&(t={});var i=(u=t.isImmediate)!=null&&u,o=(n=t.callback)!=null&&n,s=t.maxWait,f=Date.now(),h=[];function d(){if(s!==void 0){var v=Date.now()-f;if(v+r>=s)return s-v}return r}var g=function(){var v=[].slice.call(arguments),y=this;return new Promise(function(T,E){var I=i&&a===void 0;if(a!==void 0&&clearTimeout(a),a=setTimeout(function(){if(a=void 0,f=Date.now(),!i){var R=e.apply(y,v);o&&o(R),h.forEach(function(q){return(0,q.resolve)(R)}),h=[]}},d()),I){var z=e.apply(y,v);return o&&o(z),T(z)}h.push({resolve:T,reject:E})})};return g.cancel=function(v){a!==void 0&&clearTimeout(a),h.forEach(function(y){return(0,y.reject)(v)}),h=[]},g}const zn={};function Rs(e){let r=zn[e];if(r)return r;r=zn[e]=[];for(let t=0;t<128;t++){const u=String.fromCharCode(t);r.push(u)}for(let t=0;t=55296&&h<=57343?n+="���":n+=String.fromCharCode(h),a+=6;continue}}if((o&248)===240&&a+91114111?n+="����":(d-=65536,n+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),a+=9;continue}}n+="�"}return n})}fr.defaultChars=";/?:@&=+$,#";fr.componentChars="";const In={};function Os(e){let r=In[e];if(r)return r;r=In[e]=[];for(let t=0;t<128;t++){const u=String.fromCharCode(t);/^[0-9a-z]$/i.test(u)?r.push(u):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let t=0;t"u"&&(t=!0);const u=Os(r);let n="";for(let a=0,i=e.length;a=55296&&o<=57343){if(o>=55296&&o<=56319&&a+1=56320&&s<=57343){n+=encodeURIComponent(e[a]+e[a+1]),a++;continue}}n+="%EF%BF%BD";continue}n+=encodeURIComponent(e[a])}return n}Nr.defaultChars=";/?:@&=+$,-_.!~*'()#";Nr.componentChars="-_.!~*'()";function Mu(e){let r="";return r+=e.protocol||"",r+=e.slashes?"//":"",r+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?r+="["+e.hostname+"]":r+=e.hostname||"",r+=e.port?":"+e.port:"",r+=e.pathname||"",r+=e.search||"",r+=e.hash||"",r}function ct(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Ls=/^([a-z0-9.+-]+:)/i,Ps=/:[0-9]*$/,qs=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,$s=["<",">",'"',"`"," ","\r",` -`," "],Hs=["{","}","|","\\","^","`"].concat($s),Us=["'"].concat(Hs),Bn=["%","/","?",";","#"].concat(Us),Nn=["/","?","#"],Vs=255,Rn=/^[+a-z0-9A-Z_-]{0,63}$/,js=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,On={javascript:!0,"javascript:":!0},Ln={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Fu(e,r){if(e&&e instanceof ct)return e;const t=new ct;return t.parse(e,r),t}ct.prototype.parse=function(e,r){let t,u,n,a=e;if(a=a.trim(),!r&&e.split("#").length===1){const f=qs.exec(a);if(f)return this.pathname=f[1],f[2]&&(this.search=f[2]),this}let i=Ls.exec(a);if(i&&(i=i[0],t=i.toLowerCase(),this.protocol=i,a=a.substr(i.length)),(r||i||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(n=a.substr(0,2)==="//",n&&!(i&&On[i])&&(a=a.substr(2),this.slashes=!0)),!On[i]&&(n||i&&!Ln[i])){let f=-1;for(let y=0;y127?z+="x":z+=I[R];if(!z.match(Rn)){const R=y.slice(0,T),q=y.slice(T+1),F=I.match(js);F&&(R.push(F[1]),q.unshift(F[2])),q.length&&(a=q.join(".")+a),this.hostname=R.join(".");break}}}}this.hostname.length>Vs&&(this.hostname=""),v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const o=a.indexOf("#");o!==-1&&(this.hash=a.substr(o),a=a.slice(0,o));const s=a.indexOf("?");return s!==-1&&(this.search=a.substr(s),a=a.slice(0,s)),a&&(this.pathname=a),Ln[t]&&this.hostname&&!this.pathname&&(this.pathname=""),this};ct.prototype.parseHost=function(e){let r=Ps.exec(e);r&&(r=r[0],r!==":"&&(this.port=r.substr(1)),e=e.substr(0,e.length-r.length)),e&&(this.hostname=e)};const Gs=Object.freeze(Object.defineProperty({__proto__:null,decode:fr,encode:Nr,format:Mu,parse:Fu},Symbol.toStringTag,{value:"Module"})),ti=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ui=/[\0-\x1F\x7F-\x9F]/,Ys=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,zu=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,ni=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,ai=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Ws=Object.freeze(Object.defineProperty({__proto__:null,Any:ti,Cc:ui,Cf:Ys,P:zu,S:ni,Z:ai},Symbol.toStringTag,{value:"Module"})),Zs=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Xs=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Vt;const Ks=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]]),Js=(Vt=String.fromCodePoint)!==null&&Vt!==void 0?Vt:function(e){let r="";return e>65535&&(e-=65536,r+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),r+=String.fromCharCode(e),r};function Qs(e){var r;return e>=55296&&e<=57343||e>1114111?65533:(r=Ks.get(e))!==null&&r!==void 0?r:e}var Fe;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Fe||(Fe={}));const el=32;var O0;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(O0||(O0={}));function mu(e){return e>=Fe.ZERO&&e<=Fe.NINE}function rl(e){return e>=Fe.UPPER_A&&e<=Fe.UPPER_F||e>=Fe.LOWER_A&&e<=Fe.LOWER_F}function tl(e){return e>=Fe.UPPER_A&&e<=Fe.UPPER_Z||e>=Fe.LOWER_A&&e<=Fe.LOWER_Z||mu(e)}function ul(e){return e===Fe.EQUALS||tl(e)}var Me;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Me||(Me={}));var R0;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(R0||(R0={}));class nl{constructor(r,t,u){this.decodeTree=r,this.emitCodePoint=t,this.errors=u,this.state=Me.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=R0.Strict}startEntity(r){this.decodeMode=r,this.state=Me.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(r,t){switch(this.state){case Me.EntityStart:return r.charCodeAt(t)===Fe.NUM?(this.state=Me.NumericStart,this.consumed+=1,this.stateNumericStart(r,t+1)):(this.state=Me.NamedEntity,this.stateNamedEntity(r,t));case Me.NumericStart:return this.stateNumericStart(r,t);case Me.NumericDecimal:return this.stateNumericDecimal(r,t);case Me.NumericHex:return this.stateNumericHex(r,t);case Me.NamedEntity:return this.stateNamedEntity(r,t)}}stateNumericStart(r,t){return t>=r.length?-1:(r.charCodeAt(t)|el)===Fe.LOWER_X?(this.state=Me.NumericHex,this.consumed+=1,this.stateNumericHex(r,t+1)):(this.state=Me.NumericDecimal,this.stateNumericDecimal(r,t))}addToNumericResult(r,t,u,n){if(t!==u){const a=u-t;this.result=this.result*Math.pow(n,a)+parseInt(r.substr(t,a),n),this.consumed+=a}}stateNumericHex(r,t){const u=t;for(;t>14;for(;t>14,a!==0){if(i===Fe.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==R0.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var r;const{result:t,decodeTree:u}=this,n=(u[t]&O0.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),(r=this.errors)===null||r===void 0||r.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(r,t,u){const{decodeTree:n}=this;return this.emitCodePoint(t===1?n[r]&~O0.VALUE_LENGTH:n[r+1],u),t===3&&this.emitCodePoint(n[r+2],u),u}end(){var r;switch(this.state){case Me.NamedEntity:return this.result!==0&&(this.decodeMode!==R0.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Me.NumericDecimal:return this.emitNumericEntity(0,2);case Me.NumericHex:return this.emitNumericEntity(0,3);case Me.NumericStart:return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Me.EntityStart:return 0}}}function ii(e){let r="";const t=new nl(e,u=>r+=Js(u));return function(n,a){let i=0,o=0;for(;(o=n.indexOf("&",o))>=0;){r+=n.slice(i,o),t.startEntity(a);const f=t.write(n,o+1);if(f<0){i=o+t.end();break}i=o+f,o=f===0?i+1:i}const s=r+n.slice(i);return r="",s}}function al(e,r,t,u){const n=(r&O0.BRANCH_LENGTH)>>7,a=r&O0.JUMP_TABLE;if(n===0)return a!==0&&u===a?t:-1;if(a){const s=u-a;return s<0||s>=n?-1:e[t+s]-1}let i=t,o=i+n-1;for(;i<=o;){const s=i+o>>>1,f=e[s];if(fu)o=s-1;else return e[s+n]}return-1}const il=ii(Zs);ii(Xs);function oi(e,r=R0.Legacy){return il(e,r)}function ol(e){return Object.prototype.toString.call(e)}function Iu(e){return ol(e)==="[object String]"}const sl=Object.prototype.hasOwnProperty;function ll(e,r){return sl.call(e,r)}function wt(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!="object")throw new TypeError(t+"must be object");Object.keys(t).forEach(function(u){e[u]=t[u]})}}),e}function si(e,r,t){return[].concat(e.slice(0,r),t,e.slice(r+1))}function Bu(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function ft(e){if(e>65535){e-=65536;const r=55296+(e>>10),t=56320+(e&1023);return String.fromCharCode(r,t)}return String.fromCharCode(e)}const li=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,cl=/&([a-z#][a-z0-9]{1,31});/gi,fl=new RegExp(li.source+"|"+cl.source,"gi"),dl=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function hl(e,r){if(r.charCodeAt(0)===35&&dl.test(r)){const u=r[1].toLowerCase()==="x"?parseInt(r.slice(2),16):parseInt(r.slice(1),10);return Bu(u)?ft(u):e}const t=oi(e);return t!==e?t:e}function ml(e){return e.indexOf("\\")<0?e:e.replace(li,"$1")}function dr(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(fl,function(r,t,u){return t||hl(r,u)})}const pl=/[&<>"]/,bl=/[&<>"]/g,vl={"&":"&","<":"<",">":">",'"':"""};function gl(e){return vl[e]}function q0(e){return pl.test(e)?e.replace(bl,gl):e}const xl=/[.?*+^$[\]\\(){}|-]/g;function yl(e){return e.replace(xl,"\\$&")}function pe(e){switch(e){case 9:case 32:return!0}return!1}function Dr(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Tr(e){return zu.test(e)||ni.test(e)}function Mr(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function kt(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const wl={mdurl:Gs,ucmicro:Ws},kl=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:si,assign:wt,escapeHtml:q0,escapeRE:yl,fromCodePoint:ft,has:ll,isMdAsciiPunct:Mr,isPunctChar:Tr,isSpace:pe,isString:Iu,isValidEntityCode:Bu,isWhiteSpace:Dr,lib:wl,normalizeReference:kt,unescapeAll:dr,unescapeMd:ml},Symbol.toStringTag,{value:"Module"}));function Sl(e,r,t){let u,n,a,i;const o=e.posMax,s=e.pos;for(e.pos=r+1,u=1;e.pos32))return a;if(u===41){if(i===0)break;i--}n++}return r===n||i!==0||(a.str=dr(e.slice(r,n)),a.pos=n,a.ok=!0),a}function Cl(e,r,t,u){let n,a=r;const i={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(u)i.str=u.str,i.marker=u.marker;else{if(a>=t)return i;let o=e.charCodeAt(a);if(o!==34&&o!==39&&o!==40)return i;r++,a++,o===40&&(o=41),i.marker=o}for(;a"+q0(a.content)+""};f0.code_block=function(e,r,t,u,n){const a=e[r];return""+q0(e[r].content)+` -`};f0.fence=function(e,r,t,u,n){const a=e[r],i=a.info?dr(a.info).trim():"";let o="",s="";if(i){const h=i.split(/(\s+)/g);o=h[0],s=h.slice(2).join("")}let f;if(t.highlight?f=t.highlight(a.content,o,s)||q0(a.content):f=q0(a.content),f.indexOf(""u"&&t(3);var d=Promise;function g(b,S){S&&b.then(function(x){S(null,x)},function(x){S(x)})}function v(b,S,x){typeof S=="function"&&b.then(S),typeof x=="function"&&b.catch(x)}function y(b){return typeof b!="string"&&(console.warn(b+" used as a key, but it is not a string."),b=String(b)),b}function T(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var E="local-forage-detect-blob-support",I=void 0,z={},R=Object.prototype.toString,q="readonly",F="readwrite";function O(b){for(var S=b.length,x=new ArrayBuffer(S),_=new Uint8Array(x),D=0;D=43)}}).catch(function(){return!1})}function Z(b){return typeof I=="boolean"?d.resolve(I):H(b).then(function(S){return I=S,I})}function K(b){var S=z[b.name],x={};x.promise=new d(function(_,D){x.resolve=_,x.reject=D}),S.deferredOperations.push(x),S.dbReady?S.dbReady=S.dbReady.then(function(){return x.promise}):S.dbReady=x.promise}function se(b){var S=z[b.name],x=S.deferredOperations.pop();if(x)return x.resolve(),x.promise}function ie(b,S){var x=z[b.name],_=x.deferredOperations.pop();if(_)return _.reject(S),_.promise}function ae(b,S){return new d(function(x,_){if(z[b.name]=z[b.name]||Ie(),b.db)if(S)K(b),b.db.close();else return x(b.db);var D=[b.name];S&&D.push(b.version);var C=l.open.apply(l,D);S&&(C.onupgradeneeded=function(B){var L=C.result;try{L.createObjectStore(b.storeName),B.oldVersion<=1&&L.createObjectStore(E)}catch(U){if(U.name==="ConstraintError")console.warn('The database "'+b.name+'" has been upgraded from version '+B.oldVersion+" to version "+B.newVersion+', but the storage "'+b.storeName+'" already exists.');else throw U}}),C.onerror=function(B){B.preventDefault(),_(C.error)},C.onsuccess=function(){var B=C.result;B.onversionchange=function(L){L.target.close()},x(B),se(b)}})}function ke(b){return ae(b,!1)}function ve(b){return ae(b,!0)}function me(b,S){if(!b.db)return!0;var x=!b.db.objectStoreNames.contains(b.storeName),_=b.versionb.db.version;if(_&&(b.version!==S&&console.warn('The database "'+b.name+`" can't be downgraded from version `+b.db.version+" to version "+b.version+"."),b.version=b.db.version),D||x){if(x){var C=b.db.version+1;C>b.version&&(b.version=C)}return!0}return!1}function Le(b){return new d(function(S,x){var _=new FileReader;_.onerror=x,_.onloadend=function(D){var C=btoa(D.target.result||"");S({__local_forage_encoded_blob:!0,data:C,type:b.type})},_.readAsBinaryString(b)})}function Ue(b){var S=O(atob(b.data));return h([S],{type:b.type})}function b0(b){return b&&b.__local_forage_encoded_blob}function yr(b){var S=this,x=S._initReady().then(function(){var _=z[S._dbInfo.name];if(_&&_.dbReady)return _.dbReady});return v(x,b,b),x}function a0(b){K(b);for(var S=z[b.name],x=S.forages,_=0;_0&&(!b.db||C.name==="InvalidStateError"||C.name==="NotFoundError"))return d.resolve().then(function(){if(!b.db||C.name==="NotFoundError"&&!b.db.objectStoreNames.contains(b.storeName)&&b.version<=b.db.version)return b.db&&(b.version=b.db.version+1),ve(b)}).then(function(){return a0(b).then(function(){Te(b,S,x,_-1)})}).catch(x);x(C)}}function Ie(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function Y0(b){var S=this,x={db:null};if(b)for(var _ in b)x[_]=b[_];var D=z[x.name];D||(D=Ie(),z[x.name]=D),D.forages.push(S),S._initReady||(S._initReady=S.ready,S.ready=yr);var C=[];function B(){return d.resolve()}for(var L=0;L>4,j[D++]=(B&15)<<4|L>>2,j[D++]=(L&3)<<6|U&63;return V}function Lt(b){var S=new Uint8Array(b),x="",_;for(_=0;_>2],x+=r0[(S[_]&3)<<4|S[_+1]>>4],x+=r0[(S[_+1]&15)<<2|S[_+2]>>6],x+=r0[S[_+2]&63];return S.length%3===2?x=x.substring(0,x.length-1)+"=":S.length%3===1&&(x=x.substring(0,x.length-2)+"=="),x}function Lo(b,S){var x="";if(b&&(x=gn.call(b)),b&&(x==="[object ArrayBuffer]"||b.buffer&&gn.call(b.buffer)==="[object ArrayBuffer]")){var _,D=v0;b instanceof ArrayBuffer?(_=b,D+=Rt):(_=b.buffer,x==="[object Int8Array]"?D+=ln:x==="[object Uint8Array]"?D+=sn:x==="[object Uint8ClampedArray]"?D+=cn:x==="[object Int16Array]"?D+=fn:x==="[object Uint16Array]"?D+=hn:x==="[object Int32Array]"?D+=dn:x==="[object Uint32Array]"?D+=mn:x==="[object Float32Array]"?D+=pn:x==="[object Float64Array]"?D+=bn:S(new Error("Failed to get type for BinaryArray"))),S(D+Lt(_))}else if(x==="[object Blob]"){var C=new FileReader;C.onload=function(){var B=Hr+b.type+"~"+Lt(this.result);S(v0+Ot+B)},C.readAsArrayBuffer(b)}else try{S(JSON.stringify(b))}catch(B){console.error("Couldn't convert value into a JSON string: ",b),S(null,B)}}function Po(b){if(b.substring(0,F0)!==v0)return JSON.parse(b);var S=b.substring(vn),x=b.substring(F0,vn),_;if(x===Ot&&rr.test(S)){var D=S.match(rr);_=D[1],S=S.substring(D[0].length)}var C=xn(S);switch(x){case Rt:return C;case Ot:return h([C],{type:_});case ln:return new Int8Array(C);case sn:return new Uint8Array(C);case cn:return new Uint8ClampedArray(C);case fn:return new Int16Array(C);case hn:return new Uint16Array(C);case dn:return new Int32Array(C);case mn:return new Uint32Array(C);case pn:return new Float32Array(C);case bn:return new Float64Array(C);default:throw new Error("Unkown type: "+x)}}var Pt={serialize:Lo,deserialize:Po,stringToBuffer:xn,bufferToString:Lt};function yn(b,S,x,_){b.executeSql("CREATE TABLE IF NOT EXISTS "+S.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],x,_)}function qo(b){var S=this,x={db:null};if(b)for(var _ in b)x[_]=typeof b[_]!="string"?b[_].toString():b[_];var D=new d(function(C,B){try{x.db=openDatabase(x.name,String(x.version),x.description,x.size)}catch(L){return B(L)}x.db.transaction(function(L){yn(L,x,function(){S._dbInfo=x,C()},function(U,V){B(V)})},B)});return x.serializer=Pt,D}function z0(b,S,x,_,D,C){b.executeSql(x,_,D,function(B,L){L.code===L.SYNTAX_ERR?B.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[S.storeName],function(U,V){V.rows.length?C(U,L):yn(U,S,function(){U.executeSql(x,_,D,C)},C)},C):C(B,L)},C)}function $o(b,S){var x=this;b=y(b);var _=new d(function(D,C){x.ready().then(function(){var B=x._dbInfo;B.db.transaction(function(L){z0(L,B,"SELECT * FROM "+B.storeName+" WHERE key = ? LIMIT 1",[b],function(U,V){var j=V.rows.length?V.rows.item(0).value:null;j&&(j=B.serializer.deserialize(j)),D(j)},function(U,V){C(V)})})}).catch(C)});return g(_,S),_}function Ho(b,S){var x=this,_=new d(function(D,C){x.ready().then(function(){var B=x._dbInfo;B.db.transaction(function(L){z0(L,B,"SELECT * FROM "+B.storeName,[],function(U,V){for(var j=V.rows,X=j.length,ne=0;ne0){B(wn.apply(D,[b,U,x,_-1]));return}L(ne)}})})}).catch(L)});return g(C,x),C}function Uo(b,S,x){return wn.apply(this,[b,S,x,1])}function Vo(b,S){var x=this;b=y(b);var _=new d(function(D,C){x.ready().then(function(){var B=x._dbInfo;B.db.transaction(function(L){z0(L,B,"DELETE FROM "+B.storeName+" WHERE key = ?",[b],function(){D()},function(U,V){C(V)})})}).catch(C)});return g(_,S),_}function jo(b){var S=this,x=new d(function(_,D){S.ready().then(function(){var C=S._dbInfo;C.db.transaction(function(B){z0(B,C,"DELETE FROM "+C.storeName,[],function(){_()},function(L,U){D(U)})})}).catch(D)});return g(x,b),x}function Go(b){var S=this,x=new d(function(_,D){S.ready().then(function(){var C=S._dbInfo;C.db.transaction(function(B){z0(B,C,"SELECT COUNT(key) as c FROM "+C.storeName,[],function(L,U){var V=U.rows.item(0).c;_(V)},function(L,U){D(U)})})}).catch(D)});return g(x,b),x}function Yo(b,S){var x=this,_=new d(function(D,C){x.ready().then(function(){var B=x._dbInfo;B.db.transaction(function(L){z0(L,B,"SELECT key FROM "+B.storeName+" WHERE id = ? LIMIT 1",[b+1],function(U,V){var j=V.rows.length?V.rows.item(0).key:null;D(j)},function(U,V){C(V)})})}).catch(C)});return g(_,S),_}function Wo(b){var S=this,x=new d(function(_,D){S.ready().then(function(){var C=S._dbInfo;C.db.transaction(function(B){z0(B,C,"SELECT key FROM "+C.storeName,[],function(L,U){for(var V=[],j=0;j '__WebKitDatabaseInfoTable__'",[],function(D,C){for(var B=[],L=0;L0}function r1(b){var S=this,x={};if(b)for(var _ in b)x[_]=b[_];return x.keyPrefix=kn(b,S._defaultConfig),e1()?(S._dbInfo=x,x.serializer=Pt,d.resolve()):d.reject()}function t1(b){var S=this,x=S.ready().then(function(){for(var _=S._dbInfo.keyPrefix,D=localStorage.length-1;D>=0;D--){var C=localStorage.key(D);C.indexOf(_)===0&&localStorage.removeItem(C)}});return g(x,b),x}function u1(b,S){var x=this;b=y(b);var _=x.ready().then(function(){var D=x._dbInfo,C=localStorage.getItem(D.keyPrefix+b);return C&&(C=D.serializer.deserialize(C)),C});return g(_,S),_}function n1(b,S){var x=this,_=x.ready().then(function(){for(var D=x._dbInfo,C=D.keyPrefix,B=C.length,L=localStorage.length,U=1,V=0;V=0;B--){var L=localStorage.key(B);L.indexOf(C)===0&&localStorage.removeItem(L)}}):D=d.reject("Invalid arguments"),g(D,S),D}var f1={_driver:"localStorageWrapper",_initStorage:r1,_support:Jo(),iterate:n1,getItem:u1,setItem:s1,removeItem:l1,clear:t1,length:o1,key:a1,keys:i1,dropInstance:c1},d1=function(S,x){return S===x||typeof S=="number"&&typeof x=="number"&&isNaN(S)&&isNaN(x)},h1=function(S,x){for(var _=S.length,D=0;D<_;){if(d1(S[D],x))return!0;D++}return!1},Sn=Array.isArray||function(b){return Object.prototype.toString.call(b)==="[object Array]"},Sr={},An={},tr={INDEXEDDB:Nt,WEBSQL:Ko,LOCALSTORAGE:f1},m1=[tr.INDEXEDDB._driver,tr.WEBSQL._driver,tr.LOCALSTORAGE._driver],Ur=["dropInstance"],qt=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Ur),p1={description:"",driver:m1.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function b1(b,S){b[S]=function(){var x=arguments;return b.ready().then(function(){return b[S].apply(b,x)})}}function $t(){for(var b=1;b"u"?"undefined":a(x))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var _ in x){if(_==="storeName"&&(x[_]=x[_].replace(/\W/g,"_")),_==="version"&&typeof x[_]!="number")return new Error("Database version must be a number.");this._config[_]=x[_]}return"driver"in x&&x.driver?this.setDriver(this._config.driver):!0}else return typeof x=="string"?this._config[x]:this._config},b.prototype.defineDriver=function(x,_,D){var C=new d(function(B,L){try{var U=x._driver,V=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!x._driver){L(V);return}for(var j=qt.concat("_initStorage"),X=0,ne=j.length;XQa?pr.getItem(br):null,oh=async()=>{const e=await j0()||{};return Object.keys(e).map(r=>({id:r,...e[r]})).sort((r,t)=>(t.update||t.id).localeCompare(r.update||r.id))},Fl=e=>{const{setStyle:r}=Tl();for(const t of Object.keys(e))r(t,e[t])},zl=e=>{const{setData:r,toggleMdFlag:t}=Tu();r("mdContent",e),t(!0)},Il=e=>{const{setData:r,toggleCssFlag:t}=Tu();r("cssContent",e),t(!0)},Bl=(e,r)=>{const{setData:t}=Tu();t("curResumeId",e),t("curResumeName",r.name),zl(r.markdown),Il(r.css),Fl(r.styles)},Nl=async(e,r)=>{const t=await j0()||{};t[e]=r,await pr.setItem(br,t),K0().save()},lh=async()=>{const e=new Date().getTime().toString();return await Nl(e,{name:Ya,markdown:G1,css:Y1,styles:Wa,update:e}),K0().new(),e},sh=async()=>{const e=await j0()||{};El("resumemd_data.json",JSON.stringify(e))},ch=async e=>{const r=K0(),t=a=>{for(const i of Object.values(a)){if(typeof i.name!="string"||typeof i.markdown!="string"||typeof i.css!="string"||typeof i.styles!="object"||!["string","undefined"].includes(typeof i.update))return!1;const o=i.styles;if(typeof o.fontSize!="number"||typeof o.lineHeight!="number"||typeof o.marginH!="number"||typeof o.marginV!="number"||typeof o.paper!="string"||typeof o.paragraphSpace!="number"||typeof o.themeColor!="string"||typeof o.fontCJK!="object"||typeof o.fontCJK.name!="string"||typeof o.fontEN!="object"||typeof o.fontEN.name!="string")return!1}return!0},u=await j0()||{};_l(async a=>{const i=JSON.parse(a);if(!t(i)){r.import(!1);return}const o={...u,...i};await pr.setItem(br,o),r.import(!0),e&&e()},".json")},fh=async e=>{const r=K0(),t=await j0();if(t&&t[e]){const u=t[e].name;delete t[e],await pr.setItem(br,t),r.delete(u)}},dh=async e=>{const r=K0(),t=await j0();return t&&t[e]?(Bl(e,t[e]),r.switch(t[e].name),!0):!1},hh=async e=>{const r=K0(),t=await j0();if(t&&t[e]){const u=ei(t[e]),n=new Date().getTime().toString(),a=u.name;u.name=a+" Copy",u.update=n,t[n]=u,await pr.setItem(br,t),r.duplicate(a)}},mh=async(e,r)=>{const t=await j0()||{};t[e].name=r,await pr.setItem(br,t),K0().save()};var ph=(e,r)=>{const t=e.replace("ctrl",Dl?"meta":"ctrl"),u=O1({passive:!1,onEventFired:i=>{if(i.type!=="keydown")return;let o=!0;for(const l of t.split("+"))switch(l){case"ctrl":i.ctrlKey||(o=!1);break;case"meta":i.metaKey||(o=!1);break;case"shift":i.shiftKey||(o=!1);break;default:i.key!==l&&(o=!1)}o&&i.preventDefault()}}),n=u[t],{current:a}=u;st(n,i=>{i&&a.size===t.split("+").length&&r()})};function Fn(e,r,t){var u,n,a;r===void 0&&(r=50),t===void 0&&(t={});var i=(u=t.isImmediate)!=null&&u,o=(n=t.callback)!=null&&n,l=t.maxWait,f=Date.now(),h=[];function d(){if(l!==void 0){var v=Date.now()-f;if(v+r>=l)return l-v}return r}var g=function(){var v=[].slice.call(arguments),y=this;return new Promise(function(T,E){var I=i&&a===void 0;if(a!==void 0&&clearTimeout(a),a=setTimeout(function(){if(a=void 0,f=Date.now(),!i){var R=e.apply(y,v);o&&o(R),h.forEach(function(q){return(0,q.resolve)(R)}),h=[]}},d()),I){var z=e.apply(y,v);return o&&o(z),T(z)}h.push({resolve:T,reject:E})})};return g.cancel=function(v){a!==void 0&&clearTimeout(a),h.forEach(function(y){return(0,y.reject)(v)}),h=[]},g}const zn={};function Rl(e){let r=zn[e];if(r)return r;r=zn[e]=[];for(let t=0;t<128;t++){const u=String.fromCharCode(t);r.push(u)}for(let t=0;t=55296&&h<=57343?n+="���":n+=String.fromCharCode(h),a+=6;continue}}if((o&248)===240&&a+91114111?n+="����":(d-=65536,n+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),a+=9;continue}}n+="�"}return n})}fr.defaultChars=";/?:@&=+$,#";fr.componentChars="";const In={};function Ol(e){let r=In[e];if(r)return r;r=In[e]=[];for(let t=0;t<128;t++){const u=String.fromCharCode(t);/^[0-9a-z]$/i.test(u)?r.push(u):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let t=0;t"u"&&(t=!0);const u=Ol(r);let n="";for(let a=0,i=e.length;a=55296&&o<=57343){if(o>=55296&&o<=56319&&a+1=56320&&l<=57343){n+=encodeURIComponent(e[a]+e[a+1]),a++;continue}}n+="%EF%BF%BD";continue}n+=encodeURIComponent(e[a])}return n}Nr.defaultChars=";/?:@&=+$,-_.!~*'()#";Nr.componentChars="-_.!~*'()";function Mu(e){let r="";return r+=e.protocol||"",r+=e.slashes?"//":"",r+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?r+="["+e.hostname+"]":r+=e.hostname||"",r+=e.port?":"+e.port:"",r+=e.pathname||"",r+=e.search||"",r+=e.hash||"",r}function ct(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Ll=/^([a-z0-9.+-]+:)/i,Pl=/:[0-9]*$/,ql=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,$l=["<",">",'"',"`"," ","\r",` +`," "],Hl=["{","}","|","\\","^","`"].concat($l),Ul=["'"].concat(Hl),Bn=["%","/","?",";","#"].concat(Ul),Nn=["/","?","#"],Vl=255,Rn=/^[+a-z0-9A-Z_-]{0,63}$/,jl=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,On={javascript:!0,"javascript:":!0},Ln={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Fu(e,r){if(e&&e instanceof ct)return e;const t=new ct;return t.parse(e,r),t}ct.prototype.parse=function(e,r){let t,u,n,a=e;if(a=a.trim(),!r&&e.split("#").length===1){const f=ql.exec(a);if(f)return this.pathname=f[1],f[2]&&(this.search=f[2]),this}let i=Ll.exec(a);if(i&&(i=i[0],t=i.toLowerCase(),this.protocol=i,a=a.substr(i.length)),(r||i||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(n=a.substr(0,2)==="//",n&&!(i&&On[i])&&(a=a.substr(2),this.slashes=!0)),!On[i]&&(n||i&&!Ln[i])){let f=-1;for(let y=0;y127?z+="x":z+=I[R];if(!z.match(Rn)){const R=y.slice(0,T),q=y.slice(T+1),F=I.match(jl);F&&(R.push(F[1]),q.unshift(F[2])),q.length&&(a=q.join(".")+a),this.hostname=R.join(".");break}}}}this.hostname.length>Vl&&(this.hostname=""),v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const o=a.indexOf("#");o!==-1&&(this.hash=a.substr(o),a=a.slice(0,o));const l=a.indexOf("?");return l!==-1&&(this.search=a.substr(l),a=a.slice(0,l)),a&&(this.pathname=a),Ln[t]&&this.hostname&&!this.pathname&&(this.pathname=""),this};ct.prototype.parseHost=function(e){let r=Pl.exec(e);r&&(r=r[0],r!==":"&&(this.port=r.substr(1)),e=e.substr(0,e.length-r.length)),e&&(this.hostname=e)};const Gl=Object.freeze(Object.defineProperty({__proto__:null,decode:fr,encode:Nr,format:Mu,parse:Fu},Symbol.toStringTag,{value:"Module"})),ti=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ui=/[\0-\x1F\x7F-\x9F]/,Yl=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,zu=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,ni=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,ai=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Wl=Object.freeze(Object.defineProperty({__proto__:null,Any:ti,Cc:ui,Cf:Yl,P:zu,S:ni,Z:ai},Symbol.toStringTag,{value:"Module"})),Zl=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Xl=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Vt;const Kl=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]]),Jl=(Vt=String.fromCodePoint)!==null&&Vt!==void 0?Vt:function(e){let r="";return e>65535&&(e-=65536,r+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),r+=String.fromCharCode(e),r};function Ql(e){var r;return e>=55296&&e<=57343||e>1114111?65533:(r=Kl.get(e))!==null&&r!==void 0?r:e}var Fe;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Fe||(Fe={}));const es=32;var O0;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(O0||(O0={}));function mu(e){return e>=Fe.ZERO&&e<=Fe.NINE}function rs(e){return e>=Fe.UPPER_A&&e<=Fe.UPPER_F||e>=Fe.LOWER_A&&e<=Fe.LOWER_F}function ts(e){return e>=Fe.UPPER_A&&e<=Fe.UPPER_Z||e>=Fe.LOWER_A&&e<=Fe.LOWER_Z||mu(e)}function us(e){return e===Fe.EQUALS||ts(e)}var Me;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Me||(Me={}));var R0;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(R0||(R0={}));class ns{constructor(r,t,u){this.decodeTree=r,this.emitCodePoint=t,this.errors=u,this.state=Me.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=R0.Strict}startEntity(r){this.decodeMode=r,this.state=Me.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(r,t){switch(this.state){case Me.EntityStart:return r.charCodeAt(t)===Fe.NUM?(this.state=Me.NumericStart,this.consumed+=1,this.stateNumericStart(r,t+1)):(this.state=Me.NamedEntity,this.stateNamedEntity(r,t));case Me.NumericStart:return this.stateNumericStart(r,t);case Me.NumericDecimal:return this.stateNumericDecimal(r,t);case Me.NumericHex:return this.stateNumericHex(r,t);case Me.NamedEntity:return this.stateNamedEntity(r,t)}}stateNumericStart(r,t){return t>=r.length?-1:(r.charCodeAt(t)|es)===Fe.LOWER_X?(this.state=Me.NumericHex,this.consumed+=1,this.stateNumericHex(r,t+1)):(this.state=Me.NumericDecimal,this.stateNumericDecimal(r,t))}addToNumericResult(r,t,u,n){if(t!==u){const a=u-t;this.result=this.result*Math.pow(n,a)+parseInt(r.substr(t,a),n),this.consumed+=a}}stateNumericHex(r,t){const u=t;for(;t>14;for(;t>14,a!==0){if(i===Fe.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==R0.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var r;const{result:t,decodeTree:u}=this,n=(u[t]&O0.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),(r=this.errors)===null||r===void 0||r.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(r,t,u){const{decodeTree:n}=this;return this.emitCodePoint(t===1?n[r]&~O0.VALUE_LENGTH:n[r+1],u),t===3&&this.emitCodePoint(n[r+2],u),u}end(){var r;switch(this.state){case Me.NamedEntity:return this.result!==0&&(this.decodeMode!==R0.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Me.NumericDecimal:return this.emitNumericEntity(0,2);case Me.NumericHex:return this.emitNumericEntity(0,3);case Me.NumericStart:return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Me.EntityStart:return 0}}}function ii(e){let r="";const t=new ns(e,u=>r+=Jl(u));return function(n,a){let i=0,o=0;for(;(o=n.indexOf("&",o))>=0;){r+=n.slice(i,o),t.startEntity(a);const f=t.write(n,o+1);if(f<0){i=o+t.end();break}i=o+f,o=f===0?i+1:i}const l=r+n.slice(i);return r="",l}}function as(e,r,t,u){const n=(r&O0.BRANCH_LENGTH)>>7,a=r&O0.JUMP_TABLE;if(n===0)return a!==0&&u===a?t:-1;if(a){const l=u-a;return l<0||l>=n?-1:e[t+l]-1}let i=t,o=i+n-1;for(;i<=o;){const l=i+o>>>1,f=e[l];if(fu)o=l-1;else return e[l+n]}return-1}const is=ii(Zl);ii(Xl);function oi(e,r=R0.Legacy){return is(e,r)}function os(e){return Object.prototype.toString.call(e)}function Iu(e){return os(e)==="[object String]"}const ls=Object.prototype.hasOwnProperty;function ss(e,r){return ls.call(e,r)}function wt(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!="object")throw new TypeError(t+"must be object");Object.keys(t).forEach(function(u){e[u]=t[u]})}}),e}function li(e,r,t){return[].concat(e.slice(0,r),t,e.slice(r+1))}function Bu(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function ft(e){if(e>65535){e-=65536;const r=55296+(e>>10),t=56320+(e&1023);return String.fromCharCode(r,t)}return String.fromCharCode(e)}const si=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,cs=/&([a-z#][a-z0-9]{1,31});/gi,fs=new RegExp(si.source+"|"+cs.source,"gi"),ds=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function hs(e,r){if(r.charCodeAt(0)===35&&ds.test(r)){const u=r[1].toLowerCase()==="x"?parseInt(r.slice(2),16):parseInt(r.slice(1),10);return Bu(u)?ft(u):e}const t=oi(e);return t!==e?t:e}function ms(e){return e.indexOf("\\")<0?e:e.replace(si,"$1")}function dr(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(fs,function(r,t,u){return t||hs(r,u)})}const ps=/[&<>"]/,bs=/[&<>"]/g,vs={"&":"&","<":"<",">":">",'"':"""};function gs(e){return vs[e]}function q0(e){return ps.test(e)?e.replace(bs,gs):e}const xs=/[.?*+^$[\]\\(){}|-]/g;function ys(e){return e.replace(xs,"\\$&")}function pe(e){switch(e){case 9:case 32:return!0}return!1}function Dr(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Tr(e){return zu.test(e)||ni.test(e)}function Mr(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function kt(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const ws={mdurl:Gl,ucmicro:Wl},ks=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:li,assign:wt,escapeHtml:q0,escapeRE:ys,fromCodePoint:ft,has:ss,isMdAsciiPunct:Mr,isPunctChar:Tr,isSpace:pe,isString:Iu,isValidEntityCode:Bu,isWhiteSpace:Dr,lib:ws,normalizeReference:kt,unescapeAll:dr,unescapeMd:ms},Symbol.toStringTag,{value:"Module"}));function Ss(e,r,t){let u,n,a,i;const o=e.posMax,l=e.pos;for(e.pos=r+1,u=1;e.pos32))return a;if(u===41){if(i===0)break;i--}n++}return r===n||i!==0||(a.str=dr(e.slice(r,n)),a.pos=n,a.ok=!0),a}function Cs(e,r,t,u){let n,a=r;const i={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(u)i.str=u.str,i.marker=u.marker;else{if(a>=t)return i;let o=e.charCodeAt(a);if(o!==34&&o!==39&&o!==40)return i;r++,a++,o===40&&(o=41),i.marker=o}for(;a"+q0(a.content)+""};f0.code_block=function(e,r,t,u,n){const a=e[r];return""+q0(e[r].content)+` +`};f0.fence=function(e,r,t,u,n){const a=e[r],i=a.info?dr(a.info).trim():"";let o="",l="";if(i){const h=i.split(/(\s+)/g);o=h[0],l=h.slice(2).join("")}let f;if(t.highlight?f=t.highlight(a.content,o,l)||q0(a.content):f=q0(a.content),f.indexOf("${f} `}return`
${f}
`};f0.image=function(e,r,t,u,n){const a=e[r];return a.attrs[a.attrIndex("alt")][1]=n.renderInlineAsText(a.children,t,u),n.renderToken(e,r,t)};f0.hardbreak=function(e,r,t){return t.xhtmlOut?`
@@ -255,9 +255,9 @@ ${se} sup.crossref-ref { `};f0.text=function(e,r){return q0(e[r].content)};f0.html_block=function(e,r){return e[r].content};f0.html_inline=function(e,r){return e[r].content};function vr(){this.rules=wt({},f0)}vr.prototype.renderAttrs=function(r){let t,u,n;if(!r.attrs)return"";for(n="",t=0,u=r.attrs.length;t `:">",a};vr.prototype.renderInline=function(e,r,t){let u="";const n=this.rules;for(let a=0,i=e.length;a=0&&(u=this.attrs[t][1]),u};n0.prototype.attrJoin=function(r,t){const u=this.attrIndex(r);u<0?this.attrPush([r,t]):this.attrs[u][1]=this.attrs[u][1]+" "+t};function ci(e,r,t){this.src=e,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=r}ci.prototype.Token=n0;const El=/\r\n?|\n/g,Dl=/\0/g;function Tl(e){let r;r=e.src.replace(El,` -`),r=r.replace(Dl,"�"),e.src=r}function Ml(e){let r;e.inlineMode?(r=new e.Token("inline","",0),r.content=e.src,r.map=[0,1],r.children=[],e.tokens.push(r)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Fl(e){const r=e.tokens;for(let t=0,u=r.length;t\s]/i.test(e)}function Il(e){return/^<\/a\s*>/i.test(e)}function Bl(e){const r=e.tokens;if(e.md.options.linkify)for(let t=0,u=r.length;t=0;i--){const o=n[i];if(o.type==="link_close"){for(i--;n[i].level!==o.level&&n[i].type!=="link_open";)i--;continue}if(o.type==="html_inline"&&(zl(o.content)&&a>0&&a--,Il(o.content)&&a++),!(a>0)&&o.type==="text"&&e.md.linkify.test(o.content)){const s=o.content;let f=e.md.linkify.match(s);const h=[];let d=o.level,g=0;f.length>0&&f[0].index===0&&i>0&&n[i-1].type==="text_special"&&(f=f.slice(1));for(let v=0;vg){const F=new e.Token("text","",0);F.content=s.slice(g,I),F.level=d,h.push(F)}const z=new e.Token("link_open","a",1);z.attrs=[["href",T]],z.level=d++,z.markup="linkify",z.info="auto",h.push(z);const R=new e.Token("text","",0);R.content=E,R.level=d,h.push(R);const q=new e.Token("link_close","a",-1);q.level=--d,q.markup="linkify",q.info="auto",h.push(q),g=f[v].lastIndex}if(g=0;t--){const u=e[t];u.type==="text"&&!r&&(u.content=u.content.replace(Rl,Ll)),u.type==="link_open"&&u.info==="auto"&&r--,u.type==="link_close"&&u.info==="auto"&&r++}}function ql(e){let r=0;for(let t=e.length-1;t>=0;t--){const u=e[t];u.type==="text"&&!r&&fi.test(u.content)&&(u.content=u.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),u.type==="link_open"&&u.info==="auto"&&r--,u.type==="link_close"&&u.info==="auto"&&r++}}function $l(e){let r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)e.tokens[r].type==="inline"&&(Nl.test(e.tokens[r].content)&&Pl(e.tokens[r].children),fi.test(e.tokens[r].content)&&ql(e.tokens[r].children))}const Hl=/['"]/,Pn=/['"]/g,qn="’";function Zr(e,r,t){return e.slice(0,r)+t+e.slice(r+1)}function Ul(e,r){let t;const u=[];for(let n=0;n=0&&!(u[t].level<=i);t--);if(u.length=t+1,a.type!=="text")continue;let o=a.content,s=0,f=o.length;e:for(;s=0)y=o.charCodeAt(h.index-1);else for(t=n-1;t>=0&&!(e[t].type==="softbreak"||e[t].type==="hardbreak");t--)if(e[t].content){y=e[t].content.charCodeAt(e[t].content.length-1);break}let T=32;if(s=48&&y<=57&&(g=d=!1),d&&g&&(d=E,g=I),!d&&!g){v&&(a.content=Zr(a.content,h.index,qn));continue}if(g)for(t=u.length-1;t>=0;t--){let q=u[t];if(u[t].level=0;r--)e.tokens[r].type!=="inline"||!Hl.test(e.tokens[r].content)||Ul(e.tokens[r].children,e)}function jl(e){let r,t;const u=e.tokens,n=u.length;for(let a=0;a0&&this.level++,this.tokens.push(u),u};d0.prototype.isEmpty=function(r){return this.bMarks[r]+this.tShift[r]>=this.eMarks[r]};d0.prototype.skipEmptyLines=function(r){for(let t=this.lineMax;rt;)if(!pe(this.src.charCodeAt(--r)))return r+1;return r};d0.prototype.skipChars=function(r,t){for(let u=this.src.length;ru;)if(t!==this.src.charCodeAt(--r))return r+1;return r};d0.prototype.getLines=function(r,t,u,n){if(r>=t)return"";const a=new Array(t-r);for(let i=0,o=r;ou?a[i]=new Array(s-u+1).join(" ")+this.src.slice(h,d):a[i]=this.src.slice(h,d)}return a.join("")};d0.prototype.Token=n0;const Gl=65536;function Gt(e,r){const t=e.bMarks[r]+e.tShift[r],u=e.eMarks[r];return e.src.slice(t,u)}function $n(e){const r=[],t=e.length;let u=0,n=e.charCodeAt(u),a=!1,i=0,o="";for(;ut)return!1;let n=r+1;if(e.sCount[n]=4)return!1;let a=e.bMarks[n]+e.tShift[n];if(a>=e.eMarks[n])return!1;const i=e.src.charCodeAt(a++);if(i!==124&&i!==45&&i!==58||a>=e.eMarks[n])return!1;const o=e.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58&&!pe(o)||i===45&&pe(o))return!1;for(;a=4)return!1;f=$n(s),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop();const d=f.length;if(d===0||d!==h.length)return!1;if(u)return!0;const g=e.parentType;e.parentType="table";const v=e.md.block.ruler.getRules("blockquote"),y=e.push("table_open","table",1),T=[r,0];y.map=T;const E=e.push("thead_open","thead",1);E.map=[r,r+1];const I=e.push("tr_open","tr",1);I.map=[r,r+1];for(let q=0;q=4||(f=$n(s),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),R+=d-f.length,R>Gl))break;if(n===r+2){const O=e.push("tbody_open","tbody",1);O.map=z=[r+2,0]}const F=e.push("tr_open","tr",1);F.map=[n,n+1];for(let O=0;O=4){u++,n=u;continue}break}e.line=n;const a=e.push("code_block","code",0);return a.content=e.getLines(r,n,4+e.blkIndent,!1)+` -`,a.map=[r,e.line],!0}function Zl(e,r,t,u){let n=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||n+3>a)return!1;const i=e.src.charCodeAt(n);if(i!==126&&i!==96)return!1;let o=n;n=e.skipChars(n,i);let s=n-o;if(s<3)return!1;const f=e.src.slice(o,n),h=e.src.slice(n,a);if(i===96&&h.indexOf(String.fromCharCode(i))>=0)return!1;if(u)return!0;let d=r,g=!1;for(;d++,!(d>=t||(n=o=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],n=4)&&(n=e.skipChars(n,i),!(n-o=4||e.src.charCodeAt(n)!==62)return!1;if(u)return!0;const o=[],s=[],f=[],h=[],d=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let v=!1,y;for(y=r;y=a)break;if(e.src.charCodeAt(n++)===62&&!R){let F=e.sCount[y]+1,O,H;e.src.charCodeAt(n)===32?(n++,F++,H=!1,O=!0):e.src.charCodeAt(n)===9?(O=!0,(e.bsCount[y]+F)%4===3?(n++,F++,H=!1):H=!0):O=!1;let Z=F;for(o.push(e.bMarks[y]),e.bMarks[y]=n;n=a,s.push(e.bsCount[y]),e.bsCount[y]=e.sCount[y]+1+(O?1:0),f.push(e.sCount[y]),e.sCount[y]=Z-F,h.push(e.tShift[y]),e.tShift[y]=n-e.bMarks[y];continue}if(v)break;let q=!1;for(let F=0,O=d.length;F";const I=[r,0];E.map=I,e.md.block.tokenize(e,r,y);const z=e.push("blockquote_close","blockquote",-1);z.markup=">",e.lineMax=i,e.parentType=g,I[1]=e.line;for(let R=0;R=4)return!1;let a=e.bMarks[r]+e.tShift[r];const i=e.src.charCodeAt(a++);if(i!==42&&i!==45&&i!==95)return!1;let o=1;for(;a=u)return-1;let a=e.src.charCodeAt(n++);if(a<48||a>57)return-1;for(;;){if(n>=u)return-1;if(a=e.src.charCodeAt(n++),a>=48&&a<=57){if(n-t>=10)return-1;continue}if(a===41||a===46)break;return-1}return n=4||e.listIndent>=0&&e.sCount[s]-e.listIndent>=4&&e.sCount[s]=e.blkIndent&&(h=!0);let d,g,v;if((v=Un(e,s))>=0){if(d=!0,i=e.bMarks[s]+e.tShift[s],g=Number(e.src.slice(i,v-1)),h&&g!==1)return!1}else if((v=Hn(e,s))>=0)d=!1;else return!1;if(h&&e.skipSpaces(v)>=e.eMarks[s])return!1;if(u)return!0;const y=e.src.charCodeAt(v-1),T=e.tokens.length;d?(o=e.push("ordered_list_open","ol",1),g!==1&&(o.attrs=[["start",g]])):o=e.push("bullet_list_open","ul",1);const E=[s,0];o.map=E,o.markup=String.fromCharCode(y);let I=!1;const z=e.md.block.ruler.getRules("list"),R=e.parentType;for(e.parentType="list";s=n?H=1:H=F-q,H>4&&(H=1);const Z=q+H;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(y);const K=[s,0];o.map=K,d&&(o.info=e.src.slice(i,v-1));const le=e.tight,ie=e.tShift[s],ae=e.sCount[s],ke=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=Z,e.tight=!0,e.tShift[s]=O-e.bMarks[s],e.sCount[s]=F,O>=n&&e.isEmpty(s+1)?e.line=Math.min(e.line+2,t):e.md.block.tokenize(e,s,t,!0),(!e.tight||I)&&(f=!1),I=e.line-s>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=ke,e.tShift[s]=ie,e.sCount[s]=ae,e.tight=le,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(y),s=e.line,K[1]=s,s>=t||e.sCount[s]=4)break;let ve=!1;for(let me=0,Le=z.length;me=4||e.src.charCodeAt(n)!==91)return!1;function o(z){const R=e.lineMax;if(z>=R||e.isEmpty(z))return null;let q=!1;if(e.sCount[z]-e.blkIndent>3&&(q=!0),e.sCount[z]<0&&(q=!0),!q){const H=e.md.block.ruler.getRules("reference"),Z=e.parentType;e.parentType="reference";let K=!1;for(let le=0,ie=H.length;le"u"&&(e.env.references={}),typeof e.env.references[I]>"u"&&(e.env.references[I]={title:E,href:d}),e.line=i),!0):!1}const rc=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],tc="[a-zA-Z_:][a-zA-Z0-9:._-]*",uc="[^\"'=<>`\\x00-\\x20]+",nc="'[^']*'",ac='"[^"]*"',ic="(?:"+uc+"|"+nc+"|"+ac+")",oc="(?:\\s+"+tc+"(?:\\s*=\\s*"+ic+")?)",di="<[A-Za-z][A-Za-z0-9\\-]*"+oc+"*\\s*\\/?>",hi="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",sc="",lc="<[?][\\s\\S]*?[?]>",cc="]*>",fc="",dc=new RegExp("^(?:"+di+"|"+hi+"|"+sc+"|"+lc+"|"+cc+"|"+fc+")"),hc=new RegExp("^(?:"+di+"|"+hi+")"),nr=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(hc.source+"\\s*$"),/^$/,!1]];function mc(e,r,t,u){let n=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(n)!==60)return!1;let i=e.src.slice(n,a),o=0;for(;o=4)return!1;let i=e.src.charCodeAt(n);if(i!==35||n>=a)return!1;let o=1;for(i=e.src.charCodeAt(++n);i===35&&n6||nn&&pe(e.src.charCodeAt(s-1))&&(a=s),e.line=r+1;const f=e.push("heading_open","h"+String(o),1);f.markup="########".slice(0,o),f.map=[r,e.line];const h=e.push("inline","",0);h.content=e.src.slice(n,a).trim(),h.map=[r,e.line],h.children=[];const d=e.push("heading_close","h"+String(o),-1);return d.markup="########".slice(0,o),!0}function bc(e,r,t){const u=e.md.block.ruler.getRules("paragraph");if(e.sCount[r]-e.blkIndent>=4)return!1;const n=e.parentType;e.parentType="paragraph";let a=0,i,o=r+1;for(;o3)continue;if(e.sCount[o]>=e.blkIndent){let v=e.bMarks[o]+e.tShift[o];const y=e.eMarks[o];if(v=y))){a=i===61?1:2;break}}if(e.sCount[o]<0)continue;let g=!1;for(let v=0,y=u.length;v3||e.sCount[a]<0)continue;let f=!1;for(let h=0,d=u.length;h=t||e.sCount[i]=a){e.line=t;break}const s=e.line;let f=!1;for(let h=0;h=e.line)throw new Error("block rule didn't increment state.line");break}if(!f)throw new Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),i=e.line,i0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],n={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(u),this.tokens_meta.push(n),u};Rr.prototype.scanDelims=function(e,r){const t=this.posMax,u=this.src.charCodeAt(e),n=e>0?this.src.charCodeAt(e-1):32;let a=e;for(;a0)return!1;const t=e.pos,u=e.posMax;if(t+3>u||e.src.charCodeAt(t)!==58||e.src.charCodeAt(t+1)!==47||e.src.charCodeAt(t+2)!==47)return!1;const n=e.pending.match(yc);if(!n)return!1;const a=n[1],i=e.md.linkify.matchAtStart(e.src.slice(t-a.length));if(!i)return!1;let o=i.url;if(o.length<=a.length)return!1;o=o.replace(/\*+$/,"");const s=e.md.normalizeLink(o);if(!e.md.validateLink(s))return!1;if(!r){e.pending=e.pending.slice(0,-a.length);const f=e.push("link_open","a",1);f.attrs=[["href",s]],f.markup="linkify",f.info="auto";const h=e.push("text","",0);h.content=e.md.normalizeLinkText(o);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=o.length-a.length,!0}function kc(e,r){let t=e.pos;if(e.src.charCodeAt(t)!==10)return!1;const u=e.pending.length-1,n=e.posMax;if(!r)if(u>=0&&e.pending.charCodeAt(u)===32)if(u>=1&&e.pending.charCodeAt(u-1)===32){let a=u-1;for(;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(t++;t?@[]^_`{|}~-".split("").forEach(function(e){Ru[e.charCodeAt(0)]=1});function Sc(e,r){let t=e.pos;const u=e.posMax;if(e.src.charCodeAt(t)!==92||(t++,t>=u))return!1;let n=e.src.charCodeAt(t);if(n===10){for(r||e.push("hardbreak","br",0),t++;t=55296&&n<=56319&&t+1=56320&&o<=57343&&(a+=e.src[t+1],t++)}const i="\\"+a;if(!r){const o=e.push("text_special","",0);n<256&&Ru[n]!==0?o.content=a:o.content=i,o.markup=i,o.info="escape"}return e.pos=t+1,!0}function Ac(e,r){let t=e.pos;if(e.src.charCodeAt(t)!==96)return!1;const n=t;t++;const a=e.posMax;for(;t=0;u--){const n=r[u];if(n.marker!==95&&n.marker!==42||n.end===-1)continue;const a=r[n.end],i=u>0&&r[u-1].end===n.end+1&&r[u-1].marker===n.marker&&r[u-1].token===n.token-1&&r[n.end+1].token===a.token+1,o=String.fromCharCode(n.marker),s=e.tokens[n.token];s.type=i?"strong_open":"em_open",s.tag=i?"strong":"em",s.nesting=1,s.markup=i?o+o:o,s.content="";const f=e.tokens[a.token];f.type=i?"strong_close":"em_close",f.tag=i?"strong":"em",f.nesting=-1,f.markup=i?o+o:o,f.content="",i&&(e.tokens[r[u-1].token].content="",e.tokens[r[n.end+1].token].content="",u--)}}function Dc(e){const r=e.tokens_meta,t=e.tokens_meta.length;jn(e,e.delimiters);for(let u=0;u=d)return!1;if(s=y,n=e.md.helpers.parseLinkDestination(e.src,y,e.posMax),n.ok){for(i=e.md.normalizeLink(n.str),e.md.validateLink(i)?y=n.pos:i="",s=y;y=d||e.src.charCodeAt(y)!==41)&&(f=!0),y++}if(f){if(typeof e.env.references>"u")return!1;if(y=0?u=e.src.slice(s,y++):y=v+1):y=v+1,u||(u=e.src.slice(g,v)),a=e.env.references[kt(u)],!a)return e.pos=h,!1;i=a.href,o=a.title}if(!r){e.pos=g,e.posMax=v;const T=e.push("link_open","a",1),E=[["href",i]];T.attrs=E,o&&E.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=y,e.posMax=d,!0}function Mc(e,r){let t,u,n,a,i,o,s,f,h="";const d=e.pos,g=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const v=e.pos+2,y=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(y<0)return!1;if(a=y+1,a=g)return!1;for(f=a,o=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),o.ok&&(h=e.md.normalizeLink(o.str),e.md.validateLink(h)?a=o.pos:h=""),f=a;a=g||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(typeof e.env.references>"u")return!1;if(a=0?n=e.src.slice(f,a++):a=y+1):a=y+1,n||(n=e.src.slice(v,y)),i=e.env.references[kt(n)],!i)return e.pos=d,!1;h=i.href,s=i.title}if(!r){u=e.src.slice(v,y);const T=[];e.md.inline.parse(u,e.md,e.env,T);const E=e.push("image","img",0),I=[["src",h],["alt",""]];E.attrs=I,E.children=T,E.content=u,s&&I.push(["title",s])}return e.pos=a,e.posMax=g,!0}const Fc=/^([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])?)*)$/,zc=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Ic(e,r){let t=e.pos;if(e.src.charCodeAt(t)!==60)return!1;const u=e.pos,n=e.posMax;for(;;){if(++t>=n)return!1;const i=e.src.charCodeAt(t);if(i===60)return!1;if(i===62)break}const a=e.src.slice(u+1,t);if(zc.test(a)){const i=e.md.normalizeLink(a);if(!e.md.validateLink(i))return!1;if(!r){const o=e.push("link_open","a",1);o.attrs=[["href",i]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(a);const f=e.push("link_close","a",-1);f.markup="autolink",f.info="auto"}return e.pos+=a.length+2,!0}if(Fc.test(a)){const i=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(i))return!1;if(!r){const o=e.push("link_open","a",1);o.attrs=[["href",i]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(a);const f=e.push("link_close","a",-1);f.markup="autolink",f.info="auto"}return e.pos+=a.length+2,!0}return!1}function Bc(e){return/^\s]/i.test(e)}function Nc(e){return/^<\/a\s*>/i.test(e)}function Rc(e){const r=e|32;return r>=97&&r<=122}function Oc(e,r){if(!e.md.options.html)return!1;const t=e.posMax,u=e.pos;if(e.src.charCodeAt(u)!==60||u+2>=t)return!1;const n=e.src.charCodeAt(u+1);if(n!==33&&n!==63&&n!==47&&!Rc(n))return!1;const a=e.src.slice(u).match(dc);if(!a)return!1;if(!r){const i=e.push("html_inline","",0);i.content=a[0],Bc(i.content)&&e.linkLevel++,Nc(i.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}const Lc=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Pc=/^&([a-z][a-z0-9]{1,31});/i;function qc(e,r){const t=e.pos,u=e.posMax;if(e.src.charCodeAt(t)!==38||t+1>=u)return!1;if(e.src.charCodeAt(t+1)===35){const a=e.src.slice(t).match(Lc);if(a){if(!r){const i=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),o=e.push("text_special","",0);o.content=Bu(i)?ft(i):ft(65533),o.markup=a[0],o.info="entity"}return e.pos+=a[0].length,!0}}else{const a=e.src.slice(t).match(Pc);if(a){const i=oi(a[0]);if(i!==a[0]){if(!r){const o=e.push("text_special","",0);o.content=i,o.markup=a[0],o.info="entity"}return e.pos+=a[0].length,!0}}}return!1}function Gn(e){const r={},t=e.length;if(!t)return;let u=0,n=-2;const a=[];for(let i=0;is;f-=a[f]+1){const d=e[f];if(d.marker===o.marker&&d.open&&d.end<0){let g=!1;if((d.close||o.open)&&(d.length+o.length)%3===0&&(d.length%3!==0||o.length%3!==0)&&(g=!0),!g){const v=f>0&&!e[f-1].open?a[f-1]+1:0;a[i]=i-f+v,a[f]=v,o.open=!1,d.end=i,d.close=!1,h=-1,n=-2;break}}}h!==-1&&(r[o.marker][(o.open?3:0)+(o.length||0)%3]=h)}}function $c(e){const r=e.tokens_meta,t=e.tokens_meta.length;Gn(e.delimiters);for(let u=0;u0&&u++,n[r].type==="text"&&r+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;i||e.pos++,a[r]=e.pos};Or.prototype.tokenize=function(e){const r=this.ruler.getRules(""),t=r.length,u=e.posMax,n=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(i){if(e.pos>=u)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Or.prototype.parse=function(e,r,t,u){const n=new this.State(e,r,t,u);this.tokenize(n);const a=this.ruler2.getRules(""),i=a.length;for(let o=0;o|$))",r.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+r.src_ZCc+")("+r.src_email_name+"@"+r.tpl_host_fuzzy_strict+")",r.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_fuzzy_strict+r.src_path+")",r.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_no_ip_fuzzy_strict+r.src_path+")",r}function pu(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(u){e[u]=t[u]})}),e}function At(e){return Object.prototype.toString.call(e)}function Vc(e){return At(e)==="[object String]"}function jc(e){return At(e)==="[object Object]"}function Gc(e){return At(e)==="[object RegExp]"}function Yn(e){return At(e)==="[object Function]"}function Yc(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const bi={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Wc(e){return Object.keys(e||{}).reduce(function(r,t){return r||bi.hasOwnProperty(t)},!1)}const Zc={"http:":{validate:function(e,r,t){const u=e.slice(r);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(u)?u.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,r,t){const u=e.slice(r);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(u)?r>=3&&e[r-3]===":"||r>=3&&e[r-3]==="/"?0:u.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(e,r,t){const u=e.slice(r);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(u)?u.match(t.re.mailto)[0].length:0}}},Xc="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Kc="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Jc(e){e.__index__=-1,e.__text_cache__=""}function Qc(e){return function(r,t){const u=r.slice(t);return e.test(u)?u.match(e)[0].length:0}}function Wn(){return function(e,r){r.normalize(e)}}function dt(e){const r=e.re=Uc(e.__opts__),t=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||t.push(Xc),t.push(r.src_xn),r.src_tlds=t.join("|");function u(o){return o.replace("%TLDS%",r.src_tlds)}r.email_fuzzy=RegExp(u(r.tpl_email_fuzzy),"i"),r.link_fuzzy=RegExp(u(r.tpl_link_fuzzy),"i"),r.link_no_ip_fuzzy=RegExp(u(r.tpl_link_no_ip_fuzzy),"i"),r.host_fuzzy_test=RegExp(u(r.tpl_host_fuzzy_test),"i");const n=[];e.__compiled__={};function a(o,s){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+s)}Object.keys(e.__schemas__).forEach(function(o){const s=e.__schemas__[o];if(s===null)return;const f={validate:null,link:null};if(e.__compiled__[o]=f,jc(s)){Gc(s.validate)?f.validate=Qc(s.validate):Yn(s.validate)?f.validate=s.validate:a(o,s),Yn(s.normalize)?f.normalize=s.normalize:s.normalize?a(o,s):f.normalize=Wn();return}if(Vc(s)){n.push(o);return}a(o,s)}),n.forEach(function(o){e.__compiled__[e.__schemas__[o]]&&(e.__compiled__[o].validate=e.__compiled__[e.__schemas__[o]].validate,e.__compiled__[o].normalize=e.__compiled__[e.__schemas__[o]].normalize)}),e.__compiled__[""]={validate:null,normalize:Wn()};const i=Object.keys(e.__compiled__).filter(function(o){return o.length>0&&e.__compiled__[o]}).map(Yc).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+r.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+r.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Jc(e)}function e2(e,r){const t=e.__index__,u=e.__last_index__,n=e.__text_cache__.slice(t,u);this.schema=e.__schema__.toLowerCase(),this.index=t+r,this.lastIndex=u+r,this.raw=n,this.text=n,this.url=n}function bu(e,r){const t=new e2(e,r);return e.__compiled__[t.schema].normalize(t,e),t}function je(e,r){if(!(this instanceof je))return new je(e,r);r||Wc(e)&&(r=e,e={}),this.__opts__=pu({},bi,r),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=pu({},Zc,e),this.__compiled__={},this.__tlds__=Kc,this.__tlds_replaced__=!1,this.re={},dt(this)}je.prototype.add=function(r,t){return this.__schemas__[r]=t,dt(this),this};je.prototype.set=function(r){return this.__opts__=pu(this.__opts__,r),this};je.prototype.test=function(r){if(this.__text_cache__=r,this.__index__=-1,!r.length)return!1;let t,u,n,a,i,o,s,f,h;if(this.re.schema_test.test(r)){for(s=this.re.schema_search,s.lastIndex=0;(t=s.exec(r))!==null;)if(a=this.testSchemaAt(r,t[2],s.lastIndex),a){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(f=r.search(this.re.host_fuzzy_test),f>=0&&(this.__index__<0||f=0&&(n=r.match(this.re.email_fuzzy))!==null&&(i=n.index+n[1].length,o=n.index+n[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=o))),this.__index__>=0};je.prototype.pretest=function(r){return this.re.pretest.test(r)};je.prototype.testSchemaAt=function(r,t,u){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(r,u,this):0};je.prototype.match=function(r){const t=[];let u=0;this.__index__>=0&&this.__text_cache__===r&&(t.push(bu(this,u)),u=this.__last_index__);let n=u?r.slice(u):r;for(;this.test(n);)t.push(bu(this,u)),n=n.slice(this.__last_index__),u+=this.__last_index__;return t.length?t:null};je.prototype.matchAtStart=function(r){if(this.__text_cache__=r,this.__index__=-1,!r.length)return null;const t=this.re.schema_at_start.exec(r);if(!t)return null;const u=this.testSchemaAt(r,t[2],t[0].length);return u?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+u,bu(this,0)):null};je.prototype.tlds=function(r,t){return r=Array.isArray(r)?r:[r],t?(this.__tlds__=this.__tlds__.concat(r).sort().filter(function(u,n,a){return u!==a[n-1]}).reverse(),dt(this),this):(this.__tlds__=r.slice(),this.__tlds_replaced__=!0,dt(this),this)};je.prototype.normalize=function(r){r.schema||(r.url="http://"+r.url),r.schema==="mailto:"&&!/^mailto:/i.test(r.url)&&(r.url="mailto:"+r.url)};je.prototype.onCompile=function(){};const lr=2147483647,o0=36,Ou=1,Fr=26,r2=38,t2=700,vi=72,gi=128,xi="-",u2=/^xn--/,n2=/[^\0-\x7F]/,a2=/[\x2E\u3002\uFF0E\uFF61]/g,i2={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Zt=o0-Ou,s0=Math.floor,Xt=String.fromCharCode;function N0(e){throw new RangeError(i2[e])}function o2(e,r){const t=[];let u=e.length;for(;u--;)t[u]=r(e[u]);return t}function yi(e,r){const t=e.split("@");let u="";t.length>1&&(u=t[0]+"@",e=t[1]),e=e.replace(a2,".");const n=e.split("."),a=o2(n,r).join(".");return u+a}function wi(e){const r=[];let t=0;const u=e.length;for(;t=55296&&n<=56319&&tString.fromCodePoint(...e),l2=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:o0},Zn=function(e,r){return e+22+75*(e<26)-((r!=0)<<5)},ki=function(e,r,t){let u=0;for(e=t?s0(e/t2):e>>1,e+=s0(e/r);e>Zt*Fr>>1;u+=o0)e=s0(e/Zt);return s0(u+(Zt+1)*e/(e+r2))},Si=function(e){const r=[],t=e.length;let u=0,n=gi,a=vi,i=e.lastIndexOf(xi);i<0&&(i=0);for(let o=0;o=128&&N0("not-basic"),r.push(e.charCodeAt(o));for(let o=i>0?i+1:0;o=t&&N0("invalid-input");const g=l2(e.charCodeAt(o++));g>=o0&&N0("invalid-input"),g>s0((lr-u)/h)&&N0("overflow"),u+=g*h;const v=d<=a?Ou:d>=a+Fr?Fr:d-a;if(gs0(lr/y)&&N0("overflow"),h*=y}const f=r.length+1;a=ki(u-s,f,s==0),s0(u/f)>lr-n&&N0("overflow"),n+=s0(u/f),u%=f,r.splice(u++,0,n)}return String.fromCodePoint(...r)},Ai=function(e){const r=[];e=wi(e);const t=e.length;let u=gi,n=0,a=vi;for(const s of e)s<128&&r.push(Xt(s));const i=r.length;let o=i;for(i&&r.push(xi);o=u&&hs0((lr-n)/f)&&N0("overflow"),n+=(s-u)*f,u=s;for(const h of e)if(hlr&&N0("overflow"),h===u){let d=n;for(let g=o0;;g+=o0){const v=g<=a?Ou:g>=a+Fr?Fr:g-a;if(d=0))try{r.hostname=Ci.toASCII(r.hostname)}catch{}return Nr(Mu(r))}function y2(e){const r=Fu(e,!0);if(r.hostname&&(!r.protocol||_i.indexOf(r.protocol)>=0))try{r.hostname=Ci.toUnicode(r.hostname)}catch{}return fr(Mu(r),fr.defaultChars+"%")}function Je(e,r){if(!(this instanceof Je))return new Je(e,r);r||Iu(e)||(r=e||{},e="default"),this.inline=new Or,this.block=new St,this.core=new Nu,this.renderer=new vr,this.linkify=new je,this.validateLink=g2,this.normalizeLink=x2,this.normalizeLinkText=y2,this.utils=kl,this.helpers=wt({},_l),this.options={},this.configure(e),r&&this.set(r)}Je.prototype.set=function(e){return wt(this.options,e),this};Je.prototype.configure=function(e){const r=this;if(Iu(e)){const t=e;if(e=p2[t],!e)throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)}),this};Je.prototype.enable=function(e,r){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(n){t=t.concat(this[n].ruler.enable(e,!0))},this),t=t.concat(this.inline.ruler2.enable(e,!0));const u=e.filter(function(n){return t.indexOf(n)<0});if(u.length&&!r)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+u);return this};Je.prototype.disable=function(e,r){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(n){t=t.concat(this[n].ruler.disable(e,!0))},this),t=t.concat(this.inline.ruler2.disable(e,!0));const u=e.filter(function(n){return t.indexOf(n)<0});if(u.length&&!r)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+u);return this};Je.prototype.use=function(e){const r=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,r),this};Je.prototype.parse=function(e,r){if(typeof e!="string")throw new Error("Input data should be a String");const t=new this.core.State(e,this,r);return this.core.process(t),t.tokens};Je.prototype.render=function(e,r){return r=r||{},this.renderer.render(this.parse(e,r),this.options,r)};Je.prototype.parseInline=function(e,r){const t=new this.core.State(e,this,r);return t.inlineMode=!0,this.core.process(t),t.tokens};Je.prototype.renderInline=function(e,r){return r=r||{},this.renderer.render(this.parseInline(e,r),this.options,r)};function w2(e){const r=e.utils.isSpace;function t(a,i){let o=a.bMarks[i]+a.tShift[i];const s=a.eMarks[i];if(o>=s)return-1;const f=a.src.charCodeAt(o++);if(f!==126&&f!==58)return-1;const h=a.skipSpaces(o);return o===h||h>=s?-1:o}function u(a,i){const o=a.level+2;for(let s=i+2,f=a.tokens.length-2;s=0;let f=i+1;if(f>=o||a.isEmpty(f)&&(f++,f>=o)||a.sCount[f]1&&a.isEmpty(a.line-1),a.tShift[E]=ae,a.sCount[E]=ke,a.tight=K,a.parentType=ve,a.blkIndent=ie,a.ddIndent=le,a.push("dd_close","dd",-1),F[1]=f=a.line,f>=o||a.sCount[f]=o||(T=f,a.isEmpty(T))||a.sCount[T]=o)||(a.isEmpty(E)&&E++,E>=o)||a.sCount[E]15?f="…"+o.slice(n-15,n):f=o.slice(0,n);var h;a+15":">","<":"<",'"':""","'":"'"},F2=/[&><"']/g;function z2(e){return String(e).replace(F2,r=>M2[r])}var Di=function e(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?e(r.body[0]):r:r.type==="font"?e(r.body):r},I2=function(r){var t=Di(r);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},B2=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},N2=function(r){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(r);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},Q={contains:_2,deflt:E2,escape:z2,hyphenate:T2,getBaseElem:Di,isCharacterBox:I2,protocolFromUrl:N2},ot={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,r)=>(r.push(e),r)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function R2(e){if(e.default)return e.default;var r=e.type,t=Array.isArray(r)?r[0]:r;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Lu{constructor(r){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,r=r||{};for(var t in ot)if(ot.hasOwnProperty(t)){var u=ot[t];this[t]=r[t]!==void 0?u.processor?u.processor(r[t]):r[t]:R2(u)}}reportNonstrict(r,t,u){var n=this.strict;if(typeof n=="function"&&(n=n(r,t,u)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new $("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+r+"]"),u);n==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+r+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" ["+r+"]"))}}useStrictBehavior(r,t,u){var n=this.strict;if(typeof n=="function")try{n=n(r,t,u)}catch{n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+r+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" ["+r+"]")),!1)}isTrusted(r){if(r.url&&!r.protocol){var t=Q.protocolFromUrl(r.url);if(t==null)return!1;r.protocol=t}var u=typeof this.trust=="function"?this.trust(r):this.trust;return!!u}}class I0{constructor(r,t,u){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=r,this.size=t,this.cramped=u}sup(){return i0[O2[this.id]]}sub(){return i0[L2[this.id]]}fracNum(){return i0[P2[this.id]]}fracDen(){return i0[q2[this.id]]}cramp(){return i0[$2[this.id]]}text(){return i0[H2[this.id]]}isTight(){return this.size>=2}}var Pu=0,ht=1,cr=2,k0=3,zr=4,Xe=5,hr=6,Re=7,i0=[new I0(Pu,0,!1),new I0(ht,0,!0),new I0(cr,1,!1),new I0(k0,1,!0),new I0(zr,2,!1),new I0(Xe,2,!0),new I0(hr,3,!1),new I0(Re,3,!0)],O2=[zr,Xe,zr,Xe,hr,Re,hr,Re],L2=[Xe,Xe,Xe,Xe,Re,Re,Re,Re],P2=[cr,k0,zr,Xe,hr,Re,hr,Re],q2=[k0,k0,Xe,Xe,Re,Re,Re,Re],$2=[ht,ht,k0,k0,Xe,Xe,Re,Re],H2=[Pu,ht,cr,k0,cr,k0,cr,k0],re={DISPLAY:i0[Pu],TEXT:i0[cr],SCRIPT:i0[zr],SCRIPTSCRIPT:i0[hr]},vu=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function U2(e){for(var r=0;r=n[0]&&e<=n[1])return t.name}return null}var st=[];vu.forEach(e=>e.blocks.forEach(r=>st.push(...r)));function Ti(e){for(var r=0;r=st[r]&&e<=st[r+1])return!0;return!1}var ar=80,V2=function(r,t){return"M95,"+(622+r+t)+` +`;break}return u};vr.prototype.render=function(e,r,t){let u="";const n=this.rules;for(let a=0,i=e.length;a=0&&(u=this.attrs[t][1]),u};n0.prototype.attrJoin=function(r,t){const u=this.attrIndex(r);u<0?this.attrPush([r,t]):this.attrs[u][1]=this.attrs[u][1]+" "+t};function ci(e,r,t){this.src=e,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=r}ci.prototype.Token=n0;const Es=/\r\n?|\n/g,Ds=/\0/g;function Ts(e){let r;r=e.src.replace(Es,` +`),r=r.replace(Ds,"�"),e.src=r}function Ms(e){let r;e.inlineMode?(r=new e.Token("inline","",0),r.content=e.src,r.map=[0,1],r.children=[],e.tokens.push(r)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Fs(e){const r=e.tokens;for(let t=0,u=r.length;t\s]/i.test(e)}function Is(e){return/^<\/a\s*>/i.test(e)}function Bs(e){const r=e.tokens;if(e.md.options.linkify)for(let t=0,u=r.length;t=0;i--){const o=n[i];if(o.type==="link_close"){for(i--;n[i].level!==o.level&&n[i].type!=="link_open";)i--;continue}if(o.type==="html_inline"&&(zs(o.content)&&a>0&&a--,Is(o.content)&&a++),!(a>0)&&o.type==="text"&&e.md.linkify.test(o.content)){const l=o.content;let f=e.md.linkify.match(l);const h=[];let d=o.level,g=0;f.length>0&&f[0].index===0&&i>0&&n[i-1].type==="text_special"&&(f=f.slice(1));for(let v=0;vg){const F=new e.Token("text","",0);F.content=l.slice(g,I),F.level=d,h.push(F)}const z=new e.Token("link_open","a",1);z.attrs=[["href",T]],z.level=d++,z.markup="linkify",z.info="auto",h.push(z);const R=new e.Token("text","",0);R.content=E,R.level=d,h.push(R);const q=new e.Token("link_close","a",-1);q.level=--d,q.markup="linkify",q.info="auto",h.push(q),g=f[v].lastIndex}if(g=0;t--){const u=e[t];u.type==="text"&&!r&&(u.content=u.content.replace(Rs,Ls)),u.type==="link_open"&&u.info==="auto"&&r--,u.type==="link_close"&&u.info==="auto"&&r++}}function qs(e){let r=0;for(let t=e.length-1;t>=0;t--){const u=e[t];u.type==="text"&&!r&&fi.test(u.content)&&(u.content=u.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),u.type==="link_open"&&u.info==="auto"&&r--,u.type==="link_close"&&u.info==="auto"&&r++}}function $s(e){let r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)e.tokens[r].type==="inline"&&(Ns.test(e.tokens[r].content)&&Ps(e.tokens[r].children),fi.test(e.tokens[r].content)&&qs(e.tokens[r].children))}const Hs=/['"]/,Pn=/['"]/g,qn="’";function Zr(e,r,t){return e.slice(0,r)+t+e.slice(r+1)}function Us(e,r){let t;const u=[];for(let n=0;n=0&&!(u[t].level<=i);t--);if(u.length=t+1,a.type!=="text")continue;let o=a.content,l=0,f=o.length;e:for(;l=0)y=o.charCodeAt(h.index-1);else for(t=n-1;t>=0&&!(e[t].type==="softbreak"||e[t].type==="hardbreak");t--)if(e[t].content){y=e[t].content.charCodeAt(e[t].content.length-1);break}let T=32;if(l=48&&y<=57&&(g=d=!1),d&&g&&(d=E,g=I),!d&&!g){v&&(a.content=Zr(a.content,h.index,qn));continue}if(g)for(t=u.length-1;t>=0;t--){let q=u[t];if(u[t].level=0;r--)e.tokens[r].type!=="inline"||!Hs.test(e.tokens[r].content)||Us(e.tokens[r].children,e)}function js(e){let r,t;const u=e.tokens,n=u.length;for(let a=0;a0&&this.level++,this.tokens.push(u),u};d0.prototype.isEmpty=function(r){return this.bMarks[r]+this.tShift[r]>=this.eMarks[r]};d0.prototype.skipEmptyLines=function(r){for(let t=this.lineMax;rt;)if(!pe(this.src.charCodeAt(--r)))return r+1;return r};d0.prototype.skipChars=function(r,t){for(let u=this.src.length;ru;)if(t!==this.src.charCodeAt(--r))return r+1;return r};d0.prototype.getLines=function(r,t,u,n){if(r>=t)return"";const a=new Array(t-r);for(let i=0,o=r;ou?a[i]=new Array(l-u+1).join(" ")+this.src.slice(h,d):a[i]=this.src.slice(h,d)}return a.join("")};d0.prototype.Token=n0;const Gs=65536;function Gt(e,r){const t=e.bMarks[r]+e.tShift[r],u=e.eMarks[r];return e.src.slice(t,u)}function $n(e){const r=[],t=e.length;let u=0,n=e.charCodeAt(u),a=!1,i=0,o="";for(;ut)return!1;let n=r+1;if(e.sCount[n]=4)return!1;let a=e.bMarks[n]+e.tShift[n];if(a>=e.eMarks[n])return!1;const i=e.src.charCodeAt(a++);if(i!==124&&i!==45&&i!==58||a>=e.eMarks[n])return!1;const o=e.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58&&!pe(o)||i===45&&pe(o))return!1;for(;a=4)return!1;f=$n(l),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop();const d=f.length;if(d===0||d!==h.length)return!1;if(u)return!0;const g=e.parentType;e.parentType="table";const v=e.md.block.ruler.getRules("blockquote"),y=e.push("table_open","table",1),T=[r,0];y.map=T;const E=e.push("thead_open","thead",1);E.map=[r,r+1];const I=e.push("tr_open","tr",1);I.map=[r,r+1];for(let q=0;q=4||(f=$n(l),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),R+=d-f.length,R>Gs))break;if(n===r+2){const O=e.push("tbody_open","tbody",1);O.map=z=[r+2,0]}const F=e.push("tr_open","tr",1);F.map=[n,n+1];for(let O=0;O=4){u++,n=u;continue}break}e.line=n;const a=e.push("code_block","code",0);return a.content=e.getLines(r,n,4+e.blkIndent,!1)+` +`,a.map=[r,e.line],!0}function Zs(e,r,t,u){let n=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||n+3>a)return!1;const i=e.src.charCodeAt(n);if(i!==126&&i!==96)return!1;let o=n;n=e.skipChars(n,i);let l=n-o;if(l<3)return!1;const f=e.src.slice(o,n),h=e.src.slice(n,a);if(i===96&&h.indexOf(String.fromCharCode(i))>=0)return!1;if(u)return!0;let d=r,g=!1;for(;d++,!(d>=t||(n=o=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],n=4)&&(n=e.skipChars(n,i),!(n-o=4||e.src.charCodeAt(n)!==62)return!1;if(u)return!0;const o=[],l=[],f=[],h=[],d=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let v=!1,y;for(y=r;y=a)break;if(e.src.charCodeAt(n++)===62&&!R){let F=e.sCount[y]+1,O,H;e.src.charCodeAt(n)===32?(n++,F++,H=!1,O=!0):e.src.charCodeAt(n)===9?(O=!0,(e.bsCount[y]+F)%4===3?(n++,F++,H=!1):H=!0):O=!1;let Z=F;for(o.push(e.bMarks[y]),e.bMarks[y]=n;n=a,l.push(e.bsCount[y]),e.bsCount[y]=e.sCount[y]+1+(O?1:0),f.push(e.sCount[y]),e.sCount[y]=Z-F,h.push(e.tShift[y]),e.tShift[y]=n-e.bMarks[y];continue}if(v)break;let q=!1;for(let F=0,O=d.length;F";const I=[r,0];E.map=I,e.md.block.tokenize(e,r,y);const z=e.push("blockquote_close","blockquote",-1);z.markup=">",e.lineMax=i,e.parentType=g,I[1]=e.line;for(let R=0;R=4)return!1;let a=e.bMarks[r]+e.tShift[r];const i=e.src.charCodeAt(a++);if(i!==42&&i!==45&&i!==95)return!1;let o=1;for(;a=u)return-1;let a=e.src.charCodeAt(n++);if(a<48||a>57)return-1;for(;;){if(n>=u)return-1;if(a=e.src.charCodeAt(n++),a>=48&&a<=57){if(n-t>=10)return-1;continue}if(a===41||a===46)break;return-1}return n=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(h=!0);let d,g,v;if((v=Un(e,l))>=0){if(d=!0,i=e.bMarks[l]+e.tShift[l],g=Number(e.src.slice(i,v-1)),h&&g!==1)return!1}else if((v=Hn(e,l))>=0)d=!1;else return!1;if(h&&e.skipSpaces(v)>=e.eMarks[l])return!1;if(u)return!0;const y=e.src.charCodeAt(v-1),T=e.tokens.length;d?(o=e.push("ordered_list_open","ol",1),g!==1&&(o.attrs=[["start",g]])):o=e.push("bullet_list_open","ul",1);const E=[l,0];o.map=E,o.markup=String.fromCharCode(y);let I=!1;const z=e.md.block.ruler.getRules("list"),R=e.parentType;for(e.parentType="list";l=n?H=1:H=F-q,H>4&&(H=1);const Z=q+H;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(y);const K=[l,0];o.map=K,d&&(o.info=e.src.slice(i,v-1));const se=e.tight,ie=e.tShift[l],ae=e.sCount[l],ke=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=Z,e.tight=!0,e.tShift[l]=O-e.bMarks[l],e.sCount[l]=F,O>=n&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,t):e.md.block.tokenize(e,l,t,!0),(!e.tight||I)&&(f=!1),I=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=ke,e.tShift[l]=ie,e.sCount[l]=ae,e.tight=se,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(y),l=e.line,K[1]=l,l>=t||e.sCount[l]=4)break;let ve=!1;for(let me=0,Le=z.length;me=4||e.src.charCodeAt(n)!==91)return!1;function o(z){const R=e.lineMax;if(z>=R||e.isEmpty(z))return null;let q=!1;if(e.sCount[z]-e.blkIndent>3&&(q=!0),e.sCount[z]<0&&(q=!0),!q){const H=e.md.block.ruler.getRules("reference"),Z=e.parentType;e.parentType="reference";let K=!1;for(let se=0,ie=H.length;se"u"&&(e.env.references={}),typeof e.env.references[I]>"u"&&(e.env.references[I]={title:E,href:d}),e.line=i),!0):!1}const rc=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],tc="[a-zA-Z_:][a-zA-Z0-9:._-]*",uc="[^\"'=<>`\\x00-\\x20]+",nc="'[^']*'",ac='"[^"]*"',ic="(?:"+uc+"|"+nc+"|"+ac+")",oc="(?:\\s+"+tc+"(?:\\s*=\\s*"+ic+")?)",di="<[A-Za-z][A-Za-z0-9\\-]*"+oc+"*\\s*\\/?>",hi="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",lc="",sc="<[?][\\s\\S]*?[?]>",cc="]*>",fc="",dc=new RegExp("^(?:"+di+"|"+hi+"|"+lc+"|"+sc+"|"+cc+"|"+fc+")"),hc=new RegExp("^(?:"+di+"|"+hi+")"),nr=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(hc.source+"\\s*$"),/^$/,!1]];function mc(e,r,t,u){let n=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(n)!==60)return!1;let i=e.src.slice(n,a),o=0;for(;o=4)return!1;let i=e.src.charCodeAt(n);if(i!==35||n>=a)return!1;let o=1;for(i=e.src.charCodeAt(++n);i===35&&n6||nn&&pe(e.src.charCodeAt(l-1))&&(a=l),e.line=r+1;const f=e.push("heading_open","h"+String(o),1);f.markup="########".slice(0,o),f.map=[r,e.line];const h=e.push("inline","",0);h.content=e.src.slice(n,a).trim(),h.map=[r,e.line],h.children=[];const d=e.push("heading_close","h"+String(o),-1);return d.markup="########".slice(0,o),!0}function bc(e,r,t){const u=e.md.block.ruler.getRules("paragraph");if(e.sCount[r]-e.blkIndent>=4)return!1;const n=e.parentType;e.parentType="paragraph";let a=0,i,o=r+1;for(;o3)continue;if(e.sCount[o]>=e.blkIndent){let v=e.bMarks[o]+e.tShift[o];const y=e.eMarks[o];if(v=y))){a=i===61?1:2;break}}if(e.sCount[o]<0)continue;let g=!1;for(let v=0,y=u.length;v3||e.sCount[a]<0)continue;let f=!1;for(let h=0,d=u.length;h=t||e.sCount[i]=a){e.line=t;break}const l=e.line;let f=!1;for(let h=0;h=e.line)throw new Error("block rule didn't increment state.line");break}if(!f)throw new Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),i=e.line,i0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],n={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(u),this.tokens_meta.push(n),u};Rr.prototype.scanDelims=function(e,r){const t=this.posMax,u=this.src.charCodeAt(e),n=e>0?this.src.charCodeAt(e-1):32;let a=e;for(;a0)return!1;const t=e.pos,u=e.posMax;if(t+3>u||e.src.charCodeAt(t)!==58||e.src.charCodeAt(t+1)!==47||e.src.charCodeAt(t+2)!==47)return!1;const n=e.pending.match(yc);if(!n)return!1;const a=n[1],i=e.md.linkify.matchAtStart(e.src.slice(t-a.length));if(!i)return!1;let o=i.url;if(o.length<=a.length)return!1;o=o.replace(/\*+$/,"");const l=e.md.normalizeLink(o);if(!e.md.validateLink(l))return!1;if(!r){e.pending=e.pending.slice(0,-a.length);const f=e.push("link_open","a",1);f.attrs=[["href",l]],f.markup="linkify",f.info="auto";const h=e.push("text","",0);h.content=e.md.normalizeLinkText(o);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=o.length-a.length,!0}function kc(e,r){let t=e.pos;if(e.src.charCodeAt(t)!==10)return!1;const u=e.pending.length-1,n=e.posMax;if(!r)if(u>=0&&e.pending.charCodeAt(u)===32)if(u>=1&&e.pending.charCodeAt(u-1)===32){let a=u-1;for(;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(t++;t?@[]^_`{|}~-".split("").forEach(function(e){Ru[e.charCodeAt(0)]=1});function Sc(e,r){let t=e.pos;const u=e.posMax;if(e.src.charCodeAt(t)!==92||(t++,t>=u))return!1;let n=e.src.charCodeAt(t);if(n===10){for(r||e.push("hardbreak","br",0),t++;t=55296&&n<=56319&&t+1=56320&&o<=57343&&(a+=e.src[t+1],t++)}const i="\\"+a;if(!r){const o=e.push("text_special","",0);n<256&&Ru[n]!==0?o.content=a:o.content=i,o.markup=i,o.info="escape"}return e.pos=t+1,!0}function Ac(e,r){let t=e.pos;if(e.src.charCodeAt(t)!==96)return!1;const n=t;t++;const a=e.posMax;for(;t=0;u--){const n=r[u];if(n.marker!==95&&n.marker!==42||n.end===-1)continue;const a=r[n.end],i=u>0&&r[u-1].end===n.end+1&&r[u-1].marker===n.marker&&r[u-1].token===n.token-1&&r[n.end+1].token===a.token+1,o=String.fromCharCode(n.marker),l=e.tokens[n.token];l.type=i?"strong_open":"em_open",l.tag=i?"strong":"em",l.nesting=1,l.markup=i?o+o:o,l.content="";const f=e.tokens[a.token];f.type=i?"strong_close":"em_close",f.tag=i?"strong":"em",f.nesting=-1,f.markup=i?o+o:o,f.content="",i&&(e.tokens[r[u-1].token].content="",e.tokens[r[n.end+1].token].content="",u--)}}function Dc(e){const r=e.tokens_meta,t=e.tokens_meta.length;jn(e,e.delimiters);for(let u=0;u=d)return!1;if(l=y,n=e.md.helpers.parseLinkDestination(e.src,y,e.posMax),n.ok){for(i=e.md.normalizeLink(n.str),e.md.validateLink(i)?y=n.pos:i="",l=y;y=d||e.src.charCodeAt(y)!==41)&&(f=!0),y++}if(f){if(typeof e.env.references>"u")return!1;if(y=0?u=e.src.slice(l,y++):y=v+1):y=v+1,u||(u=e.src.slice(g,v)),a=e.env.references[kt(u)],!a)return e.pos=h,!1;i=a.href,o=a.title}if(!r){e.pos=g,e.posMax=v;const T=e.push("link_open","a",1),E=[["href",i]];T.attrs=E,o&&E.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=y,e.posMax=d,!0}function Mc(e,r){let t,u,n,a,i,o,l,f,h="";const d=e.pos,g=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const v=e.pos+2,y=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(y<0)return!1;if(a=y+1,a=g)return!1;for(f=a,o=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),o.ok&&(h=e.md.normalizeLink(o.str),e.md.validateLink(h)?a=o.pos:h=""),f=a;a=g||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(typeof e.env.references>"u")return!1;if(a=0?n=e.src.slice(f,a++):a=y+1):a=y+1,n||(n=e.src.slice(v,y)),i=e.env.references[kt(n)],!i)return e.pos=d,!1;h=i.href,l=i.title}if(!r){u=e.src.slice(v,y);const T=[];e.md.inline.parse(u,e.md,e.env,T);const E=e.push("image","img",0),I=[["src",h],["alt",""]];E.attrs=I,E.children=T,E.content=u,l&&I.push(["title",l])}return e.pos=a,e.posMax=g,!0}const Fc=/^([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])?)*)$/,zc=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Ic(e,r){let t=e.pos;if(e.src.charCodeAt(t)!==60)return!1;const u=e.pos,n=e.posMax;for(;;){if(++t>=n)return!1;const i=e.src.charCodeAt(t);if(i===60)return!1;if(i===62)break}const a=e.src.slice(u+1,t);if(zc.test(a)){const i=e.md.normalizeLink(a);if(!e.md.validateLink(i))return!1;if(!r){const o=e.push("link_open","a",1);o.attrs=[["href",i]],o.markup="autolink",o.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(a);const f=e.push("link_close","a",-1);f.markup="autolink",f.info="auto"}return e.pos+=a.length+2,!0}if(Fc.test(a)){const i=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(i))return!1;if(!r){const o=e.push("link_open","a",1);o.attrs=[["href",i]],o.markup="autolink",o.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(a);const f=e.push("link_close","a",-1);f.markup="autolink",f.info="auto"}return e.pos+=a.length+2,!0}return!1}function Bc(e){return/^\s]/i.test(e)}function Nc(e){return/^<\/a\s*>/i.test(e)}function Rc(e){const r=e|32;return r>=97&&r<=122}function Oc(e,r){if(!e.md.options.html)return!1;const t=e.posMax,u=e.pos;if(e.src.charCodeAt(u)!==60||u+2>=t)return!1;const n=e.src.charCodeAt(u+1);if(n!==33&&n!==63&&n!==47&&!Rc(n))return!1;const a=e.src.slice(u).match(dc);if(!a)return!1;if(!r){const i=e.push("html_inline","",0);i.content=a[0],Bc(i.content)&&e.linkLevel++,Nc(i.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}const Lc=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Pc=/^&([a-z][a-z0-9]{1,31});/i;function qc(e,r){const t=e.pos,u=e.posMax;if(e.src.charCodeAt(t)!==38||t+1>=u)return!1;if(e.src.charCodeAt(t+1)===35){const a=e.src.slice(t).match(Lc);if(a){if(!r){const i=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),o=e.push("text_special","",0);o.content=Bu(i)?ft(i):ft(65533),o.markup=a[0],o.info="entity"}return e.pos+=a[0].length,!0}}else{const a=e.src.slice(t).match(Pc);if(a){const i=oi(a[0]);if(i!==a[0]){if(!r){const o=e.push("text_special","",0);o.content=i,o.markup=a[0],o.info="entity"}return e.pos+=a[0].length,!0}}}return!1}function Gn(e){const r={},t=e.length;if(!t)return;let u=0,n=-2;const a=[];for(let i=0;il;f-=a[f]+1){const d=e[f];if(d.marker===o.marker&&d.open&&d.end<0){let g=!1;if((d.close||o.open)&&(d.length+o.length)%3===0&&(d.length%3!==0||o.length%3!==0)&&(g=!0),!g){const v=f>0&&!e[f-1].open?a[f-1]+1:0;a[i]=i-f+v,a[f]=v,o.open=!1,d.end=i,d.close=!1,h=-1,n=-2;break}}}h!==-1&&(r[o.marker][(o.open?3:0)+(o.length||0)%3]=h)}}function $c(e){const r=e.tokens_meta,t=e.tokens_meta.length;Gn(e.delimiters);for(let u=0;u0&&u++,n[r].type==="text"&&r+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;i||e.pos++,a[r]=e.pos};Or.prototype.tokenize=function(e){const r=this.ruler.getRules(""),t=r.length,u=e.posMax,n=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(i){if(e.pos>=u)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Or.prototype.parse=function(e,r,t,u){const n=new this.State(e,r,t,u);this.tokenize(n);const a=this.ruler2.getRules(""),i=a.length;for(let o=0;o|$))",r.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+r.src_ZCc+")("+r.src_email_name+"@"+r.tpl_host_fuzzy_strict+")",r.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_fuzzy_strict+r.src_path+")",r.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_no_ip_fuzzy_strict+r.src_path+")",r}function pu(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(u){e[u]=t[u]})}),e}function At(e){return Object.prototype.toString.call(e)}function Vc(e){return At(e)==="[object String]"}function jc(e){return At(e)==="[object Object]"}function Gc(e){return At(e)==="[object RegExp]"}function Yn(e){return At(e)==="[object Function]"}function Yc(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const bi={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Wc(e){return Object.keys(e||{}).reduce(function(r,t){return r||bi.hasOwnProperty(t)},!1)}const Zc={"http:":{validate:function(e,r,t){const u=e.slice(r);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(u)?u.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,r,t){const u=e.slice(r);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(u)?r>=3&&e[r-3]===":"||r>=3&&e[r-3]==="/"?0:u.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(e,r,t){const u=e.slice(r);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(u)?u.match(t.re.mailto)[0].length:0}}},Xc="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Kc="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Jc(e){e.__index__=-1,e.__text_cache__=""}function Qc(e){return function(r,t){const u=r.slice(t);return e.test(u)?u.match(e)[0].length:0}}function Wn(){return function(e,r){r.normalize(e)}}function dt(e){const r=e.re=Uc(e.__opts__),t=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||t.push(Xc),t.push(r.src_xn),r.src_tlds=t.join("|");function u(o){return o.replace("%TLDS%",r.src_tlds)}r.email_fuzzy=RegExp(u(r.tpl_email_fuzzy),"i"),r.link_fuzzy=RegExp(u(r.tpl_link_fuzzy),"i"),r.link_no_ip_fuzzy=RegExp(u(r.tpl_link_no_ip_fuzzy),"i"),r.host_fuzzy_test=RegExp(u(r.tpl_host_fuzzy_test),"i");const n=[];e.__compiled__={};function a(o,l){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+l)}Object.keys(e.__schemas__).forEach(function(o){const l=e.__schemas__[o];if(l===null)return;const f={validate:null,link:null};if(e.__compiled__[o]=f,jc(l)){Gc(l.validate)?f.validate=Qc(l.validate):Yn(l.validate)?f.validate=l.validate:a(o,l),Yn(l.normalize)?f.normalize=l.normalize:l.normalize?a(o,l):f.normalize=Wn();return}if(Vc(l)){n.push(o);return}a(o,l)}),n.forEach(function(o){e.__compiled__[e.__schemas__[o]]&&(e.__compiled__[o].validate=e.__compiled__[e.__schemas__[o]].validate,e.__compiled__[o].normalize=e.__compiled__[e.__schemas__[o]].normalize)}),e.__compiled__[""]={validate:null,normalize:Wn()};const i=Object.keys(e.__compiled__).filter(function(o){return o.length>0&&e.__compiled__[o]}).map(Yc).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+r.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+r.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Jc(e)}function e2(e,r){const t=e.__index__,u=e.__last_index__,n=e.__text_cache__.slice(t,u);this.schema=e.__schema__.toLowerCase(),this.index=t+r,this.lastIndex=u+r,this.raw=n,this.text=n,this.url=n}function bu(e,r){const t=new e2(e,r);return e.__compiled__[t.schema].normalize(t,e),t}function je(e,r){if(!(this instanceof je))return new je(e,r);r||Wc(e)&&(r=e,e={}),this.__opts__=pu({},bi,r),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=pu({},Zc,e),this.__compiled__={},this.__tlds__=Kc,this.__tlds_replaced__=!1,this.re={},dt(this)}je.prototype.add=function(r,t){return this.__schemas__[r]=t,dt(this),this};je.prototype.set=function(r){return this.__opts__=pu(this.__opts__,r),this};je.prototype.test=function(r){if(this.__text_cache__=r,this.__index__=-1,!r.length)return!1;let t,u,n,a,i,o,l,f,h;if(this.re.schema_test.test(r)){for(l=this.re.schema_search,l.lastIndex=0;(t=l.exec(r))!==null;)if(a=this.testSchemaAt(r,t[2],l.lastIndex),a){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(f=r.search(this.re.host_fuzzy_test),f>=0&&(this.__index__<0||f=0&&(n=r.match(this.re.email_fuzzy))!==null&&(i=n.index+n[1].length,o=n.index+n[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=o))),this.__index__>=0};je.prototype.pretest=function(r){return this.re.pretest.test(r)};je.prototype.testSchemaAt=function(r,t,u){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(r,u,this):0};je.prototype.match=function(r){const t=[];let u=0;this.__index__>=0&&this.__text_cache__===r&&(t.push(bu(this,u)),u=this.__last_index__);let n=u?r.slice(u):r;for(;this.test(n);)t.push(bu(this,u)),n=n.slice(this.__last_index__),u+=this.__last_index__;return t.length?t:null};je.prototype.matchAtStart=function(r){if(this.__text_cache__=r,this.__index__=-1,!r.length)return null;const t=this.re.schema_at_start.exec(r);if(!t)return null;const u=this.testSchemaAt(r,t[2],t[0].length);return u?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+u,bu(this,0)):null};je.prototype.tlds=function(r,t){return r=Array.isArray(r)?r:[r],t?(this.__tlds__=this.__tlds__.concat(r).sort().filter(function(u,n,a){return u!==a[n-1]}).reverse(),dt(this),this):(this.__tlds__=r.slice(),this.__tlds_replaced__=!0,dt(this),this)};je.prototype.normalize=function(r){r.schema||(r.url="http://"+r.url),r.schema==="mailto:"&&!/^mailto:/i.test(r.url)&&(r.url="mailto:"+r.url)};je.prototype.onCompile=function(){};const sr=2147483647,o0=36,Ou=1,Fr=26,r2=38,t2=700,vi=72,gi=128,xi="-",u2=/^xn--/,n2=/[^\0-\x7F]/,a2=/[\x2E\u3002\uFF0E\uFF61]/g,i2={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Zt=o0-Ou,l0=Math.floor,Xt=String.fromCharCode;function N0(e){throw new RangeError(i2[e])}function o2(e,r){const t=[];let u=e.length;for(;u--;)t[u]=r(e[u]);return t}function yi(e,r){const t=e.split("@");let u="";t.length>1&&(u=t[0]+"@",e=t[1]),e=e.replace(a2,".");const n=e.split("."),a=o2(n,r).join(".");return u+a}function wi(e){const r=[];let t=0;const u=e.length;for(;t=55296&&n<=56319&&tString.fromCodePoint(...e),s2=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:o0},Zn=function(e,r){return e+22+75*(e<26)-((r!=0)<<5)},ki=function(e,r,t){let u=0;for(e=t?l0(e/t2):e>>1,e+=l0(e/r);e>Zt*Fr>>1;u+=o0)e=l0(e/Zt);return l0(u+(Zt+1)*e/(e+r2))},Si=function(e){const r=[],t=e.length;let u=0,n=gi,a=vi,i=e.lastIndexOf(xi);i<0&&(i=0);for(let o=0;o=128&&N0("not-basic"),r.push(e.charCodeAt(o));for(let o=i>0?i+1:0;o=t&&N0("invalid-input");const g=s2(e.charCodeAt(o++));g>=o0&&N0("invalid-input"),g>l0((sr-u)/h)&&N0("overflow"),u+=g*h;const v=d<=a?Ou:d>=a+Fr?Fr:d-a;if(gl0(sr/y)&&N0("overflow"),h*=y}const f=r.length+1;a=ki(u-l,f,l==0),l0(u/f)>sr-n&&N0("overflow"),n+=l0(u/f),u%=f,r.splice(u++,0,n)}return String.fromCodePoint(...r)},Ai=function(e){const r=[];e=wi(e);const t=e.length;let u=gi,n=0,a=vi;for(const l of e)l<128&&r.push(Xt(l));const i=r.length;let o=i;for(i&&r.push(xi);o=u&&hl0((sr-n)/f)&&N0("overflow"),n+=(l-u)*f,u=l;for(const h of e)if(hsr&&N0("overflow"),h===u){let d=n;for(let g=o0;;g+=o0){const v=g<=a?Ou:g>=a+Fr?Fr:g-a;if(d=0))try{r.hostname=Ci.toASCII(r.hostname)}catch{}return Nr(Mu(r))}function y2(e){const r=Fu(e,!0);if(r.hostname&&(!r.protocol||_i.indexOf(r.protocol)>=0))try{r.hostname=Ci.toUnicode(r.hostname)}catch{}return fr(Mu(r),fr.defaultChars+"%")}function Je(e,r){if(!(this instanceof Je))return new Je(e,r);r||Iu(e)||(r=e||{},e="default"),this.inline=new Or,this.block=new St,this.core=new Nu,this.renderer=new vr,this.linkify=new je,this.validateLink=g2,this.normalizeLink=x2,this.normalizeLinkText=y2,this.utils=ks,this.helpers=wt({},_s),this.options={},this.configure(e),r&&this.set(r)}Je.prototype.set=function(e){return wt(this.options,e),this};Je.prototype.configure=function(e){const r=this;if(Iu(e)){const t=e;if(e=p2[t],!e)throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)}),this};Je.prototype.enable=function(e,r){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(n){t=t.concat(this[n].ruler.enable(e,!0))},this),t=t.concat(this.inline.ruler2.enable(e,!0));const u=e.filter(function(n){return t.indexOf(n)<0});if(u.length&&!r)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+u);return this};Je.prototype.disable=function(e,r){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(n){t=t.concat(this[n].ruler.disable(e,!0))},this),t=t.concat(this.inline.ruler2.disable(e,!0));const u=e.filter(function(n){return t.indexOf(n)<0});if(u.length&&!r)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+u);return this};Je.prototype.use=function(e){const r=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,r),this};Je.prototype.parse=function(e,r){if(typeof e!="string")throw new Error("Input data should be a String");const t=new this.core.State(e,this,r);return this.core.process(t),t.tokens};Je.prototype.render=function(e,r){return r=r||{},this.renderer.render(this.parse(e,r),this.options,r)};Je.prototype.parseInline=function(e,r){const t=new this.core.State(e,this,r);return t.inlineMode=!0,this.core.process(t),t.tokens};Je.prototype.renderInline=function(e,r){return r=r||{},this.renderer.render(this.parseInline(e,r),this.options,r)};function w2(e){const r=e.utils.isSpace;function t(a,i){let o=a.bMarks[i]+a.tShift[i];const l=a.eMarks[i];if(o>=l)return-1;const f=a.src.charCodeAt(o++);if(f!==126&&f!==58)return-1;const h=a.skipSpaces(o);return o===h||h>=l?-1:o}function u(a,i){const o=a.level+2;for(let l=i+2,f=a.tokens.length-2;l=0;let f=i+1;if(f>=o||a.isEmpty(f)&&(f++,f>=o)||a.sCount[f]1&&a.isEmpty(a.line-1),a.tShift[E]=ae,a.sCount[E]=ke,a.tight=K,a.parentType=ve,a.blkIndent=ie,a.ddIndent=se,a.push("dd_close","dd",-1),F[1]=f=a.line,f>=o||a.sCount[f]=o||(T=f,a.isEmpty(T))||a.sCount[T]=o)||(a.isEmpty(E)&&E++,E>=o)||a.sCount[E]15?f="…"+o.slice(n-15,n):f=o.slice(0,n);var h;a+15":">","<":"<",'"':""","'":"'"},F2=/[&><"']/g;function z2(e){return String(e).replace(F2,r=>M2[r])}var Di=function e(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?e(r.body[0]):r:r.type==="font"?e(r.body):r},I2=function(r){var t=Di(r);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},B2=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},N2=function(r){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(r);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},Q={contains:_2,deflt:E2,escape:z2,hyphenate:T2,getBaseElem:Di,isCharacterBox:I2,protocolFromUrl:N2},ot={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,r)=>(r.push(e),r)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function R2(e){if(e.default)return e.default;var r=e.type,t=Array.isArray(r)?r[0]:r;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Lu{constructor(r){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,r=r||{};for(var t in ot)if(ot.hasOwnProperty(t)){var u=ot[t];this[t]=r[t]!==void 0?u.processor?u.processor(r[t]):r[t]:R2(u)}}reportNonstrict(r,t,u){var n=this.strict;if(typeof n=="function"&&(n=n(r,t,u)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new $("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+r+"]"),u);n==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+r+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" ["+r+"]"))}}useStrictBehavior(r,t,u){var n=this.strict;if(typeof n=="function")try{n=n(r,t,u)}catch{n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+r+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" ["+r+"]")),!1)}isTrusted(r){if(r.url&&!r.protocol){var t=Q.protocolFromUrl(r.url);if(t==null)return!1;r.protocol=t}var u=typeof this.trust=="function"?this.trust(r):this.trust;return!!u}}class I0{constructor(r,t,u){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=r,this.size=t,this.cramped=u}sup(){return i0[O2[this.id]]}sub(){return i0[L2[this.id]]}fracNum(){return i0[P2[this.id]]}fracDen(){return i0[q2[this.id]]}cramp(){return i0[$2[this.id]]}text(){return i0[H2[this.id]]}isTight(){return this.size>=2}}var Pu=0,ht=1,cr=2,k0=3,zr=4,Xe=5,hr=6,Re=7,i0=[new I0(Pu,0,!1),new I0(ht,0,!0),new I0(cr,1,!1),new I0(k0,1,!0),new I0(zr,2,!1),new I0(Xe,2,!0),new I0(hr,3,!1),new I0(Re,3,!0)],O2=[zr,Xe,zr,Xe,hr,Re,hr,Re],L2=[Xe,Xe,Xe,Xe,Re,Re,Re,Re],P2=[cr,k0,zr,Xe,hr,Re,hr,Re],q2=[k0,k0,Xe,Xe,Re,Re,Re,Re],$2=[ht,ht,k0,k0,Xe,Xe,Re,Re],H2=[Pu,ht,cr,k0,cr,k0,cr,k0],re={DISPLAY:i0[Pu],TEXT:i0[cr],SCRIPT:i0[zr],SCRIPTSCRIPT:i0[hr]},vu=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function U2(e){for(var r=0;r=n[0]&&e<=n[1])return t.name}return null}var lt=[];vu.forEach(e=>e.blocks.forEach(r=>lt.push(...r)));function Ti(e){for(var r=0;r=lt[r]&&e<=lt[r+1])return!0;return!1}var ar=80,V2=function(r,t){return"M95,"+(622+r+t)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 @@ -511,34 +511,34 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class Lr{constructor(r){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=r,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(r){return Q.contains(this.classes,r)}toNode(){for(var r=document.createDocumentFragment(),t=0;tt.toText();return this.children.map(r).join("")}}var l0={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Kr={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Kn={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function e4(e,r){l0[e]=r}function qu(e,r,t){if(!l0[r])throw new Error("Font metrics not found for font: "+r+".");var u=e.charCodeAt(0),n=l0[r][u];if(!n&&e[0]in Kn&&(u=Kn[e[0]].charCodeAt(0),n=l0[r][u]),!n&&t==="text"&&Ti(u)&&(n=l0[r][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var Kt={};function r4(e){var r;if(e>=5?r=0:e>=3?r=1:r=2,!Kt[r]){var t=Kt[r]={cssEmPerMu:Kr.quad[r]/18};for(var u in Kr)Kr.hasOwnProperty(u)&&(t[u]=Kr[u][r])}return Kt[r]}var t4=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Jn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Qn=function(r,t){return t.size<2?r:t4[r-1][t.size-1]};class y0{constructor(r){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=r.style,this.color=r.color,this.size=r.size||y0.BASESIZE,this.textSize=r.textSize||this.size,this.phantom=!!r.phantom,this.font=r.font||"",this.fontFamily=r.fontFamily||"",this.fontWeight=r.fontWeight||"",this.fontShape=r.fontShape||"",this.sizeMultiplier=Jn[this.size-1],this.maxSize=r.maxSize,this.minRuleThickness=r.minRuleThickness,this._fontMetrics=void 0}extend(r){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var u in r)r.hasOwnProperty(u)&&(t[u]=r[u]);return new y0(t)}havingStyle(r){return this.style===r?this:this.extend({style:r,size:Qn(this.textSize,r)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(r){return this.size===r&&this.textSize===r?this:this.extend({style:this.style.text(),size:r,textSize:r,sizeMultiplier:Jn[r-1]})}havingBaseStyle(r){r=r||this.style.text();var t=Qn(y0.BASESIZE,r);return this.size===t&&this.textSize===y0.BASESIZE&&this.style===r?this:this.extend({style:r,size:t})}havingBaseSizing(){var r;switch(this.style.id){case 4:case 5:r=3;break;case 6:case 7:r=1;break;default:r=6}return this.extend({style:this.style.text(),size:r})}withColor(r){return this.extend({color:r})}withPhantom(){return this.extend({phantom:!0})}withFont(r){return this.extend({font:r})}withTextFontFamily(r){return this.extend({fontFamily:r,font:""})}withTextFontWeight(r){return this.extend({fontWeight:r,font:""})}withTextFontShape(r){return this.extend({fontShape:r,font:""})}sizingClasses(r){return r.size!==this.size?["sizing","reset-size"+r.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==y0.BASESIZE?["sizing","reset-size"+this.size,"size"+y0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=r4(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}y0.BASESIZE=6;var gu={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},u4={ex:!0,em:!0,mu:!0},Mi=function(r){return typeof r!="string"&&(r=r.unit),r in gu||r in u4||r==="ex"},ye=function(r,t){var u;if(r.unit in gu)u=gu[r.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(r.unit==="mu")u=t.fontMetrics().cssEmPerMu;else{var n;if(t.style.isTight()?n=t.havingStyle(t.style.text()):n=t,r.unit==="ex")u=n.fontMetrics().xHeight;else if(r.unit==="em")u=n.fontMetrics().quad;else throw new $("Invalid unit: '"+r.unit+"'");n!==t&&(u*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(r.number*u,t.maxSize)},G=function(r){return+r.toFixed(4)+"em"},$0=function(r){return r.filter(t=>t).join(" ")},Fi=function(r,t,u){if(this.classes=r||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=u||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},zi=function(r){var t=document.createElement(r);t.className=$0(this.classes);for(var u in this.style)this.style.hasOwnProperty(u)&&(t.style[u]=this.style[u]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(var a=0;a",t};class Pr{constructor(r,t,u,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Fi.call(this,r,u,n),this.children=t||[]}setAttribute(r,t){this.attributes[r]=t}hasClass(r){return Q.contains(this.classes,r)}toNode(){return zi.call(this,"span")}toMarkup(){return Ii.call(this,"span")}}class $u{constructor(r,t,u,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Fi.call(this,t,n),this.children=u||[],this.setAttribute("href",r)}setAttribute(r,t){this.attributes[r]=t}hasClass(r){return Q.contains(this.classes,r)}toNode(){return zi.call(this,"a")}toMarkup(){return Ii.call(this,"a")}}class n4{constructor(r,t,u){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=r,this.classes=["mord"],this.style=u}hasClass(r){return Q.contains(this.classes,r)}toNode(){var r=document.createElement("img");r.src=this.src,r.alt=this.alt,r.className="mord";for(var t in this.style)this.style.hasOwnProperty(t)&&(r.style[t]=this.style[t]);return r}toMarkup(){var r=''+Q.escape(this.alt)+'0&&(t=document.createElement("span"),t.style.marginRight=G(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=$0(this.classes));for(var u in this.style)this.style.hasOwnProperty(u)&&(t=t||document.createElement("span"),t.style[u]=this.style[u]);return t?(t.appendChild(r),t):r}toMarkup(){var r=!1,t="0&&(u+="margin-right:"+this.italic+"em;");for(var n in this.style)this.style.hasOwnProperty(n)&&(u+=Q.hyphenate(n)+":"+this.style[n]+";");u&&(r=!0,t+=' style="'+Q.escape(u)+'"');var a=Q.escape(this.text);return r?(t+=">",t+=a,t+="",t):a}}class A0{constructor(r,t){this.children=void 0,this.attributes=void 0,this.children=r||[],this.attributes=t||{}}toNode(){var r="http://www.w3.org/2000/svg",t=document.createElementNS(r,"svg");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&t.setAttribute(u,this.attributes[u]);for(var n=0;n':''}}class xu{constructor(r){this.attributes=void 0,this.attributes=r||{}}toNode(){var r="http://www.w3.org/2000/svg",t=document.createElementNS(r,"line");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&t.setAttribute(u,this.attributes[u]);return t}toMarkup(){var r=" but got "+String(e)+".")}var o4={bin:1,close:1,inner:1,open:1,punct:1,rel:1},s4={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},be={math:{},text:{}};function l(e,r,t,u,n,a){be[e][n]={font:r,group:t,replace:u},a&&u&&(be[e][u]=be[e][n])}var c="math",N="text",m="main",w="ams",ge="accent-token",W="bin",Oe="close",gr="inner",ee="mathord",Ee="op-token",Ge="open",Ct="punct",k="rel",E0="spacing",A="textord";l(c,m,k,"≡","\\equiv",!0);l(c,m,k,"≺","\\prec",!0);l(c,m,k,"≻","\\succ",!0);l(c,m,k,"∼","\\sim",!0);l(c,m,k,"⊥","\\perp");l(c,m,k,"⪯","\\preceq",!0);l(c,m,k,"⪰","\\succeq",!0);l(c,m,k,"≃","\\simeq",!0);l(c,m,k,"∣","\\mid",!0);l(c,m,k,"≪","\\ll",!0);l(c,m,k,"≫","\\gg",!0);l(c,m,k,"≍","\\asymp",!0);l(c,m,k,"∥","\\parallel");l(c,m,k,"⋈","\\bowtie",!0);l(c,m,k,"⌣","\\smile",!0);l(c,m,k,"⊑","\\sqsubseteq",!0);l(c,m,k,"⊒","\\sqsupseteq",!0);l(c,m,k,"≐","\\doteq",!0);l(c,m,k,"⌢","\\frown",!0);l(c,m,k,"∋","\\ni",!0);l(c,m,k,"∝","\\propto",!0);l(c,m,k,"⊢","\\vdash",!0);l(c,m,k,"⊣","\\dashv",!0);l(c,m,k,"∋","\\owns");l(c,m,Ct,".","\\ldotp");l(c,m,Ct,"⋅","\\cdotp");l(c,m,A,"#","\\#");l(N,m,A,"#","\\#");l(c,m,A,"&","\\&");l(N,m,A,"&","\\&");l(c,m,A,"ℵ","\\aleph",!0);l(c,m,A,"∀","\\forall",!0);l(c,m,A,"ℏ","\\hbar",!0);l(c,m,A,"∃","\\exists",!0);l(c,m,A,"∇","\\nabla",!0);l(c,m,A,"♭","\\flat",!0);l(c,m,A,"ℓ","\\ell",!0);l(c,m,A,"♮","\\natural",!0);l(c,m,A,"♣","\\clubsuit",!0);l(c,m,A,"℘","\\wp",!0);l(c,m,A,"♯","\\sharp",!0);l(c,m,A,"♢","\\diamondsuit",!0);l(c,m,A,"ℜ","\\Re",!0);l(c,m,A,"♡","\\heartsuit",!0);l(c,m,A,"ℑ","\\Im",!0);l(c,m,A,"♠","\\spadesuit",!0);l(c,m,A,"§","\\S",!0);l(N,m,A,"§","\\S");l(c,m,A,"¶","\\P",!0);l(N,m,A,"¶","\\P");l(c,m,A,"†","\\dag");l(N,m,A,"†","\\dag");l(N,m,A,"†","\\textdagger");l(c,m,A,"‡","\\ddag");l(N,m,A,"‡","\\ddag");l(N,m,A,"‡","\\textdaggerdbl");l(c,m,Oe,"⎱","\\rmoustache",!0);l(c,m,Ge,"⎰","\\lmoustache",!0);l(c,m,Oe,"⟯","\\rgroup",!0);l(c,m,Ge,"⟮","\\lgroup",!0);l(c,m,W,"∓","\\mp",!0);l(c,m,W,"⊖","\\ominus",!0);l(c,m,W,"⊎","\\uplus",!0);l(c,m,W,"⊓","\\sqcap",!0);l(c,m,W,"∗","\\ast");l(c,m,W,"⊔","\\sqcup",!0);l(c,m,W,"◯","\\bigcirc",!0);l(c,m,W,"∙","\\bullet",!0);l(c,m,W,"‡","\\ddagger");l(c,m,W,"≀","\\wr",!0);l(c,m,W,"⨿","\\amalg");l(c,m,W,"&","\\And");l(c,m,k,"⟵","\\longleftarrow",!0);l(c,m,k,"⇐","\\Leftarrow",!0);l(c,m,k,"⟸","\\Longleftarrow",!0);l(c,m,k,"⟶","\\longrightarrow",!0);l(c,m,k,"⇒","\\Rightarrow",!0);l(c,m,k,"⟹","\\Longrightarrow",!0);l(c,m,k,"↔","\\leftrightarrow",!0);l(c,m,k,"⟷","\\longleftrightarrow",!0);l(c,m,k,"⇔","\\Leftrightarrow",!0);l(c,m,k,"⟺","\\Longleftrightarrow",!0);l(c,m,k,"↦","\\mapsto",!0);l(c,m,k,"⟼","\\longmapsto",!0);l(c,m,k,"↗","\\nearrow",!0);l(c,m,k,"↩","\\hookleftarrow",!0);l(c,m,k,"↪","\\hookrightarrow",!0);l(c,m,k,"↘","\\searrow",!0);l(c,m,k,"↼","\\leftharpoonup",!0);l(c,m,k,"⇀","\\rightharpoonup",!0);l(c,m,k,"↙","\\swarrow",!0);l(c,m,k,"↽","\\leftharpoondown",!0);l(c,m,k,"⇁","\\rightharpoondown",!0);l(c,m,k,"↖","\\nwarrow",!0);l(c,m,k,"⇌","\\rightleftharpoons",!0);l(c,w,k,"≮","\\nless",!0);l(c,w,k,"","\\@nleqslant");l(c,w,k,"","\\@nleqq");l(c,w,k,"⪇","\\lneq",!0);l(c,w,k,"≨","\\lneqq",!0);l(c,w,k,"","\\@lvertneqq");l(c,w,k,"⋦","\\lnsim",!0);l(c,w,k,"⪉","\\lnapprox",!0);l(c,w,k,"⊀","\\nprec",!0);l(c,w,k,"⋠","\\npreceq",!0);l(c,w,k,"⋨","\\precnsim",!0);l(c,w,k,"⪹","\\precnapprox",!0);l(c,w,k,"≁","\\nsim",!0);l(c,w,k,"","\\@nshortmid");l(c,w,k,"∤","\\nmid",!0);l(c,w,k,"⊬","\\nvdash",!0);l(c,w,k,"⊭","\\nvDash",!0);l(c,w,k,"⋪","\\ntriangleleft");l(c,w,k,"⋬","\\ntrianglelefteq",!0);l(c,w,k,"⊊","\\subsetneq",!0);l(c,w,k,"","\\@varsubsetneq");l(c,w,k,"⫋","\\subsetneqq",!0);l(c,w,k,"","\\@varsubsetneqq");l(c,w,k,"≯","\\ngtr",!0);l(c,w,k,"","\\@ngeqslant");l(c,w,k,"","\\@ngeqq");l(c,w,k,"⪈","\\gneq",!0);l(c,w,k,"≩","\\gneqq",!0);l(c,w,k,"","\\@gvertneqq");l(c,w,k,"⋧","\\gnsim",!0);l(c,w,k,"⪊","\\gnapprox",!0);l(c,w,k,"⊁","\\nsucc",!0);l(c,w,k,"⋡","\\nsucceq",!0);l(c,w,k,"⋩","\\succnsim",!0);l(c,w,k,"⪺","\\succnapprox",!0);l(c,w,k,"≆","\\ncong",!0);l(c,w,k,"","\\@nshortparallel");l(c,w,k,"∦","\\nparallel",!0);l(c,w,k,"⊯","\\nVDash",!0);l(c,w,k,"⋫","\\ntriangleright");l(c,w,k,"⋭","\\ntrianglerighteq",!0);l(c,w,k,"","\\@nsupseteqq");l(c,w,k,"⊋","\\supsetneq",!0);l(c,w,k,"","\\@varsupsetneq");l(c,w,k,"⫌","\\supsetneqq",!0);l(c,w,k,"","\\@varsupsetneqq");l(c,w,k,"⊮","\\nVdash",!0);l(c,w,k,"⪵","\\precneqq",!0);l(c,w,k,"⪶","\\succneqq",!0);l(c,w,k,"","\\@nsubseteqq");l(c,w,W,"⊴","\\unlhd");l(c,w,W,"⊵","\\unrhd");l(c,w,k,"↚","\\nleftarrow",!0);l(c,w,k,"↛","\\nrightarrow",!0);l(c,w,k,"⇍","\\nLeftarrow",!0);l(c,w,k,"⇏","\\nRightarrow",!0);l(c,w,k,"↮","\\nleftrightarrow",!0);l(c,w,k,"⇎","\\nLeftrightarrow",!0);l(c,w,k,"△","\\vartriangle");l(c,w,A,"ℏ","\\hslash");l(c,w,A,"▽","\\triangledown");l(c,w,A,"◊","\\lozenge");l(c,w,A,"Ⓢ","\\circledS");l(c,w,A,"®","\\circledR");l(N,w,A,"®","\\circledR");l(c,w,A,"∡","\\measuredangle",!0);l(c,w,A,"∄","\\nexists");l(c,w,A,"℧","\\mho");l(c,w,A,"Ⅎ","\\Finv",!0);l(c,w,A,"⅁","\\Game",!0);l(c,w,A,"‵","\\backprime");l(c,w,A,"▲","\\blacktriangle");l(c,w,A,"▼","\\blacktriangledown");l(c,w,A,"■","\\blacksquare");l(c,w,A,"⧫","\\blacklozenge");l(c,w,A,"★","\\bigstar");l(c,w,A,"∢","\\sphericalangle",!0);l(c,w,A,"∁","\\complement",!0);l(c,w,A,"ð","\\eth",!0);l(N,m,A,"ð","ð");l(c,w,A,"╱","\\diagup");l(c,w,A,"╲","\\diagdown");l(c,w,A,"□","\\square");l(c,w,A,"□","\\Box");l(c,w,A,"◊","\\Diamond");l(c,w,A,"¥","\\yen",!0);l(N,w,A,"¥","\\yen",!0);l(c,w,A,"✓","\\checkmark",!0);l(N,w,A,"✓","\\checkmark");l(c,w,A,"ℶ","\\beth",!0);l(c,w,A,"ℸ","\\daleth",!0);l(c,w,A,"ℷ","\\gimel",!0);l(c,w,A,"ϝ","\\digamma",!0);l(c,w,A,"ϰ","\\varkappa");l(c,w,Ge,"┌","\\@ulcorner",!0);l(c,w,Oe,"┐","\\@urcorner",!0);l(c,w,Ge,"└","\\@llcorner",!0);l(c,w,Oe,"┘","\\@lrcorner",!0);l(c,w,k,"≦","\\leqq",!0);l(c,w,k,"⩽","\\leqslant",!0);l(c,w,k,"⪕","\\eqslantless",!0);l(c,w,k,"≲","\\lesssim",!0);l(c,w,k,"⪅","\\lessapprox",!0);l(c,w,k,"≊","\\approxeq",!0);l(c,w,W,"⋖","\\lessdot");l(c,w,k,"⋘","\\lll",!0);l(c,w,k,"≶","\\lessgtr",!0);l(c,w,k,"⋚","\\lesseqgtr",!0);l(c,w,k,"⪋","\\lesseqqgtr",!0);l(c,w,k,"≑","\\doteqdot");l(c,w,k,"≓","\\risingdotseq",!0);l(c,w,k,"≒","\\fallingdotseq",!0);l(c,w,k,"∽","\\backsim",!0);l(c,w,k,"⋍","\\backsimeq",!0);l(c,w,k,"⫅","\\subseteqq",!0);l(c,w,k,"⋐","\\Subset",!0);l(c,w,k,"⊏","\\sqsubset",!0);l(c,w,k,"≼","\\preccurlyeq",!0);l(c,w,k,"⋞","\\curlyeqprec",!0);l(c,w,k,"≾","\\precsim",!0);l(c,w,k,"⪷","\\precapprox",!0);l(c,w,k,"⊲","\\vartriangleleft");l(c,w,k,"⊴","\\trianglelefteq");l(c,w,k,"⊨","\\vDash",!0);l(c,w,k,"⊪","\\Vvdash",!0);l(c,w,k,"⌣","\\smallsmile");l(c,w,k,"⌢","\\smallfrown");l(c,w,k,"≏","\\bumpeq",!0);l(c,w,k,"≎","\\Bumpeq",!0);l(c,w,k,"≧","\\geqq",!0);l(c,w,k,"⩾","\\geqslant",!0);l(c,w,k,"⪖","\\eqslantgtr",!0);l(c,w,k,"≳","\\gtrsim",!0);l(c,w,k,"⪆","\\gtrapprox",!0);l(c,w,W,"⋗","\\gtrdot");l(c,w,k,"⋙","\\ggg",!0);l(c,w,k,"≷","\\gtrless",!0);l(c,w,k,"⋛","\\gtreqless",!0);l(c,w,k,"⪌","\\gtreqqless",!0);l(c,w,k,"≖","\\eqcirc",!0);l(c,w,k,"≗","\\circeq",!0);l(c,w,k,"≜","\\triangleq",!0);l(c,w,k,"∼","\\thicksim");l(c,w,k,"≈","\\thickapprox");l(c,w,k,"⫆","\\supseteqq",!0);l(c,w,k,"⋑","\\Supset",!0);l(c,w,k,"⊐","\\sqsupset",!0);l(c,w,k,"≽","\\succcurlyeq",!0);l(c,w,k,"⋟","\\curlyeqsucc",!0);l(c,w,k,"≿","\\succsim",!0);l(c,w,k,"⪸","\\succapprox",!0);l(c,w,k,"⊳","\\vartriangleright");l(c,w,k,"⊵","\\trianglerighteq");l(c,w,k,"⊩","\\Vdash",!0);l(c,w,k,"∣","\\shortmid");l(c,w,k,"∥","\\shortparallel");l(c,w,k,"≬","\\between",!0);l(c,w,k,"⋔","\\pitchfork",!0);l(c,w,k,"∝","\\varpropto");l(c,w,k,"◀","\\blacktriangleleft");l(c,w,k,"∴","\\therefore",!0);l(c,w,k,"∍","\\backepsilon");l(c,w,k,"▶","\\blacktriangleright");l(c,w,k,"∵","\\because",!0);l(c,w,k,"⋘","\\llless");l(c,w,k,"⋙","\\gggtr");l(c,w,W,"⊲","\\lhd");l(c,w,W,"⊳","\\rhd");l(c,w,k,"≂","\\eqsim",!0);l(c,m,k,"⋈","\\Join");l(c,w,k,"≑","\\Doteq",!0);l(c,w,W,"∔","\\dotplus",!0);l(c,w,W,"∖","\\smallsetminus");l(c,w,W,"⋒","\\Cap",!0);l(c,w,W,"⋓","\\Cup",!0);l(c,w,W,"⩞","\\doublebarwedge",!0);l(c,w,W,"⊟","\\boxminus",!0);l(c,w,W,"⊞","\\boxplus",!0);l(c,w,W,"⋇","\\divideontimes",!0);l(c,w,W,"⋉","\\ltimes",!0);l(c,w,W,"⋊","\\rtimes",!0);l(c,w,W,"⋋","\\leftthreetimes",!0);l(c,w,W,"⋌","\\rightthreetimes",!0);l(c,w,W,"⋏","\\curlywedge",!0);l(c,w,W,"⋎","\\curlyvee",!0);l(c,w,W,"⊝","\\circleddash",!0);l(c,w,W,"⊛","\\circledast",!0);l(c,w,W,"⋅","\\centerdot");l(c,w,W,"⊺","\\intercal",!0);l(c,w,W,"⋒","\\doublecap");l(c,w,W,"⋓","\\doublecup");l(c,w,W,"⊠","\\boxtimes",!0);l(c,w,k,"⇢","\\dashrightarrow",!0);l(c,w,k,"⇠","\\dashleftarrow",!0);l(c,w,k,"⇇","\\leftleftarrows",!0);l(c,w,k,"⇆","\\leftrightarrows",!0);l(c,w,k,"⇚","\\Lleftarrow",!0);l(c,w,k,"↞","\\twoheadleftarrow",!0);l(c,w,k,"↢","\\leftarrowtail",!0);l(c,w,k,"↫","\\looparrowleft",!0);l(c,w,k,"⇋","\\leftrightharpoons",!0);l(c,w,k,"↶","\\curvearrowleft",!0);l(c,w,k,"↺","\\circlearrowleft",!0);l(c,w,k,"↰","\\Lsh",!0);l(c,w,k,"⇈","\\upuparrows",!0);l(c,w,k,"↿","\\upharpoonleft",!0);l(c,w,k,"⇃","\\downharpoonleft",!0);l(c,m,k,"⊶","\\origof",!0);l(c,m,k,"⊷","\\imageof",!0);l(c,w,k,"⊸","\\multimap",!0);l(c,w,k,"↭","\\leftrightsquigarrow",!0);l(c,w,k,"⇉","\\rightrightarrows",!0);l(c,w,k,"⇄","\\rightleftarrows",!0);l(c,w,k,"↠","\\twoheadrightarrow",!0);l(c,w,k,"↣","\\rightarrowtail",!0);l(c,w,k,"↬","\\looparrowright",!0);l(c,w,k,"↷","\\curvearrowright",!0);l(c,w,k,"↻","\\circlearrowright",!0);l(c,w,k,"↱","\\Rsh",!0);l(c,w,k,"⇊","\\downdownarrows",!0);l(c,w,k,"↾","\\upharpoonright",!0);l(c,w,k,"⇂","\\downharpoonright",!0);l(c,w,k,"⇝","\\rightsquigarrow",!0);l(c,w,k,"⇝","\\leadsto");l(c,w,k,"⇛","\\Rrightarrow",!0);l(c,w,k,"↾","\\restriction");l(c,m,A,"‘","`");l(c,m,A,"$","\\$");l(N,m,A,"$","\\$");l(N,m,A,"$","\\textdollar");l(c,m,A,"%","\\%");l(N,m,A,"%","\\%");l(c,m,A,"_","\\_");l(N,m,A,"_","\\_");l(N,m,A,"_","\\textunderscore");l(c,m,A,"∠","\\angle",!0);l(c,m,A,"∞","\\infty",!0);l(c,m,A,"′","\\prime");l(c,m,A,"△","\\triangle");l(c,m,A,"Γ","\\Gamma",!0);l(c,m,A,"Δ","\\Delta",!0);l(c,m,A,"Θ","\\Theta",!0);l(c,m,A,"Λ","\\Lambda",!0);l(c,m,A,"Ξ","\\Xi",!0);l(c,m,A,"Π","\\Pi",!0);l(c,m,A,"Σ","\\Sigma",!0);l(c,m,A,"Υ","\\Upsilon",!0);l(c,m,A,"Φ","\\Phi",!0);l(c,m,A,"Ψ","\\Psi",!0);l(c,m,A,"Ω","\\Omega",!0);l(c,m,A,"A","Α");l(c,m,A,"B","Β");l(c,m,A,"E","Ε");l(c,m,A,"Z","Ζ");l(c,m,A,"H","Η");l(c,m,A,"I","Ι");l(c,m,A,"K","Κ");l(c,m,A,"M","Μ");l(c,m,A,"N","Ν");l(c,m,A,"O","Ο");l(c,m,A,"P","Ρ");l(c,m,A,"T","Τ");l(c,m,A,"X","Χ");l(c,m,A,"¬","\\neg",!0);l(c,m,A,"¬","\\lnot");l(c,m,A,"⊤","\\top");l(c,m,A,"⊥","\\bot");l(c,m,A,"∅","\\emptyset");l(c,w,A,"∅","\\varnothing");l(c,m,ee,"α","\\alpha",!0);l(c,m,ee,"β","\\beta",!0);l(c,m,ee,"γ","\\gamma",!0);l(c,m,ee,"δ","\\delta",!0);l(c,m,ee,"ϵ","\\epsilon",!0);l(c,m,ee,"ζ","\\zeta",!0);l(c,m,ee,"η","\\eta",!0);l(c,m,ee,"θ","\\theta",!0);l(c,m,ee,"ι","\\iota",!0);l(c,m,ee,"κ","\\kappa",!0);l(c,m,ee,"λ","\\lambda",!0);l(c,m,ee,"μ","\\mu",!0);l(c,m,ee,"ν","\\nu",!0);l(c,m,ee,"ξ","\\xi",!0);l(c,m,ee,"ο","\\omicron",!0);l(c,m,ee,"π","\\pi",!0);l(c,m,ee,"ρ","\\rho",!0);l(c,m,ee,"σ","\\sigma",!0);l(c,m,ee,"τ","\\tau",!0);l(c,m,ee,"υ","\\upsilon",!0);l(c,m,ee,"ϕ","\\phi",!0);l(c,m,ee,"χ","\\chi",!0);l(c,m,ee,"ψ","\\psi",!0);l(c,m,ee,"ω","\\omega",!0);l(c,m,ee,"ε","\\varepsilon",!0);l(c,m,ee,"ϑ","\\vartheta",!0);l(c,m,ee,"ϖ","\\varpi",!0);l(c,m,ee,"ϱ","\\varrho",!0);l(c,m,ee,"ς","\\varsigma",!0);l(c,m,ee,"φ","\\varphi",!0);l(c,m,W,"∗","*",!0);l(c,m,W,"+","+");l(c,m,W,"−","-",!0);l(c,m,W,"⋅","\\cdot",!0);l(c,m,W,"∘","\\circ",!0);l(c,m,W,"÷","\\div",!0);l(c,m,W,"±","\\pm",!0);l(c,m,W,"×","\\times",!0);l(c,m,W,"∩","\\cap",!0);l(c,m,W,"∪","\\cup",!0);l(c,m,W,"∖","\\setminus",!0);l(c,m,W,"∧","\\land");l(c,m,W,"∨","\\lor");l(c,m,W,"∧","\\wedge",!0);l(c,m,W,"∨","\\vee",!0);l(c,m,A,"√","\\surd");l(c,m,Ge,"⟨","\\langle",!0);l(c,m,Ge,"∣","\\lvert");l(c,m,Ge,"∥","\\lVert");l(c,m,Oe,"?","?");l(c,m,Oe,"!","!");l(c,m,Oe,"⟩","\\rangle",!0);l(c,m,Oe,"∣","\\rvert");l(c,m,Oe,"∥","\\rVert");l(c,m,k,"=","=");l(c,m,k,":",":");l(c,m,k,"≈","\\approx",!0);l(c,m,k,"≅","\\cong",!0);l(c,m,k,"≥","\\ge");l(c,m,k,"≥","\\geq",!0);l(c,m,k,"←","\\gets");l(c,m,k,">","\\gt",!0);l(c,m,k,"∈","\\in",!0);l(c,m,k,"","\\@not");l(c,m,k,"⊂","\\subset",!0);l(c,m,k,"⊃","\\supset",!0);l(c,m,k,"⊆","\\subseteq",!0);l(c,m,k,"⊇","\\supseteq",!0);l(c,w,k,"⊈","\\nsubseteq",!0);l(c,w,k,"⊉","\\nsupseteq",!0);l(c,m,k,"⊨","\\models");l(c,m,k,"←","\\leftarrow",!0);l(c,m,k,"≤","\\le");l(c,m,k,"≤","\\leq",!0);l(c,m,k,"<","\\lt",!0);l(c,m,k,"→","\\rightarrow",!0);l(c,m,k,"→","\\to");l(c,w,k,"≱","\\ngeq",!0);l(c,w,k,"≰","\\nleq",!0);l(c,m,E0," ","\\ ");l(c,m,E0," ","\\space");l(c,m,E0," ","\\nobreakspace");l(N,m,E0," ","\\ ");l(N,m,E0," "," ");l(N,m,E0," ","\\space");l(N,m,E0," ","\\nobreakspace");l(c,m,E0,null,"\\nobreak");l(c,m,E0,null,"\\allowbreak");l(c,m,Ct,",",",");l(c,m,Ct,";",";");l(c,w,W,"⊼","\\barwedge",!0);l(c,w,W,"⊻","\\veebar",!0);l(c,m,W,"⊙","\\odot",!0);l(c,m,W,"⊕","\\oplus",!0);l(c,m,W,"⊗","\\otimes",!0);l(c,m,A,"∂","\\partial",!0);l(c,m,W,"⊘","\\oslash",!0);l(c,w,W,"⊚","\\circledcirc",!0);l(c,w,W,"⊡","\\boxdot",!0);l(c,m,W,"△","\\bigtriangleup");l(c,m,W,"▽","\\bigtriangledown");l(c,m,W,"†","\\dagger");l(c,m,W,"⋄","\\diamond");l(c,m,W,"⋆","\\star");l(c,m,W,"◃","\\triangleleft");l(c,m,W,"▹","\\triangleright");l(c,m,Ge,"{","\\{");l(N,m,A,"{","\\{");l(N,m,A,"{","\\textbraceleft");l(c,m,Oe,"}","\\}");l(N,m,A,"}","\\}");l(N,m,A,"}","\\textbraceright");l(c,m,Ge,"{","\\lbrace");l(c,m,Oe,"}","\\rbrace");l(c,m,Ge,"[","\\lbrack",!0);l(N,m,A,"[","\\lbrack",!0);l(c,m,Oe,"]","\\rbrack",!0);l(N,m,A,"]","\\rbrack",!0);l(c,m,Ge,"(","\\lparen",!0);l(c,m,Oe,")","\\rparen",!0);l(N,m,A,"<","\\textless",!0);l(N,m,A,">","\\textgreater",!0);l(c,m,Ge,"⌊","\\lfloor",!0);l(c,m,Oe,"⌋","\\rfloor",!0);l(c,m,Ge,"⌈","\\lceil",!0);l(c,m,Oe,"⌉","\\rceil",!0);l(c,m,A,"\\","\\backslash");l(c,m,A,"∣","|");l(c,m,A,"∣","\\vert");l(N,m,A,"|","\\textbar",!0);l(c,m,A,"∥","\\|");l(c,m,A,"∥","\\Vert");l(N,m,A,"∥","\\textbardbl");l(N,m,A,"~","\\textasciitilde");l(N,m,A,"\\","\\textbackslash");l(N,m,A,"^","\\textasciicircum");l(c,m,k,"↑","\\uparrow",!0);l(c,m,k,"⇑","\\Uparrow",!0);l(c,m,k,"↓","\\downarrow",!0);l(c,m,k,"⇓","\\Downarrow",!0);l(c,m,k,"↕","\\updownarrow",!0);l(c,m,k,"⇕","\\Updownarrow",!0);l(c,m,Ee,"∐","\\coprod");l(c,m,Ee,"⋁","\\bigvee");l(c,m,Ee,"⋀","\\bigwedge");l(c,m,Ee,"⨄","\\biguplus");l(c,m,Ee,"⋂","\\bigcap");l(c,m,Ee,"⋃","\\bigcup");l(c,m,Ee,"∫","\\int");l(c,m,Ee,"∫","\\intop");l(c,m,Ee,"∬","\\iint");l(c,m,Ee,"∭","\\iiint");l(c,m,Ee,"∏","\\prod");l(c,m,Ee,"∑","\\sum");l(c,m,Ee,"⨂","\\bigotimes");l(c,m,Ee,"⨁","\\bigoplus");l(c,m,Ee,"⨀","\\bigodot");l(c,m,Ee,"∮","\\oint");l(c,m,Ee,"∯","\\oiint");l(c,m,Ee,"∰","\\oiiint");l(c,m,Ee,"⨆","\\bigsqcup");l(c,m,Ee,"∫","\\smallint");l(N,m,gr,"…","\\textellipsis");l(c,m,gr,"…","\\mathellipsis");l(N,m,gr,"…","\\ldots",!0);l(c,m,gr,"…","\\ldots",!0);l(c,m,gr,"⋯","\\@cdots",!0);l(c,m,gr,"⋱","\\ddots",!0);l(c,m,A,"⋮","\\varvdots");l(c,m,ge,"ˊ","\\acute");l(c,m,ge,"ˋ","\\grave");l(c,m,ge,"¨","\\ddot");l(c,m,ge,"~","\\tilde");l(c,m,ge,"ˉ","\\bar");l(c,m,ge,"˘","\\breve");l(c,m,ge,"ˇ","\\check");l(c,m,ge,"^","\\hat");l(c,m,ge,"⃗","\\vec");l(c,m,ge,"˙","\\dot");l(c,m,ge,"˚","\\mathring");l(c,m,ee,"","\\@imath");l(c,m,ee,"","\\@jmath");l(c,m,A,"ı","ı");l(c,m,A,"ȷ","ȷ");l(N,m,A,"ı","\\i",!0);l(N,m,A,"ȷ","\\j",!0);l(N,m,A,"ß","\\ss",!0);l(N,m,A,"æ","\\ae",!0);l(N,m,A,"œ","\\oe",!0);l(N,m,A,"ø","\\o",!0);l(N,m,A,"Æ","\\AE",!0);l(N,m,A,"Œ","\\OE",!0);l(N,m,A,"Ø","\\O",!0);l(N,m,ge,"ˊ","\\'");l(N,m,ge,"ˋ","\\`");l(N,m,ge,"ˆ","\\^");l(N,m,ge,"˜","\\~");l(N,m,ge,"ˉ","\\=");l(N,m,ge,"˘","\\u");l(N,m,ge,"˙","\\.");l(N,m,ge,"¸","\\c");l(N,m,ge,"˚","\\r");l(N,m,ge,"ˇ","\\v");l(N,m,ge,"¨",'\\"');l(N,m,ge,"˝","\\H");l(N,m,ge,"◯","\\textcircled");var Bi={"--":!0,"---":!0,"``":!0,"''":!0};l(N,m,A,"–","--",!0);l(N,m,A,"–","\\textendash");l(N,m,A,"—","---",!0);l(N,m,A,"—","\\textemdash");l(N,m,A,"‘","`",!0);l(N,m,A,"‘","\\textquoteleft");l(N,m,A,"’","'",!0);l(N,m,A,"’","\\textquoteright");l(N,m,A,"“","``",!0);l(N,m,A,"“","\\textquotedblleft");l(N,m,A,"”","''",!0);l(N,m,A,"”","\\textquotedblright");l(c,m,A,"°","\\degree",!0);l(N,m,A,"°","\\degree");l(N,m,A,"°","\\textdegree",!0);l(c,m,A,"£","\\pounds");l(c,m,A,"£","\\mathsterling",!0);l(N,m,A,"£","\\pounds");l(N,m,A,"£","\\textsterling",!0);l(c,w,A,"✠","\\maltese");l(N,w,A,"✠","\\maltese");var ra='0123456789/@."';for(var Jt=0;Jt0)return t0(a,f,n,t,i.concat(h));if(s){var d,g;if(s==="boldsymbol"){var v=f4(a,n,t,i,u);d=v.fontName,g=[v.fontClass]}else o?(d=Oi[s].fontName,g=[s]):(d=rt(s,t.fontWeight,t.fontShape),g=[s,t.fontWeight,t.fontShape]);if(_t(a,d,n).metrics)return t0(a,d,n,t,i.concat(g));if(Bi.hasOwnProperty(a)&&d.slice(0,10)==="Typewriter"){for(var y=[],T=0;T{if($0(e.classes)!==$0(r.classes)||e.skew!==r.skew||e.maxFontSize!==r.maxFontSize)return!1;if(e.classes.length===1){var t=e.classes[0];if(t==="mbin"||t==="mord")return!1}for(var u in e.style)if(e.style.hasOwnProperty(u)&&e.style[u]!==r.style[u])return!1;for(var n in r.style)if(r.style.hasOwnProperty(n)&&e.style[n]!==r.style[n])return!1;return!0},m4=e=>{for(var r=0;rt&&(t=i.height),i.depth>u&&(u=i.depth),i.maxFontSize>n&&(n=i.maxFontSize)}r.height=t,r.depth=u,r.maxFontSize=n},Pe=function(r,t,u,n){var a=new Pr(r,t,u,n);return Hu(a),a},Ni=(e,r,t,u)=>new Pr(e,r,t,u),p4=function(r,t,u){var n=Pe([r],[],t);return n.height=Math.max(u||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=G(n.height),n.maxFontSize=1,n},b4=function(r,t,u,n){var a=new $u(r,t,u,n);return Hu(a),a},Ri=function(r){var t=new Lr(r);return Hu(t),t},v4=function(r,t){return r instanceof Lr?Pe([],[r],t):r},g4=function(r){if(r.positionType==="individualShift"){for(var t=r.children,u=[t[0]],n=-t[0].shift-t[0].elem.depth,a=n,i=1;i{var t=Pe(["mspace"],[],r),u=ye(e,r);return t.style.marginRight=G(u),t},rt=function(r,t,u){var n="";switch(r){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=r}var a;return t==="textbf"&&u==="textit"?a="BoldItalic":t==="textbf"?a="Bold":t==="textit"?a="Italic":a="Regular",n+"-"+a},Oi={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Li={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},w4=function(r,t){var[u,n,a]=Li[r],i=new H0(u),o=new A0([i],{width:G(n),height:G(a),style:"width:"+G(n),viewBox:"0 0 "+1e3*n+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),s=Ni(["overlay"],[o],t);return s.height=a,s.style.height=G(a),s.style.width=G(n),s},M={fontMap:Oi,makeSymbol:t0,mathsym:c4,makeSpan:Pe,makeSvgSpan:Ni,makeLineSpan:p4,makeAnchor:b4,makeFragment:Ri,wrapFragment:v4,makeVList:x4,makeOrd:d4,makeGlue:y4,staticSvg:w4,svgData:Li,tryCombineChars:m4},xe={number:3,unit:"mu"},Z0={number:4,unit:"mu"},x0={number:5,unit:"mu"},k4={mord:{mop:xe,mbin:Z0,mrel:x0,minner:xe},mop:{mord:xe,mop:xe,mrel:x0,minner:xe},mbin:{mord:Z0,mop:Z0,mopen:Z0,minner:Z0},mrel:{mord:x0,mop:x0,mopen:x0,minner:x0},mopen:{},mclose:{mop:xe,mbin:Z0,mrel:x0,minner:xe},mpunct:{mord:xe,mop:xe,mrel:x0,mopen:xe,mclose:xe,mpunct:xe,minner:xe},minner:{mord:xe,mop:xe,mbin:Z0,mrel:x0,mopen:xe,mpunct:xe,minner:xe}},S4={mord:{mop:xe},mop:{mord:xe,mop:xe},mbin:{},mrel:{},mopen:{},mclose:{mop:xe},mpunct:{},minner:{mop:xe}},Pi={},pt={},bt={};function Y(e){for(var{type:r,names:t,props:u,handler:n,htmlBuilder:a,mathmlBuilder:i}=e,o={type:r,numArgs:u.numArgs,argTypes:u.argTypes,allowedInArgument:!!u.allowedInArgument,allowedInText:!!u.allowedInText,allowedInMath:u.allowedInMath===void 0?!0:u.allowedInMath,numOptionalArgs:u.numOptionalArgs||0,infix:!!u.infix,primitive:!!u.primitive,handler:n},s=0;s{var E=T.classes[0],I=y.classes[0];E==="mbin"&&Q.contains(C4,I)?T.classes[0]="mord":I==="mbin"&&Q.contains(A4,E)&&(y.classes[0]="mord")},{node:d},g,v),ia(a,(y,T)=>{var E=wu(T),I=wu(y),z=E&&I?y.hasClass("mtight")?S4[E][I]:k4[E][I]:null;if(z)return M.makeGlue(z,f)},{node:d},g,v),a},ia=function e(r,t,u,n,a){n&&r.push(n);for(var i=0;ig=>{r.splice(d+1,0,g),i++})(i)}n&&r.pop()},qi=function(r){return r instanceof Lr||r instanceof $u||r instanceof Pr&&r.hasClass("enclosing")?r:null},D4=function e(r,t){var u=qi(r);if(u){var n=u.children;if(n.length){if(t==="right")return e(n[n.length-1],"right");if(t==="left")return e(n[0],"left")}}return r},wu=function(r,t){return r?(t&&(r=D4(r,t)),E4[r.classes[0]]||null):null},Ir=function(r,t){var u=["nulldelimiter"].concat(r.baseSizingClasses());return C0(t.concat(u))},oe=function(r,t,u){if(!r)return C0();if(pt[r.type]){var n=pt[r.type](r,t);if(u&&t.size!==u.size){n=C0(t.sizingClasses(u),[n],t);var a=t.sizeMultiplier/u.sizeMultiplier;n.height*=a,n.depth*=a}return n}else throw new $("Got group of unknown type: '"+r.type+"'")};function tt(e,r){var t=C0(["base"],e,r),u=C0(["strut"]);return u.style.height=G(t.height+t.depth),t.depth&&(u.style.verticalAlign=G(-t.depth)),t.children.unshift(u),t}function ku(e,r){var t=null;e.length===1&&e[0].type==="tag"&&(t=e[0].tag,e=e[0].body);var u=De(e,r,"root"),n;u.length===2&&u[1].hasClass("tag")&&(n=u.pop());for(var a=[],i=[],o=0;o0&&(a.push(tt(i,r)),i=[]),a.push(u[o]));i.length>0&&a.push(tt(i,r));var f;t?(f=tt(De(t,r,!0)),f.classes=["tag"],a.push(f)):n&&a.push(n);var h=C0(["katex-html"],a);if(h.setAttribute("aria-hidden","true"),f){var d=f.children[0];d.style.height=G(h.height+h.depth),h.depth&&(d.style.verticalAlign=G(-h.depth))}return h}function $i(e){return new Lr(e)}class Ze{constructor(r,t,u){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=r,this.attributes={},this.children=t||[],this.classes=u||[]}setAttribute(r,t){this.attributes[r]=t}getAttribute(r){return this.attributes[r]}toNode(){var r=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&r.setAttribute(t,this.attributes[t]);this.classes.length>0&&(r.className=$0(this.classes));for(var u=0;u0&&(r+=' class ="'+Q.escape($0(this.classes))+'"'),r+=">";for(var u=0;u",r}toText(){return this.children.map(r=>r.toText()).join("")}}class _r{constructor(r){this.text=void 0,this.text=r}toNode(){return document.createTextNode(this.text)}toMarkup(){return Q.escape(this.toText())}toText(){return this.text}}class T4{constructor(r){this.width=void 0,this.character=void 0,this.width=r,r>=.05555&&r<=.05556?this.character=" ":r>=.1666&&r<=.1667?this.character=" ":r>=.2222&&r<=.2223?this.character=" ":r>=.2777&&r<=.2778?this.character="  ":r>=-.05556&&r<=-.05555?this.character=" ⁣":r>=-.1667&&r<=-.1666?this.character=" ⁣":r>=-.2223&&r<=-.2222?this.character=" ⁣":r>=-.2778&&r<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var r=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return r.setAttribute("width",G(this.width)),r}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var P={MathNode:Ze,TextNode:_r,SpaceNode:T4,newDocumentFragment:$i},e0=function(r,t,u){return be[t][r]&&be[t][r].replace&&r.charCodeAt(0)!==55349&&!(Bi.hasOwnProperty(r)&&u&&(u.fontFamily&&u.fontFamily.slice(4,6)==="tt"||u.font&&u.font.slice(4,6)==="tt"))&&(r=be[t][r].replace),new P.TextNode(r)},Uu=function(r){return r.length===1?r[0]:new P.MathNode("mrow",r)},Vu=function(r,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var u=t.font;if(!u||u==="mathnormal")return null;var n=r.mode;if(u==="mathit")return"italic";if(u==="boldsymbol")return r.type==="textord"?"bold":"bold-italic";if(u==="mathbf")return"bold";if(u==="mathbb")return"double-struck";if(u==="mathfrak")return"fraktur";if(u==="mathscr"||u==="mathcal")return"script";if(u==="mathsf")return"sans-serif";if(u==="mathtt")return"monospace";var a=r.text;if(Q.contains(["\\imath","\\jmath"],a))return null;be[n][a]&&be[n][a].replace&&(a=be[n][a].replace);var i=M.fontMap[u].fontName;return qu(a,i,n)?M.fontMap[u].variant:null},He=function(r,t,u){if(r.length===1){var n=he(r[0],t);return u&&n instanceof Ze&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var a=[],i,o=0;o0&&(d.text=d.text.slice(0,1)+"̸"+d.text.slice(1),a.pop())}}}a.push(s),i=s}return a},U0=function(r,t,u){return Uu(He(r,t,u))},he=function(r,t){if(!r)return new P.MathNode("mrow");if(bt[r.type]){var u=bt[r.type](r,t);return u}else throw new $("Got group of unknown type: '"+r.type+"'")};function oa(e,r,t,u,n){var a=He(e,t),i;a.length===1&&a[0]instanceof Ze&&Q.contains(["mrow","mtable"],a[0].type)?i=a[0]:i=new P.MathNode("mrow",a);var o=new P.MathNode("annotation",[new P.TextNode(r)]);o.setAttribute("encoding","application/x-tex");var s=new P.MathNode("semantics",[i,o]),f=new P.MathNode("math",[s]);f.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),u&&f.setAttribute("display","block");var h=n?"katex":"katex-mathml";return M.makeSpan([h],[f])}var Hi=function(r){return new y0({style:r.displayMode?re.DISPLAY:re.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness})},Ui=function(r,t){if(t.displayMode){var u=["katex-display"];t.leqno&&u.push("leqno"),t.fleqn&&u.push("fleqn"),r=M.makeSpan(u,[r])}return r},M4=function(r,t,u){var n=Hi(u),a;if(u.output==="mathml")return oa(r,t,n,u.displayMode,!0);if(u.output==="html"){var i=ku(r,n);a=M.makeSpan(["katex"],[i])}else{var o=oa(r,t,n,u.displayMode,!1),s=ku(r,n);a=M.makeSpan(["katex"],[o,s])}return Ui(a,u)},F4=function(r,t,u){var n=Hi(u),a=ku(r,n),i=M.makeSpan(["katex"],[a]);return Ui(i,u)},z4={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},I4=function(r){var t=new P.MathNode("mo",[new P.TextNode(z4[r.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},B4={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},N4=function(r){return r.type==="ordgroup"?r.body.length:1},R4=function(r,t){function u(){var o=4e5,s=r.label.slice(1);if(Q.contains(["widehat","widecheck","widetilde","utilde"],s)){var f=r,h=N4(f.base),d,g,v;if(h>5)s==="widehat"||s==="widecheck"?(d=420,o=2364,v=.42,g=s+"4"):(d=312,o=2340,v=.34,g="tilde4");else{var y=[1,1,2,2,3,3][h];s==="widehat"||s==="widecheck"?(o=[0,1062,2364,2364,2364][y],d=[0,239,300,360,420][y],v=[0,.24,.3,.3,.36,.42][y],g=s+y):(o=[0,600,1033,2339,2340][y],d=[0,260,286,306,312][y],v=[0,.26,.286,.3,.306,.34][y],g="tilde"+y)}var T=new H0(g),E=new A0([T],{width:"100%",height:G(v),viewBox:"0 0 "+o+" "+d,preserveAspectRatio:"none"});return{span:M.makeSvgSpan([],[E],t),minWidth:0,height:v}}else{var I=[],z=B4[s],[R,q,F]=z,O=F/1e3,H=R.length,Z,K;if(H===1){var le=z[3];Z=["hide-tail"],K=[le]}else if(H===2)Z=["halfarrow-left","halfarrow-right"],K=["xMinYMin","xMaxYMin"];else if(H===3)Z=["brace-left","brace-center","brace-right"],K=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+H+" children.");for(var ie=0;ie0&&(n.style.minWidth=G(a)),n},O4=function(r,t,u,n,a){var i,o=r.height+r.depth+u+n;if(/fbox|color|angl/.test(t)){if(i=M.makeSpan(["stretchy",t],[],a),t==="fbox"){var s=a.color&&a.getColor();s&&(i.style.borderColor=s)}}else{var f=[];/^[bx]cancel$/.test(t)&&f.push(new xu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&f.push(new xu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new A0(f,{width:"100%",height:G(o)});i=M.makeSvgSpan([],[h],a)}return i.height=o,i.style.height=G(o),i},_0={encloseSpan:O4,mathMLnode:I4,svgSpan:R4};function ue(e,r){if(!e||e.type!==r)throw new Error("Expected node of type "+r+", but got "+(e?"node of type "+e.type:String(e)));return e}function ju(e){var r=Et(e);if(!r)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return r}function Et(e){return e&&(e.type==="atom"||s4.hasOwnProperty(e.type))?e:null}var Gu=(e,r)=>{var t,u,n;e&&e.type==="supsub"?(u=ue(e.base,"accent"),t=u.base,e.base=t,n=i4(oe(e,r)),e.base=u):(u=ue(e,"accent"),t=u.base);var a=oe(t,r.havingCrampedStyle()),i=u.isShifty&&Q.isCharacterBox(t),o=0;if(i){var s=Q.getBaseElem(t),f=oe(s,r.havingCrampedStyle());o=ea(f).skew}var h=u.label==="\\c",d=h?a.height+a.depth:Math.min(a.height,r.fontMetrics().xHeight),g;if(u.isStretchy)g=_0.svgSpan(u,r),g=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:g,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+G(2*o)+")",marginLeft:G(2*o)}:void 0}]},r);else{var v,y;u.label==="\\vec"?(v=M.staticSvg("vec",r),y=M.svgData.vec[1]):(v=M.makeOrd({mode:u.mode,text:u.label},r,"textord"),v=ea(v),v.italic=0,y=v.width,h&&(d+=v.depth)),g=M.makeSpan(["accent-body"],[v]);var T=u.label==="\\textcircled";T&&(g.classes.push("accent-full"),d=a.height);var E=o;T||(E-=y/2),g.style.left=G(E),u.label==="\\textcircled"&&(g.style.top=".2em"),g=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-d},{type:"elem",elem:g}]},r)}var I=M.makeSpan(["mord","accent"],[g],r);return n?(n.children[0]=I,n.height=Math.max(I.height,n.height),n.classes[0]="mord",n):I},Vi=(e,r)=>{var t=e.isStretchy?_0.mathMLnode(e.label):new P.MathNode("mo",[e0(e.label,e.mode)]),u=new P.MathNode("mover",[he(e.base,r),t]);return u.setAttribute("accent","true"),u},L4=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Y({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,r)=>{var t=vt(r[0]),u=!L4.test(e.funcName),n=!u||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:u,isShifty:n,base:t}},htmlBuilder:Gu,mathmlBuilder:Vi});Y({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,r)=>{var t=r[0],u=e.parser.mode;return u==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),u="text"),{type:"accent",mode:u,label:e.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:Gu,mathmlBuilder:Vi});Y({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=r[0];return{type:"accentUnder",mode:t.mode,label:u,base:n}},htmlBuilder:(e,r)=>{var t=oe(e.base,r),u=_0.svgSpan(e,r),n=e.label==="\\utilde"?.12:0,a=M.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:u,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:t}]},r);return M.makeSpan(["mord","accentunder"],[a],r)},mathmlBuilder:(e,r)=>{var t=_0.mathMLnode(e.label),u=new P.MathNode("munder",[he(e.base,r),t]);return u.setAttribute("accentunder","true"),u}});var ut=e=>{var r=new P.MathNode("mpadded",e?[e]:[]);return r.setAttribute("width","+0.6em"),r.setAttribute("lspace","0.3em"),r};Y({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,r,t){var{parser:u,funcName:n}=e;return{type:"xArrow",mode:u.mode,label:n,body:r[0],below:t[0]}},htmlBuilder(e,r){var t=r.style,u=r.havingStyle(t.sup()),n=M.wrapFragment(oe(e.body,u,r),r),a=e.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(a+"-arrow-pad");var i;e.below&&(u=r.havingStyle(t.sub()),i=M.wrapFragment(oe(e.below,u,r),r),i.classes.push(a+"-arrow-pad"));var o=_0.svgSpan(e,r),s=-r.fontMetrics().axisHeight+.5*o.height,f=-r.fontMetrics().axisHeight-.5*o.height-.111;(n.depth>.25||e.label==="\\xleftequilibrium")&&(f-=n.depth);var h;if(i){var d=-r.fontMetrics().axisHeight+i.height+.5*o.height+.111;h=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:f},{type:"elem",elem:o,shift:s},{type:"elem",elem:i,shift:d}]},r)}else h=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:f},{type:"elem",elem:o,shift:s}]},r);return h.children[0].children[0].children[1].classes.push("svg-align"),M.makeSpan(["mrel","x-arrow"],[h],r)},mathmlBuilder(e,r){var t=_0.mathMLnode(e.label);t.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var u;if(e.body){var n=ut(he(e.body,r));if(e.below){var a=ut(he(e.below,r));u=new P.MathNode("munderover",[t,a,n])}else u=new P.MathNode("mover",[t,n])}else if(e.below){var i=ut(he(e.below,r));u=new P.MathNode("munder",[t,i])}else u=ut(),u=new P.MathNode("mover",[t,u]);return u}});var P4=M.makeSpan;function ji(e,r){var t=De(e.body,r,!0);return P4([e.mclass],t,r)}function Gi(e,r){var t,u=He(e.body,r);return e.mclass==="minner"?t=new P.MathNode("mpadded",u):e.mclass==="mord"?e.isCharacterBox?(t=u[0],t.type="mi"):t=new P.MathNode("mi",u):(e.isCharacterBox?(t=u[0],t.type="mo"):t=new P.MathNode("mo",u),e.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):e.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):e.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}Y({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,r){var{parser:t,funcName:u}=e,n=r[0];return{type:"mclass",mode:t.mode,mclass:"m"+u.slice(5),body:Ae(n),isCharacterBox:Q.isCharacterBox(n)}},htmlBuilder:ji,mathmlBuilder:Gi});var Dt=e=>{var r=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return r.type==="atom"&&(r.family==="bin"||r.family==="rel")?"m"+r.family:"mord"};Y({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,r){var{parser:t}=e;return{type:"mclass",mode:t.mode,mclass:Dt(r[0]),body:Ae(r[1]),isCharacterBox:Q.isCharacterBox(r[1])}}});Y({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,r){var{parser:t,funcName:u}=e,n=r[1],a=r[0],i;u!=="\\stackrel"?i=Dt(n):i="mrel";var o={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:u!=="\\stackrel",body:Ae(n)},s={type:"supsub",mode:a.mode,base:o,sup:u==="\\underset"?null:a,sub:u==="\\underset"?a:null};return{type:"mclass",mode:t.mode,mclass:i,body:[s],isCharacterBox:Q.isCharacterBox(s)}},htmlBuilder:ji,mathmlBuilder:Gi});Y({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,r){var{parser:t}=e;return{type:"pmb",mode:t.mode,mclass:Dt(r[0]),body:Ae(r[0])}},htmlBuilder(e,r){var t=De(e.body,r,!0),u=M.makeSpan([e.mclass],t,r);return u.style.textShadow="0.02em 0.01em 0.04px",u},mathmlBuilder(e,r){var t=He(e.body,r),u=new P.MathNode("mstyle",t);return u.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),u}});var q4={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},sa=()=>({type:"styling",body:[],mode:"math",style:"display"}),la=e=>e.type==="textord"&&e.text==="@",$4=(e,r)=>(e.type==="mathord"||e.type==="atom")&&e.text===r;function H4(e,r,t){var u=q4[e];switch(u){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(u,[r[0]],[r[1]]);case"\\uparrow":case"\\downarrow":{var n=t.callFunction("\\\\cdleft",[r[0]],[]),a={type:"atom",text:u,mode:"math",family:"rel"},i=t.callFunction("\\Big",[a],[]),o=t.callFunction("\\\\cdright",[r[1]],[]),s={type:"ordgroup",mode:"math",body:[n,i,o]};return t.callFunction("\\\\cdparent",[s],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var f={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[f],[])}default:return{type:"textord",text:" ",mode:"math"}}}function U4(e){var r=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){r.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var t=e.fetch().text;if(t==="&"||t==="\\\\")e.consume();else if(t==="\\end"){r[r.length-1].length===0&&r.pop();break}else throw new $("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var u=[],n=[u],a=0;a-1))if("<>AV".indexOf(f)>-1)for(var d=0;d<2;d++){for(var g=!0,v=s+1;vAV=|." after @',i[s]);var y=H4(f,h,e),T={type:"styling",body:[y],mode:"math",style:"display"};u.push(T),o=sa()}a%2===0?u.push(o):u.shift(),u=[],n.push(u)}e.gullet.endGroup(),e.gullet.endGroup();var E=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:E,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}Y({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,r){var{parser:t,funcName:u}=e;return{type:"cdlabel",mode:t.mode,side:u.slice(4),label:r[0]}},htmlBuilder(e,r){var t=r.havingStyle(r.style.sup()),u=M.wrapFragment(oe(e.label,t,r),r);return u.classes.push("cd-label-"+e.side),u.style.bottom=G(.8-u.depth),u.height=0,u.depth=0,u},mathmlBuilder(e,r){var t=new P.MathNode("mrow",[he(e.label,r)]);return t=new P.MathNode("mpadded",[t]),t.setAttribute("width","0"),e.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new P.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}});Y({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,r){var{parser:t}=e;return{type:"cdlabelparent",mode:t.mode,fragment:r[0]}},htmlBuilder(e,r){var t=M.wrapFragment(oe(e.fragment,r),r);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(e,r){return new P.MathNode("mrow",[he(e.fragment,r)])}});Y({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,r){for(var{parser:t}=e,u=ue(r[0],"ordgroup"),n=u.body,a="",i=0;i=1114111)throw new $("\\@char with invalid code point "+a);return s<=65535?f=String.fromCharCode(s):(s-=65536,f=String.fromCharCode((s>>10)+55296,(s&1023)+56320)),{type:"textord",mode:t.mode,text:f}}});var Yi=(e,r)=>{var t=De(e.body,r.withColor(e.color),!1);return M.makeFragment(t)},Wi=(e,r)=>{var t=He(e.body,r.withColor(e.color)),u=new P.MathNode("mstyle",t);return u.setAttribute("mathcolor",e.color),u};Y({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,r){var{parser:t}=e,u=ue(r[0],"color-token").color,n=r[1];return{type:"color",mode:t.mode,color:u,body:Ae(n)}},htmlBuilder:Yi,mathmlBuilder:Wi});Y({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,r){var{parser:t,breakOnTokenText:u}=e,n=ue(r[0],"color-token").color;t.gullet.macros.set("\\current@color",n);var a=t.parseExpression(!0,u);return{type:"color",mode:t.mode,color:n,body:a}},htmlBuilder:Yi,mathmlBuilder:Wi});Y({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,r,t){var{parser:u}=e,n=u.gullet.future().text==="["?u.parseSizeGroup(!0):null,a=!u.settings.displayMode||!u.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:u.mode,newLine:a,size:n&&ue(n,"size").value}},htmlBuilder(e,r){var t=M.makeSpan(["mspace"],[],r);return e.newLine&&(t.classes.push("newline"),e.size&&(t.style.marginTop=G(ye(e.size,r)))),t},mathmlBuilder(e,r){var t=new P.MathNode("mspace");return e.newLine&&(t.setAttribute("linebreak","newline"),e.size&&t.setAttribute("height",G(ye(e.size,r)))),t}});var Su={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Zi=e=>{var r=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(r))throw new $("Expected a control sequence",e);return r},V4=e=>{var r=e.gullet.popToken();return r.text==="="&&(r=e.gullet.popToken(),r.text===" "&&(r=e.gullet.popToken())),r},Xi=(e,r,t,u)=>{var n=e.gullet.macros.get(t.text);n==null&&(t.noexpand=!0,n={tokens:[t],numArgs:0,unexpandable:!e.gullet.isExpandable(t.text)}),e.gullet.macros.set(r,n,u)};Y({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:r,funcName:t}=e;r.consumeSpaces();var u=r.fetch();if(Su[u.text])return(t==="\\global"||t==="\\\\globallong")&&(u.text=Su[u.text]),ue(r.parseFunction(),"internal");throw new $("Invalid token after macro prefix",u)}});Y({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:r,funcName:t}=e,u=r.gullet.popToken(),n=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new $("Expected a control sequence",u);for(var a=0,i,o=[[]];r.gullet.future().text!=="{";)if(u=r.gullet.popToken(),u.text==="#"){if(r.gullet.future().text==="{"){i=r.gullet.future(),o[a].push("{");break}if(u=r.gullet.popToken(),!/^[1-9]$/.test(u.text))throw new $('Invalid argument number "'+u.text+'"');if(parseInt(u.text)!==a+1)throw new $('Argument number "'+u.text+'" out of order');a++,o.push([])}else{if(u.text==="EOF")throw new $("Expected a macro definition");o[a].push(u.text)}var{tokens:s}=r.gullet.consumeArg();return i&&s.unshift(i),(t==="\\edef"||t==="\\xdef")&&(s=r.gullet.expandTokens(s),s.reverse()),r.gullet.macros.set(n,{tokens:s,numArgs:a,delimiters:o},t===Su[t]),{type:"internal",mode:r.mode}}});Y({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:r,funcName:t}=e,u=Zi(r.gullet.popToken());r.gullet.consumeSpaces();var n=V4(r);return Xi(r,u,n,t==="\\\\globallet"),{type:"internal",mode:r.mode}}});Y({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:r,funcName:t}=e,u=Zi(r.gullet.popToken()),n=r.gullet.popToken(),a=r.gullet.popToken();return Xi(r,u,a,t==="\\\\globalfuture"),r.gullet.pushToken(a),r.gullet.pushToken(n),{type:"internal",mode:r.mode}}});var Cr=function(r,t,u){var n=be.math[r]&&be.math[r].replace,a=qu(n||r,t,u);if(!a)throw new Error("Unsupported symbol "+r+" and font size "+t+".");return a},Yu=function(r,t,u,n){var a=u.havingBaseStyle(t),i=M.makeSpan(n.concat(a.sizingClasses(u)),[r],u),o=a.sizeMultiplier/u.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=a.sizeMultiplier,i},Ki=function(r,t,u){var n=t.havingBaseStyle(u),a=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=G(a),r.height-=a,r.depth+=a},j4=function(r,t,u,n,a,i){var o=M.makeSymbol(r,"Main-Regular",a,n),s=Yu(o,t,n,i);return u&&Ki(s,n,t),s},G4=function(r,t,u,n){return M.makeSymbol(r,"Size"+t+"-Regular",u,n)},Ji=function(r,t,u,n,a,i){var o=G4(r,t,a,n),s=Yu(M.makeSpan(["delimsizing","size"+t],[o],n),re.TEXT,n,i);return u&&Ki(s,n,re.TEXT),s},tu=function(r,t,u){var n;t==="Size1-Regular"?n="delim-size1":n="delim-size4";var a=M.makeSpan(["delimsizinginner",n],[M.makeSpan([],[M.makeSymbol(r,t,u)])]);return{type:"elem",elem:a}},uu=function(r,t,u){var n=l0["Size4-Regular"][r.charCodeAt(0)]?l0["Size4-Regular"][r.charCodeAt(0)][4]:l0["Size1-Regular"][r.charCodeAt(0)][4],a=new H0("inner",J2(r,Math.round(1e3*t))),i=new A0([a],{width:G(n),height:G(t),style:"width:"+G(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=M.makeSvgSpan([],[i],u);return o.height=t,o.style.height=G(t),o.style.width=G(n),{type:"elem",elem:o}},Au=.008,nt={type:"kern",size:-1*Au},Y4=["|","\\lvert","\\rvert","\\vert"],W4=["\\|","\\lVert","\\rVert","\\Vert"],Qi=function(r,t,u,n,a,i){var o,s,f,h,d="",g=0;o=f=h=r,s=null;var v="Size1-Regular";r==="\\uparrow"?f=h="⏐":r==="\\Uparrow"?f=h="‖":r==="\\downarrow"?o=f="⏐":r==="\\Downarrow"?o=f="‖":r==="\\updownarrow"?(o="\\uparrow",f="⏐",h="\\downarrow"):r==="\\Updownarrow"?(o="\\Uparrow",f="‖",h="\\Downarrow"):Q.contains(Y4,r)?(f="∣",d="vert",g=333):Q.contains(W4,r)?(f="∥",d="doublevert",g=556):r==="["||r==="\\lbrack"?(o="⎡",f="⎢",h="⎣",v="Size4-Regular",d="lbrack",g=667):r==="]"||r==="\\rbrack"?(o="⎤",f="⎥",h="⎦",v="Size4-Regular",d="rbrack",g=667):r==="\\lfloor"||r==="⌊"?(f=o="⎢",h="⎣",v="Size4-Regular",d="lfloor",g=667):r==="\\lceil"||r==="⌈"?(o="⎡",f=h="⎢",v="Size4-Regular",d="lceil",g=667):r==="\\rfloor"||r==="⌋"?(f=o="⎥",h="⎦",v="Size4-Regular",d="rfloor",g=667):r==="\\rceil"||r==="⌉"?(o="⎤",f=h="⎥",v="Size4-Regular",d="rceil",g=667):r==="("||r==="\\lparen"?(o="⎛",f="⎜",h="⎝",v="Size4-Regular",d="lparen",g=875):r===")"||r==="\\rparen"?(o="⎞",f="⎟",h="⎠",v="Size4-Regular",d="rparen",g=875):r==="\\{"||r==="\\lbrace"?(o="⎧",s="⎨",h="⎩",f="⎪",v="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(o="⎫",s="⎬",h="⎭",f="⎪",v="Size4-Regular"):r==="\\lgroup"||r==="⟮"?(o="⎧",h="⎩",f="⎪",v="Size4-Regular"):r==="\\rgroup"||r==="⟯"?(o="⎫",h="⎭",f="⎪",v="Size4-Regular"):r==="\\lmoustache"||r==="⎰"?(o="⎧",h="⎭",f="⎪",v="Size4-Regular"):(r==="\\rmoustache"||r==="⎱")&&(o="⎫",h="⎩",f="⎪",v="Size4-Regular");var y=Cr(o,v,a),T=y.height+y.depth,E=Cr(f,v,a),I=E.height+E.depth,z=Cr(h,v,a),R=z.height+z.depth,q=0,F=1;if(s!==null){var O=Cr(s,v,a);q=O.height+O.depth,F=2}var H=T+R+q,Z=Math.max(0,Math.ceil((t-H)/(F*I))),K=H+Z*F*I,le=n.fontMetrics().axisHeight;u&&(le*=n.sizeMultiplier);var ie=K/2-le,ae=[];if(d.length>0){var ke=K-T-R,ve=Math.round(K*1e3),me=Q2(d,Math.round(ke*1e3)),Le=new H0(d,me),Ue=(g/1e3).toFixed(3)+"em",b0=(ve/1e3).toFixed(3)+"em",yr=new A0([Le],{width:Ue,height:b0,viewBox:"0 0 "+g+" "+ve}),a0=M.makeSvgSpan([],[yr],n);a0.height=ve/1e3,a0.style.width=Ue,a0.style.height=b0,ae.push({type:"elem",elem:a0})}else{if(ae.push(tu(h,v,a)),ae.push(nt),s===null){var Te=K-T-R+2*Au;ae.push(uu(f,Te,n))}else{var Ie=(K-T-R-q)/2+2*Au;ae.push(uu(f,Ie,n)),ae.push(nt),ae.push(tu(s,v,a)),ae.push(nt),ae.push(uu(f,Ie,n))}ae.push(nt),ae.push(tu(o,v,a))}var Y0=n.havingBaseStyle(re.TEXT),wr=M.makeVList({positionType:"bottom",positionData:ie,children:ae},Y0);return Yu(M.makeSpan(["delimsizing","mult"],[wr],Y0),re.TEXT,n,i)},nu=80,au=.08,iu=function(r,t,u,n,a){var i=K2(r,n,u),o=new H0(r,i),s=new A0([o],{width:"400em",height:G(t),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});return M.makeSvgSpan(["hide-tail"],[s],a)},Z4=function(r,t){var u=t.havingBaseSizing(),n=uo("\\surd",r*u.sizeMultiplier,to,u),a=u.sizeMultiplier,i=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),o,s=0,f=0,h=0,d;return n.type==="small"?(h=1e3+1e3*i+nu,r<1?a=1:r<1.4&&(a=.7),s=(1+i+au)/a,f=(1+i)/a,o=iu("sqrtMain",s,h,i,t),o.style.minWidth="0.853em",d=.833/a):n.type==="large"?(h=(1e3+nu)*Er[n.size],f=(Er[n.size]+i)/a,s=(Er[n.size]+i+au)/a,o=iu("sqrtSize"+n.size,s,h,i,t),o.style.minWidth="1.02em",d=1/a):(s=r+i+au,f=r+i,h=Math.floor(1e3*r+i)+nu,o=iu("sqrtTall",s,h,i,t),o.style.minWidth="0.742em",d=1.056),o.height=f,o.style.height=G(s),{span:o,advanceWidth:d,ruleWidth:(t.fontMetrics().sqrtRuleThickness+i)*a}},eo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],X4=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],ro=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Er=[0,1.2,1.8,2.4,3],K4=function(r,t,u,n,a){if(r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle"),Q.contains(eo,r)||Q.contains(ro,r))return Ji(r,t,!1,u,n,a);if(Q.contains(X4,r))return Qi(r,Er[t],!1,u,n,a);throw new $("Illegal delimiter: '"+r+"'")},J4=[{type:"small",style:re.SCRIPTSCRIPT},{type:"small",style:re.SCRIPT},{type:"small",style:re.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Q4=[{type:"small",style:re.SCRIPTSCRIPT},{type:"small",style:re.SCRIPT},{type:"small",style:re.TEXT},{type:"stack"}],to=[{type:"small",style:re.SCRIPTSCRIPT},{type:"small",style:re.SCRIPT},{type:"small",style:re.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ef=function(r){if(r.type==="small")return"Main-Regular";if(r.type==="large")return"Size"+r.size+"-Regular";if(r.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+r.type+"' here.")},uo=function(r,t,u,n){for(var a=Math.min(2,3-n.style.size),i=a;it)return u[i]}return u[u.length-1]},no=function(r,t,u,n,a,i){r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle");var o;Q.contains(ro,r)?o=J4:Q.contains(eo,r)?o=to:o=Q4;var s=uo(r,t,o,n);return s.type==="small"?j4(r,s.style,u,n,a,i):s.type==="large"?Ji(r,s.size,u,n,a,i):Qi(r,t,u,n,a,i)},rf=function(r,t,u,n,a,i){var o=n.fontMetrics().axisHeight*n.sizeMultiplier,s=901,f=5/n.fontMetrics().ptPerEm,h=Math.max(t-o,u+o),d=Math.max(h/500*s,2*h-f);return no(r,d,!0,n,a,i)},S0={sqrtImage:Z4,sizedDelim:K4,sizeToMaxHeight:Er,customSizedDelim:no,leftRightDelim:rf},ca={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},tf=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Tt(e,r){var t=Et(e);if(t&&Q.contains(tf,t.text))return t;throw t?new $("Invalid delimiter '"+t.text+"' after '"+r.funcName+"'",e):new $("Invalid delimiter type '"+e.type+"'",e)}Y({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,r)=>{var t=Tt(r[0],e);return{type:"delimsizing",mode:e.parser.mode,size:ca[e.funcName].size,mclass:ca[e.funcName].mclass,delim:t.text}},htmlBuilder:(e,r)=>e.delim==="."?M.makeSpan([e.mclass]):S0.sizedDelim(e.delim,e.size,r,e.mode,[e.mclass]),mathmlBuilder:e=>{var r=[];e.delim!=="."&&r.push(e0(e.delim,e.mode));var t=new P.MathNode("mo",r);e.mclass==="mopen"||e.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var u=G(S0.sizeToMaxHeight[e.size]);return t.setAttribute("minsize",u),t.setAttribute("maxsize",u),t}});function fa(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Y({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,r)=>{var t=e.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new $("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Tt(r[0],e).text,color:t}}});Y({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,r)=>{var t=Tt(r[0],e),u=e.parser;++u.leftrightDepth;var n=u.parseExpression(!1);--u.leftrightDepth,u.expect("\\right",!1);var a=ue(u.parseFunction(),"leftright-right");return{type:"leftright",mode:u.mode,body:n,left:t.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,r)=>{fa(e);for(var t=De(e.body,r,!0,["mopen","mclose"]),u=0,n=0,a=!1,i=0;i{fa(e);var t=He(e.body,r);if(e.left!=="."){var u=new P.MathNode("mo",[e0(e.left,e.mode)]);u.setAttribute("fence","true"),t.unshift(u)}if(e.right!=="."){var n=new P.MathNode("mo",[e0(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),t.push(n)}return Uu(t)}});Y({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,r)=>{var t=Tt(r[0],e);if(!e.parser.leftrightDepth)throw new $("\\middle without preceding \\left",t);return{type:"middle",mode:e.parser.mode,delim:t.text}},htmlBuilder:(e,r)=>{var t;if(e.delim===".")t=Ir(r,[]);else{t=S0.sizedDelim(e.delim,1,r,e.mode,[]);var u={delim:e.delim,options:r};t.isMiddle=u}return t},mathmlBuilder:(e,r)=>{var t=e.delim==="\\vert"||e.delim==="|"?e0("|","text"):e0(e.delim,e.mode),u=new P.MathNode("mo",[t]);return u.setAttribute("fence","true"),u.setAttribute("lspace","0.05em"),u.setAttribute("rspace","0.05em"),u}});var Wu=(e,r)=>{var t=M.wrapFragment(oe(e.body,r),r),u=e.label.slice(1),n=r.sizeMultiplier,a,i=0,o=Q.isCharacterBox(e.body);if(u==="sout")a=M.makeSpan(["stretchy","sout"]),a.height=r.fontMetrics().defaultRuleThickness/n,i=-.5*r.fontMetrics().xHeight;else if(u==="phase"){var s=ye({number:.6,unit:"pt"},r),f=ye({number:.35,unit:"ex"},r),h=r.havingBaseSizing();n=n/h.sizeMultiplier;var d=t.height+t.depth+s+f;t.style.paddingLeft=G(d/2+s);var g=Math.floor(1e3*d*n),v=Z2(g),y=new A0([new H0("phase",v)],{width:"400em",height:G(g/1e3),viewBox:"0 0 400000 "+g,preserveAspectRatio:"xMinYMin slice"});a=M.makeSvgSpan(["hide-tail"],[y],r),a.style.height=G(d),i=t.depth+s+f}else{/cancel/.test(u)?o||t.classes.push("cancel-pad"):u==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var T=0,E=0,I=0;/box/.test(u)?(I=Math.max(r.fontMetrics().fboxrule,r.minRuleThickness),T=r.fontMetrics().fboxsep+(u==="colorbox"?0:I),E=T):u==="angl"?(I=Math.max(r.fontMetrics().defaultRuleThickness,r.minRuleThickness),T=4*I,E=Math.max(0,.25-t.depth)):(T=o?.2:0,E=T),a=_0.encloseSpan(t,u,T,E,r),/fbox|boxed|fcolorbox/.test(u)?(a.style.borderStyle="solid",a.style.borderWidth=G(I)):u==="angl"&&I!==.049&&(a.style.borderTopWidth=G(I),a.style.borderRightWidth=G(I)),i=t.depth+E,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var z;if(e.backgroundColor)z=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:i},{type:"elem",elem:t,shift:0}]},r);else{var R=/cancel|phase/.test(u)?["svg-align"]:[];z=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:a,shift:i,wrapperClasses:R}]},r)}return/cancel/.test(u)&&(z.height=t.height,z.depth=t.depth),/cancel/.test(u)&&!o?M.makeSpan(["mord","cancel-lap"],[z],r):M.makeSpan(["mord"],[z],r)},Zu=(e,r)=>{var t=0,u=new P.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[he(e.body,r)]);switch(e.label){case"\\cancel":u.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":u.setAttribute("notation","downdiagonalstrike");break;case"\\phase":u.setAttribute("notation","phasorangle");break;case"\\sout":u.setAttribute("notation","horizontalstrike");break;case"\\fbox":u.setAttribute("notation","box");break;case"\\angl":u.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=r.fontMetrics().fboxsep*r.fontMetrics().ptPerEm,u.setAttribute("width","+"+2*t+"pt"),u.setAttribute("height","+"+2*t+"pt"),u.setAttribute("lspace",t+"pt"),u.setAttribute("voffset",t+"pt"),e.label==="\\fcolorbox"){var n=Math.max(r.fontMetrics().fboxrule,r.minRuleThickness);u.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":u.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&u.setAttribute("mathbackground",e.backgroundColor),u};Y({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,r,t){var{parser:u,funcName:n}=e,a=ue(r[0],"color-token").color,i=r[1];return{type:"enclose",mode:u.mode,label:n,backgroundColor:a,body:i}},htmlBuilder:Wu,mathmlBuilder:Zu});Y({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,r,t){var{parser:u,funcName:n}=e,a=ue(r[0],"color-token").color,i=ue(r[1],"color-token").color,o=r[2];return{type:"enclose",mode:u.mode,label:n,backgroundColor:i,borderColor:a,body:o}},htmlBuilder:Wu,mathmlBuilder:Zu});Y({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,r){var{parser:t}=e;return{type:"enclose",mode:t.mode,label:"\\fbox",body:r[0]}}});Y({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,r){var{parser:t,funcName:u}=e,n=r[0];return{type:"enclose",mode:t.mode,label:u,body:n}},htmlBuilder:Wu,mathmlBuilder:Zu});Y({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,r){var{parser:t}=e;return{type:"enclose",mode:t.mode,label:"\\angl",body:r[0]}}});var ao={};function h0(e){for(var{type:r,names:t,props:u,handler:n,htmlBuilder:a,mathmlBuilder:i}=e,o={type:r,numArgs:u.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},s=0;s{var r=e.parser.settings;if(!r.displayMode)throw new $("{"+e.envName+"} can be used only in display mode.")};function Xu(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function G0(e,r,t){var{hskipBeforeAndAfter:u,addJot:n,cols:a,arraystretch:i,colSeparationType:o,autoTag:s,singleRow:f,emptySingleRow:h,maxNumCols:d,leqno:g}=r;if(e.gullet.beginGroup(),f||e.gullet.macros.set("\\cr","\\\\\\relax"),!i){var v=e.gullet.expandMacroAsText("\\arraystretch");if(v==null)i=1;else if(i=parseFloat(v),!i||i<0)throw new $("Invalid \\arraystretch: "+v)}e.gullet.beginGroup();var y=[],T=[y],E=[],I=[],z=s!=null?[]:void 0;function R(){s&&e.gullet.macros.set("\\@eqnsw","1",!0)}function q(){z&&(e.gullet.macros.get("\\df@tag")?(z.push(e.subparse([new Ke("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):z.push(!!s&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),I.push(da(e));;){var F=e.parseExpression(!1,f?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),F={type:"ordgroup",mode:e.mode,body:F},t&&(F={type:"styling",mode:e.mode,style:t,body:[F]}),y.push(F);var O=e.fetch().text;if(O==="&"){if(d&&y.length===d){if(f||o)throw new $("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(O==="\\end"){q(),y.length===1&&F.type==="styling"&&F.body[0].body.length===0&&(T.length>1||!h)&&T.pop(),I.length0&&(R+=.25),f.push({pos:R,isDashed:v0[F0]})}for(q(i[0]),u=0;u0&&(ie+=z,Hv0))for(u=0;u=o)){var T0=void 0;(n>0||r.hskipBeforeAndAfter)&&(T0=Q.deflt(Ie.pregap,g),T0!==0&&(me=M.makeSpan(["arraycolsep"],[]),me.style.width=G(T0),ve.push(me)));var M0=[];for(u=0;u0){for(var Bt=M.makeLineSpan("hline",t,h),Nt=M.makeLineSpan("hdashline",t,h),kr=[{type:"elem",elem:s,shift:0}];f.length>0;){var r0=f.pop(),Hr=r0.pos-ae;r0.isDashed?kr.push({type:"elem",elem:Nt,shift:Hr}):kr.push({type:"elem",elem:Bt,shift:Hr})}s=M.makeVList({positionType:"individualShift",children:kr},t)}if(Ue.length===0)return M.makeSpan(["mord"],[s],t);var rr=M.makeVList({positionType:"individualShift",children:Ue},t);return rr=M.makeSpan(["tag"],[rr],t),M.makeFragment([s,rr])},uf={c:"center ",l:"left ",r:"right "},p0=function(r,t){for(var u=[],n=new P.MathNode("mtd",[],["mtr-glue"]),a=new P.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var y=r.cols,T="",E=!1,I=0,z=y.length;y[0].type==="separator"&&(g+="top ",I=1),y[y.length-1].type==="separator"&&(g+="bottom ",z-=1);for(var R=I;R0?"left ":"",g+=Z[Z.length-1].length>0?"right ":"";for(var K=1;K-1?"alignat":"align",a=r.envName==="split",i=G0(r.parser,{cols:u,addJot:!0,autoTag:a?void 0:Xu(r.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:a?2:void 0,leqno:r.parser.settings.leqno},"display"),o,s=0,f={type:"ordgroup",mode:r.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var h="",d=0;d0&&v&&(E=1),u[y]={type:"align",align:T,pregap:E,postgap:0}}return i.colSeparationType=v?"align":"alignat",i};h0({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,r){var t=Et(r[0]),u=t?[r[0]]:ue(r[0],"ordgroup").body,n=u.map(function(i){var o=ju(i),s=o.text;if("lcr".indexOf(s)!==-1)return{type:"align",align:s};if(s==="|")return{type:"separator",separator:"|"};if(s===":")return{type:"separator",separator:":"};throw new $("Unknown column alignment: "+s,i)}),a={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return G0(e.parser,a,Ku(e.envName))},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var r={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],t="c",u={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(e.envName.charAt(e.envName.length-1)==="*"){var n=e.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),t=n.fetch().text,"lcr".indexOf(t)===-1)throw new $("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),u.cols=[{type:"align",align:t}]}}var a=G0(e.parser,u,Ku(e.envName)),i=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(i).fill({type:"align",align:t}),r?{type:"leftright",mode:e.mode,body:[a],left:r[0],right:r[1],rightColor:void 0}:a},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var r={arraystretch:.5},t=G0(e.parser,r,"script");return t.colSeparationType="small",t},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["subarray"],props:{numArgs:1},handler(e,r){var t=Et(r[0]),u=t?[r[0]]:ue(r[0],"ordgroup").body,n=u.map(function(i){var o=ju(i),s=o.text;if("lc".indexOf(s)!==-1)return{type:"align",align:s};throw new $("Unknown column alignment: "+s,i)});if(n.length>1)throw new $("{subarray} can contain only one column");var a={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=G0(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new $("{subarray} can contain only one column");return a},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var r={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},t=G0(e.parser,r,Ku(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:oo,htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Q.contains(["gather","gather*"],e.envName)&&Mt(e);var r={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Xu(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return G0(e.parser,r,"display")},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:oo,htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Mt(e);var r={autoTag:Xu(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return G0(e.parser,r,"display")},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Mt(e),U4(e.parser)},htmlBuilder:m0,mathmlBuilder:p0});p("\\nonumber","\\gdef\\@eqnsw{0}");p("\\notag","\\nonumber");Y({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,r){throw new $(e.funcName+" valid only within array environment")}});var ha=ao;Y({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,r){var{parser:t,funcName:u}=e,n=r[0];if(n.type!=="ordgroup")throw new $("Invalid environment name",n);for(var a="",i=0;i{var t=e.font,u=r.withFont(t);return oe(e.body,u)},lo=(e,r)=>{var t=e.font,u=r.withFont(t);return he(e.body,u)},ma={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Y({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=vt(r[0]),a=u;return a in ma&&(a=ma[a]),{type:"font",mode:t.mode,font:a.slice(1),body:n}},htmlBuilder:so,mathmlBuilder:lo});Y({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,r)=>{var{parser:t}=e,u=r[0],n=Q.isCharacterBox(u);return{type:"mclass",mode:t.mode,mclass:Dt(u),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:u}],isCharacterBox:n}}});Y({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,r)=>{var{parser:t,funcName:u,breakOnTokenText:n}=e,{mode:a}=t,i=t.parseExpression(!0,n),o="math"+u.slice(1);return{type:"font",mode:a,font:o,body:{type:"ordgroup",mode:t.mode,body:i}}},htmlBuilder:so,mathmlBuilder:lo});var co=(e,r)=>{var t=r;return e==="display"?t=t.id>=re.SCRIPT.id?t.text():re.DISPLAY:e==="text"&&t.size===re.DISPLAY.size?t=re.TEXT:e==="script"?t=re.SCRIPT:e==="scriptscript"&&(t=re.SCRIPTSCRIPT),t},Ju=(e,r)=>{var t=co(e.size,r.style),u=t.fracNum(),n=t.fracDen(),a;a=r.havingStyle(u);var i=oe(e.numer,a,r);if(e.continued){var o=8.5/r.fontMetrics().ptPerEm,s=3.5/r.fontMetrics().ptPerEm;i.height=i.height0?y=3*g:y=7*g,T=r.fontMetrics().denom1):(d>0?(v=r.fontMetrics().num2,y=g):(v=r.fontMetrics().num3,y=3*g),T=r.fontMetrics().denom2);var E;if(h){var z=r.fontMetrics().axisHeight;v-i.depth-(z+.5*d){var t=new P.MathNode("mfrac",[he(e.numer,r),he(e.denom,r)]);if(!e.hasBarLine)t.setAttribute("linethickness","0px");else if(e.barSize){var u=ye(e.barSize,r);t.setAttribute("linethickness",G(u))}var n=co(e.size,r.style);if(n.size!==r.style.size){t=new P.MathNode("mstyle",[t]);var a=n.size===re.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",a),t.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var o=new P.MathNode("mo",[new P.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),i.push(o)}if(i.push(t),e.rightDelim!=null){var s=new P.MathNode("mo",[new P.TextNode(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),i.push(s)}return Uu(i)}return t};Y({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=r[0],a=r[1],i,o=null,s=null,f="auto";switch(u){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,o="(",s=")";break;case"\\\\bracefrac":i=!1,o="\\{",s="\\}";break;case"\\\\brackfrac":i=!1,o="[",s="]";break;default:throw new Error("Unrecognized genfrac command")}switch(u){case"\\dfrac":case"\\dbinom":f="display";break;case"\\tfrac":case"\\tbinom":f="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:n,denom:a,hasBarLine:i,leftDelim:o,rightDelim:s,size:f,barSize:null}},htmlBuilder:Ju,mathmlBuilder:Qu});Y({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=r[0],a=r[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:n,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Y({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:r,funcName:t,token:u}=e,n;switch(t){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:n,token:u}}});var pa=["display","text","script","scriptscript"],ba=function(r){var t=null;return r.length>0&&(t=r,t=t==="."?null:t),t};Y({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,r){var{parser:t}=e,u=r[4],n=r[5],a=vt(r[0]),i=a.type==="atom"&&a.family==="open"?ba(a.text):null,o=vt(r[1]),s=o.type==="atom"&&o.family==="close"?ba(o.text):null,f=ue(r[2],"size"),h,d=null;f.isBlank?h=!0:(d=f.value,h=d.number>0);var g="auto",v=r[3];if(v.type==="ordgroup"){if(v.body.length>0){var y=ue(v.body[0],"textord");g=pa[Number(y.text)]}}else v=ue(v,"textord"),g=pa[Number(v.text)];return{type:"genfrac",mode:t.mode,numer:u,denom:n,continued:!1,hasBarLine:h,barSize:d,leftDelim:i,rightDelim:s,size:g}},htmlBuilder:Ju,mathmlBuilder:Qu});Y({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,r){var{parser:t,funcName:u,token:n}=e;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:ue(r[0],"size").value,token:n}}});Y({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=r[0],a=B2(ue(r[1],"infix").size),i=r[2],o=a.number>0;return{type:"genfrac",mode:t.mode,numer:n,denom:i,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ju,mathmlBuilder:Qu});var fo=(e,r)=>{var t=r.style,u,n;e.type==="supsub"?(u=e.sup?oe(e.sup,r.havingStyle(t.sup()),r):oe(e.sub,r.havingStyle(t.sub()),r),n=ue(e.base,"horizBrace")):n=ue(e,"horizBrace");var a=oe(n.base,r.havingBaseStyle(re.DISPLAY)),i=_0.svgSpan(n,r),o;if(n.isOver?(o=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:i}]},r),o.children[0].children[0].children[1].classes.push("svg-align")):(o=M.makeVList({positionType:"bottom",positionData:a.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:a}]},r),o.children[0].children[0].children[0].classes.push("svg-align")),u){var s=M.makeSpan(["mord",n.isOver?"mover":"munder"],[o],r);n.isOver?o=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:u}]},r):o=M.makeVList({positionType:"bottom",positionData:s.depth+.2+u.height+u.depth,children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:s}]},r)}return M.makeSpan(["mord",n.isOver?"mover":"munder"],[o],r)},nf=(e,r)=>{var t=_0.mathMLnode(e.label);return new P.MathNode(e.isOver?"mover":"munder",[he(e.base,r),t])};Y({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,r){var{parser:t,funcName:u}=e;return{type:"horizBrace",mode:t.mode,label:u,isOver:/^\\over/.test(u),base:r[0]}},htmlBuilder:fo,mathmlBuilder:nf});Y({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,r)=>{var{parser:t}=e,u=r[1],n=ue(r[0],"url").url;return t.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:t.mode,href:n,body:Ae(u)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(e,r)=>{var t=De(e.body,r,!1);return M.makeAnchor(e.href,[],t,r)},mathmlBuilder:(e,r)=>{var t=U0(e.body,r);return t instanceof Ze||(t=new Ze("mrow",[t])),t.setAttribute("href",e.href),t}});Y({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,r)=>{var{parser:t}=e,u=ue(r[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:u}))return t.formatUnsupportedCmd("\\url");for(var n=[],a=0;a{var{parser:t,funcName:u,token:n}=e,a=ue(r[0],"raw").string,i=r[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,s={};switch(u){case"\\htmlClass":s.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":s.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":s.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var f=a.split(","),h=0;h{var t=De(e.body,r,!1),u=["enclosing"];e.attributes.class&&u.push(...e.attributes.class.trim().split(/\s+/));var n=M.makeSpan(u,t,r);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&n.setAttribute(a,e.attributes[a]);return n},mathmlBuilder:(e,r)=>U0(e.body,r)});Y({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,r)=>{var{parser:t}=e;return{type:"htmlmathml",mode:t.mode,html:Ae(r[0]),mathml:Ae(r[1])}},htmlBuilder:(e,r)=>{var t=De(e.html,r,!1);return M.makeFragment(t)},mathmlBuilder:(e,r)=>U0(e.mathml,r)});var ou=function(r){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(r))return{number:+r,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r);if(!t)throw new $("Invalid size: '"+r+"' in \\includegraphics");var u={number:+(t[1]+t[2]),unit:t[3]};if(!Mi(u))throw new $("Invalid unit: '"+u.unit+"' in \\includegraphics.");return u};Y({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,r,t)=>{var{parser:u}=e,n={number:0,unit:"em"},a={number:.9,unit:"em"},i={number:0,unit:"em"},o="";if(t[0])for(var s=ue(t[0],"raw").string,f=s.split(","),h=0;h{var t=ye(e.height,r),u=0;e.totalheight.number>0&&(u=ye(e.totalheight,r)-t);var n=0;e.width.number>0&&(n=ye(e.width,r));var a={height:G(t+u)};n>0&&(a.width=G(n)),u>0&&(a.verticalAlign=G(-u));var i=new n4(e.src,e.alt,a);return i.height=t,i.depth=u,i},mathmlBuilder:(e,r)=>{var t=new P.MathNode("mglyph",[]);t.setAttribute("alt",e.alt);var u=ye(e.height,r),n=0;if(e.totalheight.number>0&&(n=ye(e.totalheight,r)-u,t.setAttribute("valign",G(-n))),t.setAttribute("height",G(u+n)),e.width.number>0){var a=ye(e.width,r);t.setAttribute("width",G(a))}return t.setAttribute("src",e.src),t}});Y({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,r){var{parser:t,funcName:u}=e,n=ue(r[0],"size");if(t.settings.strict){var a=u[1]==="m",i=n.value.unit==="mu";a?(i||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" supports only mu units, "+("not "+n.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" works only in math mode")):i&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:n.value}},htmlBuilder(e,r){return M.makeGlue(e.dimension,r)},mathmlBuilder(e,r){var t=ye(e.dimension,r);return new P.SpaceNode(t)}});Y({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=r[0];return{type:"lap",mode:t.mode,alignment:u.slice(5),body:n}},htmlBuilder:(e,r)=>{var t;e.alignment==="clap"?(t=M.makeSpan([],[oe(e.body,r)]),t=M.makeSpan(["inner"],[t],r)):t=M.makeSpan(["inner"],[oe(e.body,r)]);var u=M.makeSpan(["fix"],[]),n=M.makeSpan([e.alignment],[t,u],r),a=M.makeSpan(["strut"]);return a.style.height=G(n.height+n.depth),n.depth&&(a.style.verticalAlign=G(-n.depth)),n.children.unshift(a),n=M.makeSpan(["thinbox"],[n],r),M.makeSpan(["mord","vbox"],[n],r)},mathmlBuilder:(e,r)=>{var t=new P.MathNode("mpadded",[he(e.body,r)]);if(e.alignment!=="rlap"){var u=e.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",u+"width")}return t.setAttribute("width","0px"),t}});Y({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,r){var{funcName:t,parser:u}=e,n=u.mode;u.switchMode("math");var a=t==="\\("?"\\)":"$",i=u.parseExpression(!1,a);return u.expect(a),u.switchMode(n),{type:"styling",mode:u.mode,style:"text",body:i}}});Y({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,r){throw new $("Mismatched "+e.funcName)}});var va=(e,r)=>{switch(r.style.size){case re.DISPLAY.size:return e.display;case re.TEXT.size:return e.text;case re.SCRIPT.size:return e.script;case re.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Y({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,r)=>{var{parser:t}=e;return{type:"mathchoice",mode:t.mode,display:Ae(r[0]),text:Ae(r[1]),script:Ae(r[2]),scriptscript:Ae(r[3])}},htmlBuilder:(e,r)=>{var t=va(e,r),u=De(t,r,!1);return M.makeFragment(u)},mathmlBuilder:(e,r)=>{var t=va(e,r);return U0(t,r)}});var ho=(e,r,t,u,n,a,i)=>{e=M.makeSpan([],[e]);var o=t&&Q.isCharacterBox(t),s,f;if(r){var h=oe(r,u.havingStyle(n.sup()),u);f={elem:h,kern:Math.max(u.fontMetrics().bigOpSpacing1,u.fontMetrics().bigOpSpacing3-h.depth)}}if(t){var d=oe(t,u.havingStyle(n.sub()),u);s={elem:d,kern:Math.max(u.fontMetrics().bigOpSpacing2,u.fontMetrics().bigOpSpacing4-d.height)}}var g;if(f&&s){var v=u.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+i;g=M.makeVList({positionType:"bottom",positionData:v,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:G(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:G(a)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else if(s){var y=e.height-i;g=M.makeVList({positionType:"top",positionData:y,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:G(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},u)}else if(f){var T=e.depth+i;g=M.makeVList({positionType:"bottom",positionData:T,children:[{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:G(a)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else return e;var E=[g];if(s&&a!==0&&!o){var I=M.makeSpan(["mspace"],[],u);I.style.marginRight=G(a),E.unshift(I)}return M.makeSpan(["mop","op-limits"],E,u)},mo=["\\smallint"],xr=(e,r)=>{var t,u,n=!1,a;e.type==="supsub"?(t=e.sup,u=e.sub,a=ue(e.base,"op"),n=!0):a=ue(e,"op");var i=r.style,o=!1;i.size===re.DISPLAY.size&&a.symbol&&!Q.contains(mo,a.name)&&(o=!0);var s;if(a.symbol){var f=o?"Size2-Regular":"Size1-Regular",h="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(h=a.name.slice(1),a.name=h==="oiint"?"\\iint":"\\iiint"),s=M.makeSymbol(a.name,f,"math",r,["mop","op-symbol",o?"large-op":"small-op"]),h.length>0){var d=s.italic,g=M.staticSvg(h+"Size"+(o?"2":"1"),r);s=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:g,shift:o?.08:0}]},r),a.name="\\"+h,s.classes.unshift("mop"),s.italic=d}}else if(a.body){var v=De(a.body,r,!0);v.length===1&&v[0]instanceof Qe?(s=v[0],s.classes[0]="mop"):s=M.makeSpan(["mop"],v,r)}else{for(var y=[],T=1;T{var t;if(e.symbol)t=new Ze("mo",[e0(e.name,e.mode)]),Q.contains(mo,e.name)&&t.setAttribute("largeop","false");else if(e.body)t=new Ze("mo",He(e.body,r));else{t=new Ze("mi",[new _r(e.name.slice(1))]);var u=new Ze("mo",[e0("⁡","text")]);e.parentIsSupSub?t=new Ze("mrow",[t,u]):t=$i([t,u])}return t},af={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Y({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=u;return n.length===1&&(n=af[n]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:xr,mathmlBuilder:qr});Y({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,r)=>{var{parser:t}=e,u=r[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ae(u)}},htmlBuilder:xr,mathmlBuilder:qr});var of={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Y({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:r,funcName:t}=e;return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:xr,mathmlBuilder:qr});Y({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:r,funcName:t}=e;return{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:xr,mathmlBuilder:qr});Y({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:r,funcName:t}=e,u=t;return u.length===1&&(u=of[u]),{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:u}},htmlBuilder:xr,mathmlBuilder:qr});var po=(e,r)=>{var t,u,n=!1,a;e.type==="supsub"?(t=e.sup,u=e.sub,a=ue(e.base,"operatorname"),n=!0):a=ue(e,"operatorname");var i;if(a.body.length>0){for(var o=a.body.map(d=>{var g=d.text;return typeof g=="string"?{type:"textord",mode:d.mode,text:g}:d}),s=De(o,r.withFont("mathrm"),!0),f=0;f{for(var t=He(e.body,r.withFont("mathrm")),u=!0,n=0;nh.toText()).join("");t=[new P.TextNode(o)]}var s=new P.MathNode("mi",t);s.setAttribute("mathvariant","normal");var f=new P.MathNode("mo",[e0("⁡","text")]);return e.parentIsSupSub?new P.MathNode("mrow",[s,f]):P.newDocumentFragment([s,f])};Y({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=r[0];return{type:"operatorname",mode:t.mode,body:Ae(n),alwaysHandleSupSub:u==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:po,mathmlBuilder:sf});p("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");J0({type:"ordgroup",htmlBuilder(e,r){return e.semisimple?M.makeFragment(De(e.body,r,!1)):M.makeSpan(["mord"],De(e.body,r,!0),r)},mathmlBuilder(e,r){return U0(e.body,r,!0)}});Y({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,r){var{parser:t}=e,u=r[0];return{type:"overline",mode:t.mode,body:u}},htmlBuilder(e,r){var t=oe(e.body,r.havingCrampedStyle()),u=M.makeLineSpan("overline-line",r),n=r.fontMetrics().defaultRuleThickness,a=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*n},{type:"elem",elem:u},{type:"kern",size:n}]},r);return M.makeSpan(["mord","overline"],[a],r)},mathmlBuilder(e,r){var t=new P.MathNode("mo",[new P.TextNode("‾")]);t.setAttribute("stretchy","true");var u=new P.MathNode("mover",[he(e.body,r),t]);return u.setAttribute("accent","true"),u}});Y({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,r)=>{var{parser:t}=e,u=r[0];return{type:"phantom",mode:t.mode,body:Ae(u)}},htmlBuilder:(e,r)=>{var t=De(e.body,r.withPhantom(),!1);return M.makeFragment(t)},mathmlBuilder:(e,r)=>{var t=He(e.body,r);return new P.MathNode("mphantom",t)}});Y({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,r)=>{var{parser:t}=e,u=r[0];return{type:"hphantom",mode:t.mode,body:u}},htmlBuilder:(e,r)=>{var t=M.makeSpan([],[oe(e.body,r.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var u=0;u{var t=He(Ae(e.body),r),u=new P.MathNode("mphantom",t),n=new P.MathNode("mpadded",[u]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}});Y({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,r)=>{var{parser:t}=e,u=r[0];return{type:"vphantom",mode:t.mode,body:u}},htmlBuilder:(e,r)=>{var t=M.makeSpan(["inner"],[oe(e.body,r.withPhantom())]),u=M.makeSpan(["fix"],[]);return M.makeSpan(["mord","rlap"],[t,u],r)},mathmlBuilder:(e,r)=>{var t=He(Ae(e.body),r),u=new P.MathNode("mphantom",t),n=new P.MathNode("mpadded",[u]);return n.setAttribute("width","0px"),n}});Y({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,r){var{parser:t}=e,u=ue(r[0],"size").value,n=r[1];return{type:"raisebox",mode:t.mode,dy:u,body:n}},htmlBuilder(e,r){var t=oe(e.body,r),u=ye(e.dy,r);return M.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:t}]},r)},mathmlBuilder(e,r){var t=new P.MathNode("mpadded",[he(e.body,r)]),u=e.dy.number+e.dy.unit;return t.setAttribute("voffset",u),t}});Y({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:r}=e;return{type:"internal",mode:r.mode}}});Y({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,r,t){var{parser:u}=e,n=t[0],a=ue(r[0],"size"),i=ue(r[1],"size");return{type:"rule",mode:u.mode,shift:n&&ue(n,"size").value,width:a.value,height:i.value}},htmlBuilder(e,r){var t=M.makeSpan(["mord","rule"],[],r),u=ye(e.width,r),n=ye(e.height,r),a=e.shift?ye(e.shift,r):0;return t.style.borderRightWidth=G(u),t.style.borderTopWidth=G(n),t.style.bottom=G(a),t.width=u,t.height=n+a,t.depth=-a,t.maxFontSize=n*1.125*r.sizeMultiplier,t},mathmlBuilder(e,r){var t=ye(e.width,r),u=ye(e.height,r),n=e.shift?ye(e.shift,r):0,a=r.color&&r.getColor()||"black",i=new P.MathNode("mspace");i.setAttribute("mathbackground",a),i.setAttribute("width",G(t)),i.setAttribute("height",G(u));var o=new P.MathNode("mpadded",[i]);return n>=0?o.setAttribute("height",G(n)):(o.setAttribute("height",G(n)),o.setAttribute("depth",G(-n))),o.setAttribute("voffset",G(n)),o}});function bo(e,r,t){for(var u=De(e,r,!1),n=r.sizeMultiplier/t.sizeMultiplier,a=0;a{var t=r.havingSize(e.size);return bo(e.body,t,r)};Y({type:"sizing",names:ga,props:{numArgs:0,allowedInText:!0},handler:(e,r)=>{var{breakOnTokenText:t,funcName:u,parser:n}=e,a=n.parseExpression(!1,t);return{type:"sizing",mode:n.mode,size:ga.indexOf(u)+1,body:a}},htmlBuilder:lf,mathmlBuilder:(e,r)=>{var t=r.havingSize(e.size),u=He(e.body,t),n=new P.MathNode("mstyle",u);return n.setAttribute("mathsize",G(t.sizeMultiplier)),n}});Y({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,r,t)=>{var{parser:u}=e,n=!1,a=!1,i=t[0]&&ue(t[0],"ordgroup");if(i)for(var o="",s=0;s{var t=M.makeSpan([],[oe(e.body,r)]);if(!e.smashHeight&&!e.smashDepth)return t;if(e.smashHeight&&(t.height=0,t.children))for(var u=0;u{var t=new P.MathNode("mpadded",[he(e.body,r)]);return e.smashHeight&&t.setAttribute("height","0px"),e.smashDepth&&t.setAttribute("depth","0px"),t}});Y({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,r,t){var{parser:u}=e,n=t[0],a=r[0];return{type:"sqrt",mode:u.mode,body:a,index:n}},htmlBuilder(e,r){var t=oe(e.body,r.havingCrampedStyle());t.height===0&&(t.height=r.fontMetrics().xHeight),t=M.wrapFragment(t,r);var u=r.fontMetrics(),n=u.defaultRuleThickness,a=n;r.style.idt.height+t.depth+i&&(i=(i+d-t.height-t.depth)/2);var g=s.height-t.height-i-f;t.style.paddingLeft=G(h);var v=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+g)},{type:"elem",elem:s},{type:"kern",size:f}]},r);if(e.index){var y=r.havingStyle(re.SCRIPTSCRIPT),T=oe(e.index,y,r),E=.6*(v.height-v.depth),I=M.makeVList({positionType:"shift",positionData:-E,children:[{type:"elem",elem:T}]},r),z=M.makeSpan(["root"],[I]);return M.makeSpan(["mord","sqrt"],[z,v],r)}else return M.makeSpan(["mord","sqrt"],[v],r)},mathmlBuilder(e,r){var{body:t,index:u}=e;return u?new P.MathNode("mroot",[he(t,r),he(u,r)]):new P.MathNode("msqrt",[he(t,r)])}});var xa={display:re.DISPLAY,text:re.TEXT,script:re.SCRIPT,scriptscript:re.SCRIPTSCRIPT};Y({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,r){var{breakOnTokenText:t,funcName:u,parser:n}=e,a=n.parseExpression(!0,t),i=u.slice(1,u.length-5);return{type:"styling",mode:n.mode,style:i,body:a}},htmlBuilder(e,r){var t=xa[e.style],u=r.havingStyle(t).withFont("");return bo(e.body,u,r)},mathmlBuilder(e,r){var t=xa[e.style],u=r.havingStyle(t),n=He(e.body,u),a=new P.MathNode("mstyle",n),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=i[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var cf=function(r,t){var u=r.base;if(u)if(u.type==="op"){var n=u.limits&&(t.style.size===re.DISPLAY.size||u.alwaysHandleSupSub);return n?xr:null}else if(u.type==="operatorname"){var a=u.alwaysHandleSupSub&&(t.style.size===re.DISPLAY.size||u.limits);return a?po:null}else{if(u.type==="accent")return Q.isCharacterBox(u.base)?Gu:null;if(u.type==="horizBrace"){var i=!r.sub;return i===u.isOver?fo:null}else return null}else return null};J0({type:"supsub",htmlBuilder(e,r){var t=cf(e,r);if(t)return t(e,r);var{base:u,sup:n,sub:a}=e,i=oe(u,r),o,s,f=r.fontMetrics(),h=0,d=0,g=u&&Q.isCharacterBox(u);if(n){var v=r.havingStyle(r.style.sup());o=oe(n,v,r),g||(h=i.height-v.fontMetrics().supDrop*v.sizeMultiplier/r.sizeMultiplier)}if(a){var y=r.havingStyle(r.style.sub());s=oe(a,y,r),g||(d=i.depth+y.fontMetrics().subDrop*y.sizeMultiplier/r.sizeMultiplier)}var T;r.style===re.DISPLAY?T=f.sup1:r.style.cramped?T=f.sup3:T=f.sup2;var E=r.sizeMultiplier,I=G(.5/f.ptPerEm/E),z=null;if(s){var R=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof Qe||R)&&(z=G(-i.italic))}var q;if(o&&s){h=Math.max(h,T,o.depth+.25*f.xHeight),d=Math.max(d,f.sub2);var F=f.defaultRuleThickness,O=4*F;if(h-o.depth-(s.height-d)0&&(h+=H,d-=H)}var Z=[{type:"elem",elem:s,shift:d,marginRight:I,marginLeft:z},{type:"elem",elem:o,shift:-h,marginRight:I}];q=M.makeVList({positionType:"individualShift",children:Z},r)}else if(s){d=Math.max(d,f.sub1,s.height-.8*f.xHeight);var K=[{type:"elem",elem:s,marginLeft:z,marginRight:I}];q=M.makeVList({positionType:"shift",positionData:d,children:K},r)}else if(o)h=Math.max(h,T,o.depth+.25*f.xHeight),q=M.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:o,marginRight:I}]},r);else throw new Error("supsub must have either sup or sub.");var le=wu(i,"right")||"mord";return M.makeSpan([le],[i,M.makeSpan(["msupsub"],[q])],r)},mathmlBuilder(e,r){var t=!1,u,n;e.base&&e.base.type==="horizBrace"&&(n=!!e.sup,n===e.base.isOver&&(t=!0,u=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[he(e.base,r)];e.sub&&a.push(he(e.sub,r)),e.sup&&a.push(he(e.sup,r));var i;if(t)i=u?"mover":"munder";else if(e.sub)if(e.sup){var f=e.base;f&&f.type==="op"&&f.limits&&r.style===re.DISPLAY||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(r.style===re.DISPLAY||f.limits)?i="munderover":i="msubsup"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(r.style===re.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||r.style===re.DISPLAY)?i="munder":i="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(r.style===re.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||r.style===re.DISPLAY)?i="mover":i="msup"}return new P.MathNode(i,a)}});J0({type:"atom",htmlBuilder(e,r){return M.mathsym(e.text,e.mode,r,["m"+e.family])},mathmlBuilder(e,r){var t=new P.MathNode("mo",[e0(e.text,e.mode)]);if(e.family==="bin"){var u=Vu(e,r);u==="bold-italic"&&t.setAttribute("mathvariant",u)}else e.family==="punct"?t.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&t.setAttribute("stretchy","false");return t}});var vo={mi:"italic",mn:"normal",mtext:"normal"};J0({type:"mathord",htmlBuilder(e,r){return M.makeOrd(e,r,"mathord")},mathmlBuilder(e,r){var t=new P.MathNode("mi",[e0(e.text,e.mode,r)]),u=Vu(e,r)||"italic";return u!==vo[t.type]&&t.setAttribute("mathvariant",u),t}});J0({type:"textord",htmlBuilder(e,r){return M.makeOrd(e,r,"textord")},mathmlBuilder(e,r){var t=e0(e.text,e.mode,r),u=Vu(e,r)||"normal",n;return e.mode==="text"?n=new P.MathNode("mtext",[t]):/[0-9]/.test(e.text)?n=new P.MathNode("mn",[t]):e.text==="\\prime"?n=new P.MathNode("mo",[t]):n=new P.MathNode("mi",[t]),u!==vo[n.type]&&n.setAttribute("mathvariant",u),n}});var su={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},lu={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};J0({type:"spacing",htmlBuilder(e,r){if(lu.hasOwnProperty(e.text)){var t=lu[e.text].className||"";if(e.mode==="text"){var u=M.makeOrd(e,r,"textord");return u.classes.push(t),u}else return M.makeSpan(["mspace",t],[M.mathsym(e.text,e.mode,r)],r)}else{if(su.hasOwnProperty(e.text))return M.makeSpan(["mspace",su[e.text]],[],r);throw new $('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,r){var t;if(lu.hasOwnProperty(e.text))t=new P.MathNode("mtext",[new P.TextNode(" ")]);else{if(su.hasOwnProperty(e.text))return new P.MathNode("mspace");throw new $('Unknown type of space "'+e.text+'"')}return t}});var ya=()=>{var e=new P.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};J0({type:"tag",mathmlBuilder(e,r){var t=new P.MathNode("mtable",[new P.MathNode("mtr",[ya(),new P.MathNode("mtd",[U0(e.body,r)]),ya(),new P.MathNode("mtd",[U0(e.tag,r)])])]);return t.setAttribute("width","100%"),t}});var wa={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ka={"\\textbf":"textbf","\\textmd":"textmd"},ff={"\\textit":"textit","\\textup":"textup"},Sa=(e,r)=>{var t=e.font;return t?wa[t]?r.withTextFontFamily(wa[t]):ka[t]?r.withTextFontWeight(ka[t]):r.withTextFontShape(ff[t]):r};Y({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,r){var{parser:t,funcName:u}=e,n=r[0];return{type:"text",mode:t.mode,body:Ae(n),font:u}},htmlBuilder(e,r){var t=Sa(e,r),u=De(e.body,t,!0);return M.makeSpan(["mord","text"],u,t)},mathmlBuilder(e,r){var t=Sa(e,r);return U0(e.body,t)}});Y({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,r){var{parser:t}=e;return{type:"underline",mode:t.mode,body:r[0]}},htmlBuilder(e,r){var t=oe(e.body,r),u=M.makeLineSpan("underline-line",r),n=r.fontMetrics().defaultRuleThickness,a=M.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:n},{type:"elem",elem:u},{type:"kern",size:3*n},{type:"elem",elem:t}]},r);return M.makeSpan(["mord","underline"],[a],r)},mathmlBuilder(e,r){var t=new P.MathNode("mo",[new P.TextNode("‾")]);t.setAttribute("stretchy","true");var u=new P.MathNode("munder",[he(e.body,r),t]);return u.setAttribute("accentunder","true"),u}});Y({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,r){var{parser:t}=e;return{type:"vcenter",mode:t.mode,body:r[0]}},htmlBuilder(e,r){var t=oe(e.body,r),u=r.fontMetrics().axisHeight,n=.5*(t.height-u-(t.depth+u));return M.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:t}]},r)},mathmlBuilder(e,r){return new P.MathNode("mpadded",[he(e.body,r)],["vcenter"])}});Y({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,r,t){throw new $("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,r){for(var t=Aa(e),u=[],n=r.havingStyle(r.style.text()),a=0;ae.body.replace(/ /g,e.star?"␣":" "),L0=Pi,go=`[ \r +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class Lr{constructor(r){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=r,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(r){return Q.contains(this.classes,r)}toNode(){for(var r=document.createDocumentFragment(),t=0;tt.toText();return this.children.map(r).join("")}}var s0={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Kr={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Kn={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function e4(e,r){s0[e]=r}function qu(e,r,t){if(!s0[r])throw new Error("Font metrics not found for font: "+r+".");var u=e.charCodeAt(0),n=s0[r][u];if(!n&&e[0]in Kn&&(u=Kn[e[0]].charCodeAt(0),n=s0[r][u]),!n&&t==="text"&&Ti(u)&&(n=s0[r][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var Kt={};function r4(e){var r;if(e>=5?r=0:e>=3?r=1:r=2,!Kt[r]){var t=Kt[r]={cssEmPerMu:Kr.quad[r]/18};for(var u in Kr)Kr.hasOwnProperty(u)&&(t[u]=Kr[u][r])}return Kt[r]}var t4=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Jn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Qn=function(r,t){return t.size<2?r:t4[r-1][t.size-1]};class y0{constructor(r){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=r.style,this.color=r.color,this.size=r.size||y0.BASESIZE,this.textSize=r.textSize||this.size,this.phantom=!!r.phantom,this.font=r.font||"",this.fontFamily=r.fontFamily||"",this.fontWeight=r.fontWeight||"",this.fontShape=r.fontShape||"",this.sizeMultiplier=Jn[this.size-1],this.maxSize=r.maxSize,this.minRuleThickness=r.minRuleThickness,this._fontMetrics=void 0}extend(r){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var u in r)r.hasOwnProperty(u)&&(t[u]=r[u]);return new y0(t)}havingStyle(r){return this.style===r?this:this.extend({style:r,size:Qn(this.textSize,r)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(r){return this.size===r&&this.textSize===r?this:this.extend({style:this.style.text(),size:r,textSize:r,sizeMultiplier:Jn[r-1]})}havingBaseStyle(r){r=r||this.style.text();var t=Qn(y0.BASESIZE,r);return this.size===t&&this.textSize===y0.BASESIZE&&this.style===r?this:this.extend({style:r,size:t})}havingBaseSizing(){var r;switch(this.style.id){case 4:case 5:r=3;break;case 6:case 7:r=1;break;default:r=6}return this.extend({style:this.style.text(),size:r})}withColor(r){return this.extend({color:r})}withPhantom(){return this.extend({phantom:!0})}withFont(r){return this.extend({font:r})}withTextFontFamily(r){return this.extend({fontFamily:r,font:""})}withTextFontWeight(r){return this.extend({fontWeight:r,font:""})}withTextFontShape(r){return this.extend({fontShape:r,font:""})}sizingClasses(r){return r.size!==this.size?["sizing","reset-size"+r.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==y0.BASESIZE?["sizing","reset-size"+this.size,"size"+y0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=r4(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}y0.BASESIZE=6;var gu={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},u4={ex:!0,em:!0,mu:!0},Mi=function(r){return typeof r!="string"&&(r=r.unit),r in gu||r in u4||r==="ex"},ye=function(r,t){var u;if(r.unit in gu)u=gu[r.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(r.unit==="mu")u=t.fontMetrics().cssEmPerMu;else{var n;if(t.style.isTight()?n=t.havingStyle(t.style.text()):n=t,r.unit==="ex")u=n.fontMetrics().xHeight;else if(r.unit==="em")u=n.fontMetrics().quad;else throw new $("Invalid unit: '"+r.unit+"'");n!==t&&(u*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(r.number*u,t.maxSize)},G=function(r){return+r.toFixed(4)+"em"},$0=function(r){return r.filter(t=>t).join(" ")},Fi=function(r,t,u){if(this.classes=r||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=u||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},zi=function(r){var t=document.createElement(r);t.className=$0(this.classes);for(var u in this.style)this.style.hasOwnProperty(u)&&(t.style[u]=this.style[u]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(var a=0;a",t};class Pr{constructor(r,t,u,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Fi.call(this,r,u,n),this.children=t||[]}setAttribute(r,t){this.attributes[r]=t}hasClass(r){return Q.contains(this.classes,r)}toNode(){return zi.call(this,"span")}toMarkup(){return Ii.call(this,"span")}}class $u{constructor(r,t,u,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Fi.call(this,t,n),this.children=u||[],this.setAttribute("href",r)}setAttribute(r,t){this.attributes[r]=t}hasClass(r){return Q.contains(this.classes,r)}toNode(){return zi.call(this,"a")}toMarkup(){return Ii.call(this,"a")}}class n4{constructor(r,t,u){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=r,this.classes=["mord"],this.style=u}hasClass(r){return Q.contains(this.classes,r)}toNode(){var r=document.createElement("img");r.src=this.src,r.alt=this.alt,r.className="mord";for(var t in this.style)this.style.hasOwnProperty(t)&&(r.style[t]=this.style[t]);return r}toMarkup(){var r=''+Q.escape(this.alt)+'0&&(t=document.createElement("span"),t.style.marginRight=G(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=$0(this.classes));for(var u in this.style)this.style.hasOwnProperty(u)&&(t=t||document.createElement("span"),t.style[u]=this.style[u]);return t?(t.appendChild(r),t):r}toMarkup(){var r=!1,t="0&&(u+="margin-right:"+this.italic+"em;");for(var n in this.style)this.style.hasOwnProperty(n)&&(u+=Q.hyphenate(n)+":"+this.style[n]+";");u&&(r=!0,t+=' style="'+Q.escape(u)+'"');var a=Q.escape(this.text);return r?(t+=">",t+=a,t+="",t):a}}class A0{constructor(r,t){this.children=void 0,this.attributes=void 0,this.children=r||[],this.attributes=t||{}}toNode(){var r="http://www.w3.org/2000/svg",t=document.createElementNS(r,"svg");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&t.setAttribute(u,this.attributes[u]);for(var n=0;n':''}}class xu{constructor(r){this.attributes=void 0,this.attributes=r||{}}toNode(){var r="http://www.w3.org/2000/svg",t=document.createElementNS(r,"line");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&t.setAttribute(u,this.attributes[u]);return t}toMarkup(){var r=" but got "+String(e)+".")}var o4={bin:1,close:1,inner:1,open:1,punct:1,rel:1},l4={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},be={math:{},text:{}};function s(e,r,t,u,n,a){be[e][n]={font:r,group:t,replace:u},a&&u&&(be[e][u]=be[e][n])}var c="math",N="text",m="main",w="ams",ge="accent-token",W="bin",Oe="close",gr="inner",ee="mathord",Ee="op-token",Ge="open",Ct="punct",k="rel",E0="spacing",A="textord";s(c,m,k,"≡","\\equiv",!0);s(c,m,k,"≺","\\prec",!0);s(c,m,k,"≻","\\succ",!0);s(c,m,k,"∼","\\sim",!0);s(c,m,k,"⊥","\\perp");s(c,m,k,"⪯","\\preceq",!0);s(c,m,k,"⪰","\\succeq",!0);s(c,m,k,"≃","\\simeq",!0);s(c,m,k,"∣","\\mid",!0);s(c,m,k,"≪","\\ll",!0);s(c,m,k,"≫","\\gg",!0);s(c,m,k,"≍","\\asymp",!0);s(c,m,k,"∥","\\parallel");s(c,m,k,"⋈","\\bowtie",!0);s(c,m,k,"⌣","\\smile",!0);s(c,m,k,"⊑","\\sqsubseteq",!0);s(c,m,k,"⊒","\\sqsupseteq",!0);s(c,m,k,"≐","\\doteq",!0);s(c,m,k,"⌢","\\frown",!0);s(c,m,k,"∋","\\ni",!0);s(c,m,k,"∝","\\propto",!0);s(c,m,k,"⊢","\\vdash",!0);s(c,m,k,"⊣","\\dashv",!0);s(c,m,k,"∋","\\owns");s(c,m,Ct,".","\\ldotp");s(c,m,Ct,"⋅","\\cdotp");s(c,m,A,"#","\\#");s(N,m,A,"#","\\#");s(c,m,A,"&","\\&");s(N,m,A,"&","\\&");s(c,m,A,"ℵ","\\aleph",!0);s(c,m,A,"∀","\\forall",!0);s(c,m,A,"ℏ","\\hbar",!0);s(c,m,A,"∃","\\exists",!0);s(c,m,A,"∇","\\nabla",!0);s(c,m,A,"♭","\\flat",!0);s(c,m,A,"ℓ","\\ell",!0);s(c,m,A,"♮","\\natural",!0);s(c,m,A,"♣","\\clubsuit",!0);s(c,m,A,"℘","\\wp",!0);s(c,m,A,"♯","\\sharp",!0);s(c,m,A,"♢","\\diamondsuit",!0);s(c,m,A,"ℜ","\\Re",!0);s(c,m,A,"♡","\\heartsuit",!0);s(c,m,A,"ℑ","\\Im",!0);s(c,m,A,"♠","\\spadesuit",!0);s(c,m,A,"§","\\S",!0);s(N,m,A,"§","\\S");s(c,m,A,"¶","\\P",!0);s(N,m,A,"¶","\\P");s(c,m,A,"†","\\dag");s(N,m,A,"†","\\dag");s(N,m,A,"†","\\textdagger");s(c,m,A,"‡","\\ddag");s(N,m,A,"‡","\\ddag");s(N,m,A,"‡","\\textdaggerdbl");s(c,m,Oe,"⎱","\\rmoustache",!0);s(c,m,Ge,"⎰","\\lmoustache",!0);s(c,m,Oe,"⟯","\\rgroup",!0);s(c,m,Ge,"⟮","\\lgroup",!0);s(c,m,W,"∓","\\mp",!0);s(c,m,W,"⊖","\\ominus",!0);s(c,m,W,"⊎","\\uplus",!0);s(c,m,W,"⊓","\\sqcap",!0);s(c,m,W,"∗","\\ast");s(c,m,W,"⊔","\\sqcup",!0);s(c,m,W,"◯","\\bigcirc",!0);s(c,m,W,"∙","\\bullet",!0);s(c,m,W,"‡","\\ddagger");s(c,m,W,"≀","\\wr",!0);s(c,m,W,"⨿","\\amalg");s(c,m,W,"&","\\And");s(c,m,k,"⟵","\\longleftarrow",!0);s(c,m,k,"⇐","\\Leftarrow",!0);s(c,m,k,"⟸","\\Longleftarrow",!0);s(c,m,k,"⟶","\\longrightarrow",!0);s(c,m,k,"⇒","\\Rightarrow",!0);s(c,m,k,"⟹","\\Longrightarrow",!0);s(c,m,k,"↔","\\leftrightarrow",!0);s(c,m,k,"⟷","\\longleftrightarrow",!0);s(c,m,k,"⇔","\\Leftrightarrow",!0);s(c,m,k,"⟺","\\Longleftrightarrow",!0);s(c,m,k,"↦","\\mapsto",!0);s(c,m,k,"⟼","\\longmapsto",!0);s(c,m,k,"↗","\\nearrow",!0);s(c,m,k,"↩","\\hookleftarrow",!0);s(c,m,k,"↪","\\hookrightarrow",!0);s(c,m,k,"↘","\\searrow",!0);s(c,m,k,"↼","\\leftharpoonup",!0);s(c,m,k,"⇀","\\rightharpoonup",!0);s(c,m,k,"↙","\\swarrow",!0);s(c,m,k,"↽","\\leftharpoondown",!0);s(c,m,k,"⇁","\\rightharpoondown",!0);s(c,m,k,"↖","\\nwarrow",!0);s(c,m,k,"⇌","\\rightleftharpoons",!0);s(c,w,k,"≮","\\nless",!0);s(c,w,k,"","\\@nleqslant");s(c,w,k,"","\\@nleqq");s(c,w,k,"⪇","\\lneq",!0);s(c,w,k,"≨","\\lneqq",!0);s(c,w,k,"","\\@lvertneqq");s(c,w,k,"⋦","\\lnsim",!0);s(c,w,k,"⪉","\\lnapprox",!0);s(c,w,k,"⊀","\\nprec",!0);s(c,w,k,"⋠","\\npreceq",!0);s(c,w,k,"⋨","\\precnsim",!0);s(c,w,k,"⪹","\\precnapprox",!0);s(c,w,k,"≁","\\nsim",!0);s(c,w,k,"","\\@nshortmid");s(c,w,k,"∤","\\nmid",!0);s(c,w,k,"⊬","\\nvdash",!0);s(c,w,k,"⊭","\\nvDash",!0);s(c,w,k,"⋪","\\ntriangleleft");s(c,w,k,"⋬","\\ntrianglelefteq",!0);s(c,w,k,"⊊","\\subsetneq",!0);s(c,w,k,"","\\@varsubsetneq");s(c,w,k,"⫋","\\subsetneqq",!0);s(c,w,k,"","\\@varsubsetneqq");s(c,w,k,"≯","\\ngtr",!0);s(c,w,k,"","\\@ngeqslant");s(c,w,k,"","\\@ngeqq");s(c,w,k,"⪈","\\gneq",!0);s(c,w,k,"≩","\\gneqq",!0);s(c,w,k,"","\\@gvertneqq");s(c,w,k,"⋧","\\gnsim",!0);s(c,w,k,"⪊","\\gnapprox",!0);s(c,w,k,"⊁","\\nsucc",!0);s(c,w,k,"⋡","\\nsucceq",!0);s(c,w,k,"⋩","\\succnsim",!0);s(c,w,k,"⪺","\\succnapprox",!0);s(c,w,k,"≆","\\ncong",!0);s(c,w,k,"","\\@nshortparallel");s(c,w,k,"∦","\\nparallel",!0);s(c,w,k,"⊯","\\nVDash",!0);s(c,w,k,"⋫","\\ntriangleright");s(c,w,k,"⋭","\\ntrianglerighteq",!0);s(c,w,k,"","\\@nsupseteqq");s(c,w,k,"⊋","\\supsetneq",!0);s(c,w,k,"","\\@varsupsetneq");s(c,w,k,"⫌","\\supsetneqq",!0);s(c,w,k,"","\\@varsupsetneqq");s(c,w,k,"⊮","\\nVdash",!0);s(c,w,k,"⪵","\\precneqq",!0);s(c,w,k,"⪶","\\succneqq",!0);s(c,w,k,"","\\@nsubseteqq");s(c,w,W,"⊴","\\unlhd");s(c,w,W,"⊵","\\unrhd");s(c,w,k,"↚","\\nleftarrow",!0);s(c,w,k,"↛","\\nrightarrow",!0);s(c,w,k,"⇍","\\nLeftarrow",!0);s(c,w,k,"⇏","\\nRightarrow",!0);s(c,w,k,"↮","\\nleftrightarrow",!0);s(c,w,k,"⇎","\\nLeftrightarrow",!0);s(c,w,k,"△","\\vartriangle");s(c,w,A,"ℏ","\\hslash");s(c,w,A,"▽","\\triangledown");s(c,w,A,"◊","\\lozenge");s(c,w,A,"Ⓢ","\\circledS");s(c,w,A,"®","\\circledR");s(N,w,A,"®","\\circledR");s(c,w,A,"∡","\\measuredangle",!0);s(c,w,A,"∄","\\nexists");s(c,w,A,"℧","\\mho");s(c,w,A,"Ⅎ","\\Finv",!0);s(c,w,A,"⅁","\\Game",!0);s(c,w,A,"‵","\\backprime");s(c,w,A,"▲","\\blacktriangle");s(c,w,A,"▼","\\blacktriangledown");s(c,w,A,"■","\\blacksquare");s(c,w,A,"⧫","\\blacklozenge");s(c,w,A,"★","\\bigstar");s(c,w,A,"∢","\\sphericalangle",!0);s(c,w,A,"∁","\\complement",!0);s(c,w,A,"ð","\\eth",!0);s(N,m,A,"ð","ð");s(c,w,A,"╱","\\diagup");s(c,w,A,"╲","\\diagdown");s(c,w,A,"□","\\square");s(c,w,A,"□","\\Box");s(c,w,A,"◊","\\Diamond");s(c,w,A,"¥","\\yen",!0);s(N,w,A,"¥","\\yen",!0);s(c,w,A,"✓","\\checkmark",!0);s(N,w,A,"✓","\\checkmark");s(c,w,A,"ℶ","\\beth",!0);s(c,w,A,"ℸ","\\daleth",!0);s(c,w,A,"ℷ","\\gimel",!0);s(c,w,A,"ϝ","\\digamma",!0);s(c,w,A,"ϰ","\\varkappa");s(c,w,Ge,"┌","\\@ulcorner",!0);s(c,w,Oe,"┐","\\@urcorner",!0);s(c,w,Ge,"└","\\@llcorner",!0);s(c,w,Oe,"┘","\\@lrcorner",!0);s(c,w,k,"≦","\\leqq",!0);s(c,w,k,"⩽","\\leqslant",!0);s(c,w,k,"⪕","\\eqslantless",!0);s(c,w,k,"≲","\\lesssim",!0);s(c,w,k,"⪅","\\lessapprox",!0);s(c,w,k,"≊","\\approxeq",!0);s(c,w,W,"⋖","\\lessdot");s(c,w,k,"⋘","\\lll",!0);s(c,w,k,"≶","\\lessgtr",!0);s(c,w,k,"⋚","\\lesseqgtr",!0);s(c,w,k,"⪋","\\lesseqqgtr",!0);s(c,w,k,"≑","\\doteqdot");s(c,w,k,"≓","\\risingdotseq",!0);s(c,w,k,"≒","\\fallingdotseq",!0);s(c,w,k,"∽","\\backsim",!0);s(c,w,k,"⋍","\\backsimeq",!0);s(c,w,k,"⫅","\\subseteqq",!0);s(c,w,k,"⋐","\\Subset",!0);s(c,w,k,"⊏","\\sqsubset",!0);s(c,w,k,"≼","\\preccurlyeq",!0);s(c,w,k,"⋞","\\curlyeqprec",!0);s(c,w,k,"≾","\\precsim",!0);s(c,w,k,"⪷","\\precapprox",!0);s(c,w,k,"⊲","\\vartriangleleft");s(c,w,k,"⊴","\\trianglelefteq");s(c,w,k,"⊨","\\vDash",!0);s(c,w,k,"⊪","\\Vvdash",!0);s(c,w,k,"⌣","\\smallsmile");s(c,w,k,"⌢","\\smallfrown");s(c,w,k,"≏","\\bumpeq",!0);s(c,w,k,"≎","\\Bumpeq",!0);s(c,w,k,"≧","\\geqq",!0);s(c,w,k,"⩾","\\geqslant",!0);s(c,w,k,"⪖","\\eqslantgtr",!0);s(c,w,k,"≳","\\gtrsim",!0);s(c,w,k,"⪆","\\gtrapprox",!0);s(c,w,W,"⋗","\\gtrdot");s(c,w,k,"⋙","\\ggg",!0);s(c,w,k,"≷","\\gtrless",!0);s(c,w,k,"⋛","\\gtreqless",!0);s(c,w,k,"⪌","\\gtreqqless",!0);s(c,w,k,"≖","\\eqcirc",!0);s(c,w,k,"≗","\\circeq",!0);s(c,w,k,"≜","\\triangleq",!0);s(c,w,k,"∼","\\thicksim");s(c,w,k,"≈","\\thickapprox");s(c,w,k,"⫆","\\supseteqq",!0);s(c,w,k,"⋑","\\Supset",!0);s(c,w,k,"⊐","\\sqsupset",!0);s(c,w,k,"≽","\\succcurlyeq",!0);s(c,w,k,"⋟","\\curlyeqsucc",!0);s(c,w,k,"≿","\\succsim",!0);s(c,w,k,"⪸","\\succapprox",!0);s(c,w,k,"⊳","\\vartriangleright");s(c,w,k,"⊵","\\trianglerighteq");s(c,w,k,"⊩","\\Vdash",!0);s(c,w,k,"∣","\\shortmid");s(c,w,k,"∥","\\shortparallel");s(c,w,k,"≬","\\between",!0);s(c,w,k,"⋔","\\pitchfork",!0);s(c,w,k,"∝","\\varpropto");s(c,w,k,"◀","\\blacktriangleleft");s(c,w,k,"∴","\\therefore",!0);s(c,w,k,"∍","\\backepsilon");s(c,w,k,"▶","\\blacktriangleright");s(c,w,k,"∵","\\because",!0);s(c,w,k,"⋘","\\llless");s(c,w,k,"⋙","\\gggtr");s(c,w,W,"⊲","\\lhd");s(c,w,W,"⊳","\\rhd");s(c,w,k,"≂","\\eqsim",!0);s(c,m,k,"⋈","\\Join");s(c,w,k,"≑","\\Doteq",!0);s(c,w,W,"∔","\\dotplus",!0);s(c,w,W,"∖","\\smallsetminus");s(c,w,W,"⋒","\\Cap",!0);s(c,w,W,"⋓","\\Cup",!0);s(c,w,W,"⩞","\\doublebarwedge",!0);s(c,w,W,"⊟","\\boxminus",!0);s(c,w,W,"⊞","\\boxplus",!0);s(c,w,W,"⋇","\\divideontimes",!0);s(c,w,W,"⋉","\\ltimes",!0);s(c,w,W,"⋊","\\rtimes",!0);s(c,w,W,"⋋","\\leftthreetimes",!0);s(c,w,W,"⋌","\\rightthreetimes",!0);s(c,w,W,"⋏","\\curlywedge",!0);s(c,w,W,"⋎","\\curlyvee",!0);s(c,w,W,"⊝","\\circleddash",!0);s(c,w,W,"⊛","\\circledast",!0);s(c,w,W,"⋅","\\centerdot");s(c,w,W,"⊺","\\intercal",!0);s(c,w,W,"⋒","\\doublecap");s(c,w,W,"⋓","\\doublecup");s(c,w,W,"⊠","\\boxtimes",!0);s(c,w,k,"⇢","\\dashrightarrow",!0);s(c,w,k,"⇠","\\dashleftarrow",!0);s(c,w,k,"⇇","\\leftleftarrows",!0);s(c,w,k,"⇆","\\leftrightarrows",!0);s(c,w,k,"⇚","\\Lleftarrow",!0);s(c,w,k,"↞","\\twoheadleftarrow",!0);s(c,w,k,"↢","\\leftarrowtail",!0);s(c,w,k,"↫","\\looparrowleft",!0);s(c,w,k,"⇋","\\leftrightharpoons",!0);s(c,w,k,"↶","\\curvearrowleft",!0);s(c,w,k,"↺","\\circlearrowleft",!0);s(c,w,k,"↰","\\Lsh",!0);s(c,w,k,"⇈","\\upuparrows",!0);s(c,w,k,"↿","\\upharpoonleft",!0);s(c,w,k,"⇃","\\downharpoonleft",!0);s(c,m,k,"⊶","\\origof",!0);s(c,m,k,"⊷","\\imageof",!0);s(c,w,k,"⊸","\\multimap",!0);s(c,w,k,"↭","\\leftrightsquigarrow",!0);s(c,w,k,"⇉","\\rightrightarrows",!0);s(c,w,k,"⇄","\\rightleftarrows",!0);s(c,w,k,"↠","\\twoheadrightarrow",!0);s(c,w,k,"↣","\\rightarrowtail",!0);s(c,w,k,"↬","\\looparrowright",!0);s(c,w,k,"↷","\\curvearrowright",!0);s(c,w,k,"↻","\\circlearrowright",!0);s(c,w,k,"↱","\\Rsh",!0);s(c,w,k,"⇊","\\downdownarrows",!0);s(c,w,k,"↾","\\upharpoonright",!0);s(c,w,k,"⇂","\\downharpoonright",!0);s(c,w,k,"⇝","\\rightsquigarrow",!0);s(c,w,k,"⇝","\\leadsto");s(c,w,k,"⇛","\\Rrightarrow",!0);s(c,w,k,"↾","\\restriction");s(c,m,A,"‘","`");s(c,m,A,"$","\\$");s(N,m,A,"$","\\$");s(N,m,A,"$","\\textdollar");s(c,m,A,"%","\\%");s(N,m,A,"%","\\%");s(c,m,A,"_","\\_");s(N,m,A,"_","\\_");s(N,m,A,"_","\\textunderscore");s(c,m,A,"∠","\\angle",!0);s(c,m,A,"∞","\\infty",!0);s(c,m,A,"′","\\prime");s(c,m,A,"△","\\triangle");s(c,m,A,"Γ","\\Gamma",!0);s(c,m,A,"Δ","\\Delta",!0);s(c,m,A,"Θ","\\Theta",!0);s(c,m,A,"Λ","\\Lambda",!0);s(c,m,A,"Ξ","\\Xi",!0);s(c,m,A,"Π","\\Pi",!0);s(c,m,A,"Σ","\\Sigma",!0);s(c,m,A,"Υ","\\Upsilon",!0);s(c,m,A,"Φ","\\Phi",!0);s(c,m,A,"Ψ","\\Psi",!0);s(c,m,A,"Ω","\\Omega",!0);s(c,m,A,"A","Α");s(c,m,A,"B","Β");s(c,m,A,"E","Ε");s(c,m,A,"Z","Ζ");s(c,m,A,"H","Η");s(c,m,A,"I","Ι");s(c,m,A,"K","Κ");s(c,m,A,"M","Μ");s(c,m,A,"N","Ν");s(c,m,A,"O","Ο");s(c,m,A,"P","Ρ");s(c,m,A,"T","Τ");s(c,m,A,"X","Χ");s(c,m,A,"¬","\\neg",!0);s(c,m,A,"¬","\\lnot");s(c,m,A,"⊤","\\top");s(c,m,A,"⊥","\\bot");s(c,m,A,"∅","\\emptyset");s(c,w,A,"∅","\\varnothing");s(c,m,ee,"α","\\alpha",!0);s(c,m,ee,"β","\\beta",!0);s(c,m,ee,"γ","\\gamma",!0);s(c,m,ee,"δ","\\delta",!0);s(c,m,ee,"ϵ","\\epsilon",!0);s(c,m,ee,"ζ","\\zeta",!0);s(c,m,ee,"η","\\eta",!0);s(c,m,ee,"θ","\\theta",!0);s(c,m,ee,"ι","\\iota",!0);s(c,m,ee,"κ","\\kappa",!0);s(c,m,ee,"λ","\\lambda",!0);s(c,m,ee,"μ","\\mu",!0);s(c,m,ee,"ν","\\nu",!0);s(c,m,ee,"ξ","\\xi",!0);s(c,m,ee,"ο","\\omicron",!0);s(c,m,ee,"π","\\pi",!0);s(c,m,ee,"ρ","\\rho",!0);s(c,m,ee,"σ","\\sigma",!0);s(c,m,ee,"τ","\\tau",!0);s(c,m,ee,"υ","\\upsilon",!0);s(c,m,ee,"ϕ","\\phi",!0);s(c,m,ee,"χ","\\chi",!0);s(c,m,ee,"ψ","\\psi",!0);s(c,m,ee,"ω","\\omega",!0);s(c,m,ee,"ε","\\varepsilon",!0);s(c,m,ee,"ϑ","\\vartheta",!0);s(c,m,ee,"ϖ","\\varpi",!0);s(c,m,ee,"ϱ","\\varrho",!0);s(c,m,ee,"ς","\\varsigma",!0);s(c,m,ee,"φ","\\varphi",!0);s(c,m,W,"∗","*",!0);s(c,m,W,"+","+");s(c,m,W,"−","-",!0);s(c,m,W,"⋅","\\cdot",!0);s(c,m,W,"∘","\\circ",!0);s(c,m,W,"÷","\\div",!0);s(c,m,W,"±","\\pm",!0);s(c,m,W,"×","\\times",!0);s(c,m,W,"∩","\\cap",!0);s(c,m,W,"∪","\\cup",!0);s(c,m,W,"∖","\\setminus",!0);s(c,m,W,"∧","\\land");s(c,m,W,"∨","\\lor");s(c,m,W,"∧","\\wedge",!0);s(c,m,W,"∨","\\vee",!0);s(c,m,A,"√","\\surd");s(c,m,Ge,"⟨","\\langle",!0);s(c,m,Ge,"∣","\\lvert");s(c,m,Ge,"∥","\\lVert");s(c,m,Oe,"?","?");s(c,m,Oe,"!","!");s(c,m,Oe,"⟩","\\rangle",!0);s(c,m,Oe,"∣","\\rvert");s(c,m,Oe,"∥","\\rVert");s(c,m,k,"=","=");s(c,m,k,":",":");s(c,m,k,"≈","\\approx",!0);s(c,m,k,"≅","\\cong",!0);s(c,m,k,"≥","\\ge");s(c,m,k,"≥","\\geq",!0);s(c,m,k,"←","\\gets");s(c,m,k,">","\\gt",!0);s(c,m,k,"∈","\\in",!0);s(c,m,k,"","\\@not");s(c,m,k,"⊂","\\subset",!0);s(c,m,k,"⊃","\\supset",!0);s(c,m,k,"⊆","\\subseteq",!0);s(c,m,k,"⊇","\\supseteq",!0);s(c,w,k,"⊈","\\nsubseteq",!0);s(c,w,k,"⊉","\\nsupseteq",!0);s(c,m,k,"⊨","\\models");s(c,m,k,"←","\\leftarrow",!0);s(c,m,k,"≤","\\le");s(c,m,k,"≤","\\leq",!0);s(c,m,k,"<","\\lt",!0);s(c,m,k,"→","\\rightarrow",!0);s(c,m,k,"→","\\to");s(c,w,k,"≱","\\ngeq",!0);s(c,w,k,"≰","\\nleq",!0);s(c,m,E0," ","\\ ");s(c,m,E0," ","\\space");s(c,m,E0," ","\\nobreakspace");s(N,m,E0," ","\\ ");s(N,m,E0," "," ");s(N,m,E0," ","\\space");s(N,m,E0," ","\\nobreakspace");s(c,m,E0,null,"\\nobreak");s(c,m,E0,null,"\\allowbreak");s(c,m,Ct,",",",");s(c,m,Ct,";",";");s(c,w,W,"⊼","\\barwedge",!0);s(c,w,W,"⊻","\\veebar",!0);s(c,m,W,"⊙","\\odot",!0);s(c,m,W,"⊕","\\oplus",!0);s(c,m,W,"⊗","\\otimes",!0);s(c,m,A,"∂","\\partial",!0);s(c,m,W,"⊘","\\oslash",!0);s(c,w,W,"⊚","\\circledcirc",!0);s(c,w,W,"⊡","\\boxdot",!0);s(c,m,W,"△","\\bigtriangleup");s(c,m,W,"▽","\\bigtriangledown");s(c,m,W,"†","\\dagger");s(c,m,W,"⋄","\\diamond");s(c,m,W,"⋆","\\star");s(c,m,W,"◃","\\triangleleft");s(c,m,W,"▹","\\triangleright");s(c,m,Ge,"{","\\{");s(N,m,A,"{","\\{");s(N,m,A,"{","\\textbraceleft");s(c,m,Oe,"}","\\}");s(N,m,A,"}","\\}");s(N,m,A,"}","\\textbraceright");s(c,m,Ge,"{","\\lbrace");s(c,m,Oe,"}","\\rbrace");s(c,m,Ge,"[","\\lbrack",!0);s(N,m,A,"[","\\lbrack",!0);s(c,m,Oe,"]","\\rbrack",!0);s(N,m,A,"]","\\rbrack",!0);s(c,m,Ge,"(","\\lparen",!0);s(c,m,Oe,")","\\rparen",!0);s(N,m,A,"<","\\textless",!0);s(N,m,A,">","\\textgreater",!0);s(c,m,Ge,"⌊","\\lfloor",!0);s(c,m,Oe,"⌋","\\rfloor",!0);s(c,m,Ge,"⌈","\\lceil",!0);s(c,m,Oe,"⌉","\\rceil",!0);s(c,m,A,"\\","\\backslash");s(c,m,A,"∣","|");s(c,m,A,"∣","\\vert");s(N,m,A,"|","\\textbar",!0);s(c,m,A,"∥","\\|");s(c,m,A,"∥","\\Vert");s(N,m,A,"∥","\\textbardbl");s(N,m,A,"~","\\textasciitilde");s(N,m,A,"\\","\\textbackslash");s(N,m,A,"^","\\textasciicircum");s(c,m,k,"↑","\\uparrow",!0);s(c,m,k,"⇑","\\Uparrow",!0);s(c,m,k,"↓","\\downarrow",!0);s(c,m,k,"⇓","\\Downarrow",!0);s(c,m,k,"↕","\\updownarrow",!0);s(c,m,k,"⇕","\\Updownarrow",!0);s(c,m,Ee,"∐","\\coprod");s(c,m,Ee,"⋁","\\bigvee");s(c,m,Ee,"⋀","\\bigwedge");s(c,m,Ee,"⨄","\\biguplus");s(c,m,Ee,"⋂","\\bigcap");s(c,m,Ee,"⋃","\\bigcup");s(c,m,Ee,"∫","\\int");s(c,m,Ee,"∫","\\intop");s(c,m,Ee,"∬","\\iint");s(c,m,Ee,"∭","\\iiint");s(c,m,Ee,"∏","\\prod");s(c,m,Ee,"∑","\\sum");s(c,m,Ee,"⨂","\\bigotimes");s(c,m,Ee,"⨁","\\bigoplus");s(c,m,Ee,"⨀","\\bigodot");s(c,m,Ee,"∮","\\oint");s(c,m,Ee,"∯","\\oiint");s(c,m,Ee,"∰","\\oiiint");s(c,m,Ee,"⨆","\\bigsqcup");s(c,m,Ee,"∫","\\smallint");s(N,m,gr,"…","\\textellipsis");s(c,m,gr,"…","\\mathellipsis");s(N,m,gr,"…","\\ldots",!0);s(c,m,gr,"…","\\ldots",!0);s(c,m,gr,"⋯","\\@cdots",!0);s(c,m,gr,"⋱","\\ddots",!0);s(c,m,A,"⋮","\\varvdots");s(c,m,ge,"ˊ","\\acute");s(c,m,ge,"ˋ","\\grave");s(c,m,ge,"¨","\\ddot");s(c,m,ge,"~","\\tilde");s(c,m,ge,"ˉ","\\bar");s(c,m,ge,"˘","\\breve");s(c,m,ge,"ˇ","\\check");s(c,m,ge,"^","\\hat");s(c,m,ge,"⃗","\\vec");s(c,m,ge,"˙","\\dot");s(c,m,ge,"˚","\\mathring");s(c,m,ee,"","\\@imath");s(c,m,ee,"","\\@jmath");s(c,m,A,"ı","ı");s(c,m,A,"ȷ","ȷ");s(N,m,A,"ı","\\i",!0);s(N,m,A,"ȷ","\\j",!0);s(N,m,A,"ß","\\ss",!0);s(N,m,A,"æ","\\ae",!0);s(N,m,A,"œ","\\oe",!0);s(N,m,A,"ø","\\o",!0);s(N,m,A,"Æ","\\AE",!0);s(N,m,A,"Œ","\\OE",!0);s(N,m,A,"Ø","\\O",!0);s(N,m,ge,"ˊ","\\'");s(N,m,ge,"ˋ","\\`");s(N,m,ge,"ˆ","\\^");s(N,m,ge,"˜","\\~");s(N,m,ge,"ˉ","\\=");s(N,m,ge,"˘","\\u");s(N,m,ge,"˙","\\.");s(N,m,ge,"¸","\\c");s(N,m,ge,"˚","\\r");s(N,m,ge,"ˇ","\\v");s(N,m,ge,"¨",'\\"');s(N,m,ge,"˝","\\H");s(N,m,ge,"◯","\\textcircled");var Bi={"--":!0,"---":!0,"``":!0,"''":!0};s(N,m,A,"–","--",!0);s(N,m,A,"–","\\textendash");s(N,m,A,"—","---",!0);s(N,m,A,"—","\\textemdash");s(N,m,A,"‘","`",!0);s(N,m,A,"‘","\\textquoteleft");s(N,m,A,"’","'",!0);s(N,m,A,"’","\\textquoteright");s(N,m,A,"“","``",!0);s(N,m,A,"“","\\textquotedblleft");s(N,m,A,"”","''",!0);s(N,m,A,"”","\\textquotedblright");s(c,m,A,"°","\\degree",!0);s(N,m,A,"°","\\degree");s(N,m,A,"°","\\textdegree",!0);s(c,m,A,"£","\\pounds");s(c,m,A,"£","\\mathsterling",!0);s(N,m,A,"£","\\pounds");s(N,m,A,"£","\\textsterling",!0);s(c,w,A,"✠","\\maltese");s(N,w,A,"✠","\\maltese");var ra='0123456789/@."';for(var Jt=0;Jt0)return t0(a,f,n,t,i.concat(h));if(l){var d,g;if(l==="boldsymbol"){var v=f4(a,n,t,i,u);d=v.fontName,g=[v.fontClass]}else o?(d=Oi[l].fontName,g=[l]):(d=rt(l,t.fontWeight,t.fontShape),g=[l,t.fontWeight,t.fontShape]);if(_t(a,d,n).metrics)return t0(a,d,n,t,i.concat(g));if(Bi.hasOwnProperty(a)&&d.slice(0,10)==="Typewriter"){for(var y=[],T=0;T{if($0(e.classes)!==$0(r.classes)||e.skew!==r.skew||e.maxFontSize!==r.maxFontSize)return!1;if(e.classes.length===1){var t=e.classes[0];if(t==="mbin"||t==="mord")return!1}for(var u in e.style)if(e.style.hasOwnProperty(u)&&e.style[u]!==r.style[u])return!1;for(var n in r.style)if(r.style.hasOwnProperty(n)&&e.style[n]!==r.style[n])return!1;return!0},m4=e=>{for(var r=0;rt&&(t=i.height),i.depth>u&&(u=i.depth),i.maxFontSize>n&&(n=i.maxFontSize)}r.height=t,r.depth=u,r.maxFontSize=n},Pe=function(r,t,u,n){var a=new Pr(r,t,u,n);return Hu(a),a},Ni=(e,r,t,u)=>new Pr(e,r,t,u),p4=function(r,t,u){var n=Pe([r],[],t);return n.height=Math.max(u||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=G(n.height),n.maxFontSize=1,n},b4=function(r,t,u,n){var a=new $u(r,t,u,n);return Hu(a),a},Ri=function(r){var t=new Lr(r);return Hu(t),t},v4=function(r,t){return r instanceof Lr?Pe([],[r],t):r},g4=function(r){if(r.positionType==="individualShift"){for(var t=r.children,u=[t[0]],n=-t[0].shift-t[0].elem.depth,a=n,i=1;i{var t=Pe(["mspace"],[],r),u=ye(e,r);return t.style.marginRight=G(u),t},rt=function(r,t,u){var n="";switch(r){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=r}var a;return t==="textbf"&&u==="textit"?a="BoldItalic":t==="textbf"?a="Bold":t==="textit"?a="Italic":a="Regular",n+"-"+a},Oi={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Li={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},w4=function(r,t){var[u,n,a]=Li[r],i=new H0(u),o=new A0([i],{width:G(n),height:G(a),style:"width:"+G(n),viewBox:"0 0 "+1e3*n+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=Ni(["overlay"],[o],t);return l.height=a,l.style.height=G(a),l.style.width=G(n),l},M={fontMap:Oi,makeSymbol:t0,mathsym:c4,makeSpan:Pe,makeSvgSpan:Ni,makeLineSpan:p4,makeAnchor:b4,makeFragment:Ri,wrapFragment:v4,makeVList:x4,makeOrd:d4,makeGlue:y4,staticSvg:w4,svgData:Li,tryCombineChars:m4},xe={number:3,unit:"mu"},Z0={number:4,unit:"mu"},x0={number:5,unit:"mu"},k4={mord:{mop:xe,mbin:Z0,mrel:x0,minner:xe},mop:{mord:xe,mop:xe,mrel:x0,minner:xe},mbin:{mord:Z0,mop:Z0,mopen:Z0,minner:Z0},mrel:{mord:x0,mop:x0,mopen:x0,minner:x0},mopen:{},mclose:{mop:xe,mbin:Z0,mrel:x0,minner:xe},mpunct:{mord:xe,mop:xe,mrel:x0,mopen:xe,mclose:xe,mpunct:xe,minner:xe},minner:{mord:xe,mop:xe,mbin:Z0,mrel:x0,mopen:xe,mpunct:xe,minner:xe}},S4={mord:{mop:xe},mop:{mord:xe,mop:xe},mbin:{},mrel:{},mopen:{},mclose:{mop:xe},mpunct:{},minner:{mop:xe}},Pi={},pt={},bt={};function Y(e){for(var{type:r,names:t,props:u,handler:n,htmlBuilder:a,mathmlBuilder:i}=e,o={type:r,numArgs:u.numArgs,argTypes:u.argTypes,allowedInArgument:!!u.allowedInArgument,allowedInText:!!u.allowedInText,allowedInMath:u.allowedInMath===void 0?!0:u.allowedInMath,numOptionalArgs:u.numOptionalArgs||0,infix:!!u.infix,primitive:!!u.primitive,handler:n},l=0;l{var E=T.classes[0],I=y.classes[0];E==="mbin"&&Q.contains(C4,I)?T.classes[0]="mord":I==="mbin"&&Q.contains(A4,E)&&(y.classes[0]="mord")},{node:d},g,v),ia(a,(y,T)=>{var E=wu(T),I=wu(y),z=E&&I?y.hasClass("mtight")?S4[E][I]:k4[E][I]:null;if(z)return M.makeGlue(z,f)},{node:d},g,v),a},ia=function e(r,t,u,n,a){n&&r.push(n);for(var i=0;ig=>{r.splice(d+1,0,g),i++})(i)}n&&r.pop()},qi=function(r){return r instanceof Lr||r instanceof $u||r instanceof Pr&&r.hasClass("enclosing")?r:null},D4=function e(r,t){var u=qi(r);if(u){var n=u.children;if(n.length){if(t==="right")return e(n[n.length-1],"right");if(t==="left")return e(n[0],"left")}}return r},wu=function(r,t){return r?(t&&(r=D4(r,t)),E4[r.classes[0]]||null):null},Ir=function(r,t){var u=["nulldelimiter"].concat(r.baseSizingClasses());return C0(t.concat(u))},oe=function(r,t,u){if(!r)return C0();if(pt[r.type]){var n=pt[r.type](r,t);if(u&&t.size!==u.size){n=C0(t.sizingClasses(u),[n],t);var a=t.sizeMultiplier/u.sizeMultiplier;n.height*=a,n.depth*=a}return n}else throw new $("Got group of unknown type: '"+r.type+"'")};function tt(e,r){var t=C0(["base"],e,r),u=C0(["strut"]);return u.style.height=G(t.height+t.depth),t.depth&&(u.style.verticalAlign=G(-t.depth)),t.children.unshift(u),t}function ku(e,r){var t=null;e.length===1&&e[0].type==="tag"&&(t=e[0].tag,e=e[0].body);var u=De(e,r,"root"),n;u.length===2&&u[1].hasClass("tag")&&(n=u.pop());for(var a=[],i=[],o=0;o0&&(a.push(tt(i,r)),i=[]),a.push(u[o]));i.length>0&&a.push(tt(i,r));var f;t?(f=tt(De(t,r,!0)),f.classes=["tag"],a.push(f)):n&&a.push(n);var h=C0(["katex-html"],a);if(h.setAttribute("aria-hidden","true"),f){var d=f.children[0];d.style.height=G(h.height+h.depth),h.depth&&(d.style.verticalAlign=G(-h.depth))}return h}function $i(e){return new Lr(e)}class Ze{constructor(r,t,u){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=r,this.attributes={},this.children=t||[],this.classes=u||[]}setAttribute(r,t){this.attributes[r]=t}getAttribute(r){return this.attributes[r]}toNode(){var r=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&r.setAttribute(t,this.attributes[t]);this.classes.length>0&&(r.className=$0(this.classes));for(var u=0;u0&&(r+=' class ="'+Q.escape($0(this.classes))+'"'),r+=">";for(var u=0;u",r}toText(){return this.children.map(r=>r.toText()).join("")}}class _r{constructor(r){this.text=void 0,this.text=r}toNode(){return document.createTextNode(this.text)}toMarkup(){return Q.escape(this.toText())}toText(){return this.text}}class T4{constructor(r){this.width=void 0,this.character=void 0,this.width=r,r>=.05555&&r<=.05556?this.character=" ":r>=.1666&&r<=.1667?this.character=" ":r>=.2222&&r<=.2223?this.character=" ":r>=.2777&&r<=.2778?this.character="  ":r>=-.05556&&r<=-.05555?this.character=" ⁣":r>=-.1667&&r<=-.1666?this.character=" ⁣":r>=-.2223&&r<=-.2222?this.character=" ⁣":r>=-.2778&&r<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var r=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return r.setAttribute("width",G(this.width)),r}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var P={MathNode:Ze,TextNode:_r,SpaceNode:T4,newDocumentFragment:$i},e0=function(r,t,u){return be[t][r]&&be[t][r].replace&&r.charCodeAt(0)!==55349&&!(Bi.hasOwnProperty(r)&&u&&(u.fontFamily&&u.fontFamily.slice(4,6)==="tt"||u.font&&u.font.slice(4,6)==="tt"))&&(r=be[t][r].replace),new P.TextNode(r)},Uu=function(r){return r.length===1?r[0]:new P.MathNode("mrow",r)},Vu=function(r,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var u=t.font;if(!u||u==="mathnormal")return null;var n=r.mode;if(u==="mathit")return"italic";if(u==="boldsymbol")return r.type==="textord"?"bold":"bold-italic";if(u==="mathbf")return"bold";if(u==="mathbb")return"double-struck";if(u==="mathfrak")return"fraktur";if(u==="mathscr"||u==="mathcal")return"script";if(u==="mathsf")return"sans-serif";if(u==="mathtt")return"monospace";var a=r.text;if(Q.contains(["\\imath","\\jmath"],a))return null;be[n][a]&&be[n][a].replace&&(a=be[n][a].replace);var i=M.fontMap[u].fontName;return qu(a,i,n)?M.fontMap[u].variant:null},He=function(r,t,u){if(r.length===1){var n=he(r[0],t);return u&&n instanceof Ze&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var a=[],i,o=0;o0&&(d.text=d.text.slice(0,1)+"̸"+d.text.slice(1),a.pop())}}}a.push(l),i=l}return a},U0=function(r,t,u){return Uu(He(r,t,u))},he=function(r,t){if(!r)return new P.MathNode("mrow");if(bt[r.type]){var u=bt[r.type](r,t);return u}else throw new $("Got group of unknown type: '"+r.type+"'")};function oa(e,r,t,u,n){var a=He(e,t),i;a.length===1&&a[0]instanceof Ze&&Q.contains(["mrow","mtable"],a[0].type)?i=a[0]:i=new P.MathNode("mrow",a);var o=new P.MathNode("annotation",[new P.TextNode(r)]);o.setAttribute("encoding","application/x-tex");var l=new P.MathNode("semantics",[i,o]),f=new P.MathNode("math",[l]);f.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),u&&f.setAttribute("display","block");var h=n?"katex":"katex-mathml";return M.makeSpan([h],[f])}var Hi=function(r){return new y0({style:r.displayMode?re.DISPLAY:re.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness})},Ui=function(r,t){if(t.displayMode){var u=["katex-display"];t.leqno&&u.push("leqno"),t.fleqn&&u.push("fleqn"),r=M.makeSpan(u,[r])}return r},M4=function(r,t,u){var n=Hi(u),a;if(u.output==="mathml")return oa(r,t,n,u.displayMode,!0);if(u.output==="html"){var i=ku(r,n);a=M.makeSpan(["katex"],[i])}else{var o=oa(r,t,n,u.displayMode,!1),l=ku(r,n);a=M.makeSpan(["katex"],[o,l])}return Ui(a,u)},F4=function(r,t,u){var n=Hi(u),a=ku(r,n),i=M.makeSpan(["katex"],[a]);return Ui(i,u)},z4={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},I4=function(r){var t=new P.MathNode("mo",[new P.TextNode(z4[r.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},B4={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},N4=function(r){return r.type==="ordgroup"?r.body.length:1},R4=function(r,t){function u(){var o=4e5,l=r.label.slice(1);if(Q.contains(["widehat","widecheck","widetilde","utilde"],l)){var f=r,h=N4(f.base),d,g,v;if(h>5)l==="widehat"||l==="widecheck"?(d=420,o=2364,v=.42,g=l+"4"):(d=312,o=2340,v=.34,g="tilde4");else{var y=[1,1,2,2,3,3][h];l==="widehat"||l==="widecheck"?(o=[0,1062,2364,2364,2364][y],d=[0,239,300,360,420][y],v=[0,.24,.3,.3,.36,.42][y],g=l+y):(o=[0,600,1033,2339,2340][y],d=[0,260,286,306,312][y],v=[0,.26,.286,.3,.306,.34][y],g="tilde"+y)}var T=new H0(g),E=new A0([T],{width:"100%",height:G(v),viewBox:"0 0 "+o+" "+d,preserveAspectRatio:"none"});return{span:M.makeSvgSpan([],[E],t),minWidth:0,height:v}}else{var I=[],z=B4[l],[R,q,F]=z,O=F/1e3,H=R.length,Z,K;if(H===1){var se=z[3];Z=["hide-tail"],K=[se]}else if(H===2)Z=["halfarrow-left","halfarrow-right"],K=["xMinYMin","xMaxYMin"];else if(H===3)Z=["brace-left","brace-center","brace-right"],K=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+H+" children.");for(var ie=0;ie0&&(n.style.minWidth=G(a)),n},O4=function(r,t,u,n,a){var i,o=r.height+r.depth+u+n;if(/fbox|color|angl/.test(t)){if(i=M.makeSpan(["stretchy",t],[],a),t==="fbox"){var l=a.color&&a.getColor();l&&(i.style.borderColor=l)}}else{var f=[];/^[bx]cancel$/.test(t)&&f.push(new xu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&f.push(new xu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new A0(f,{width:"100%",height:G(o)});i=M.makeSvgSpan([],[h],a)}return i.height=o,i.style.height=G(o),i},_0={encloseSpan:O4,mathMLnode:I4,svgSpan:R4};function ue(e,r){if(!e||e.type!==r)throw new Error("Expected node of type "+r+", but got "+(e?"node of type "+e.type:String(e)));return e}function ju(e){var r=Et(e);if(!r)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return r}function Et(e){return e&&(e.type==="atom"||l4.hasOwnProperty(e.type))?e:null}var Gu=(e,r)=>{var t,u,n;e&&e.type==="supsub"?(u=ue(e.base,"accent"),t=u.base,e.base=t,n=i4(oe(e,r)),e.base=u):(u=ue(e,"accent"),t=u.base);var a=oe(t,r.havingCrampedStyle()),i=u.isShifty&&Q.isCharacterBox(t),o=0;if(i){var l=Q.getBaseElem(t),f=oe(l,r.havingCrampedStyle());o=ea(f).skew}var h=u.label==="\\c",d=h?a.height+a.depth:Math.min(a.height,r.fontMetrics().xHeight),g;if(u.isStretchy)g=_0.svgSpan(u,r),g=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:g,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+G(2*o)+")",marginLeft:G(2*o)}:void 0}]},r);else{var v,y;u.label==="\\vec"?(v=M.staticSvg("vec",r),y=M.svgData.vec[1]):(v=M.makeOrd({mode:u.mode,text:u.label},r,"textord"),v=ea(v),v.italic=0,y=v.width,h&&(d+=v.depth)),g=M.makeSpan(["accent-body"],[v]);var T=u.label==="\\textcircled";T&&(g.classes.push("accent-full"),d=a.height);var E=o;T||(E-=y/2),g.style.left=G(E),u.label==="\\textcircled"&&(g.style.top=".2em"),g=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-d},{type:"elem",elem:g}]},r)}var I=M.makeSpan(["mord","accent"],[g],r);return n?(n.children[0]=I,n.height=Math.max(I.height,n.height),n.classes[0]="mord",n):I},Vi=(e,r)=>{var t=e.isStretchy?_0.mathMLnode(e.label):new P.MathNode("mo",[e0(e.label,e.mode)]),u=new P.MathNode("mover",[he(e.base,r),t]);return u.setAttribute("accent","true"),u},L4=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Y({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,r)=>{var t=vt(r[0]),u=!L4.test(e.funcName),n=!u||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:u,isShifty:n,base:t}},htmlBuilder:Gu,mathmlBuilder:Vi});Y({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,r)=>{var t=r[0],u=e.parser.mode;return u==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),u="text"),{type:"accent",mode:u,label:e.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:Gu,mathmlBuilder:Vi});Y({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=r[0];return{type:"accentUnder",mode:t.mode,label:u,base:n}},htmlBuilder:(e,r)=>{var t=oe(e.base,r),u=_0.svgSpan(e,r),n=e.label==="\\utilde"?.12:0,a=M.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:u,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:t}]},r);return M.makeSpan(["mord","accentunder"],[a],r)},mathmlBuilder:(e,r)=>{var t=_0.mathMLnode(e.label),u=new P.MathNode("munder",[he(e.base,r),t]);return u.setAttribute("accentunder","true"),u}});var ut=e=>{var r=new P.MathNode("mpadded",e?[e]:[]);return r.setAttribute("width","+0.6em"),r.setAttribute("lspace","0.3em"),r};Y({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,r,t){var{parser:u,funcName:n}=e;return{type:"xArrow",mode:u.mode,label:n,body:r[0],below:t[0]}},htmlBuilder(e,r){var t=r.style,u=r.havingStyle(t.sup()),n=M.wrapFragment(oe(e.body,u,r),r),a=e.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(a+"-arrow-pad");var i;e.below&&(u=r.havingStyle(t.sub()),i=M.wrapFragment(oe(e.below,u,r),r),i.classes.push(a+"-arrow-pad"));var o=_0.svgSpan(e,r),l=-r.fontMetrics().axisHeight+.5*o.height,f=-r.fontMetrics().axisHeight-.5*o.height-.111;(n.depth>.25||e.label==="\\xleftequilibrium")&&(f-=n.depth);var h;if(i){var d=-r.fontMetrics().axisHeight+i.height+.5*o.height+.111;h=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:f},{type:"elem",elem:o,shift:l},{type:"elem",elem:i,shift:d}]},r)}else h=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:f},{type:"elem",elem:o,shift:l}]},r);return h.children[0].children[0].children[1].classes.push("svg-align"),M.makeSpan(["mrel","x-arrow"],[h],r)},mathmlBuilder(e,r){var t=_0.mathMLnode(e.label);t.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var u;if(e.body){var n=ut(he(e.body,r));if(e.below){var a=ut(he(e.below,r));u=new P.MathNode("munderover",[t,a,n])}else u=new P.MathNode("mover",[t,n])}else if(e.below){var i=ut(he(e.below,r));u=new P.MathNode("munder",[t,i])}else u=ut(),u=new P.MathNode("mover",[t,u]);return u}});var P4=M.makeSpan;function ji(e,r){var t=De(e.body,r,!0);return P4([e.mclass],t,r)}function Gi(e,r){var t,u=He(e.body,r);return e.mclass==="minner"?t=new P.MathNode("mpadded",u):e.mclass==="mord"?e.isCharacterBox?(t=u[0],t.type="mi"):t=new P.MathNode("mi",u):(e.isCharacterBox?(t=u[0],t.type="mo"):t=new P.MathNode("mo",u),e.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):e.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):e.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}Y({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,r){var{parser:t,funcName:u}=e,n=r[0];return{type:"mclass",mode:t.mode,mclass:"m"+u.slice(5),body:Ae(n),isCharacterBox:Q.isCharacterBox(n)}},htmlBuilder:ji,mathmlBuilder:Gi});var Dt=e=>{var r=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return r.type==="atom"&&(r.family==="bin"||r.family==="rel")?"m"+r.family:"mord"};Y({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,r){var{parser:t}=e;return{type:"mclass",mode:t.mode,mclass:Dt(r[0]),body:Ae(r[1]),isCharacterBox:Q.isCharacterBox(r[1])}}});Y({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,r){var{parser:t,funcName:u}=e,n=r[1],a=r[0],i;u!=="\\stackrel"?i=Dt(n):i="mrel";var o={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:u!=="\\stackrel",body:Ae(n)},l={type:"supsub",mode:a.mode,base:o,sup:u==="\\underset"?null:a,sub:u==="\\underset"?a:null};return{type:"mclass",mode:t.mode,mclass:i,body:[l],isCharacterBox:Q.isCharacterBox(l)}},htmlBuilder:ji,mathmlBuilder:Gi});Y({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,r){var{parser:t}=e;return{type:"pmb",mode:t.mode,mclass:Dt(r[0]),body:Ae(r[0])}},htmlBuilder(e,r){var t=De(e.body,r,!0),u=M.makeSpan([e.mclass],t,r);return u.style.textShadow="0.02em 0.01em 0.04px",u},mathmlBuilder(e,r){var t=He(e.body,r),u=new P.MathNode("mstyle",t);return u.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),u}});var q4={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},la=()=>({type:"styling",body:[],mode:"math",style:"display"}),sa=e=>e.type==="textord"&&e.text==="@",$4=(e,r)=>(e.type==="mathord"||e.type==="atom")&&e.text===r;function H4(e,r,t){var u=q4[e];switch(u){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(u,[r[0]],[r[1]]);case"\\uparrow":case"\\downarrow":{var n=t.callFunction("\\\\cdleft",[r[0]],[]),a={type:"atom",text:u,mode:"math",family:"rel"},i=t.callFunction("\\Big",[a],[]),o=t.callFunction("\\\\cdright",[r[1]],[]),l={type:"ordgroup",mode:"math",body:[n,i,o]};return t.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var f={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[f],[])}default:return{type:"textord",text:" ",mode:"math"}}}function U4(e){var r=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){r.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var t=e.fetch().text;if(t==="&"||t==="\\\\")e.consume();else if(t==="\\end"){r[r.length-1].length===0&&r.pop();break}else throw new $("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var u=[],n=[u],a=0;a-1))if("<>AV".indexOf(f)>-1)for(var d=0;d<2;d++){for(var g=!0,v=l+1;vAV=|." after @',i[l]);var y=H4(f,h,e),T={type:"styling",body:[y],mode:"math",style:"display"};u.push(T),o=la()}a%2===0?u.push(o):u.shift(),u=[],n.push(u)}e.gullet.endGroup(),e.gullet.endGroup();var E=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:E,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}Y({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,r){var{parser:t,funcName:u}=e;return{type:"cdlabel",mode:t.mode,side:u.slice(4),label:r[0]}},htmlBuilder(e,r){var t=r.havingStyle(r.style.sup()),u=M.wrapFragment(oe(e.label,t,r),r);return u.classes.push("cd-label-"+e.side),u.style.bottom=G(.8-u.depth),u.height=0,u.depth=0,u},mathmlBuilder(e,r){var t=new P.MathNode("mrow",[he(e.label,r)]);return t=new P.MathNode("mpadded",[t]),t.setAttribute("width","0"),e.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new P.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}});Y({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,r){var{parser:t}=e;return{type:"cdlabelparent",mode:t.mode,fragment:r[0]}},htmlBuilder(e,r){var t=M.wrapFragment(oe(e.fragment,r),r);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(e,r){return new P.MathNode("mrow",[he(e.fragment,r)])}});Y({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,r){for(var{parser:t}=e,u=ue(r[0],"ordgroup"),n=u.body,a="",i=0;i=1114111)throw new $("\\@char with invalid code point "+a);return l<=65535?f=String.fromCharCode(l):(l-=65536,f=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:t.mode,text:f}}});var Yi=(e,r)=>{var t=De(e.body,r.withColor(e.color),!1);return M.makeFragment(t)},Wi=(e,r)=>{var t=He(e.body,r.withColor(e.color)),u=new P.MathNode("mstyle",t);return u.setAttribute("mathcolor",e.color),u};Y({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,r){var{parser:t}=e,u=ue(r[0],"color-token").color,n=r[1];return{type:"color",mode:t.mode,color:u,body:Ae(n)}},htmlBuilder:Yi,mathmlBuilder:Wi});Y({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,r){var{parser:t,breakOnTokenText:u}=e,n=ue(r[0],"color-token").color;t.gullet.macros.set("\\current@color",n);var a=t.parseExpression(!0,u);return{type:"color",mode:t.mode,color:n,body:a}},htmlBuilder:Yi,mathmlBuilder:Wi});Y({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,r,t){var{parser:u}=e,n=u.gullet.future().text==="["?u.parseSizeGroup(!0):null,a=!u.settings.displayMode||!u.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:u.mode,newLine:a,size:n&&ue(n,"size").value}},htmlBuilder(e,r){var t=M.makeSpan(["mspace"],[],r);return e.newLine&&(t.classes.push("newline"),e.size&&(t.style.marginTop=G(ye(e.size,r)))),t},mathmlBuilder(e,r){var t=new P.MathNode("mspace");return e.newLine&&(t.setAttribute("linebreak","newline"),e.size&&t.setAttribute("height",G(ye(e.size,r)))),t}});var Su={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Zi=e=>{var r=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(r))throw new $("Expected a control sequence",e);return r},V4=e=>{var r=e.gullet.popToken();return r.text==="="&&(r=e.gullet.popToken(),r.text===" "&&(r=e.gullet.popToken())),r},Xi=(e,r,t,u)=>{var n=e.gullet.macros.get(t.text);n==null&&(t.noexpand=!0,n={tokens:[t],numArgs:0,unexpandable:!e.gullet.isExpandable(t.text)}),e.gullet.macros.set(r,n,u)};Y({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:r,funcName:t}=e;r.consumeSpaces();var u=r.fetch();if(Su[u.text])return(t==="\\global"||t==="\\\\globallong")&&(u.text=Su[u.text]),ue(r.parseFunction(),"internal");throw new $("Invalid token after macro prefix",u)}});Y({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:r,funcName:t}=e,u=r.gullet.popToken(),n=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new $("Expected a control sequence",u);for(var a=0,i,o=[[]];r.gullet.future().text!=="{";)if(u=r.gullet.popToken(),u.text==="#"){if(r.gullet.future().text==="{"){i=r.gullet.future(),o[a].push("{");break}if(u=r.gullet.popToken(),!/^[1-9]$/.test(u.text))throw new $('Invalid argument number "'+u.text+'"');if(parseInt(u.text)!==a+1)throw new $('Argument number "'+u.text+'" out of order');a++,o.push([])}else{if(u.text==="EOF")throw new $("Expected a macro definition");o[a].push(u.text)}var{tokens:l}=r.gullet.consumeArg();return i&&l.unshift(i),(t==="\\edef"||t==="\\xdef")&&(l=r.gullet.expandTokens(l),l.reverse()),r.gullet.macros.set(n,{tokens:l,numArgs:a,delimiters:o},t===Su[t]),{type:"internal",mode:r.mode}}});Y({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:r,funcName:t}=e,u=Zi(r.gullet.popToken());r.gullet.consumeSpaces();var n=V4(r);return Xi(r,u,n,t==="\\\\globallet"),{type:"internal",mode:r.mode}}});Y({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:r,funcName:t}=e,u=Zi(r.gullet.popToken()),n=r.gullet.popToken(),a=r.gullet.popToken();return Xi(r,u,a,t==="\\\\globalfuture"),r.gullet.pushToken(a),r.gullet.pushToken(n),{type:"internal",mode:r.mode}}});var Cr=function(r,t,u){var n=be.math[r]&&be.math[r].replace,a=qu(n||r,t,u);if(!a)throw new Error("Unsupported symbol "+r+" and font size "+t+".");return a},Yu=function(r,t,u,n){var a=u.havingBaseStyle(t),i=M.makeSpan(n.concat(a.sizingClasses(u)),[r],u),o=a.sizeMultiplier/u.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=a.sizeMultiplier,i},Ki=function(r,t,u){var n=t.havingBaseStyle(u),a=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=G(a),r.height-=a,r.depth+=a},j4=function(r,t,u,n,a,i){var o=M.makeSymbol(r,"Main-Regular",a,n),l=Yu(o,t,n,i);return u&&Ki(l,n,t),l},G4=function(r,t,u,n){return M.makeSymbol(r,"Size"+t+"-Regular",u,n)},Ji=function(r,t,u,n,a,i){var o=G4(r,t,a,n),l=Yu(M.makeSpan(["delimsizing","size"+t],[o],n),re.TEXT,n,i);return u&&Ki(l,n,re.TEXT),l},tu=function(r,t,u){var n;t==="Size1-Regular"?n="delim-size1":n="delim-size4";var a=M.makeSpan(["delimsizinginner",n],[M.makeSpan([],[M.makeSymbol(r,t,u)])]);return{type:"elem",elem:a}},uu=function(r,t,u){var n=s0["Size4-Regular"][r.charCodeAt(0)]?s0["Size4-Regular"][r.charCodeAt(0)][4]:s0["Size1-Regular"][r.charCodeAt(0)][4],a=new H0("inner",J2(r,Math.round(1e3*t))),i=new A0([a],{width:G(n),height:G(t),style:"width:"+G(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=M.makeSvgSpan([],[i],u);return o.height=t,o.style.height=G(t),o.style.width=G(n),{type:"elem",elem:o}},Au=.008,nt={type:"kern",size:-1*Au},Y4=["|","\\lvert","\\rvert","\\vert"],W4=["\\|","\\lVert","\\rVert","\\Vert"],Qi=function(r,t,u,n,a,i){var o,l,f,h,d="",g=0;o=f=h=r,l=null;var v="Size1-Regular";r==="\\uparrow"?f=h="⏐":r==="\\Uparrow"?f=h="‖":r==="\\downarrow"?o=f="⏐":r==="\\Downarrow"?o=f="‖":r==="\\updownarrow"?(o="\\uparrow",f="⏐",h="\\downarrow"):r==="\\Updownarrow"?(o="\\Uparrow",f="‖",h="\\Downarrow"):Q.contains(Y4,r)?(f="∣",d="vert",g=333):Q.contains(W4,r)?(f="∥",d="doublevert",g=556):r==="["||r==="\\lbrack"?(o="⎡",f="⎢",h="⎣",v="Size4-Regular",d="lbrack",g=667):r==="]"||r==="\\rbrack"?(o="⎤",f="⎥",h="⎦",v="Size4-Regular",d="rbrack",g=667):r==="\\lfloor"||r==="⌊"?(f=o="⎢",h="⎣",v="Size4-Regular",d="lfloor",g=667):r==="\\lceil"||r==="⌈"?(o="⎡",f=h="⎢",v="Size4-Regular",d="lceil",g=667):r==="\\rfloor"||r==="⌋"?(f=o="⎥",h="⎦",v="Size4-Regular",d="rfloor",g=667):r==="\\rceil"||r==="⌉"?(o="⎤",f=h="⎥",v="Size4-Regular",d="rceil",g=667):r==="("||r==="\\lparen"?(o="⎛",f="⎜",h="⎝",v="Size4-Regular",d="lparen",g=875):r===")"||r==="\\rparen"?(o="⎞",f="⎟",h="⎠",v="Size4-Regular",d="rparen",g=875):r==="\\{"||r==="\\lbrace"?(o="⎧",l="⎨",h="⎩",f="⎪",v="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(o="⎫",l="⎬",h="⎭",f="⎪",v="Size4-Regular"):r==="\\lgroup"||r==="⟮"?(o="⎧",h="⎩",f="⎪",v="Size4-Regular"):r==="\\rgroup"||r==="⟯"?(o="⎫",h="⎭",f="⎪",v="Size4-Regular"):r==="\\lmoustache"||r==="⎰"?(o="⎧",h="⎭",f="⎪",v="Size4-Regular"):(r==="\\rmoustache"||r==="⎱")&&(o="⎫",h="⎩",f="⎪",v="Size4-Regular");var y=Cr(o,v,a),T=y.height+y.depth,E=Cr(f,v,a),I=E.height+E.depth,z=Cr(h,v,a),R=z.height+z.depth,q=0,F=1;if(l!==null){var O=Cr(l,v,a);q=O.height+O.depth,F=2}var H=T+R+q,Z=Math.max(0,Math.ceil((t-H)/(F*I))),K=H+Z*F*I,se=n.fontMetrics().axisHeight;u&&(se*=n.sizeMultiplier);var ie=K/2-se,ae=[];if(d.length>0){var ke=K-T-R,ve=Math.round(K*1e3),me=Q2(d,Math.round(ke*1e3)),Le=new H0(d,me),Ue=(g/1e3).toFixed(3)+"em",b0=(ve/1e3).toFixed(3)+"em",yr=new A0([Le],{width:Ue,height:b0,viewBox:"0 0 "+g+" "+ve}),a0=M.makeSvgSpan([],[yr],n);a0.height=ve/1e3,a0.style.width=Ue,a0.style.height=b0,ae.push({type:"elem",elem:a0})}else{if(ae.push(tu(h,v,a)),ae.push(nt),l===null){var Te=K-T-R+2*Au;ae.push(uu(f,Te,n))}else{var Ie=(K-T-R-q)/2+2*Au;ae.push(uu(f,Ie,n)),ae.push(nt),ae.push(tu(l,v,a)),ae.push(nt),ae.push(uu(f,Ie,n))}ae.push(nt),ae.push(tu(o,v,a))}var Y0=n.havingBaseStyle(re.TEXT),wr=M.makeVList({positionType:"bottom",positionData:ie,children:ae},Y0);return Yu(M.makeSpan(["delimsizing","mult"],[wr],Y0),re.TEXT,n,i)},nu=80,au=.08,iu=function(r,t,u,n,a){var i=K2(r,n,u),o=new H0(r,i),l=new A0([o],{width:"400em",height:G(t),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});return M.makeSvgSpan(["hide-tail"],[l],a)},Z4=function(r,t){var u=t.havingBaseSizing(),n=uo("\\surd",r*u.sizeMultiplier,to,u),a=u.sizeMultiplier,i=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),o,l=0,f=0,h=0,d;return n.type==="small"?(h=1e3+1e3*i+nu,r<1?a=1:r<1.4&&(a=.7),l=(1+i+au)/a,f=(1+i)/a,o=iu("sqrtMain",l,h,i,t),o.style.minWidth="0.853em",d=.833/a):n.type==="large"?(h=(1e3+nu)*Er[n.size],f=(Er[n.size]+i)/a,l=(Er[n.size]+i+au)/a,o=iu("sqrtSize"+n.size,l,h,i,t),o.style.minWidth="1.02em",d=1/a):(l=r+i+au,f=r+i,h=Math.floor(1e3*r+i)+nu,o=iu("sqrtTall",l,h,i,t),o.style.minWidth="0.742em",d=1.056),o.height=f,o.style.height=G(l),{span:o,advanceWidth:d,ruleWidth:(t.fontMetrics().sqrtRuleThickness+i)*a}},eo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],X4=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],ro=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Er=[0,1.2,1.8,2.4,3],K4=function(r,t,u,n,a){if(r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle"),Q.contains(eo,r)||Q.contains(ro,r))return Ji(r,t,!1,u,n,a);if(Q.contains(X4,r))return Qi(r,Er[t],!1,u,n,a);throw new $("Illegal delimiter: '"+r+"'")},J4=[{type:"small",style:re.SCRIPTSCRIPT},{type:"small",style:re.SCRIPT},{type:"small",style:re.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Q4=[{type:"small",style:re.SCRIPTSCRIPT},{type:"small",style:re.SCRIPT},{type:"small",style:re.TEXT},{type:"stack"}],to=[{type:"small",style:re.SCRIPTSCRIPT},{type:"small",style:re.SCRIPT},{type:"small",style:re.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ef=function(r){if(r.type==="small")return"Main-Regular";if(r.type==="large")return"Size"+r.size+"-Regular";if(r.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+r.type+"' here.")},uo=function(r,t,u,n){for(var a=Math.min(2,3-n.style.size),i=a;it)return u[i]}return u[u.length-1]},no=function(r,t,u,n,a,i){r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle");var o;Q.contains(ro,r)?o=J4:Q.contains(eo,r)?o=to:o=Q4;var l=uo(r,t,o,n);return l.type==="small"?j4(r,l.style,u,n,a,i):l.type==="large"?Ji(r,l.size,u,n,a,i):Qi(r,t,u,n,a,i)},rf=function(r,t,u,n,a,i){var o=n.fontMetrics().axisHeight*n.sizeMultiplier,l=901,f=5/n.fontMetrics().ptPerEm,h=Math.max(t-o,u+o),d=Math.max(h/500*l,2*h-f);return no(r,d,!0,n,a,i)},S0={sqrtImage:Z4,sizedDelim:K4,sizeToMaxHeight:Er,customSizedDelim:no,leftRightDelim:rf},ca={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},tf=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Tt(e,r){var t=Et(e);if(t&&Q.contains(tf,t.text))return t;throw t?new $("Invalid delimiter '"+t.text+"' after '"+r.funcName+"'",e):new $("Invalid delimiter type '"+e.type+"'",e)}Y({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,r)=>{var t=Tt(r[0],e);return{type:"delimsizing",mode:e.parser.mode,size:ca[e.funcName].size,mclass:ca[e.funcName].mclass,delim:t.text}},htmlBuilder:(e,r)=>e.delim==="."?M.makeSpan([e.mclass]):S0.sizedDelim(e.delim,e.size,r,e.mode,[e.mclass]),mathmlBuilder:e=>{var r=[];e.delim!=="."&&r.push(e0(e.delim,e.mode));var t=new P.MathNode("mo",r);e.mclass==="mopen"||e.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var u=G(S0.sizeToMaxHeight[e.size]);return t.setAttribute("minsize",u),t.setAttribute("maxsize",u),t}});function fa(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Y({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,r)=>{var t=e.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new $("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Tt(r[0],e).text,color:t}}});Y({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,r)=>{var t=Tt(r[0],e),u=e.parser;++u.leftrightDepth;var n=u.parseExpression(!1);--u.leftrightDepth,u.expect("\\right",!1);var a=ue(u.parseFunction(),"leftright-right");return{type:"leftright",mode:u.mode,body:n,left:t.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,r)=>{fa(e);for(var t=De(e.body,r,!0,["mopen","mclose"]),u=0,n=0,a=!1,i=0;i{fa(e);var t=He(e.body,r);if(e.left!=="."){var u=new P.MathNode("mo",[e0(e.left,e.mode)]);u.setAttribute("fence","true"),t.unshift(u)}if(e.right!=="."){var n=new P.MathNode("mo",[e0(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),t.push(n)}return Uu(t)}});Y({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,r)=>{var t=Tt(r[0],e);if(!e.parser.leftrightDepth)throw new $("\\middle without preceding \\left",t);return{type:"middle",mode:e.parser.mode,delim:t.text}},htmlBuilder:(e,r)=>{var t;if(e.delim===".")t=Ir(r,[]);else{t=S0.sizedDelim(e.delim,1,r,e.mode,[]);var u={delim:e.delim,options:r};t.isMiddle=u}return t},mathmlBuilder:(e,r)=>{var t=e.delim==="\\vert"||e.delim==="|"?e0("|","text"):e0(e.delim,e.mode),u=new P.MathNode("mo",[t]);return u.setAttribute("fence","true"),u.setAttribute("lspace","0.05em"),u.setAttribute("rspace","0.05em"),u}});var Wu=(e,r)=>{var t=M.wrapFragment(oe(e.body,r),r),u=e.label.slice(1),n=r.sizeMultiplier,a,i=0,o=Q.isCharacterBox(e.body);if(u==="sout")a=M.makeSpan(["stretchy","sout"]),a.height=r.fontMetrics().defaultRuleThickness/n,i=-.5*r.fontMetrics().xHeight;else if(u==="phase"){var l=ye({number:.6,unit:"pt"},r),f=ye({number:.35,unit:"ex"},r),h=r.havingBaseSizing();n=n/h.sizeMultiplier;var d=t.height+t.depth+l+f;t.style.paddingLeft=G(d/2+l);var g=Math.floor(1e3*d*n),v=Z2(g),y=new A0([new H0("phase",v)],{width:"400em",height:G(g/1e3),viewBox:"0 0 400000 "+g,preserveAspectRatio:"xMinYMin slice"});a=M.makeSvgSpan(["hide-tail"],[y],r),a.style.height=G(d),i=t.depth+l+f}else{/cancel/.test(u)?o||t.classes.push("cancel-pad"):u==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var T=0,E=0,I=0;/box/.test(u)?(I=Math.max(r.fontMetrics().fboxrule,r.minRuleThickness),T=r.fontMetrics().fboxsep+(u==="colorbox"?0:I),E=T):u==="angl"?(I=Math.max(r.fontMetrics().defaultRuleThickness,r.minRuleThickness),T=4*I,E=Math.max(0,.25-t.depth)):(T=o?.2:0,E=T),a=_0.encloseSpan(t,u,T,E,r),/fbox|boxed|fcolorbox/.test(u)?(a.style.borderStyle="solid",a.style.borderWidth=G(I)):u==="angl"&&I!==.049&&(a.style.borderTopWidth=G(I),a.style.borderRightWidth=G(I)),i=t.depth+E,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var z;if(e.backgroundColor)z=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:i},{type:"elem",elem:t,shift:0}]},r);else{var R=/cancel|phase/.test(u)?["svg-align"]:[];z=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:a,shift:i,wrapperClasses:R}]},r)}return/cancel/.test(u)&&(z.height=t.height,z.depth=t.depth),/cancel/.test(u)&&!o?M.makeSpan(["mord","cancel-lap"],[z],r):M.makeSpan(["mord"],[z],r)},Zu=(e,r)=>{var t=0,u=new P.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[he(e.body,r)]);switch(e.label){case"\\cancel":u.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":u.setAttribute("notation","downdiagonalstrike");break;case"\\phase":u.setAttribute("notation","phasorangle");break;case"\\sout":u.setAttribute("notation","horizontalstrike");break;case"\\fbox":u.setAttribute("notation","box");break;case"\\angl":u.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=r.fontMetrics().fboxsep*r.fontMetrics().ptPerEm,u.setAttribute("width","+"+2*t+"pt"),u.setAttribute("height","+"+2*t+"pt"),u.setAttribute("lspace",t+"pt"),u.setAttribute("voffset",t+"pt"),e.label==="\\fcolorbox"){var n=Math.max(r.fontMetrics().fboxrule,r.minRuleThickness);u.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":u.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&u.setAttribute("mathbackground",e.backgroundColor),u};Y({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,r,t){var{parser:u,funcName:n}=e,a=ue(r[0],"color-token").color,i=r[1];return{type:"enclose",mode:u.mode,label:n,backgroundColor:a,body:i}},htmlBuilder:Wu,mathmlBuilder:Zu});Y({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,r,t){var{parser:u,funcName:n}=e,a=ue(r[0],"color-token").color,i=ue(r[1],"color-token").color,o=r[2];return{type:"enclose",mode:u.mode,label:n,backgroundColor:i,borderColor:a,body:o}},htmlBuilder:Wu,mathmlBuilder:Zu});Y({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,r){var{parser:t}=e;return{type:"enclose",mode:t.mode,label:"\\fbox",body:r[0]}}});Y({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,r){var{parser:t,funcName:u}=e,n=r[0];return{type:"enclose",mode:t.mode,label:u,body:n}},htmlBuilder:Wu,mathmlBuilder:Zu});Y({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,r){var{parser:t}=e;return{type:"enclose",mode:t.mode,label:"\\angl",body:r[0]}}});var ao={};function h0(e){for(var{type:r,names:t,props:u,handler:n,htmlBuilder:a,mathmlBuilder:i}=e,o={type:r,numArgs:u.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l{var r=e.parser.settings;if(!r.displayMode)throw new $("{"+e.envName+"} can be used only in display mode.")};function Xu(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function G0(e,r,t){var{hskipBeforeAndAfter:u,addJot:n,cols:a,arraystretch:i,colSeparationType:o,autoTag:l,singleRow:f,emptySingleRow:h,maxNumCols:d,leqno:g}=r;if(e.gullet.beginGroup(),f||e.gullet.macros.set("\\cr","\\\\\\relax"),!i){var v=e.gullet.expandMacroAsText("\\arraystretch");if(v==null)i=1;else if(i=parseFloat(v),!i||i<0)throw new $("Invalid \\arraystretch: "+v)}e.gullet.beginGroup();var y=[],T=[y],E=[],I=[],z=l!=null?[]:void 0;function R(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function q(){z&&(e.gullet.macros.get("\\df@tag")?(z.push(e.subparse([new Ke("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):z.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),I.push(da(e));;){var F=e.parseExpression(!1,f?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),F={type:"ordgroup",mode:e.mode,body:F},t&&(F={type:"styling",mode:e.mode,style:t,body:[F]}),y.push(F);var O=e.fetch().text;if(O==="&"){if(d&&y.length===d){if(f||o)throw new $("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(O==="\\end"){q(),y.length===1&&F.type==="styling"&&F.body[0].body.length===0&&(T.length>1||!h)&&T.pop(),I.length0&&(R+=.25),f.push({pos:R,isDashed:v0[F0]})}for(q(i[0]),u=0;u0&&(ie+=z,Hv0))for(u=0;u=o)){var T0=void 0;(n>0||r.hskipBeforeAndAfter)&&(T0=Q.deflt(Ie.pregap,g),T0!==0&&(me=M.makeSpan(["arraycolsep"],[]),me.style.width=G(T0),ve.push(me)));var M0=[];for(u=0;u0){for(var Bt=M.makeLineSpan("hline",t,h),Nt=M.makeLineSpan("hdashline",t,h),kr=[{type:"elem",elem:l,shift:0}];f.length>0;){var r0=f.pop(),Hr=r0.pos-ae;r0.isDashed?kr.push({type:"elem",elem:Nt,shift:Hr}):kr.push({type:"elem",elem:Bt,shift:Hr})}l=M.makeVList({positionType:"individualShift",children:kr},t)}if(Ue.length===0)return M.makeSpan(["mord"],[l],t);var rr=M.makeVList({positionType:"individualShift",children:Ue},t);return rr=M.makeSpan(["tag"],[rr],t),M.makeFragment([l,rr])},uf={c:"center ",l:"left ",r:"right "},p0=function(r,t){for(var u=[],n=new P.MathNode("mtd",[],["mtr-glue"]),a=new P.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var y=r.cols,T="",E=!1,I=0,z=y.length;y[0].type==="separator"&&(g+="top ",I=1),y[y.length-1].type==="separator"&&(g+="bottom ",z-=1);for(var R=I;R0?"left ":"",g+=Z[Z.length-1].length>0?"right ":"";for(var K=1;K-1?"alignat":"align",a=r.envName==="split",i=G0(r.parser,{cols:u,addJot:!0,autoTag:a?void 0:Xu(r.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:a?2:void 0,leqno:r.parser.settings.leqno},"display"),o,l=0,f={type:"ordgroup",mode:r.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var h="",d=0;d0&&v&&(E=1),u[y]={type:"align",align:T,pregap:E,postgap:0}}return i.colSeparationType=v?"align":"alignat",i};h0({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,r){var t=Et(r[0]),u=t?[r[0]]:ue(r[0],"ordgroup").body,n=u.map(function(i){var o=ju(i),l=o.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new $("Unknown column alignment: "+l,i)}),a={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return G0(e.parser,a,Ku(e.envName))},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var r={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],t="c",u={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(e.envName.charAt(e.envName.length-1)==="*"){var n=e.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),t=n.fetch().text,"lcr".indexOf(t)===-1)throw new $("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),u.cols=[{type:"align",align:t}]}}var a=G0(e.parser,u,Ku(e.envName)),i=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(i).fill({type:"align",align:t}),r?{type:"leftright",mode:e.mode,body:[a],left:r[0],right:r[1],rightColor:void 0}:a},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var r={arraystretch:.5},t=G0(e.parser,r,"script");return t.colSeparationType="small",t},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["subarray"],props:{numArgs:1},handler(e,r){var t=Et(r[0]),u=t?[r[0]]:ue(r[0],"ordgroup").body,n=u.map(function(i){var o=ju(i),l=o.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new $("Unknown column alignment: "+l,i)});if(n.length>1)throw new $("{subarray} can contain only one column");var a={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=G0(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new $("{subarray} can contain only one column");return a},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var r={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},t=G0(e.parser,r,Ku(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:oo,htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Q.contains(["gather","gather*"],e.envName)&&Mt(e);var r={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Xu(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return G0(e.parser,r,"display")},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:oo,htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Mt(e);var r={autoTag:Xu(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return G0(e.parser,r,"display")},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Mt(e),U4(e.parser)},htmlBuilder:m0,mathmlBuilder:p0});p("\\nonumber","\\gdef\\@eqnsw{0}");p("\\notag","\\nonumber");Y({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,r){throw new $(e.funcName+" valid only within array environment")}});var ha=ao;Y({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,r){var{parser:t,funcName:u}=e,n=r[0];if(n.type!=="ordgroup")throw new $("Invalid environment name",n);for(var a="",i=0;i{var t=e.font,u=r.withFont(t);return oe(e.body,u)},so=(e,r)=>{var t=e.font,u=r.withFont(t);return he(e.body,u)},ma={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Y({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=vt(r[0]),a=u;return a in ma&&(a=ma[a]),{type:"font",mode:t.mode,font:a.slice(1),body:n}},htmlBuilder:lo,mathmlBuilder:so});Y({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,r)=>{var{parser:t}=e,u=r[0],n=Q.isCharacterBox(u);return{type:"mclass",mode:t.mode,mclass:Dt(u),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:u}],isCharacterBox:n}}});Y({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,r)=>{var{parser:t,funcName:u,breakOnTokenText:n}=e,{mode:a}=t,i=t.parseExpression(!0,n),o="math"+u.slice(1);return{type:"font",mode:a,font:o,body:{type:"ordgroup",mode:t.mode,body:i}}},htmlBuilder:lo,mathmlBuilder:so});var co=(e,r)=>{var t=r;return e==="display"?t=t.id>=re.SCRIPT.id?t.text():re.DISPLAY:e==="text"&&t.size===re.DISPLAY.size?t=re.TEXT:e==="script"?t=re.SCRIPT:e==="scriptscript"&&(t=re.SCRIPTSCRIPT),t},Ju=(e,r)=>{var t=co(e.size,r.style),u=t.fracNum(),n=t.fracDen(),a;a=r.havingStyle(u);var i=oe(e.numer,a,r);if(e.continued){var o=8.5/r.fontMetrics().ptPerEm,l=3.5/r.fontMetrics().ptPerEm;i.height=i.height0?y=3*g:y=7*g,T=r.fontMetrics().denom1):(d>0?(v=r.fontMetrics().num2,y=g):(v=r.fontMetrics().num3,y=3*g),T=r.fontMetrics().denom2);var E;if(h){var z=r.fontMetrics().axisHeight;v-i.depth-(z+.5*d){var t=new P.MathNode("mfrac",[he(e.numer,r),he(e.denom,r)]);if(!e.hasBarLine)t.setAttribute("linethickness","0px");else if(e.barSize){var u=ye(e.barSize,r);t.setAttribute("linethickness",G(u))}var n=co(e.size,r.style);if(n.size!==r.style.size){t=new P.MathNode("mstyle",[t]);var a=n.size===re.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",a),t.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var o=new P.MathNode("mo",[new P.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),i.push(o)}if(i.push(t),e.rightDelim!=null){var l=new P.MathNode("mo",[new P.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}return Uu(i)}return t};Y({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=r[0],a=r[1],i,o=null,l=null,f="auto";switch(u){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,o="(",l=")";break;case"\\\\bracefrac":i=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":i=!1,o="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(u){case"\\dfrac":case"\\dbinom":f="display";break;case"\\tfrac":case"\\tbinom":f="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:n,denom:a,hasBarLine:i,leftDelim:o,rightDelim:l,size:f,barSize:null}},htmlBuilder:Ju,mathmlBuilder:Qu});Y({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=r[0],a=r[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:n,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Y({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:r,funcName:t,token:u}=e,n;switch(t){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:n,token:u}}});var pa=["display","text","script","scriptscript"],ba=function(r){var t=null;return r.length>0&&(t=r,t=t==="."?null:t),t};Y({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,r){var{parser:t}=e,u=r[4],n=r[5],a=vt(r[0]),i=a.type==="atom"&&a.family==="open"?ba(a.text):null,o=vt(r[1]),l=o.type==="atom"&&o.family==="close"?ba(o.text):null,f=ue(r[2],"size"),h,d=null;f.isBlank?h=!0:(d=f.value,h=d.number>0);var g="auto",v=r[3];if(v.type==="ordgroup"){if(v.body.length>0){var y=ue(v.body[0],"textord");g=pa[Number(y.text)]}}else v=ue(v,"textord"),g=pa[Number(v.text)];return{type:"genfrac",mode:t.mode,numer:u,denom:n,continued:!1,hasBarLine:h,barSize:d,leftDelim:i,rightDelim:l,size:g}},htmlBuilder:Ju,mathmlBuilder:Qu});Y({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,r){var{parser:t,funcName:u,token:n}=e;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:ue(r[0],"size").value,token:n}}});Y({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=r[0],a=B2(ue(r[1],"infix").size),i=r[2],o=a.number>0;return{type:"genfrac",mode:t.mode,numer:n,denom:i,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ju,mathmlBuilder:Qu});var fo=(e,r)=>{var t=r.style,u,n;e.type==="supsub"?(u=e.sup?oe(e.sup,r.havingStyle(t.sup()),r):oe(e.sub,r.havingStyle(t.sub()),r),n=ue(e.base,"horizBrace")):n=ue(e,"horizBrace");var a=oe(n.base,r.havingBaseStyle(re.DISPLAY)),i=_0.svgSpan(n,r),o;if(n.isOver?(o=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:i}]},r),o.children[0].children[0].children[1].classes.push("svg-align")):(o=M.makeVList({positionType:"bottom",positionData:a.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:a}]},r),o.children[0].children[0].children[0].classes.push("svg-align")),u){var l=M.makeSpan(["mord",n.isOver?"mover":"munder"],[o],r);n.isOver?o=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:u}]},r):o=M.makeVList({positionType:"bottom",positionData:l.depth+.2+u.height+u.depth,children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:l}]},r)}return M.makeSpan(["mord",n.isOver?"mover":"munder"],[o],r)},nf=(e,r)=>{var t=_0.mathMLnode(e.label);return new P.MathNode(e.isOver?"mover":"munder",[he(e.base,r),t])};Y({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,r){var{parser:t,funcName:u}=e;return{type:"horizBrace",mode:t.mode,label:u,isOver:/^\\over/.test(u),base:r[0]}},htmlBuilder:fo,mathmlBuilder:nf});Y({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,r)=>{var{parser:t}=e,u=r[1],n=ue(r[0],"url").url;return t.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:t.mode,href:n,body:Ae(u)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(e,r)=>{var t=De(e.body,r,!1);return M.makeAnchor(e.href,[],t,r)},mathmlBuilder:(e,r)=>{var t=U0(e.body,r);return t instanceof Ze||(t=new Ze("mrow",[t])),t.setAttribute("href",e.href),t}});Y({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,r)=>{var{parser:t}=e,u=ue(r[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:u}))return t.formatUnsupportedCmd("\\url");for(var n=[],a=0;a{var{parser:t,funcName:u,token:n}=e,a=ue(r[0],"raw").string,i=r[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,l={};switch(u){case"\\htmlClass":l.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var f=a.split(","),h=0;h{var t=De(e.body,r,!1),u=["enclosing"];e.attributes.class&&u.push(...e.attributes.class.trim().split(/\s+/));var n=M.makeSpan(u,t,r);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&n.setAttribute(a,e.attributes[a]);return n},mathmlBuilder:(e,r)=>U0(e.body,r)});Y({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,r)=>{var{parser:t}=e;return{type:"htmlmathml",mode:t.mode,html:Ae(r[0]),mathml:Ae(r[1])}},htmlBuilder:(e,r)=>{var t=De(e.html,r,!1);return M.makeFragment(t)},mathmlBuilder:(e,r)=>U0(e.mathml,r)});var ou=function(r){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(r))return{number:+r,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r);if(!t)throw new $("Invalid size: '"+r+"' in \\includegraphics");var u={number:+(t[1]+t[2]),unit:t[3]};if(!Mi(u))throw new $("Invalid unit: '"+u.unit+"' in \\includegraphics.");return u};Y({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,r,t)=>{var{parser:u}=e,n={number:0,unit:"em"},a={number:.9,unit:"em"},i={number:0,unit:"em"},o="";if(t[0])for(var l=ue(t[0],"raw").string,f=l.split(","),h=0;h{var t=ye(e.height,r),u=0;e.totalheight.number>0&&(u=ye(e.totalheight,r)-t);var n=0;e.width.number>0&&(n=ye(e.width,r));var a={height:G(t+u)};n>0&&(a.width=G(n)),u>0&&(a.verticalAlign=G(-u));var i=new n4(e.src,e.alt,a);return i.height=t,i.depth=u,i},mathmlBuilder:(e,r)=>{var t=new P.MathNode("mglyph",[]);t.setAttribute("alt",e.alt);var u=ye(e.height,r),n=0;if(e.totalheight.number>0&&(n=ye(e.totalheight,r)-u,t.setAttribute("valign",G(-n))),t.setAttribute("height",G(u+n)),e.width.number>0){var a=ye(e.width,r);t.setAttribute("width",G(a))}return t.setAttribute("src",e.src),t}});Y({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,r){var{parser:t,funcName:u}=e,n=ue(r[0],"size");if(t.settings.strict){var a=u[1]==="m",i=n.value.unit==="mu";a?(i||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" supports only mu units, "+("not "+n.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" works only in math mode")):i&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:n.value}},htmlBuilder(e,r){return M.makeGlue(e.dimension,r)},mathmlBuilder(e,r){var t=ye(e.dimension,r);return new P.SpaceNode(t)}});Y({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=r[0];return{type:"lap",mode:t.mode,alignment:u.slice(5),body:n}},htmlBuilder:(e,r)=>{var t;e.alignment==="clap"?(t=M.makeSpan([],[oe(e.body,r)]),t=M.makeSpan(["inner"],[t],r)):t=M.makeSpan(["inner"],[oe(e.body,r)]);var u=M.makeSpan(["fix"],[]),n=M.makeSpan([e.alignment],[t,u],r),a=M.makeSpan(["strut"]);return a.style.height=G(n.height+n.depth),n.depth&&(a.style.verticalAlign=G(-n.depth)),n.children.unshift(a),n=M.makeSpan(["thinbox"],[n],r),M.makeSpan(["mord","vbox"],[n],r)},mathmlBuilder:(e,r)=>{var t=new P.MathNode("mpadded",[he(e.body,r)]);if(e.alignment!=="rlap"){var u=e.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",u+"width")}return t.setAttribute("width","0px"),t}});Y({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,r){var{funcName:t,parser:u}=e,n=u.mode;u.switchMode("math");var a=t==="\\("?"\\)":"$",i=u.parseExpression(!1,a);return u.expect(a),u.switchMode(n),{type:"styling",mode:u.mode,style:"text",body:i}}});Y({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,r){throw new $("Mismatched "+e.funcName)}});var va=(e,r)=>{switch(r.style.size){case re.DISPLAY.size:return e.display;case re.TEXT.size:return e.text;case re.SCRIPT.size:return e.script;case re.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Y({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,r)=>{var{parser:t}=e;return{type:"mathchoice",mode:t.mode,display:Ae(r[0]),text:Ae(r[1]),script:Ae(r[2]),scriptscript:Ae(r[3])}},htmlBuilder:(e,r)=>{var t=va(e,r),u=De(t,r,!1);return M.makeFragment(u)},mathmlBuilder:(e,r)=>{var t=va(e,r);return U0(t,r)}});var ho=(e,r,t,u,n,a,i)=>{e=M.makeSpan([],[e]);var o=t&&Q.isCharacterBox(t),l,f;if(r){var h=oe(r,u.havingStyle(n.sup()),u);f={elem:h,kern:Math.max(u.fontMetrics().bigOpSpacing1,u.fontMetrics().bigOpSpacing3-h.depth)}}if(t){var d=oe(t,u.havingStyle(n.sub()),u);l={elem:d,kern:Math.max(u.fontMetrics().bigOpSpacing2,u.fontMetrics().bigOpSpacing4-d.height)}}var g;if(f&&l){var v=u.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+i;g=M.makeVList({positionType:"bottom",positionData:v,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:G(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:G(a)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else if(l){var y=e.height-i;g=M.makeVList({positionType:"top",positionData:y,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:G(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},u)}else if(f){var T=e.depth+i;g=M.makeVList({positionType:"bottom",positionData:T,children:[{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:G(a)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else return e;var E=[g];if(l&&a!==0&&!o){var I=M.makeSpan(["mspace"],[],u);I.style.marginRight=G(a),E.unshift(I)}return M.makeSpan(["mop","op-limits"],E,u)},mo=["\\smallint"],xr=(e,r)=>{var t,u,n=!1,a;e.type==="supsub"?(t=e.sup,u=e.sub,a=ue(e.base,"op"),n=!0):a=ue(e,"op");var i=r.style,o=!1;i.size===re.DISPLAY.size&&a.symbol&&!Q.contains(mo,a.name)&&(o=!0);var l;if(a.symbol){var f=o?"Size2-Regular":"Size1-Regular",h="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(h=a.name.slice(1),a.name=h==="oiint"?"\\iint":"\\iiint"),l=M.makeSymbol(a.name,f,"math",r,["mop","op-symbol",o?"large-op":"small-op"]),h.length>0){var d=l.italic,g=M.staticSvg(h+"Size"+(o?"2":"1"),r);l=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:g,shift:o?.08:0}]},r),a.name="\\"+h,l.classes.unshift("mop"),l.italic=d}}else if(a.body){var v=De(a.body,r,!0);v.length===1&&v[0]instanceof Qe?(l=v[0],l.classes[0]="mop"):l=M.makeSpan(["mop"],v,r)}else{for(var y=[],T=1;T{var t;if(e.symbol)t=new Ze("mo",[e0(e.name,e.mode)]),Q.contains(mo,e.name)&&t.setAttribute("largeop","false");else if(e.body)t=new Ze("mo",He(e.body,r));else{t=new Ze("mi",[new _r(e.name.slice(1))]);var u=new Ze("mo",[e0("⁡","text")]);e.parentIsSupSub?t=new Ze("mrow",[t,u]):t=$i([t,u])}return t},af={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Y({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=u;return n.length===1&&(n=af[n]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:xr,mathmlBuilder:qr});Y({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,r)=>{var{parser:t}=e,u=r[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ae(u)}},htmlBuilder:xr,mathmlBuilder:qr});var of={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Y({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:r,funcName:t}=e;return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:xr,mathmlBuilder:qr});Y({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:r,funcName:t}=e;return{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:xr,mathmlBuilder:qr});Y({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:r,funcName:t}=e,u=t;return u.length===1&&(u=of[u]),{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:u}},htmlBuilder:xr,mathmlBuilder:qr});var po=(e,r)=>{var t,u,n=!1,a;e.type==="supsub"?(t=e.sup,u=e.sub,a=ue(e.base,"operatorname"),n=!0):a=ue(e,"operatorname");var i;if(a.body.length>0){for(var o=a.body.map(d=>{var g=d.text;return typeof g=="string"?{type:"textord",mode:d.mode,text:g}:d}),l=De(o,r.withFont("mathrm"),!0),f=0;f{for(var t=He(e.body,r.withFont("mathrm")),u=!0,n=0;nh.toText()).join("");t=[new P.TextNode(o)]}var l=new P.MathNode("mi",t);l.setAttribute("mathvariant","normal");var f=new P.MathNode("mo",[e0("⁡","text")]);return e.parentIsSupSub?new P.MathNode("mrow",[l,f]):P.newDocumentFragment([l,f])};Y({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,r)=>{var{parser:t,funcName:u}=e,n=r[0];return{type:"operatorname",mode:t.mode,body:Ae(n),alwaysHandleSupSub:u==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:po,mathmlBuilder:lf});p("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");J0({type:"ordgroup",htmlBuilder(e,r){return e.semisimple?M.makeFragment(De(e.body,r,!1)):M.makeSpan(["mord"],De(e.body,r,!0),r)},mathmlBuilder(e,r){return U0(e.body,r,!0)}});Y({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,r){var{parser:t}=e,u=r[0];return{type:"overline",mode:t.mode,body:u}},htmlBuilder(e,r){var t=oe(e.body,r.havingCrampedStyle()),u=M.makeLineSpan("overline-line",r),n=r.fontMetrics().defaultRuleThickness,a=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*n},{type:"elem",elem:u},{type:"kern",size:n}]},r);return M.makeSpan(["mord","overline"],[a],r)},mathmlBuilder(e,r){var t=new P.MathNode("mo",[new P.TextNode("‾")]);t.setAttribute("stretchy","true");var u=new P.MathNode("mover",[he(e.body,r),t]);return u.setAttribute("accent","true"),u}});Y({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,r)=>{var{parser:t}=e,u=r[0];return{type:"phantom",mode:t.mode,body:Ae(u)}},htmlBuilder:(e,r)=>{var t=De(e.body,r.withPhantom(),!1);return M.makeFragment(t)},mathmlBuilder:(e,r)=>{var t=He(e.body,r);return new P.MathNode("mphantom",t)}});Y({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,r)=>{var{parser:t}=e,u=r[0];return{type:"hphantom",mode:t.mode,body:u}},htmlBuilder:(e,r)=>{var t=M.makeSpan([],[oe(e.body,r.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var u=0;u{var t=He(Ae(e.body),r),u=new P.MathNode("mphantom",t),n=new P.MathNode("mpadded",[u]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}});Y({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,r)=>{var{parser:t}=e,u=r[0];return{type:"vphantom",mode:t.mode,body:u}},htmlBuilder:(e,r)=>{var t=M.makeSpan(["inner"],[oe(e.body,r.withPhantom())]),u=M.makeSpan(["fix"],[]);return M.makeSpan(["mord","rlap"],[t,u],r)},mathmlBuilder:(e,r)=>{var t=He(Ae(e.body),r),u=new P.MathNode("mphantom",t),n=new P.MathNode("mpadded",[u]);return n.setAttribute("width","0px"),n}});Y({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,r){var{parser:t}=e,u=ue(r[0],"size").value,n=r[1];return{type:"raisebox",mode:t.mode,dy:u,body:n}},htmlBuilder(e,r){var t=oe(e.body,r),u=ye(e.dy,r);return M.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:t}]},r)},mathmlBuilder(e,r){var t=new P.MathNode("mpadded",[he(e.body,r)]),u=e.dy.number+e.dy.unit;return t.setAttribute("voffset",u),t}});Y({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:r}=e;return{type:"internal",mode:r.mode}}});Y({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,r,t){var{parser:u}=e,n=t[0],a=ue(r[0],"size"),i=ue(r[1],"size");return{type:"rule",mode:u.mode,shift:n&&ue(n,"size").value,width:a.value,height:i.value}},htmlBuilder(e,r){var t=M.makeSpan(["mord","rule"],[],r),u=ye(e.width,r),n=ye(e.height,r),a=e.shift?ye(e.shift,r):0;return t.style.borderRightWidth=G(u),t.style.borderTopWidth=G(n),t.style.bottom=G(a),t.width=u,t.height=n+a,t.depth=-a,t.maxFontSize=n*1.125*r.sizeMultiplier,t},mathmlBuilder(e,r){var t=ye(e.width,r),u=ye(e.height,r),n=e.shift?ye(e.shift,r):0,a=r.color&&r.getColor()||"black",i=new P.MathNode("mspace");i.setAttribute("mathbackground",a),i.setAttribute("width",G(t)),i.setAttribute("height",G(u));var o=new P.MathNode("mpadded",[i]);return n>=0?o.setAttribute("height",G(n)):(o.setAttribute("height",G(n)),o.setAttribute("depth",G(-n))),o.setAttribute("voffset",G(n)),o}});function bo(e,r,t){for(var u=De(e,r,!1),n=r.sizeMultiplier/t.sizeMultiplier,a=0;a{var t=r.havingSize(e.size);return bo(e.body,t,r)};Y({type:"sizing",names:ga,props:{numArgs:0,allowedInText:!0},handler:(e,r)=>{var{breakOnTokenText:t,funcName:u,parser:n}=e,a=n.parseExpression(!1,t);return{type:"sizing",mode:n.mode,size:ga.indexOf(u)+1,body:a}},htmlBuilder:sf,mathmlBuilder:(e,r)=>{var t=r.havingSize(e.size),u=He(e.body,t),n=new P.MathNode("mstyle",u);return n.setAttribute("mathsize",G(t.sizeMultiplier)),n}});Y({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,r,t)=>{var{parser:u}=e,n=!1,a=!1,i=t[0]&&ue(t[0],"ordgroup");if(i)for(var o="",l=0;l{var t=M.makeSpan([],[oe(e.body,r)]);if(!e.smashHeight&&!e.smashDepth)return t;if(e.smashHeight&&(t.height=0,t.children))for(var u=0;u{var t=new P.MathNode("mpadded",[he(e.body,r)]);return e.smashHeight&&t.setAttribute("height","0px"),e.smashDepth&&t.setAttribute("depth","0px"),t}});Y({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,r,t){var{parser:u}=e,n=t[0],a=r[0];return{type:"sqrt",mode:u.mode,body:a,index:n}},htmlBuilder(e,r){var t=oe(e.body,r.havingCrampedStyle());t.height===0&&(t.height=r.fontMetrics().xHeight),t=M.wrapFragment(t,r);var u=r.fontMetrics(),n=u.defaultRuleThickness,a=n;r.style.idt.height+t.depth+i&&(i=(i+d-t.height-t.depth)/2);var g=l.height-t.height-i-f;t.style.paddingLeft=G(h);var v=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+g)},{type:"elem",elem:l},{type:"kern",size:f}]},r);if(e.index){var y=r.havingStyle(re.SCRIPTSCRIPT),T=oe(e.index,y,r),E=.6*(v.height-v.depth),I=M.makeVList({positionType:"shift",positionData:-E,children:[{type:"elem",elem:T}]},r),z=M.makeSpan(["root"],[I]);return M.makeSpan(["mord","sqrt"],[z,v],r)}else return M.makeSpan(["mord","sqrt"],[v],r)},mathmlBuilder(e,r){var{body:t,index:u}=e;return u?new P.MathNode("mroot",[he(t,r),he(u,r)]):new P.MathNode("msqrt",[he(t,r)])}});var xa={display:re.DISPLAY,text:re.TEXT,script:re.SCRIPT,scriptscript:re.SCRIPTSCRIPT};Y({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,r){var{breakOnTokenText:t,funcName:u,parser:n}=e,a=n.parseExpression(!0,t),i=u.slice(1,u.length-5);return{type:"styling",mode:n.mode,style:i,body:a}},htmlBuilder(e,r){var t=xa[e.style],u=r.havingStyle(t).withFont("");return bo(e.body,u,r)},mathmlBuilder(e,r){var t=xa[e.style],u=r.havingStyle(t),n=He(e.body,u),a=new P.MathNode("mstyle",n),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=i[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var cf=function(r,t){var u=r.base;if(u)if(u.type==="op"){var n=u.limits&&(t.style.size===re.DISPLAY.size||u.alwaysHandleSupSub);return n?xr:null}else if(u.type==="operatorname"){var a=u.alwaysHandleSupSub&&(t.style.size===re.DISPLAY.size||u.limits);return a?po:null}else{if(u.type==="accent")return Q.isCharacterBox(u.base)?Gu:null;if(u.type==="horizBrace"){var i=!r.sub;return i===u.isOver?fo:null}else return null}else return null};J0({type:"supsub",htmlBuilder(e,r){var t=cf(e,r);if(t)return t(e,r);var{base:u,sup:n,sub:a}=e,i=oe(u,r),o,l,f=r.fontMetrics(),h=0,d=0,g=u&&Q.isCharacterBox(u);if(n){var v=r.havingStyle(r.style.sup());o=oe(n,v,r),g||(h=i.height-v.fontMetrics().supDrop*v.sizeMultiplier/r.sizeMultiplier)}if(a){var y=r.havingStyle(r.style.sub());l=oe(a,y,r),g||(d=i.depth+y.fontMetrics().subDrop*y.sizeMultiplier/r.sizeMultiplier)}var T;r.style===re.DISPLAY?T=f.sup1:r.style.cramped?T=f.sup3:T=f.sup2;var E=r.sizeMultiplier,I=G(.5/f.ptPerEm/E),z=null;if(l){var R=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof Qe||R)&&(z=G(-i.italic))}var q;if(o&&l){h=Math.max(h,T,o.depth+.25*f.xHeight),d=Math.max(d,f.sub2);var F=f.defaultRuleThickness,O=4*F;if(h-o.depth-(l.height-d)0&&(h+=H,d-=H)}var Z=[{type:"elem",elem:l,shift:d,marginRight:I,marginLeft:z},{type:"elem",elem:o,shift:-h,marginRight:I}];q=M.makeVList({positionType:"individualShift",children:Z},r)}else if(l){d=Math.max(d,f.sub1,l.height-.8*f.xHeight);var K=[{type:"elem",elem:l,marginLeft:z,marginRight:I}];q=M.makeVList({positionType:"shift",positionData:d,children:K},r)}else if(o)h=Math.max(h,T,o.depth+.25*f.xHeight),q=M.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:o,marginRight:I}]},r);else throw new Error("supsub must have either sup or sub.");var se=wu(i,"right")||"mord";return M.makeSpan([se],[i,M.makeSpan(["msupsub"],[q])],r)},mathmlBuilder(e,r){var t=!1,u,n;e.base&&e.base.type==="horizBrace"&&(n=!!e.sup,n===e.base.isOver&&(t=!0,u=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[he(e.base,r)];e.sub&&a.push(he(e.sub,r)),e.sup&&a.push(he(e.sup,r));var i;if(t)i=u?"mover":"munder";else if(e.sub)if(e.sup){var f=e.base;f&&f.type==="op"&&f.limits&&r.style===re.DISPLAY||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(r.style===re.DISPLAY||f.limits)?i="munderover":i="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(r.style===re.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||r.style===re.DISPLAY)?i="munder":i="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(r.style===re.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||r.style===re.DISPLAY)?i="mover":i="msup"}return new P.MathNode(i,a)}});J0({type:"atom",htmlBuilder(e,r){return M.mathsym(e.text,e.mode,r,["m"+e.family])},mathmlBuilder(e,r){var t=new P.MathNode("mo",[e0(e.text,e.mode)]);if(e.family==="bin"){var u=Vu(e,r);u==="bold-italic"&&t.setAttribute("mathvariant",u)}else e.family==="punct"?t.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&t.setAttribute("stretchy","false");return t}});var vo={mi:"italic",mn:"normal",mtext:"normal"};J0({type:"mathord",htmlBuilder(e,r){return M.makeOrd(e,r,"mathord")},mathmlBuilder(e,r){var t=new P.MathNode("mi",[e0(e.text,e.mode,r)]),u=Vu(e,r)||"italic";return u!==vo[t.type]&&t.setAttribute("mathvariant",u),t}});J0({type:"textord",htmlBuilder(e,r){return M.makeOrd(e,r,"textord")},mathmlBuilder(e,r){var t=e0(e.text,e.mode,r),u=Vu(e,r)||"normal",n;return e.mode==="text"?n=new P.MathNode("mtext",[t]):/[0-9]/.test(e.text)?n=new P.MathNode("mn",[t]):e.text==="\\prime"?n=new P.MathNode("mo",[t]):n=new P.MathNode("mi",[t]),u!==vo[n.type]&&n.setAttribute("mathvariant",u),n}});var lu={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},su={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};J0({type:"spacing",htmlBuilder(e,r){if(su.hasOwnProperty(e.text)){var t=su[e.text].className||"";if(e.mode==="text"){var u=M.makeOrd(e,r,"textord");return u.classes.push(t),u}else return M.makeSpan(["mspace",t],[M.mathsym(e.text,e.mode,r)],r)}else{if(lu.hasOwnProperty(e.text))return M.makeSpan(["mspace",lu[e.text]],[],r);throw new $('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,r){var t;if(su.hasOwnProperty(e.text))t=new P.MathNode("mtext",[new P.TextNode(" ")]);else{if(lu.hasOwnProperty(e.text))return new P.MathNode("mspace");throw new $('Unknown type of space "'+e.text+'"')}return t}});var ya=()=>{var e=new P.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};J0({type:"tag",mathmlBuilder(e,r){var t=new P.MathNode("mtable",[new P.MathNode("mtr",[ya(),new P.MathNode("mtd",[U0(e.body,r)]),ya(),new P.MathNode("mtd",[U0(e.tag,r)])])]);return t.setAttribute("width","100%"),t}});var wa={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ka={"\\textbf":"textbf","\\textmd":"textmd"},ff={"\\textit":"textit","\\textup":"textup"},Sa=(e,r)=>{var t=e.font;return t?wa[t]?r.withTextFontFamily(wa[t]):ka[t]?r.withTextFontWeight(ka[t]):r.withTextFontShape(ff[t]):r};Y({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,r){var{parser:t,funcName:u}=e,n=r[0];return{type:"text",mode:t.mode,body:Ae(n),font:u}},htmlBuilder(e,r){var t=Sa(e,r),u=De(e.body,t,!0);return M.makeSpan(["mord","text"],u,t)},mathmlBuilder(e,r){var t=Sa(e,r);return U0(e.body,t)}});Y({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,r){var{parser:t}=e;return{type:"underline",mode:t.mode,body:r[0]}},htmlBuilder(e,r){var t=oe(e.body,r),u=M.makeLineSpan("underline-line",r),n=r.fontMetrics().defaultRuleThickness,a=M.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:n},{type:"elem",elem:u},{type:"kern",size:3*n},{type:"elem",elem:t}]},r);return M.makeSpan(["mord","underline"],[a],r)},mathmlBuilder(e,r){var t=new P.MathNode("mo",[new P.TextNode("‾")]);t.setAttribute("stretchy","true");var u=new P.MathNode("munder",[he(e.body,r),t]);return u.setAttribute("accentunder","true"),u}});Y({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,r){var{parser:t}=e;return{type:"vcenter",mode:t.mode,body:r[0]}},htmlBuilder(e,r){var t=oe(e.body,r),u=r.fontMetrics().axisHeight,n=.5*(t.height-u-(t.depth+u));return M.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:t}]},r)},mathmlBuilder(e,r){return new P.MathNode("mpadded",[he(e.body,r)],["vcenter"])}});Y({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,r,t){throw new $("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,r){for(var t=Aa(e),u=[],n=r.havingStyle(r.style.text()),a=0;ae.body.replace(/ /g,e.star?"␣":" "),L0=Pi,go=`[ \r ]`,df="\\\\[a-zA-Z@]+",hf="\\\\[^\uD800-\uDFFF]",mf="("+df+")"+go+"*",pf=`\\\\( |[ \r ]+ ?)[ \r ]*`,Cu="[̀-ͯ]",bf=new RegExp(Cu+"+$"),vf="("+go+"+)|"+(pf+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Cu+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Cu+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+mf)+("|"+hf+")");class Ca{constructor(r,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=r,this.settings=t,this.tokenRegex=new RegExp(vf,"g"),this.catcodes={"%":14,"~":13}}setCatcode(r,t){this.catcodes[r]=t}lex(){var r=this.input,t=this.tokenRegex.lastIndex;if(t===r.length)return new Ke("EOF",new Ve(this,t,t));var u=this.tokenRegex.exec(r);if(u===null||u.index!==t)throw new $("Unexpected character: '"+r[t]+"'",new Ke(r[t],new Ve(this,t,t+1)));var n=u[6]||u[3]||(u[2]?"\\ ":" ");if(this.catcodes[n]===14){var a=r.indexOf(` -`,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=r.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new Ke(n,new Ve(this,t,this.tokenRegex.lastIndex))}}class gf{constructor(r,t){r===void 0&&(r={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=r,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new $("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var r=this.undefStack.pop();for(var t in r)r.hasOwnProperty(t)&&(r[t]==null?delete this.current[t]:this.current[t]=r[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(r){return this.current.hasOwnProperty(r)||this.builtins.hasOwnProperty(r)}get(r){return this.current.hasOwnProperty(r)?this.current[r]:this.builtins[r]}set(r,t,u){if(u===void 0&&(u=!1),u){for(var n=0;n0&&(this.undefStack[this.undefStack.length-1][r]=t)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(r)&&(a[r]=this.current[r])}t==null?delete this.current[r]:this.current[r]=t}}var xf=io;p("\\noexpand",function(e){var r=e.popToken();return e.isExpandable(r.text)&&(r.noexpand=!0,r.treatAsRelax=!0),{tokens:[r],numArgs:0}});p("\\expandafter",function(e){var r=e.popToken();return e.expandOnce(!0),{tokens:[r],numArgs:0}});p("\\@firstoftwo",function(e){var r=e.consumeArgs(2);return{tokens:r[0],numArgs:0}});p("\\@secondoftwo",function(e){var r=e.consumeArgs(2);return{tokens:r[1],numArgs:0}});p("\\@ifnextchar",function(e){var r=e.consumeArgs(3);e.consumeSpaces();var t=e.future();return r[0].length===1&&r[0][0].text===t.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}});p("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");p("\\TextOrMath",function(e){var r=e.consumeArgs(2);return e.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var _a={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};p("\\char",function(e){var r=e.popToken(),t,u="";if(r.text==="'")t=8,r=e.popToken();else if(r.text==='"')t=16,r=e.popToken();else if(r.text==="`")if(r=e.popToken(),r.text[0]==="\\")u=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new $("\\char` missing argument");u=r.text.charCodeAt(0)}else t=10;if(t){if(u=_a[r.text],u==null||u>=t)throw new $("Invalid base-"+t+" digit "+r.text);for(var n;(n=_a[e.future().text])!=null&&n{var u=e.consumeArg().tokens;if(u.length!==1)throw new $("\\newcommand's first argument must be a macro name");var n=u[0].text,a=e.isDefined(n);if(a&&!r)throw new $("\\newcommand{"+n+"} attempting to redefine "+(n+"; use \\renewcommand"));if(!a&&!t)throw new $("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var i=0;if(u=e.consumeArg().tokens,u.length===1&&u[0].text==="["){for(var o="",s=e.expandNextToken();s.text!=="]"&&s.text!=="EOF";)o+=s.text,s=e.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new $("Invalid number of arguments: "+o);i=parseInt(o),u=e.consumeArg().tokens}return e.macros.set(n,{tokens:u,numArgs:i}),""};p("\\newcommand",e=>en(e,!1,!0));p("\\renewcommand",e=>en(e,!0,!1));p("\\providecommand",e=>en(e,!0,!0));p("\\message",e=>{var r=e.consumeArgs(1)[0];return console.log(r.reverse().map(t=>t.text).join("")),""});p("\\errmessage",e=>{var r=e.consumeArgs(1)[0];return console.error(r.reverse().map(t=>t.text).join("")),""});p("\\show",e=>{var r=e.popToken(),t=r.text;return console.log(r,e.macros.get(t),L0[t],be.math[t],be.text[t]),""});p("\\bgroup","{");p("\\egroup","}");p("~","\\nobreakspace");p("\\lq","`");p("\\rq","'");p("\\aa","\\r a");p("\\AA","\\r A");p("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");p("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");p("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");p("ℬ","\\mathscr{B}");p("ℰ","\\mathscr{E}");p("ℱ","\\mathscr{F}");p("ℋ","\\mathscr{H}");p("ℐ","\\mathscr{I}");p("ℒ","\\mathscr{L}");p("ℳ","\\mathscr{M}");p("ℛ","\\mathscr{R}");p("ℭ","\\mathfrak{C}");p("ℌ","\\mathfrak{H}");p("ℨ","\\mathfrak{Z}");p("\\Bbbk","\\Bbb{k}");p("·","\\cdotp");p("\\llap","\\mathllap{\\textrm{#1}}");p("\\rlap","\\mathrlap{\\textrm{#1}}");p("\\clap","\\mathclap{\\textrm{#1}}");p("\\mathstrut","\\vphantom{(}");p("\\underbar","\\underline{\\text{#1}}");p("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');p("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");p("\\ne","\\neq");p("≠","\\neq");p("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");p("∉","\\notin");p("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");p("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");p("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");p("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");p("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");p("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");p("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");p("⟂","\\perp");p("‼","\\mathclose{!\\mkern-0.8mu!}");p("∌","\\notni");p("⌜","\\ulcorner");p("⌝","\\urcorner");p("⌞","\\llcorner");p("⌟","\\lrcorner");p("©","\\copyright");p("®","\\textregistered");p("️","\\textregistered");p("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');p("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');p("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');p("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');p("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");p("⋮","\\vdots");p("\\varGamma","\\mathit{\\Gamma}");p("\\varDelta","\\mathit{\\Delta}");p("\\varTheta","\\mathit{\\Theta}");p("\\varLambda","\\mathit{\\Lambda}");p("\\varXi","\\mathit{\\Xi}");p("\\varPi","\\mathit{\\Pi}");p("\\varSigma","\\mathit{\\Sigma}");p("\\varUpsilon","\\mathit{\\Upsilon}");p("\\varPhi","\\mathit{\\Phi}");p("\\varPsi","\\mathit{\\Psi}");p("\\varOmega","\\mathit{\\Omega}");p("\\substack","\\begin{subarray}{c}#1\\end{subarray}");p("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");p("\\boxed","\\fbox{$\\displaystyle{#1}$}");p("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");p("\\implies","\\DOTSB\\;\\Longrightarrow\\;");p("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Ea={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};p("\\dots",function(e){var r="\\dotso",t=e.expandAfterFuture().text;return t in Ea?r=Ea[t]:(t.slice(0,4)==="\\not"||t in be.math&&Q.contains(["bin","rel"],be.math[t].group))&&(r="\\dotsb"),r});var rn={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};p("\\dotso",function(e){var r=e.future().text;return r in rn?"\\ldots\\,":"\\ldots"});p("\\dotsc",function(e){var r=e.future().text;return r in rn&&r!==","?"\\ldots\\,":"\\ldots"});p("\\cdots",function(e){var r=e.future().text;return r in rn?"\\@cdots\\,":"\\@cdots"});p("\\dotsb","\\cdots");p("\\dotsm","\\cdots");p("\\dotsi","\\!\\cdots");p("\\dotsx","\\ldots\\,");p("\\DOTSI","\\relax");p("\\DOTSB","\\relax");p("\\DOTSX","\\relax");p("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");p("\\,","\\tmspace+{3mu}{.1667em}");p("\\thinspace","\\,");p("\\>","\\mskip{4mu}");p("\\:","\\tmspace+{4mu}{.2222em}");p("\\medspace","\\:");p("\\;","\\tmspace+{5mu}{.2777em}");p("\\thickspace","\\;");p("\\!","\\tmspace-{3mu}{.1667em}");p("\\negthinspace","\\!");p("\\negmedspace","\\tmspace-{4mu}{.2222em}");p("\\negthickspace","\\tmspace-{5mu}{.277em}");p("\\enspace","\\kern.5em ");p("\\enskip","\\hskip.5em\\relax");p("\\quad","\\hskip1em\\relax");p("\\qquad","\\hskip2em\\relax");p("\\tag","\\@ifstar\\tag@literal\\tag@paren");p("\\tag@paren","\\tag@literal{({#1})}");p("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new $("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});p("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");p("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");p("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");p("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");p("\\newline","\\\\\\relax");p("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var xo=G(l0["Main-Regular"][84][1]-.7*l0["Main-Regular"][65][1]);p("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+xo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");p("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+xo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");p("\\hspace","\\@ifstar\\@hspacer\\@hspace");p("\\@hspace","\\hskip #1\\relax");p("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");p("\\ordinarycolon",":");p("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");p("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');p("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');p("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');p("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');p("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');p("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');p("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');p("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');p("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');p("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');p("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');p("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');p("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');p("∷","\\dblcolon");p("∹","\\eqcolon");p("≔","\\coloneqq");p("≕","\\eqqcolon");p("⩴","\\Coloneqq");p("\\ratio","\\vcentcolon");p("\\coloncolon","\\dblcolon");p("\\colonequals","\\coloneqq");p("\\coloncolonequals","\\Coloneqq");p("\\equalscolon","\\eqqcolon");p("\\equalscoloncolon","\\Eqqcolon");p("\\colonminus","\\coloneq");p("\\coloncolonminus","\\Coloneq");p("\\minuscolon","\\eqcolon");p("\\minuscoloncolon","\\Eqcolon");p("\\coloncolonapprox","\\Colonapprox");p("\\coloncolonsim","\\Colonsim");p("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");p("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");p("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");p("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");p("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");p("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");p("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");p("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");p("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");p("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");p("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");p("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");p("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");p("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");p("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");p("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");p("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");p("\\nleqq","\\html@mathml{\\@nleqq}{≰}");p("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");p("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");p("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");p("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");p("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");p("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");p("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");p("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");p("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");p("\\imath","\\html@mathml{\\@imath}{ı}");p("\\jmath","\\html@mathml{\\@jmath}{ȷ}");p("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");p("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");p("⟦","\\llbracket");p("⟧","\\rrbracket");p("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");p("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");p("⦃","\\lBrace");p("⦄","\\rBrace");p("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");p("⦵","\\minuso");p("\\darr","\\downarrow");p("\\dArr","\\Downarrow");p("\\Darr","\\Downarrow");p("\\lang","\\langle");p("\\rang","\\rangle");p("\\uarr","\\uparrow");p("\\uArr","\\Uparrow");p("\\Uarr","\\Uparrow");p("\\N","\\mathbb{N}");p("\\R","\\mathbb{R}");p("\\Z","\\mathbb{Z}");p("\\alef","\\aleph");p("\\alefsym","\\aleph");p("\\Alpha","\\mathrm{A}");p("\\Beta","\\mathrm{B}");p("\\bull","\\bullet");p("\\Chi","\\mathrm{X}");p("\\clubs","\\clubsuit");p("\\cnums","\\mathbb{C}");p("\\Complex","\\mathbb{C}");p("\\Dagger","\\ddagger");p("\\diamonds","\\diamondsuit");p("\\empty","\\emptyset");p("\\Epsilon","\\mathrm{E}");p("\\Eta","\\mathrm{H}");p("\\exist","\\exists");p("\\harr","\\leftrightarrow");p("\\hArr","\\Leftrightarrow");p("\\Harr","\\Leftrightarrow");p("\\hearts","\\heartsuit");p("\\image","\\Im");p("\\infin","\\infty");p("\\Iota","\\mathrm{I}");p("\\isin","\\in");p("\\Kappa","\\mathrm{K}");p("\\larr","\\leftarrow");p("\\lArr","\\Leftarrow");p("\\Larr","\\Leftarrow");p("\\lrarr","\\leftrightarrow");p("\\lrArr","\\Leftrightarrow");p("\\Lrarr","\\Leftrightarrow");p("\\Mu","\\mathrm{M}");p("\\natnums","\\mathbb{N}");p("\\Nu","\\mathrm{N}");p("\\Omicron","\\mathrm{O}");p("\\plusmn","\\pm");p("\\rarr","\\rightarrow");p("\\rArr","\\Rightarrow");p("\\Rarr","\\Rightarrow");p("\\real","\\Re");p("\\reals","\\mathbb{R}");p("\\Reals","\\mathbb{R}");p("\\Rho","\\mathrm{P}");p("\\sdot","\\cdot");p("\\sect","\\S");p("\\spades","\\spadesuit");p("\\sub","\\subset");p("\\sube","\\subseteq");p("\\supe","\\supseteq");p("\\Tau","\\mathrm{T}");p("\\thetasym","\\vartheta");p("\\weierp","\\wp");p("\\Zeta","\\mathrm{Z}");p("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");p("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");p("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");p("\\bra","\\mathinner{\\langle{#1}|}");p("\\ket","\\mathinner{|{#1}\\rangle}");p("\\braket","\\mathinner{\\langle{#1}\\rangle}");p("\\Bra","\\left\\langle#1\\right|");p("\\Ket","\\left|#1\\right\\rangle");var yo=e=>r=>{var t=r.consumeArg().tokens,u=r.consumeArg().tokens,n=r.consumeArg().tokens,a=r.consumeArg().tokens,i=r.macros.get("|"),o=r.macros.get("\\|");r.macros.beginGroup();var s=d=>g=>{e&&(g.macros.set("|",i),n.length&&g.macros.set("\\|",o));var v=d;if(!d&&n.length){var y=g.future();y.text==="|"&&(g.popToken(),v=!0)}return{tokens:v?n:u,numArgs:0}};r.macros.set("|",s(!1)),n.length&&r.macros.set("\\|",s(!0));var f=r.consumeArg().tokens,h=r.expandTokens([...a,...f,...t]);return r.macros.endGroup(),{tokens:h.reverse(),numArgs:0}};p("\\bra@ket",yo(!1));p("\\bra@set",yo(!0));p("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");p("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");p("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");p("\\angln","{\\angl n}");p("\\blue","\\textcolor{##6495ed}{#1}");p("\\orange","\\textcolor{##ffa500}{#1}");p("\\pink","\\textcolor{##ff00af}{#1}");p("\\red","\\textcolor{##df0030}{#1}");p("\\green","\\textcolor{##28ae7b}{#1}");p("\\gray","\\textcolor{gray}{#1}");p("\\purple","\\textcolor{##9d38bd}{#1}");p("\\blueA","\\textcolor{##ccfaff}{#1}");p("\\blueB","\\textcolor{##80f6ff}{#1}");p("\\blueC","\\textcolor{##63d9ea}{#1}");p("\\blueD","\\textcolor{##11accd}{#1}");p("\\blueE","\\textcolor{##0c7f99}{#1}");p("\\tealA","\\textcolor{##94fff5}{#1}");p("\\tealB","\\textcolor{##26edd5}{#1}");p("\\tealC","\\textcolor{##01d1c1}{#1}");p("\\tealD","\\textcolor{##01a995}{#1}");p("\\tealE","\\textcolor{##208170}{#1}");p("\\greenA","\\textcolor{##b6ffb0}{#1}");p("\\greenB","\\textcolor{##8af281}{#1}");p("\\greenC","\\textcolor{##74cf70}{#1}");p("\\greenD","\\textcolor{##1fab54}{#1}");p("\\greenE","\\textcolor{##0d923f}{#1}");p("\\goldA","\\textcolor{##ffd0a9}{#1}");p("\\goldB","\\textcolor{##ffbb71}{#1}");p("\\goldC","\\textcolor{##ff9c39}{#1}");p("\\goldD","\\textcolor{##e07d10}{#1}");p("\\goldE","\\textcolor{##a75a05}{#1}");p("\\redA","\\textcolor{##fca9a9}{#1}");p("\\redB","\\textcolor{##ff8482}{#1}");p("\\redC","\\textcolor{##f9685d}{#1}");p("\\redD","\\textcolor{##e84d39}{#1}");p("\\redE","\\textcolor{##bc2612}{#1}");p("\\maroonA","\\textcolor{##ffbde0}{#1}");p("\\maroonB","\\textcolor{##ff92c6}{#1}");p("\\maroonC","\\textcolor{##ed5fa6}{#1}");p("\\maroonD","\\textcolor{##ca337c}{#1}");p("\\maroonE","\\textcolor{##9e034e}{#1}");p("\\purpleA","\\textcolor{##ddd7ff}{#1}");p("\\purpleB","\\textcolor{##c6b9fc}{#1}");p("\\purpleC","\\textcolor{##aa87ff}{#1}");p("\\purpleD","\\textcolor{##7854ab}{#1}");p("\\purpleE","\\textcolor{##543b78}{#1}");p("\\mintA","\\textcolor{##f5f9e8}{#1}");p("\\mintB","\\textcolor{##edf2df}{#1}");p("\\mintC","\\textcolor{##e0e5cc}{#1}");p("\\grayA","\\textcolor{##f6f7f7}{#1}");p("\\grayB","\\textcolor{##f0f1f2}{#1}");p("\\grayC","\\textcolor{##e3e5e6}{#1}");p("\\grayD","\\textcolor{##d6d8da}{#1}");p("\\grayE","\\textcolor{##babec2}{#1}");p("\\grayF","\\textcolor{##888d93}{#1}");p("\\grayG","\\textcolor{##626569}{#1}");p("\\grayH","\\textcolor{##3b3e40}{#1}");p("\\grayI","\\textcolor{##21242c}{#1}");p("\\kaBlue","\\textcolor{##314453}{#1}");p("\\kaGreen","\\textcolor{##71B307}{#1}");var wo={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class yf{constructor(r,t,u){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(r),this.macros=new gf(xf,t.macros),this.mode=u,this.stack=[]}feed(r){this.lexer=new Ca(r,this.settings)}switchMode(r){this.mode=r}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(r){this.stack.push(r)}pushTokens(r){this.stack.push(...r)}scanArgument(r){var t,u,n;if(r){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken(),{tokens:n,end:u}=this.consumeArg(["]"])}else({tokens:n,start:t,end:u}=this.consumeArg());return this.pushToken(new Ke("EOF",u.loc)),this.pushTokens(n),t.range(u,"")}consumeSpaces(){for(;;){var r=this.future();if(r.text===" ")this.stack.pop();else break}}consumeArg(r){var t=[],u=r&&r.length>0;u||this.consumeSpaces();var n=this.future(),a,i=0,o=0;do{if(a=this.popToken(),t.push(a),a.text==="{")++i;else if(a.text==="}"){if(--i,i===-1)throw new $("Extra }",a)}else if(a.text==="EOF")throw new $("Unexpected end of input in a macro argument, expected '"+(r&&u?r[o]:"}")+"'",a);if(r&&u)if((i===0||i===1&&r[o]==="{")&&a.text===r[o]){if(++o,o===r.length){t.splice(-o,o);break}}else o=0}while(i!==0||u);return n.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:n,end:a}}consumeArgs(r,t){if(t){if(t.length!==r+1)throw new $("The length of delimiters doesn't match the number of args!");for(var u=t[0],n=0;nthis.settings.maxExpand)throw new $("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(r){var t=this.popToken(),u=t.text,n=t.noexpand?null:this._getExpansion(u);if(n==null||r&&n.unexpandable){if(r&&n==null&&u[0]==="\\"&&!this.isDefined(u))throw new $("Undefined control sequence: "+u);return this.pushToken(t),!1}this.countExpansion(1);var a=n.tokens,i=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var s=a[o];if(s.text==="#"){if(o===0)throw new $("Incomplete placeholder at end of macro body",s);if(s=a[--o],s.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(s.text))a.splice(o,2,...i[+s.text-1]);else throw new $("Not a valid argument number",s)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var r=this.stack.pop();return r.treatAsRelax&&(r.text="\\relax"),r}throw new Error}expandMacro(r){return this.macros.has(r)?this.expandTokens([new Ke(r)]):void 0}expandTokens(r){var t=[],u=this.stack.length;for(this.pushTokens(r);this.stack.length>u;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),t.push(n)}return this.countExpansion(t.length),t}expandMacroAsText(r){var t=this.expandMacro(r);return t&&t.map(u=>u.text).join("")}_getExpansion(r){var t=this.macros.get(r);if(t==null)return t;if(r.length===1){var u=this.lexer.catcodes[r];if(u!=null&&u!==13)return}var n=typeof t=="function"?t(this):t;if(typeof n=="string"){var a=0;if(n.indexOf("#")!==-1)for(var i=n.replace(/##/g,"");i.indexOf("#"+(a+1))!==-1;)++a;for(var o=new Ca(n,this.settings),s=[],f=o.lex();f.text!=="EOF";)s.push(f),f=o.lex();s.reverse();var h={tokens:s,numArgs:a};return h}return n}isDefined(r){return this.macros.has(r)||L0.hasOwnProperty(r)||be.math.hasOwnProperty(r)||be.text.hasOwnProperty(r)||wo.hasOwnProperty(r)}isExpandable(r){var t=this.macros.get(r);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:L0.hasOwnProperty(r)&&!L0[r].primitive}}var Da=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,at=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),cu={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Ta={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Ft{constructor(r,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new yf(r,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(r,t){if(t===void 0&&(t=!0),this.fetch().text!==r)throw new $("Expected '"+r+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(r){this.mode=r,this.gullet.switchMode(r)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var r=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),r}finally{this.gullet.endGroups()}}subparse(r){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Ke("}")),this.gullet.pushTokens(r);var u=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,u}parseExpression(r,t){for(var u=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(Ft.endOfExpression.indexOf(n.text)!==-1||t&&n.text===t||r&&L0[n.text]&&L0[n.text].infix)break;var a=this.parseAtom(t);if(a){if(a.type==="internal")continue}else break;u.push(a)}return this.mode==="text"&&this.formLigatures(u),this.handleInfixNodes(u)}handleInfixNodes(r){for(var t=-1,u,n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',r);var o=be[this.mode][t].group,s=Ve.range(r),f;if(o4.hasOwnProperty(o)){var h=o;f={type:"atom",mode:this.mode,family:h,loc:s,text:t}}else f={type:o,mode:this.mode,loc:s,text:t};i=f}else if(t.charCodeAt(0)>=128)this.settings.strict&&(Ti(t.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',r):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0)+")"),r)),i={type:"textord",mode:"text",loc:Ve.range(r),text:t};else return null;if(this.consume(),a)for(var d=0;d":">","'":"'",'"':"""},Cf=/[&<>'"]/g,it=e=>e.replace(Cf,r=>Af[r]),Fa=(e,r)=>{const t=r>0?e.src.charCodeAt(r-1):-1,u=r+1<=e.posMax?e.src.charCodeAt(r+1):-1;let n=!0,a=!0;return(t===32||t===9||u>=48&&u<=57)&&(a=!1),(u===32||u===9)&&(n=!1),{canOpen:n,canClose:a}},_f=(e,r)=>{let t,u,n,a;if(e.src[e.pos]!=="$")return!1;if(n=Fa(e,e.pos),!n.canOpen)return r||(e.pending+="$"),e.pos+=1,!0;const i=e.pos+1;for(t=i;(t=e.src.indexOf("$",t))!==-1;){for(a=t-1;e.src[a]==="\\";)a-=1;if((t-a)%2===1)break;t+=1}return t===-1?(r||(e.pending+="$"),e.pos=i,!0):t-i===0?(r||(e.pending+="$$"),e.pos=i+1,!0):(n=Fa(e,t),n.canClose?(r||(u=e.push("mathInline","math",0),u.markup="$",u.content=e.src.slice(i,t)),e.pos=t+1,!0):(r||(e.pending+="$"),e.pos=i,!0))},Ef=(e,r,t,u)=>{let n,a,i,o,s=!1,f=e.bMarks[r]+e.tShift[r],h=e.eMarks[r];if(f+2>h||e.src.slice(f,f+2)!=="$$")return!1;if(f+=2,n=e.src.slice(f,h),u)return!0;for(n.trim().endsWith("$$")&&(n=n.trim().slice(0,-2),s=!0),i=r;!s&&(i+=1,!(i>=t||(f=e.bMarks[i]+e.tShift[i],h=e.eMarks[i],f0;)this.endGroup()}has(r){return this.current.hasOwnProperty(r)||this.builtins.hasOwnProperty(r)}get(r){return this.current.hasOwnProperty(r)?this.current[r]:this.builtins[r]}set(r,t,u){if(u===void 0&&(u=!1),u){for(var n=0;n0&&(this.undefStack[this.undefStack.length-1][r]=t)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(r)&&(a[r]=this.current[r])}t==null?delete this.current[r]:this.current[r]=t}}var xf=io;p("\\noexpand",function(e){var r=e.popToken();return e.isExpandable(r.text)&&(r.noexpand=!0,r.treatAsRelax=!0),{tokens:[r],numArgs:0}});p("\\expandafter",function(e){var r=e.popToken();return e.expandOnce(!0),{tokens:[r],numArgs:0}});p("\\@firstoftwo",function(e){var r=e.consumeArgs(2);return{tokens:r[0],numArgs:0}});p("\\@secondoftwo",function(e){var r=e.consumeArgs(2);return{tokens:r[1],numArgs:0}});p("\\@ifnextchar",function(e){var r=e.consumeArgs(3);e.consumeSpaces();var t=e.future();return r[0].length===1&&r[0][0].text===t.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}});p("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");p("\\TextOrMath",function(e){var r=e.consumeArgs(2);return e.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var _a={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};p("\\char",function(e){var r=e.popToken(),t,u="";if(r.text==="'")t=8,r=e.popToken();else if(r.text==='"')t=16,r=e.popToken();else if(r.text==="`")if(r=e.popToken(),r.text[0]==="\\")u=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new $("\\char` missing argument");u=r.text.charCodeAt(0)}else t=10;if(t){if(u=_a[r.text],u==null||u>=t)throw new $("Invalid base-"+t+" digit "+r.text);for(var n;(n=_a[e.future().text])!=null&&n{var u=e.consumeArg().tokens;if(u.length!==1)throw new $("\\newcommand's first argument must be a macro name");var n=u[0].text,a=e.isDefined(n);if(a&&!r)throw new $("\\newcommand{"+n+"} attempting to redefine "+(n+"; use \\renewcommand"));if(!a&&!t)throw new $("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var i=0;if(u=e.consumeArg().tokens,u.length===1&&u[0].text==="["){for(var o="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)o+=l.text,l=e.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new $("Invalid number of arguments: "+o);i=parseInt(o),u=e.consumeArg().tokens}return e.macros.set(n,{tokens:u,numArgs:i}),""};p("\\newcommand",e=>en(e,!1,!0));p("\\renewcommand",e=>en(e,!0,!1));p("\\providecommand",e=>en(e,!0,!0));p("\\message",e=>{var r=e.consumeArgs(1)[0];return console.log(r.reverse().map(t=>t.text).join("")),""});p("\\errmessage",e=>{var r=e.consumeArgs(1)[0];return console.error(r.reverse().map(t=>t.text).join("")),""});p("\\show",e=>{var r=e.popToken(),t=r.text;return console.log(r,e.macros.get(t),L0[t],be.math[t],be.text[t]),""});p("\\bgroup","{");p("\\egroup","}");p("~","\\nobreakspace");p("\\lq","`");p("\\rq","'");p("\\aa","\\r a");p("\\AA","\\r A");p("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");p("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");p("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");p("ℬ","\\mathscr{B}");p("ℰ","\\mathscr{E}");p("ℱ","\\mathscr{F}");p("ℋ","\\mathscr{H}");p("ℐ","\\mathscr{I}");p("ℒ","\\mathscr{L}");p("ℳ","\\mathscr{M}");p("ℛ","\\mathscr{R}");p("ℭ","\\mathfrak{C}");p("ℌ","\\mathfrak{H}");p("ℨ","\\mathfrak{Z}");p("\\Bbbk","\\Bbb{k}");p("·","\\cdotp");p("\\llap","\\mathllap{\\textrm{#1}}");p("\\rlap","\\mathrlap{\\textrm{#1}}");p("\\clap","\\mathclap{\\textrm{#1}}");p("\\mathstrut","\\vphantom{(}");p("\\underbar","\\underline{\\text{#1}}");p("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');p("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");p("\\ne","\\neq");p("≠","\\neq");p("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");p("∉","\\notin");p("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");p("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");p("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");p("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");p("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");p("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");p("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");p("⟂","\\perp");p("‼","\\mathclose{!\\mkern-0.8mu!}");p("∌","\\notni");p("⌜","\\ulcorner");p("⌝","\\urcorner");p("⌞","\\llcorner");p("⌟","\\lrcorner");p("©","\\copyright");p("®","\\textregistered");p("️","\\textregistered");p("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');p("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');p("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');p("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');p("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");p("⋮","\\vdots");p("\\varGamma","\\mathit{\\Gamma}");p("\\varDelta","\\mathit{\\Delta}");p("\\varTheta","\\mathit{\\Theta}");p("\\varLambda","\\mathit{\\Lambda}");p("\\varXi","\\mathit{\\Xi}");p("\\varPi","\\mathit{\\Pi}");p("\\varSigma","\\mathit{\\Sigma}");p("\\varUpsilon","\\mathit{\\Upsilon}");p("\\varPhi","\\mathit{\\Phi}");p("\\varPsi","\\mathit{\\Psi}");p("\\varOmega","\\mathit{\\Omega}");p("\\substack","\\begin{subarray}{c}#1\\end{subarray}");p("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");p("\\boxed","\\fbox{$\\displaystyle{#1}$}");p("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");p("\\implies","\\DOTSB\\;\\Longrightarrow\\;");p("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Ea={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};p("\\dots",function(e){var r="\\dotso",t=e.expandAfterFuture().text;return t in Ea?r=Ea[t]:(t.slice(0,4)==="\\not"||t in be.math&&Q.contains(["bin","rel"],be.math[t].group))&&(r="\\dotsb"),r});var rn={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};p("\\dotso",function(e){var r=e.future().text;return r in rn?"\\ldots\\,":"\\ldots"});p("\\dotsc",function(e){var r=e.future().text;return r in rn&&r!==","?"\\ldots\\,":"\\ldots"});p("\\cdots",function(e){var r=e.future().text;return r in rn?"\\@cdots\\,":"\\@cdots"});p("\\dotsb","\\cdots");p("\\dotsm","\\cdots");p("\\dotsi","\\!\\cdots");p("\\dotsx","\\ldots\\,");p("\\DOTSI","\\relax");p("\\DOTSB","\\relax");p("\\DOTSX","\\relax");p("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");p("\\,","\\tmspace+{3mu}{.1667em}");p("\\thinspace","\\,");p("\\>","\\mskip{4mu}");p("\\:","\\tmspace+{4mu}{.2222em}");p("\\medspace","\\:");p("\\;","\\tmspace+{5mu}{.2777em}");p("\\thickspace","\\;");p("\\!","\\tmspace-{3mu}{.1667em}");p("\\negthinspace","\\!");p("\\negmedspace","\\tmspace-{4mu}{.2222em}");p("\\negthickspace","\\tmspace-{5mu}{.277em}");p("\\enspace","\\kern.5em ");p("\\enskip","\\hskip.5em\\relax");p("\\quad","\\hskip1em\\relax");p("\\qquad","\\hskip2em\\relax");p("\\tag","\\@ifstar\\tag@literal\\tag@paren");p("\\tag@paren","\\tag@literal{({#1})}");p("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new $("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});p("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");p("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");p("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");p("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");p("\\newline","\\\\\\relax");p("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var xo=G(s0["Main-Regular"][84][1]-.7*s0["Main-Regular"][65][1]);p("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+xo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");p("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+xo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");p("\\hspace","\\@ifstar\\@hspacer\\@hspace");p("\\@hspace","\\hskip #1\\relax");p("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");p("\\ordinarycolon",":");p("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");p("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');p("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');p("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');p("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');p("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');p("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');p("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');p("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');p("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');p("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');p("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');p("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');p("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');p("∷","\\dblcolon");p("∹","\\eqcolon");p("≔","\\coloneqq");p("≕","\\eqqcolon");p("⩴","\\Coloneqq");p("\\ratio","\\vcentcolon");p("\\coloncolon","\\dblcolon");p("\\colonequals","\\coloneqq");p("\\coloncolonequals","\\Coloneqq");p("\\equalscolon","\\eqqcolon");p("\\equalscoloncolon","\\Eqqcolon");p("\\colonminus","\\coloneq");p("\\coloncolonminus","\\Coloneq");p("\\minuscolon","\\eqcolon");p("\\minuscoloncolon","\\Eqcolon");p("\\coloncolonapprox","\\Colonapprox");p("\\coloncolonsim","\\Colonsim");p("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");p("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");p("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");p("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");p("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");p("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");p("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");p("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");p("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");p("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");p("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");p("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");p("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");p("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");p("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");p("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");p("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");p("\\nleqq","\\html@mathml{\\@nleqq}{≰}");p("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");p("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");p("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");p("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");p("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");p("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");p("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");p("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");p("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");p("\\imath","\\html@mathml{\\@imath}{ı}");p("\\jmath","\\html@mathml{\\@jmath}{ȷ}");p("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");p("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");p("⟦","\\llbracket");p("⟧","\\rrbracket");p("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");p("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");p("⦃","\\lBrace");p("⦄","\\rBrace");p("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");p("⦵","\\minuso");p("\\darr","\\downarrow");p("\\dArr","\\Downarrow");p("\\Darr","\\Downarrow");p("\\lang","\\langle");p("\\rang","\\rangle");p("\\uarr","\\uparrow");p("\\uArr","\\Uparrow");p("\\Uarr","\\Uparrow");p("\\N","\\mathbb{N}");p("\\R","\\mathbb{R}");p("\\Z","\\mathbb{Z}");p("\\alef","\\aleph");p("\\alefsym","\\aleph");p("\\Alpha","\\mathrm{A}");p("\\Beta","\\mathrm{B}");p("\\bull","\\bullet");p("\\Chi","\\mathrm{X}");p("\\clubs","\\clubsuit");p("\\cnums","\\mathbb{C}");p("\\Complex","\\mathbb{C}");p("\\Dagger","\\ddagger");p("\\diamonds","\\diamondsuit");p("\\empty","\\emptyset");p("\\Epsilon","\\mathrm{E}");p("\\Eta","\\mathrm{H}");p("\\exist","\\exists");p("\\harr","\\leftrightarrow");p("\\hArr","\\Leftrightarrow");p("\\Harr","\\Leftrightarrow");p("\\hearts","\\heartsuit");p("\\image","\\Im");p("\\infin","\\infty");p("\\Iota","\\mathrm{I}");p("\\isin","\\in");p("\\Kappa","\\mathrm{K}");p("\\larr","\\leftarrow");p("\\lArr","\\Leftarrow");p("\\Larr","\\Leftarrow");p("\\lrarr","\\leftrightarrow");p("\\lrArr","\\Leftrightarrow");p("\\Lrarr","\\Leftrightarrow");p("\\Mu","\\mathrm{M}");p("\\natnums","\\mathbb{N}");p("\\Nu","\\mathrm{N}");p("\\Omicron","\\mathrm{O}");p("\\plusmn","\\pm");p("\\rarr","\\rightarrow");p("\\rArr","\\Rightarrow");p("\\Rarr","\\Rightarrow");p("\\real","\\Re");p("\\reals","\\mathbb{R}");p("\\Reals","\\mathbb{R}");p("\\Rho","\\mathrm{P}");p("\\sdot","\\cdot");p("\\sect","\\S");p("\\spades","\\spadesuit");p("\\sub","\\subset");p("\\sube","\\subseteq");p("\\supe","\\supseteq");p("\\Tau","\\mathrm{T}");p("\\thetasym","\\vartheta");p("\\weierp","\\wp");p("\\Zeta","\\mathrm{Z}");p("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");p("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");p("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");p("\\bra","\\mathinner{\\langle{#1}|}");p("\\ket","\\mathinner{|{#1}\\rangle}");p("\\braket","\\mathinner{\\langle{#1}\\rangle}");p("\\Bra","\\left\\langle#1\\right|");p("\\Ket","\\left|#1\\right\\rangle");var yo=e=>r=>{var t=r.consumeArg().tokens,u=r.consumeArg().tokens,n=r.consumeArg().tokens,a=r.consumeArg().tokens,i=r.macros.get("|"),o=r.macros.get("\\|");r.macros.beginGroup();var l=d=>g=>{e&&(g.macros.set("|",i),n.length&&g.macros.set("\\|",o));var v=d;if(!d&&n.length){var y=g.future();y.text==="|"&&(g.popToken(),v=!0)}return{tokens:v?n:u,numArgs:0}};r.macros.set("|",l(!1)),n.length&&r.macros.set("\\|",l(!0));var f=r.consumeArg().tokens,h=r.expandTokens([...a,...f,...t]);return r.macros.endGroup(),{tokens:h.reverse(),numArgs:0}};p("\\bra@ket",yo(!1));p("\\bra@set",yo(!0));p("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");p("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");p("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");p("\\angln","{\\angl n}");p("\\blue","\\textcolor{##6495ed}{#1}");p("\\orange","\\textcolor{##ffa500}{#1}");p("\\pink","\\textcolor{##ff00af}{#1}");p("\\red","\\textcolor{##df0030}{#1}");p("\\green","\\textcolor{##28ae7b}{#1}");p("\\gray","\\textcolor{gray}{#1}");p("\\purple","\\textcolor{##9d38bd}{#1}");p("\\blueA","\\textcolor{##ccfaff}{#1}");p("\\blueB","\\textcolor{##80f6ff}{#1}");p("\\blueC","\\textcolor{##63d9ea}{#1}");p("\\blueD","\\textcolor{##11accd}{#1}");p("\\blueE","\\textcolor{##0c7f99}{#1}");p("\\tealA","\\textcolor{##94fff5}{#1}");p("\\tealB","\\textcolor{##26edd5}{#1}");p("\\tealC","\\textcolor{##01d1c1}{#1}");p("\\tealD","\\textcolor{##01a995}{#1}");p("\\tealE","\\textcolor{##208170}{#1}");p("\\greenA","\\textcolor{##b6ffb0}{#1}");p("\\greenB","\\textcolor{##8af281}{#1}");p("\\greenC","\\textcolor{##74cf70}{#1}");p("\\greenD","\\textcolor{##1fab54}{#1}");p("\\greenE","\\textcolor{##0d923f}{#1}");p("\\goldA","\\textcolor{##ffd0a9}{#1}");p("\\goldB","\\textcolor{##ffbb71}{#1}");p("\\goldC","\\textcolor{##ff9c39}{#1}");p("\\goldD","\\textcolor{##e07d10}{#1}");p("\\goldE","\\textcolor{##a75a05}{#1}");p("\\redA","\\textcolor{##fca9a9}{#1}");p("\\redB","\\textcolor{##ff8482}{#1}");p("\\redC","\\textcolor{##f9685d}{#1}");p("\\redD","\\textcolor{##e84d39}{#1}");p("\\redE","\\textcolor{##bc2612}{#1}");p("\\maroonA","\\textcolor{##ffbde0}{#1}");p("\\maroonB","\\textcolor{##ff92c6}{#1}");p("\\maroonC","\\textcolor{##ed5fa6}{#1}");p("\\maroonD","\\textcolor{##ca337c}{#1}");p("\\maroonE","\\textcolor{##9e034e}{#1}");p("\\purpleA","\\textcolor{##ddd7ff}{#1}");p("\\purpleB","\\textcolor{##c6b9fc}{#1}");p("\\purpleC","\\textcolor{##aa87ff}{#1}");p("\\purpleD","\\textcolor{##7854ab}{#1}");p("\\purpleE","\\textcolor{##543b78}{#1}");p("\\mintA","\\textcolor{##f5f9e8}{#1}");p("\\mintB","\\textcolor{##edf2df}{#1}");p("\\mintC","\\textcolor{##e0e5cc}{#1}");p("\\grayA","\\textcolor{##f6f7f7}{#1}");p("\\grayB","\\textcolor{##f0f1f2}{#1}");p("\\grayC","\\textcolor{##e3e5e6}{#1}");p("\\grayD","\\textcolor{##d6d8da}{#1}");p("\\grayE","\\textcolor{##babec2}{#1}");p("\\grayF","\\textcolor{##888d93}{#1}");p("\\grayG","\\textcolor{##626569}{#1}");p("\\grayH","\\textcolor{##3b3e40}{#1}");p("\\grayI","\\textcolor{##21242c}{#1}");p("\\kaBlue","\\textcolor{##314453}{#1}");p("\\kaGreen","\\textcolor{##71B307}{#1}");var wo={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class yf{constructor(r,t,u){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(r),this.macros=new gf(xf,t.macros),this.mode=u,this.stack=[]}feed(r){this.lexer=new Ca(r,this.settings)}switchMode(r){this.mode=r}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(r){this.stack.push(r)}pushTokens(r){this.stack.push(...r)}scanArgument(r){var t,u,n;if(r){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken(),{tokens:n,end:u}=this.consumeArg(["]"])}else({tokens:n,start:t,end:u}=this.consumeArg());return this.pushToken(new Ke("EOF",u.loc)),this.pushTokens(n),t.range(u,"")}consumeSpaces(){for(;;){var r=this.future();if(r.text===" ")this.stack.pop();else break}}consumeArg(r){var t=[],u=r&&r.length>0;u||this.consumeSpaces();var n=this.future(),a,i=0,o=0;do{if(a=this.popToken(),t.push(a),a.text==="{")++i;else if(a.text==="}"){if(--i,i===-1)throw new $("Extra }",a)}else if(a.text==="EOF")throw new $("Unexpected end of input in a macro argument, expected '"+(r&&u?r[o]:"}")+"'",a);if(r&&u)if((i===0||i===1&&r[o]==="{")&&a.text===r[o]){if(++o,o===r.length){t.splice(-o,o);break}}else o=0}while(i!==0||u);return n.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:n,end:a}}consumeArgs(r,t){if(t){if(t.length!==r+1)throw new $("The length of delimiters doesn't match the number of args!");for(var u=t[0],n=0;nthis.settings.maxExpand)throw new $("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(r){var t=this.popToken(),u=t.text,n=t.noexpand?null:this._getExpansion(u);if(n==null||r&&n.unexpandable){if(r&&n==null&&u[0]==="\\"&&!this.isDefined(u))throw new $("Undefined control sequence: "+u);return this.pushToken(t),!1}this.countExpansion(1);var a=n.tokens,i=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var l=a[o];if(l.text==="#"){if(o===0)throw new $("Incomplete placeholder at end of macro body",l);if(l=a[--o],l.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(l.text))a.splice(o,2,...i[+l.text-1]);else throw new $("Not a valid argument number",l)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var r=this.stack.pop();return r.treatAsRelax&&(r.text="\\relax"),r}throw new Error}expandMacro(r){return this.macros.has(r)?this.expandTokens([new Ke(r)]):void 0}expandTokens(r){var t=[],u=this.stack.length;for(this.pushTokens(r);this.stack.length>u;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),t.push(n)}return this.countExpansion(t.length),t}expandMacroAsText(r){var t=this.expandMacro(r);return t&&t.map(u=>u.text).join("")}_getExpansion(r){var t=this.macros.get(r);if(t==null)return t;if(r.length===1){var u=this.lexer.catcodes[r];if(u!=null&&u!==13)return}var n=typeof t=="function"?t(this):t;if(typeof n=="string"){var a=0;if(n.indexOf("#")!==-1)for(var i=n.replace(/##/g,"");i.indexOf("#"+(a+1))!==-1;)++a;for(var o=new Ca(n,this.settings),l=[],f=o.lex();f.text!=="EOF";)l.push(f),f=o.lex();l.reverse();var h={tokens:l,numArgs:a};return h}return n}isDefined(r){return this.macros.has(r)||L0.hasOwnProperty(r)||be.math.hasOwnProperty(r)||be.text.hasOwnProperty(r)||wo.hasOwnProperty(r)}isExpandable(r){var t=this.macros.get(r);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:L0.hasOwnProperty(r)&&!L0[r].primitive}}var Da=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,at=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),cu={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Ta={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Ft{constructor(r,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new yf(r,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(r,t){if(t===void 0&&(t=!0),this.fetch().text!==r)throw new $("Expected '"+r+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(r){this.mode=r,this.gullet.switchMode(r)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var r=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),r}finally{this.gullet.endGroups()}}subparse(r){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Ke("}")),this.gullet.pushTokens(r);var u=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,u}parseExpression(r,t){for(var u=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(Ft.endOfExpression.indexOf(n.text)!==-1||t&&n.text===t||r&&L0[n.text]&&L0[n.text].infix)break;var a=this.parseAtom(t);if(a){if(a.type==="internal")continue}else break;u.push(a)}return this.mode==="text"&&this.formLigatures(u),this.handleInfixNodes(u)}handleInfixNodes(r){for(var t=-1,u,n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',r);var o=be[this.mode][t].group,l=Ve.range(r),f;if(o4.hasOwnProperty(o)){var h=o;f={type:"atom",mode:this.mode,family:h,loc:l,text:t}}else f={type:o,mode:this.mode,loc:l,text:t};i=f}else if(t.charCodeAt(0)>=128)this.settings.strict&&(Ti(t.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',r):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0)+")"),r)),i={type:"textord",mode:"text",loc:Ve.range(r),text:t};else return null;if(this.consume(),a)for(var d=0;d":">","'":"'",'"':"""},Cf=/[&<>'"]/g,it=e=>e.replace(Cf,r=>Af[r]),Fa=(e,r)=>{const t=r>0?e.src.charCodeAt(r-1):-1,u=r+1<=e.posMax?e.src.charCodeAt(r+1):-1;let n=!0,a=!0;return(t===32||t===9||u>=48&&u<=57)&&(a=!1),(u===32||u===9)&&(n=!1),{canOpen:n,canClose:a}},_f=(e,r)=>{let t,u,n,a;if(e.src[e.pos]!=="$")return!1;if(n=Fa(e,e.pos),!n.canOpen)return r||(e.pending+="$"),e.pos+=1,!0;const i=e.pos+1;for(t=i;(t=e.src.indexOf("$",t))!==-1;){for(a=t-1;e.src[a]==="\\";)a-=1;if((t-a)%2===1)break;t+=1}return t===-1?(r||(e.pending+="$"),e.pos=i,!0):t-i===0?(r||(e.pending+="$$"),e.pos=i+1,!0):(n=Fa(e,t),n.canClose?(r||(u=e.push("mathInline","math",0),u.markup="$",u.content=e.src.slice(i,t)),e.pos=t+1,!0):(r||(e.pending+="$"),e.pos=i,!0))},Ef=(e,r,t,u)=>{let n,a,i,o,l=!1,f=e.bMarks[r]+e.tShift[r],h=e.eMarks[r];if(f+2>h||e.src.slice(f,f+2)!=="$$")return!1;if(f+=2,n=e.src.slice(f,h),u)return!0;for(n.trim().endsWith("$$")&&(n=n.trim().slice(0,-2),l=!0),i=r;!l&&(i+=1,!(i>=t||(f=e.bMarks[i]+e.tShift[i],h=e.eMarks[i],f{const t=(n,a)=>{a.displayMode=!1;try{return Ma.renderToString(n,a)}catch(i){return a.throwOnError&&console.warn(i),`${it(n)}`}},u=(n,a)=>{a.displayMode=!0;try{return`

${Ma.renderToString(n,a)}

`}catch(i){return a.throwOnError&&console.warn(i),`

${it(n)}

`}};e.inline.ruler.after("escape","mathInline",_f),e.block.ruler.after("blockquote","mathBlock",Ef,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.mathInline=(n,a)=>t(n[a].content,r),e.renderer.rules.mathBlock=(n,a)=>u(n[a].content,r)},Tf=Df,Ao=(e,r)=>Number(e[r].meta.id+1).toString(),Co=(e,r)=>e[r].meta.label,Mf=(e,r)=>{const t=Ao(e,r),u=Co(e,r);return`${u}`},Ff=(e,r)=>{const t=Ao(e,r),u=Co(e,r);return`
  • `},zf=()=>`
-`,If=(e,r,t,u)=>{const n=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(n+4>a||e.src.charCodeAt(n)!==91||e.src.charCodeAt(n+1)!==126)return!1;let i,o;for(i=n+2;i=a||e.src.charCodeAt(++i)!==58)return!1;if(u)return!0;i++,e.env.crossrefs||(e.env.crossrefs={}),e.env.crossrefs.refs||(e.env.crossrefs.refs={});const s=e.src.slice(n+2,i-2);e.env.crossrefs.refs[":"+s]=-1;const f=new e.Token("crossref_reference_open","",1);f.meta={label:s},f.level=e.level++,e.tokens.push(f);const h=e.bMarks[r],d=e.tShift[r],g=e.sCount[r],v=i,y=o=e.sCount[r]+i-(e.bMarks[r]+e.tShift[r]);let T;for(;i{const t=e.posMax,u=e.pos;if(u+3>t||!e.env.crossrefs||!e.env.crossrefs.refs||e.src.charCodeAt(u)!==91||e.src.charCodeAt(u+1)!==126)return!1;let n;for(n=u+2;n=t)return!1;n++;const a=e.src.slice(u+2,n-1);if(typeof e.env.crossrefs.refs[":"+a]>"u")return!1;if(!r){e.env.crossrefs.list||(e.env.crossrefs.list=[]);let i;e.env.crossrefs.refs[":"+a]<0?(i=e.env.crossrefs.list.length,e.env.crossrefs.list[i]=a,e.env.crossrefs.refs[":"+a]=i):i=e.env.crossrefs.refs[":"+a];const o=e.push("renderReference","",0);o.meta={id:i,label:a}}return e.pos=n,e.posMax=t,!0},Nf=e=>{var t;const r=(t=e.env.crossrefs)==null?void 0:t.list;for(let u=0;uo===n):-1,i=new e.Token("renderOpenTag","",1);i.meta={id:a,label:n},e.tokens[u]=i}else if(e.tokens[u].type==="crossref_reference_close"){const n=new e.Token("renderCloseTag","",-1);e.tokens[u]=n}},Rf=e=>{e.renderer.rules.renderReference=Mf,e.renderer.rules.renderOpenTag=Ff,e.renderer.rules.renderCloseTag=zf,e.block.ruler.before("reference","crossrefDef",If,{alt:["paragraph","reference"]}),e.inline.ruler.after("image","crossrefRef",Bf),e.core.ruler.after("inline","crossrefCore",Nf)},Of=Rf,Lf=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,Pf=()=>'
',qf=(e,r)=>`
`,$f=(e,r,t,u)=>{const n=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(u||n+8>a||e.src.slice(n,n+8)!=="\\newpage")return!1;e.line=r+1;const i=e.push("renderNewPage","",0);return i.block=!0,i.map=[r,e.line],i.markup=` -ewpage`,!0},Hf=(e,r,t,u)=>{const n=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(u||n+5>a||e.src.slice(n,n+3)!=="\\\\[")return!1;let i=n+4;for(;i=a)return!1;const o=e.src.slice(n+3,i);if(o.match(/(^|[^\\])(\\\\)*\s/))return!1;e.line=r+1;const s=e.push("renderLineBreak","",0);return s.meta={h:o.replace(Lf,"$1")},s.block=!0,s.map=[r,e.line],s.markup="\\[]",!0},Uf=e=>{e.renderer.rules.renderNewPage=Pf,e.renderer.rules.renderLineBreak=qf,e.block.ruler.after("blockquote","newPage",$f),e.block.ruler.after("newPage","lineBreak",Hf)},Vf=Uf;/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function _o(e){return typeof e>"u"||e===null}function jf(e){return typeof e=="object"&&e!==null}function Gf(e){return Array.isArray(e)?e:_o(e)?[]:[e]}function Yf(e,r){var t,u,n,a;if(r)for(a=Object.keys(r),t=0,u=a.length;t{const n=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(n+4>a||e.src.charCodeAt(n)!==91||e.src.charCodeAt(n+1)!==126)return!1;let i,o;for(i=n+2;i=a||e.src.charCodeAt(++i)!==58)return!1;if(u)return!0;i++,e.env.crossrefs||(e.env.crossrefs={}),e.env.crossrefs.refs||(e.env.crossrefs.refs={});const l=e.src.slice(n+2,i-2);e.env.crossrefs.refs[":"+l]=-1;const f=new e.Token("crossref_reference_open","",1);f.meta={label:l},f.level=e.level++,e.tokens.push(f);const h=e.bMarks[r],d=e.tShift[r],g=e.sCount[r],v=i,y=o=e.sCount[r]+i-(e.bMarks[r]+e.tShift[r]);let T;for(;i{const t=e.posMax,u=e.pos;if(u+3>t||!e.env.crossrefs||!e.env.crossrefs.refs||e.src.charCodeAt(u)!==91||e.src.charCodeAt(u+1)!==126)return!1;let n;for(n=u+2;n=t)return!1;n++;const a=e.src.slice(u+2,n-1);if(typeof e.env.crossrefs.refs[":"+a]>"u")return!1;if(!r){e.env.crossrefs.list||(e.env.crossrefs.list=[]);let i;e.env.crossrefs.refs[":"+a]<0?(i=e.env.crossrefs.list.length,e.env.crossrefs.list[i]=a,e.env.crossrefs.refs[":"+a]=i):i=e.env.crossrefs.refs[":"+a];const o=e.push("renderReference","",0);o.meta={id:i,label:a}}return e.pos=n,e.posMax=t,!0},Nf=e=>{var t;const r=(t=e.env.crossrefs)==null?void 0:t.list;for(let u=0;uo===n):-1,i=new e.Token("renderOpenTag","",1);i.meta={id:a,label:n},e.tokens[u]=i}else if(e.tokens[u].type==="crossref_reference_close"){const n=new e.Token("renderCloseTag","",-1);e.tokens[u]=n}},Rf=e=>{e.renderer.rules.renderReference=Mf,e.renderer.rules.renderOpenTag=Ff,e.renderer.rules.renderCloseTag=zf,e.block.ruler.before("reference","crossrefDef",If,{alt:["paragraph","reference"]}),e.inline.ruler.after("image","crossrefRef",Bf),e.core.ruler.after("inline","crossrefCore",Nf)},Of=Rf,Lf=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,Pf=()=>'
',qf=(e,r)=>`
`,$f=(e,r,t,u)=>{const n=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(u||n+8>a||e.src.slice(n,n+8)!=="\\newpage")return!1;e.line=r+1;const i=e.push("renderNewPage","",0);return i.block=!0,i.map=[r,e.line],i.markup=` +ewpage`,!0},Hf=(e,r,t,u)=>{const n=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(u||n+5>a||e.src.slice(n,n+3)!=="\\\\[")return!1;let i=n+4;for(;i=a)return!1;const o=e.src.slice(n+3,i);if(o.match(/(^|[^\\])(\\\\)*\s/))return!1;e.line=r+1;const l=e.push("renderLineBreak","",0);return l.meta={h:o.replace(Lf,"$1")},l.block=!0,l.map=[r,e.line],l.markup="\\[]",!0},Uf=e=>{e.renderer.rules.renderNewPage=Pf,e.renderer.rules.renderLineBreak=qf,e.block.ruler.after("blockquote","newPage",$f),e.block.ruler.after("newPage","lineBreak",Hf)},Vf=Uf;/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function _o(e){return typeof e>"u"||e===null}function jf(e){return typeof e=="object"&&e!==null}function Gf(e){return Array.isArray(e)?e:_o(e)?[]:[e]}function Yf(e,r){var t,u,n,a;if(r)for(a=Object.keys(r),t=0,u=a.length;to&&(a=" ... ",r=u-o+a.length),t-u>o&&(i=" ...",t=u+o-i.length),{str:a+e.slice(r,t).replace(/\t/g,"→")+i,pos:u-r+a.length}}function du(e,r){return Ne.repeat(" ",r-e.length)+e}function t3(e,r){if(r=Object.create(r||null),!e.buffer)return null;r.maxLength||(r.maxLength=79),typeof r.indent!="number"&&(r.indent=1),typeof r.linesBefore!="number"&&(r.linesBefore=3),typeof r.linesAfter!="number"&&(r.linesAfter=2);for(var t=/\r?\n|\r|\0/g,u=[0],n=[],a,i=-1;a=t.exec(e.buffer);)n.push(a.index),u.push(a.index+a[0].length),e.position<=a.index&&i<0&&(i=u.length-2);i<0&&(i=u.length-1);var o="",s,f,h=Math.min(e.line+r.linesAfter,n.length).toString().length,d=r.maxLength-(r.indent+h+3);for(s=1;s<=r.linesBefore&&!(i-s<0);s++)f=fu(e.buffer,u[i-s],n[i-s],e.position-(u[i]-u[i-s]),d),o=Ne.repeat(" ",r.indent)+du((e.line-s+1).toString(),h)+" | "+f.str+` +`+e.mark.snippet),u+" "+t):u}function Br(e,r){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=r,this.message=Eo(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Br.prototype=Object.create(Error.prototype);Br.prototype.constructor=Br;Br.prototype.toString=function(r){return this.name+": "+Eo(this,r)};var w0=Br;function fu(e,r,t,u,n){var a="",i="",o=Math.floor(n/2)-1;return u-r>o&&(a=" ... ",r=u-o+a.length),t-u>o&&(i=" ...",t=u+o-i.length),{str:a+e.slice(r,t).replace(/\t/g,"→")+i,pos:u-r+a.length}}function du(e,r){return Ne.repeat(" ",r-e.length)+e}function t3(e,r){if(r=Object.create(r||null),!e.buffer)return null;r.maxLength||(r.maxLength=79),typeof r.indent!="number"&&(r.indent=1),typeof r.linesBefore!="number"&&(r.linesBefore=3),typeof r.linesAfter!="number"&&(r.linesAfter=2);for(var t=/\r?\n|\r|\0/g,u=[0],n=[],a,i=-1;a=t.exec(e.buffer);)n.push(a.index),u.push(a.index+a[0].length),e.position<=a.index&&i<0&&(i=u.length-2);i<0&&(i=u.length-1);var o="",l,f,h=Math.min(e.line+r.linesAfter,n.length).toString().length,d=r.maxLength-(r.indent+h+3);for(l=1;l<=r.linesBefore&&!(i-l<0);l++)f=fu(e.buffer,u[i-l],n[i-l],e.position-(u[i]-u[i-l]),d),o=Ne.repeat(" ",r.indent)+du((e.line-l+1).toString(),h)+" | "+f.str+` `+o;for(f=fu(e.buffer,u[i],n[i],e.position,d),o+=Ne.repeat(" ",r.indent)+du((e.line+1).toString(),h)+" | "+f.str+` `,o+=Ne.repeat("-",r.indent+h+3+f.pos)+`^ -`,s=1;s<=r.linesAfter&&!(i+s>=n.length);s++)f=fu(e.buffer,u[i+s],n[i+s],e.position-(u[i]-u[i+s]),d),o+=Ne.repeat(" ",r.indent)+du((e.line+s+1).toString(),h)+" | "+f.str+` -`;return o.replace(/\n$/,"")}var u3=t3,n3=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],a3=["scalar","sequence","mapping"];function i3(e){var r={};return e!==null&&Object.keys(e).forEach(function(t){e[t].forEach(function(u){r[String(u)]=t})}),r}function o3(e,r){if(r=r||{},Object.keys(r).forEach(function(t){if(n3.indexOf(t)===-1)throw new w0('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=r,this.tag=e,this.kind=r.kind||null,this.resolve=r.resolve||function(){return!0},this.construct=r.construct||function(t){return t},this.instanceOf=r.instanceOf||null,this.predicate=r.predicate||null,this.represent=r.represent||null,this.representName=r.representName||null,this.defaultStyle=r.defaultStyle||null,this.multi=r.multi||!1,this.styleAliases=i3(r.styleAliases||null),a3.indexOf(this.kind)===-1)throw new w0('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var ze=o3;function za(e,r){var t=[];return e[r].forEach(function(u){var n=t.length;t.forEach(function(a,i){a.tag===u.tag&&a.kind===u.kind&&a.multi===u.multi&&(n=i)}),t[n]=u}),t}function s3(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},r,t;function u(n){n.multi?(e.multi[n.kind].push(n),e.multi.fallback.push(n)):e[n.kind][n.tag]=e.fallback[n.tag]=n}for(r=0,t=arguments.length;r=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),T3=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function M3(e){return!(e===null||!T3.test(e)||e[e.length-1]==="_")}function F3(e){var r,t;return r=e.replace(/_/g,"").toLowerCase(),t=r[0]==="-"?-1:1,"+-".indexOf(r[0])>=0&&(r=r.slice(1)),r===".inf"?t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:r===".nan"?NaN:t*parseFloat(r,10)}var z3=/^[-+]?[0-9]+e/;function I3(e,r){var t;if(isNaN(e))switch(r){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(r){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(r){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Ne.isNegativeZero(e))return"-0.0";return t=e.toString(10),z3.test(t)?t.replace("e",".e"):t}function B3(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Ne.isNegativeZero(e))}var N3=new ze("tag:yaml.org,2002:float",{kind:"scalar",resolve:M3,construct:F3,predicate:B3,represent:I3,defaultStyle:"lowercase"}),R3=h3.extend({implicit:[v3,w3,D3,N3]}),O3=R3,Do=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),To=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function L3(e){return e===null?!1:Do.exec(e)!==null||To.exec(e)!==null}function P3(e){var r,t,u,n,a,i,o,s=0,f=null,h,d,g;if(r=Do.exec(e),r===null&&(r=To.exec(e)),r===null)throw new Error("Date resolve error");if(t=+r[1],u=+r[2]-1,n=+r[3],!r[4])return new Date(Date.UTC(t,u,n));if(a=+r[4],i=+r[5],o=+r[6],r[7]){for(s=r[7].slice(0,3);s.length<3;)s+="0";s=+s}return r[9]&&(h=+r[10],d=+(r[11]||0),f=(h*60+d)*6e4,r[9]==="-"&&(f=-f)),g=new Date(Date.UTC(t,u,n,a,i,o,s)),f&&g.setTime(g.getTime()-f),g}function q3(e){return e.toISOString()}var $3=new ze("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:L3,construct:P3,instanceOf:Date,represent:q3});function H3(e){return e==="<<"||e===null}var U3=new ze("tag:yaml.org,2002:merge",{kind:"scalar",resolve:H3}),nn=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function V3(e){if(e===null)return!1;var r,t,u=0,n=e.length,a=nn;for(t=0;t64)){if(r<0)return!1;u+=6}return u%8===0}function j3(e){var r,t,u=e.replace(/[\r\n=]/g,""),n=u.length,a=nn,i=0,o=[];for(r=0;r>16&255),o.push(i>>8&255),o.push(i&255)),i=i<<6|a.indexOf(u.charAt(r));return t=n%4*6,t===0?(o.push(i>>16&255),o.push(i>>8&255),o.push(i&255)):t===18?(o.push(i>>10&255),o.push(i>>2&255)):t===12&&o.push(i>>4&255),new Uint8Array(o)}function G3(e){var r="",t=0,u,n,a=e.length,i=nn;for(u=0;u>18&63],r+=i[t>>12&63],r+=i[t>>6&63],r+=i[t&63]),t=(t<<8)+e[u];return n=a%3,n===0?(r+=i[t>>18&63],r+=i[t>>12&63],r+=i[t>>6&63],r+=i[t&63]):n===2?(r+=i[t>>10&63],r+=i[t>>4&63],r+=i[t<<2&63],r+=i[64]):n===1&&(r+=i[t>>2&63],r+=i[t<<4&63],r+=i[64],r+=i[64]),r}function Y3(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var W3=new ze("tag:yaml.org,2002:binary",{kind:"scalar",resolve:V3,construct:j3,predicate:Y3,represent:G3}),Z3=Object.prototype.hasOwnProperty,X3=Object.prototype.toString;function K3(e){if(e===null)return!0;var r=[],t,u,n,a,i,o=e;for(t=0,u=o.length;t>10)+55296,(e-65536&1023)+56320)}var Bo=new Array(256),No=new Array(256);for(var ir=0;ir<256;ir++)Bo[ir]=Na(ir)?1:0,No[ir]=Na(ir);function vd(e,r){this.input=e,this.filename=r.filename||null,this.schema=r.schema||sd,this.onWarning=r.onWarning||null,this.legacy=r.legacy||!1,this.json=r.json||!1,this.listener=r.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Ro(e,r){var t={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return t.snippet=u3(t),new w0(r,t)}function J(e,r){throw Ro(e,r)}function yt(e,r){e.onWarning&&e.onWarning.call(null,Ro(e,r))}var Ra={YAML:function(r,t,u){var n,a,i;r.version!==null&&J(r,"duplication of %YAML directive"),u.length!==1&&J(r,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(u[0]),n===null&&J(r,"ill-formed argument of the YAML directive"),a=parseInt(n[1],10),i=parseInt(n[2],10),a!==1&&J(r,"unacceptable YAML version of the document"),r.version=u[0],r.checkLineBreaks=i<2,i!==1&&i!==2&&yt(r,"unsupported YAML version of the document")},TAG:function(r,t,u){var n,a;u.length!==2&&J(r,"TAG directive accepts exactly two arguments"),n=u[0],a=u[1],zo.test(n)||J(r,"ill-formed tag handle (first argument) of the TAG directive"),V0.call(r.tagMap,n)&&J(r,'there is a previously declared suffix for "'+n+'" tag handle'),Io.test(a)||J(r,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch{J(r,"tag prefix is malformed: "+a)}r.tagMap[n]=a}};function P0(e,r,t,u){var n,a,i,o;if(r1&&(e.result+=Ne.repeat(` -`,r-1))}function gd(e,r,t){var u,n,a,i,o,s,f,h,d=e.kind,g=e.result,v;if(v=e.input.charCodeAt(e.position),qe(v)||or(v)||v===35||v===38||v===42||v===33||v===124||v===62||v===39||v===34||v===37||v===64||v===96||(v===63||v===45)&&(n=e.input.charCodeAt(e.position+1),qe(n)||t&&or(n)))return!1;for(e.kind="scalar",e.result="",a=i=e.position,o=!1;v!==0;){if(v===58){if(n=e.input.charCodeAt(e.position+1),qe(n)||t&&or(n))break}else if(v===35){if(u=e.input.charCodeAt(e.position-1),qe(u))break}else{if(e.position===e.lineStart&&zt(e)||t&&or(v))break;if(c0(v))if(s=e.line,f=e.lineStart,h=e.lineIndent,_e(e,!1,-1),e.lineIndent>=r){o=!0,v=e.input.charCodeAt(e.position);continue}else{e.position=i,e.line=s,e.lineStart=f,e.lineIndent=h;break}}o&&(P0(e,a,i,!1),on(e,e.line-s),a=i=e.position,o=!1),X0(v)||(i=e.position+1),v=e.input.charCodeAt(++e.position)}return P0(e,a,i,!1),e.result?!0:(e.kind=d,e.result=g,!1)}function xd(e,r){var t,u,n;if(t=e.input.charCodeAt(e.position),t!==39)return!1;for(e.kind="scalar",e.result="",e.position++,u=n=e.position;(t=e.input.charCodeAt(e.position))!==0;)if(t===39)if(P0(e,u,e.position,!0),t=e.input.charCodeAt(++e.position),t===39)u=e.position,e.position++,n=e.position;else return!0;else c0(t)?(P0(e,u,n,!0),on(e,_e(e,!1,r)),u=n=e.position):e.position===e.lineStart&&zt(e)?J(e,"unexpected end of the document within a single quoted scalar"):(e.position++,n=e.position);J(e,"unexpected end of the stream within a single quoted scalar")}function yd(e,r){var t,u,n,a,i,o;if(o=e.input.charCodeAt(e.position),o!==34)return!1;for(e.kind="scalar",e.result="",e.position++,t=u=e.position;(o=e.input.charCodeAt(e.position))!==0;){if(o===34)return P0(e,t,e.position,!0),e.position++,!0;if(o===92){if(P0(e,t,e.position,!0),o=e.input.charCodeAt(++e.position),c0(o))_e(e,!1,r);else if(o<256&&Bo[o])e.result+=No[o],e.position++;else if((i=md(o))>0){for(n=i,a=0;n>0;n--)o=e.input.charCodeAt(++e.position),(i=hd(o))>=0?a=(a<<4)+i:J(e,"expected hexadecimal character");e.result+=bd(a),e.position++}else J(e,"unknown escape sequence");t=u=e.position}else c0(o)?(P0(e,t,u,!0),on(e,_e(e,!1,r)),t=u=e.position):e.position===e.lineStart&&zt(e)?J(e,"unexpected end of the document within a double quoted scalar"):(e.position++,u=e.position)}J(e,"unexpected end of the stream within a double quoted scalar")}function wd(e,r){var t=!0,u,n,a,i=e.tag,o,s=e.anchor,f,h,d,g,v,y=Object.create(null),T,E,I,z;if(z=e.input.charCodeAt(e.position),z===91)h=93,v=!1,o=[];else if(z===123)h=125,v=!0,o={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=o),z=e.input.charCodeAt(++e.position);z!==0;){if(_e(e,!0,r),z=e.input.charCodeAt(e.position),z===h)return e.position++,e.tag=i,e.anchor=s,e.kind=v?"mapping":"sequence",e.result=o,!0;t?z===44&&J(e,"expected the node content, but found ','"):J(e,"missed comma between flow collection entries"),E=T=I=null,d=g=!1,z===63&&(f=e.input.charCodeAt(e.position+1),qe(f)&&(d=g=!0,e.position++,_e(e,!0,r))),u=e.line,n=e.lineStart,a=e.position,mr(e,r,gt,!1,!0),E=e.tag,T=e.result,_e(e,!0,r),z=e.input.charCodeAt(e.position),(g||e.line===u)&&z===58&&(d=!0,z=e.input.charCodeAt(++e.position),_e(e,!0,r),mr(e,r,gt,!1,!0),I=e.result),v?sr(e,o,y,E,T,I,u,n,a):d?o.push(sr(e,null,y,E,T,I,u,n,a)):o.push(T),_e(e,!0,r),z=e.input.charCodeAt(e.position),z===44?(t=!0,z=e.input.charCodeAt(++e.position)):t=!1}J(e,"unexpected end of the stream within a flow collection")}function kd(e,r){var t,u,n=hu,a=!1,i=!1,o=r,s=0,f=!1,h,d;if(d=e.input.charCodeAt(e.position),d===124)u=!1;else if(d===62)u=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)hu===n?n=d===43?Ia:ld:J(e,"repeat of a chomping mode identifier");else if((h=pd(d))>=0)h===0?J(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):i?J(e,"repeat of an indentation width identifier"):(o=r+h-1,i=!0);else break;if(X0(d)){do d=e.input.charCodeAt(++e.position);while(X0(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!c0(d)&&d!==0)}for(;d!==0;){for(an(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!i||e.lineIndento&&(o=e.lineIndent),c0(d)){s++;continue}if(e.lineIndent=n.length);l++)f=fu(e.buffer,u[i+l],n[i+l],e.position-(u[i]-u[i+l]),d),o+=Ne.repeat(" ",r.indent)+du((e.line+l+1).toString(),h)+" | "+f.str+` +`;return o.replace(/\n$/,"")}var u3=t3,n3=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],a3=["scalar","sequence","mapping"];function i3(e){var r={};return e!==null&&Object.keys(e).forEach(function(t){e[t].forEach(function(u){r[String(u)]=t})}),r}function o3(e,r){if(r=r||{},Object.keys(r).forEach(function(t){if(n3.indexOf(t)===-1)throw new w0('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=r,this.tag=e,this.kind=r.kind||null,this.resolve=r.resolve||function(){return!0},this.construct=r.construct||function(t){return t},this.instanceOf=r.instanceOf||null,this.predicate=r.predicate||null,this.represent=r.represent||null,this.representName=r.representName||null,this.defaultStyle=r.defaultStyle||null,this.multi=r.multi||!1,this.styleAliases=i3(r.styleAliases||null),a3.indexOf(this.kind)===-1)throw new w0('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var ze=o3;function za(e,r){var t=[];return e[r].forEach(function(u){var n=t.length;t.forEach(function(a,i){a.tag===u.tag&&a.kind===u.kind&&a.multi===u.multi&&(n=i)}),t[n]=u}),t}function l3(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},r,t;function u(n){n.multi?(e.multi[n.kind].push(n),e.multi.fallback.push(n)):e[n.kind][n.tag]=e.fallback[n.tag]=n}for(r=0,t=arguments.length;r=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),T3=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function M3(e){return!(e===null||!T3.test(e)||e[e.length-1]==="_")}function F3(e){var r,t;return r=e.replace(/_/g,"").toLowerCase(),t=r[0]==="-"?-1:1,"+-".indexOf(r[0])>=0&&(r=r.slice(1)),r===".inf"?t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:r===".nan"?NaN:t*parseFloat(r,10)}var z3=/^[-+]?[0-9]+e/;function I3(e,r){var t;if(isNaN(e))switch(r){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(r){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(r){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Ne.isNegativeZero(e))return"-0.0";return t=e.toString(10),z3.test(t)?t.replace("e",".e"):t}function B3(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Ne.isNegativeZero(e))}var N3=new ze("tag:yaml.org,2002:float",{kind:"scalar",resolve:M3,construct:F3,predicate:B3,represent:I3,defaultStyle:"lowercase"}),R3=h3.extend({implicit:[v3,w3,D3,N3]}),O3=R3,Do=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),To=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function L3(e){return e===null?!1:Do.exec(e)!==null||To.exec(e)!==null}function P3(e){var r,t,u,n,a,i,o,l=0,f=null,h,d,g;if(r=Do.exec(e),r===null&&(r=To.exec(e)),r===null)throw new Error("Date resolve error");if(t=+r[1],u=+r[2]-1,n=+r[3],!r[4])return new Date(Date.UTC(t,u,n));if(a=+r[4],i=+r[5],o=+r[6],r[7]){for(l=r[7].slice(0,3);l.length<3;)l+="0";l=+l}return r[9]&&(h=+r[10],d=+(r[11]||0),f=(h*60+d)*6e4,r[9]==="-"&&(f=-f)),g=new Date(Date.UTC(t,u,n,a,i,o,l)),f&&g.setTime(g.getTime()-f),g}function q3(e){return e.toISOString()}var $3=new ze("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:L3,construct:P3,instanceOf:Date,represent:q3});function H3(e){return e==="<<"||e===null}var U3=new ze("tag:yaml.org,2002:merge",{kind:"scalar",resolve:H3}),nn=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;function V3(e){if(e===null)return!1;var r,t,u=0,n=e.length,a=nn;for(t=0;t64)){if(r<0)return!1;u+=6}return u%8===0}function j3(e){var r,t,u=e.replace(/[\r\n=]/g,""),n=u.length,a=nn,i=0,o=[];for(r=0;r>16&255),o.push(i>>8&255),o.push(i&255)),i=i<<6|a.indexOf(u.charAt(r));return t=n%4*6,t===0?(o.push(i>>16&255),o.push(i>>8&255),o.push(i&255)):t===18?(o.push(i>>10&255),o.push(i>>2&255)):t===12&&o.push(i>>4&255),new Uint8Array(o)}function G3(e){var r="",t=0,u,n,a=e.length,i=nn;for(u=0;u>18&63],r+=i[t>>12&63],r+=i[t>>6&63],r+=i[t&63]),t=(t<<8)+e[u];return n=a%3,n===0?(r+=i[t>>18&63],r+=i[t>>12&63],r+=i[t>>6&63],r+=i[t&63]):n===2?(r+=i[t>>10&63],r+=i[t>>4&63],r+=i[t<<2&63],r+=i[64]):n===1&&(r+=i[t>>2&63],r+=i[t<<4&63],r+=i[64],r+=i[64]),r}function Y3(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var W3=new ze("tag:yaml.org,2002:binary",{kind:"scalar",resolve:V3,construct:j3,predicate:Y3,represent:G3}),Z3=Object.prototype.hasOwnProperty,X3=Object.prototype.toString;function K3(e){if(e===null)return!0;var r=[],t,u,n,a,i,o=e;for(t=0,u=o.length;t>10)+55296,(e-65536&1023)+56320)}var Bo=new Array(256),No=new Array(256);for(var ir=0;ir<256;ir++)Bo[ir]=Na(ir)?1:0,No[ir]=Na(ir);function vd(e,r){this.input=e,this.filename=r.filename||null,this.schema=r.schema||ld,this.onWarning=r.onWarning||null,this.legacy=r.legacy||!1,this.json=r.json||!1,this.listener=r.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Ro(e,r){var t={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return t.snippet=u3(t),new w0(r,t)}function J(e,r){throw Ro(e,r)}function yt(e,r){e.onWarning&&e.onWarning.call(null,Ro(e,r))}var Ra={YAML:function(r,t,u){var n,a,i;r.version!==null&&J(r,"duplication of %YAML directive"),u.length!==1&&J(r,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(u[0]),n===null&&J(r,"ill-formed argument of the YAML directive"),a=parseInt(n[1],10),i=parseInt(n[2],10),a!==1&&J(r,"unacceptable YAML version of the document"),r.version=u[0],r.checkLineBreaks=i<2,i!==1&&i!==2&&yt(r,"unsupported YAML version of the document")},TAG:function(r,t,u){var n,a;u.length!==2&&J(r,"TAG directive accepts exactly two arguments"),n=u[0],a=u[1],zo.test(n)||J(r,"ill-formed tag handle (first argument) of the TAG directive"),V0.call(r.tagMap,n)&&J(r,'there is a previously declared suffix for "'+n+'" tag handle'),Io.test(a)||J(r,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch{J(r,"tag prefix is malformed: "+a)}r.tagMap[n]=a}};function P0(e,r,t,u){var n,a,i,o;if(r1&&(e.result+=Ne.repeat(` +`,r-1))}function gd(e,r,t){var u,n,a,i,o,l,f,h,d=e.kind,g=e.result,v;if(v=e.input.charCodeAt(e.position),qe(v)||or(v)||v===35||v===38||v===42||v===33||v===124||v===62||v===39||v===34||v===37||v===64||v===96||(v===63||v===45)&&(n=e.input.charCodeAt(e.position+1),qe(n)||t&&or(n)))return!1;for(e.kind="scalar",e.result="",a=i=e.position,o=!1;v!==0;){if(v===58){if(n=e.input.charCodeAt(e.position+1),qe(n)||t&&or(n))break}else if(v===35){if(u=e.input.charCodeAt(e.position-1),qe(u))break}else{if(e.position===e.lineStart&&zt(e)||t&&or(v))break;if(c0(v))if(l=e.line,f=e.lineStart,h=e.lineIndent,_e(e,!1,-1),e.lineIndent>=r){o=!0,v=e.input.charCodeAt(e.position);continue}else{e.position=i,e.line=l,e.lineStart=f,e.lineIndent=h;break}}o&&(P0(e,a,i,!1),on(e,e.line-l),a=i=e.position,o=!1),X0(v)||(i=e.position+1),v=e.input.charCodeAt(++e.position)}return P0(e,a,i,!1),e.result?!0:(e.kind=d,e.result=g,!1)}function xd(e,r){var t,u,n;if(t=e.input.charCodeAt(e.position),t!==39)return!1;for(e.kind="scalar",e.result="",e.position++,u=n=e.position;(t=e.input.charCodeAt(e.position))!==0;)if(t===39)if(P0(e,u,e.position,!0),t=e.input.charCodeAt(++e.position),t===39)u=e.position,e.position++,n=e.position;else return!0;else c0(t)?(P0(e,u,n,!0),on(e,_e(e,!1,r)),u=n=e.position):e.position===e.lineStart&&zt(e)?J(e,"unexpected end of the document within a single quoted scalar"):(e.position++,n=e.position);J(e,"unexpected end of the stream within a single quoted scalar")}function yd(e,r){var t,u,n,a,i,o;if(o=e.input.charCodeAt(e.position),o!==34)return!1;for(e.kind="scalar",e.result="",e.position++,t=u=e.position;(o=e.input.charCodeAt(e.position))!==0;){if(o===34)return P0(e,t,e.position,!0),e.position++,!0;if(o===92){if(P0(e,t,e.position,!0),o=e.input.charCodeAt(++e.position),c0(o))_e(e,!1,r);else if(o<256&&Bo[o])e.result+=No[o],e.position++;else if((i=md(o))>0){for(n=i,a=0;n>0;n--)o=e.input.charCodeAt(++e.position),(i=hd(o))>=0?a=(a<<4)+i:J(e,"expected hexadecimal character");e.result+=bd(a),e.position++}else J(e,"unknown escape sequence");t=u=e.position}else c0(o)?(P0(e,t,u,!0),on(e,_e(e,!1,r)),t=u=e.position):e.position===e.lineStart&&zt(e)?J(e,"unexpected end of the document within a double quoted scalar"):(e.position++,u=e.position)}J(e,"unexpected end of the stream within a double quoted scalar")}function wd(e,r){var t=!0,u,n,a,i=e.tag,o,l=e.anchor,f,h,d,g,v,y=Object.create(null),T,E,I,z;if(z=e.input.charCodeAt(e.position),z===91)h=93,v=!1,o=[];else if(z===123)h=125,v=!0,o={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=o),z=e.input.charCodeAt(++e.position);z!==0;){if(_e(e,!0,r),z=e.input.charCodeAt(e.position),z===h)return e.position++,e.tag=i,e.anchor=l,e.kind=v?"mapping":"sequence",e.result=o,!0;t?z===44&&J(e,"expected the node content, but found ','"):J(e,"missed comma between flow collection entries"),E=T=I=null,d=g=!1,z===63&&(f=e.input.charCodeAt(e.position+1),qe(f)&&(d=g=!0,e.position++,_e(e,!0,r))),u=e.line,n=e.lineStart,a=e.position,mr(e,r,gt,!1,!0),E=e.tag,T=e.result,_e(e,!0,r),z=e.input.charCodeAt(e.position),(g||e.line===u)&&z===58&&(d=!0,z=e.input.charCodeAt(++e.position),_e(e,!0,r),mr(e,r,gt,!1,!0),I=e.result),v?lr(e,o,y,E,T,I,u,n,a):d?o.push(lr(e,null,y,E,T,I,u,n,a)):o.push(T),_e(e,!0,r),z=e.input.charCodeAt(e.position),z===44?(t=!0,z=e.input.charCodeAt(++e.position)):t=!1}J(e,"unexpected end of the stream within a flow collection")}function kd(e,r){var t,u,n=hu,a=!1,i=!1,o=r,l=0,f=!1,h,d;if(d=e.input.charCodeAt(e.position),d===124)u=!1;else if(d===62)u=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)hu===n?n=d===43?Ia:sd:J(e,"repeat of a chomping mode identifier");else if((h=pd(d))>=0)h===0?J(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):i?J(e,"repeat of an indentation width identifier"):(o=r+h-1,i=!0);else break;if(X0(d)){do d=e.input.charCodeAt(++e.position);while(X0(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!c0(d)&&d!==0)}for(;d!==0;){for(an(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!i||e.lineIndento&&(o=e.lineIndent),c0(d)){l++;continue}if(e.lineIndentr)&&s!==0)J(e,"bad indentation of a sequence entry");else if(e.lineIndentr)&&(E&&(i=e.line,o=e.lineStart,s=e.position),mr(e,r,xt,!0,n)&&(E?y=e.result:T=e.result),E||(sr(e,d,g,v,y,T,i,o,s),v=y=T=null),_e(e,!0,-1),z=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>r)&&z!==0)J(e,"bad indentation of a mapping entry");else if(e.lineIndentr?s=1:e.lineIndent===r?s=0:e.lineIndentr?s=1:e.lineIndent===r?s=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),d=0,g=e.implicitTypes.length;d"),e.result!==null&&y.kind!==e.kind&&J(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+y.kind+'", not "'+e.kind+'"'),y.resolve(e.result,e.tag)?(e.result=y.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):J(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||h}function Ed(e){var r=e.position,t,u,n,a=!1,i;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(i=e.input.charCodeAt(e.position))!==0&&(_e(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||i!==37));){for(a=!0,i=e.input.charCodeAt(++e.position),t=e.position;i!==0&&!qe(i);)i=e.input.charCodeAt(++e.position);for(u=e.input.slice(t,e.position),n=[],u.length<1&&J(e,"directive name must not be less than one character in length");i!==0;){for(;X0(i);)i=e.input.charCodeAt(++e.position);if(i===35){do i=e.input.charCodeAt(++e.position);while(i!==0&&!c0(i));break}if(c0(i))break;for(t=e.position;i!==0&&!qe(i);)i=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}i!==0&&an(e),V0.call(Ra,u)?Ra[u](e,u,n):yt(e,'unknown document directive "'+u+'"')}if(_e(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,_e(e,!0,-1)):a&&J(e,"directives end mark is expected"),mr(e,e.lineIndent-1,xt,!1,!0),_e(e,!0,-1),e.checkLineBreaks&&fd.test(e.input.slice(r,e.position))&&yt(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&zt(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,_e(e,!0,-1));return}if(e.positionr)&&l!==0)J(e,"bad indentation of a sequence entry");else if(e.lineIndentr)&&(E&&(i=e.line,o=e.lineStart,l=e.position),mr(e,r,xt,!0,n)&&(E?y=e.result:T=e.result),E||(lr(e,d,g,v,y,T,i,o,l),v=y=T=null),_e(e,!0,-1),z=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>r)&&z!==0)J(e,"bad indentation of a mapping entry");else if(e.lineIndentr?l=1:e.lineIndent===r?l=0:e.lineIndentr?l=1:e.lineIndent===r?l=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),d=0,g=e.implicitTypes.length;d"),e.result!==null&&y.kind!==e.kind&&J(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+y.kind+'", not "'+e.kind+'"'),y.resolve(e.result,e.tag)?(e.result=y.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):J(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||h}function Ed(e){var r=e.position,t,u,n,a=!1,i;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(i=e.input.charCodeAt(e.position))!==0&&(_e(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||i!==37));){for(a=!0,i=e.input.charCodeAt(++e.position),t=e.position;i!==0&&!qe(i);)i=e.input.charCodeAt(++e.position);for(u=e.input.slice(t,e.position),n=[],u.length<1&&J(e,"directive name must not be less than one character in length");i!==0;){for(;X0(i);)i=e.input.charCodeAt(++e.position);if(i===35){do i=e.input.charCodeAt(++e.position);while(i!==0&&!c0(i));break}if(c0(i))break;for(t=e.position;i!==0&&!qe(i);)i=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}i!==0&&an(e),V0.call(Ra,u)?Ra[u](e,u,n):yt(e,'unknown document directive "'+u+'"')}if(_e(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,_e(e,!0,-1)):a&&J(e,"directives end mark is expected"),mr(e,e.lineIndent-1,xt,!1,!0),_e(e,!0,-1),e.checkLineBreaks&&fd.test(e.input.slice(r,e.position))&&yt(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&zt(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,_e(e,!0,-1));return}if(e.position"u"&&(t=r,r=null);var u=Oo(e,t);if(typeof r!="function")return u;for(var n=0,a=u.length;n{let t=1,u=r.indexOf(` `);const n=e.index+e[0].length;for(;u!==-1;){if(u>=n)return t;t++,u=r.indexOf(` `,u+1)}return t},Pa={},Pd=e=>{const r=Od.exec(e);if(!r)return{attributes:{},body:e,bodyBegin:1};const t=r[r.length-1].replace(/^\s+|\s+$/g,""),u=e.replace(r[0],""),n=Ld(r,e);try{const a=Id(t)||{};return Pa=a,{attributes:a,body:u,bodyBegin:n,frontmatter:t}}catch{return{attributes:Pa,body:u,bodyBegin:n,frontmatter:t}}},qd=e=>{e=e||"";const r=e.split(/(\r?\n)/);return r[0]&&/= yaml =|---/.test(r[0])?Pd(e):{attributes:{},body:e,bodyBegin:1}},$d=qd;const Hd=(()=>{const e=new Je({html:!0});return e.use(w2),e.use(Tf),e.use(Of),e.use(Vf),e.use(C2,{matcher:r=>/^https?:\/\//.test(r),attrs:{target:"_blank",rel:"noopener"}}),e})(),Ud=e=>{const r=/
([\s\S]*?)<\/dl>/g,t=e.match(r);if(t===null)return e;for(const u of t){const n=u.replace(/<\/dd>\n
/g,` @@ -547,7 +547,7 @@ ewpage`,!0},Hf=(e,r,t,u)=>{const n=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(u||n
`);e=e.replace(u,n)}return e},Vd=(e,r)=>{let t="";if(r.name&&(t+=`

${r.name}

`),r.header){const u=r.header.length;for(let n=0;n `:"",t+=``,a.link?t+=`${a.text}`:t+=a.text,t+=` -`)}}return`
${t}
`+e},jd=e=>{const{body:r,attributes:t}=$d(e);let u=Hd.render(r);return u=Ud(u),u=Vd(u,t),u};var Gd="md-it-newpage",Yd=(e,r)=>{const t=Array.from(e.querySelectorAll(r));for(const u of t)e.removeChild(u)},Wd=(e,r,t,u,n,a)=>{const i=document.querySelector(`#${e}`);if(!i)return;Yd(i,".vue-smart-page-break");const o=r-t-u,s=d=>{const g=document.createElement("div");return g.className="vue-smart-page-break",g.style.marginTop=`${d}px`,g.style.paddingBottom=`${u}px`,g.style.marginLeft=`-${n}px`,g.style.marginRight=`-${a}px`,g};let f=0;const h=document.createElement("div");for(const d of Array.from(i.children)){const g=window.getComputedStyle(d,null),v=d.clientHeight+parseInt(g.marginTop)+parseInt(g.marginBottom);(f+v>o||d.className===Gd)&&(h.appendChild(s(r-f-t)),f=0),h.appendChild(d.cloneNode(!0)),f+=v}i.innerHTML=h.innerHTML,i.style.paddingBottom=`${r-f-t}px`},Zd=Eu({name:"SmartPages",props:{id:{type:String,required:!0},content:{type:String,required:!1,default:""},height:{type:Number,required:!0},width:{type:Number,required:!0},top:{type:Number,required:!1,default:0},bottom:{type:Number,required:!1,default:0},left:{type:Number,required:!1,default:0},right:{type:Number,required:!1,default:0},watch:{type:Array,required:!1,default:()=>[]},watchDelay:{type:Array,required:!1,default:()=>[]},beforeBreakPage:{type:Function,required:!1,default:()=>{}},afterBreakPage:{type:Function,required:!1,default:()=>{}}},setup(e,{expose:r}){const t=`vue-smart-pages-${e.id}`,u=()=>Du(`#${t} { +`)}}return`
${t}
`+e},jd=e=>{const{body:r,attributes:t}=$d(e);let u=Hd.render(r);return u=Ud(u),u=Vd(u,t),u};var Gd="md-it-newpage",Yd=(e,r)=>{const t=Array.from(e.querySelectorAll(r));for(const u of t)e.removeChild(u)},Wd=(e,r,t,u,n,a)=>{const i=document.querySelector(`#${e}`);if(!i)return;Yd(i,".vue-smart-page-break");const o=r-t-u,l=d=>{const g=document.createElement("div");return g.className="vue-smart-page-break",g.style.marginTop=`${d}px`,g.style.paddingBottom=`${u}px`,g.style.marginLeft=`-${n}px`,g.style.marginRight=`-${a}px`,g};let f=0;const h=document.createElement("div");for(const d of Array.from(i.children)){const g=window.getComputedStyle(d,null),v=d.clientHeight+parseInt(g.marginTop)+parseInt(g.marginBottom);(f+v>o||d.className===Gd)&&(h.appendChild(l(r-f-t)),f=0),h.appendChild(d.cloneNode(!0)),f+=v}i.innerHTML=h.innerHTML,i.style.paddingBottom=`${r-f-t}px`},Zd=Eu({name:"SmartPages",props:{id:{type:String,required:!0},content:{type:String,required:!1,default:""},height:{type:Number,required:!0},width:{type:Number,required:!0},top:{type:Number,required:!1,default:0},bottom:{type:Number,required:!1,default:0},left:{type:Number,required:!1,default:0},right:{type:Number,required:!1,default:0},watch:{type:Array,required:!1,default:()=>[]},watchDelay:{type:Array,required:!1,default:()=>[]},beforeBreakPage:{type:Function,required:!1,default:()=>{}},afterBreakPage:{type:Function,required:!1,default:()=>{}}},setup(e,{expose:r}){const t=`vue-smart-pages-${e.id}`,u=()=>Du(`#${t} { padding: ${e.top}px ${e.right}px ${e.bottom}px ${e.left}px; width: ${e.width}mm; - }`,t),n=a=>{u();const i=()=>{Wd(t,e.height,e.top,e.bottom,e.left,e.right),e.afterBreakPage&&e.afterBreakPage()};if(e.beforeBreakPage){const o=e.beforeBreakPage();if(o&&typeof o.then=="function"){a?o.then(()=>setTimeout(i,a)):o.then(i);return}}a?setTimeout(i,a):i()};return Ha(()=>{lt(()=>[e.top,e.bottom,e.left,e.right,e.width,e.content,e.height,...e.watch],()=>Fn(n,200)()),lt(()=>e.watchDelay,()=>Fn(()=>n(100),200)()),u()}),r({resolvePages:n}),()=>L1("div",{class:"vue-smart-pages",id:t,innerHTML:e.content})}}),Xd=Zd;const bh=Eu({__name:"ResumeRender",props:{id:{},markdown:{},css:{},styles:{}},setup(e,{expose:r}){const t=P1();return r({forceUpdate:()=>{t.value.resolvePages(100)}}),(n,a)=>(Ua(),q1(u0(Xd),{id:n.id,ref_key:"smart",ref:t,content:("renderMarkdown"in n?n.renderMarkdown:u0(jd))(n.markdown),height:("getPaperPx"in n?n.getPaperPx:u0(fs))(n.styles.paper,"h"),width:("PAPER"in n?n.PAPER:u0(Za))[n.styles.paper].w,top:n.styles.marginV,bottom:Math.max(n.styles.marginV-10,"CHROME_PRINT_BOTTOM"in n?n.CHROME_PRINT_BOTTOM:u0(as)),left:n.styles.marginH,right:n.styles.marginH,"before-break-page":()=>("onFontLoaded"in n?n.onFontLoaded:u0(Cs))(n.styles),watch:[n.styles.lineHeight,n.styles.paragraphSpace,n.styles.fontSize,n.css],"watch-delay":[n.styles.fontCJK,n.styles.fontEN]},null,8,["id","content","height","width","top","bottom","left","right","before-break-page","watch","watch-delay"]))}});export{uh as C,is as E,cs as M,Za as P,th as T,rh as _,Ts as a,ph as b,Fn as c,bh as d,zs as e,ih as f,fs as g,Es as h,Qa as i,ah as j,nh as k,os as l,K0 as m,dh as n,lh as o,ch as p,sh as q,mh as r,Ns as s,hh as t,Tu as u,fh as v,ns as w,Ss as x,us as y,oh as z}; + }`,t),n=a=>{u();const i=()=>{Wd(t,e.height,e.top,e.bottom,e.left,e.right),e.afterBreakPage&&e.afterBreakPage()};if(e.beforeBreakPage){const o=e.beforeBreakPage();if(o&&typeof o.then=="function"){a?o.then(()=>setTimeout(i,a)):o.then(i);return}}a?setTimeout(i,a):i()};return Ha(()=>{st(()=>[e.top,e.bottom,e.left,e.right,e.width,e.content,e.height,...e.watch],()=>Fn(n,200)()),st(()=>e.watchDelay,()=>Fn(()=>n(100),200)()),u()}),r({resolvePages:n}),()=>L1("div",{class:"vue-smart-pages",id:t,innerHTML:e.content})}}),Xd=Zd;const bh=Eu({__name:"ResumeRender",props:{id:{},markdown:{},css:{},styles:{}},setup(e,{expose:r}){const t=P1();return r({forceUpdate:()=>{t.value.resolvePages(100)}}),(n,a)=>(Ua(),q1(u0(Xd),{id:n.id,ref_key:"smart",ref:t,content:("renderMarkdown"in n?n.renderMarkdown:u0(jd))(n.markdown),height:("getPaperPx"in n?n.getPaperPx:u0(fl))(n.styles.paper,"h"),width:("PAPER"in n?n.PAPER:u0(Za))[n.styles.paper].w,top:n.styles.marginV,bottom:Math.max(n.styles.marginV-10,"CHROME_PRINT_BOTTOM"in n?n.CHROME_PRINT_BOTTOM:u0(al)),left:n.styles.marginH,right:n.styles.marginH,"before-break-page":()=>("onFontLoaded"in n?n.onFontLoaded:u0(Cl))(n.styles),watch:[n.styles.lineHeight,n.styles.paragraphSpace,n.styles.fontSize,n.css],"watch-delay":[n.styles.fontCJK,n.styles.fontEN]},null,8,["id","content","height","width","top","bottom","left","right","before-break-page","watch","watch-delay"]))}});export{uh as C,il as E,cl as M,Za as P,th as T,rh as _,Tl as a,ph as b,Fn as c,bh as d,zl as e,ih as f,fl as g,El as h,Qa as i,ah as j,nh as k,ol as l,K0 as m,dh as n,sh as o,ch as p,lh as q,mh as r,Nl as s,hh as t,Tu as u,fh as v,nl as w,Sl as x,ul as y,oh as z}; diff --git a/assets/MImNoLyP.js b/assets/B1Xi-1xl.js similarity index 99% rename from assets/MImNoLyP.js rename to assets/B1Xi-1xl.js index 267db73..337d871 100644 --- a/assets/MImNoLyP.js +++ b/assets/B1Xi-1xl.js @@ -1,4 +1,4 @@ -import{m as i}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m as i}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/CVjiJjdT.js b/assets/B5-Z72C8.js similarity index 98% rename from assets/CVjiJjdT.js rename to assets/B5-Z72C8.js index 5734d0d..208bf7e 100644 --- a/assets/CVjiJjdT.js +++ b/assets/B5-Z72C8.js @@ -1,4 +1,4 @@ -import{m as a}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m as a}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/D8DLp2_e.js b/assets/BEziaSf_.js similarity index 99% rename from assets/D8DLp2_e.js rename to assets/BEziaSf_.js index 0e2cdde..a10ef77 100644 --- a/assets/D8DLp2_e.js +++ b/assets/BEziaSf_.js @@ -1,10 +1,10 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./CV7Xu0J4.js","./LLeh9DNx.js","./entry.CBHgAQ0X.css","./editor.ChyOjXgx.css"] + __vite__mapDeps.viteFileDeps = ["./CKCBchtN.js","./BZDDQZjI.js","./entry.CBHgAQ0X.css","./editor.ChyOjXgx.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{u as Fe,r as fo,_ as mo,a as Ie,b as bo,s as vo,c as $t,i as Io,g as hn,d as Eo,e as xt,f as Co,h as So,P as yo,T as To,j as Po,C as Oo,k as fn,E as mn,l as bn,m as Ro,n as wo}from"./WlsRhCXb.js";import{f as B,o as A,g as pe,h as I,c as W,i as ko,a as p,j as Ge,v as We,k as Ve,l as Le,q as Ae,m as _o,n as Ao,r as No,s as Fo,x as Vo,y as De,z as $e,A as z,B as Mt,C as ve,D as he,E as C,F as Hn,G as je,H as Lo,I as Et,J as Do,K as Pe,L as wt,M as $o,N as Qt,O as ce,P as xo,Q as xe,R as Z,S as Ct,T as en,U as V,d as zn,t as G,V as Me,W as Ht,X as vn,b as _,w as ae,p as Mo,e as Ho,_ as St,Y as In,Z as ye,$ as fe,a0 as me,a1 as ot,a2 as zo,a3 as Bo,a4 as zt,a5 as Bt,a6 as tn,a7 as Uo,a8 as Bn,a9 as Ue,aa as nt,ab as Go,ac as Ut,ad as Wo,ae as jo,af as dt,ag as nn,ah as Ko,ai as qo,aj as Jo,ak as Gt,al as Wt,am as gt,an as Xo,ao as Zo,ap as Yo}from"./LLeh9DNx.js";import{g as Qo,t as on,a as Un,b as jt,o as ea,c as Gn,d as ta,_ as na}from"./ZVcvh5EZ.js";import"./CrJvmnpK.js";const oa=B({__name:"RenameResume",setup(e){const{data:n}=Fe(),t=o=>{n.curResumeName=o,fo(n.curResumeId,o)};return(o,a)=>{const i=mo;return A(),pe(i,{id:"edit-rename",class:"w-50 mx-2 text-sm md:text-base",default:I(n).curResumeName,"on-value-commit":t},null,8,["default"])}}}),aa=p("span",{"i-ic:baseline-save":"","md:text-lg":""},null,-1),ra=[aa],ia=B({__name:"SaveResume",setup(e){const{data:n}=Fe(),{styles:t}=Ie(),o=()=>{const a=n.curResumeId,i=new Date().getTime().toString(),r={name:n.curResumeName,markdown:n.mdContent,css:n.cssContent,styles:ko(t),update:i};vo(a,r)};return bo("ctrl+s",o),(a,i)=>(A(),W("button",{class:"round-btn",onClick:o},ra))}}),sa={"i-tabler:layout-sidebar-right-collapse":"","md:text-lg":""},la={"i-tabler:layout-sidebar-right-expand":"","md:text-lg":""},ca=B({__name:"ToggleToolbar",props:{isToolbarOpen:{type:Boolean}},emits:["toggleToolbar"],setup(e){return(n,t)=>(A(),W("button",{class:"round-btn",onClick:t[0]||(t[0]=o=>n.$emit("toggleToolbar"))},[Ge(p("span",sa,null,512),[[We,n.isToolbarOpen]]),Ge(p("span",la,null,512),[[We,!n.isToolbarOpen]])]))}});var Kt,ke=new Map,ua=e=>e.getBoundingClientRect();function da(e,n){const{scope:t="rect",getRect:o=ua,onChange:a}=n,i=ga({scope:t,getRect:o}),r=ke.get(e);return r?(r.callbacks.push(a),a(o(e))):(ke.set(e,{rect:{},callbacks:[a]}),ke.size===1&&(Kt=requestAnimationFrame(i))),function(){const s=ke.get(e);if(!s)return;const c=s.callbacks.indexOf(a);c>-1&&s.callbacks.splice(c,1),s.callbacks.length===0&&(ke.delete(e),ke.size===0&&cancelAnimationFrame(Kt))}}function ga(e){const{scope:n,getRect:t}=e,o=ha(n);return function a(){const i=[];ke.forEach((r,l)=>{const s=t(l);o(r.rect,s)||(r.rect=s,i.push(r))}),i.forEach(r=>{r.callbacks.forEach(l=>l(r.rect))}),Kt=requestAnimationFrame(a)}}var Wn=(e,n)=>e.width===n.width&&e.height===n.height,jn=(e,n)=>e.top===n.top&&e.left===n.left,pa=(e,n)=>Wn(e,n)&&jn(e,n);function ha(e){return e==="size"?Wn:e==="position"?jn:pa}var fa=Ve("tabs").parts("root","list","trigger","content","indicator"),Je=fa.build(),R=Le({getRootId:e=>{var n;return((n=e.ids)==null?void 0:n.root)??`tabs:${e.id}`},getListId:e=>{var n;return((n=e.ids)==null?void 0:n.list)??`tabs:${e.id}:list`},getContentId:(e,n)=>{var t;return((t=e.ids)==null?void 0:t.content)??`tabs:${e.id}:content-${n}`},getTriggerId:(e,n)=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`tabs:${e.id}:trigger-${n}`},getIndicatorId:e=>{var n;return((n=e.ids)==null?void 0:n.indicator)??`tabs:${e.id}:indicator`},getListEl:e=>R.getById(e,R.getListId(e)),getContentEl:(e,n)=>R.getById(e,R.getContentId(e,n)),getTriggerEl:(e,n)=>R.getById(e,R.getTriggerId(e,n)),getIndicatorEl:e=>R.getById(e,R.getIndicatorId(e)),getElements:e=>{const t=`[role=tab][data-ownedby='${CSS.escape(R.getListId(e))}']:not([disabled])`;return Ae(R.getListEl(e),t)},getFirstEl:e=>_o(R.getElements(e)),getLastEl:e=>Ao(R.getElements(e)),getNextEl:(e,n)=>No(R.getElements(e),R.getTriggerId(e,n),e.loop),getPrevEl:(e,n)=>Fo(R.getElements(e),R.getTriggerId(e,n),e.loop),getActiveContentEl:e=>{if(e.value)return R.getContentEl(e,e.value)},getActiveTabEl:e=>{if(e.value)return R.getTriggerEl(e,e.value)},getOffsetRect:e=>({left:(e==null?void 0:e.offsetLeft)??0,top:(e==null?void 0:e.offsetTop)??0,width:(e==null?void 0:e.offsetWidth)??0,height:(e==null?void 0:e.offsetHeight)??0}),getRectById:(e,n)=>{const t=Vo(R.getElements(e),R.getTriggerId(e,n));return R.resolveRect(R.getOffsetRect(t))},resolveRect:e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`})});function ma(e,n,t){var r,l,s,c;const o=e.context.translations,a=e.matches("focused");function i(d){return{isSelected:e.context.value===d.value,isFocused:e.context.focusedValue===d.value,isDisabled:!!d.disabled}}return{value:e.context.value,focusedValue:e.context.focusedValue,setValue(d){n({type:"SET_VALUE",value:d})},clearValue(){n({type:"CLEAR_VALUE"})},setIndicatorRect(d){const h=R.getTriggerId(e.context,d);n({type:"SET_INDICATOR_RECT",id:h})},getTriggerState:i,rootProps:t.element({...Je.root.attrs,id:R.getRootId(e.context),"data-orientation":e.context.orientation,"data-focus":C(a),dir:e.context.dir}),listProps:t.element({...Je.list.attrs,id:R.getListId(e.context),role:"tablist",dir:e.context.dir,"data-focus":C(a),"aria-orientation":e.context.orientation,"data-orientation":e.context.orientation,"aria-label":o.listLabel,onKeyDown(d){const h=d.nativeEvent||d;if(!Hn(h))return;const S={ArrowDown(){n("ARROW_DOWN")},ArrowUp(){n("ARROW_UP")},ArrowLeft(){n("ARROW_LEFT")},ArrowRight(){n("ARROW_RIGHT")},Home(){n("HOME")},End(){n("END")},Enter(){n({type:"ENTER",value:e.context.focusedValue})}};let u=je(d,e.context);const g=S[u];g&&(d.preventDefault(),g(d))}}),getTriggerProps(d){const{value:h,disabled:S}=d,u=i(d);return t.button({...Je.trigger.attrs,role:"tab",type:"button",disabled:S,dir:e.context.dir,"data-orientation":e.context.orientation,"data-disabled":C(S),"aria-disabled":S,"data-value":h,"aria-selected":u.isSelected,"data-selected":C(u.isSelected),"data-focus":C(u.isFocused),"aria-controls":R.getContentId(e.context,h),"data-ownedby":R.getListId(e.context),id:R.getTriggerId(e.context,h),tabIndex:u.isSelected?0:-1,onFocus(){n({type:"TAB_FOCUS",value:h})},onBlur(g){const m=g.relatedTarget;(m==null?void 0:m.getAttribute("role"))!=="tab"&&n({type:"TAB_BLUR"})},onClick(g){S||(Lo()&&g.currentTarget.focus(),n({type:"TAB_CLICK",value:h}))}})},getContentProps(d){const{value:h}=d,S=e.context.value===h;return t.element({...Je.content.attrs,dir:e.context.dir,id:R.getContentId(e.context,h),tabIndex:0,"aria-labelledby":R.getTriggerId(e.context,h),role:"tabpanel","data-ownedby":R.getListId(e.context),"data-selected":C(S),"data-orientation":e.context.orientation,hidden:!S})},indicatorProps:t.element({id:R.getIndicatorId(e.context),...Je.indicator.attrs,dir:e.context.dir,"data-orientation":e.context.orientation,style:{"--transition-property":"left, right, top, bottom, width, height","--left":(r=e.context.indicatorRect)==null?void 0:r.left,"--top":(l=e.context.indicatorRect)==null?void 0:l.top,"--width":(s=e.context.indicatorRect)==null?void 0:s.width,"--height":(c=e.context.indicatorRect)==null?void 0:c.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:e.context.canIndicatorTransition?"var(--transition-duration, 150ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[e.context.orientation==="horizontal"?"left":"top"]:e.context.orientation==="horizontal"?"var(--left)":"var(--top)"}})}}var{not:ba}=Et;function va(e){const n=De(e);return $e({initial:"idle",context:{dir:"ltr",orientation:"horizontal",activationMode:"automatic",value:null,focusedValue:null,indicatorRect:{left:"0px",top:"0px",width:"0px",height:"0px"},canIndicatorTransition:!1,isIndicatorRendered:!1,loop:!0,translations:{},...n},computed:{isHorizontal:t=>t.orientation==="horizontal",isVertical:t=>t.orientation==="vertical"},entry:["checkRenderedElements","syncIndicatorRect","setContentTabIndex"],exit:["cleanupObserver"],watch:{value:["enableIndicatorTransition","syncIndicatorRect","setContentTabIndex"],dir:["syncIndicatorRect"],orientation:["syncIndicatorRect"]},on:{SET_VALUE:{actions:"setValue"},CLEAR_VALUE:{actions:"clearValue"},SET_INDICATOR_RECT:{actions:"setIndicatorRect"}},states:{idle:{on:{TAB_FOCUS:[{guard:"selectOnFocus",target:"focused",actions:["setFocusedValue","setValue"]},{target:"focused",actions:"setFocusedValue"}],TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]}}},focused:{on:{TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]},ARROW_LEFT:{guard:"isHorizontal",actions:"focusPrevTab"},ARROW_RIGHT:{guard:"isHorizontal",actions:"focusNextTab"},ARROW_UP:{guard:"isVertical",actions:"focusPrevTab"},ARROW_DOWN:{guard:"isVertical",actions:"focusNextTab"},HOME:{actions:"focusFirstTab"},END:{actions:"focusLastTab"},ENTER:{guard:ba("selectOnFocus"),actions:"setValue"},TAB_FOCUS:[{guard:"selectOnFocus",actions:["setFocusedValue","setValue"]},{actions:"setFocusedValue"}],TAB_BLUR:{target:"idle",actions:"clearFocusedValue"}}}}},{guards:{isVertical:t=>t.isVertical,isHorizontal:t=>t.isHorizontal,selectOnFocus:t=>t.activationMode==="automatic"},actions:{setFocusedValue(t,o){at.focusedValue(t,o.value)},clearFocusedValue(t){at.focusedValue(t,null)},setValue(t,o){at.value(t,o.value)},clearValue(t){at.value(t,null)},focusFirstTab(t){z(()=>{var o;return(o=R.getFirstEl(t))==null?void 0:o.focus()})},focusLastTab(t){z(()=>{var o;return(o=R.getLastEl(t))==null?void 0:o.focus()})},focusNextTab(t){if(!t.focusedValue)return;const o=R.getNextEl(t,t.focusedValue);z(()=>o==null?void 0:o.focus())},focusPrevTab(t){if(!t.focusedValue)return;const o=R.getPrevEl(t,t.focusedValue);z(()=>o==null?void 0:o.focus())},checkRenderedElements(t){t.isIndicatorRendered=!!R.getIndicatorEl(t)},setContentTabIndex(t){z(()=>{const o=R.getActiveContentEl(t);if(!o)return;Qo(o).length>0?o.removeAttribute("tabindex"):o.setAttribute("tabindex","0")})},cleanupObserver(t){var o;(o=t.indicatorCleanup)==null||o.call(t)},enableIndicatorTransition(t){t.canIndicatorTransition=!0},setIndicatorRect(t,o){const a=o.id??t.value;!t.isIndicatorRendered||!a||!R.getTriggerEl(t,a)||(t.indicatorRect=R.getRectById(t,a),Mt(()=>{t.canIndicatorTransition=!1}))},syncIndicatorRect(t){var i;(i=t.indicatorCleanup)==null||i.call(t);const o=t.value;if(!t.isIndicatorRendered||!o)return;const a=R.getActiveTabEl(t);a&&(t.indicatorCleanup=da(a,{getRect(r){return R.getOffsetRect(r)},onChange(r){t.indicatorRect=R.resolveRect(r),Mt(()=>{t.canIndicatorTransition=!1})}}))}}})}var En={change:e=>{var n;e.value!=null&&((n=e.onValueChange)==null||n.call(e,{value:e.value}))},focusChange:e=>{var n;e.focusedValue!=null&&((n=e.onFocusChange)==null||n.call(e,{focusedValue:e.focusedValue}))}},at={value:(e,n)=>{ve(n,e.value)||(e.value=n,En.change(e))},focusedValue:(e,n)=>{ve(n,e.focusedValue)||(e.focusedValue=n,En.focusChange(e))}};he()(["activationMode","dir","getRootNode","id","ids","loop","onFocusChange","onValueChange","orientation","translations","value"]);he()(["disabled","value"]);he()(["value"]);const Ia=async()=>{if(window.monaco)return{monaco:window.monaco};const e=await wt(()=>import("./CV7Xu0J4.js").then(n=>n.e),__vite__mapDeps([0,1,2,3]),import.meta.url);return window.monaco=e,await(async()=>{const[{default:n},{default:t}]=await Promise.all([wt(()=>import("./CaUdfbQS.js"),[],import.meta.url),wt(()=>import("./C__SbcrF.js"),[],import.meta.url)]);window.MonacoEnvironment={getWorker(o,a){switch(a){case"editorWorkerService":return new n;case"css":return new t;default:throw new Error(`Unknown label ${a}`)}}}})(),$o()&&await new Promise(n=>Qt(n)),{monaco:e}},Cn=(e,n,t,o,a)=>{const i=[],r=e.editor.createModel(o,t);return i.push(r),i.push(r.onDidChangeContent(a)),{getModel:()=>r,activate:()=>{n.setModel(r)},dispose:()=>{i.forEach(l=>l.dispose())}}},Ea=async e=>{const n=[],{data:t,setData:o}=Fe(),{monaco:a}=await Ia(),i=a.editor.create(e,{wordWrap:"on",fontSize:13,fontFamily:'Menlo, Monaco, "Courier New", monospace',lineHeight:1.5,automaticLayout:!0});n.push(i),a.editor.defineTheme("vs-dark-dimmed",{base:"vs-dark",inherit:!0,rules:[],colors:{"editor.background":"#334155","editor.lineHighlightBorder":"#4b5563","dropdown.background":"#4b5563","menu.separatorBackground":"#6b7280"}});const r=Do();a.editor.setTheme(r.preference==="dark"?"vs-dark-dimmed":"vs"),Pe(()=>r.preference,c=>{a.editor.setTheme(c==="dark"?"vs-dark-dimmed":"vs")});const l=Cn(a,i,"markdown",t.mdContent,$t(()=>{o("mdContent",l.getModel().getValue())},200));n.push(l);const s=Cn(a,i,"css",t.cssContent,$t(()=>{o("cssContent",s.getModel().getValue())},200));return n.push(s),{editor:i,models:{markdown:l,css:s},dispose:()=>{n.forEach(c=>c.dispose())}}},Ca={class:"absolute w-full h-0.4 bg-blue-500 dark:bg-blue-400 left-0 bottom-0 rounded"},Sa=B({__name:"Editor",setup(e){const n=ce();let t;Qt(async()=>{Io&&n.value&&!t&&(t=await Ea(n.value),r("markdown"))}),xo(()=>t==null?void 0:t.dispose());const{data:o,toggleMdFlag:a,toggleCssFlag:i}=Fe();Pe(()=>o.mdFlag,()=>{o.mdFlag&&(t==null||t.models.markdown.getModel().setValue(o.mdContent),a(!1))}),Pe(()=>o.cssFlag,()=>{o.cssFlag&&(t==null||t.models.css.getModel().setValue(o.cssContent),i(!1))});const r=h=>{t==null||t.models[h].activate()},l=[{value:"markdown",label:"Markdown"},{value:"css",label:"CSS"}],[s,c]=xe(va({id:"editor",value:"markdown",onValueChange:h=>{r(h.value)}})),d=Z(()=>ma(s.value,c,Me));return(h,S)=>(A(),W("div",V({class:"pane-container"},I(d).rootProps),[p("div",V(I(d).listProps,{class:"hstack h-9 text-sm md:h-10 md:text-base w-full text-c bg-c border-b border-c px-4 space-x-2"}),[(A(),W(Ct,null,en(l,u=>p("button",V(I(d).getTriggerProps({value:u.value}),{key:u.value,class:"relative leading-9 md:leading-10 px-2"}),[zn(G(u.label)+" ",1),Ge(p("span",Ca,null,512),[[We,I(d).value==u.value]])],16)),64))],16),p("div",{ref_key:"editorRef",ref:n,"h-full":""},null,512)],16))}});var ya=B({name:"Zoom",props:{scale:{type:Number,required:!0}},setup(e,{slots:n}){const t=ce(),o=ce(),a=Ht(t),i=Ht(o),r=Z(()=>Math.max(0,(a.width.value-e.scale*i.width.value)/2));return()=>vn("div",{class:"vue-zoom-container",ref:t,style:{height:"100%"}},[vn("div",{class:"vue-zoom",ref:o,style:{width:"fit-content",transformOrigin:"top left",transform:`scale(${e.scale})`,marginLeft:`${r.value}px`}},[n.default()])])}});const yt=e=>(Mo("data-v-7ebff9d5"),e=e(),Ho(),e),Ta={class:"pane-container"},Pa={class:"zoom-bar hstack fixed bottom-4 lg:bottom-auto lg:top-15 ml-2 shadow-c rounded-full overflow-hidden text-white bg-blue-500 lg:opacity-0 hover:opacity-100"},Oa=yt(()=>p("span",{"i-lucide:zoom-in":""},null,-1)),Ra=[Oa],wa=yt(()=>p("span",{"i-lucide:zoom-out":""},null,-1)),ka=[wa],_a=yt(()=>p("span",{"i-fluent:arrow-autofit-width-20-filled":""},null,-1)),Aa=[_a],Na=yt(()=>p("span",{"i-fluent:arrow-autofit-height-20-filled":""},null,-1)),Fa=[Na],Va=B({__name:"Preview",setup(e){const n=ce(1),t=ce(),{width:o,height:a}=Ht(t),{styles:i}=Ie(),{data:r}=Fe(),l=()=>{n.value=o.value/hn(i.paper,"w")},s=()=>{n.value=a.value/hn(i.paper,"h")};return Pe(o,()=>$t(l,100)()),(c,d)=>{const h=Eo;return A(),W("div",Ta,[_(I(ya),{ref_key:"zoom",ref:t,scale:I(n)},{default:ae(()=>[_(h,{id:"preview",markdown:I(r).mdContent,css:I(r).cssContent,styles:I(i)},null,8,["markdown","css","styles"])]),_:1},8,["scale"]),p("div",Pa,[p("button",{onClick:d[0]||(d[0]=S=>n.value*=1.1)},Ra),p("button",{onClick:d[1]||(d[1]=S=>n.value/=1.1)},ka),p("button",{onClick:l},Aa),p("button",{onClick:s},Fa)])])}}}),La=St(Va,[["__scopeId","data-v-7ebff9d5"]]);function Da(e){const n=new Map;return function(o,a){const i=o+(a?Object.entries(a).sort((l,s)=>l[0]{if(isNaN(e))return"";if(e===0)return"0 B";const{unit:o="byte",unitDisplay:a="short"}=t,i=o==="bit"?Ma:Ha,r=Math.max(0,Math.min(Math.floor(Math.log10(e)/3),i.length-1)),l=i[r]+o,s=a||"short",c=parseFloat((e/Math.pow(1e3,r)).toPrecision(3));return xa(c,n,{style:"unit",unit:l,unitDisplay:s})},Kn={border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"};function Ba(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function Ua(e){return/^.*\.[\w]+$/.test(e)}function Ga(e){if(e)return typeof e=="string"?e:Object.entries(e).reduce((n,[t,o])=>[...n,t,...o],[]).filter(n=>Ba(n)||Ua(n)).join(",")}var Wa=(e,n)=>e.name===n.name&&e.size===n.size&&e.type===n.type,Xe=e=>e!=null;function ja(e,n,t){if(Xe(e.size))if(Xe(n)&&Xe(t)){if(e.size>t)return[!1,"FILE_TOO_LARGE"];if(e.sizet)return[!1,"FILE_TOO_LARGE"]}return[!0,null]}function Ka(e,n){if(e&&n){const t=Array.isArray(n)?n:n.split(","),o=e.name||"",a=(e.type||"").toLowerCase(),i=a.replace(/\/.*$/,"");return t.some(r=>{const l=r.trim().toLowerCase();return l.charAt(0)==="."?o.toLowerCase().endsWith(l):l.endsWith("/*")?i===l.replace(/\/.*$/,""):a===l})}return!0}function qa(e,n){const t=e.type==="application/x-moz-file"||Ka(e,n);return[t,t?null:"FILE_INVALID_TYPE"]}var Ja=Ve("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger"),ge=Ja.build(),X=Le({getRootId:e=>{var n;return((n=e.ids)==null?void 0:n.root)??`file:${e.id}`},getDropzoneId:e=>{var n;return((n=e.ids)==null?void 0:n.dropzone)??`file:${e.id}:dropzone`},getHiddenInputId:e=>{var n;return((n=e.ids)==null?void 0:n.hiddenInput)??`file:${e.id}:input`},getTriggerId:e=>{var n;return((n=e.ids)==null?void 0:n.trigger)??`file:${e.id}:trigger`},getLabelId:e=>{var n;return((n=e.ids)==null?void 0:n.label)??`file:${e.id}:label`},getItemId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.item)==null?void 0:o.call(t,n))??`file:${e.id}:item:${n}`},getItemNameId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.itemName)==null?void 0:o.call(t,n))??`file:${e.id}:item-name:${n}`},getItemSizeTextId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.itemSizeText)==null?void 0:o.call(t,n))??`file:${e.id}:item-size:${n}`},getItemPreviewId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.itemPreview)==null?void 0:o.call(t,n))??`file:${e.id}:item-preview:${n}`},getHiddenInputEl:e=>X.getById(e,X.getHiddenInputId(e)),getDropzoneEl:e=>X.getById(e,X.getDropzoneId(e))});function Sn(e){return e.dataTransfer?e.dataTransfer.types.some(n=>n==="Files"||n==="application/x-moz-file"):!!e.target&&"files"in e.target}function qn(e,n){return!e.multiple&&n>1?!1:!e.multiple&&n+e.acceptedFiles.length===2?!0:!(n+e.acceptedFiles.length>e.maxFiles)}function Xa(e,n){const t=[],o=[];return n.forEach(a=>{var h;const[i,r]=qa(a,e.acceptAttr),[l,s]=ja(a,e.minFileSize,e.maxFileSize),c=(h=e.validate)==null?void 0:h.call(e,a),d=c?c.length===0:!0;if(i&&l&&d)t.push(a);else{const S=[r,s];d||S.push(...c??[]),o.push({file:a,errors:S.filter(Boolean)})}}),qn(e,t.length)||(t.forEach(a=>{o.push({file:a,errors:["TOO_MANY_FILES"]})}),t.splice(0)),{acceptedFiles:t,rejectedFiles:o}}function Za(e,n,t){const o=e.context.disabled,a=e.context.allowDrop,i=e.context.translations,r=e.matches("dragging"),l=e.matches("focused")&&!o;return{isDragging:r,isFocused:l,open(){n("OPEN")},deleteFile(s){n({type:"FILE.DELETE",file:s})},acceptedFiles:e.context.acceptedFiles,rejectedFiles:e.context.rejectedFiles,setFiles(s){const c=s.length;n({type:"FILES.SET",files:s,count:c})},clearFiles(){n({type:"FILES.CLEAR"})},getFileSize(s){return za(s.size,e.context.locale)},createFileUrl(s,c){const d=X.getWin(e.context),h=d.URL.createObjectURL(s);return c(h),()=>d.URL.revokeObjectURL(h)},rootProps:t.element({...ge.root.attrs,dir:e.context.dir,id:X.getRootId(e.context),"data-disabled":C(o),"data-dragging":C(r)}),dropzoneProps:t.element({...ge.dropzone.attrs,dir:e.context.dir,id:X.getDropzoneId(e.context),tabIndex:o?void 0:0,"aria-disabled":o,"aria-invalid":e.context.invalid,"data-invalid":C(e.context.invalid),"data-disabled":C(o),"data-dragging":C(r),onKeyDown(s){const c=s.nativeEvent||s;Hn(c)&&(s.key!=="Enter"&&s.key!==" "||n({type:"DROPZONE.CLICK",src:"keydown"}))},onClick(s){s.currentTarget.localName==="label"&&s.preventDefault(),n("DROPZONE.CLICK")},onDragOver(s){if(!a)return;s.preventDefault(),s.stopPropagation();try{s.dataTransfer.dropEffect="copy"}catch{}if(!Sn(s))return;const d=s.dataTransfer.items.length;n({type:"DROPZONE.DRAG_OVER",count:d})},onDragLeave(s){!a||o||In(s.currentTarget,s.relatedTarget)||n({type:"DROPZONE.DRAG_LEAVE"})},onDrop(s){a&&(s.preventDefault(),s.stopPropagation());const c=Sn(s);o||!c||n({type:"DROPZONE.DROP",files:Array.from(s.dataTransfer.files)})},onFocus(){n("DROPZONE.FOCUS")},onBlur(){n("DROPZONE.BLUR")}}),triggerProps:t.button({...ge.trigger.attrs,dir:e.context.dir,id:X.getTriggerId(e.context),disabled:o,"data-disabled":C(o),type:"button",onClick(s){o||(In(X.getDropzoneEl(e.context),s.currentTarget)&&s.stopPropagation(),n("OPEN"))}}),hiddenInputProps:t.input({id:X.getHiddenInputId(e.context),tabIndex:-1,disabled:o,type:"file",capture:e.context.capture,name:e.context.name,accept:e.context.acceptAttr,webkitdirectory:e.context.capture?"":void 0,multiple:e.context.multiple||e.context.maxFiles>1,onClick(s){s.stopPropagation(),s.currentTarget.value=""},onChange(s){if(o)return;const{files:c}=s.currentTarget;n({type:"FILES.SET",files:c?Array.from(c):[]})},style:Kn}),itemGroupProps:t.element({...ge.itemGroup.attrs,dir:e.context.dir,"data-disabled":C(o)}),getItemProps(s){const{file:c}=s;return t.element({...ge.item.attrs,dir:e.context.dir,id:X.getItemId(e.context,c.name),"data-disabled":C(o)})},getItemNameProps(s){const{file:c}=s;return t.element({...ge.itemName.attrs,dir:e.context.dir,id:X.getItemNameId(e.context,c.name),"data-disabled":C(o)})},getItemSizeTextProps(s){const{file:c}=s;return t.element({...ge.itemSizeText.attrs,dir:e.context.dir,id:X.getItemSizeTextId(e.context,c.name),"data-disabled":C(o)})},getItemPreviewProps(s){const{file:c}=s;return t.element({...ge.itemPreview.attrs,dir:e.context.dir,id:X.getItemPreviewId(e.context,c.name),"data-disabled":C(o)})},getItemPreviewImageProps(s){const{file:c,url:d}=s;if(!c.type.startsWith("image/"))throw new Error("Preview Image is only supported for image files");return t.img({...ge.itemPreviewImage.attrs,alt:i.itemPreview(c),src:d,"data-disabled":C(o)})},getItemDeleteTriggerProps(s){const{file:c}=s;return t.button({...ge.itemDeleteTrigger.attrs,dir:e.context.dir,type:"button",disabled:o,"data-disabled":C(o),"aria-label":i.deleteFile(c),onClick(){o||n({type:"FILE.DELETE",file:c})}})},labelProps:t.label({...ge.label.attrs,dir:e.context.dir,id:X.getLabelId(e.context),htmlFor:X.getHiddenInputId(e.context),"data-disabled":C(o)})}}var{not:yn}=Et;function Ya(e){const n=De(e);return $e({id:"fileupload",initial:"idle",context:{minFileSize:0,maxFileSize:1/0,maxFiles:1,allowDrop:!0,...n,acceptedFiles:ye([]),rejectedFiles:ye([]),invalid:!1,translations:{itemPreview:t=>`preview of ${t.name}`,deleteFile:t=>`delete file ${t.name}`,...n.translations}},computed:{acceptAttr:t=>Ga(t.accept),multiple:t=>t.maxFiles>1},on:{"FILES.SET":{actions:["setFilesFromEvent"]},"FILE.DELETE":{actions:["removeFile"]},"FILES.CLEAR":{actions:["clearFiles"]}},states:{idle:{on:{OPEN:{actions:["openFilePicker"]},"DROPZONE.CLICK":{actions:["openFilePicker"]},"DROPZONE.FOCUS":"focused","DROPZONE.DRAG_OVER":[{guard:yn("isWithinRange"),target:"dragging",actions:["setInvalid"]},{target:"dragging"}]}},focused:{on:{"DROPZONE.BLUR":"idle",OPEN:{actions:["openFilePicker"]},"DROPZONE.CLICK":{actions:["openFilePicker"]},"DROPZONE.DRAG_OVER":[{guard:yn("isWithinRange"),target:"dragging",actions:["setInvalid"]},{target:"dragging"}]}},dragging:{on:{"DROPZONE.DROP":{target:"idle",actions:["clearInvalid","setFilesFromEvent"]},"DROPZONE.DRAG_LEAVE":{target:"idle",actions:["clearInvalid"]}}}}},{guards:{isWithinRange:(t,o)=>qn(t,o.count)},actions:{openFilePicker(t){z(()=>{var o;(o=X.getHiddenInputEl(t))==null||o.click()})},setInvalid(t){t.invalid=!0},clearInvalid(t){t.invalid=!1},setFilesFromEvent(t,o){const a=Xa(t,o.files),{acceptedFiles:i,rejectedFiles:r}=a;if(t.multiple){const l=ye([...t.acceptedFiles,...i]);Ze.files(t,l,r);return}if(i.length){const l=ye([i[0]]);Ze.files(t,l,r)}else r.length&&Ze.files(t,[],r)},removeFile(t,o){const a=t.acceptedFiles.filter(i=>i!==o.file);Ze.files(t,a)},clearFiles(t){Ze.files(t,[])}},compareFns:{acceptedFiles:(t,o)=>t.length===o.length&&t.every((a,i)=>Wa(a,o[i]))}})}var kt={change:e=>{var n;(n=e.onFileChange)==null||n.call(e,{acceptedFiles:e.acceptedFiles,rejectedFiles:e.rejectedFiles})},accept:e=>{var n;(n=e.onFileAccept)==null||n.call(e,{files:e.acceptedFiles})},reject:e=>{var n;(n=e.onFileReject)==null||n.call(e,{files:e.rejectedFiles})}},Ze={files:(e,n,t)=>{e.acceptedFiles=ye(n),kt.accept(e),t&&(e.rejectedFiles=ye(t),kt.reject(e)),kt.change(e)}};he()(["accept","allowDrop","capture","dir","directory","disabled","getRootNode","id","ids","locale","maxFiles","maxFileSize","minFileSize","name","onFileAccept","onFileReject","onFileChange","translations","validate"]);he()(["file"]);const Qa={"flex-1":"","px-4":"","py-6":"","space-y-6":"","bg-dark-c":"","text-sm":""},er={"text-center":""},tr={key:0,class:"bg-darker-c rounded py-1 px-2"},nr=p("div",{hstack:""},[p("div",{"flex-1":"",border:"t c"}),p("div",{"px-5":""},"OR"),p("div",{"flex-1":"",border:"t c"})],-1),or={class:"hstack w-full space-x-1.5"},ar=["value","placeholder"],rr=p("span",{"i-line-md:confirm":""},null,-1),ir=[rr],sr=B({__name:"ImportDialogContent",setup(e){const n=ce(null),[t,o]=xe(Ya({id:"import-dialog",accept:".md",onFileAccept:({files:l})=>{const s=new FileReader;s.onloadend=()=>{const c=s.result;xt(c)},s.readAsText(l[0]),n.value=l[0].name,i.value=""}})),a=Z(()=>Za(t.value,o,Me)),i=ce(""),r=()=>{i.value.trim()!==""&&Co(i.value).then(l=>{xt(l),n.value=null})};return(l,s)=>(A(),W("div",Qa,[p("div",V(I(a).rootProps,{class:"w-full space-y-2"}),[p("div",V(I(a).dropzoneProps,{class:"py-12 hover:bg-darker-c cursor-pointer",border:"~ c dashed rounded"}),[p("input",fe(me(I(a).hiddenInputProps)),null,16),p("div",er,G(l.$t("import.from_local")),1)],16),I(n)?(A(),W("div",tr,G(I(n)),1)):ot("",!0)],16),nr,p("div",or,[p("input",{class:"flex-1 h-7 px-2 rounded-sm outline-none bg-c",value:I(i),placeholder:l.$t("import.from_url"),onChange:s[0]||(s[0]=c=>i.value=c.target.value),onKeyup:zo(r,["enter"])},null,40,ar),p("button",{class:"flex-center w-8 h-7 bg-blue-500 hover:bg-blue-600 text-white rounded-sm",onClick:r},ir)])]))}});var Ye=new WeakMap,se=[];function lr(e,n={}){const{rootEl:t}=n,o=e.filter(Boolean);if(o.length===0)return;const a=o[0].ownerDocument||document,i=a.defaultView??window,r=new Set(o),l=new Set,s=t??a.body;let c=u=>{for(let E of u.querySelectorAll("[data-live-announcer], [data-zag-top-layer]"))r.add(E);let g=E=>{if(r.has(E)||l.has(E.parentElement)&&E.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let O of r)if(E.contains(O))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},m=a.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,{acceptNode:g}),v=g(u);if(v===NodeFilter.FILTER_ACCEPT&&d(u),v!==NodeFilter.FILTER_REJECT){let E=m.nextNode();for(;E!=null;)d(E),E=m.nextNode()}},d=u=>{let g=Ye.get(u)??0;u.getAttribute("aria-hidden")==="true"&&g===0||(g===0&&u.setAttribute("aria-hidden","true"),l.add(u),Ye.set(u,g+1))};se.length&&se[se.length-1].disconnect(),c(s);const h=new i.MutationObserver(u=>{for(let g of u)if(!(g.type!=="childList"||g.addedNodes.length===0)&&![...r,...l].some(m=>m.contains(g.target))){for(let m of g.removedNodes)m instanceof i.Element&&(r.delete(m),l.delete(m));for(let m of g.addedNodes)(m instanceof i.HTMLElement||m instanceof i.SVGElement)&&(m.dataset.liveAnnouncer==="true"||m.dataset.zagTopLayer==="true")?r.add(m):m instanceof i.Element&&c(m)}});h.observe(s,{childList:!0,subtree:!0});let S={observe(){h.observe(s,{childList:!0,subtree:!0})},disconnect(){h.disconnect()}};return se.push(S),()=>{h.disconnect();for(let u of l){let g=Ye.get(u);g===1?(u.removeAttribute("aria-hidden"),Ye.delete(u)):Ye.set(u,g-1)}S===se[se.length-1]?(se.pop(),se.length&&se[se.length-1].observe()):se.splice(se.indexOf(S),1)}}function Jn(e,n={}){const{defer:t}=n,o=t?z:i=>i(),a=[];return a.push(o(()=>{const i=typeof e=="function"?e():e;a.push(lr(i,n))})),()=>{a.forEach(i=>i==null?void 0:i())}}var _t="data-zag-scroll-lock";function Tn(e,n){if(!e)return;const t=e.style.cssText;return Object.assign(e.style,n),()=>{e.style.cssText=t}}function cr(e,n,t){if(!e)return;const o=e.style.getPropertyValue(n);return e.style.setProperty(n,t),()=>{o?e.style.setProperty(n,o):e.style.removeProperty(n)}}function ur(e){const n=e.getBoundingClientRect().left;return Math.round(n)+e.scrollLeft?"paddingLeft":"paddingRight"}function dr(e){const n=e??document,t=n.defaultView??window,{documentElement:o,body:a}=n;if(a.hasAttribute(_t))return;a.setAttribute(_t,"");const r=t.innerWidth-o.clientWidth,l=()=>cr(o,"--scrollbar-width",`${r}px`),s=ur(o),c=()=>Tn(a,{overflow:"hidden",[s]:`${r}px`}),d=()=>{const{scrollX:S,scrollY:u,visualViewport:g}=t,m=(g==null?void 0:g.offsetLeft)??0,v=(g==null?void 0:g.offsetTop)??0,E=Tn(a,{position:"fixed",overflow:"hidden",top:`${-(u-Math.floor(v))}px`,left:`${-(S-Math.floor(m))}px`,right:"0",[s]:`${r}px`});return()=>{E==null||E(),t.scrollTo({left:S,top:u,behavior:"instant"})}},h=[l(),Bo()?d():c()];return()=>{h.forEach(S=>S==null?void 0:S()),a.removeAttribute(_t)}}/*! +import{u as Fe,r as fo,_ as mo,a as Ie,b as bo,s as vo,c as $t,i as Io,g as hn,d as Eo,e as xt,f as Co,h as So,P as yo,T as To,j as Po,C as Oo,k as fn,E as mn,l as bn,m as Ro,n as wo}from"./7IqAQcW-.js";import{f as B,o as A,g as pe,h as I,c as W,i as ko,a as p,j as Ge,v as We,k as Ve,l as Le,q as Ae,m as _o,n as Ao,r as No,s as Fo,x as Vo,y as De,z as $e,A as z,B as Mt,C as ve,D as he,E as C,F as Hn,G as je,H as Lo,I as Et,J as Do,K as Pe,L as wt,M as $o,N as Qt,O as ce,P as xo,Q as xe,R as Z,S as Ct,T as en,U as V,d as zn,t as G,V as Me,W as Ht,X as vn,b as _,w as ae,p as Mo,e as Ho,_ as St,Y as In,Z as ye,$ as fe,a0 as me,a1 as ot,a2 as zo,a3 as Bo,a4 as zt,a5 as Bt,a6 as tn,a7 as Uo,a8 as Bn,a9 as Ue,aa as nt,ab as Go,ac as Ut,ad as Wo,ae as jo,af as dt,ag as nn,ah as Ko,ai as qo,aj as Jo,ak as Gt,al as Wt,am as gt,an as Xo,ao as Zo,ap as Yo}from"./BZDDQZjI.js";import{g as Qo,t as on,a as Un,b as jt,o as ea,c as Gn,d as ta,_ as na}from"./DDzfXkp7.js";import"./CZC2LNhJ.js";const oa=B({__name:"RenameResume",setup(e){const{data:n}=Fe(),t=o=>{n.curResumeName=o,fo(n.curResumeId,o)};return(o,a)=>{const i=mo;return A(),pe(i,{id:"edit-rename",class:"w-50 mx-2 text-sm md:text-base",default:I(n).curResumeName,"on-value-commit":t},null,8,["default"])}}}),aa=p("span",{"i-ic:baseline-save":"","md:text-lg":""},null,-1),ra=[aa],ia=B({__name:"SaveResume",setup(e){const{data:n}=Fe(),{styles:t}=Ie(),o=()=>{const a=n.curResumeId,i=new Date().getTime().toString(),r={name:n.curResumeName,markdown:n.mdContent,css:n.cssContent,styles:ko(t),update:i};vo(a,r)};return bo("ctrl+s",o),(a,i)=>(A(),W("button",{class:"round-btn",onClick:o},ra))}}),sa={"i-tabler:layout-sidebar-right-collapse":"","md:text-lg":""},la={"i-tabler:layout-sidebar-right-expand":"","md:text-lg":""},ca=B({__name:"ToggleToolbar",props:{isToolbarOpen:{type:Boolean}},emits:["toggleToolbar"],setup(e){return(n,t)=>(A(),W("button",{class:"round-btn",onClick:t[0]||(t[0]=o=>n.$emit("toggleToolbar"))},[Ge(p("span",sa,null,512),[[We,n.isToolbarOpen]]),Ge(p("span",la,null,512),[[We,!n.isToolbarOpen]])]))}});var Kt,ke=new Map,ua=e=>e.getBoundingClientRect();function da(e,n){const{scope:t="rect",getRect:o=ua,onChange:a}=n,i=ga({scope:t,getRect:o}),r=ke.get(e);return r?(r.callbacks.push(a),a(o(e))):(ke.set(e,{rect:{},callbacks:[a]}),ke.size===1&&(Kt=requestAnimationFrame(i))),function(){const s=ke.get(e);if(!s)return;const c=s.callbacks.indexOf(a);c>-1&&s.callbacks.splice(c,1),s.callbacks.length===0&&(ke.delete(e),ke.size===0&&cancelAnimationFrame(Kt))}}function ga(e){const{scope:n,getRect:t}=e,o=ha(n);return function a(){const i=[];ke.forEach((r,l)=>{const s=t(l);o(r.rect,s)||(r.rect=s,i.push(r))}),i.forEach(r=>{r.callbacks.forEach(l=>l(r.rect))}),Kt=requestAnimationFrame(a)}}var Wn=(e,n)=>e.width===n.width&&e.height===n.height,jn=(e,n)=>e.top===n.top&&e.left===n.left,pa=(e,n)=>Wn(e,n)&&jn(e,n);function ha(e){return e==="size"?Wn:e==="position"?jn:pa}var fa=Ve("tabs").parts("root","list","trigger","content","indicator"),Je=fa.build(),R=Le({getRootId:e=>{var n;return((n=e.ids)==null?void 0:n.root)??`tabs:${e.id}`},getListId:e=>{var n;return((n=e.ids)==null?void 0:n.list)??`tabs:${e.id}:list`},getContentId:(e,n)=>{var t;return((t=e.ids)==null?void 0:t.content)??`tabs:${e.id}:content-${n}`},getTriggerId:(e,n)=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`tabs:${e.id}:trigger-${n}`},getIndicatorId:e=>{var n;return((n=e.ids)==null?void 0:n.indicator)??`tabs:${e.id}:indicator`},getListEl:e=>R.getById(e,R.getListId(e)),getContentEl:(e,n)=>R.getById(e,R.getContentId(e,n)),getTriggerEl:(e,n)=>R.getById(e,R.getTriggerId(e,n)),getIndicatorEl:e=>R.getById(e,R.getIndicatorId(e)),getElements:e=>{const t=`[role=tab][data-ownedby='${CSS.escape(R.getListId(e))}']:not([disabled])`;return Ae(R.getListEl(e),t)},getFirstEl:e=>_o(R.getElements(e)),getLastEl:e=>Ao(R.getElements(e)),getNextEl:(e,n)=>No(R.getElements(e),R.getTriggerId(e,n),e.loop),getPrevEl:(e,n)=>Fo(R.getElements(e),R.getTriggerId(e,n),e.loop),getActiveContentEl:e=>{if(e.value)return R.getContentEl(e,e.value)},getActiveTabEl:e=>{if(e.value)return R.getTriggerEl(e,e.value)},getOffsetRect:e=>({left:(e==null?void 0:e.offsetLeft)??0,top:(e==null?void 0:e.offsetTop)??0,width:(e==null?void 0:e.offsetWidth)??0,height:(e==null?void 0:e.offsetHeight)??0}),getRectById:(e,n)=>{const t=Vo(R.getElements(e),R.getTriggerId(e,n));return R.resolveRect(R.getOffsetRect(t))},resolveRect:e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`})});function ma(e,n,t){var r,l,s,c;const o=e.context.translations,a=e.matches("focused");function i(d){return{isSelected:e.context.value===d.value,isFocused:e.context.focusedValue===d.value,isDisabled:!!d.disabled}}return{value:e.context.value,focusedValue:e.context.focusedValue,setValue(d){n({type:"SET_VALUE",value:d})},clearValue(){n({type:"CLEAR_VALUE"})},setIndicatorRect(d){const h=R.getTriggerId(e.context,d);n({type:"SET_INDICATOR_RECT",id:h})},getTriggerState:i,rootProps:t.element({...Je.root.attrs,id:R.getRootId(e.context),"data-orientation":e.context.orientation,"data-focus":C(a),dir:e.context.dir}),listProps:t.element({...Je.list.attrs,id:R.getListId(e.context),role:"tablist",dir:e.context.dir,"data-focus":C(a),"aria-orientation":e.context.orientation,"data-orientation":e.context.orientation,"aria-label":o.listLabel,onKeyDown(d){const h=d.nativeEvent||d;if(!Hn(h))return;const S={ArrowDown(){n("ARROW_DOWN")},ArrowUp(){n("ARROW_UP")},ArrowLeft(){n("ARROW_LEFT")},ArrowRight(){n("ARROW_RIGHT")},Home(){n("HOME")},End(){n("END")},Enter(){n({type:"ENTER",value:e.context.focusedValue})}};let u=je(d,e.context);const g=S[u];g&&(d.preventDefault(),g(d))}}),getTriggerProps(d){const{value:h,disabled:S}=d,u=i(d);return t.button({...Je.trigger.attrs,role:"tab",type:"button",disabled:S,dir:e.context.dir,"data-orientation":e.context.orientation,"data-disabled":C(S),"aria-disabled":S,"data-value":h,"aria-selected":u.isSelected,"data-selected":C(u.isSelected),"data-focus":C(u.isFocused),"aria-controls":R.getContentId(e.context,h),"data-ownedby":R.getListId(e.context),id:R.getTriggerId(e.context,h),tabIndex:u.isSelected?0:-1,onFocus(){n({type:"TAB_FOCUS",value:h})},onBlur(g){const m=g.relatedTarget;(m==null?void 0:m.getAttribute("role"))!=="tab"&&n({type:"TAB_BLUR"})},onClick(g){S||(Lo()&&g.currentTarget.focus(),n({type:"TAB_CLICK",value:h}))}})},getContentProps(d){const{value:h}=d,S=e.context.value===h;return t.element({...Je.content.attrs,dir:e.context.dir,id:R.getContentId(e.context,h),tabIndex:0,"aria-labelledby":R.getTriggerId(e.context,h),role:"tabpanel","data-ownedby":R.getListId(e.context),"data-selected":C(S),"data-orientation":e.context.orientation,hidden:!S})},indicatorProps:t.element({id:R.getIndicatorId(e.context),...Je.indicator.attrs,dir:e.context.dir,"data-orientation":e.context.orientation,style:{"--transition-property":"left, right, top, bottom, width, height","--left":(r=e.context.indicatorRect)==null?void 0:r.left,"--top":(l=e.context.indicatorRect)==null?void 0:l.top,"--width":(s=e.context.indicatorRect)==null?void 0:s.width,"--height":(c=e.context.indicatorRect)==null?void 0:c.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:e.context.canIndicatorTransition?"var(--transition-duration, 150ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[e.context.orientation==="horizontal"?"left":"top"]:e.context.orientation==="horizontal"?"var(--left)":"var(--top)"}})}}var{not:ba}=Et;function va(e){const n=De(e);return $e({initial:"idle",context:{dir:"ltr",orientation:"horizontal",activationMode:"automatic",value:null,focusedValue:null,indicatorRect:{left:"0px",top:"0px",width:"0px",height:"0px"},canIndicatorTransition:!1,isIndicatorRendered:!1,loop:!0,translations:{},...n},computed:{isHorizontal:t=>t.orientation==="horizontal",isVertical:t=>t.orientation==="vertical"},entry:["checkRenderedElements","syncIndicatorRect","setContentTabIndex"],exit:["cleanupObserver"],watch:{value:["enableIndicatorTransition","syncIndicatorRect","setContentTabIndex"],dir:["syncIndicatorRect"],orientation:["syncIndicatorRect"]},on:{SET_VALUE:{actions:"setValue"},CLEAR_VALUE:{actions:"clearValue"},SET_INDICATOR_RECT:{actions:"setIndicatorRect"}},states:{idle:{on:{TAB_FOCUS:[{guard:"selectOnFocus",target:"focused",actions:["setFocusedValue","setValue"]},{target:"focused",actions:"setFocusedValue"}],TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]}}},focused:{on:{TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]},ARROW_LEFT:{guard:"isHorizontal",actions:"focusPrevTab"},ARROW_RIGHT:{guard:"isHorizontal",actions:"focusNextTab"},ARROW_UP:{guard:"isVertical",actions:"focusPrevTab"},ARROW_DOWN:{guard:"isVertical",actions:"focusNextTab"},HOME:{actions:"focusFirstTab"},END:{actions:"focusLastTab"},ENTER:{guard:ba("selectOnFocus"),actions:"setValue"},TAB_FOCUS:[{guard:"selectOnFocus",actions:["setFocusedValue","setValue"]},{actions:"setFocusedValue"}],TAB_BLUR:{target:"idle",actions:"clearFocusedValue"}}}}},{guards:{isVertical:t=>t.isVertical,isHorizontal:t=>t.isHorizontal,selectOnFocus:t=>t.activationMode==="automatic"},actions:{setFocusedValue(t,o){at.focusedValue(t,o.value)},clearFocusedValue(t){at.focusedValue(t,null)},setValue(t,o){at.value(t,o.value)},clearValue(t){at.value(t,null)},focusFirstTab(t){z(()=>{var o;return(o=R.getFirstEl(t))==null?void 0:o.focus()})},focusLastTab(t){z(()=>{var o;return(o=R.getLastEl(t))==null?void 0:o.focus()})},focusNextTab(t){if(!t.focusedValue)return;const o=R.getNextEl(t,t.focusedValue);z(()=>o==null?void 0:o.focus())},focusPrevTab(t){if(!t.focusedValue)return;const o=R.getPrevEl(t,t.focusedValue);z(()=>o==null?void 0:o.focus())},checkRenderedElements(t){t.isIndicatorRendered=!!R.getIndicatorEl(t)},setContentTabIndex(t){z(()=>{const o=R.getActiveContentEl(t);if(!o)return;Qo(o).length>0?o.removeAttribute("tabindex"):o.setAttribute("tabindex","0")})},cleanupObserver(t){var o;(o=t.indicatorCleanup)==null||o.call(t)},enableIndicatorTransition(t){t.canIndicatorTransition=!0},setIndicatorRect(t,o){const a=o.id??t.value;!t.isIndicatorRendered||!a||!R.getTriggerEl(t,a)||(t.indicatorRect=R.getRectById(t,a),Mt(()=>{t.canIndicatorTransition=!1}))},syncIndicatorRect(t){var i;(i=t.indicatorCleanup)==null||i.call(t);const o=t.value;if(!t.isIndicatorRendered||!o)return;const a=R.getActiveTabEl(t);a&&(t.indicatorCleanup=da(a,{getRect(r){return R.getOffsetRect(r)},onChange(r){t.indicatorRect=R.resolveRect(r),Mt(()=>{t.canIndicatorTransition=!1})}}))}}})}var En={change:e=>{var n;e.value!=null&&((n=e.onValueChange)==null||n.call(e,{value:e.value}))},focusChange:e=>{var n;e.focusedValue!=null&&((n=e.onFocusChange)==null||n.call(e,{focusedValue:e.focusedValue}))}},at={value:(e,n)=>{ve(n,e.value)||(e.value=n,En.change(e))},focusedValue:(e,n)=>{ve(n,e.focusedValue)||(e.focusedValue=n,En.focusChange(e))}};he()(["activationMode","dir","getRootNode","id","ids","loop","onFocusChange","onValueChange","orientation","translations","value"]);he()(["disabled","value"]);he()(["value"]);const Ia=async()=>{if(window.monaco)return{monaco:window.monaco};const e=await wt(()=>import("./CKCBchtN.js").then(n=>n.e),__vite__mapDeps([0,1,2,3]),import.meta.url);return window.monaco=e,await(async()=>{const[{default:n},{default:t}]=await Promise.all([wt(()=>import("./CaUdfbQS.js"),[],import.meta.url),wt(()=>import("./C__SbcrF.js"),[],import.meta.url)]);window.MonacoEnvironment={getWorker(o,a){switch(a){case"editorWorkerService":return new n;case"css":return new t;default:throw new Error(`Unknown label ${a}`)}}}})(),$o()&&await new Promise(n=>Qt(n)),{monaco:e}},Cn=(e,n,t,o,a)=>{const i=[],r=e.editor.createModel(o,t);return i.push(r),i.push(r.onDidChangeContent(a)),{getModel:()=>r,activate:()=>{n.setModel(r)},dispose:()=>{i.forEach(l=>l.dispose())}}},Ea=async e=>{const n=[],{data:t,setData:o}=Fe(),{monaco:a}=await Ia(),i=a.editor.create(e,{wordWrap:"on",fontSize:13,fontFamily:'Menlo, Monaco, "Courier New", monospace',lineHeight:1.5,automaticLayout:!0});n.push(i),a.editor.defineTheme("vs-dark-dimmed",{base:"vs-dark",inherit:!0,rules:[],colors:{"editor.background":"#334155","editor.lineHighlightBorder":"#4b5563","dropdown.background":"#4b5563","menu.separatorBackground":"#6b7280"}});const r=Do();a.editor.setTheme(r.preference==="dark"?"vs-dark-dimmed":"vs"),Pe(()=>r.preference,c=>{a.editor.setTheme(c==="dark"?"vs-dark-dimmed":"vs")});const l=Cn(a,i,"markdown",t.mdContent,$t(()=>{o("mdContent",l.getModel().getValue())},200));n.push(l);const s=Cn(a,i,"css",t.cssContent,$t(()=>{o("cssContent",s.getModel().getValue())},200));return n.push(s),{editor:i,models:{markdown:l,css:s},dispose:()=>{n.forEach(c=>c.dispose())}}},Ca={class:"absolute w-full h-0.4 bg-blue-500 dark:bg-blue-400 left-0 bottom-0 rounded"},Sa=B({__name:"Editor",setup(e){const n=ce();let t;Qt(async()=>{Io&&n.value&&!t&&(t=await Ea(n.value),r("markdown"))}),xo(()=>t==null?void 0:t.dispose());const{data:o,toggleMdFlag:a,toggleCssFlag:i}=Fe();Pe(()=>o.mdFlag,()=>{o.mdFlag&&(t==null||t.models.markdown.getModel().setValue(o.mdContent),a(!1))}),Pe(()=>o.cssFlag,()=>{o.cssFlag&&(t==null||t.models.css.getModel().setValue(o.cssContent),i(!1))});const r=h=>{t==null||t.models[h].activate()},l=[{value:"markdown",label:"Markdown"},{value:"css",label:"CSS"}],[s,c]=xe(va({id:"editor",value:"markdown",onValueChange:h=>{r(h.value)}})),d=Z(()=>ma(s.value,c,Me));return(h,S)=>(A(),W("div",V({class:"pane-container"},I(d).rootProps),[p("div",V(I(d).listProps,{class:"hstack h-9 text-sm md:h-10 md:text-base w-full text-c bg-c border-b border-c px-4 space-x-2"}),[(A(),W(Ct,null,en(l,u=>p("button",V(I(d).getTriggerProps({value:u.value}),{key:u.value,class:"relative leading-9 md:leading-10 px-2"}),[zn(G(u.label)+" ",1),Ge(p("span",Ca,null,512),[[We,I(d).value==u.value]])],16)),64))],16),p("div",{ref_key:"editorRef",ref:n,"h-full":""},null,512)],16))}});var ya=B({name:"Zoom",props:{scale:{type:Number,required:!0}},setup(e,{slots:n}){const t=ce(),o=ce(),a=Ht(t),i=Ht(o),r=Z(()=>Math.max(0,(a.width.value-e.scale*i.width.value)/2));return()=>vn("div",{class:"vue-zoom-container",ref:t,style:{height:"100%"}},[vn("div",{class:"vue-zoom",ref:o,style:{width:"fit-content",transformOrigin:"top left",transform:`scale(${e.scale})`,marginLeft:`${r.value}px`}},[n.default()])])}});const yt=e=>(Mo("data-v-7ebff9d5"),e=e(),Ho(),e),Ta={class:"pane-container"},Pa={class:"zoom-bar hstack fixed bottom-4 lg:bottom-auto lg:top-15 ml-2 shadow-c rounded-full overflow-hidden text-white bg-blue-500 lg:opacity-0 hover:opacity-100"},Oa=yt(()=>p("span",{"i-lucide:zoom-in":""},null,-1)),Ra=[Oa],wa=yt(()=>p("span",{"i-lucide:zoom-out":""},null,-1)),ka=[wa],_a=yt(()=>p("span",{"i-fluent:arrow-autofit-width-20-filled":""},null,-1)),Aa=[_a],Na=yt(()=>p("span",{"i-fluent:arrow-autofit-height-20-filled":""},null,-1)),Fa=[Na],Va=B({__name:"Preview",setup(e){const n=ce(1),t=ce(),{width:o,height:a}=Ht(t),{styles:i}=Ie(),{data:r}=Fe(),l=()=>{n.value=o.value/hn(i.paper,"w")},s=()=>{n.value=a.value/hn(i.paper,"h")};return Pe(o,()=>$t(l,100)()),(c,d)=>{const h=Eo;return A(),W("div",Ta,[_(I(ya),{ref_key:"zoom",ref:t,scale:I(n)},{default:ae(()=>[_(h,{id:"preview",markdown:I(r).mdContent,css:I(r).cssContent,styles:I(i)},null,8,["markdown","css","styles"])]),_:1},8,["scale"]),p("div",Pa,[p("button",{onClick:d[0]||(d[0]=S=>n.value*=1.1)},Ra),p("button",{onClick:d[1]||(d[1]=S=>n.value/=1.1)},ka),p("button",{onClick:l},Aa),p("button",{onClick:s},Fa)])])}}}),La=St(Va,[["__scopeId","data-v-7ebff9d5"]]);function Da(e){const n=new Map;return function(o,a){const i=o+(a?Object.entries(a).sort((l,s)=>l[0]{if(isNaN(e))return"";if(e===0)return"0 B";const{unit:o="byte",unitDisplay:a="short"}=t,i=o==="bit"?Ma:Ha,r=Math.max(0,Math.min(Math.floor(Math.log10(e)/3),i.length-1)),l=i[r]+o,s=a||"short",c=parseFloat((e/Math.pow(1e3,r)).toPrecision(3));return xa(c,n,{style:"unit",unit:l,unitDisplay:s})},Kn={border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"};function Ba(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function Ua(e){return/^.*\.[\w]+$/.test(e)}function Ga(e){if(e)return typeof e=="string"?e:Object.entries(e).reduce((n,[t,o])=>[...n,t,...o],[]).filter(n=>Ba(n)||Ua(n)).join(",")}var Wa=(e,n)=>e.name===n.name&&e.size===n.size&&e.type===n.type,Xe=e=>e!=null;function ja(e,n,t){if(Xe(e.size))if(Xe(n)&&Xe(t)){if(e.size>t)return[!1,"FILE_TOO_LARGE"];if(e.sizet)return[!1,"FILE_TOO_LARGE"]}return[!0,null]}function Ka(e,n){if(e&&n){const t=Array.isArray(n)?n:n.split(","),o=e.name||"",a=(e.type||"").toLowerCase(),i=a.replace(/\/.*$/,"");return t.some(r=>{const l=r.trim().toLowerCase();return l.charAt(0)==="."?o.toLowerCase().endsWith(l):l.endsWith("/*")?i===l.replace(/\/.*$/,""):a===l})}return!0}function qa(e,n){const t=e.type==="application/x-moz-file"||Ka(e,n);return[t,t?null:"FILE_INVALID_TYPE"]}var Ja=Ve("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger"),ge=Ja.build(),X=Le({getRootId:e=>{var n;return((n=e.ids)==null?void 0:n.root)??`file:${e.id}`},getDropzoneId:e=>{var n;return((n=e.ids)==null?void 0:n.dropzone)??`file:${e.id}:dropzone`},getHiddenInputId:e=>{var n;return((n=e.ids)==null?void 0:n.hiddenInput)??`file:${e.id}:input`},getTriggerId:e=>{var n;return((n=e.ids)==null?void 0:n.trigger)??`file:${e.id}:trigger`},getLabelId:e=>{var n;return((n=e.ids)==null?void 0:n.label)??`file:${e.id}:label`},getItemId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.item)==null?void 0:o.call(t,n))??`file:${e.id}:item:${n}`},getItemNameId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.itemName)==null?void 0:o.call(t,n))??`file:${e.id}:item-name:${n}`},getItemSizeTextId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.itemSizeText)==null?void 0:o.call(t,n))??`file:${e.id}:item-size:${n}`},getItemPreviewId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.itemPreview)==null?void 0:o.call(t,n))??`file:${e.id}:item-preview:${n}`},getHiddenInputEl:e=>X.getById(e,X.getHiddenInputId(e)),getDropzoneEl:e=>X.getById(e,X.getDropzoneId(e))});function Sn(e){return e.dataTransfer?e.dataTransfer.types.some(n=>n==="Files"||n==="application/x-moz-file"):!!e.target&&"files"in e.target}function qn(e,n){return!e.multiple&&n>1?!1:!e.multiple&&n+e.acceptedFiles.length===2?!0:!(n+e.acceptedFiles.length>e.maxFiles)}function Xa(e,n){const t=[],o=[];return n.forEach(a=>{var h;const[i,r]=qa(a,e.acceptAttr),[l,s]=ja(a,e.minFileSize,e.maxFileSize),c=(h=e.validate)==null?void 0:h.call(e,a),d=c?c.length===0:!0;if(i&&l&&d)t.push(a);else{const S=[r,s];d||S.push(...c??[]),o.push({file:a,errors:S.filter(Boolean)})}}),qn(e,t.length)||(t.forEach(a=>{o.push({file:a,errors:["TOO_MANY_FILES"]})}),t.splice(0)),{acceptedFiles:t,rejectedFiles:o}}function Za(e,n,t){const o=e.context.disabled,a=e.context.allowDrop,i=e.context.translations,r=e.matches("dragging"),l=e.matches("focused")&&!o;return{isDragging:r,isFocused:l,open(){n("OPEN")},deleteFile(s){n({type:"FILE.DELETE",file:s})},acceptedFiles:e.context.acceptedFiles,rejectedFiles:e.context.rejectedFiles,setFiles(s){const c=s.length;n({type:"FILES.SET",files:s,count:c})},clearFiles(){n({type:"FILES.CLEAR"})},getFileSize(s){return za(s.size,e.context.locale)},createFileUrl(s,c){const d=X.getWin(e.context),h=d.URL.createObjectURL(s);return c(h),()=>d.URL.revokeObjectURL(h)},rootProps:t.element({...ge.root.attrs,dir:e.context.dir,id:X.getRootId(e.context),"data-disabled":C(o),"data-dragging":C(r)}),dropzoneProps:t.element({...ge.dropzone.attrs,dir:e.context.dir,id:X.getDropzoneId(e.context),tabIndex:o?void 0:0,"aria-disabled":o,"aria-invalid":e.context.invalid,"data-invalid":C(e.context.invalid),"data-disabled":C(o),"data-dragging":C(r),onKeyDown(s){const c=s.nativeEvent||s;Hn(c)&&(s.key!=="Enter"&&s.key!==" "||n({type:"DROPZONE.CLICK",src:"keydown"}))},onClick(s){s.currentTarget.localName==="label"&&s.preventDefault(),n("DROPZONE.CLICK")},onDragOver(s){if(!a)return;s.preventDefault(),s.stopPropagation();try{s.dataTransfer.dropEffect="copy"}catch{}if(!Sn(s))return;const d=s.dataTransfer.items.length;n({type:"DROPZONE.DRAG_OVER",count:d})},onDragLeave(s){!a||o||In(s.currentTarget,s.relatedTarget)||n({type:"DROPZONE.DRAG_LEAVE"})},onDrop(s){a&&(s.preventDefault(),s.stopPropagation());const c=Sn(s);o||!c||n({type:"DROPZONE.DROP",files:Array.from(s.dataTransfer.files)})},onFocus(){n("DROPZONE.FOCUS")},onBlur(){n("DROPZONE.BLUR")}}),triggerProps:t.button({...ge.trigger.attrs,dir:e.context.dir,id:X.getTriggerId(e.context),disabled:o,"data-disabled":C(o),type:"button",onClick(s){o||(In(X.getDropzoneEl(e.context),s.currentTarget)&&s.stopPropagation(),n("OPEN"))}}),hiddenInputProps:t.input({id:X.getHiddenInputId(e.context),tabIndex:-1,disabled:o,type:"file",capture:e.context.capture,name:e.context.name,accept:e.context.acceptAttr,webkitdirectory:e.context.capture?"":void 0,multiple:e.context.multiple||e.context.maxFiles>1,onClick(s){s.stopPropagation(),s.currentTarget.value=""},onChange(s){if(o)return;const{files:c}=s.currentTarget;n({type:"FILES.SET",files:c?Array.from(c):[]})},style:Kn}),itemGroupProps:t.element({...ge.itemGroup.attrs,dir:e.context.dir,"data-disabled":C(o)}),getItemProps(s){const{file:c}=s;return t.element({...ge.item.attrs,dir:e.context.dir,id:X.getItemId(e.context,c.name),"data-disabled":C(o)})},getItemNameProps(s){const{file:c}=s;return t.element({...ge.itemName.attrs,dir:e.context.dir,id:X.getItemNameId(e.context,c.name),"data-disabled":C(o)})},getItemSizeTextProps(s){const{file:c}=s;return t.element({...ge.itemSizeText.attrs,dir:e.context.dir,id:X.getItemSizeTextId(e.context,c.name),"data-disabled":C(o)})},getItemPreviewProps(s){const{file:c}=s;return t.element({...ge.itemPreview.attrs,dir:e.context.dir,id:X.getItemPreviewId(e.context,c.name),"data-disabled":C(o)})},getItemPreviewImageProps(s){const{file:c,url:d}=s;if(!c.type.startsWith("image/"))throw new Error("Preview Image is only supported for image files");return t.img({...ge.itemPreviewImage.attrs,alt:i.itemPreview(c),src:d,"data-disabled":C(o)})},getItemDeleteTriggerProps(s){const{file:c}=s;return t.button({...ge.itemDeleteTrigger.attrs,dir:e.context.dir,type:"button",disabled:o,"data-disabled":C(o),"aria-label":i.deleteFile(c),onClick(){o||n({type:"FILE.DELETE",file:c})}})},labelProps:t.label({...ge.label.attrs,dir:e.context.dir,id:X.getLabelId(e.context),htmlFor:X.getHiddenInputId(e.context),"data-disabled":C(o)})}}var{not:yn}=Et;function Ya(e){const n=De(e);return $e({id:"fileupload",initial:"idle",context:{minFileSize:0,maxFileSize:1/0,maxFiles:1,allowDrop:!0,...n,acceptedFiles:ye([]),rejectedFiles:ye([]),invalid:!1,translations:{itemPreview:t=>`preview of ${t.name}`,deleteFile:t=>`delete file ${t.name}`,...n.translations}},computed:{acceptAttr:t=>Ga(t.accept),multiple:t=>t.maxFiles>1},on:{"FILES.SET":{actions:["setFilesFromEvent"]},"FILE.DELETE":{actions:["removeFile"]},"FILES.CLEAR":{actions:["clearFiles"]}},states:{idle:{on:{OPEN:{actions:["openFilePicker"]},"DROPZONE.CLICK":{actions:["openFilePicker"]},"DROPZONE.FOCUS":"focused","DROPZONE.DRAG_OVER":[{guard:yn("isWithinRange"),target:"dragging",actions:["setInvalid"]},{target:"dragging"}]}},focused:{on:{"DROPZONE.BLUR":"idle",OPEN:{actions:["openFilePicker"]},"DROPZONE.CLICK":{actions:["openFilePicker"]},"DROPZONE.DRAG_OVER":[{guard:yn("isWithinRange"),target:"dragging",actions:["setInvalid"]},{target:"dragging"}]}},dragging:{on:{"DROPZONE.DROP":{target:"idle",actions:["clearInvalid","setFilesFromEvent"]},"DROPZONE.DRAG_LEAVE":{target:"idle",actions:["clearInvalid"]}}}}},{guards:{isWithinRange:(t,o)=>qn(t,o.count)},actions:{openFilePicker(t){z(()=>{var o;(o=X.getHiddenInputEl(t))==null||o.click()})},setInvalid(t){t.invalid=!0},clearInvalid(t){t.invalid=!1},setFilesFromEvent(t,o){const a=Xa(t,o.files),{acceptedFiles:i,rejectedFiles:r}=a;if(t.multiple){const l=ye([...t.acceptedFiles,...i]);Ze.files(t,l,r);return}if(i.length){const l=ye([i[0]]);Ze.files(t,l,r)}else r.length&&Ze.files(t,[],r)},removeFile(t,o){const a=t.acceptedFiles.filter(i=>i!==o.file);Ze.files(t,a)},clearFiles(t){Ze.files(t,[])}},compareFns:{acceptedFiles:(t,o)=>t.length===o.length&&t.every((a,i)=>Wa(a,o[i]))}})}var kt={change:e=>{var n;(n=e.onFileChange)==null||n.call(e,{acceptedFiles:e.acceptedFiles,rejectedFiles:e.rejectedFiles})},accept:e=>{var n;(n=e.onFileAccept)==null||n.call(e,{files:e.acceptedFiles})},reject:e=>{var n;(n=e.onFileReject)==null||n.call(e,{files:e.rejectedFiles})}},Ze={files:(e,n,t)=>{e.acceptedFiles=ye(n),kt.accept(e),t&&(e.rejectedFiles=ye(t),kt.reject(e)),kt.change(e)}};he()(["accept","allowDrop","capture","dir","directory","disabled","getRootNode","id","ids","locale","maxFiles","maxFileSize","minFileSize","name","onFileAccept","onFileReject","onFileChange","translations","validate"]);he()(["file"]);const Qa={"flex-1":"","px-4":"","py-6":"","space-y-6":"","bg-dark-c":"","text-sm":""},er={"text-center":""},tr={key:0,class:"bg-darker-c rounded py-1 px-2"},nr=p("div",{hstack:""},[p("div",{"flex-1":"",border:"t c"}),p("div",{"px-5":""},"OR"),p("div",{"flex-1":"",border:"t c"})],-1),or={class:"hstack w-full space-x-1.5"},ar=["value","placeholder"],rr=p("span",{"i-line-md:confirm":""},null,-1),ir=[rr],sr=B({__name:"ImportDialogContent",setup(e){const n=ce(null),[t,o]=xe(Ya({id:"import-dialog",accept:".md",onFileAccept:({files:l})=>{const s=new FileReader;s.onloadend=()=>{const c=s.result;xt(c)},s.readAsText(l[0]),n.value=l[0].name,i.value=""}})),a=Z(()=>Za(t.value,o,Me)),i=ce(""),r=()=>{i.value.trim()!==""&&Co(i.value).then(l=>{xt(l),n.value=null})};return(l,s)=>(A(),W("div",Qa,[p("div",V(I(a).rootProps,{class:"w-full space-y-2"}),[p("div",V(I(a).dropzoneProps,{class:"py-12 hover:bg-darker-c cursor-pointer",border:"~ c dashed rounded"}),[p("input",fe(me(I(a).hiddenInputProps)),null,16),p("div",er,G(l.$t("import.from_local")),1)],16),I(n)?(A(),W("div",tr,G(I(n)),1)):ot("",!0)],16),nr,p("div",or,[p("input",{class:"flex-1 h-7 px-2 rounded-sm outline-none bg-c",value:I(i),placeholder:l.$t("import.from_url"),onChange:s[0]||(s[0]=c=>i.value=c.target.value),onKeyup:zo(r,["enter"])},null,40,ar),p("button",{class:"flex-center w-8 h-7 bg-blue-500 hover:bg-blue-600 text-white rounded-sm",onClick:r},ir)])]))}});var Ye=new WeakMap,se=[];function lr(e,n={}){const{rootEl:t}=n,o=e.filter(Boolean);if(o.length===0)return;const a=o[0].ownerDocument||document,i=a.defaultView??window,r=new Set(o),l=new Set,s=t??a.body;let c=u=>{for(let E of u.querySelectorAll("[data-live-announcer], [data-zag-top-layer]"))r.add(E);let g=E=>{if(r.has(E)||l.has(E.parentElement)&&E.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let O of r)if(E.contains(O))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},m=a.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,{acceptNode:g}),v=g(u);if(v===NodeFilter.FILTER_ACCEPT&&d(u),v!==NodeFilter.FILTER_REJECT){let E=m.nextNode();for(;E!=null;)d(E),E=m.nextNode()}},d=u=>{let g=Ye.get(u)??0;u.getAttribute("aria-hidden")==="true"&&g===0||(g===0&&u.setAttribute("aria-hidden","true"),l.add(u),Ye.set(u,g+1))};se.length&&se[se.length-1].disconnect(),c(s);const h=new i.MutationObserver(u=>{for(let g of u)if(!(g.type!=="childList"||g.addedNodes.length===0)&&![...r,...l].some(m=>m.contains(g.target))){for(let m of g.removedNodes)m instanceof i.Element&&(r.delete(m),l.delete(m));for(let m of g.addedNodes)(m instanceof i.HTMLElement||m instanceof i.SVGElement)&&(m.dataset.liveAnnouncer==="true"||m.dataset.zagTopLayer==="true")?r.add(m):m instanceof i.Element&&c(m)}});h.observe(s,{childList:!0,subtree:!0});let S={observe(){h.observe(s,{childList:!0,subtree:!0})},disconnect(){h.disconnect()}};return se.push(S),()=>{h.disconnect();for(let u of l){let g=Ye.get(u);g===1?(u.removeAttribute("aria-hidden"),Ye.delete(u)):Ye.set(u,g-1)}S===se[se.length-1]?(se.pop(),se.length&&se[se.length-1].observe()):se.splice(se.indexOf(S),1)}}function Jn(e,n={}){const{defer:t}=n,o=t?z:i=>i(),a=[];return a.push(o(()=>{const i=typeof e=="function"?e():e;a.push(lr(i,n))})),()=>{a.forEach(i=>i==null?void 0:i())}}var _t="data-zag-scroll-lock";function Tn(e,n){if(!e)return;const t=e.style.cssText;return Object.assign(e.style,n),()=>{e.style.cssText=t}}function cr(e,n,t){if(!e)return;const o=e.style.getPropertyValue(n);return e.style.setProperty(n,t),()=>{o?e.style.setProperty(n,o):e.style.removeProperty(n)}}function ur(e){const n=e.getBoundingClientRect().left;return Math.round(n)+e.scrollLeft?"paddingLeft":"paddingRight"}function dr(e){const n=e??document,t=n.defaultView??window,{documentElement:o,body:a}=n;if(a.hasAttribute(_t))return;a.setAttribute(_t,"");const r=t.innerWidth-o.clientWidth,l=()=>cr(o,"--scrollbar-width",`${r}px`),s=ur(o),c=()=>Tn(a,{overflow:"hidden",[s]:`${r}px`}),d=()=>{const{scrollX:S,scrollY:u,visualViewport:g}=t,m=(g==null?void 0:g.offsetLeft)??0,v=(g==null?void 0:g.offsetTop)??0,E=Tn(a,{position:"fixed",overflow:"hidden",top:`${-(u-Math.floor(v))}px`,left:`${-(S-Math.floor(m))}px`,right:"0",[s]:`${r}px`});return()=>{E==null||E(),t.scrollTo({left:S,top:u,behavior:"instant"})}},h=[l(),Bo()?d():c()];return()=>{h.forEach(S=>S==null?void 0:S()),a.removeAttribute(_t)}}/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var Xn=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],pt=Xn.join(","),Zn=typeof Element>"u",Ne=Zn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ht=!Zn&&Element.prototype.getRootNode?function(e){var n;return e==null||(n=e.getRootNode)===null||n===void 0?void 0:n.call(e)}:function(e){return e==null?void 0:e.ownerDocument},ft=function e(n,t){var o;t===void 0&&(t=!0);var a=n==null||(o=n.getAttribute)===null||o===void 0?void 0:o.call(n,"inert"),i=a===""||a==="true",r=i||t&&n&&e(n.parentNode);return r},gr=function(n){var t,o=n==null||(t=n.getAttribute)===null||t===void 0?void 0:t.call(n,"contenteditable");return o===""||o==="true"},Yn=function(n,t,o){if(ft(n))return[];var a=Array.prototype.slice.apply(n.querySelectorAll(pt));return t&&Ne.call(n,pt)&&a.unshift(n),a=a.filter(o),a},Qn=function e(n,t,o){for(var a=[],i=Array.from(n);i.length;){var r=i.shift();if(!ft(r,!1))if(r.tagName==="SLOT"){var l=r.assignedElements(),s=l.length?l:r.children,c=e(s,!0,o);o.flatten?a.push.apply(a,c):a.push({scopeParent:r,candidates:c})}else{var d=Ne.call(r,pt);d&&o.filter(r)&&(t||!n.includes(r))&&a.push(r);var h=r.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(r),S=!ft(h,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(r));if(h&&S){var u=e(h===!0?r.children:h.children,!0,o);o.flatten?a.push.apply(a,u):a.push({scopeParent:r,candidates:u})}else i.unshift.apply(i,r.children)}}return a},eo=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},_e=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||gr(n))&&!eo(n)?0:n.tabIndex},pr=function(n,t){var o=_e(n);return o<0&&t&&!eo(n)?0:o},hr=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},to=function(n){return n.tagName==="INPUT"},fr=function(n){return to(n)&&n.type==="hidden"},mr=function(n){var t=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(o){return o.tagName==="SUMMARY"});return t},br=function(n,t){for(var o=0;osummary:first-of-type"),r=i?n.parentElement:n;if(Ne.call(r,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof a=="function"){for(var l=n;n;){var s=n.parentElement,c=ht(n);if(s&&!s.shadowRoot&&a(s)===!0)return Pn(n);n.assignedSlot?n=n.assignedSlot:!s&&c!==n.ownerDocument?n=c.host:n=s}n=l}if(Cr(n))return!n.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return Pn(n);return!1},yr=function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var o=0;o=0)},Pr=function e(n){var t=[],o=[];return n.forEach(function(a,i){var r=!!a.scopeParent,l=r?a.scopeParent:a,s=pr(l,r),c=r?e(a.candidates):l;s===0?r?t.push.apply(t,c):t.push(l):o.push({documentOrder:i,tabIndex:s,item:a,isScope:r,content:c})}),o.sort(hr).reduce(function(a,i){return i.isScope?a.push.apply(a,i.content):a.push(i.content),a},[]).concat(t)},Or=function(n,t){t=t||{};var o;return t.getShadowRoot?o=Qn([n],t.includeContainer,{filter:qt.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Tr}):o=Yn(n,t.includeContainer,qt.bind(null,t)),Pr(o)},Rr=function(n,t){t=t||{};var o;return t.getShadowRoot?o=Qn([n],t.includeContainer,{filter:mt.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):o=Yn(n,t.includeContainer,mt.bind(null,t)),o},He=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return Ne.call(n,pt)===!1?!1:qt(t,n)},wr=Xn.concat("iframe").join(","),At=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return Ne.call(n,wr)===!1?!1:mt(t,n)};/*! diff --git a/assets/LLeh9DNx.js b/assets/BZDDQZjI.js similarity index 99% rename from assets/LLeh9DNx.js rename to assets/BZDDQZjI.js index f03fa14..c8810a4 100644 --- a/assets/LLeh9DNx.js +++ b/assets/BZDDQZjI.js @@ -1,6 +1,6 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./D8DLp2_e.js","./WlsRhCXb.js","./ZVcvh5EZ.js","./CrJvmnpK.js","./_id_.B2wLhRfn.css","./SKc03cSZ.js","./YsTV42Hn.js","./resumes.CxMfCn6q.css","./C8vgH9R5.js","./error-404.DtbKAVpD.css","./CST1zEBA.js","./error-500.7_wNPYQ_.css"] + __vite__mapDeps.viteFileDeps = ["./BEziaSf_.js","./7IqAQcW-.js","./DDzfXkp7.js","./CZC2LNhJ.js","./_id_.B2wLhRfn.css","./GSEnbQqK.js","./DnHnA51o.js","./resumes.CxMfCn6q.css","./D6-kzAJD.js","./error-404.DtbKAVpD.css","./l8kzQN05.js","./error-500.7_wNPYQ_.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } @@ -22,11 +22,11 @@ function __vite__mapDeps(indexes) { * @license MIT **/const jm="http://www.w3.org/2000/svg",Hm="http://www.w3.org/1998/Math/MathML",an=typeof document<"u"?document:null,kc=an&&an.createElement("template"),Bm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?an.createElementNS(jm,e):t==="mathml"?an.createElementNS(Hm,e):an.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>an.createTextNode(e),createComment:e=>an.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>an.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{kc.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=kc.content;if(r==="svg"||r==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Jt="transition",pr="animation",Br=Symbol("_vtc"),La=(e,{slots:t})=>Et(Zp,Vm(e),t);La.displayName="Transition";const Yf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};La.props=Me({},Ef,Yf);const yn=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ac=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function Vm(e){const t={};for(const x in e)x in Yf||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:l=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,y=Wm(s),E=y&&y[0],T=y&&y[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:_,onLeave:g,onLeaveCancelled:w,onBeforeAppear:C=b,onAppear:P=v,onAppearCancelled:k=_}=t,L=(x,q,ie)=>{_n(x,q?u:a),_n(x,q?l:i),ie&&ie()},I=(x,q)=>{x._isLeaving=!1,_n(x,f),_n(x,p),_n(x,d),q&&q()},F=x=>(q,ie)=>{const oe=x?P:v,H=()=>L(q,x,ie);yn(oe,[q,H]),Oc(()=>{_n(q,x?c:o),Qt(q,x?u:a),Ac(oe)||Ic(q,r,E,H)})};return Me(t,{onBeforeEnter(x){yn(b,[x]),Qt(x,o),Qt(x,i)},onBeforeAppear(x){yn(C,[x]),Qt(x,c),Qt(x,l)},onEnter:F(!1),onAppear:F(!0),onLeave(x,q){x._isLeaving=!0;const ie=()=>I(x,q);Qt(x,f),qm(),Qt(x,d),Oc(()=>{x._isLeaving&&(_n(x,f),Qt(x,p),Ac(g)||Ic(x,r,T,ie))}),yn(g,[x,ie])},onEnterCancelled(x){L(x,!1),yn(_,[x])},onAppearCancelled(x){L(x,!0),yn(k,[x])},onLeaveCancelled(x){I(x),yn(w,[x])}})}function Wm(e){if(e==null)return null;if(ve(e))return[Xo(e.enter),Xo(e.leave)];{const t=Xo(e);return[t,t]}}function Xo(e){return Uu(e)}function Qt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Br]||(e[Br]=new Set)).add(t)}function _n(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Br];n&&(n.delete(t),n.size||(e[Br]=void 0))}function Oc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Km=0;function Ic(e,t,n,r){const s=e._endId=++Km,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:c}=Gm(e,t);if(!i)return r();const l=i+"end";let u=0;const f=()=>{e.removeEventListener(l,d),o()},d=p=>{p.target===e&&++u>=c&&f()};setTimeout(()=>{u(n[y]||"").split(", "),s=r(`${Jt}Delay`),o=r(`${Jt}Duration`),i=Nc(s,o),a=r(`${pr}Delay`),c=r(`${pr}Duration`),l=Nc(a,c);let u=null,f=0,d=0;t===Jt?i>0&&(u=Jt,f=i,d=o.length):t===pr?l>0&&(u=pr,f=l,d=c.length):(f=Math.max(i,l),u=f>0?i>l?Jt:pr:null,d=u?u===Jt?o.length:c.length:0);const p=u===Jt&&/\b(transform|all)(,|$)/.test(r(`${Jt}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Nc(e,t){for(;e.lengthxc(n)+xc(e[r])))}function xc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function qm(){return document.body.offsetHeight}function Ym(e,t,n){const r=e[Br];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ws=Symbol("_vod"),Xf=Symbol("_vsh"),rT={beforeMount(e,{value:t},{transition:n}){e[Ws]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):mr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),mr(e,!0),r.enter(e)):r.leave(e,()=>{mr(e,!1)}):mr(e,t))},beforeUnmount(e,{value:t}){mr(e,t)}};function mr(e,t){e.style.display=t?e[Ws]:"none",e[Xf]=!t}const Xm=Symbol(""),zm=/(^|;)\s*display\s*:/;function Jm(e,t,n){const r=e.style,s=Se(n);let o=!1;if(n&&!s){if(t)if(Se(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Ps(r,a,"")}else for(const i in t)n[i]==null&&Ps(r,i,"");for(const i in n)i==="display"&&(o=!0),Ps(r,i,n[i])}else if(s){if(t!==n){const i=r[Xm];i&&(n+=";"+i),r.cssText=n,o=zm.test(n)}}else t&&e.removeAttribute("style");Ws in e&&(e[Ws]=o?r.display:"",e[Xf]&&(r.display="none"))}const Mc=/\s*!important$/;function Ps(e,t,n){if(te(n))n.forEach(r=>Ps(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Qm(e,t);Mc.test(n)?e.setProperty(Mn(r),n.replace(Mc,""),"important"):e[r]=n}}const Dc=["Webkit","Moz","ms"],zo={};function Qm(e,t){const n=zo[t];if(n)return n;let r=Nt(t);if(r!=="filter"&&r in e)return zo[t]=r;r=uo(r);for(let s=0;sJo||(og.then(()=>Jo=0),Jo=Date.now());function ag(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ht(cg(r,n.value),t,5,[r])};return n.value=e,n.attached=ig(),n}function cg(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const jc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,lg=(e,t,n,r,s,o,i,a,c)=>{const l=s==="svg";t==="class"?Ym(e,r,l):t==="style"?Jm(e,n,r):Xr(t)?na(t)||rg(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ug(e,t,r,l))?eg(e,t,r,o,i,a,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Zm(e,t,r,l))};function ug(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&jc(t)&&se(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return jc(t)&&Se(n)?!1:t in e}const fg={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},sT=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Mn(s.key);if(t.some(i=>i===o||fg[i]===o))return e(s)})},zf=Me({patchProp:lg},Bm);let Or,Hc=!1;function dg(){return Or||(Or=Cm(zf))}function hg(){return Or=Hc?Or:Tm(zf),Hc=!0,Or}const pg=(...e)=>{const t=dg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Qf(r);if(!s)return;const o=t._component;!se(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,Jf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},mg=(...e)=>{const t=hg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Qf(r);if(s)return n(s,!0,Jf(s))},t};function Jf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Qf(e){return Se(e)?document.querySelector(e):e}const gg=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,yg=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,_g=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function bg(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){vg(e);return}return t}function vg(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Vr(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!_g.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(gg.test(e)||yg.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,bg)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Eg=/#/g,wg=/&/g,Sg=/\//g,Cg=/=/g,Ra=/\+/g,Tg=/%5e/gi,Lg=/%60/gi,Rg=/%7c/gi,Pg=/%20/gi;function kg(e){return encodeURI(""+e).replace(Rg,"|")}function Ci(e){return kg(typeof e=="string"?e:JSON.stringify(e)).replace(Ra,"%2B").replace(Pg,"+").replace(Eg,"%23").replace(wg,"%26").replace(Lg,"`").replace(Tg,"^").replace(Sg,"%2F")}function Qo(e){return Ci(e).replace(Cg,"%3D")}function Ks(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Ag(e){return Ks(e.replace(Ra," "))}function Og(e){return Ks(e.replace(Ra," "))}function Zf(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=Ag(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Og(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function Ig(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Qo(e)}=${Ci(n)}`).join("&"):`${Qo(e)}=${Ci(t)}`:Qo(e)}function Ng(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Ig(t,e[t])).filter(Boolean).join("&")}const xg=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Mg=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Dg=/^([/\\]\s*){2,}[^/\\]/,Fg=/^[\s\0]*(blob|data|javascript|vbscript):$/i,$g=/\/$|\/\?|\/#/,Ug=/^\.?\//;function xt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?xg.test(e):Mg.test(e)||(t.acceptRelative?Dg.test(e):!1)}function jg(e){return!!e&&Fg.test(e)}function Ti(e="",t){return t?$g.test(e):e.endsWith("/")}function Co(e="",t){if(!t)return(Ti(e)?e.slice(0,-1):e)||"/";if(!Ti(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Gs(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ti(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Hg(e=""){return e.startsWith("/")}function Bc(e=""){return Hg(e)?e:"/"+e}function Bg(e,t){if(td(t)||xt(e))return e;const n=Co(t);return e.startsWith(n)?e:To(n,e)}function Vc(e,t){if(td(t))return e;const n=Co(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function ed(e,t){const n=Lo(e),r={...Zf(n.search),...t};return n.search=Ng(r),Wg(n)}function td(e){return!e||e==="/"}function Vg(e){return e&&e!=="/"}function To(e,...t){let n=e||"";for(const r of t.filter(s=>Vg(s)))if(n){const s=r.replace(Ug,"");n=Gs(n)+s}else n=r;return n}function nd(...e){var i,a,c,l;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&xt(r[0]))continue;r.pop(),s--;continue}if(f===1&&((i=r[r.length-1])!=null&&i.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),s++}}let o=r.join("/");return s>=0?(a=n[0])!=null&&a.startsWith("/")&&!o.startsWith("/")?o="/"+o:(c=n[0])!=null&&c.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,(l=n[n.length-1])!=null&&l.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function Li(e,t,n={}){return n.trailingSlash||(e=Gs(e),t=Gs(t)),n.leadingSlash||(e=Bc(e),t=Bc(t)),n.encoding||(e=Ks(e),t=Ks(t)),e===t}const rd=Symbol.for("ufo:protocolRelative");function Lo(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!xt(e,{acceptRelative:!0}))return t?Lo(t+e):Ri(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:l,hash:u}=Ri(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:c,search:l,hash:u,[rd]:!r}}function Ri(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Wg(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[rd]?(e.protocol||"")+"//":"")+s+o+t+n+r}class Kg extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Gg(e){var c,l,u,f,d;const t=((c=e.error)==null?void 0:c.message)||((l=e.error)==null?void 0:l.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"",i=`${s}: ${o}${t?` ${t}`:""}`,a=new Kg(i,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(a,p,{get(){return e[p]}});for(const[p,y]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,p,{get(){return e.response&&e.response[y]}});return a}const qg=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Wc(e="GET"){return qg.has(e.toUpperCase())}function Yg(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Xg=new Set(["image/svg","application/xml","application/xhtml","application/html"]),zg=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Jg(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return zg.test(t)?"json":Xg.has(t)||t.startsWith("text/")?"text":"blob"}function Qg(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[s,o]of new n((e==null?void 0:e.headers)||{}))r.headers.set(s,o)}return r}const Zg=new Set([408,409,425,429,500,502,503,504]),ey=new Set([101,204,205,304]);function sd(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let u;typeof a.options.retry=="number"?u=a.options.retry:u=Wc(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Zg.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),o(a.request,{...a.options,retry:u-1})}}const l=Gg(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,o),l}const o=async function(c,l={}){var p;const u={request:c,options:Qg(l,e.defaults,n),response:void 0,error:void 0};u.options.method=(p=u.options.method)==null?void 0:p.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Bg(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=ed(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Wc(u.options.method)&&(Yg(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const y=new r;f=setTimeout(()=>y.abort(),u.options.timeout),u.options.signal=y.signal}try{u.response=await t(u.request,u.options)}catch(y){return u.error=y,u.options.onRequestError&&await u.options.onRequestError(u),await s(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!ey.has(u.response.status)&&u.options.method!=="HEAD"){const y=(u.options.parseResponse?"json":u.options.responseType)||Jg(u.response.headers.get("content-type")||"");switch(y){case"json":{const E=await u.response.text(),T=u.options.parseResponse||Vr;u.response._data=T(E);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[y]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await s(u)):u.response},i=async function(c,l){return(await o(c,l))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={})=>sd({...e,defaults:{...e.defaults,...a}}),i}const Pa=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),ty=Pa.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),ny=Pa.Headers,ry=Pa.AbortController,sy=sd({fetch:ty,Headers:ny,AbortController:ry}),oy=sy,iy=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},qs=iy().app,ay=()=>qs.baseURL,cy=()=>qs.buildAssetsDir,ka=(...e)=>nd(od(),cy(),...e),od=(...e)=>{const t=qs.cdnURL||qs.baseURL;return e.length?nd(t,...e):t};globalThis.__buildAssetsURL=ka,globalThis.__publicAssetsURL=od;globalThis.$fetch||(globalThis.$fetch=oy.create({baseURL:ay()}));function Pi(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Pi(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const ly={run:e=>e()},uy=()=>ly,id=typeof console.createTask<"u"?console.createTask:uy;function fy(e,t){const n=t.shift(),r=id(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function dy(e,t){const n=t.shift(),r=id(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Zo(e,t){for(const n of[...e])n(t)}class hy{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Pi(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Pi(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(fy,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(dy,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Zo(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Zo(this._after,s)}):(this._after&&s&&Zo(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function ad(){return new hy}function py(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s&&t===void 0){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;ki.add(l);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{ki.delete(l)}}}}function my(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=py({...e,...r})),t[n],t[n]}}}const Ys=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Kc="__unctx__",gy=Ys[Kc]||(Ys[Kc]=my()),yy=(e,t={})=>gy.get(e,t),Gc="__unctx_async_handlers__",ki=Ys[Gc]||(Ys[Gc]=new Set);function Ot(e){const t=[];for(const s of ki){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const cd=yy("nuxt-app",{asyncContext:!1}),_y="__nuxt_plugin";function by(e){let t=0;const n={_scope:Jr(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:rt({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>n._scope.run(()=>wy(n,s)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=ad(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;bs(n,i,o),bs(n.vueApp.config.globalProperties,i,o)},bs(n.vueApp,"$nuxt",n),bs(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||me;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}async function vy(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function Ey(e,t){const n=[],r=[],s=[],o=[];let i=0;async function a(c){var u;const l=((u=c.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(l.length>0)r.push([new Set(l),c]);else{const f=vy(e,c).then(async()=>{c._name&&(n.push(c._name),await Promise.all(r.map(async([d,p])=>{d.has(c._name)&&(d.delete(c._name),d.size===0&&(i++,await a(p)))})))});c.parallel?s.push(f.catch(d=>o.push(d))):await f}}for(const c of t)await a(c);if(await Promise.all(s),i)for(let c=0;c{}),e,{[_y]:!0,_name:t})}function wy(e,t,n){const r=()=>n?t(...n):t();return cd.set(e),e.vueApp.runWithContext(r)}function Sy(){var t;let e;return va()&&(e=(t=qt())==null?void 0:t.appContext.app.$nuxt),e=e||cd.tryUse(),e||null}function me(){const e=Sy();if(!e)throw new Error("[nuxt] instance unavailable");return e}function gt(e){return me().$config}function bs(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const vs=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Cy(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},s=(t||{}).decode||Ry;let o=0;for(;o{t+=s};return{toString(){return t},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this[s===null?"null":typeof s](s)},object(s){if(s&&typeof s.toJSON=="function")return this.object(s.toJSON());const o=Object.prototype.toString.call(s);let i="";const a=o.length;a<10?i="unknown:["+o+"]":i=o.slice(8,a-1),i=i.toLowerCase();let c=null;if((c=n.get(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+c+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](s):e.ignoreUnknown||this.unkown(s,i);else{let l=Object.keys(s);e.unorderedObjects&&(l=l.sort());let u=[];e.respectType!==!1&&!zc(s)&&(u=ky),e.excludeKeys&&(l=l.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(l.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(s[d]),r(",")};for(const d of l)f(d);for(const d of u)f(d)}},array(s,o){if(o=o===void 0?e.unorderedArrays!==!1:o,r("array:"+s.length+":"),!o||s.length<=1){for(const c of s)this.dispatch(c);return}const i=new Map,a=s.map(c=>{const l=ld(e);l.dispatch(c);for(const[u,f]of l.getContext())i.set(u,f);return l.toString()});return n=i,a.sort(),this.array(a,!1)},date(s){return r("date:"+s.toJSON())},symbol(s){return r("symbol:"+s.toString())},unkown(s,o){if(r(o),!!s&&(r(":"),s&&typeof s.entries=="function"))return this.array(Array.from(s.entries()),!0)},error(s){return r("error:"+s.toString())},boolean(s){return r("bool:"+s)},string(s){r("string:"+s.length+":"),r(s)},function(s){r("fn:"),zc(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this.object(s)},number(s){return r("number:"+s)},xml(s){return r("xml:"+s.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(s){return r("regex:"+s.toString())},uint8array(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},uint8clampedarray(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},int8array(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},uint16array(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},int16array(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},uint32array(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},int32array(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},float32array(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},float64array(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},arraybuffer(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},url(s){return r("url:"+s.toString())},map(s){r("map:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},set(s){r("set:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},file(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported Use "options.replacer" or "options.ignoreUnknown" -`)},domwindow(){return r("domwindow")},bigint(s){return r("bigint:"+s.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const ud="[native code] }",Ay=ud.length;function zc(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-Ay)===ud}function Oy(e,t,n={}){return e===t||Xc(e,n)===Xc(t,n)}function Iy(e,t){return{ctx:{table:e},matchAll:n=>dd(n,e,t)}}function fd(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,fd(s)])):new Map(Object.entries(e[n]));return t}function Ny(e){return Iy(fd(e))}function dd(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of Jc(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of Jc(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...dd(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function Jc(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ei(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Ai(e,t,n=".",r){if(!ei(t))return Ai(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:ei(i)&&ei(s[o])?s[o]=Ai(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function hd(e){return(...t)=>t.reduce((n,r)=>Ai(n,r,"",e),{})}const pd=hd(),xy=hd((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function My(e,t){try{return t in e}catch{return!1}}var Dy=Object.defineProperty,Fy=(e,t,n)=>t in e?Dy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vn=(e,t,n)=>(Fy(e,typeof t!="symbol"?t+"":t,n),n);class Oi extends Error{constructor(t,n={}){super(t,n),vn(this,"statusCode",500),vn(this,"fatal",!1),vn(this,"unhandled",!1),vn(this,"statusMessage"),vn(this,"data"),vn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ni(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=md(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}vn(Oi,"__h3_error__",!0);function Ii(e){if(typeof e=="string")return new Oi(e);if($y(e))return e;const t=new Oi(e.message??e.statusMessage??"",{cause:e.cause||e});if(My(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Ni(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ni(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;md(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function $y(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Uy=/[^\u0009\u0020-\u007E]/g;function md(e=""){return e.replace(Uy,"")}function Ni(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const jy=Symbol("layout-meta"),Ro=Symbol("route"),Ct=()=>{var e;return(e=me())==null?void 0:e.$router},Aa=()=>va()?Ke(Ro,me()._route):me()._route;const Hy=(e,t,n={})=>{const r=me(),s=n.global||typeof e!="string",o=typeof e!="string"?e:t;if(!o){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}s?r._middleware.global.push(o):r._middleware.named[e]=o},By=()=>{try{if(me()._processingMiddleware)return!0}catch{return!1}return!1},Vy=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:ed(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){const{target:a="_blank",windowFeatures:c={}}=t.open,l=Object.entries(c).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");return open(n,a,l),Promise.resolve()}const r=(t==null?void 0:t.external)||xt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=Lo(n).protocol;if(a&&jg(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const s=By();if(!r&&s)return e;const o=Ct(),i=me();return r?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)},gd="__nuxt_error",Po=()=>cf(me().payload,"error"),Kn=e=>{const t=ko(e);try{const n=me(),r=Po();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Wy=async(e={})=>{const t=me(),n=Po();t.callHook("app:error:cleared",e),e.redirect&&await Ct().replace(e.redirect),n.value=null},Ky=e=>!!e&&typeof e=="object"&&gd in e,ko=e=>{const t=Ii(e);return Object.defineProperty(t,gd,{value:!0,configurable:!1,writable:!1}),t},Gy="modulepreload",qy=function(e,t){return e[0]==="."?new URL(e,t).href:e},Qc={},Yy=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.all(n.map(c=>{if(c=qy(c,r),c in Qc)return;Qc[c]=!0;const l=c.endsWith(".css"),u=l?'[rel="stylesheet"]':"";if(!!r)for(let p=o.length-1;p>=0;p--){const y=o[p];if(y.href===c&&(!l||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${u}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":Gy,l||(d.as="script",d.crossOrigin=""),d.href=c,a&&d.setAttribute("nonce",a),document.head.appendChild(d),l)return new Promise((p,y)=>{d.addEventListener("load",p),d.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${c}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},He=(...e)=>Yy(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Xy=-1,zy=-2,Jy=-3,Qy=-4,Zy=-5,e_=-6;function t_(e,t){return n_(JSON.parse(e),t)}function n_(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===Xy)return;if(o===Jy)return NaN;if(o===Qy)return 1/0;if(o===Zy)return-1/0;if(o===e_)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t==null?void 0:t[c];if(l)return r[o]=l(s(a[1]));switch(c){case"Date":r[o]=new Date(a[1]);break;case"Set":const u=new Set;r[o]=u;for(let p=1;p>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Zc(e){return e._h||Oa(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function _d(e,t){const{props:n,tag:r}=e;if(i_.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}function el(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function c_(e,t,n){const r={tag:e,props:await bd(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return yd.forEach(s=>{const o=typeof r.props[s]<"u"?r.props[s]:n[s];typeof o<"u"&&((!["innerHTML","textContent","children"].includes(s)||s_.includes(r.tag))&&(r[s==="children"?"innerHTML":s]=o),delete r.props[s])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function l_(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,s])=>e==="style"?`${r}:${s}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function bd(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=l_(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!yd.includes(n)){const r=String(e[n]),s=n.startsWith("data-");r==="true"||r===""?e[n]=s?"true":!0:e[n]||(s&&r==="false"?e[n]="false":delete e[n])}}return e}const u_=10;async function f_(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&o_.includes(n)).forEach(([n,r])=>{const s=r_(r);t.push(...s.map(o=>c_(n,o,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<c&&c[l]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let s=e;try{s=decodeURI(e)}catch{}return(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(c,l)=>`${a}${l}`).trim())}),e.includes(Zt)&&(e.endsWith(Zt)&&(e=e.slice(0,-Zt.length).trim()),e.startsWith(Zt)&&(e=e.slice(Zt.length).trim()),e=e.replace(new RegExp(`\\${Zt}\\s*\\${Zt}`,"g"),Zt),e=As(e,{separator:n},n)),e}async function vd(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const s=(await e.resolveTags()).map(f=>({tag:f,id:ks.includes(f.tag)?Zc(f):f.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,p=[];for(const y of[...d].filter(E=>ks.includes(E.tagName.toLowerCase()))){const E={tag:y.tagName.toLowerCase(),props:await bd(y.getAttributeNames().reduce((v,_)=>({...v,[_]:y.getAttribute(_)}),{})),innerHTML:y.innerHTML};let T=1,b=_d(E);for(;b&&p.find(v=>v._d===b);)b=`${b}:${T++}`;E._d=b||void 0,p.push(E),o.elMap[y.getAttribute("data-hid")||Zc(E)]=y}}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function i(f,d,p){const y=`${f}:${d}`;o.sideEffects[y]=p,delete o.pendingSideEffects[y]}function a({id:f,$el:d,tag:p}){const y=p.tag.endsWith("Attrs");o.elMap[f]=d,y||(["textContent","innerHTML"].forEach(E=>{p[E]&&p[E]!==d[E]&&(d[E]=p[E])}),i(f,"el",()=>{var E;(E=o.elMap[f])==null||E.remove(),delete o.elMap[f]}));for(const[E,T]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${E}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(E.replace("on",""),T.bind(d)),d.setAttribute(`data-${E}`,""));Object.entries(p.props).forEach(([E,T])=>{const b=`attr:${E}`;if(E==="class")for(const v of(T||"").split(" ").filter(Boolean))y&&i(f,`${b}:${v}`,()=>d.classList.remove(v)),!d.classList.contains(v)&&d.classList.add(v);else if(E==="style")for(const v of(T||"").split(";").filter(Boolean)){const[_,...g]=v.split(":").map(w=>w.trim());i(f,`${b}:${v}:${_}`,()=>{d.style.removeProperty(_)}),d.style.setProperty(_,g.join(":"))}else d.getAttribute(E)!==T&&d.setAttribute(E,T===!0?"":String(T)),y&&i(f,b,()=>d.removeAttribute(E))})}const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of s){const{tag:d,shouldRender:p,id:y}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||o.elMap[y],f.$el?a(f):ks.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),l[d]=l[d]||n.createDocumentFragment(),l[d].appendChild(f.$el)}for(const f of s)await e.hooks.callHook("dom:renderTag",f,n,i);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose),Object.values(o.pendingSideEffects).forEach(f=>f()),e._dom=o,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:s})}async function h_(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await vd(e,t),delete e._domUpdatePromise,r()}))}function p_(e){return t=>{var r,s;const n=((s=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(o){h_(o,e)}}}}}const m_=["templateParams","htmlAttrs","bodyAttrs"],g_={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=_d(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,o=t[s];if(o){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&m_.includes(r.tag)&&(a="merge"),a==="merge"){const c=o.props;["class","style"].forEach(l=>{c[l]&&(r.props[l]?(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),r.props[l]=`${c[l]} ${r.props[l]}`):r.props[l]=c[l])}),t[s].props={...c,...r.props};return}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);return}else if(Xs(r)>Xs(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(ks.includes(r.tag)&&i===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},y_={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},__=["script","link","bodyAttrs"],b_=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>__.includes(r.tag)))Object.entries(n.props).forEach(([r,s])=>{r.startsWith("on")&&typeof s=="function"&&(e.ssr&&rl.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=s)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Oa(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,s;for(const o of Object.keys((t==null?void 0:t.dataset)||{}).filter(i=>rl.some(a=>`${a}fired`===i))){const i=o.replace("fired","");(s=(r=n._eventHandlers)==null?void 0:r[i])==null||s.call(t,new Event(i.replace("on","")))}}}}),v_=["link","style","script","noscript"],E_={hooks:{"tag:normalise":({tag:e})=>{e.key&&v_.includes(e.tag)&&(e.props["data-hid"]=e._h=Oa(e.key))}}},w_={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(s=>s._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of d_)for(const s of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=t(s.tagPriority.replace(n,""));typeof o<"u"&&(s._p=o+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>Xs(n)-Xs(r))}}},S_={meta:"content",link:"href",htmlAttrs:"lang"},C_=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,r=(a=n.find(c=>c.tag==="title"))==null?void 0:a.textContent,s=n.findIndex(c=>c.tag==="templateParams"),o=s!==-1?n[s].props:{},i=o.separator||"|";delete o.separator,o.pageTitle=As(o.pageTitle||r||"",o,i);for(const c of n.filter(l=>l.processTemplateParams!==!1)){const l=S_[c.tag];l&&typeof c.props[l]=="string"?c.props[l]=As(c.props[l],o,i):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(u=>{typeof c[u]=="string"&&(c[u]=As(c[u],o,i))})}e._templateParams=o,e._separator=i,t.tags=n.filter(c=>c.tag!=="templateParams")}}}),T_={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=el(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=el(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},L_={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{a.dirty=!0,t.callHook("entries:updated",a)};let s=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(c){const l=typeof c=="function"?c(a):c;(!l.key||!i.some(u=>u.key===l.key))&&(i.push(l),sl(l.mode,n)&&t.addHooks(l.hooks||{}))},push(c,l){l==null||delete l.head;const u={_i:s++,input:c,...l};return sl(u.mode,n)&&(o.push(u),r()),{dispose(){o=o.filter(f=>f._i!==u._i),t.callHook("entries:updated",a),r()},patch(f){o=o.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const c={tags:[],entries:[...o]};await t.callHook("entries:resolve",c);for(const l of c.entries){const u=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(u):u),l.resolvedInput)for(const f of await f_(l)){const d={tag:f,entry:l,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),c.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[g_,y_,b_,E_,w_,C_,T_,L_,...(e==null?void 0:e.plugins)||[]].forEach(c=>a.use(c)),a.hooks.callHook("init",a),a}function k_(){return Ed}const A_=qf.startsWith("3");function O_(e){return typeof e=="function"?e():ne(e)}function zs(e,t=""){if(e instanceof Promise)return e;const n=O_(e);return!e||!n?n:Array.isArray(n)?n.map(r=>zs(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,ne(s)]:[r,zs(s,r)])):n}const I_={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=zs(t.input)}}},wd="usehead";function N_(e){return{install(n){A_&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(wd,e))}}.install}function x_(e={}){e.domDelayFn=e.domDelayFn||(n=>Kt(()=>setTimeout(()=>n(),0)));const t=R_(e);return t.use(I_),t.install=N_(t),t}const xi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Mi="__unhead_injection_handler__";function M_(e){xi[Mi]=e}function D_(){if(Mi in xi)return xi[Mi]();const e=Ke(wd);return e||k_()}function Sd(e,t={}){const n=t.head||D_();if(n)return n.ssr?n.push(e,t):F_(n,e,t)}function F_(e,t,n={}){const r=le(!1),s=le({});ya(()=>{s.value=r.value?{}:zs(t)});const o=e.push(s.value,n);return Re(s,a=>{o.patch(a)}),qt()&&(ts(()=>{o.dispose()}),Tf(()=>{r.value=!0}),Cf(()=>{r.value=!1})),o}function Pt(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Pt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Pt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Pt(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Pt(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(Pt(s))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(s,o){n.set(Pt(o),Pt(s))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(Pt(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const $_={nuxt:{buildId:"3519767e-079e-4299-9c54-8babb67e32d5"}},U_=xy($_);function Cd(){const e=me();return e._appConfig||(e._appConfig=rt(U_)),e._appConfig}const Di=!1,j_=!1,oT={componentName:"NuxtLink"},H_="#__nuxt";let Os,Td;function B_(){var t;const e=(t=Cd().nuxt)==null?void 0:t.buildId;return Os=$fetch(ka(`builds/meta/${e}.json`)),Os.then(n=>{Td=Ny(n.matcher)}),Os}function Ao(){return Os||B_()}async function Ia(e){return await Ao(),pd({},...Td.matchAll(e).reverse())}function ol(e,t={}){const n=W_(e,t),r=me(),s=r._payloadCache=r._payloadCache||{};return n in s||(s[n]=K_(e).then(o=>o?Ld(n).then(i=>i||(delete s[n],null)):(s[n]=null,null))),s[n]}const V_="_payload.json";function W_(e,t={}){var s;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||xt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(s=Cd().nuxt)==null?void 0:s.buildId);return To(gt().app.baseURL,n.pathname,V_+(r?`?${r}`:""))}async function Ld(e){const t=fetch(e).then(n=>n.text().then(Rd));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function K_(e=Aa().path){if(e=Co(e),(await Ao()).prerendered.includes(e))return!0;const n=await Ia(e);return!!n.prerender&&!n.redirect}let Es=null;async function G_(){if(Es)return Es;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Rd(e.textContent||""),n=e.dataset.src?await Ld(e.dataset.src):void 0;return Es={...t,...n,...window.__NUXT__},Es}async function Rd(e){return await t_(e,me()._payloadRevivers)}function q_(e,t){me()._payloadRevivers[e]=t}const il={NuxtError:e=>ko(e),EmptyShallowRef:e=>In(e==="_"?void 0:e==="0n"?BigInt(0):Vr(e)),EmptyRef:e=>le(e==="_"?void 0:e==="0n"?BigInt(0):Vr(e)),ShallowRef:e=>In(e),ShallowReactive:e=>Zr(e),Ref:e=>le(e),Reactive:e=>rt(e)},Y_=qe({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in il)q_(r,il[r]);Object.assign(e.payload,([t,n]=Ot(()=>e.runWithContext(G_)),t=await t,n(),t)),window.__NUXT__=e.payload}}),X_=[],z_=qe({name:"nuxt:head",enforce:"pre",setup(e){const t=x_({plugins:X_});M_(()=>me().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await vd(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! +`)},domwindow(){return r("domwindow")},bigint(s){return r("bigint:"+s.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const ud="[native code] }",Ay=ud.length;function zc(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-Ay)===ud}function Oy(e,t,n={}){return e===t||Xc(e,n)===Xc(t,n)}function Iy(e,t){return{ctx:{table:e},matchAll:n=>dd(n,e,t)}}function fd(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,fd(s)])):new Map(Object.entries(e[n]));return t}function Ny(e){return Iy(fd(e))}function dd(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of Jc(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of Jc(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...dd(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function Jc(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ei(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Ai(e,t,n=".",r){if(!ei(t))return Ai(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:ei(i)&&ei(s[o])?s[o]=Ai(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function hd(e){return(...t)=>t.reduce((n,r)=>Ai(n,r,"",e),{})}const pd=hd(),xy=hd((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function My(e,t){try{return t in e}catch{return!1}}var Dy=Object.defineProperty,Fy=(e,t,n)=>t in e?Dy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vn=(e,t,n)=>(Fy(e,typeof t!="symbol"?t+"":t,n),n);class Oi extends Error{constructor(t,n={}){super(t,n),vn(this,"statusCode",500),vn(this,"fatal",!1),vn(this,"unhandled",!1),vn(this,"statusMessage"),vn(this,"data"),vn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ni(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=md(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}vn(Oi,"__h3_error__",!0);function Ii(e){if(typeof e=="string")return new Oi(e);if($y(e))return e;const t=new Oi(e.message??e.statusMessage??"",{cause:e.cause||e});if(My(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Ni(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ni(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;md(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function $y(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Uy=/[^\u0009\u0020-\u007E]/g;function md(e=""){return e.replace(Uy,"")}function Ni(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const jy=Symbol("layout-meta"),Ro=Symbol("route"),Ct=()=>{var e;return(e=me())==null?void 0:e.$router},Aa=()=>va()?Ke(Ro,me()._route):me()._route;const Hy=(e,t,n={})=>{const r=me(),s=n.global||typeof e!="string",o=typeof e!="string"?e:t;if(!o){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}s?r._middleware.global.push(o):r._middleware.named[e]=o},By=()=>{try{if(me()._processingMiddleware)return!0}catch{return!1}return!1},Vy=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:ed(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){const{target:a="_blank",windowFeatures:c={}}=t.open,l=Object.entries(c).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");return open(n,a,l),Promise.resolve()}const r=(t==null?void 0:t.external)||xt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=Lo(n).protocol;if(a&&jg(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const s=By();if(!r&&s)return e;const o=Ct(),i=me();return r?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)},gd="__nuxt_error",Po=()=>cf(me().payload,"error"),Kn=e=>{const t=ko(e);try{const n=me(),r=Po();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Wy=async(e={})=>{const t=me(),n=Po();t.callHook("app:error:cleared",e),e.redirect&&await Ct().replace(e.redirect),n.value=null},Ky=e=>!!e&&typeof e=="object"&&gd in e,ko=e=>{const t=Ii(e);return Object.defineProperty(t,gd,{value:!0,configurable:!1,writable:!1}),t},Gy="modulepreload",qy=function(e,t){return e[0]==="."?new URL(e,t).href:e},Qc={},Yy=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.all(n.map(c=>{if(c=qy(c,r),c in Qc)return;Qc[c]=!0;const l=c.endsWith(".css"),u=l?'[rel="stylesheet"]':"";if(!!r)for(let p=o.length-1;p>=0;p--){const y=o[p];if(y.href===c&&(!l||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${u}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":Gy,l||(d.as="script",d.crossOrigin=""),d.href=c,a&&d.setAttribute("nonce",a),document.head.appendChild(d),l)return new Promise((p,y)=>{d.addEventListener("load",p),d.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${c}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},He=(...e)=>Yy(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Xy=-1,zy=-2,Jy=-3,Qy=-4,Zy=-5,e_=-6;function t_(e,t){return n_(JSON.parse(e),t)}function n_(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===Xy)return;if(o===Jy)return NaN;if(o===Qy)return 1/0;if(o===Zy)return-1/0;if(o===e_)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t==null?void 0:t[c];if(l)return r[o]=l(s(a[1]));switch(c){case"Date":r[o]=new Date(a[1]);break;case"Set":const u=new Set;r[o]=u;for(let p=1;p>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Zc(e){return e._h||Oa(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function _d(e,t){const{props:n,tag:r}=e;if(i_.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}function el(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function c_(e,t,n){const r={tag:e,props:await bd(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return yd.forEach(s=>{const o=typeof r.props[s]<"u"?r.props[s]:n[s];typeof o<"u"&&((!["innerHTML","textContent","children"].includes(s)||s_.includes(r.tag))&&(r[s==="children"?"innerHTML":s]=o),delete r.props[s])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function l_(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,s])=>e==="style"?`${r}:${s}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function bd(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=l_(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!yd.includes(n)){const r=String(e[n]),s=n.startsWith("data-");r==="true"||r===""?e[n]=s?"true":!0:e[n]||(s&&r==="false"?e[n]="false":delete e[n])}}return e}const u_=10;async function f_(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&o_.includes(n)).forEach(([n,r])=>{const s=r_(r);t.push(...s.map(o=>c_(n,o,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<c&&c[l]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let s=e;try{s=decodeURI(e)}catch{}return(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(c,l)=>`${a}${l}`).trim())}),e.includes(Zt)&&(e.endsWith(Zt)&&(e=e.slice(0,-Zt.length).trim()),e.startsWith(Zt)&&(e=e.slice(Zt.length).trim()),e=e.replace(new RegExp(`\\${Zt}\\s*\\${Zt}`,"g"),Zt),e=As(e,{separator:n},n)),e}async function vd(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const s=(await e.resolveTags()).map(f=>({tag:f,id:ks.includes(f.tag)?Zc(f):f.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,p=[];for(const y of[...d].filter(E=>ks.includes(E.tagName.toLowerCase()))){const E={tag:y.tagName.toLowerCase(),props:await bd(y.getAttributeNames().reduce((v,_)=>({...v,[_]:y.getAttribute(_)}),{})),innerHTML:y.innerHTML};let T=1,b=_d(E);for(;b&&p.find(v=>v._d===b);)b=`${b}:${T++}`;E._d=b||void 0,p.push(E),o.elMap[y.getAttribute("data-hid")||Zc(E)]=y}}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function i(f,d,p){const y=`${f}:${d}`;o.sideEffects[y]=p,delete o.pendingSideEffects[y]}function a({id:f,$el:d,tag:p}){const y=p.tag.endsWith("Attrs");o.elMap[f]=d,y||(["textContent","innerHTML"].forEach(E=>{p[E]&&p[E]!==d[E]&&(d[E]=p[E])}),i(f,"el",()=>{var E;(E=o.elMap[f])==null||E.remove(),delete o.elMap[f]}));for(const[E,T]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${E}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(E.replace("on",""),T.bind(d)),d.setAttribute(`data-${E}`,""));Object.entries(p.props).forEach(([E,T])=>{const b=`attr:${E}`;if(E==="class")for(const v of(T||"").split(" ").filter(Boolean))y&&i(f,`${b}:${v}`,()=>d.classList.remove(v)),!d.classList.contains(v)&&d.classList.add(v);else if(E==="style")for(const v of(T||"").split(";").filter(Boolean)){const[_,...g]=v.split(":").map(w=>w.trim());i(f,`${b}:${v}:${_}`,()=>{d.style.removeProperty(_)}),d.style.setProperty(_,g.join(":"))}else d.getAttribute(E)!==T&&d.setAttribute(E,T===!0?"":String(T)),y&&i(f,b,()=>d.removeAttribute(E))})}const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of s){const{tag:d,shouldRender:p,id:y}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||o.elMap[y],f.$el?a(f):ks.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),l[d]=l[d]||n.createDocumentFragment(),l[d].appendChild(f.$el)}for(const f of s)await e.hooks.callHook("dom:renderTag",f,n,i);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose),Object.values(o.pendingSideEffects).forEach(f=>f()),e._dom=o,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:s})}async function h_(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await vd(e,t),delete e._domUpdatePromise,r()}))}function p_(e){return t=>{var r,s;const n=((s=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(o){h_(o,e)}}}}}const m_=["templateParams","htmlAttrs","bodyAttrs"],g_={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=_d(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,o=t[s];if(o){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&m_.includes(r.tag)&&(a="merge"),a==="merge"){const c=o.props;["class","style"].forEach(l=>{c[l]&&(r.props[l]?(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),r.props[l]=`${c[l]} ${r.props[l]}`):r.props[l]=c[l])}),t[s].props={...c,...r.props};return}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);return}else if(Xs(r)>Xs(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(ks.includes(r.tag)&&i===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},y_={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},__=["script","link","bodyAttrs"],b_=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>__.includes(r.tag)))Object.entries(n.props).forEach(([r,s])=>{r.startsWith("on")&&typeof s=="function"&&(e.ssr&&rl.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=s)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Oa(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,s;for(const o of Object.keys((t==null?void 0:t.dataset)||{}).filter(i=>rl.some(a=>`${a}fired`===i))){const i=o.replace("fired","");(s=(r=n._eventHandlers)==null?void 0:r[i])==null||s.call(t,new Event(i.replace("on","")))}}}}),v_=["link","style","script","noscript"],E_={hooks:{"tag:normalise":({tag:e})=>{e.key&&v_.includes(e.tag)&&(e.props["data-hid"]=e._h=Oa(e.key))}}},w_={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(s=>s._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of d_)for(const s of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=t(s.tagPriority.replace(n,""));typeof o<"u"&&(s._p=o+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>Xs(n)-Xs(r))}}},S_={meta:"content",link:"href",htmlAttrs:"lang"},C_=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,r=(a=n.find(c=>c.tag==="title"))==null?void 0:a.textContent,s=n.findIndex(c=>c.tag==="templateParams"),o=s!==-1?n[s].props:{},i=o.separator||"|";delete o.separator,o.pageTitle=As(o.pageTitle||r||"",o,i);for(const c of n.filter(l=>l.processTemplateParams!==!1)){const l=S_[c.tag];l&&typeof c.props[l]=="string"?c.props[l]=As(c.props[l],o,i):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(u=>{typeof c[u]=="string"&&(c[u]=As(c[u],o,i))})}e._templateParams=o,e._separator=i,t.tags=n.filter(c=>c.tag!=="templateParams")}}}),T_={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=el(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=el(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},L_={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{a.dirty=!0,t.callHook("entries:updated",a)};let s=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(c){const l=typeof c=="function"?c(a):c;(!l.key||!i.some(u=>u.key===l.key))&&(i.push(l),sl(l.mode,n)&&t.addHooks(l.hooks||{}))},push(c,l){l==null||delete l.head;const u={_i:s++,input:c,...l};return sl(u.mode,n)&&(o.push(u),r()),{dispose(){o=o.filter(f=>f._i!==u._i),t.callHook("entries:updated",a),r()},patch(f){o=o.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const c={tags:[],entries:[...o]};await t.callHook("entries:resolve",c);for(const l of c.entries){const u=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(u):u),l.resolvedInput)for(const f of await f_(l)){const d={tag:f,entry:l,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),c.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[g_,y_,b_,E_,w_,C_,T_,L_,...(e==null?void 0:e.plugins)||[]].forEach(c=>a.use(c)),a.hooks.callHook("init",a),a}function k_(){return Ed}const A_=qf.startsWith("3");function O_(e){return typeof e=="function"?e():ne(e)}function zs(e,t=""){if(e instanceof Promise)return e;const n=O_(e);return!e||!n?n:Array.isArray(n)?n.map(r=>zs(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,ne(s)]:[r,zs(s,r)])):n}const I_={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=zs(t.input)}}},wd="usehead";function N_(e){return{install(n){A_&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(wd,e))}}.install}function x_(e={}){e.domDelayFn=e.domDelayFn||(n=>Kt(()=>setTimeout(()=>n(),0)));const t=R_(e);return t.use(I_),t.install=N_(t),t}const xi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Mi="__unhead_injection_handler__";function M_(e){xi[Mi]=e}function D_(){if(Mi in xi)return xi[Mi]();const e=Ke(wd);return e||k_()}function Sd(e,t={}){const n=t.head||D_();if(n)return n.ssr?n.push(e,t):F_(n,e,t)}function F_(e,t,n={}){const r=le(!1),s=le({});ya(()=>{s.value=r.value?{}:zs(t)});const o=e.push(s.value,n);return Re(s,a=>{o.patch(a)}),qt()&&(ts(()=>{o.dispose()}),Tf(()=>{r.value=!0}),Cf(()=>{r.value=!1})),o}function Pt(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Pt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Pt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Pt(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Pt(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(Pt(s))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(s,o){n.set(Pt(o),Pt(s))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(Pt(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const $_={nuxt:{buildId:"1e2ee3ea-59f7-4a34-abe3-751f6526aff7"}},U_=xy($_);function Cd(){const e=me();return e._appConfig||(e._appConfig=rt(U_)),e._appConfig}const Di=!1,j_=!1,oT={componentName:"NuxtLink"},H_="#__nuxt";let Os,Td;function B_(){var t;const e=(t=Cd().nuxt)==null?void 0:t.buildId;return Os=$fetch(ka(`builds/meta/${e}.json`)),Os.then(n=>{Td=Ny(n.matcher)}),Os}function Ao(){return Os||B_()}async function Ia(e){return await Ao(),pd({},...Td.matchAll(e).reverse())}function ol(e,t={}){const n=W_(e,t),r=me(),s=r._payloadCache=r._payloadCache||{};return n in s||(s[n]=K_(e).then(o=>o?Ld(n).then(i=>i||(delete s[n],null)):(s[n]=null,null))),s[n]}const V_="_payload.json";function W_(e,t={}){var s;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||xt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(s=Cd().nuxt)==null?void 0:s.buildId);return To(gt().app.baseURL,n.pathname,V_+(r?`?${r}`:""))}async function Ld(e){const t=fetch(e).then(n=>n.text().then(Rd));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function K_(e=Aa().path){if(e=Co(e),(await Ao()).prerendered.includes(e))return!0;const n=await Ia(e);return!!n.prerender&&!n.redirect}let Es=null;async function G_(){if(Es)return Es;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Rd(e.textContent||""),n=e.dataset.src?await Ld(e.dataset.src):void 0;return Es={...t,...n,...window.__NUXT__},Es}async function Rd(e){return await t_(e,me()._payloadRevivers)}function q_(e,t){me()._payloadRevivers[e]=t}const il={NuxtError:e=>ko(e),EmptyShallowRef:e=>In(e==="_"?void 0:e==="0n"?BigInt(0):Vr(e)),EmptyRef:e=>le(e==="_"?void 0:e==="0n"?BigInt(0):Vr(e)),ShallowRef:e=>In(e),ShallowReactive:e=>Zr(e),Ref:e=>le(e),Reactive:e=>rt(e)},Y_=qe({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in il)q_(r,il[r]);Object.assign(e.payload,([t,n]=Ot(()=>e.runWithContext(G_)),t=await t,n(),t)),window.__NUXT__=e.payload}}),X_=[],z_=qe({name:"nuxt:head",enforce:"pre",setup(e){const t=x_({plugins:X_});M_(()=>me().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await vd(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const Vn=typeof document<"u";function J_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ge=Object.assign;function ti(e,t){const n={};for(const r in t){const s=t[r];n[r]=wt(s)?s.map(e):e(s)}return n}const Ir=()=>{},wt=Array.isArray,Pd=/#/g,Q_=/&/g,Z_=/\//g,eb=/=/g,tb=/\?/g,kd=/\+/g,nb=/%5B/g,rb=/%5D/g,Ad=/%5E/g,sb=/%60/g,Od=/%7B/g,ob=/%7C/g,Id=/%7D/g,ib=/%20/g;function Na(e){return encodeURI(""+e).replace(ob,"|").replace(nb,"[").replace(rb,"]")}function ab(e){return Na(e).replace(Od,"{").replace(Id,"}").replace(Ad,"^")}function Fi(e){return Na(e).replace(kd,"%2B").replace(ib,"+").replace(Pd,"%23").replace(Q_,"%26").replace(sb,"`").replace(Od,"{").replace(Id,"}").replace(Ad,"^")}function cb(e){return Fi(e).replace(eb,"%3D")}function lb(e){return Na(e).replace(Pd,"%23").replace(tb,"%3F")}function ub(e){return e==null?"":lb(e).replace(Z_,"%2F")}function Wr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const fb=/\/$/,db=e=>e.replace(fb,"");function ni(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=gb(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:Wr(i)}}function hb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function al(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function pb(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&sr(t.matched[r],n.matched[s])&&Nd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function sr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Nd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!mb(e[n],t[n]))return!1;return!0}function mb(e,t){return wt(e)?cl(e,t):wt(t)?cl(t,e):e===t}function cl(e,t){return wt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function gb(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}var Kr;(function(e){e.pop="pop",e.push="push"})(Kr||(Kr={}));var Nr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Nr||(Nr={}));function yb(e){if(!e)if(Vn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),db(e)}const _b=/^[^#]+#/;function bb(e,t){return e.replace(_b,"#")+t}function vb(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Oo=()=>({left:window.scrollX,top:window.scrollY});function Eb(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=vb(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ll(e,t){return(history.state?history.state.position-t:-1)+e}const $i=new Map;function wb(e,t){$i.set(e,t)}function Sb(e){const t=$i.get(e);return $i.delete(e),t}let Cb=()=>location.protocol+"//"+location.host;function xd(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),al(c,"")}return al(n,e)+r+s}function Tb(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=xd(e,location),y=n.value,E=t.value;let T=0;if(d){if(n.value=p,t.value=d,i&&i===y){i=null;return}T=E?d.position-E.position:0}else r(p);s.forEach(b=>{b(n.value,y,{delta:T,type:Kr.pop,direction:T?T>0?Nr.forward:Nr.back:Nr.unknown})})};function c(){i=n.value}function l(d){s.push(d);const p=()=>{const y=s.indexOf(d);y>-1&&s.splice(y,1)};return o.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(ge({},d.state,{scroll:Oo()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:f}}function ul(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Oo():null}}function Lb(e){const{history:t,location:n}=window,r={value:xd(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Cb()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),s.value=l}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(c,l){const u=ge({},t.state,ul(s.value.back,c,s.value.forward,!0),l,{position:s.value.position});o(c,u,!0),r.value=c}function a(c,l){const u=ge({},s.value,t.state,{forward:c,scroll:Oo()});o(u.current,u,!0);const f=ge({},ul(r.value,c,null),{position:u.position+1},l);o(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function Md(e){e=yb(e);const t=Lb(e),n=Tb(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=ge({location:"",base:e,go:r,createHref:bb.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Rb(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Md(e)}function Pb(e){return typeof e=="string"||e&&typeof e=="object"}function Dd(e){return typeof e=="string"||typeof e=="symbol"}const bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Fd=Symbol("");var fl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(fl||(fl={}));function or(e,t){return ge(new Error,{type:e,[Fd]:!0},t)}function Mt(e,t){return e instanceof Error&&Fd in e&&(t==null||!!(e.type&t))}const dl="[^/]+?",kb={sensitive:!1,strict:!1,start:!0,end:!0},Ab=/[.+*?^${}()[\]/\\]/g;function Ob(e,t){const n=ge({},kb,t),r=[];let s=n.start?"^":"";const o=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function Nb(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const xb={type:0,value:""},Mb=/[a-zA-Z0-9_]/;function Db(e){if(!e)return[[]];if(e==="/")return[[xb]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${l}": ${p}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,l="",u="";function f(){l&&(n===0?o.push({type:0,value:l}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a{i(v)}:Ir}function i(u){if(Dd(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function c(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!$d(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!ml(u)&&r.set(u.record.name,u)}function l(u,f){let d,p={},y,E;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw or(1,{location:u});E=d.record.name,p=ge(pl(f.params,d.keys.filter(v=>!v.optional).concat(d.parent?d.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),u.params&&pl(u.params,d.keys.map(v=>v.name))),y=d.stringify(p)}else if(u.path!=null)y=u.path,d=n.find(v=>v.re.test(y)),d&&(p=d.parse(y),E=d.record.name);else{if(d=f.name?r.get(f.name):n.find(v=>v.re.test(f.path)),!d)throw or(1,{location:u,currentLocation:f});E=d.record.name,p=ge({},f.params,u.params),y=d.stringify(p)}const T=[];let b=d;for(;b;)T.unshift(b.record),b=b.parent;return{name:E,path:y,params:p,matched:T,meta:Hb(T)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function pl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ub(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:jb(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function jb(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ml(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Hb(e){return e.reduce((t,n)=>ge(t,n.meta),{})}function gl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function $d(e,t){return t.children.some(n=>n===e||$d(e,n))}function Bb(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Fi(o)):[r&&Fi(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Vb(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=wt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Wb=Symbol(""),_l=Symbol(""),xa=Symbol(""),Ud=Symbol(""),Ui=Symbol("");function gr(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function cn(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const l=d=>{d===!1?c(or(4,{from:n,to:t})):d instanceof Error?c(d):Pb(d)?c(or(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},u=o(()=>e.call(r&&r.instances[s],t,n,l));let f=Promise.resolve(u);e.length<3&&(f=f.then(l)),f.catch(d=>c(d))})}function ri(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Kb(c)){const u=(c.__vccOpts||c)[t];u&&o.push(cn(u,n,r,i,a,s))}else{let l=c();o.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=J_(u)?u.default:u;i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&cn(p,n,r,i,a,s)()}))}}return o}function Kb(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function bl(e){const t=Ke(xa),n=Ke(Ud),r=he(()=>t.resolve(ne(e.to))),s=he(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(sr.bind(null,u));if(d>-1)return d;const p=vl(c[l-2]);return l>1&&vl(u)===p&&f[f.length-1].path!==p?f.findIndex(sr.bind(null,c[l-2])):d}),o=he(()=>s.value>-1&&Xb(n.params,r.value.params)),i=he(()=>s.value>-1&&s.value===n.matched.length-1&&Nd(n.params,r.value.params));function a(c={}){return Yb(c)?t[ne(e.replace)?"replace":"push"](ne(e.to)).catch(Ir):Promise.resolve()}return{route:r,href:he(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const Gb=mt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:bl,setup(e,{slots:t}){const n=rt(bl(e)),{options:r}=Ke(xa),s=he(()=>({[El(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[El(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Et("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),qb=Gb;function Yb(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Xb(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!wt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function vl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const El=(e,t,n)=>e??t??n,zb=mt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ke(Ui),s=he(()=>e.route||r.value),o=Ke(_l,0),i=he(()=>{let l=ne(o);const{matched:u}=s.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=he(()=>s.value.matched[i.value]);tr(_l,he(()=>i.value+1)),tr(Wb,a),tr(Ui,s);const c=le();return Re(()=>[c.value,a.value,e.name],([l,u,f],[d,p,y])=>{u&&(u.instances[f]=l,p&&p!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),l&&u&&(!p||!sr(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(E=>E(l))},{flush:"post"}),()=>{const l=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return wl(n.default,{Component:d,route:l});const p=f.props[u],y=p?p===!0?l.params:typeof p=="function"?p(l):p:null,T=Et(d,ge({},y,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return wl(n.default,{Component:T,route:l})||T}}});function wl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const jd=zb;function Jb(e){const t=$b(e.routes,e),n=e.parseQuery||Bb,r=e.stringifyQuery||yl,s=e.history,o=gr(),i=gr(),a=gr(),c=In(bt);let l=bt;Vn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ti.bind(null,D=>""+D),f=ti.bind(null,ub),d=ti.bind(null,Wr);function p(D,G){let V,X;return Dd(D)?(V=t.getRecordMatcher(D),X=G):X=D,t.addRoute(X,V)}function y(D){const G=t.getRecordMatcher(D);G&&t.removeRoute(G)}function E(){return t.getRoutes().map(D=>D.record)}function T(D){return!!t.getRecordMatcher(D)}function b(D,G){if(G=ge({},G||c.value),typeof D=="string"){const m=ni(n,D,G.path),S=t.resolve({path:m.path},G),R=s.createHref(m.fullPath);return ge(m,S,{params:d(S.params),hash:Wr(m.hash),redirectedFrom:void 0,href:R})}let V;if(D.path!=null)V=ge({},D,{path:ni(n,D.path,G.path).path});else{const m=ge({},D.params);for(const S in m)m[S]==null&&delete m[S];V=ge({},D,{params:f(m)}),G.params=f(G.params)}const X=t.resolve(V,G),ae=D.hash||"";X.params=u(d(X.params));const _e=hb(r,ge({},D,{hash:ab(ae),path:X.path})),h=s.createHref(_e);return ge({fullPath:_e,hash:ae,query:r===yl?Vb(D.query):D.query||{}},X,{redirectedFrom:void 0,href:h})}function v(D){return typeof D=="string"?ni(n,D,c.value.path):ge({},D)}function _(D,G){if(l!==D)return or(8,{from:G,to:D})}function g(D){return P(D)}function w(D){return g(ge(v(D),{replace:!0}))}function C(D){const G=D.matched[D.matched.length-1];if(G&&G.redirect){const{redirect:V}=G;let X=typeof V=="function"?V(D):V;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=v(X):{path:X},X.params={}),ge({query:D.query,hash:D.hash,params:X.path!=null?{}:D.params},X)}}function P(D,G){const V=l=b(D),X=c.value,ae=D.state,_e=D.force,h=D.replace===!0,m=C(V);if(m)return P(ge(v(m),{state:typeof m=="object"?ge({},ae,m.state):ae,force:_e,replace:h}),G||V);const S=V;S.redirectedFrom=G;let R;return!_e&&pb(r,X,V)&&(R=or(16,{to:S,from:X}),ke(X,X,!0,!1)),(R?Promise.resolve(R):I(S,X)).catch(A=>Mt(A)?Mt(A,2)?A:st(A):z(A,S,X)).then(A=>{if(A){if(Mt(A,2))return P(ge({replace:h},v(A.to),{state:typeof A.to=="object"?ge({},ae,A.to.state):ae,force:_e}),G||S)}else A=x(S,X,!0,h,ae);return F(S,X,A),A})}function k(D,G){const V=_(D,G);return V?Promise.reject(V):Promise.resolve()}function L(D){const G=yt.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(D):D()}function I(D,G){let V;const[X,ae,_e]=Qb(D,G);V=ri(X.reverse(),"beforeRouteLeave",D,G);for(const m of X)m.leaveGuards.forEach(S=>{V.push(cn(S,D,G))});const h=k.bind(null,D,G);return V.push(h),Ae(V).then(()=>{V=[];for(const m of o.list())V.push(cn(m,D,G));return V.push(h),Ae(V)}).then(()=>{V=ri(ae,"beforeRouteUpdate",D,G);for(const m of ae)m.updateGuards.forEach(S=>{V.push(cn(S,D,G))});return V.push(h),Ae(V)}).then(()=>{V=[];for(const m of _e)if(m.beforeEnter)if(wt(m.beforeEnter))for(const S of m.beforeEnter)V.push(cn(S,D,G));else V.push(cn(m.beforeEnter,D,G));return V.push(h),Ae(V)}).then(()=>(D.matched.forEach(m=>m.enterCallbacks={}),V=ri(_e,"beforeRouteEnter",D,G,L),V.push(h),Ae(V))).then(()=>{V=[];for(const m of i.list())V.push(cn(m,D,G));return V.push(h),Ae(V)}).catch(m=>Mt(m,8)?m:Promise.reject(m))}function F(D,G,V){a.list().forEach(X=>L(()=>X(D,G,V)))}function x(D,G,V,X,ae){const _e=_(D,G);if(_e)return _e;const h=G===bt,m=Vn?history.state:{};V&&(X||h?s.replace(D.fullPath,ge({scroll:h&&m&&m.scroll},ae)):s.push(D.fullPath,ae)),c.value=D,ke(D,G,V,h),st()}let q;function ie(){q||(q=s.listen((D,G,V)=>{if(!Yt.listening)return;const X=b(D),ae=C(X);if(ae){P(ge(ae,{replace:!0}),X).catch(Ir);return}l=X;const _e=c.value;Vn&&wb(ll(_e.fullPath,V.delta),Oo()),I(X,_e).catch(h=>Mt(h,12)?h:Mt(h,2)?(P(h.to,X).then(m=>{Mt(m,20)&&!V.delta&&V.type===Kr.pop&&s.go(-1,!1)}).catch(Ir),Promise.reject()):(V.delta&&s.go(-V.delta,!1),z(h,X,_e))).then(h=>{h=h||x(X,_e,!1),h&&(V.delta&&!Mt(h,8)?s.go(-V.delta,!1):V.type===Kr.pop&&Mt(h,20)&&s.go(-1,!1)),F(X,_e,h)}).catch(Ir)}))}let oe=gr(),H=gr(),Q;function z(D,G,V){st(D);const X=H.list();return X.length?X.forEach(ae=>ae(D,G,V)):console.error(D),Promise.reject(D)}function Ue(){return Q&&c.value!==bt?Promise.resolve():new Promise((D,G)=>{oe.add([D,G])})}function st(D){return Q||(Q=!D,ie(),oe.list().forEach(([G,V])=>D?V(D):G()),oe.reset()),D}function ke(D,G,V,X){const{scrollBehavior:ae}=e;if(!Vn||!ae)return Promise.resolve();const _e=!V&&Sb(ll(D.fullPath,0))||(X||!V)&&history.state&&history.state.scroll||null;return Kt().then(()=>ae(D,G,_e)).then(h=>h&&Eb(h)).catch(h=>z(h,D,G))}const Ie=D=>s.go(D);let Tt;const yt=new Set,Yt={currentRoute:c,listening:!0,addRoute:p,removeRoute:y,hasRoute:T,getRoutes:E,resolve:b,options:e,push:g,replace:w,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:H.add,isReady:Ue,install(D){const G=this;D.component("RouterLink",qb),D.component("RouterView",jd),D.config.globalProperties.$router=G,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>ne(c)}),Vn&&!Tt&&c.value===bt&&(Tt=!0,g(s.location).catch(ae=>{}));const V={};for(const ae in bt)Object.defineProperty(V,ae,{get:()=>c.value[ae],enumerable:!0});D.provide(xa,G),D.provide(Ud,Zr(V)),D.provide(Ui,c);const X=D.unmount;yt.add(D),D.unmount=function(){yt.delete(D),yt.size<1&&(l=bt,q&&q(),q=null,c.value=bt,Tt=!1,Q=!1),X()}}};function Ae(D){return D.reduce((G,V)=>G.then(()=>L(V)),Promise.resolve())}return Yt}function Qb(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;isr(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>sr(l,c))||s.push(c))}return[n,r,s]}const Zb=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),ji=(e,t)=>{const n=e.route.matched.find(s=>{var o;return((o=s.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&Zb(e.route,n));return typeof r=="function"?r(e.route):r},ev=(e,t)=>({default:()=>e?Et(tm,e===!0?{}:e,t):t});function Ma(e){return Array.isArray(e)?e:[e]}const it=null,at=null,ct=null,Sl=[{name:"lang-edit-id___en___default",path:"/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./D8DLp2_e.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___en",path:"/en/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./D8DLp2_e.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___sp",path:"/sp/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./D8DLp2_e.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___zh-cn",path:"/zh-cn/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./D8DLp2_e.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)},{name:"lang___en___default",path:"/:lang(.*)*",meta:{},alias:[],redirect:at==null?void 0:at.redirect,component:()=>He(()=>import("./SKc03cSZ.js"),__vite__mapDeps([5,2,3]),import.meta.url).then(e=>e.default||e)},{name:"lang___en",path:"/en/:lang(.*)*",meta:{},alias:[],redirect:at==null?void 0:at.redirect,component:()=>He(()=>import("./SKc03cSZ.js"),__vite__mapDeps([5,2,3]),import.meta.url).then(e=>e.default||e)},{name:"lang___sp",path:"/sp/:lang(.*)*",meta:{},alias:[],redirect:at==null?void 0:at.redirect,component:()=>He(()=>import("./SKc03cSZ.js"),__vite__mapDeps([5,2,3]),import.meta.url).then(e=>e.default||e)},{name:"lang___zh-cn",path:"/zh-cn/:lang(.*)*",meta:{},alias:[],redirect:at==null?void 0:at.redirect,component:()=>He(()=>import("./SKc03cSZ.js"),__vite__mapDeps([5,2,3]),import.meta.url).then(e=>e.default||e)},{name:"lang-resumes___en___default",path:"/:lang(.*)*/resumes",meta:{},alias:[],redirect:ct==null?void 0:ct.redirect,component:()=>He(()=>import("./YsTV42Hn.js"),__vite__mapDeps([6,2,3,1,7]),import.meta.url).then(e=>e.default||e)},{name:"lang-resumes___en",path:"/en/:lang(.*)*/resumes",meta:{},alias:[],redirect:ct==null?void 0:ct.redirect,component:()=>He(()=>import("./YsTV42Hn.js"),__vite__mapDeps([6,2,3,1,7]),import.meta.url).then(e=>e.default||e)},{name:"lang-resumes___sp",path:"/sp/:lang(.*)*/resumes",meta:{},alias:[],redirect:ct==null?void 0:ct.redirect,component:()=>He(()=>import("./YsTV42Hn.js"),__vite__mapDeps([6,2,3,1,7]),import.meta.url).then(e=>e.default||e)},{name:"lang-resumes___zh-cn",path:"/zh-cn/:lang(.*)*/resumes",meta:{},alias:[],redirect:ct==null?void 0:ct.redirect,component:()=>He(()=>import("./YsTV42Hn.js"),__vite__mapDeps([6,2,3,1,7]),import.meta.url).then(e=>e.default||e)}],tv=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Et(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function Cl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function nv(e,t){return e===t||t===bt?!1:Cl(e)!==Cl(t)?!0:!e.matched.every((r,s)=>{var o,i;return r.components&&r.components.default===((i=(o=t.matched[s])==null?void 0:o.components)==null?void 0:i.default)})}const rv={scrollBehavior(e,t,n){var l;const r=me(),s=((l=Ct().options)==null?void 0:l.scrollBehaviorType)??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&nv(e,t)&&(o={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Tl(e.hash),behavior:s}:!1;const a=u=>!!(u.meta.pageTransition??Di),c=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(c,async()=>{await new Promise(f=>setTimeout(f,0)),e.hash&&(o={el:e.hash,top:Tl(e.hash),behavior:s}),u(o)})})}};function Tl(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const sv={hashMode:!1,scrollBehaviorType:"auto"},et={...sv,...rv},ov=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=me(),s=Ct();if(([t,n]=Ot(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=ko({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=s.beforeResolve(l=>{if(a(),l===e){const u=s.afterEach(async()=>{u(),await r.runWithContext(()=>Kn(i)),window.history.pushState({},"",e.fullPath)});return!1}})},iv=async e=>{let t,n;const r=([t,n]=Ot(()=>Ia(e.path)),t=await t,n(),t);if(r.redirect)return xt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},av=[ov,iv],xr={};function cv(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const l=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(l);return u[0]!=="/"&&(u="/"+u),Vc(u,"")}const a=Vc(r,e),c=!n||Li(a,n,{trailingSlash:!0})?a:n;return c+(c.includes("?")?"":s)+o}const lv=qe({name:"nuxt:router",enforce:"pre",async setup(e){var T,b;let t,n,r=gt().app.baseURL;et.hashMode&&!r.includes("#")&&(r+="#");const s=((T=et.history)==null?void 0:T.call(et,r))??(et.hashMode?Rb(r):Md(r)),o=((b=et.routes)==null?void 0:b.call(et,Sl))??Sl;let i;const a=Jb({...et,scrollBehavior:(v,_,g)=>{if(_===bt){i=g;return}if(et.scrollBehavior){if(a.options.scrollBehavior=et.scrollBehavior,"scrollRestoration"in window.history){const w=a.beforeEach(()=>{w(),window.history.scrollRestoration="manual"})}return et.scrollBehavior(v,bt,i||g)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const c=In(a.currentRoute.value);a.afterEach((v,_)=>{c.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const l=cv(r,window.location,e.payload.path),u=In(a.currentRoute.value),f=()=>{u.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((v,_)=>{var g,w,C,P;((w=(g=v.matched[0])==null?void 0:g.components)==null?void 0:w.default)===((P=(C=_.matched[0])==null?void 0:C.components)==null?void 0:P.default)&&f()});const d={};for(const v in u.value)Object.defineProperty(d,v,{get:()=>u.value[v]});e._route=Zr(d),e._middleware=e._middleware||{global:[],named:{}};try{[t,n]=Ot(()=>a.isReady()),await t,n()}catch(v){[t,n]=Ot(()=>e.runWithContext(()=>Kn(v))),await t,n()}const p=l!==a.currentRoute.value.fullPath?a.resolve(l):a.currentRoute.value;f();const y=e.payload.state._layout;a.beforeEach(async(v,_)=>{var g;await e.callHook("page:loading:start"),v.meta=rt(v.meta),e.isHydrating&&y&&!On(v.meta.layout)&&(v.meta.layout=y),e._processingMiddleware=!0;{const w=new Set([...av,...e._middleware.global]);for(const C of v.matched){const P=C.meta.middleware;if(P)for(const k of Ma(P))w.add(k)}{const C=await e.runWithContext(()=>Ia(v.path));if(C.appMiddleware)for(const P in C.appMiddleware)C.appMiddleware[P]?w.add(P):w.delete(P)}for(const C of w){const P=typeof C=="string"?e._middleware.named[C]||await((g=xr[C])==null?void 0:g.call(xr).then(L=>L.default||L)):C;if(!P)throw new Error(`Unknown route middleware: '${C}'.`);const k=await e.runWithContext(()=>P(v,_));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const L=k||Ii({statusCode:404,statusMessage:`Page Not Found: ${l}`});return await e.runWithContext(()=>Kn(L)),!1}if(k!==!0&&(k||k===!1))return k}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")});const E=Po();return a.afterEach(async(v,_,g)=>{delete e._processingMiddleware,!e.isHydrating&&E.value&&await e.runWithContext(Wy),g&&await e.callHook("page:loading:end"),v.matched.length===0&&await e.runWithContext(()=>Kn(Ii({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`,data:{path:v.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=et.scrollBehavior}catch(v){await e.runWithContext(()=>Kn(v))}}),{provide:{router:a}}}}),uv="$s";function ss(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=uv+n,o=me(),i=cf(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(Ce(a))return o.payload.state[s]=a,a;i.value=a}return i}const fv=qe({name:"nuxt-site-config:init",enforce:"pre",async setup(e){const t=ss("site-config");let n={};return n=t.value||window.__NUXT_SITE_CONFIG__,{provide:{nuxtSiteConfig:n}}}}),Ll=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),iT=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Hd=e=>{const t=me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Ll(e)}):Ll(e)},dv=qe({name:"nuxt:payload",setup(e){Ct().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await ol(t.path);r&&Object.assign(e.static.data,r.data)}),Hd(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Lo(n).protocol||await ol(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Ao,1e3)})}}),hv=qe(e=>{let t;async function n(){const r=await Ao();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const s=await $fetch(ka("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}Hd(()=>{t=setTimeout(n,1e3*60*60)})}),pv=!1;/*! + */const Vn=typeof document<"u";function J_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ge=Object.assign;function ti(e,t){const n={};for(const r in t){const s=t[r];n[r]=wt(s)?s.map(e):e(s)}return n}const Ir=()=>{},wt=Array.isArray,Pd=/#/g,Q_=/&/g,Z_=/\//g,eb=/=/g,tb=/\?/g,kd=/\+/g,nb=/%5B/g,rb=/%5D/g,Ad=/%5E/g,sb=/%60/g,Od=/%7B/g,ob=/%7C/g,Id=/%7D/g,ib=/%20/g;function Na(e){return encodeURI(""+e).replace(ob,"|").replace(nb,"[").replace(rb,"]")}function ab(e){return Na(e).replace(Od,"{").replace(Id,"}").replace(Ad,"^")}function Fi(e){return Na(e).replace(kd,"%2B").replace(ib,"+").replace(Pd,"%23").replace(Q_,"%26").replace(sb,"`").replace(Od,"{").replace(Id,"}").replace(Ad,"^")}function cb(e){return Fi(e).replace(eb,"%3D")}function lb(e){return Na(e).replace(Pd,"%23").replace(tb,"%3F")}function ub(e){return e==null?"":lb(e).replace(Z_,"%2F")}function Wr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const fb=/\/$/,db=e=>e.replace(fb,"");function ni(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=gb(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:Wr(i)}}function hb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function al(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function pb(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&sr(t.matched[r],n.matched[s])&&Nd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function sr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Nd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!mb(e[n],t[n]))return!1;return!0}function mb(e,t){return wt(e)?cl(e,t):wt(t)?cl(t,e):e===t}function cl(e,t){return wt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function gb(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}var Kr;(function(e){e.pop="pop",e.push="push"})(Kr||(Kr={}));var Nr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Nr||(Nr={}));function yb(e){if(!e)if(Vn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),db(e)}const _b=/^[^#]+#/;function bb(e,t){return e.replace(_b,"#")+t}function vb(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Oo=()=>({left:window.scrollX,top:window.scrollY});function Eb(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=vb(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ll(e,t){return(history.state?history.state.position-t:-1)+e}const $i=new Map;function wb(e,t){$i.set(e,t)}function Sb(e){const t=$i.get(e);return $i.delete(e),t}let Cb=()=>location.protocol+"//"+location.host;function xd(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),al(c,"")}return al(n,e)+r+s}function Tb(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=xd(e,location),y=n.value,E=t.value;let T=0;if(d){if(n.value=p,t.value=d,i&&i===y){i=null;return}T=E?d.position-E.position:0}else r(p);s.forEach(b=>{b(n.value,y,{delta:T,type:Kr.pop,direction:T?T>0?Nr.forward:Nr.back:Nr.unknown})})};function c(){i=n.value}function l(d){s.push(d);const p=()=>{const y=s.indexOf(d);y>-1&&s.splice(y,1)};return o.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(ge({},d.state,{scroll:Oo()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:f}}function ul(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Oo():null}}function Lb(e){const{history:t,location:n}=window,r={value:xd(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Cb()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),s.value=l}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(c,l){const u=ge({},t.state,ul(s.value.back,c,s.value.forward,!0),l,{position:s.value.position});o(c,u,!0),r.value=c}function a(c,l){const u=ge({},s.value,t.state,{forward:c,scroll:Oo()});o(u.current,u,!0);const f=ge({},ul(r.value,c,null),{position:u.position+1},l);o(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function Md(e){e=yb(e);const t=Lb(e),n=Tb(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=ge({location:"",base:e,go:r,createHref:bb.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Rb(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Md(e)}function Pb(e){return typeof e=="string"||e&&typeof e=="object"}function Dd(e){return typeof e=="string"||typeof e=="symbol"}const bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Fd=Symbol("");var fl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(fl||(fl={}));function or(e,t){return ge(new Error,{type:e,[Fd]:!0},t)}function Mt(e,t){return e instanceof Error&&Fd in e&&(t==null||!!(e.type&t))}const dl="[^/]+?",kb={sensitive:!1,strict:!1,start:!0,end:!0},Ab=/[.+*?^${}()[\]/\\]/g;function Ob(e,t){const n=ge({},kb,t),r=[];let s=n.start?"^":"";const o=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function Nb(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const xb={type:0,value:""},Mb=/[a-zA-Z0-9_]/;function Db(e){if(!e)return[[]];if(e==="/")return[[xb]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${l}": ${p}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,l="",u="";function f(){l&&(n===0?o.push({type:0,value:l}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a{i(v)}:Ir}function i(u){if(Dd(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function c(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!$d(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!ml(u)&&r.set(u.record.name,u)}function l(u,f){let d,p={},y,E;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw or(1,{location:u});E=d.record.name,p=ge(pl(f.params,d.keys.filter(v=>!v.optional).concat(d.parent?d.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),u.params&&pl(u.params,d.keys.map(v=>v.name))),y=d.stringify(p)}else if(u.path!=null)y=u.path,d=n.find(v=>v.re.test(y)),d&&(p=d.parse(y),E=d.record.name);else{if(d=f.name?r.get(f.name):n.find(v=>v.re.test(f.path)),!d)throw or(1,{location:u,currentLocation:f});E=d.record.name,p=ge({},f.params,u.params),y=d.stringify(p)}const T=[];let b=d;for(;b;)T.unshift(b.record),b=b.parent;return{name:E,path:y,params:p,matched:T,meta:Hb(T)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function pl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ub(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:jb(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function jb(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ml(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Hb(e){return e.reduce((t,n)=>ge(t,n.meta),{})}function gl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function $d(e,t){return t.children.some(n=>n===e||$d(e,n))}function Bb(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Fi(o)):[r&&Fi(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Vb(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=wt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Wb=Symbol(""),_l=Symbol(""),xa=Symbol(""),Ud=Symbol(""),Ui=Symbol("");function gr(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function cn(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const l=d=>{d===!1?c(or(4,{from:n,to:t})):d instanceof Error?c(d):Pb(d)?c(or(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},u=o(()=>e.call(r&&r.instances[s],t,n,l));let f=Promise.resolve(u);e.length<3&&(f=f.then(l)),f.catch(d=>c(d))})}function ri(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Kb(c)){const u=(c.__vccOpts||c)[t];u&&o.push(cn(u,n,r,i,a,s))}else{let l=c();o.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=J_(u)?u.default:u;i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&cn(p,n,r,i,a,s)()}))}}return o}function Kb(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function bl(e){const t=Ke(xa),n=Ke(Ud),r=he(()=>t.resolve(ne(e.to))),s=he(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(sr.bind(null,u));if(d>-1)return d;const p=vl(c[l-2]);return l>1&&vl(u)===p&&f[f.length-1].path!==p?f.findIndex(sr.bind(null,c[l-2])):d}),o=he(()=>s.value>-1&&Xb(n.params,r.value.params)),i=he(()=>s.value>-1&&s.value===n.matched.length-1&&Nd(n.params,r.value.params));function a(c={}){return Yb(c)?t[ne(e.replace)?"replace":"push"](ne(e.to)).catch(Ir):Promise.resolve()}return{route:r,href:he(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const Gb=mt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:bl,setup(e,{slots:t}){const n=rt(bl(e)),{options:r}=Ke(xa),s=he(()=>({[El(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[El(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Et("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),qb=Gb;function Yb(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Xb(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!wt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function vl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const El=(e,t,n)=>e??t??n,zb=mt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ke(Ui),s=he(()=>e.route||r.value),o=Ke(_l,0),i=he(()=>{let l=ne(o);const{matched:u}=s.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=he(()=>s.value.matched[i.value]);tr(_l,he(()=>i.value+1)),tr(Wb,a),tr(Ui,s);const c=le();return Re(()=>[c.value,a.value,e.name],([l,u,f],[d,p,y])=>{u&&(u.instances[f]=l,p&&p!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),l&&u&&(!p||!sr(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(E=>E(l))},{flush:"post"}),()=>{const l=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return wl(n.default,{Component:d,route:l});const p=f.props[u],y=p?p===!0?l.params:typeof p=="function"?p(l):p:null,T=Et(d,ge({},y,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return wl(n.default,{Component:T,route:l})||T}}});function wl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const jd=zb;function Jb(e){const t=$b(e.routes,e),n=e.parseQuery||Bb,r=e.stringifyQuery||yl,s=e.history,o=gr(),i=gr(),a=gr(),c=In(bt);let l=bt;Vn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ti.bind(null,D=>""+D),f=ti.bind(null,ub),d=ti.bind(null,Wr);function p(D,G){let V,X;return Dd(D)?(V=t.getRecordMatcher(D),X=G):X=D,t.addRoute(X,V)}function y(D){const G=t.getRecordMatcher(D);G&&t.removeRoute(G)}function E(){return t.getRoutes().map(D=>D.record)}function T(D){return!!t.getRecordMatcher(D)}function b(D,G){if(G=ge({},G||c.value),typeof D=="string"){const m=ni(n,D,G.path),S=t.resolve({path:m.path},G),R=s.createHref(m.fullPath);return ge(m,S,{params:d(S.params),hash:Wr(m.hash),redirectedFrom:void 0,href:R})}let V;if(D.path!=null)V=ge({},D,{path:ni(n,D.path,G.path).path});else{const m=ge({},D.params);for(const S in m)m[S]==null&&delete m[S];V=ge({},D,{params:f(m)}),G.params=f(G.params)}const X=t.resolve(V,G),ae=D.hash||"";X.params=u(d(X.params));const _e=hb(r,ge({},D,{hash:ab(ae),path:X.path})),h=s.createHref(_e);return ge({fullPath:_e,hash:ae,query:r===yl?Vb(D.query):D.query||{}},X,{redirectedFrom:void 0,href:h})}function v(D){return typeof D=="string"?ni(n,D,c.value.path):ge({},D)}function _(D,G){if(l!==D)return or(8,{from:G,to:D})}function g(D){return P(D)}function w(D){return g(ge(v(D),{replace:!0}))}function C(D){const G=D.matched[D.matched.length-1];if(G&&G.redirect){const{redirect:V}=G;let X=typeof V=="function"?V(D):V;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=v(X):{path:X},X.params={}),ge({query:D.query,hash:D.hash,params:X.path!=null?{}:D.params},X)}}function P(D,G){const V=l=b(D),X=c.value,ae=D.state,_e=D.force,h=D.replace===!0,m=C(V);if(m)return P(ge(v(m),{state:typeof m=="object"?ge({},ae,m.state):ae,force:_e,replace:h}),G||V);const S=V;S.redirectedFrom=G;let R;return!_e&&pb(r,X,V)&&(R=or(16,{to:S,from:X}),ke(X,X,!0,!1)),(R?Promise.resolve(R):I(S,X)).catch(A=>Mt(A)?Mt(A,2)?A:st(A):z(A,S,X)).then(A=>{if(A){if(Mt(A,2))return P(ge({replace:h},v(A.to),{state:typeof A.to=="object"?ge({},ae,A.to.state):ae,force:_e}),G||S)}else A=x(S,X,!0,h,ae);return F(S,X,A),A})}function k(D,G){const V=_(D,G);return V?Promise.reject(V):Promise.resolve()}function L(D){const G=yt.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(D):D()}function I(D,G){let V;const[X,ae,_e]=Qb(D,G);V=ri(X.reverse(),"beforeRouteLeave",D,G);for(const m of X)m.leaveGuards.forEach(S=>{V.push(cn(S,D,G))});const h=k.bind(null,D,G);return V.push(h),Ae(V).then(()=>{V=[];for(const m of o.list())V.push(cn(m,D,G));return V.push(h),Ae(V)}).then(()=>{V=ri(ae,"beforeRouteUpdate",D,G);for(const m of ae)m.updateGuards.forEach(S=>{V.push(cn(S,D,G))});return V.push(h),Ae(V)}).then(()=>{V=[];for(const m of _e)if(m.beforeEnter)if(wt(m.beforeEnter))for(const S of m.beforeEnter)V.push(cn(S,D,G));else V.push(cn(m.beforeEnter,D,G));return V.push(h),Ae(V)}).then(()=>(D.matched.forEach(m=>m.enterCallbacks={}),V=ri(_e,"beforeRouteEnter",D,G,L),V.push(h),Ae(V))).then(()=>{V=[];for(const m of i.list())V.push(cn(m,D,G));return V.push(h),Ae(V)}).catch(m=>Mt(m,8)?m:Promise.reject(m))}function F(D,G,V){a.list().forEach(X=>L(()=>X(D,G,V)))}function x(D,G,V,X,ae){const _e=_(D,G);if(_e)return _e;const h=G===bt,m=Vn?history.state:{};V&&(X||h?s.replace(D.fullPath,ge({scroll:h&&m&&m.scroll},ae)):s.push(D.fullPath,ae)),c.value=D,ke(D,G,V,h),st()}let q;function ie(){q||(q=s.listen((D,G,V)=>{if(!Yt.listening)return;const X=b(D),ae=C(X);if(ae){P(ge(ae,{replace:!0}),X).catch(Ir);return}l=X;const _e=c.value;Vn&&wb(ll(_e.fullPath,V.delta),Oo()),I(X,_e).catch(h=>Mt(h,12)?h:Mt(h,2)?(P(h.to,X).then(m=>{Mt(m,20)&&!V.delta&&V.type===Kr.pop&&s.go(-1,!1)}).catch(Ir),Promise.reject()):(V.delta&&s.go(-V.delta,!1),z(h,X,_e))).then(h=>{h=h||x(X,_e,!1),h&&(V.delta&&!Mt(h,8)?s.go(-V.delta,!1):V.type===Kr.pop&&Mt(h,20)&&s.go(-1,!1)),F(X,_e,h)}).catch(Ir)}))}let oe=gr(),H=gr(),Q;function z(D,G,V){st(D);const X=H.list();return X.length?X.forEach(ae=>ae(D,G,V)):console.error(D),Promise.reject(D)}function Ue(){return Q&&c.value!==bt?Promise.resolve():new Promise((D,G)=>{oe.add([D,G])})}function st(D){return Q||(Q=!D,ie(),oe.list().forEach(([G,V])=>D?V(D):G()),oe.reset()),D}function ke(D,G,V,X){const{scrollBehavior:ae}=e;if(!Vn||!ae)return Promise.resolve();const _e=!V&&Sb(ll(D.fullPath,0))||(X||!V)&&history.state&&history.state.scroll||null;return Kt().then(()=>ae(D,G,_e)).then(h=>h&&Eb(h)).catch(h=>z(h,D,G))}const Ie=D=>s.go(D);let Tt;const yt=new Set,Yt={currentRoute:c,listening:!0,addRoute:p,removeRoute:y,hasRoute:T,getRoutes:E,resolve:b,options:e,push:g,replace:w,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:H.add,isReady:Ue,install(D){const G=this;D.component("RouterLink",qb),D.component("RouterView",jd),D.config.globalProperties.$router=G,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>ne(c)}),Vn&&!Tt&&c.value===bt&&(Tt=!0,g(s.location).catch(ae=>{}));const V={};for(const ae in bt)Object.defineProperty(V,ae,{get:()=>c.value[ae],enumerable:!0});D.provide(xa,G),D.provide(Ud,Zr(V)),D.provide(Ui,c);const X=D.unmount;yt.add(D),D.unmount=function(){yt.delete(D),yt.size<1&&(l=bt,q&&q(),q=null,c.value=bt,Tt=!1,Q=!1),X()}}};function Ae(D){return D.reduce((G,V)=>G.then(()=>L(V)),Promise.resolve())}return Yt}function Qb(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;isr(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>sr(l,c))||s.push(c))}return[n,r,s]}const Zb=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),ji=(e,t)=>{const n=e.route.matched.find(s=>{var o;return((o=s.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&Zb(e.route,n));return typeof r=="function"?r(e.route):r},ev=(e,t)=>({default:()=>e?Et(tm,e===!0?{}:e,t):t});function Ma(e){return Array.isArray(e)?e:[e]}const it=null,at=null,ct=null,Sl=[{name:"lang-edit-id___en___default",path:"/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./BEziaSf_.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___en",path:"/en/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./BEziaSf_.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___sp",path:"/sp/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./BEziaSf_.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___zh-cn",path:"/zh-cn/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./BEziaSf_.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)},{name:"lang___en___default",path:"/:lang(.*)*",meta:{},alias:[],redirect:at==null?void 0:at.redirect,component:()=>He(()=>import("./GSEnbQqK.js"),__vite__mapDeps([5,2,3]),import.meta.url).then(e=>e.default||e)},{name:"lang___en",path:"/en/:lang(.*)*",meta:{},alias:[],redirect:at==null?void 0:at.redirect,component:()=>He(()=>import("./GSEnbQqK.js"),__vite__mapDeps([5,2,3]),import.meta.url).then(e=>e.default||e)},{name:"lang___sp",path:"/sp/:lang(.*)*",meta:{},alias:[],redirect:at==null?void 0:at.redirect,component:()=>He(()=>import("./GSEnbQqK.js"),__vite__mapDeps([5,2,3]),import.meta.url).then(e=>e.default||e)},{name:"lang___zh-cn",path:"/zh-cn/:lang(.*)*",meta:{},alias:[],redirect:at==null?void 0:at.redirect,component:()=>He(()=>import("./GSEnbQqK.js"),__vite__mapDeps([5,2,3]),import.meta.url).then(e=>e.default||e)},{name:"lang-resumes___en___default",path:"/:lang(.*)*/resumes",meta:{},alias:[],redirect:ct==null?void 0:ct.redirect,component:()=>He(()=>import("./DnHnA51o.js"),__vite__mapDeps([6,2,3,1,7]),import.meta.url).then(e=>e.default||e)},{name:"lang-resumes___en",path:"/en/:lang(.*)*/resumes",meta:{},alias:[],redirect:ct==null?void 0:ct.redirect,component:()=>He(()=>import("./DnHnA51o.js"),__vite__mapDeps([6,2,3,1,7]),import.meta.url).then(e=>e.default||e)},{name:"lang-resumes___sp",path:"/sp/:lang(.*)*/resumes",meta:{},alias:[],redirect:ct==null?void 0:ct.redirect,component:()=>He(()=>import("./DnHnA51o.js"),__vite__mapDeps([6,2,3,1,7]),import.meta.url).then(e=>e.default||e)},{name:"lang-resumes___zh-cn",path:"/zh-cn/:lang(.*)*/resumes",meta:{},alias:[],redirect:ct==null?void 0:ct.redirect,component:()=>He(()=>import("./DnHnA51o.js"),__vite__mapDeps([6,2,3,1,7]),import.meta.url).then(e=>e.default||e)}],tv=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Et(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function Cl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function nv(e,t){return e===t||t===bt?!1:Cl(e)!==Cl(t)?!0:!e.matched.every((r,s)=>{var o,i;return r.components&&r.components.default===((i=(o=t.matched[s])==null?void 0:o.components)==null?void 0:i.default)})}const rv={scrollBehavior(e,t,n){var l;const r=me(),s=((l=Ct().options)==null?void 0:l.scrollBehaviorType)??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&nv(e,t)&&(o={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Tl(e.hash),behavior:s}:!1;const a=u=>!!(u.meta.pageTransition??Di),c=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(c,async()=>{await new Promise(f=>setTimeout(f,0)),e.hash&&(o={el:e.hash,top:Tl(e.hash),behavior:s}),u(o)})})}};function Tl(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const sv={hashMode:!1,scrollBehaviorType:"auto"},et={...sv,...rv},ov=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=me(),s=Ct();if(([t,n]=Ot(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=ko({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=s.beforeResolve(l=>{if(a(),l===e){const u=s.afterEach(async()=>{u(),await r.runWithContext(()=>Kn(i)),window.history.pushState({},"",e.fullPath)});return!1}})},iv=async e=>{let t,n;const r=([t,n]=Ot(()=>Ia(e.path)),t=await t,n(),t);if(r.redirect)return xt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},av=[ov,iv],xr={};function cv(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const l=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(l);return u[0]!=="/"&&(u="/"+u),Vc(u,"")}const a=Vc(r,e),c=!n||Li(a,n,{trailingSlash:!0})?a:n;return c+(c.includes("?")?"":s)+o}const lv=qe({name:"nuxt:router",enforce:"pre",async setup(e){var T,b;let t,n,r=gt().app.baseURL;et.hashMode&&!r.includes("#")&&(r+="#");const s=((T=et.history)==null?void 0:T.call(et,r))??(et.hashMode?Rb(r):Md(r)),o=((b=et.routes)==null?void 0:b.call(et,Sl))??Sl;let i;const a=Jb({...et,scrollBehavior:(v,_,g)=>{if(_===bt){i=g;return}if(et.scrollBehavior){if(a.options.scrollBehavior=et.scrollBehavior,"scrollRestoration"in window.history){const w=a.beforeEach(()=>{w(),window.history.scrollRestoration="manual"})}return et.scrollBehavior(v,bt,i||g)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const c=In(a.currentRoute.value);a.afterEach((v,_)=>{c.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const l=cv(r,window.location,e.payload.path),u=In(a.currentRoute.value),f=()=>{u.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((v,_)=>{var g,w,C,P;((w=(g=v.matched[0])==null?void 0:g.components)==null?void 0:w.default)===((P=(C=_.matched[0])==null?void 0:C.components)==null?void 0:P.default)&&f()});const d={};for(const v in u.value)Object.defineProperty(d,v,{get:()=>u.value[v]});e._route=Zr(d),e._middleware=e._middleware||{global:[],named:{}};try{[t,n]=Ot(()=>a.isReady()),await t,n()}catch(v){[t,n]=Ot(()=>e.runWithContext(()=>Kn(v))),await t,n()}const p=l!==a.currentRoute.value.fullPath?a.resolve(l):a.currentRoute.value;f();const y=e.payload.state._layout;a.beforeEach(async(v,_)=>{var g;await e.callHook("page:loading:start"),v.meta=rt(v.meta),e.isHydrating&&y&&!On(v.meta.layout)&&(v.meta.layout=y),e._processingMiddleware=!0;{const w=new Set([...av,...e._middleware.global]);for(const C of v.matched){const P=C.meta.middleware;if(P)for(const k of Ma(P))w.add(k)}{const C=await e.runWithContext(()=>Ia(v.path));if(C.appMiddleware)for(const P in C.appMiddleware)C.appMiddleware[P]?w.add(P):w.delete(P)}for(const C of w){const P=typeof C=="string"?e._middleware.named[C]||await((g=xr[C])==null?void 0:g.call(xr).then(L=>L.default||L)):C;if(!P)throw new Error(`Unknown route middleware: '${C}'.`);const k=await e.runWithContext(()=>P(v,_));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const L=k||Ii({statusCode:404,statusMessage:`Page Not Found: ${l}`});return await e.runWithContext(()=>Kn(L)),!1}if(k!==!0&&(k||k===!1))return k}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")});const E=Po();return a.afterEach(async(v,_,g)=>{delete e._processingMiddleware,!e.isHydrating&&E.value&&await e.runWithContext(Wy),g&&await e.callHook("page:loading:end"),v.matched.length===0&&await e.runWithContext(()=>Kn(Ii({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`,data:{path:v.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=et.scrollBehavior}catch(v){await e.runWithContext(()=>Kn(v))}}),{provide:{router:a}}}}),uv="$s";function ss(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=uv+n,o=me(),i=cf(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(Ce(a))return o.payload.state[s]=a,a;i.value=a}return i}const fv=qe({name:"nuxt-site-config:init",enforce:"pre",async setup(e){const t=ss("site-config");let n={};return n=t.value||window.__NUXT_SITE_CONFIG__,{provide:{nuxtSiteConfig:n}}}}),Ll=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),iT=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Hd=e=>{const t=me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Ll(e)}):Ll(e)},dv=qe({name:"nuxt:payload",setup(e){Ct().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await ol(t.path);r&&Object.assign(e.static.data,r.data)}),Hd(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Lo(n).protocol||await ol(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Ao,1e3)})}}),hv=qe(e=>{let t;async function n(){const r=await Ao();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const s=await $fetch(ka("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}Hd(()=>{t=setTimeout(n,1e3*60*60)})}),pv=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT @@ -50,4 +50,4 @@ Use "options.replacer" or "options.ignoreUnknown" * Released under the MIT License. */const iw="9.11.1";function aw(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Da().__INTLIFY_PROD_DEVTOOLS__=!1)}const oh=UE.__EXTEND_POINT__,$t=$a(oh);$t(),$t(),$t(),$t(),$t(),$t(),$t(),$t(),$t();const ih=It.__EXTEND_POINT__,Ye=$a(ih),pt={UNEXPECTED_RETURN_TYPE:ih,INVALID_ARGUMENT:Ye(),MUST_BE_CALL_SETUP_TOP:Ye(),NOT_INSTALLED:Ye(),NOT_AVAILABLE_IN_LEGACY_MODE:Ye(),REQUIRED_VALUE:Ye(),INVALID_VALUE:Ye(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ye(),NOT_INSTALLED_WITH_PROVIDE:Ye(),UNEXPECTED_ERROR:Ye(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ye(),BRIDGE_SUPPORT_VUE_2_ONLY:Ye(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ye(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ye(),__EXTEND_POINT__:Ye()};function St(e,...t){return No(e,null,void 0)}const Yi=hn("__translateVNode"),Xi=hn("__datetimeParts"),zi=hn("__numberParts"),cw=hn("__setPluralRules"),lw=hn("__injectWithOption"),Ji=hn("__dispose");function qr(e){if(!ce(e))return e;for(const t in e)if(Zs(e,t))if(!t.includes("."))ce(e[t])&&qr(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let i=0;i{if("locale"in a&&"resource"in a){const{locale:c,resource:l}=a;c?(i[c]=i[c]||{},An(l,i[c])):An(l,i)}else W(a)&&An(JSON.parse(a),i)}),s==null&&o)for(const a in i)Zs(i,a)&&qr(i[a]);return i}function ch(e){return e.type}function uw(e,t,n){let r=ce(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=ah(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(ce(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ce(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function zl(e){return we(Nn,null,e,0)}const Jl="__INTLIFY_META__",Ql=()=>[],fw=()=>!1;let Zl=0;function eu(e){return(t,n,r,s)=>e(n,r,qt()||void 0,s)}const dw=()=>{const e=qt();let t=null;return e&&(t=ch(e)[Jl])?{[Jl]:t}:null};function lh(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson,i=Js?le:In,a=!!e.translateExistCompatible;let c=Te(e.inheritLocale)?e.inheritLocale:!0;const l=i(n&&c?n.locale.value:W(e.locale)?e.locale:eo),u=i(n&&c?n.fallbackLocale.value:W(e.fallbackLocale)||Le(e.fallbackLocale)||ue(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),f=i(ah(l.value,e)),d=i(ue(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),p=i(ue(e.numberFormats)?e.numberFormats:{[l.value]:{}});let y=n?n.missingWarn:Te(e.missingWarn)||Qs(e.missingWarn)?e.missingWarn:!0,E=n?n.fallbackWarn:Te(e.fallbackWarn)||Qs(e.fallbackWarn)?e.fallbackWarn:!0,T=n?n.fallbackRoot:Te(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,v=ye(e.missing)?e.missing:null,_=ye(e.missing)?eu(e.missing):null,g=ye(e.postTranslation)?e.postTranslation:null,w=n?n.warnHtmlMessage:Te(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const P=n?n.modifiers:ue(e.modifiers)?e.modifiers:{};let k=e.pluralRules||n&&n.pluralRules,L;L=(()=>{s&&Hl(null);const O={version:iw,locale:l.value,fallbackLocale:u.value,messages:f.value,modifiers:P,pluralRules:k,missing:_===null?void 0:_,missingWarn:y,fallbackWarn:E,fallbackFormat:b,unresolving:!0,postTranslation:g===null?void 0:g,warnHtmlMessage:w,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};O.datetimeFormats=d.value,O.numberFormats=p.value,O.__datetimeFormatters=ue(L)?L.__datetimeFormatters:void 0,O.__numberFormatters=ue(L)?L.__numberFormatters:void 0;const N=JE(O);return s&&Hl(N),N})(),_r(L,l.value,u.value);function F(){return[l.value,u.value,f.value,d.value,p.value]}const x=he({get:()=>l.value,set:O=>{l.value=O,L.locale=l.value}}),q=he({get:()=>u.value,set:O=>{u.value=O,L.fallbackLocale=u.value,_r(L,l.value,O)}}),ie=he(()=>f.value),oe=he(()=>d.value),H=he(()=>p.value);function Q(){return ye(g)?g:null}function z(O){g=O,L.postTranslation=O}function Ue(){return v}function st(O){O!==null&&(_=eu(O)),v=O,L.missing=_}const ke=(O,N,Z,re,be,je)=>{F();let Qe;try{__INTLIFY_PROD_DEVTOOLS__,s||(L.fallbackContext=n?zE():void 0),Qe=O(L)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(L.fallbackContext=void 0)}if(Z!=="translate exists"&&Fe(Qe)&&Qe===xo||Z==="translate exists"&&!Qe){const[cs,Un]=N();return n&&T?re(n):be(cs)}else{if(je(Qe))return Qe;throw St(pt.UNEXPECTED_RETURN_TYPE)}};function Ie(...O){return ke(N=>Reflect.apply(Kl,null,[N,...O]),()=>Ki(...O),"translate",N=>Reflect.apply(N.t,N,[...O]),N=>N,N=>W(N))}function Tt(...O){const[N,Z,re]=O;if(re&&!ce(re))throw St(pt.INVALID_ARGUMENT);return Ie(N,Z,Pe({resolvedMessage:!0},re||{}))}function yt(...O){return ke(N=>Reflect.apply(Gl,null,[N,...O]),()=>Gi(...O),"datetime format",N=>Reflect.apply(N.d,N,[...O]),()=>Ul,N=>W(N))}function Yt(...O){return ke(N=>Reflect.apply(Yl,null,[N,...O]),()=>qi(...O),"number format",N=>Reflect.apply(N.n,N,[...O]),()=>Ul,N=>W(N))}function Ae(O){return O.map(N=>W(N)||Fe(N)||Te(N)?zl(String(N)):N)}const G={normalize:Ae,interpolate:O=>O,type:"vnode"};function V(...O){return ke(N=>{let Z;const re=N;try{re.processor=G,Z=Reflect.apply(Kl,null,[re,...O])}finally{re.processor=null}return Z},()=>Ki(...O),"translate",N=>N[Yi](...O),N=>[zl(N)],N=>Le(N))}function X(...O){return ke(N=>Reflect.apply(Yl,null,[N,...O]),()=>qi(...O),"number format",N=>N[zi](...O),Ql,N=>W(N)||Le(N))}function ae(...O){return ke(N=>Reflect.apply(Gl,null,[N,...O]),()=>Gi(...O),"datetime format",N=>N[Xi](...O),Ql,N=>W(N)||Le(N))}function _e(O){k=O,L.pluralRules=k}function h(O,N){return ke(()=>{if(!O)return!1;const Z=W(N)?N:l.value,re=R(Z),be=L.messageResolver(re,O);return a?be!=null:ar(be)||ut(be)||W(be)},()=>[O],"translate exists",Z=>Reflect.apply(Z.te,Z,[O,N]),fw,Z=>Te(Z))}function m(O){let N=null;const Z=Xd(L,u.value,l.value);for(let re=0;re{c&&(l.value=O,L.locale=O,_r(L,l.value,u.value))}),Re(n.fallbackLocale,O=>{c&&(u.value=O,L.fallbackLocale=O,_r(L,l.value,u.value))}));const K={id:Zl,locale:x,fallbackLocale:q,get inheritLocale(){return c},set inheritLocale(O){c=O,O&&n&&(l.value=n.locale.value,u.value=n.fallbackLocale.value,_r(L,l.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:ie,get modifiers(){return P},get pluralRules(){return k||{}},get isGlobal(){return s},get missingWarn(){return y},set missingWarn(O){y=O,L.missingWarn=y},get fallbackWarn(){return E},set fallbackWarn(O){E=O,L.fallbackWarn=E},get fallbackRoot(){return T},set fallbackRoot(O){T=O},get fallbackFormat(){return b},set fallbackFormat(O){b=O,L.fallbackFormat=b},get warnHtmlMessage(){return w},set warnHtmlMessage(O){w=O,L.warnHtmlMessage=O},get escapeParameter(){return C},set escapeParameter(O){C=O,L.escapeParameter=O},t:Ie,getLocaleMessage:R,setLocaleMessage:A,mergeLocaleMessage:M,getPostTranslationHandler:Q,setPostTranslationHandler:z,getMissingHandler:Ue,setMissingHandler:st,[cw]:_e};return K.datetimeFormats=oe,K.numberFormats=H,K.rt=Tt,K.te=h,K.tm=S,K.d=yt,K.n=Yt,K.getDateTimeFormat=j,K.setDateTimeFormat=U,K.mergeDateTimeFormat=B,K.getNumberFormat=$,K.setNumberFormat=Y,K.mergeNumberFormat=ee,K[lw]=r,K[Yi]=V,K[Xi]=ae,K[zi]=X,K}const Ba={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function hw({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===De?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function uh(e){return De}const pw=mt({name:"i18n-t",props:Pe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Fe(e)||!isNaN(e)}},Ba),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Mo({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=W(e.plural)?+e.plural:e.plural);const a=hw(t,o),c=s[Yi](e.keypath,a,i),l=Pe({},r),u=W(e.tag)||ce(e.tag)?e.tag:uh();return Et(u,l,c)}}}),tu=pw;function mw(e){return Le(e)&&!W(e[0])}function fh(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),W(e.format)?i.key=e.format:ce(e.format)&&(W(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,p)=>n.includes(p)?Pe({},d,{[p]:e.format[p]}):d,{}));const c=r(e.value,i,a);let l=[i.key];Le(c)?l=c.map((d,p)=>{const y=s[d.type],E=y?y({[d.type]:d.value,index:p,parts:c}):[d.value];return mw(E)&&(E[0].key=`${d.type}-${p}`),E}):W(c)&&(l=[c]);const u=Pe({},o),f=W(e.tag)||ce(e.tag)?e.tag:uh();return Et(f,u,l)}}const gw=mt({name:"i18n-n",props:Pe({value:{type:Number,required:!0},format:{type:[String,Object]}},Ba),setup(e,t){const n=e.i18n||Mo({useScope:e.scope,__useComponent:!0});return fh(e,t,sh,(...r)=>n[zi](...r))}}),nu=gw,yw=mt({name:"i18n-d",props:Pe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ba),setup(e,t){const n=e.i18n||Mo({useScope:e.scope,__useComponent:!0});return fh(e,t,rh,(...r)=>n[Xi](...r))}}),ru=yw;function _w(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function bw(e){const t=i=>{const{instance:a,modifiers:c,value:l}=i;if(!a||!a.$)throw St(pt.UNEXPECTED_ERROR);const u=_w(e,a.$),f=su(l);return[Reflect.apply(u.t,u,[...ou(f)]),u]};return{created:(i,a)=>{const[c,l]=t(a);Js&&e.global===l&&(i.__i18nWatcher=Re(l.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=l,i.textContent=c},unmounted:i=>{Js&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const c=i.__composer,l=su(a);i.textContent=Reflect.apply(c.t,c,[...ou(l)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function su(e){if(W(e))return{path:e};if(ue(e)){if(!("path"in e))throw St(pt.REQUIRED_VALUE,"path");return e}else throw St(pt.INVALID_VALUE)}function ou(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return W(n)&&(i.locale=n),Fe(s)&&(i.plural=s),Fe(o)&&(i.plural=o),[t,a,i]}function vw(e,t,...n){const r=ue(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Te(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":tu.name,"I18nT"].forEach(i=>e.component(i,tu)),[nu.name,"I18nN"].forEach(i=>e.component(i,nu)),[ru.name,"I18nD"].forEach(i=>e.component(i,ru))),e.directive("t",bw(t))}const Ew=hn("global-vue-i18n");function ww(e={},t){const n=Te(e.globalInjection)?e.globalInjection:!0,r=!0,s=new Map,[o,i]=Sw(e),a=hn("");function c(f){return s.get(f)||null}function l(f,d){s.set(f,d)}function u(f){s.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return r},async install(d,...p){if(d.__VUE_I18N_SYMBOL__=a,d.provide(d.__VUE_I18N_SYMBOL__,f),ue(p[0])){const T=p[0];f.__composerExtend=T.__composerExtend,f.__vueI18nExtend=T.__vueI18nExtend}let y=null;n&&(y=Ow(d,f.global)),vw(d,f,...p);const E=d.unmount;d.unmount=()=>{y&&y(),f.dispose(),E()}},get global(){return i},dispose(){o.stop()},__instances:s,__getInstance:c,__setInstance:l,__deleteInstance:u};return f}}function Mo(e={}){const t=qt();if(t==null)throw St(pt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw St(pt.NOT_INSTALLED);const n=Cw(t),r=Lw(n),s=ch(t),o=Tw(e,s);if(o==="global")return uw(r,e,s),r;if(o==="parent"){let c=Rw(n,t,e.__useComponent);return c==null&&(c=r),c}const i=n;let a=i.__getInstance(t);if(a==null){const c=Pe({},e);"__i18n"in s&&(c.__i18n=s.__i18n),r&&(c.__root=r),a=lh(c),i.__composerExtend&&(a[Ji]=i.__composerExtend(a)),kw(i,t,a),i.__setInstance(t,a)}return a}function Sw(e,t,n){const r=Jr();{const s=r.run(()=>lh(e));if(s==null)throw St(pt.UNEXPECTED_ERROR);return[r,s]}}function Cw(e){{const t=Ke(e.isCE?Ew:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw St(e.isCE?pt.NOT_INSTALLED_WITH_PROVIDE:pt.UNEXPECTED_ERROR);return t}}function Tw(e,t){return Io(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Lw(e){return e.mode==="composition"?e.global:e.global.__composer}function Rw(e,t,n=!1){let r=null;const s=t.root;let o=Pw(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(o)),r!=null||s===o)break;o=o.parent}return r}function Pw(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function kw(e,t,n){$n(()=>{},t),Eo(()=>{const r=n;e.__deleteInstance(t);const s=r[Ji];s&&(s(),delete r[Ji])},t)}const Aw=["locale","fallbackLocale","availableLocales"],iu=["t","rt","d","n","tm","te"];function Ow(e,t){const n=Object.create(null);return Aw.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw St(pt.UNEXPECTED_ERROR);const i=Ce(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,iu.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw St(pt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,iu.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}aw();KE(tw);GE(LE);qE(Xd);if(__INTLIFY_PROD_DEVTOOLS__){const e=Da();e.__INTLIFY__=!0,ME(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Iw={lang:{t:0,b:{t:2,i:[{t:3}],s:"Language"}},toggle_dark:{t:0,b:{t:2,i:[{t:3}],s:"Toggle dark mode"}},head:{title:{t:0,b:{t:2,i:[{t:3}],s:"Resume.md - Free Online Resume Maker"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"Free online resume maker, allows you to create your resume in minutes with Markdown!"}},keywords:{t:0,b:{t:2,i:[{t:3}],s:"resume maker, cv maker, curriculum vitae maker, markdown resume"}}},landing:{hero:{t:0,b:{t:2,i:[{t:3}],s:"Write your resume in Markdown!"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"is a free and open source tool created to build and manage your resumes as easy as possible, without losing the privacy of your data."}},start:{t:0,b:{t:2,i:[{t:3}],s:"Create My Resume"}},feats:[{title:{t:0,b:{t:2,i:[{t:3}],s:"Simple and Powerful"}},items:{t:0,b:{t:2,i:[{t:3}],s:'Manage multiple resumes
Real-time preview
Export to PDF format
Fully customizable
Pick fonts and add icons
And more features'}}},{title:{t:0,b:{t:2,i:[{t:3}],s:"Privacy First"}},items:{t:0,b:{t:2,i:[{t:3}],s:"Open source and free
Data are saved locally
No login or registration required
No user tracking
No ads"}}}]},resumes:{my_resumes:{t:0,b:{t:2,i:[{t:3}],s:"My Resumes"}},created:{t:0,b:{t:2,i:[{t:3}],s:"Created: "}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Updated: "}},new:{t:0,b:{t:2,i:[{t:3}],s:"New"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Save"}},saveas:{t:0,b:{t:2,i:[{t:3}],s:"Save as..."}},import:{t:0,b:{t:2,i:[{t:3}],s:"Import from..."}},rename:{t:0,b:{t:2,i:[{t:3}],s:"Rename"}},duplicate:{t:0,b:{t:2,i:[{t:3}],s:"Duplicate"}},delete:{t:0,b:{t:2,i:[{t:3}],s:"Delete"}}},import:{title:{t:0,b:{t:2,i:[{t:3}],s:"Import a Markdown file"}},from_local:{t:0,b:{t:2,i:[{t:3}],s:"Drag your file here, or click here to choose a file"}},from_url:{t:0,b:{t:2,i:[{t:3}],s:"Paste file URL"}}},toolbar:{file:{text:{t:0,b:{t:2,i:[{t:3}],s:"Import / Export"}},import:{t:0,b:{t:2,i:[{t:3}],s:"Import Markdown"}},export_pdf:{t:0,b:{t:2,i:[{t:3}],s:"Export PDF"}},export_md:{t:0,b:{t:2,i:[{t:3}],s:"Export Markdown"}}},correct_case:{text:{t:0,b:{t:2,i:[{t:3}],s:"Correct Case"}},desc:{t:0,b:{t:2,i:[{t:3}],s:'Example: "Github" → "GitHub"
Note: the words only including uppercase or lowercase ("GITHUB" or "github") will be left untouched'}},btn:{t:0,b:{t:2,i:[{t:3}],s:"Correct it!"}}},paper:{t:0,b:{t:2,i:[{t:3}],s:"Paper Size"}},font_family:{t:0,b:{t:2,i:[{t:3}],s:"Font Family"}},font_size:{t:0,b:{t:2,i:[{t:3}],s:"Font Size"}},cjk:{t:0,b:{t:2,i:[{t:3}],s:"CJK"}},en:{t:0,b:{t:2,i:[{t:3}],s:"English"}},theme_color:{t:0,b:{t:2,i:[{t:3}],s:"Theme Color"}},paragraph:{t:0,b:{t:2,i:[{t:3}],s:"Paragraph Spacing"}},line:{t:0,b:{t:2,i:[{t:3}],s:"Line Spacing"}},margin:{t:0,b:{t:2,i:[{t:3}],s:"Margin"}},vertical:{t:0,b:{t:2,i:[{t:3}],s:"Top & Bottom"}},horizontal:{t:0,b:{t:2,i:[{t:3}],s:"Left & Right"}}},notification:{save:{t:0,b:{t:2,i:[{t:3}],s:"Your changes have been saved"}},switch:{t:0,b:{t:2,i:[{t:3,v:'Switched to resume "'},{t:4,k:"msg"},{t:3,v:'"'}]}},delete:{t:0,b:{t:2,i:[{t:3,v:'Resume "'},{t:4,k:"msg"},{t:3,v:'" has been deleted'}]}},new:{t:0,b:{t:2,i:[{t:3}],s:"New resume created"}},duplicate:{t:0,b:{t:2,i:[{t:3,v:'Created resume "'},{t:4,k:"old"},{t:3,v:`"'s duplication "`},{t:4,k:"new"},{t:3,v:'"'}]}},correct:{yes:{t:0,b:{t:2,i:[{t:3,v:"Corrected "},{t:4,k:"num"},{t:3,v:" words"}]}},no:{t:0,b:{t:2,i:[{t:3}],s:"All case are correct!"}}},import:{yes:{t:0,b:{t:2,i:[{t:3}],s:"Data has been successfully imported!"}},no:{t:0,b:{t:2,i:[{t:3}],s:"Data format is invalid."}}}}},Nw={lang:{t:0,b:{t:2,i:[{t:3}],s:"Idioma"}},toggle_dark:{t:0,b:{t:2,i:[{t:3}],s:"Cambiar tema claro/oscuro"}},head:{title:{t:0,b:{t:2,i:[{t:3}],s:"Resume.md - Generador de CV online GRATUITO!!"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"El creador de currículums vitae en línea gratuito le permite crear su currículum en minutos con Markdown!"}},keywords:{t:0,b:{t:2,i:[{t:3}],s:"generador curriculum, generador cv, generador curriculum vitae, curriculum markdown, markdown cv"}}},landing:{hero:{t:0,b:{t:2,i:[{t:3}],s:"Escribe tu curriculum vitae en Markdown!"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"es una herramienta gratuita y de código abierto creada para crear y administrar sus currículums de la manera más fácil posible, sin perder la privacidad de sus datos."}},start:{t:0,b:{t:2,i:[{t:3}],s:"Crear My Resumen"}},feats:[{title:{t:0,b:{t:2,i:[{t:3}],s:"Simple y poderoso"}},items:{t:0,b:{t:2,i:[{t:3}],s:'Administra multiples curriculums con
Vista previa en tiempo real
Exportar a PDF format
Completamente configurable
Elige fuentes y agrega íconos
Y más funciones'}}},{title:{t:0,b:{t:2,i:[{t:3}],s:"Primero tu privacidad"}},items:{t:0,b:{t:2,i:[{t:3}],s:"Open source, libre y gratuito
Información guardada en tu equipo
No necesita que te registres
No realizamos ningún trackeo ni mostramos publicidad
No ads"}}}]},resumes:{my_resumes:{t:0,b:{t:2,i:[{t:3}],s:"Mis CVs"}},created:{t:0,b:{t:2,i:[{t:3}],s:"Creado: "}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Actualizado: "}},new:{t:0,b:{t:2,i:[{t:3}],s:"Nuevo"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Guardar"}},saveas:{t:0,b:{t:2,i:[{t:3}],s:"Guardar como..."}},import:{t:0,b:{t:2,i:[{t:3}],s:"Importar desde..."}},rename:{t:0,b:{t:2,i:[{t:3}],s:"Renombrar"}},duplicate:{t:0,b:{t:2,i:[{t:3}],s:"Duplicar"}},delete:{t:0,b:{t:2,i:[{t:3}],s:"Eliminar"}}},import:{title:{t:0,b:{t:2,i:[{t:3}],s:"Importar un archivo Markdown"}},from_local:{t:0,b:{t:2,i:[{t:3}],s:"Subir archivo"}},from_url:{t:0,b:{t:2,i:[{t:3}],s:"Pegar desde URL"}}},toolbar:{file:{text:{t:0,b:{t:2,i:[{t:3}],s:"Importar / Exportar"}},import:{t:0,b:{t:2,i:[{t:3}],s:"Importar Markdown"}},export_pdf:{t:0,b:{t:2,i:[{t:3}],s:"Exportar PDF"}},export_md:{t:0,b:{t:2,i:[{t:3}],s:"Exportar Markdown"}}},correct_case:{text:{t:0,b:{t:2,i:[{t:3}],s:"Corregir Mayusculas"}},desc:{t:0,b:{t:2,i:[{t:3}],s:'Ejemplo: "Github" → "GitHub"
Nota: No se modificarán las palabras que sólo contengan mayúsculas o minúsculas ("GITHUB" or "github")'}},btn:{t:0,b:{t:2,i:[{t:3}],s:"Corrígelo!"}}},paper:{t:0,b:{t:2,i:[{t:3}],s:"Tamaño de hoja"}},font_family:{t:0,b:{t:2,i:[{t:3}],s:"Fuente"}},font_size:{t:0,b:{t:2,i:[{t:3}],s:"Tamaño de Fuente"}},cjk:{t:0,b:{t:2,i:[{t:3}],s:"CJK"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Inglés"}},theme_color:{t:0,b:{t:2,i:[{t:3}],s:"Color y tema"}},paragraph:{t:0,b:{t:2,i:[{t:3}],s:"Espaciado de párrafo"}},line:{t:0,b:{t:2,i:[{t:3}],s:"Espaciado de línea"}},margin:{t:0,b:{t:2,i:[{t:3}],s:"Margenes"}},vertical:{t:0,b:{t:2,i:[{t:3}],s:"Arriba & Abajo"}},horizontal:{t:0,b:{t:2,i:[{t:3}],s:"Izquierdo & Derecho"}}},notification:{save:{t:0,b:{t:2,i:[{t:3}],s:"Cambios Guardados"}},switch:{t:0,b:{t:2,i:[{t:3,v:'Cambiando a curriculum "'},{t:4,k:"msg"},{t:3,v:'"'}]}},delete:{t:0,b:{t:2,i:[{t:3,v:'Curriculum "'},{t:4,k:"msg"},{t:3,v:'" has been deleted'}]}},new:{t:0,b:{t:2,i:[{t:3}],s:"Creado nuevo resumen"}},duplicate:{t:0,b:{t:2,i:[{t:3,v:'Created resume "'},{t:4,k:"old"},{t:3,v:`"'s duplication "`},{t:4,k:"new"},{t:3,v:'"'}]}},correct:{yes:{t:0,b:{t:2,i:[{t:3,v:"Corregidos "},{t:4,k:"num"},{t:3,v:" palabras"}]}},no:{t:0,b:{t:2,i:[{t:3}],s:"Buen trabajo, no hubo nada que corregir!"}}},import:{yes:{t:0,b:{t:2,i:[{t:3}],s:"Datos importados correctamente!"}},no:{t:0,b:{t:2,i:[{t:3}],s:"Formato de datos inválido."}}}}},xw={lang:{t:0,b:{t:2,i:[{t:3}],s:"语言"}},toggle_dark:{t:0,b:{t:2,i:[{t:3}],s:"切换深色模式"}},head:{title:{t:0,b:{t:2,i:[{t:3}],s:"Resume.md - 免费的在线简历制作工具"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"免费的在线简历制作工具,使用 Markdown 来轻松制作您的简历!"}},keywords:{t:0,b:{t:2,i:[{t:3}],s:"Markdown 简历, 简历制作, 在线简历"}}},landing:{hero:{t:0,b:{t:2,i:[{t:3}],s:"用 Markdown 写简历!"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"能让您轻松的制作和管理简历,它开源免费,且绝不会(也无法)收集您的数据"}},start:{t:0,b:{t:2,i:[{t:3}],s:"开始制作简历"}},feats:[{title:{t:0,b:{t:2,i:[{t:3}],s:"简单且强大"}},items:{t:0,b:{t:2,i:[{t:3}],s:'创建并管理多份简历
实时预览
导出为 PDF 格式
可定制程度高
轻松切换字体和添加图标
以及更多特性'}}},{title:{t:0,b:{t:2,i:[{t:3}],s:"隐私优先"}},items:{t:0,b:{t:2,i:[{t:3}],s:"开源免费
数据保存在本地
无需登录或注册
没有用户追踪
没有广告"}}}]},resumes:{my_resumes:{t:0,b:{t:2,i:[{t:3}],s:"我的简历"}},created:{t:0,b:{t:2,i:[{t:3}],s:"创建于:"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新于:"}},new:{t:0,b:{t:2,i:[{t:3}],s:"新建"}},save:{t:0,b:{t:2,i:[{t:3}],s:"保存"}},saveas:{t:0,b:{t:2,i:[{t:3}],s:"另存为..."}},import:{t:0,b:{t:2,i:[{t:3}],s:"从...导入"}},duplicate:{t:0,b:{t:2,i:[{t:3}],s:"创建副本"}},rename:{t:0,b:{t:2,i:[{t:3}],s:"重命名"}},delete:{t:0,b:{t:2,i:[{t:3}],s:"删除"}}},import:{title:{t:0,b:{t:2,i:[{t:3}],s:"上传一个 Markdown 文件"}},from_local:{t:0,b:{t:2,i:[{t:3}],s:"将文件拖拽至这里,或点击这里以选择文件"}},from_url:{t:0,b:{t:2,i:[{t:3}],s:"粘贴文件 URL"}}},toolbar:{file:{text:{t:0,b:{t:2,i:[{t:3}],s:"导入 / 导出"}},import:{t:0,b:{t:2,i:[{t:3}],s:"导入 Markdown"}},export_pdf:{t:0,b:{t:2,i:[{t:3}],s:"导出为 PDF"}},export_md:{t:0,b:{t:2,i:[{t:3}],s:"导出为 Markdown"}}},correct_case:{text:{t:0,b:{t:2,i:[{t:3}],s:"专有名词大小写修正"}},desc:{t:0,b:{t:2,i:[{t:3}],s:'例如:"Github" → "GitHub"
注意:不会修正全为大写或小写字母的单词(如 "GITHUB" 或 "github")'}},btn:{t:0,b:{t:2,i:[{t:3}],s:"修正"}}},paper:{t:0,b:{t:2,i:[{t:3}],s:"纸张尺寸"}},font_family:{t:0,b:{t:2,i:[{t:3}],s:"字体"}},font_size:{t:0,b:{t:2,i:[{t:3}],s:"字号"}},cjk:{t:0,b:{t:2,i:[{t:3}],s:"中日韩"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英文"}},theme_color:{t:0,b:{t:2,i:[{t:3}],s:"主题色"}},paragraph:{t:0,b:{t:2,i:[{t:3}],s:"段间距"}},line:{t:0,b:{t:2,i:[{t:3}],s:"行间距"}},margin:{t:0,b:{t:2,i:[{t:3}],s:"页边距"}},vertical:{t:0,b:{t:2,i:[{t:3}],s:"上下"}},horizontal:{t:0,b:{t:2,i:[{t:3}],s:"左右"}}},notification:{save:{t:0,b:{t:2,i:[{t:3}],s:"保存成功"}},switch:{t:0,b:{t:2,i:[{t:3,v:'已切换到简历 "'},{t:4,k:"msg"},{t:3,v:'"'}]}},delete:{t:0,b:{t:2,i:[{t:3,v:'已删除简历 "'},{t:4,k:"msg"},{t:3,v:'"'}]}},new:{t:0,b:{t:2,i:[{t:3}],s:"新建成功"}},duplicate:{t:0,b:{t:2,i:[{t:3,v:'已创建简历 "'},{t:4,k:"old"},{t:3,v:'" 的副本 "'},{t:4,k:"new"},{t:3,v:'"'}]}},correct:{yes:{t:0,b:{t:2,i:[{t:3,v:"成功修正 "},{t:4,k:"num"},{t:3,v:" 个单词"}]}},no:{t:0,b:{t:2,i:[{t:3}],s:"您的所有拼写都是正确的!"}}},import:{yes:{t:0,b:{t:2,i:[{t:3}],s:"已成功导入数据!"}},no:{t:0,b:{t:2,i:[{t:3}],s:"数据格式不正确"}}}}},xn=["en","sp","zh-cn"],to={en:[{key:"../src/i18n/en.yaml",load:()=>Promise.resolve(Iw),cache:!0}],sp:[{key:"../src/i18n/sp.yaml",load:()=>Promise.resolve(Nw),cache:!0}],"zh-cn":[{key:"../src/i18n/zh-cn.yaml",load:()=>Promise.resolve(xw),cache:!0}]},Mw=[()=>He(()=>import("./bC257e71.js"),[],import.meta.url)],Do=[{code:"en",name:"English",icon:"i-icon-park-outline:english",files:[{path:"i18n/en.yaml"}]},{code:"sp",name:"Spanish",icon:"i-material-symbols:language-spanish",files:[{path:"i18n/sp.yaml"}]},{code:"zh-cn",name:"简体中文",icon:"i-icon-park-outline:chinese",files:[{path:"i18n/zh-cn.yaml"}]}],dh="@nuxtjs/i18n",Dw=!1,Fw="nuxtI18n",$w="i18n_redirected",au="nuxt-i18n-slp",Dr=new Map;async function Uw(e,t){const n={messages:{}};for(const r of e){const{default:s}=await r(),o=typeof s=="function"?await t.runWithContext(async()=>await s()):s;An(o,n)}return n}function hh(e,t){let n=[];if(Le(e))n=e;else if(ce(e)){const r=[...t,"default"];for(const s of r)e[s]&&(n=[...n,...e[s].filter(Boolean)])}else W(e)&&t.every(r=>r!==e)&&n.push(e);return n}async function jw(e,t,n){const{defaultLocale:r,initialLocale:s,localeCodes:o,fallbackLocale:i,lazy:a}=n;if(a&&i){const l=hh(i,[r,s]);await Promise.all(l.map(u=>cu(u,t,e)))}const c=a?[...new Set().add(r).add(s)]:o;return await Promise.all(c.map(l=>cu(l,t,e))),e}async function Hw(e,{key:t,load:n}){let r=null;try{const s=await n().then(o=>o.default||o);ye(s)?r=await s(e):(r=s,r!=null&&Dr&&Dr.set(t,r))}catch(s){console.error("Failed locale loading: "+s.message)}return r}async function no(e,t,n){const r=t[e];if(r==null){console.warn("Could not find messages for locale code: "+e);return}const s={};for(const o of r){let i=null;Dr&&Dr.has(o.key)&&o.cache?i=Dr.get(o.key):i=await Hw(e,o),i!=null&&An(i,s)}n(e,s)}async function cu(e,t,n){await no(e,t,(s,o)=>{const i=n[s]||{};An(o,i),n[s]=i})}const Bw=typeof window<"u";function Vw(e){e=e||[];const t=[];for(const n of e)W(n)?t.push({code:n}):t.push(n);return t}function Ww(e){return e!=null&&"global"in e&&"mode"in e}function Kw(e){return e!=null&&!("__composer"in e)&&"locale"in e&&Ce(e.locale)}function ph(e){return e!=null&&"__composer"in e}function mn(e){return Ww(e)?e.global:e}function cr(e){const t=mn(e);return Kw(t)?t:ph(t)?t.__composer:t}function Fo(e){return ne(mn(e).locale)}function Gw(e){return ne(mn(e).locales)}function qw(e){return ne(mn(e).localeCodes)}function mh(e,t){const n=mn(e);Ce(n.locale)?n.locale.value=t:n.locale=t}function gh(e){return W(e)?e:Kv(e)?e.toString():"(null)"}function lu(e,t,{defaultLocale:n,strategy:r,routesNameSeparator:s,defaultLocaleRouteNameSuffix:o}){let i=gh(e)+(r==="no_prefix"?"":s+t);return t===n&&r==="prefix_and_default"&&(i+=s+o),i}function uu(e,t){return ye(e)?e(t):e}function Yw(e,t){const n=[];for(const[r,s]of t.entries()){const o=e.find(i=>i.iso.toLowerCase()===s.toLowerCase());if(o){n.push({code:o.code,score:1-r/t.length});break}}for(const[r,s]of t.entries()){const o=s.split("-")[0].toLowerCase(),i=e.find(a=>a.iso.split("-")[0].toLowerCase()===o);if(i){n.push({code:i.code,score:.999-r/t.length});break}}return n}const Xw=Yw;function zw(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const Jw=zw;function Qw(e,t,{matcher:n=Xw,comparer:r=Jw}={}){const s=[];for(const i of e){const{code:a}=i,c=i.iso||a;s.push({code:a,iso:c})}const o=n(s,t);return o.length>1&&o.sort(r),o.length?o[0].code:""}function ro(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}function Zw(e,t){return[e.slice(0,t),e.slice(t)]}function e0(e){const{fullPath:t,query:n,hash:r,name:s,path:o,params:i,meta:a,redirectedFrom:c,matched:l}=e;return{fullPath:t,params:i,query:n,hash:r,name:s,path:o,meta:a,matched:l,redirectedFrom:c}}function t0({router:e},t,n,r){var l,u;if(n!=="prefix")return e.resolve(t);const[s,o]=Zw(t.path,1),i=`${s}${r}${o===""?o:`/${o}`}`,a=(u=(l=e.options)==null?void 0:l.routes)==null?void 0:u.find(f=>f.path===i);if(a==null)return t;const c=Pe({},t,a);return c.path=i,e.resolve(c)}const n0=new Set(["prefix_and_default","prefix_except_default"]);function r0(e){const{currentLocale:t,defaultLocale:n,strategy:r}=e;return!(t===n&&n0.has(r))&&r!=="no_prefix"}const s0=r0;function lr(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,r=ne(t);return r==null||!r.name?void 0:gh(r.name).split(n)[0]}function $o(e,t,n){var s;if(typeof t=="string"&&xt(t,{acceptRelative:!0}))return t;const r=Uo(e,t,n);return r==null?"":((s=r.redirectedFrom)==null?void 0:s.fullPath)||r.fullPath}function Va(e,t,n){return Uo(e,t,n)??void 0}function o0(e,t,n){return Uo(e,t,n)??void 0}function Uo(e,t,n){const{router:r,i18n:s}=e,o=n||Fo(s),{routesNameSeparator:i,defaultLocale:a,defaultLocaleRouteNameSuffix:c,strategy:l,trailingSlash:u}=e.runtimeConfig.public.i18n,f=v0(e.runtimeConfig);let d;if(W(t))if(t[0]==="/"){const{pathname:E,search:T,hash:b}=Ri(t),v=Zf(T);d={path:E,query:v,hash:b}}else d={name:t};else d=t;let p=Pe({},d);if((E=>"path"in E&&!!E.path&&!("name"in E))(p)){const E=t0(e,p,l,o),T=lr(e,E);W(T)?(p={name:lu(T,o,{defaultLocale:a,strategy:l,routesNameSeparator:i,defaultLocaleRouteNameSuffix:c}),params:E.params,query:E.query,hash:E.hash},p.state=E.state):(f({currentLocale:o,defaultLocale:a,strategy:l})&&(p.path=`/${o}${p.path}`),p.path=u?Gs(p.path,!0):Co(p.path,!0))}else!p.name&&!("path"in p)&&(p.name=lr(e,r.currentRoute.value)),p.name=lu(p.name,o,{defaultLocale:a,strategy:l,routesNameSeparator:i,defaultLocaleRouteNameSuffix:c});try{const E=r.resolve(p);return E.name?E:r.resolve(t)}catch(E){if(typeof E=="object"&&"type"in E&&E.type===1)return null}}const i0=e=>e;function a0(e,t){var r;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return ne(e.metaState.value);const n=t.meta||{};return((r=ne(n))==null?void 0:r[Fw])||{}}function ur(e,t,n){const r=n??e.router.currentRoute.value,s=lr(e,r);if(!s)return"";const o=E0(e.runtimeConfig),i=e0(r),a=a0(e,r)[t],c={...i,name:s,params:{...i.params,...a}},l=$o(e,c,t);return o(l,t)}function yh(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:r="hid"}){const{defaultDirection:s}=gt().public.i18n,o=cr(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(ne(o.locales)==null||ne(o.baseUrl)==null)return i;const a=Fo(e.i18n),c=Gw(e.i18n),l=Vw(c).find(d=>d.code===a)||{code:a},u=l.iso,f=l.dir||s;return t&&(i.htmlAttrs.dir=f),n&&a&&ne(o.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...c0(e,ne(c),r),...l0(e,r,n)),i.meta.push(...u0(e,r,n),...f0(l,u,r),...d0(ne(c),u,r))),i}function Wa(){const e=cr(me().$i18n);return ne(e.baseUrl)}function c0(e,t,n){const r=Wa(),{defaultLocale:s,strategy:o}=gt().public.i18n,i=[];if(o==="no_prefix")return i;const a=new Map;for(const c of t){const l=c.iso;if(!l){console.warn("Locale ISO code is required to generate alternate link");continue}const[u,f]=l.split("-");u&&f&&(c.isCatchallLocale||!a.has(u))&&a.set(u,c),a.set(l,c)}for(const[c,l]of a.entries()){const u=ur(e,l.code);u&&i.push({[n]:`i18n-alt-${c}`,rel:"alternate",href:Qi(u,r),hreflang:c})}if(s){const c=ur(e,s);c&&i.push({[n]:"i18n-xd",rel:"alternate",href:Qi(c,r),hreflang:"x-default"})}return i}function _h(e,t,n){const r=e.router.currentRoute.value,s=Va(e,{...r,path:void 0,name:lr(e,r)});if(!s)return"";let o=Qi(s.path,t);const i=ce(n)&&n.canonicalQueries||[],a=s.query,c=new URLSearchParams;for(const u of i)if(u in a){const f=a[u];Le(f)?f.forEach(d=>c.append(u,d||"")):c.append(u,f||"")}const l=c.toString();return l&&(o=`${o}?${l}`),o}function l0(e,t,n){const r=Wa(),s=_h(e,r,n);return s?[{[t]:"i18n-can",rel:"canonical",href:s}]:[]}function u0(e,t,n){const r=Wa(),s=_h(e,r,n);return s?[{[t]:"i18n-og-url",property:"og:url",content:s}]:[]}function f0(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:bh(t)}]}function d0(e,t,n){return e.filter(s=>s.iso&&s.iso!==t).map(s=>({[n]:`i18n-og-alt-${s.iso}`,property:"og:locale:alternate",content:bh(s.iso)}))}function bh(e){return(e||"").replace(/-/g,"_")}function Qi(e,t){return e.match(/^https?:\/\//)?e:t+e}function h0(e,t){return is(e,"setLocale",t)}function p0(e,t){return is(e,"setLocaleCookie",t)}function vh(e,t,n){return is(e,"mergeLocaleMessage",t,n)}function m0(e,t,n,r,s){return is(e,"onBeforeLanguageSwitch",t,n,r,s)}function g0(e,t,n){return is(e,"onLanguageSwitched",t,n)}function Ka(e){return{i18n:e??me().$i18n,router:Ct(),runtimeConfig:gt(),metaState:ss("nuxt-i18n-meta",()=>({}))}}async function fu(e,t,n,r=!1){const{differentDomains:s,skipSettingLocaleOnNavigate:o,lazy:i}=n,a=as(n),c=me(),l=Fo(t),u=qw(t);function f(p=l){a===!1||!a.useCookie||o||p0(t,p)}if(!e||!r&&s||l===e)return f(),!1;const d=await m0(t,l,e,r,c);if(d&&u.includes(d)){if(l===d)return f(),!1;e=d}if(i){const p=S0(t,"fallbackLocale"),y=(E,T)=>vh(t,E,T);if(p){const E=hh(p,[e]);await Promise.all(E.map(T=>no(T,to,y)))}await no(e,to,y)}return o?!1:(f(e),mh(t,e),await g0(t,l,e),!0)}function du(e,t,n,r,s,o){const{strategy:i,defaultLocale:a,differentDomains:c}=o,l=as(o),u=ye(r)?r():r,{ssg:f,callType:d,firstAccess:p,localeCookie:y}=s,{locale:E,stat:T,reason:b,from:v}=l?Ch(e,n,s,u):Sh;if(b==="detect_ignore_on_ssg")return u;if((v==="navigator_or_header"||v==="cookie"||v==="fallback")&&E)return E;let _=E;return _||(c?_=R0(Do,i,e):i!=="no_prefix"?_=t(e):l||(_=u)),!_&&l&&l.useCookie&&(_=y||""),_||(_=a||""),_}function hu({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:r=!1}){const s=me(),o=Ka(),{strategy:i,differentDomains:a}=o.runtimeConfig.public.i18n;let c="";const{fullPath:l}=e.to;if(!a&&(r||i!=="no_prefix")&&n(e.to)!==t){const u=s.$switchLocalePath(t)||s.$localePath(l,t);W(u)&&u&&!Li(u,l)&&!u.startsWith("//")&&(c=e.from&&e.from.fullPath===u?"":u)}if((a||!0)&&n(e.to)!==t){const u=ur(o,t,e.to);W(u)&&u&&!Li(u,l)&&!u.startsWith("//")&&(c=u)}return c}function y0(e){return ce(e)&&"path"in e&&"statusCode"in e}const _0=()=>ss(dh+":redirect",()=>"");function pu(e,t){return Vy(e,{redirectCode:t})}async function mu(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:r,i18n:s,locale:o,route:i}=e,{rootRedirect:a,differentDomains:c,skipSettingLocaleOnNavigate:l}=r.$config.public.i18n;let{redirectPath:u}=e;if(i.path==="/"&&a)return W(a)?u="/"+a:y0(a)&&(u="/"+a.path,t=a.statusCode),u=r.$localePath(u,o),pu(u,t);if(!(l&&(s.__pendingLocale=o,s.__pendingLocalePromise=new Promise(f=>{s.__resolvePendingLocalePromise=f}),!n))){if(c){const f=_0();f.value&&f.value!==u&&(f.value="",window.location.assign(u))}else if(u)return pu(u,t)}}function b0(e,t){Hn(e,"$i18n",mn(t)),Hn(e,"$getRouteBaseName",ze(lr)),Hn(e,"$localePath",ze($o)),Hn(e,"$localeRoute",ze(Va)),Hn(e,"$switchLocalePath",ze(ur)),Hn(e,"$localeHead",ze(yh))}function v0(e=gt()){return t=>s0(t)&&!e.public.i18n.differentDomains}function E0(e=gt()){return(t,n)=>{if(e.public.i18n.differentDomains){const r=Th(n);return r?To(r,t):t}else return i0(t)}}function w0(){return()=>{const e=me(),{baseUrl:t,defaultLocale:n,differentDomains:r}=e.$config.public.i18n;if(ye(t))return t(e);const s=ye(n)?n():n;if(r&&s){const o=Th(s);if(o)return o}return t}}function Eh(e){return dh+" "+e}function is(e,t,...n){const r=mn(e),[s,o]=[r,r[t]];return Reflect.apply(o,s,[...n])}function S0(e,t){const n=mn(e);return ne(n[t])}function Hn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ze(e,t=Ka()){return(...n)=>e(t,...n)}function wh(){let e;return navigator.languages&&(e=Qw(Do,navigator.languages)),e}function C0(){const e=as(),t=e&&e.cookieKey||$w,n=new Date,r={expires:new Date(n.setDate(n.getDate()+365)),path:"/",sameSite:e&&e.cookieCrossOrigin?"none":"lax",secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return e&&e.cookieDomain&&(r.domain=e.cookieDomain),Sv(t,r)}function Ts(e,t,n){if(t===!1||!t.useCookie)return;const r=e.value??void 0;if(r!=null){if(xn.includes(r))return r;if(n)return e.value=n,n;e.value=void 0}}function T0(e,t,n){n===!1||!n.useCookie||(e.value=t)}const Sh={locale:"",stat:!1,reason:"unknown",from:"unknown"};function Ch(e,t,n,r=""){const{strategy:s}=gt().public.i18n,{ssg:o,callType:i,firstAccess:a,localeCookie:c}=n;if(s==="no_prefix"&&o==="ssg_ignore")return{locale:"",stat:!0,reason:"detect_ignore_on_ssg"};if(!a)return{locale:s==="no_prefix"?r:"",stat:!1,reason:"first_access_only"};const{redirectOn:l,alwaysRedirect:u,useCookie:f,fallbackLocale:d}=as(),p=W(e)?e:e.path;if(s!=="no_prefix"){if(l==="root"){if(p!=="/")return{locale:"",stat:!1,reason:"not_redirect_on_root"}}else if(l==="no prefix"&&!u&&p.match(ro(xn)))return{locale:"",stat:!1,reason:"not_redirect_on_no_prefix"}}let y="unknown",E,T;f&&(T=E=c,y="cookie"),T||(T=wh(),y="navigator_or_header");const b=T||d;!T&&d&&(y="fallback");const v=r||t;if(b&&(!f||u||!E)){if(s==="no_prefix")return{locale:b,stat:!0,from:y};if(i==="setup"&&b!==v)return{locale:b,stat:!0,from:y};if(u){const _=p==="/",g=l==="all",w=l==="no prefix"&&!p.match(ro(xn));if(_||g||w)return{locale:b,stat:!0,from:y}}}return o==="ssg_setup"&&b?{locale:b,stat:!0,from:y}:(y==="navigator_or_header"||y==="cookie")&&b?{locale:b,stat:!0,from:y}:{locale:"",stat:!1,reason:"not_found_match"}}function L0(){let e;return e=window.location.host,e}function R0(e,t,n){let r=L0()||"";if(r){let s;const o=e.filter(i=>{if(i&&i.domain){let a=i.domain;return xt(i.domain)&&(a=i.domain.replace(/(http|https):\/\//,"")),a===r}return!1});if(o.length===1)s=o[0];else if(o.length>1)if(t==="no_prefix")console.warn(Eh("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),s=o[0];else{if(n){const i=ce(n)?n.path:W(n)?n:"";if(i&&i!==""){const a=i.match(ro(o.map(c=>c.code)));a&&a.length>1&&(s=o.find(c=>c.code===a[1]))}}s||(s=o.find(i=>i.domainDefault))}if(s)return s.code;r=""}return r}function Th(e){var o,i;const n=gt().public.i18n,r=Do.find(a=>a.code===e),s=((i=(o=n==null?void 0:n.locales)==null?void 0:o[e])==null?void 0:i.domain)??(r==null?void 0:r.domain);if(s){if(xt(s,{strict:!0}))return s;let a;return a=new URL(window.location.origin).protocol,a+"//"+s}console.warn(Eh("Could not find domain name for locale "+e))}const as=(e=gt().public.i18n)=>(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage;function cT(){return ze($o)}function P0(){return ze(ur)}function k0(e,{locales:t=[],localeCodes:n=[],baseUrl:r="",hooks:s={},context:o={}}={}){const i=Jr(),a=e.install;return e.install=(c,...l)=>{const u=I0(l[0])?Pe({},l[0]):{inject:!0};u.inject==null&&(u.inject=!0);const f=u.__composerExtend;if(u.__composerExtend=E=>{const T=cr(e);E.locales=he(()=>T.locales.value),E.localeCodes=he(()=>T.localeCodes.value),E.baseUrl=he(()=>T.baseUrl.value);let b;return ye(f)&&(b=Reflect.apply(f,u,[E])),()=>{b&&b()}},e.mode==="legacy"){const E=u.__vueI18nExtend;u.__vueI18nExtend=T=>{gu(T,s.onExtendVueI18n);let b;return ye(E)&&(b=Reflect.apply(E,u,[T])),()=>{b&&b()}}}l[0]=u,Reflect.apply(a,e,[c,...l]);const d=cr(e);i.run(()=>{A0(d,{locales:t,localeCodes:n,baseUrl:r,hooks:s,context:o}),e.mode==="legacy"&&ph(e.global)&&gu(e.global,s.onExtendVueI18n)});const p=c,y=e.mode==="composition"?p.config.globalProperties.$i18n:null;if(y&&O0(y,d,s.onExtendExportedGlobal),u.inject){const E=Ka(e);c.mixin({methods:{getRouteBaseName:ze(lr,E),resolveRoute:ze(Uo,E),localePath:ze($o,E),localeRoute:ze(Va,E),localeLocation:ze(o0,E),switchLocalePath:ze(ur,E),localeHead:ze(yh,E)}})}if(p.unmount){const E=p.unmount;p.unmount=()=>{i.stop(),E()}}},i}function A0(e,t){const{locales:n,localeCodes:r,baseUrl:s,context:o}=t,i=le(n),a=le(r),c=le("");e.locales=he(()=>i.value),e.localeCodes=he(()=>a.value),e.baseUrl=he(()=>c.value),Bw?Re(e.locale,()=>{c.value=uu(s,o)},{immediate:!0}):c.value=uu(s,o),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function Lh(e,t,n){const r=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&r.push(n(e));for(const s of r)for(const[o,i]of Object.entries(s))Object.defineProperty(t,o,i)}function O0(e,t,n){Lh(t,e,n)}function gu(e,t){const n=cr(e);Lh(n,e,t)}function I0(e){return ce(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}function N0(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=gt().public.i18n,n=`(${xn.join("|")})`,r=`(?:${e}${t})?`,s=new RegExp(`${e}${n}${r}$`,"i"),o=ro(xn);return a=>{if(ce(a)){if(a.name){const l=(W(a.name)?a.name:a.name.toString()).match(s);if(l&&l.length>1)return l[1]}else if(a.path){const c=a.path.match(o);if(c&&c.length>1)return c[1]}}else if(W(a)){const c=a.match(o);if(c&&c.length>1)return c[1]}return""}}const x0=qe({name:"i18n:plugin",parallel:Dw,async setup(e){let t,n;const r=Aa(),{vueApp:s}=e,o=e,i={...o.$config.public.i18n};i.baseUrl=w0();const a=as(),c=([t,n]=Ot(()=>Uw(Mw,me())),t=await t,n(),t);c.messages=c.messages||{},c.fallbackLocale=c.fallbackLocale??!1;const l=N0(),u=g=>g||c.locale||"en-US",f=C0();let d=du(r,l,c.locale,u(i.defaultLocale),{ssg:i.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:Ts(f,a,i.defaultLocale)},i);c.messages=([t,n]=Ot(()=>jw(c.messages,to,{localeCodes:xn,initialLocale:d,lazy:i.lazy,defaultLocale:i.defaultLocale,fallbackLocale:c.fallbackLocale})),t=await t,n(),t),d=u(d);const p=ww({...c,locale:d});let y=!0;const E=g=>d!==g&&y;let T=!0;const b=()=>T;b()&&i.strategy==="no_prefix"&&e.hook("app:mounted",async()=>{const{locale:g,stat:w,reason:C,from:P}=a?Ch(r,c.locale,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:Ts(f,a,i.defaultLocale)},d):Sh;h0(p,g),T=!1}),k0(p,{locales:i.configLocales,localeCodes:xn,baseUrl:i.baseUrl,context:o,hooks:{onExtendComposer(g){g.strategy=i.strategy,g.localeProperties=he(()=>Do.find(w=>w.code===g.locale.value)||{code:g.locale.value}),g.setLocale=async w=>{const C=E(w);await fu(w,p,i,C)&&C&&(y=!1);const k=await o.runWithContext(()=>hu({route:{to:r},targetLocale:w,routeLocaleGetter:l}));await o.runWithContext(async()=>await mu({nuxtApp:o,i18n:p,redirectPath:k,locale:w,route:r},{enableNavigate:!0}))},g.loadLocaleMessages=async w=>{await no(w,to,(P,k)=>vh(p,P,k))},g.differentDomains=i.differentDomains,g.defaultLocale=i.defaultLocale,g.getBrowserLocale=()=>wh(),g.getLocaleCookie=()=>Ts(f,a,i.defaultLocale),g.setLocaleCookie=w=>T0(f,w,a),g.onBeforeLanguageSwitch=(w,C,P,k)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:w,newLocale:C,initialSetup:P,context:k}),g.onLanguageSwitched=(w,C)=>e.callHook("i18n:localeSwitched",{oldLocale:w,newLocale:C}),g.finalizePendingLocaleChange=async()=>{p.__pendingLocale&&(mh(p,p.__pendingLocale),p.__resolvePendingLocalePromise&&await p.__resolvePendingLocalePromise(),p.__pendingLocale=void 0)},g.waitForPendingLocaleChange=async()=>{p.__pendingLocale&&p.__pendingLocalePromise&&await p.__pendingLocalePromise}},onExtendExportedGlobal(g){return{strategy:{get(){return g.strategy}},localeProperties:{get(){return g.localeProperties.value}},setLocale:{get(){return async w=>Reflect.apply(g.setLocale,g,[w])}},differentDomains:{get(){return g.differentDomains}},defaultLocale:{get(){return g.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(g.getBrowserLocale,g,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(g.getLocaleCookie,g,[])}},setLocaleCookie:{get(){return w=>Reflect.apply(g.setLocaleCookie,g,[w])}},onBeforeLanguageSwitch:{get(){return(w,C,P,k)=>Reflect.apply(g.onBeforeLanguageSwitch,g,[w,C,P,k])}},onLanguageSwitched:{get(){return(w,C)=>Reflect.apply(g.onLanguageSwitched,g,[w,C])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(g.finalizePendingLocaleChange,g,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(g.waitForPendingLocaleChange,g,[])}}}},onExtendVueI18n(g){return{strategy:{get(){return g.strategy}},localeProperties:{get(){return g.localeProperties.value}},setLocale:{get(){return async w=>Reflect.apply(g.setLocale,g,[w])}},loadLocaleMessages:{get(){return async w=>Reflect.apply(g.loadLocaleMessages,g,[w])}},differentDomains:{get(){return g.differentDomains}},defaultLocale:{get(){return g.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(g.getBrowserLocale,g,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(g.getLocaleCookie,g,[])}},setLocaleCookie:{get(){return w=>Reflect.apply(g.setLocaleCookie,g,[w])}},onBeforeLanguageSwitch:{get(){return(w,C,P,k)=>Reflect.apply(g.onBeforeLanguageSwitch,g,[w,C,P,k])}},onLanguageSwitched:{get(){return(w,C)=>Reflect.apply(g.onLanguageSwitched,g,[w,C])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(g.finalizePendingLocaleChange,g,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(g.waitForPendingLocaleChange,g,[])}}}}}});const v={__composerExtend:g=>{const w=cr(p);return g.strategy=w.strategy,g.localeProperties=he(()=>w.localeProperties.value),g.setLocale=w.setLocale,g.differentDomains=w.differentDomains,g.getBrowserLocale=w.getBrowserLocale,g.getLocaleCookie=w.getLocaleCookie,g.setLocaleCookie=w.setLocaleCookie,g.onBeforeLanguageSwitch=w.onBeforeLanguageSwitch,g.onLanguageSwitched=w.onLanguageSwitched,g.finalizePendingLocaleChange=w.finalizePendingLocaleChange,g.waitForPendingLocaleChange=w.waitForPendingLocaleChange,()=>{}}};if(s.use(p,v),b0(o,p),i.experimental.switchLocalePathLinkSSR===!0){const g=P0(),w=new RegExp([``,".+?",``].join(""),"g");e.hook("app:rendered",C=>{var P;((P=C.renderResult)==null?void 0:P.html)!=null&&(C.renderResult.html=C.renderResult.html.replaceAll(w,(k,L)=>k.replace(/href="([^"]+)"/,`href="${g(L??"")}"`)))})}let _=0;Hy("locale-changing",async(g,w)=>{let C,P;const k=du(g,l,c.locale,()=>Fo(p)||u(i.defaultLocale),{ssg:b()&&i.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:_===0,localeCookie:Ts(f,a,i.defaultLocale)},i),L=E(k);([C,P]=Ot(()=>fu(k,p,i,L)),C=await C,P(),C)&&L&&(y=!1);const F=([C,P]=Ot(()=>o.runWithContext(()=>hu({route:{to:g,from:w},targetLocale:k,routeLocaleGetter:i.strategy==="no_prefix"?()=>k:l,calledWithRouting:!0}))),C=await C,P(),C);return _++,[C,P]=Ot(()=>o.runWithContext(async()=>mu({nuxtApp:o,i18n:p,redirectPath:F,locale:k,route:g}))),C=await C,P(),C},{global:!0})}}),M0=qe(()=>{}),D0=qe({name:"nuxt:chunk-reload",setup(e){const t=Ct(),n=gt(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const a="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:To(n.app.baseURL,o.fullPath);Rv({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),F0=[Y_,z_,lv,fv,dv,hv,Pv,kv,Av,Iv,Fv,jv,x0,M0,D0],yu={pwaInDevEnvironment:!1,webManifest:{href:"/manifest.webmanifest",useCredentials:!1,linkTag:''}},$0=mt({async setup(){if(yu){const e=le({link:[]});Sd(e);const{webManifest:t}=yu;if(t){const{href:n,useCredentials:r}=t;r?e.value.link.push({rel:"manifest",href:n,crossorigin:"use-credentials"}):e.value.link.push({rel:"manifest",href:n})}}return()=>null}}),U0=mt({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const s in e.route)Object.defineProperty(r,s,{get:()=>t===e.renderKey?e.route[s]:n[s]});return tr(Ro,Zr(r)),()=>Et(e.vnode,{ref:e.vnodeRef})}}),j0=mt({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=me(),s=le(),o=Ke(Ro,null);let i;n({pageRef:s});const a=Ke(jy,null);let c;const l=r.deferHydration();if(r.isHydrating){const u=r.hooks.hookOnce("app:error",l);Ct().beforeEach(u)}return e.pageKey&&Re(()=>e.pageKey,(u,f)=>{u!==f&&r.callHook("page:loading:start")}),()=>Et(jd,{name:e.name,route:e.route,...t},{default:u=>{const f=B0(o,u.route,u.Component),d=o&&o.matched.length===u.route.matched.length;if(!u.Component){if(c&&!d)return c;l();return}if(c&&a&&!a.isCurrent(u.route))return c;if(f&&o&&(!a||a!=null&&a.isCurrent(o)))return d?c:null;const p=ji(u,e.pageKey);!r.isHydrating&&!V0(o,u.route,u.Component)&&i===p&&r.callHook("page:loading:end"),i=p;const y=!!(e.transition??u.route.meta.pageTransition??Di),E=y&&H0([e.transition,u.route.meta.pageTransition,Di,{onAfterLeave:()=>{r.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),T=e.keepalive??u.route.meta.keepalive??j_;return c=tv(La,y&&E,ev(T,Et(_f,{suspensible:!0,onPending:()=>r.callHook("page:start",u.Component),onResolve:()=>{Kt(()=>r.callHook("page:finish",u.Component).then(()=>r.callHook("page:loading:end")).finally(l))}},{default:()=>{const b=Et(U0,{key:p||void 0,vnode:u.Component,route:u.route,renderKey:p||void 0,trackRootNodes:y,vnodeRef:s});return T&&(b.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),b}}))).default(),c}})}});function H0(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Ma(n.onAfterLeave):void 0}));return pd(...t)}function B0(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>{var i,a,c;return((i=s.components)==null?void 0:i.default)!==((c=(a=e.matched[o])==null?void 0:a.components)==null?void 0:c.default)})||n&&ji({route:t,Component:n})!==ji({route:e,Component:n})}function V0(e,t,n){return e?t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)})e&&(Zi.has(e)?Zi.get(e):_u(e)===Object.prototype||_u(e)===Array.prototype),G0=e=>K0(e)&&e[W0]||null,bu=(e,t=!0)=>{Zi.set(e,t)};var ii=e=>typeof e=="object"&&e!==null,wn=new WeakMap,wr=new WeakSet,q0=(e=Object.is,t=(l,u)=>new Proxy(l,u),n=l=>ii(l)&&!wr.has(l)&&(Array.isArray(l)||!(Symbol.iterator in l))&&!(l instanceof WeakMap)&&!(l instanceof WeakSet)&&!(l instanceof Error)&&!(l instanceof Number)&&!(l instanceof Date)&&!(l instanceof String)&&!(l instanceof RegExp)&&!(l instanceof ArrayBuffer),r=l=>{switch(l.status){case"fulfilled":return l.value;case"rejected":throw l.reason;default:throw l}},s=new WeakMap,o=(l,u,f=r)=>{const d=s.get(l);if((d==null?void 0:d[0])===u)return d[1];const p=Array.isArray(l)?[]:Object.create(Object.getPrototypeOf(l));return bu(p,!0),s.set(l,[u,p]),Reflect.ownKeys(l).forEach(y=>{const E=Reflect.get(l,y);wr.has(E)?(bu(E,!1),p[y]=E):E instanceof Promise?Object.defineProperty(p,y,{get(){return f(E)}}):wn.has(E)?p[y]=Tn(E,f):p[y]=E}),Object.freeze(p)},i=new WeakMap,a=[1,1],c=l=>{if(!ii(l))throw new Error("object required");const u=i.get(l);if(u)return u;let f=a[0];const d=new Set,p=(L,I=++a[0])=>{f!==I&&(f=I,d.forEach(F=>F(L,I)))};let y=a[1];const E=(L=++a[1])=>(y!==L&&!d.size&&(y=L,b.forEach(([I])=>{const F=I[1](L);F>f&&(f=F)})),f),T=L=>(I,F)=>{const x=[...I];x[1]=[L,...x[1]],p(x,F)},b=new Map,v=(L,I)=>{if(d.size){const F=I[3](T(L));b.set(L,[I,F])}else b.set(L,[I])},_=L=>{var F;const I=b.get(L);I&&(b.delete(L),(F=I[1])==null||F.call(I))},g=L=>(d.add(L),d.size===1&&b.forEach(([F,x],q)=>{const ie=F[3](T(q));b.set(q,[F,ie])}),()=>{d.delete(L),d.size===0&&b.forEach(([F,x],q)=>{x&&(x(),b.set(q,[F]))})}),w=Array.isArray(l)?[]:Object.create(Object.getPrototypeOf(l)),P=t(w,{deleteProperty(L,I){const F=Reflect.get(L,I);_(I);const x=Reflect.deleteProperty(L,I);return x&&p(["delete",[I],F]),x},set(L,I,F,x){var H;const q=Reflect.has(L,I),ie=Reflect.get(L,I,x);if(q&&(e(ie,F)||i.has(F)&&e(ie,i.get(F))))return!0;_(I),ii(F)&&(F=G0(F)||F);let oe=F;if(!((H=Object.getOwnPropertyDescriptor(L,I))!=null&&H.set))if(F instanceof Promise)F.then(Q=>{Object.assign(F,{status:"fulfilled",value:Q}),p(["resolve",[I],Q])}).catch(Q=>{Object.assign(F,{status:"rejected",reason:Q}),p(["reject",[I],Q])});else{!wn.has(F)&&n(F)&&(oe=Ga(F));const Q=!wr.has(oe)&&wn.get(oe);Q&&v(I,Q)}return Reflect.set(L,I,oe,x),p(["set",[I],F,ie]),!0}});i.set(l,P);const k=[w,E,o,g];return wn.set(P,k),Reflect.ownKeys(l).forEach(L=>{const I=Object.getOwnPropertyDescriptor(l,L);I.get||I.set?Object.defineProperty(w,L,I):P[L]=l[L]}),P})=>[c,wn,wr,e,t,n,r,s,o,i,a],[Y0]=q0();function Ga(e={}){return Y0(e)}function so(e,t,n){const r=wn.get(e);let s;const o=[],i=r[3];let a=!1;const l=i(u=>{if(o.push(u),n){t(o.splice(0));return}s||(s=Promise.resolve().then(()=>{s=void 0,a&&t(o.splice(0))}))});return a=!0,()=>{a=!1,l()}}function Tn(e,t){const n=wn.get(e),[r,s,o]=n;return o(r,s(),t)}function vu(e){return wr.add(e),e}function X0(e,t){Object.keys(t).forEach(s=>{if(Object.getOwnPropertyDescriptor(e,s))throw new Error("object property already defined");const o=t[s],{get:i,set:a}=typeof o=="function"?{get:o}:o,c={};c.get=()=>i(Tn(r)),a&&(c.set=l=>a(r,l)),Object.defineProperty(e,s,c)});const r=Ga(e);return r}function Eu(e,t,n){typeof n.value=="object"&&(n.value=Gn(n.value)),!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"?Object.defineProperty(e,t,n):e[t]=n.value}function Gn(e){if(typeof e!="object")return e;var t=0,n,r,s,o=Object.prototype.toString.call(e);if(o==="[object Object]"?s=Object.create(e.__proto__||null):o==="[object Array]"?s=Array(e.length):o==="[object Set]"?(s=new Set,e.forEach(function(i){s.add(Gn(i))})):o==="[object Map]"?(s=new Map,e.forEach(function(i,a){s.set(Gn(a),Gn(i))})):o==="[object Date]"?s=new Date(+e):o==="[object RegExp]"?s=new RegExp(e.source,e.flags):o==="[object DataView]"?s=new e.constructor(Gn(e.buffer)):o==="[object ArrayBuffer]"?s=e.slice(0):o.slice(-6)==="Array]"&&(s=new e.constructor(e)),s){for(r=Object.getOwnPropertySymbols(e);tt in e?z0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t,n)=>(J0(e,typeof t!="symbol"?t+"":t,n),n);function Q0(e){for(;e.length>0;)e.pop();return e}var wu=(e,...t)=>(typeof e=="function"?e(...t):e)??void 0,Ut=e=>e,Z0=()=>{},eS=(...e)=>(...t)=>{e.forEach(function(n){n==null||n(...t)})},Su=(()=>{let e=0;return()=>(e++,e.toString(36))})(),oo=e=>Array.isArray(e),Fr=e=>!(e==null||typeof e!="object"||oo(e)),tS=e=>typeof e=="number"&&!Number.isNaN(e),nt=e=>typeof e=="string",io=e=>typeof e=="function",nS=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);function ao(e){if(!rS(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const s=e[r];s!==void 0&&(n[r]=ao(s))}return n}var rS=e=>e&&typeof e=="object"&&e.constructor===Object;function ai(...e){const t=e.length===1?e[0]:e[1],n=e.length===2?e[0]:!0}function Is(...e){const t=e.length===1?e[0]:e[1],n=e.length===2?e[0]:!0}function Rh(e,...t){for(const n of t){const r=ao(n);for(const s in r)Fr(n[s])?(e[s]||(e[s]={}),Rh(e[s],n[s])):e[s]=n[s]}return e}function Cu(e){return Gn(e)}function _t(e){return nt(e)?{type:e}:e}function nn(e){return e?oo(e)?e.slice():[e]:[]}function Ph(e){return Fr(e)&&e.predicate!=null}var sS=()=>!0;function qa(e,t,n,r){return s=>{var o;return nt(s)?!!((o=e[s])!=null&&o.call(e,t,n,r)):io(s)?s(t,n,r):s.predicate(e)(t,n,r)}}function oS(...e){return{predicate:t=>(n,r,s)=>e.map(qa(t,n,r,s)).some(Boolean)}}function iS(...e){return{predicate:t=>(n,r,s)=>e.map(qa(t,n,r,s)).every(Boolean)}}function aS(e){return{predicate:t=>(n,r,s)=>!qa(t,n,r,s)(e)}}function cS(...e){return(t,n,r)=>r.state.matches(...e)}var lS={or:oS,and:iS,not:aS,stateIn:cS};function kh(e,t){return e=e??sS,(n,r,s)=>{if(nt(e)){const o=t[e];return io(o)?o(n,r,s):o}return Ph(e)?e.predicate(t)(n,r,s):e==null?void 0:e(n,r,s)}}function ci(e,t){return(n,r,s)=>Ph(e)?e.predicate(t)(n,r,s):e}function uS(e){var o,i;const t=e.computed??Ut({}),n=e.context??Ut({}),r=e.initial?(i=(o=e.states)==null?void 0:o[e.initial])==null?void 0:i.tags:[],s=Ga({value:e.initial??"",previousValue:"",event:Ut({}),previousEvent:Ut({}),context:X0(n,t),done:!1,tags:r??[],hasTag(a){return this.tags.includes(a)},matches(...a){return a.includes(this.value)},can(a){return Ut(this).nextEvents.includes(a)},get nextEvents(){var l,u;const a=((u=(l=e.states)==null?void 0:l[this.value])==null?void 0:u.on)??{},c=(e==null?void 0:e.on)??{};return Object.keys({...a,...c})},get changed(){return this.event.value==="machine.init"||!this.previousValue?!1:this.value!==this.previousValue}});return Ut(s)}function br(e,t){return(n,r)=>{if(tS(e))return e;if(io(e))return e(n,r);if(nt(e)){const s=Number.parseFloat(e);if(!Number.isNaN(s))return s;if(t){const o=t==null?void 0:t[e];return Is(o==null,`[@zag-js/core > determine-delay] Cannot determine delay for \`${e}\`. It doesn't exist in \`options.delays\``),io(o)?o(n,r):o}}}}function fS(e){return nt(e)?{target:e}:e}function dS(e,t){return(n,r,s)=>nn(e).map(fS).find(o=>kh(o.guard,t)(n,r,s)??o.target??o.actions)}var hS=class{constructor(e,t){var n,r,s,o,i;J(this,"status","Not Started"),J(this,"state"),J(this,"initialState"),J(this,"initialContext"),J(this,"id"),J(this,"type","machine"),J(this,"activityEvents",new Map),J(this,"delayedEvents",new Map),J(this,"stateListeners",new Set),J(this,"doneListeners",new Set),J(this,"contextWatchers",new Set),J(this,"removeStateListener",Z0),J(this,"parent"),J(this,"children",new Map),J(this,"guardMap"),J(this,"actionMap"),J(this,"delayMap"),J(this,"activityMap"),J(this,"sync"),J(this,"options"),J(this,"config"),J(this,"_created",()=>{var c;const a=_t("machine.created");this.executeActions((c=this.config)==null?void 0:c.created,a)}),J(this,"start",a=>{if(this.state.value="",this.state.tags=[],this.status==="Running")return this;this.status="Running",this.removeStateListener=so(this.state,()=>{this.stateListeners.forEach(p=>{p(this.stateSnapshot)})},this.sync),this.setupContextWatchers(),this.executeActivities(_t("machine.start"),nn(this.config.activities),"machine.start"),this.executeActions(this.config.entry,_t("machine.start"));const c=_t("machine.init"),l=Fr(a)?a.value:a,u=Fr(a)?a.context:void 0;u&&this.setContext(u);const f={target:l??this.config.initial},d=this.getNextStateInfo(f,c);return this.initialState=d,this.performStateChangeEffects(this.state.value,d,c),this}),J(this,"setupContextWatchers",()=>{const{watch:a}=this.config;if(!a)return;let c=Tn(this.state.context);const l=so(this.state.context,()=>{var f;const u=Tn(this.state.context);for(const[d,p]of Object.entries(a))(((f=this.options.compareFns)==null?void 0:f[d])??Object.is)(c[d],u[d])||this.executeActions(p,this.state.event);c=u});this.contextWatchers.add(l)}),J(this,"stop",()=>{if(this.status!=="Stopped")return this.performExitEffects(this.state.value,_t("machine.stop")),this.executeActions(this.config.exit,_t("machine.stop")),this.setState(""),this.setEvent("machine.stop"),this.stopStateListeners(),this.stopChildren(),this.stopActivities(),this.stopDelayedEvents(),this.stopContextWatchers(),this.status="Stopped",this}),J(this,"stopStateListeners",()=>{this.removeStateListener(),this.stateListeners.clear()}),J(this,"stopContextWatchers",()=>{this.contextWatchers.forEach(a=>a()),this.contextWatchers.clear()}),J(this,"stopDelayedEvents",()=>{this.delayedEvents.forEach(a=>{a.forEach(c=>c())}),this.delayedEvents.clear()}),J(this,"stopActivities",a=>{var c,l;a?((c=this.activityEvents.get(a))==null||c.forEach(u=>u()),(l=this.activityEvents.get(a))==null||l.clear(),this.activityEvents.delete(a)):(this.activityEvents.forEach(u=>{u.forEach(f=>f()),u.clear()}),this.activityEvents.clear())}),J(this,"sendChild",(a,c)=>{const l=_t(a),u=wu(c,this.contextSnapshot),f=this.children.get(u);f||Is(`[@zag-js/core] Cannot send '${l.type}' event to unknown child`),f.send(l)}),J(this,"stopChild",a=>{this.children.has(a)||Is(`[@zag-js/core > stop-child] Cannot stop unknown child ${a}`),this.children.get(a).stop(),this.children.delete(a)}),J(this,"removeChild",a=>{this.children.delete(a)}),J(this,"stopChildren",()=>{this.children.forEach(a=>a.stop()),this.children.clear()}),J(this,"setParent",a=>{this.parent=a}),J(this,"spawn",(a,c)=>{const l=wu(a);return c&&(l.id=c),l.type="machine.actor",l.setParent(this),this.children.set(l.id,Ut(l)),l.onDone(()=>{this.removeChild(l.id)}).start(),Ut(vu(l))}),J(this,"stopActivity",a=>{var l;if(!this.state.value)return;const c=this.activityEvents.get(this.state.value);(l=c==null?void 0:c.get(a))==null||l(),c==null||c.delete(a)}),J(this,"addActivityCleanup",(a,c,l)=>{var u;a&&(this.activityEvents.has(a)?(u=this.activityEvents.get(a))==null||u.set(c,l):this.activityEvents.set(a,new Map([[c,l]])))}),J(this,"setState",a=>{this.state.previousValue=this.state.value,this.state.value=a;const c=this.getStateNode(a);a==null?Q0(this.state.tags):this.state.tags=nn(c==null?void 0:c.tags)}),J(this,"setContext",a=>{a&&Rh(this.state.context,ao(a))}),J(this,"setOptions",a=>{const c=ao(a);this.actionMap={...this.actionMap,...c.actions},this.delayMap={...this.delayMap,...c.delays},this.activityMap={...this.activityMap,...c.activities},this.guardMap={...this.guardMap,...c.guards}}),J(this,"getStateNode",a=>{var c;if(a)return(c=this.config.states)==null?void 0:c[a]}),J(this,"getNextStateInfo",(a,c)=>{const l=this.determineTransition(a,c),u=!(l!=null&&l.target),f=(l==null?void 0:l.target)??this.state.value,d=this.state.value!==f,p=this.getStateNode(f),E={reenter:!u&&!d&&!(l!=null&&l.internal),transition:l,stateNode:p,target:f,changed:d};return this.log("NextState:",`[${c.type}]`,this.state.value,"---->",E.target),E}),J(this,"getAfterActions",(a,c)=>{let l;return{entry:()=>{l=globalThis.setTimeout(()=>{const u=this.getNextStateInfo(a,this.state.event);this.performStateChangeEffects(this.state.value,u,this.state.event)},c)},exit:()=>{globalThis.clearTimeout(l)}}}),J(this,"getDelayedEventActions",a=>{const c=this.getStateNode(a),l=this.state.event;if(!c||!c.after)return;const u=[],f=[];if(oo(c.after)){const d=this.determineTransition(c.after,l);if(!d)return;if(!nS(d,"delay"))throw new Error(`[@zag-js/core > after] Delay is required for after transition: ${JSON.stringify(d)}`);const y=br(d.delay,this.delayMap)(this.contextSnapshot,l),E=this.getAfterActions(d,y);return u.push(E.entry),f.push(E.exit),{entries:u,exits:f}}if(Fr(c.after))for(const d in c.after){const p=c.after[d],E=br(d,this.delayMap)(this.contextSnapshot,l),T=this.getAfterActions(p,E);u.push(T.entry),f.push(T.exit)}return{entries:u,exits:f}}),J(this,"executeActions",(a,c)=>{var u;const l=ci(a,this.guardMap)(this.contextSnapshot,c,this.guardMeta);for(const f of nn(l)){const d=nt(f)?(u=this.actionMap)==null?void 0:u[f]:f;ai(nt(f)&&!d,`[@zag-js/core > execute-actions] No implementation found for action: \`${f}\``),d==null||d(this.state.context,c,this.meta)}}),J(this,"executeActivities",(a,c,l)=>{var u;for(const f of c){const d=nt(f)?(u=this.activityMap)==null?void 0:u[f]:f;if(!d){ai(`[@zag-js/core > execute-activity] No implementation found for activity: \`${f}\``);continue}const p=d(this.state.context,a,this.meta);if(p){const y=nt(f)?f:f.name||Su();this.addActivityCleanup(l??this.state.value,y,p)}}}),J(this,"createEveryActivities",(a,c)=>{if(a)if(oo(a)){const l=nn(a).find(p=>{const y=p.delay,T=br(y,this.delayMap)(this.contextSnapshot,this.state.event);return kh(p.guard,this.guardMap)(this.contextSnapshot,this.state.event,this.guardMeta)??T!=null});if(!l)return;const f=br(l.delay,this.delayMap)(this.contextSnapshot,this.state.event);c(()=>{const p=globalThis.setInterval(()=>{this.executeActions(l.actions,this.state.event)},f);return()=>{globalThis.clearInterval(p)}})}else for(const l in a){const u=a==null?void 0:a[l],d=br(l,this.delayMap)(this.contextSnapshot,this.state.event);c(()=>{const y=globalThis.setInterval(()=>{this.executeActions(u,this.state.event)},d);return()=>{globalThis.clearInterval(y)}})}}),J(this,"setEvent",a=>{this.state.previousEvent=this.state.event,this.state.event=vu(_t(a))}),J(this,"performExitEffects",(a,c)=>{const l=this.state.value;if(l==="")return;const u=a?this.getStateNode(a):void 0;this.stopActivities(l);const f=ci(u==null?void 0:u.exit,this.guardMap)(this.contextSnapshot,c,this.guardMeta),d=nn(f),p=this.delayedEvents.get(l);p&&d.push(...p),this.executeActions(d,c)}),J(this,"performEntryEffects",(a,c)=>{const l=this.getStateNode(a),u=nn(l==null?void 0:l.activities);this.createEveryActivities(l==null?void 0:l.every,y=>{u.unshift(y)}),u.length>0&&this.executeActivities(c,u);const f=ci(l==null?void 0:l.entry,this.guardMap)(this.contextSnapshot,c,this.guardMeta),d=nn(f),p=this.getDelayedEventActions(a);l!=null&&l.after&&p&&(this.delayedEvents.set(a,p==null?void 0:p.exits),d.push(...p.entries)),this.executeActions(d,c),(l==null?void 0:l.type)==="final"&&(this.state.done=!0,this.doneListeners.forEach(y=>{y(this.stateSnapshot)}),this.stop())}),J(this,"performTransitionEffects",(a,c)=>{const l=this.determineTransition(a,c);this.executeActions(l==null?void 0:l.actions,c)}),J(this,"performStateChangeEffects",(a,c,l)=>{this.setEvent(l);const u=c.changed||c.reenter;u&&this.performExitEffects(a,l),this.performTransitionEffects(c.transition,l),this.setState(c.target),u&&this.performEntryEffects(c.target,l)}),J(this,"determineTransition",(a,c)=>{const l=dS(a,this.guardMap);return l==null?void 0:l(this.contextSnapshot,c,this.guardMeta)}),J(this,"sendParent",a=>{var l;this.parent||Is("[@zag-js/core > send-parent] Cannot send event to an unknown parent");const c=_t(a);(l=this.parent)==null||l.send(c)}),J(this,"log",(...a)=>{}),J(this,"send",a=>{const c=_t(a);this.transition(this.state.value,c)}),J(this,"transition",(a,c)=>{var p,y;const l=nt(a)?this.getStateNode(a):a==null?void 0:a.stateNode,u=_t(c);if(!l&&!this.config.on){const E=this.status==="Stopped"?"[@zag-js/core > transition] Cannot transition a stopped machine":`[@zag-js/core > transition] State does not have a definition for \`state\`: ${a}, \`event\`: ${u.type}`;ai(E);return}const f=((p=l==null?void 0:l.on)==null?void 0:p[u.type])??((y=this.config.on)==null?void 0:y[u.type]),d=this.getNextStateInfo(f,u);return this.performStateChangeEffects(this.state.value,d,u),d.stateNode}),J(this,"subscribe",a=>(this.stateListeners.add(a),this.status==="Running"&&a(this.stateSnapshot),()=>{this.stateListeners.delete(a)})),J(this,"onDone",a=>(this.doneListeners.add(a),this)),J(this,"onTransition",a=>(this.stateListeners.add(a),this.status==="Running"&&a(this.stateSnapshot),this)),this.config=Cu(e),this.options=Cu(t??{}),this.id=this.config.id??`machine-${Su()}`,this.guardMap=((n=this.options)==null?void 0:n.guards)??{},this.actionMap=((r=this.options)==null?void 0:r.actions)??{},this.delayMap=((s=this.options)==null?void 0:s.delays)??{},this.activityMap=((o=this.options)==null?void 0:o.activities)??{},this.sync=((i=this.options)==null?void 0:i.sync)??!1,this.state=uS(this.config),this.initialContext=Tn(this.state.context)}get stateSnapshot(){return Ut(Tn(this.state))}getState(){return this.stateSnapshot}get contextSnapshot(){return this.stateSnapshot.context}get self(){const e=this;return{id:this.id,send:this.send.bind(this),sendParent:this.sendParent.bind(this),sendChild:this.sendChild.bind(this),stop:this.stop.bind(this),stopChild:this.stopChild.bind(this),spawn:this.spawn.bind(this),stopActivity:this.stopActivity.bind(this),get state(){return e.stateSnapshot},get initialContext(){return e.initialContext},get initialState(){var t;return((t=e.initialState)==null?void 0:t.target)??""}}}get meta(){var e;return{state:this.stateSnapshot,guards:this.guardMap,send:this.send.bind(this),self:this.self,initialContext:this.initialContext,initialState:((e=this.initialState)==null?void 0:e.target)??"",getState:()=>this.stateSnapshot,getAction:t=>this.actionMap[t],getGuard:t=>this.guardMap[t]}}get guardMeta(){return{state:this.stateSnapshot}}get[Symbol.toStringTag](){return"Machine"}},Ah=(e,t)=>new hS(e,t),pS=(...e)=>e.map(t=>{var n;return(n=t==null?void 0:t.trim)==null?void 0:n.call(t)}).filter(Boolean).join(" "),mS=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,Tu=e=>{const t={};let n;for(;n=mS.exec(e);)t[n[1]]=n[2];return t},gS=(e,t)=>{if(nt(e)){if(nt(t))return`${e};${t}`;e=Tu(e)}else nt(t)&&(t=Tu(t));return Object.assign({},e??{},t??{})},yS=/^on[A-Z]/;function lT(...e){let t={};for(let n of e){for(let r in t){if(yS.test(r)&&typeof t[r]=="function"&&typeof n[r]=="function"){t[r]=eS(t[r],n[r]);continue}if(r==="className"||r==="class"){t[r]=pS(t[r],n[r]);continue}if(r==="style"){t[r]=gS(t[r],n[r]);continue}t[r]=n[r]!==void 0?n[r]:t[r]}for(let r in n)t[r]===void 0&&(t[r]=n[r])}return t}var uT=e=>e[0],fT=e=>e[e.length-1],_S=(e,t)=>e.indexOf(t)!==-1,bS=(e,...t)=>e.concat(t),vS=(e,t)=>e.filter(n=>n!==t),dT=(e,t)=>_S(e,t)?vS(e,t):bS(e,t),Lu=e=>(e==null?void 0:e.constructor.name)==="Array",ES=(e,t)=>{if(Object.is(e,t))return!0;if(e==null&&t!=null||e!=null&&t==null)return!1;if(typeof(e==null?void 0:e.isEqual)=="function"&&typeof(t==null?void 0:t.isEqual)=="function")return e.isEqual(t);if(typeof e=="function"&&typeof t=="function")return e.toString()===t.toString();if(Lu(e)&&Lu(t))return Array.from(e).toString()===Array.from(t).toString();if(typeof e!="object"||typeof t!="object")return!1;const n=Object.keys(t??Object.create(null)),r=n.length;for(let s=0;s(typeof e=="function"?e(...t):e)??void 0,hT=e=>e,pT=()=>{},mT=(...e)=>(...t)=>{e.forEach(function(n){n==null||n(...t)})},wS=(()=>{let e=0;return()=>(e++,e.toString(36))})();function SS(e,t,...n){var s;if(e in t){const o=t[e];return typeof o=="function"?o(...n):o}const r=new Error(`No matching key: ${JSON.stringify(e)} in ${JSON.stringify(Object.keys(t))}`);throw(s=Error.captureStackTrace)==null||s.call(Error,r,SS),r}var CS=(e,t)=>{var n;try{return e()}catch(r){return r instanceof Error&&((n=Error.captureStackTrace)==null||n.call(Error,r,CS)),t==null?void 0:t()}},gT=e=>typeof e=="function",yT=e=>e==null;function Ya(e){if(!TS(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const s=e[r];s!==void 0&&(n[r]=Ya(s))}return n}var TS=e=>e&&typeof e=="object"&&e.constructor===Object;function _T(...e){const t=e.length===1?e[0]:e[1],n=e.length===2?e[0]:!0}var Ns=(e,t=[])=>({parts:(...n)=>{if(LS(t))return Ns(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>Ns(e,[...t,...n]),rename:n=>Ns(n,t),keys:()=>t,build:()=>[...new Set(t)].reduce((n,r)=>Object.assign(n,{[r]:{selector:[`&[data-scope="${Bn(e)}"][data-part="${Bn(r)}"]`,`& [data-scope="${Bn(e)}"][data-part="${Bn(r)}"]`].join(", "),attrs:{"data-scope":Bn(e),"data-part":Bn(r)}}}),{})}),Bn=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),LS=e=>e.length===0,bT=e=>e?"":void 0,vT=e=>e?"true":void 0,RS=2147483647,co=e=>typeof e=="object"&&(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE&&typeof(e==null?void 0:e.nodeName)=="string",Oh=e=>e.nodeType===Node.DOCUMENT_NODE,PS=e=>e!=null&&e===e.window,kS=e=>e.nodeType!==void 0,AS=e=>e&&kS(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e;function OS(e,t){return!e||!t||!co(e)||!co(t)?!1:e===t||e.contains(t)}function IS(e){return Oh(e)?e:PS(e)?e.document:(e==null?void 0:e.ownerDocument)??document}function Xa(e){var t;return AS(e)?Xa(e.host):Oh(e)?e.defaultView??window:co(e)?((t=e.ownerDocument)==null?void 0:t.defaultView)??window:window}function NS(e){var t;return((t=e.composedPath)==null?void 0:t.call(e)[0])??e.target}var ET=e=>OS(e.currentTarget,NS(e)),za=e=>e.id;function xS(e,t,n=za){return e.find(r=>n(r)===t)}function Ja(e,t,n=za){const r=xS(e,t,n);return r?e.indexOf(r):-1}function wT(e,t,n=!0){let r=Ja(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function ST(e,t,n=!0){let r=Ja(e,t);return r===-1?n?e[e.length-1]:null:(r=n?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}var MS=e=>e.split("").map(t=>{const n=t.charCodeAt(0);return n>0&&n<128?t:n>=128&&n<=255?`/x${n.toString(16)}`.replace("/","\\"):""}).join("").trim(),DS=e=>MS(e.dataset.valuetext??e.textContent??""),FS=(e,t)=>e.trim().toLowerCase().startsWith(t.toLowerCase()),$S=(e,t)=>e.map((n,r)=>e[(Math.max(t,0)+r)%e.length]);function US(e,t,n,r=za){const s=n?Ja(e,n,r):-1;let o=n?$S(e,s):e;return t.length===1&&(o=o.filter(a=>r(a)!==n)),o.find(a=>FS(DS(a),t))}function jS(e,t){const{state:n,activeId:r,key:s,timeout:o=350,itemToId:i}=t,a=n.keysSoFar+s,l=a.length>1&&Array.from(a).every(y=>y===a[0])?a[0]:a;let u=e.slice();const f=US(u,l,r,i);function d(){clearTimeout(n.timer),n.timer=-1}function p(y){n.keysSoFar=y,d(),y!==""&&(n.timer=+setTimeout(()=>{p(""),d()},o))}return p(a),f}var CT=Object.assign(jS,{defaultOptions:{keysSoFar:"",timer:-1},isValidEvent:HS});function HS(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey}function TT(e){if(e==null||!co(e))return!1;try{const t=Xa(e);return e instanceof t.HTMLInputElement&&e.selectionStart!=null||/(textarea|select)/.test(e.localName)||e.isContentEditable}catch{return!1}}var BS=/auto|scroll|overlay|hidden|clip/;function VS(e){const t=Xa(e),{overflow:n,overflowX:r,overflowY:s,display:o}=t.getComputedStyle(e);return BS.test(n+s+r)&&!["inline","contents"].includes(o)}var Ih=()=>typeof document<"u";function WS(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var Nh=e=>Ih()&&e.test(WS()),KS=e=>Ih()&&e.test(navigator.vendor),LT=()=>GS()&&KS(/apple/i),GS=()=>Nh(/mac|iphone|ipad|ipod/i),xh=()=>Nh(/iP(hone|ad|od)|iOS/);function RT(e,t){return Array.from((e==null?void 0:e.querySelectorAll(t))??[])}function PT(e,t){return(e==null?void 0:e.querySelector(t))??null}function qS(e){const t=new Set;function n(r){const s=globalThis.requestAnimationFrame(r);t.add(()=>globalThis.cancelAnimationFrame(s))}return n(()=>n(e)),function(){t.forEach(s=>s())}}function YS(e){const t=globalThis.requestAnimationFrame(e);return()=>{globalThis.cancelAnimationFrame(t)}}function XS(e){const t={getRootNode:n=>{var r;return((r=n.getRootNode)==null?void 0:r.call(n))??document},getDoc:n=>IS(t.getRootNode(n)),getWin:n=>t.getDoc(n).defaultView??window,getActiveElement:n=>t.getDoc(n).activeElement,isActiveElement:(n,r)=>r===t.getActiveElement(n),getById:(n,r)=>t.getRootNode(n).getElementById(r),setValue:(n,r)=>{if(n==null||r==null)return;const s=r.toString();n.value!==s&&(n.value=r.toString())}};return{...t,...e}}function zS(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function kT(e,t){const{rootEl:n,...r}=t||{};!e||!n||!VS(n)||!zS(n)||e.scrollIntoView(r)}var qn="default",ea="",xs=new WeakMap;function JS(e={}){const{target:t,doc:n}=e,r=n??document,s=r.documentElement;return xh()?(qn==="default"&&(ea=s.style.webkitUserSelect,s.style.webkitUserSelect="none"),qn="disabled"):t&&(xs.set(t,t.style.userSelect),t.style.userSelect="none"),()=>QS({target:t,doc:r})}function QS(e={}){const{target:t,doc:n}=e,s=(n??document).documentElement;if(xh()){if(qn!=="disabled")return;qn="restoring",setTimeout(()=>{qS(()=>{qn==="restoring"&&(s.style.webkitUserSelect==="none"&&(s.style.webkitUserSelect=ea||""),ea="",qn="default")})},300)}else if(t&&xs.has(t)){const o=xs.get(t);t.style.userSelect==="none"&&(t.style.userSelect=o??""),t.getAttribute("style")===""&&t.removeAttribute("style"),xs.delete(t)}}function ZS(e={}){const{defer:t,target:n,...r}=e,s=t?YS:i=>i(),o=[];return o.push(s(()=>{const i=typeof n=="function"?n():n;o.push(JS({...r,target:i}))})),()=>{o.forEach(i=>i==null?void 0:i())}}var Sr=(e,t,n,r)=>{const s=typeof e=="function"?e():e;return s==null||s.addEventListener(t,n,r),()=>{s==null||s.removeEventListener(t,n,r)}},AT=e=>e.button===0,OT=e=>e.button===2||eC()&&e.ctrlKey&&e.button===0,IT=e=>e.ctrlKey||e.altKey||e.metaKey,eC=()=>/Mac|iPod|iPhone|iPad/.test(window.navigator.platform);function NT(e,t,n){if(!e)return;const r=e.ownerDocument.defaultView||window,s=new r.CustomEvent(t,n);return e.dispatchEvent(s)}var tC={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},Pu={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function xT(e,t={}){const{dir:n="ltr",orientation:r="horizontal"}=t;let{key:s}=e;return s=tC[s]??s,n==="rtl"&&r==="horizontal"&&s in Pu&&(s=Pu[s]),s}function nC(e,t="client"){const n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}function rC(e,t="client"){return{x:e[`${t}X`],y:e[`${t}Y`]}}var sC=e=>"touches"in e&&e.touches.length>0;function oC(e,t="client"){return sC(e)?nC(e,t):rC(e,t)}var iC=new Set(["PageUp","PageDown"]),aC=new Set(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"]);function MT(e){return e.ctrlKey||e.metaKey?.1:iC.has(e.key)||e.shiftKey&&aC.has(e.key)?10:1}function DT(e){return e.nativeEvent??e}function ku(e){return Math.max(0,Math.min(1,e))}function FT(e,t){const{left:n,top:r,width:s,height:o}=t.getBoundingClientRect(),i={x:e.x-n,y:e.y-r},a={x:ku(i.x/s),y:ku(i.y/o)};function c(l={}){const{dir:u="ltr",orientation:f="horizontal",inverted:d}=l,p=typeof d=="object"?d.x:d,y=typeof d=="object"?d.y:d;return f==="horizontal"?u==="rtl"||p?1-a.x:a.x:y?1-a.y:a.y}return{offset:i,percent:a,getPercentValue:c}}function $T(e,t){const{onPointerMove:n,onPointerUp:r}=t,s=[],i=[Sr(e,"pointermove",a=>{const c=oC(a);s.push({...c,timestamp:performance.now()});const l=Math.sqrt(c.x**2+c.y**2),u=a.pointerType==="touch"?10:5;if(!(l{i.forEach(a=>a()),s.length=0}}function cC(e){return e[e.length-1]}function lC(e){return e*1e3}function uC(e){return e/1e3}function fC(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=cC(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>lC(t)));)n--;if(!r)return{x:0,y:0};const o=uC(s.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const i={x:(s.x-r.x)/o,y:(s.y-r.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),{x:Math.abs(i.x),y:Math.abs(i.y)}}var dC=Ns("toast").parts("group","root","title","description","closeTrigger"),Cr=dC.build(),Yn=XS({getGroupId:e=>`toast-group:${e}`,getRootId:e=>`toast:${e.id}`,getTitleId:e=>`toast:${e.id}:title`,getDescriptionId:e=>`toast:${e.id}:description`,getCloseTriggerId:e=>`toast${e.id}:close`});function hC(e){const t={};for(const n of e){const r=n.state.context.placement;t[r]||(t[r]=[]),t[r].push(n)}return t}var pC={info:5e3,error:5e3,success:2e3,loading:1/0,custom:5e3};function Au(e,t){return e??pC[t]}function mC(e,t){const n=e.offsets,r=typeof n=="string"?{left:n,right:n,bottom:n,top:n}:n,s=e.dir==="rtl",o=t.replace("-start",s?"-right":"-left").replace("-end",s?"-left":"-right"),i=o.includes("right"),a=o.includes("left"),c={position:"fixed",pointerEvents:e.count>0?void 0:"none",display:"flex",flexDirection:"column","--toast-gutter":e.gutter,zIndex:e.zIndex};let l="center";if(i&&(l="flex-end"),a&&(l="flex-start"),c.alignItems=l,o.includes("top")){const u=r.top;c.top=`calc(env(safe-area-inset-top, 0px) + ${u})`}if(o.includes("bottom")){const u=r.bottom;c.bottom=`calc(env(safe-area-inset-bottom, 0px) + ${u})`}if(!o.includes("left")){const u=r.right;c.right=`calc(env(safe-area-inset-right, 0px) + ${u})`}if(!o.includes("right")){const u=r.left;c.left=`calc(env(safe-area-inset-left, 0px) + ${u})`}return c}function gC(e,t,n){const r=hC(e.context.toasts);function s(l){return e.context.toasts.length?!!e.context.toasts.find(u=>u.id==l):!1}function o(l){const u=`toast:${wS()}`,f=l.id?l.id:u;if(!s(f))return t({type:"ADD_TOAST",toast:{...l,id:f}}),f}function i(l,u){if(s(l))return t({type:"UPDATE_TOAST",id:l,toast:u}),l}function a(l){const{id:u}=l;return(u?s(u):!1)&&u!=null?i(u,l):o(l)}function c(l){l==null?t("DISMISS_ALL"):s(l)&&t({type:"DISMISS_TOAST",id:l})}return{count:e.context.count,toasts:e.context.toasts,toastsByPlacement:r,isVisible:s,create:o,update:i,upsert:a,dismiss:c,remove(l){l==null?t("REMOVE_ALL"):s(l)&&t({type:"REMOVE_TOAST",id:l})},dismissByPlacement(l){const u=r[l];u&&u.forEach(f=>c(f.id))},loading(l){return a({...l,type:"loading"})},success(l){return a({...l,type:"success"})},error(l){return a({...l,type:"error"})},promise(l,u,f={}){const d=a({...f,...u.loading,type:"loading"});return l.then(p=>{const y=Ru(u.success,p);a({...f,...y,id:d,type:"success"})}).catch(p=>{const y=Ru(u.error,p);a({...f,...y,id:d,type:"error"})}),l},pause(l){l==null?t("PAUSE_ALL"):s(l)&&t({type:"PAUSE_TOAST",id:l})},resume(l){l==null?t("RESUME_ALL"):s(l)&&t({type:"RESUME_TOAST",id:l})},getGroupProps(l){const{placement:u,label:f="Notifications"}=l;return n.element({...Cr.group.attrs,dir:e.context.dir,tabIndex:-1,"aria-label":`${u} ${f}`,id:Yn.getGroupId(u),"data-placement":u,"aria-live":"polite",role:"region",style:mC(e.context,u)})},subscribe(l){return so(e.context.toasts,()=>l(e.context.toasts))}}}var{not:yC,and:_C,or:bC}=lS;function vC(e={}){const{type:t="info",duration:n,id:r="toast",placement:s="bottom",removeDelay:o=0,...i}=e,a=Ya(i),c=Au(n,t);return Ah({id:r,entry:"invokeOnOpen",initial:t==="loading"?"persist":"active",context:{id:r,type:t,remaining:c,duration:c,removeDelay:o,createdAt:Date.now(),placement:s,...a},on:{UPDATE:[{guard:_C("hasTypeChanged","isChangingToLoading"),target:"persist",actions:["setContext","invokeOnUpdate"]},{guard:bC("hasDurationChanged","hasTypeChanged"),target:"active:temp",actions:["setContext","invokeOnUpdate"]},{actions:["setContext","invokeOnUpdate"]}]},states:{"active:temp":{tags:["visible","updating"],after:{0:"active"}},persist:{tags:["visible","paused"],activities:"trackDocumentVisibility",on:{RESUME:{guard:yC("isLoadingType"),target:"active",actions:["setCreatedAt"]},DISMISS:"dismissing"}},active:{tags:["visible"],activities:"trackDocumentVisibility",after:{VISIBLE_DURATION:"dismissing"},on:{DISMISS:"dismissing",PAUSE:{target:"persist",actions:"setRemainingDuration"}}},dismissing:{entry:"invokeOnClosing",after:{REMOVE_DELAY:{target:"inactive",actions:"notifyParentToRemove"}}},inactive:{entry:"invokeOnClose",type:"final"}}},{activities:{trackDocumentVisibility(l,u,{send:f}){if(!l.pauseOnPageIdle)return;const d=Yn.getDoc(l);return Sr(d,"visibilitychange",()=>{f(d.visibilityState==="hidden"?"PAUSE":"RESUME")})}},guards:{isChangingToLoading:(l,u)=>{var f;return((f=u.toast)==null?void 0:f.type)==="loading"},isLoadingType:l=>l.type==="loading",hasTypeChanged:(l,u)=>{var f;return((f=u.toast)==null?void 0:f.type)!==l.type},hasDurationChanged:(l,u)=>{var f;return((f=u.toast)==null?void 0:f.duration)!==l.duration}},delays:{VISIBLE_DURATION:l=>l.remaining,REMOVE_DELAY:l=>l.removeDelay},actions:{setRemainingDuration(l){l.remaining-=Date.now()-l.createdAt},setCreatedAt(l){l.createdAt=Date.now()},notifyParentToRemove(l,u,{self:f}){f.sendParent({type:"REMOVE_TOAST",id:f.id})},invokeOnClosing(l){var u;(u=l.onClosing)==null||u.call(l)},invokeOnClose(l){var u;(u=l.onClose)==null||u.call(l)},invokeOnOpen(l){var u;(u=l.onOpen)==null||u.call(l)},invokeOnUpdate(l){var u;(u=l.onUpdate)==null||u.call(l)},setContext(l,u){const{duration:f,type:d}=u.toast,p=Au(f,d);Object.assign(l,{...u.toast,duration:p,remaining:p})}}})}function EC(e){const t=Ya(e);return Ah({id:"toaster",initial:"active",context:{dir:"ltr",max:Number.MAX_SAFE_INTEGER,toasts:[],gutter:"1rem",zIndex:RS,pauseOnPageIdle:!1,pauseOnInteraction:!0,offsets:{left:"0px",right:"0px",top:"0px",bottom:"0px"},...t},computed:{count:n=>n.toasts.length},on:{PAUSE_TOAST:{actions:(n,r,{self:s})=>{s.sendChild("PAUSE",r.id)}},PAUSE_ALL:{actions:n=>{n.toasts.forEach(r=>r.send("PAUSE"))}},RESUME_TOAST:{actions:(n,r,{self:s})=>{s.sendChild("RESUME",r.id)}},RESUME_ALL:{actions:n=>{n.toasts.forEach(r=>r.send("RESUME"))}},ADD_TOAST:{guard:n=>n.toasts.length{const o={placement:n.placement,duration:n.duration,removeDelay:n.removeDelay,render:n.render,...r.toast,pauseOnPageIdle:n.pauseOnPageIdle,pauseOnInteraction:n.pauseOnInteraction,dir:n.dir,getRootNode:n.getRootNode},i=vC(o),a=s.spawn(i);n.toasts.push(a)}},UPDATE_TOAST:{actions:(n,r,{self:s})=>{s.sendChild({type:"UPDATE",toast:r.toast},r.id)}},DISMISS_TOAST:{actions:(n,r,{self:s})=>{s.sendChild("DISMISS",r.id)}},DISMISS_ALL:{actions:n=>{n.toasts.forEach(r=>r.send("DISMISS"))}},REMOVE_TOAST:{actions:(n,r,{self:s})=>{s.stopChild(r.id);const o=n.toasts.findIndex(i=>i.id===r.id);n.toasts.splice(o,1)}},REMOVE_ALL:{actions:(n,r,{self:s})=>{for(n.toasts.forEach(o=>s.stopChild(o.id));n.toasts.length;)n.toasts.pop()}}}})}function wC(e,t,n){const r=e.hasTag("visible"),s=e.hasTag("paused"),o=e.context.pauseOnInteraction,i=e.context.placement;return{type:e.context.type,title:e.context.title,description:e.context.description,placement:i,isVisible:r,isPaused:s,isRtl:e.context.dir==="rtl",pause(){t("PAUSE")},resume(){t("RESUME")},dismiss(){t("DISMISS")},rootProps:n.element({...Cr.root.attrs,dir:e.context.dir,id:Yn.getRootId(e.context),"data-state":r?"open":"closed","data-type":e.context.type,"data-placement":i,role:"status","aria-atomic":"true",tabIndex:0,style:{position:"relative",pointerEvents:"auto",margin:"calc(var(--toast-gutter) / 2)","--remove-delay":`${e.context.removeDelay}ms`,"--duration":`${e.context.duration}ms`},onKeyDown(a){a.key=="Escape"&&(t("DISMISS"),a.preventDefault())},onFocus(){o&&t("PAUSE")},onBlur(){o&&t("RESUME")},onPointerEnter(){o&&t("PAUSE")},onPointerLeave(){o&&t("RESUME")}}),titleProps:n.element({...Cr.title.attrs,id:Yn.getTitleId(e.context)}),descriptionProps:n.element({...Cr.description.attrs,id:Yn.getDescriptionId(e.context)}),closeTriggerProps:n.button({id:Yn.getCloseTriggerId(e.context),...Cr.closeTrigger.attrs,type:"button","aria-label":"Dismiss notification",onClick(){t("DISMISS")}})}}var Ou={connect:gC,machine:EC};function SC(e){return new Proxy({},{get(){return e}})}var UT=()=>e=>Array.from(new Set(e));function CC(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}var Iu={htmlFor:"for",className:"class",onDoubleClick:"onDblclick",onChange:"onInput",onFocus:"onFocusin",onBlur:"onFocusout",defaultValue:"value",defaultChecked:"checked"};function TC(e){return e in Iu?Iu[e]:e.startsWith("on")?`on${CC(e.substr(2))}`:e.toLowerCase()}var Mh=SC(e=>{const t={};for(const n in e){const r=e[n];n==="children"?typeof r=="string"&&(t.innerHTML=r):t[TC(n)]=e[n]}return t});function Dh(e,t){const{actions:n,context:r}=t??{},s=In(e.state),o=so(e.state,()=>{s.value=Tn(e.state)});return Eo(()=>{o==null||o()}),ya(()=>{e.setOptions({actions:n})}),r&&Re(r,i=>{e.setContext(ne(i))},{deep:!0}),s}function LC(e){return[Dh(e),e.send]}function RC(e,t){const{state:n,context:r}=t??{},s=typeof e=="function"?e():e;return r&&s.setContext(ne(r)),s._created(),$n(()=>{s.start(n),ts(()=>{s.stop()})}),s}function PC(e,t){const n=RC(e,t);return[Dh(n,t),n.send,n]}const kC=e=>(Mp("data-v-ba384b17"),e=e(),Dp(),e),AC={"flex-1":"",hstack:"","space-x-2":""},OC={"size-6":"","flex-center":""},IC={key:0,"i-ep:success-filled":""},NC={key:1,"i-material-symbols:info-rounded":"","text-lg":""},xC={key:2,"i-bx:bxs-error":""},MC=kC(()=>Cn("span",{class:"i-ep:close-bold duration-200 opacity-50 hover:opacity-100"},null,-1)),DC=[MC],FC=mt({__name:"Toast",props:{actor:{}},setup(e){const t=e,[n,r]=LC(t.actor),s=he(()=>wC(n.value,r,Mh)),o=he(()=>{switch(s.value.type){case"success":return"bg-emerald-500";case"info":return"bg-blue-500";case"error":return"bg-red-500";default:return"bg-blue-500"}});return(i,a)=>(Ne(),Ht("div",Ta(ne(s).rootProps,{class:["hstack space-x-5 min-w-80 text-white rounded-md shadow-c px-4 py-3",ne(o)]}),[Cn("div",AC,[Cn("div",OC,[ne(s).type==="success"?(Ne(),Ht("span",IC)):ne(s).type==="info"?(Ne(),Ht("span",NC)):ne(s).type==="error"?(Ne(),Ht("span",xC)):Om("",!0)]),Cn("p",Hu(Sa(ne(s).descriptionProps)),ep(ne(s).description),17)]),Cn("button",{"size-6":"","flex-center":"",onClick:a[0]||(a[0]=c=>ne(s).dismiss())},DC)],16))}}),$C=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},UC=$C(FC,[["__scopeId","data-v-ba384b17"]]),jC=mt({__name:"ToastList",setup(e){const t=me(),[n,r]=PC(Ou.machine({id:"toast",placement:"bottom-end",duration:2500,removeDelay:750})),s=he(()=>Ou.connect(n.value,r,Mh));t.provide("toast",s);const o=he(()=>t.$toast.value);return(i,a)=>{const c=UC;return Ne(!0),Ht(De,null,mc(ne(o).toastsByPlacement,(l,u,f)=>(Ne(),Ht("div",{key:f,class:"toast-container"},[(Ne(),Ht("div",Ta({key:u},ne(o).getGroupProps({placement:u})),[(Ne(!0),Ht(De,null,mc(l,d=>(Ne(),jt(c,{key:d.id,actor:d},null,8,["actor"]))),128))],16))]))),128)}}}),HC=()=>ss("color-mode").value;function Qa(e){return Qr()?(po(e),!0):!1}function Yr(e){return typeof e=="function"?e():ne(e)}const BC=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const VC=Object.prototype.toString,WC=e=>VC.call(e)==="[object Object]",Fh=()=>{};function KC(e){return e||qt()}function $h(e,t=!0,n){KC()?$n(e,n):t?e():Kt(e)}function Ln(e){var t;const n=Yr(e);return(t=n==null?void 0:n.$el)!=null?t:n}const hr=BC?window:void 0;function Tr(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=hr):[t,n,r,s]=e,!t)return Fh;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(u=>u()),o.length=0},a=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),c=Re(()=>[Ln(t),Yr(s)],([u,f])=>{if(i(),!u)return;const d=WC(f)?{...f}:f;o.push(...n.flatMap(p=>r.map(y=>a(u,p,y,d))))},{immediate:!0,flush:"post"}),l=()=>{c(),i()};return Qa(l),l}function GC(){const e=le(!1),t=qt();return t&&$n(()=>{e.value=!0},t),e}function Uh(e){const t=GC();return he(()=>(t.value,!!e()))}function jh(e,t={}){const{window:n=hr}=t,r=Uh(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=le(!1),i=l=>{o.value=l.matches},a=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=ya(()=>{r.value&&(a(),s=n.matchMedia(Yr(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return Qa(()=>{c(),a(),s=void 0}),o}function qC(e){return jh("(prefers-color-scheme: dark)",e)}function YC(e,t,n={}){const{window:r=hr,...s}=n;let o;const i=Uh(()=>r&&"ResizeObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},c=he(()=>Array.isArray(e)?e.map(f=>Ln(f)):[Ln(e)]),l=Re(c,f=>{if(a(),i.value&&r){o=new ResizeObserver(t);for(const d of f)d&&o.observe(d,s)}},{immediate:!0,flush:"post"}),u=()=>{a(),l()};return Qa(u),{isSupported:i,stop:u}}function jT(e,t={width:0,height:0},n={}){const{window:r=hr,box:s="content-box"}=n,o=he(()=>{var f,d;return(d=(f=Ln(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),i=le(t.width),a=le(t.height),{stop:c}=YC(e,([f])=>{const d=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&o.value){const p=Ln(e);if(p){const y=r.getComputedStyle(p);i.value=Number.parseFloat(y.width),a.value=Number.parseFloat(y.height)}}else if(d){const p=Array.isArray(d)?d:[d];i.value=p.reduce((y,{inlineSize:E})=>y+E,0),a.value=p.reduce((y,{blockSize:E})=>y+E,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);$h(()=>{const f=Ln(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const l=Re(()=>Ln(e),f=>{i.value=f?t.width:0,a.value=f?t.height:0});function u(){c(),l()}return{width:i,height:a,stop:u}}const XC={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function HT(e={}){const{reactive:t=!1,target:n=hr,aliasMap:r=XC,passive:s=!0,onEventFired:o=Fh}=e,i=rt(new Set),a={toJSON(){return{}},current:i},c=t?rt(a):a,l=new Set,u=new Set;function f(E,T){E in c&&(t?c[E]=T:c[E].value=T)}function d(){i.clear();for(const E of u)f(E,!1)}function p(E,T){var b,v;const _=(b=E.key)==null?void 0:b.toLowerCase(),w=[(v=E.code)==null?void 0:v.toLowerCase(),_].filter(Boolean);_&&(T?i.add(_):i.delete(_));for(const C of w)u.add(C),f(C,T);_==="meta"&&!T?(l.forEach(C=>{i.delete(C),f(C,!1)}),l.clear()):typeof E.getModifierState=="function"&&E.getModifierState("Meta")&&T&&[...i,...w].forEach(C=>l.add(C))}Tr(n,"keydown",E=>(p(E,!0),o(E)),{passive:s}),Tr(n,"keyup",E=>(p(E,!1),o(E)),{passive:s}),Tr("blur",d,{passive:!0}),Tr("focus",d,{passive:!0});const y=new Proxy(c,{get(E,T,b){if(typeof T!="string")return Reflect.get(E,T,b);if(T=T.toLowerCase(),T in r&&(T=r[T]),!(T in c))if(/[+_-]/.test(T)){const _=T.split(/[+_-]/g).map(g=>g.trim());c[T]=he(()=>_.every(g=>Yr(y[g])))}else c[T]=le(!1);const v=Reflect.get(E,T,b);return t?Yr(v):v}});return y}function BT(e={}){const{window:t=hr,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=le(n),a=le(r),c=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(c(),$h(c),Tr("resize",c,{passive:!0}),s){const l=jh("(orientation: portrait)");Re(l,()=>c())}return{width:i,height:a}}const zC={class:"font-ui"},JC=mt({__name:"app",setup(e){const{t,locale:n}=Mo(),r=HC(),s=qC();return Sd({title:t("head.title"),meta:[{name:"keywords",content:t("head.keywords")},{name:"description",content:t("head.desc")},{property:"og:title",content:t("head.title")},{property:"og:description",content:t("head.desc")},{property:"og:locale",content:n},{name:"theme-color",content:()=>(r==null?void 0:r.preference)==="dark"?"#475569":"#f3f4f6"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>s.value?"/favicon-dark.svg":"/favicon.svg"}],script:[{src:"https://code.iconify.design/2/2.2.1/iconify.min.js",type:"module",tagPosition:"bodyClose"}]}),(o,i)=>{const a=$0,c=j0,l=jC;return Ne(),Ht("div",zC,[we(a),we(c),we(l)])}}}),QC={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(` `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`${f.text}`).join(` -`);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=s?pc(()=>He(()=>import("./C8vgH9R5.js"),__vite__mapDeps([8,3,9]),import.meta.url).then(f=>f.default||f)):pc(()=>He(()=>import("./CST1zEBA.js"),__vite__mapDeps([10,11]),import.meta.url).then(f=>f.default||f));return(f,d)=>(Ne(),jt(ne(u),Hu(Sa({statusCode:ne(r),statusMessage:ne(o),description:ne(i),stack:ne(a)})),null,16))}},Nu={__name:"nuxt-root",setup(e){const t=()=>null,n=me(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);Ct().beforeEach(a)}const s=!1;tr(Ro,Aa()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const o=Po();Pf((a,c,l)=>{if(n.hooks.callHook("vue:error",a,c,l).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Ky(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Kn(a)),!1});const i=!1;return(a,c)=>(Ne(),jt(_f,{onResolve:ne(r)},{default:pf(()=>[ne(o)?(Ne(),jt(ne(QC),{key:0,error:ne(o)},null,8,["error"])):ne(i)?(Ne(),jt(ne(t),{key:1,context:ne(i)},null,8,["context"])):ne(s)?(Ne(),jt(Hp(ne(s)),{key:2})):(Ne(),jt(ne(JC),{key:3}))]),_:1},8,["onResolve"]))}};let xu;{let e;xu=async function(){var i,a;if(e)return e;const r=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?mg(Nu):pg(Nu),s=by({vueApp:r});async function o(c){await s.callHook("app:error",c),s.payload.error=s.payload.error||ko(c)}r.config.errorHandler=o;try{await Ey(s,F0)}catch(c){o(c)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(H_),await s.hooks.callHook("app:mounted",r),await Kt()}catch(c){o(c)}return r.config.errorHandler===o&&(r.config.errorHandler=void 0),r},e=xu().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Hu as $,YS as A,qS as B,ES as C,UT as D,bT as E,ET as F,xT as G,LT as H,lS as I,HC as J,Re as K,He as L,qt as M,$n as N,le as O,ts as P,PC as Q,he as R,De as S,mc as T,Ta as U,Mh as V,jT as W,Et as X,OS as Y,vu as Z,$C as _,Cn as a,Sa as a0,Om as a1,sT as a2,xh as a3,Ru as a4,tT as a5,ho as a6,nT as a7,vT as a8,DT as a9,Sr as aA,NT as aB,NS as aC,mT as aD,co as aE,pT as aF,yT as aG,gT as aH,_T as aI,CT as aJ,lT as aK,TT as aL,hT as aM,P0 as aN,Mo as aO,Hd as aP,Ll as aQ,iT as aR,ZC as aS,To as aT,Lo as aU,Zf as aV,oT as aW,xt as aX,Vy as aY,Gs as aZ,Co as a_,AT as aa,OT as ab,SS as ac,dT as ad,kT as ae,FT as af,$T as ag,ZS as ah,CS as ai,PT as aj,IT as ak,oC as al,MT as am,fo as an,Aa as ao,BT as ap,Ct as aq,cT as ar,Rf as as,aT as at,rt as au,gt as av,me as aw,HT as ax,IS as ay,Xa as az,we as b,Ht as c,Wf as d,Dp as e,mt as f,jt as g,ne as h,fe as i,eT as j,Ns as k,XS as l,uT as m,fT as n,Ne as o,Mp as p,RT as q,wT as r,ST as s,ep as t,Sd as u,rT as v,pf as w,xS as x,Ya as y,Ah as z}; +`);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=s?pc(()=>He(()=>import("./D6-kzAJD.js"),__vite__mapDeps([8,3,9]),import.meta.url).then(f=>f.default||f)):pc(()=>He(()=>import("./l8kzQN05.js"),__vite__mapDeps([10,11]),import.meta.url).then(f=>f.default||f));return(f,d)=>(Ne(),jt(ne(u),Hu(Sa({statusCode:ne(r),statusMessage:ne(o),description:ne(i),stack:ne(a)})),null,16))}},Nu={__name:"nuxt-root",setup(e){const t=()=>null,n=me(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);Ct().beforeEach(a)}const s=!1;tr(Ro,Aa()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const o=Po();Pf((a,c,l)=>{if(n.hooks.callHook("vue:error",a,c,l).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Ky(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Kn(a)),!1});const i=!1;return(a,c)=>(Ne(),jt(_f,{onResolve:ne(r)},{default:pf(()=>[ne(o)?(Ne(),jt(ne(QC),{key:0,error:ne(o)},null,8,["error"])):ne(i)?(Ne(),jt(ne(t),{key:1,context:ne(i)},null,8,["context"])):ne(s)?(Ne(),jt(Hp(ne(s)),{key:2})):(Ne(),jt(ne(JC),{key:3}))]),_:1},8,["onResolve"]))}};let xu;{let e;xu=async function(){var i,a;if(e)return e;const r=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?mg(Nu):pg(Nu),s=by({vueApp:r});async function o(c){await s.callHook("app:error",c),s.payload.error=s.payload.error||ko(c)}r.config.errorHandler=o;try{await Ey(s,F0)}catch(c){o(c)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(H_),await s.hooks.callHook("app:mounted",r),await Kt()}catch(c){o(c)}return r.config.errorHandler===o&&(r.config.errorHandler=void 0),r},e=xu().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Hu as $,YS as A,qS as B,ES as C,UT as D,bT as E,ET as F,xT as G,LT as H,lS as I,HC as J,Re as K,He as L,qt as M,$n as N,le as O,ts as P,PC as Q,he as R,De as S,mc as T,Ta as U,Mh as V,jT as W,Et as X,OS as Y,vu as Z,$C as _,Cn as a,Sa as a0,Om as a1,sT as a2,xh as a3,Ru as a4,tT as a5,ho as a6,nT as a7,vT as a8,DT as a9,Sr as aA,NT as aB,NS as aC,mT as aD,co as aE,pT as aF,yT as aG,gT as aH,_T as aI,CT as aJ,lT as aK,TT as aL,hT as aM,P0 as aN,Mo as aO,Hd as aP,Ll as aQ,iT as aR,ZC as aS,To as aT,Lo as aU,Zf as aV,oT as aW,xt as aX,Vy as aY,Gs as aZ,Co as a_,AT as aa,OT as ab,SS as ac,dT as ad,kT as ae,FT as af,$T as ag,ZS as ah,CS as ai,PT as aj,IT as ak,oC as al,MT as am,fo as an,Aa as ao,BT as ap,Ct as aq,cT as ar,Rf as as,aT as at,rt as au,gt as av,me as aw,HT as ax,IS as ay,Xa as az,we as b,Ht as c,Wf as d,Dp as e,mt as f,jt as g,ne as h,fe as i,eT as j,Ns as k,XS as l,uT as m,fT as n,Ne as o,Mp as p,RT as q,wT as r,ST as s,ep as t,Sd as u,rT as v,pf as w,xS as x,Ya as y,Ah as z}; diff --git a/assets/QlRNQh4W.js b/assets/BuatQLKg.js similarity index 98% rename from assets/QlRNQh4W.js rename to assets/BuatQLKg.js index a1c2a08..c073ca3 100644 --- a/assets/QlRNQh4W.js +++ b/assets/BuatQLKg.js @@ -1,4 +1,4 @@ -import{m as p}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m as p}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/hEHxucza.js b/assets/C0QVr14l.js similarity index 98% rename from assets/hEHxucza.js rename to assets/C0QVr14l.js index b2b8479..e9174e0 100644 --- a/assets/hEHxucza.js +++ b/assets/C0QVr14l.js @@ -1,4 +1,4 @@ -import{m as d}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m as d}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/CV7Xu0J4.js b/assets/CKCBchtN.js similarity index 99% rename from assets/CV7Xu0J4.js rename to assets/CKCBchtN.js index 0b0b11e..054e459 100644 --- a/assets/CV7Xu0J4.js +++ b/assets/CKCBchtN.js @@ -1,10 +1,10 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./B7XMFlob.js","./LLeh9DNx.js","./entry.CBHgAQ0X.css","./MImNoLyP.js","./QlRNQh4W.js","./BTI9I1BW.js","./CVjiJjdT.js","./40djI6jg.js","./hEHxucza.js","./CtjBds-2.js","./CiuJOSLS.js","./CzN3yrO5.js","./fyG9LO_K.js","./Rkcm0t1T.js","./BMqwImlx.js","./CY3KjrGY.js","./DjcGo_Wf.js"] + __vite__mapDeps.viteFileDeps = ["./CbPdyUzT.js","./BZDDQZjI.js","./entry.CBHgAQ0X.css","./B1Xi-1xl.js","./BuatQLKg.js","./dE1ShenZ.js","./B5-Z72C8.js","./CmgRl0j7.js","./C0QVr14l.js","./D4MbSk1d.js","./D_WxEPGQ.js","./DA3NC5Dd.js","./CTFN1c0r.js","./D53MXHFI.js","./DfTjb7eK.js","./njeYAgp7.js","./DiKx5yui.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{L as be}from"./LLeh9DNx.js";function Mo(o,e=0){return o[o.length-(1+e)]}function Xz(o){if(o.length===0)throw new Error("Invalid tail call");return[o.slice(0,o.length-1),o[o.length-1]]}function ri(o,e,t=(i,n)=>i===n){if(o===e)return!0;if(!o||!e||o.length!==e.length)return!1;for(let i=0,n=o.length;it(o[i],e))}function Jz(o,e){let t=0,i=o-1;for(;t<=i;){const n=(t+i)/2|0,s=e(n);if(s<0)t=n+1;else if(s>0)i=n-1;else return n}return-(t+1)}function xk(o,e,t){if(o=o|0,o>=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],s=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?s.push(a):r.push(a)}return o!!e)}function SP(o){let e=0;for(let t=0;t0}function Ld(o,e=t=>t){const t=new Set;return o.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function KM(o,e){return o.length>0?o[0]:e}function ss(o,e){let t=typeof e=="number"?o:0;typeof e=="number"?t=o:(t=0,e=o);const i=[];if(t<=e)for(let n=t;ne;n--)i.push(n);return i}function QS(o,e,t){const i=o.slice(0,e),n=o.slice(e);return i.concat(t,n)}function wD(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.unshift(e))}function B0(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.push(e))}function kk(o,e){for(const t of e)o.push(t)}function qM(o){return Array.isArray(o)?o:[o]}function tU(o,e,t){const i=O7(o,e),n=o.length,s=t.length;o.length=n+s;for(let r=n-1;r>=i;r--)o[r+s]=o[r];for(let r=0;r0}o.isGreaterThan=i;function n(s){return s===0}o.isNeitherLessOrGreaterThan=n,o.greaterThan=1,o.lessThan=-1,o.neitherLessOrGreaterThan=0})(rv||(rv={}));function Uo(o,e){return(t,i)=>e(o(t),o(i))}function iU(...o){return(e,t)=>{for(const i of o){const n=i(e,t);if(!rv.isNeitherLessOrGreaterThan(n))return n}return rv.neitherLessOrGreaterThan}}const md=(o,e)=>o-e,nU=(o,e)=>md(o?1:0,e?1:0);function F7(o){return(e,t)=>-o(e,t)}class Dd{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}class nl{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new nl(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new nl(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||rv.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}}nl.empty=new nl(o=>{});function vs(o){return typeof o=="string"}function gs(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)&&!(o instanceof RegExp)&&!(o instanceof Date)}function sU(o){const e=Object.getPrototypeOf(Uint8Array);return typeof o=="object"&&o instanceof e}function Uc(o){return typeof o=="number"&&!isNaN(o)}function LP(o){return!!o&&typeof o[Symbol.iterator]=="function"}function B7(o){return o===!0||o===!1}function Ks(o){return typeof o>"u"}function sl(o){return!mo(o)}function mo(o){return Ks(o)||o===null}function wt(o,e){if(!o)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function cc(o){if(mo(o))throw new Error("Assertion Failed: argument is undefined or null");return o}function av(o){return typeof o=="function"}function oU(o,e){const t=Math.min(o.length,e.length);for(let i=0;i{e[t]=i&&typeof i=="object"?zl(i):i}),e}function aU(o){if(!o||typeof o!="object")return o;const e=[o];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(W7.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!sU(n)&&e.push(n)}}return o}const W7=Object.prototype.hasOwnProperty;function V7(o,e){return Ik(o,e,new Set)}function Ik(o,e,t){if(mo(o))return o;const i=e(o);if(typeof i<"u")return i;if(Array.isArray(o)){const n=[];for(const s of o)n.push(Ik(s,e,t));return n}if(gs(o)){if(t.has(o))throw new Error("Cannot clone recursive data-structure");t.add(o);const n={};for(const s in o)W7.call(o,s)&&(n[s]=Ik(o[s],e,t));return t.delete(o),n}return o}function JS(o,e,t=!0){return gs(o)?(gs(e)&&Object.keys(e).forEach(i=>{i in o?t&&(gs(o[i])&&gs(e[i])?JS(o[i],e[i],t):o[i]=e[i]):o[i]=e[i]}),o):e}function Co(o,e){if(o===e)return!0;if(o==null||e===null||e===void 0||typeof o!=typeof e||typeof o!="object"||Array.isArray(o)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(o)){if(o.length!==e.length)return!1;for(t=0;tfunction(){const s=Array.prototype.slice.call(arguments,0);return e(n,s)},i={};for(const n of o)i[n]=t(n);return i}let cU=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function H7(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=n[0],r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),cU&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function m(o,e,...t){return H7(e,t)}function mt(o,e,...t){const i=H7(e,t);return{value:i,original:i}}var SD;const rf="en";let G1=!1,Z1=!1,l1=!1,z7=!1,ZM=!1,YM=!1,U7=!1,W0,d1=rf,DP=rf,hU,Rr;const pd=globalThis;let os;typeof pd.vscode<"u"&&typeof pd.vscode.process<"u"?os=pd.vscode.process:typeof process<"u"&&(os=process);const uU=typeof((SD=os==null?void 0:os.versions)===null||SD===void 0?void 0:SD.electron)=="string",gU=uU&&(os==null?void 0:os.type)==="renderer";if(typeof os=="object"){G1=os.platform==="win32",Z1=os.platform==="darwin",l1=os.platform==="linux",l1&&os.env.SNAP&&os.env.SNAP_REVISION,os.env.CI||os.env.BUILD_ARTIFACTSTAGINGDIRECTORY,W0=rf,d1=rf;const o=os.env.VSCODE_NLS_CONFIG;if(o)try{const e=JSON.parse(o),t=e.availableLanguages["*"];W0=e.locale,DP=e.osLocale,d1=t||rf,hU=e._translationsConfigFile}catch{}z7=!0}else typeof navigator=="object"&&!gU?(Rr=navigator.userAgent,G1=Rr.indexOf("Windows")>=0,Z1=Rr.indexOf("Macintosh")>=0,YM=(Rr.indexOf("Macintosh")>=0||Rr.indexOf("iPad")>=0||Rr.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,l1=Rr.indexOf("Linux")>=0,U7=(Rr==null?void 0:Rr.indexOf("Mobi"))>=0,ZM=!0,m({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),W0=rf,d1=W0,DP=navigator.language):console.error("Unable to resolve platform.");const Vn=G1,lt=Z1,Cs=l1,Jr=z7,bh=ZM,fU=ZM&&typeof pd.importScripts=="function",mU=fU?pd.origin:void 0,ra=YM,$7=U7,hl=Rr,pU=d1,_U=typeof pd.postMessage=="function"&&!pd.importScripts,j7=(()=>{if(_U){const o=[];pd.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=o.length;i{const i=++e;o.push({id:i,callback:t}),pd.postMessage({vscodeScheduleAsyncWork:i},"*")}}return o=>setTimeout(o)})(),qs=Z1||YM?2:G1?1:3;let xP=!0,kP=!1;function K7(){if(!kP){kP=!0;const o=new Uint8Array(2);o[0]=1,o[1]=2,xP=new Uint16Array(o.buffer)[0]===513}return xP}const q7=!!(hl&&hl.indexOf("Chrome")>=0),vU=!!(hl&&hl.indexOf("Firefox")>=0),bU=!!(!q7&&hl&&hl.indexOf("Safari")>=0),CU=!!(hl&&hl.indexOf("Edg/")>=0),wU=!!(hl&&hl.indexOf("Android")>=0),On={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var dt;(function(o){function e(C){return C&&typeof C=="object"&&typeof C[Symbol.iterator]=="function"}o.is=e;const t=Object.freeze([]);function i(){return t}o.empty=i;function*n(C){yield C}o.single=n;function s(C){return e(C)?C:n(C)}o.wrap=s;function r(C){return C||t}o.from=r;function*a(C){for(let w=C.length-1;w>=0;w--)yield C[w]}o.reverse=a;function l(C){return!C||C[Symbol.iterator]().next().done===!0}o.isEmpty=l;function d(C){return C[Symbol.iterator]().next().value}o.first=d;function c(C,w){for(const S of C)if(w(S))return!0;return!1}o.some=c;function h(C,w){for(const S of C)if(w(S))return S}o.find=h;function*u(C,w){for(const S of C)w(S)&&(yield S)}o.filter=u;function*g(C,w){let S=0;for(const L of C)yield w(L,S++)}o.map=g;function*f(...C){for(const w of C)yield*w}o.concat=f;function p(C,w,S){let L=S;for(const x of C)L=w(L,x);return L}o.reduce=p;function*_(C,w,S=C.length){for(w<0&&(w+=C.length),S<0?S+=C.length:S>C.length&&(S=C.length);w{n||(n=!0,this._remove(i))}}shift(){if(this._first!==Wi.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Wi.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Wi.Undefined&&e.next!==Wi.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Wi.Undefined&&e.next===Wi.Undefined?(this._first=Wi.Undefined,this._last=Wi.Undefined):e.next===Wi.Undefined?(this._last=this._last.prev,this._last.next=Wi.Undefined):e.prev===Wi.Undefined&&(this._first=this._first.next,this._first.prev=Wi.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Wi.Undefined;)yield e.element,e=e.next}}const G7="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function SU(o=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of G7)o.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const XM=SU();function QM(o){let e=XM;if(o&&o instanceof RegExp)if(o.global)e=o;else{let t="g";o.ignoreCase&&(t+="i"),o.multiline&&(t+="m"),o.unicode&&(t+="u"),e=new RegExp(o.source,t)}return e.lastIndex=0,e}const Z7=new fs;Z7.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function lv(o,e,t,i,n){if(e=QM(e),n||(n=dt.first(Z7)),t.length>n.maxLen){let d=o-n.maxLen/2;return d<0?d=0:i+=d,t=t.substring(d,o+n.maxLen/2),lv(o,e,t,i,n)}const s=Date.now(),r=o-1-i;let a=-1,l=null;for(let d=1;!(Date.now()-s>=n.timeBudget);d++){const c=r-n.windowSize*d;e.lastIndex=Math.max(0,c);const h=yU(e,t,r,a);if(!h&&l||(l=h,c<=0))break;a=c}if(l){const d={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,d}return null}function yU(o,e,t,i){let n;for(;n=o.exec(e);){const s=n.index||0;if(s<=t&&o.lastIndex>=t)return n;if(i>0&&s>i)return null}return null}const qd=8;class Y7{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class X7{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class ni{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return ey(e,t)}compute(e,t,i){return i}}class D_{constructor(e,t){this.newValue=e,this.didChange=t}}function ey(o,e){if(typeof o!="object"||typeof e!="object"||!o||!e)return new D_(e,o!==e);if(Array.isArray(o)||Array.isArray(e)){const i=Array.isArray(o)&&Array.isArray(e)&&ri(o,e);return new D_(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=ey(o[i],e[i]);n.didChange&&(o[i]=n.newValue,t=!0)}return new D_(o,t)}class Hb{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return ey(e,t)}validate(e){return this.defaultValue}}class Gm{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return ey(e,t)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}}function ve(o,e){return typeof o>"u"?e:o==="false"?!1:!!o}class gt extends Gm{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return ve(e,this.defaultValue)}}function Yh(o,e,t,i){if(typeof o>"u")return e;let n=parseInt(o,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class Pt extends Gm{static clampedInt(e,t,i,n){return Yh(e,t,i,n)}constructor(e,t,i,n,s,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=s),super(e,t,i,r),this.minimum=n,this.maximum=s}validate(e){return Pt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function LU(o,e,t,i){if(typeof o>"u")return e;const n=fr.float(o,e);return fr.clamp(n,t,i)}class fr extends Gm{static clamp(e,t,i){return ei?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,s){typeof s<"u"&&(s.type="number",s.default=i),super(e,t,i,s),this.validationFn=n}validate(e){return this.validationFn(fr.float(e,this.defaultValue))}}class ls extends Gm{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return ls.string(e,this.defaultValue)}}function mi(o,e,t,i){return typeof o!="string"?e:i&&o in i?i[o]:t.indexOf(o)===-1?e:o}class di extends Gm{constructor(e,t,i,n,s=void 0){typeof s<"u"&&(s.type="string",s.enum=n,s.default=i),super(e,t,i,s),this._allowedValues=n}validate(e){return mi(e,this.defaultValue,this._allowedValues)}}class V0 extends ni{constructor(e,t,i,n,s,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=s,a.default=n),super(e,t,i,a),this._allowedValues=s,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function DU(o){switch(o){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class xU extends ni{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[m("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),m("accessibilitySupport.on","Optimize for usage with a Screen Reader."),m("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:m("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class kU extends ni{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:m("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:m("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:ve(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:ve(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function IU(o){switch(o){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var vn;(function(o){o[o.Line=1]="Line",o[o.Block=2]="Block",o[o.Underline=3]="Underline",o[o.LineThin=4]="LineThin",o[o.BlockOutline=5]="BlockOutline",o[o.UnderlineThin=6]="UnderlineThin"})(vn||(vn={}));function EU(o){switch(o){case"line":return vn.Line;case"block":return vn.Block;case"underline":return vn.Underline;case"line-thin":return vn.LineThin;case"block-outline":return vn.BlockOutline;case"underline-thin":return vn.UnderlineThin}}class NU extends Hb{constructor(){super(141)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(111)&&n.push("showUnused"),t.get(139)&&n.push("showDeprecated"),n.join(" ")}}class TU extends gt{constructor(){super(37,"emptySelectionClipboard",!0,{description:m("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class MU extends ni{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:m("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[m("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),m("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),m("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:m("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[m("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),m("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),m("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:m("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:m("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:lt},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:m("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:m("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:ve(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":mi(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":mi(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:ve(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:ve(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:ve(t.loop,this.defaultValue.loop)}}}class po extends ni{constructor(){super(51,"fontLigatures",po.OFF,{anyOf:[{type:"boolean",description:m("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:m("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:m("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?po.OFF:e==="true"?po.ON:e:e?po.ON:po.OFF}}po.OFF='"liga" off, "calt" off';po.ON='"liga" on, "calt" on';class Gr extends ni{constructor(){super(54,"fontVariations",Gr.OFF,{anyOf:[{type:"boolean",description:m("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:m("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:m("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?Gr.OFF:e==="true"?Gr.TRANSLATE:e:e?Gr.TRANSLATE:Gr.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}}Gr.OFF="normal";Gr.TRANSLATE="translate";class RU extends Hb{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class AU extends Gm{constructor(){super(52,"fontSize",As.fontSize,{type:"number",minimum:6,maximum:100,default:As.fontSize,description:m("fontSize","Controls the font size in pixels.")})}validate(e){const t=fr.float(e,this.defaultValue);return t===0?As.fontSize:fr.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}class za extends ni{constructor(){super(53,"fontWeight",As.fontWeight,{anyOf:[{type:"number",minimum:za.MINIMUM_VALUE,maximum:za.MAXIMUM_VALUE,errorMessage:m("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:za.SUGGESTION_VALUES}],default:As.fontWeight,description:m("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(Pt.clampedInt(e,As.fontWeight,za.MINIMUM_VALUE,za.MAXIMUM_VALUE))}}za.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];za.MINIMUM_VALUE=1;za.MAXIMUM_VALUE=1e3;class PU extends ni{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[m("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),m("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),m("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:m("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:m("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:m("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:m("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:m("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:m("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:m("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:m("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:m("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:m("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:m("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,s,r;if(!e||typeof e!="object")return this.defaultValue;const a=e;return{multiple:mi(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(t=a.multipleDefinitions)!==null&&t!==void 0?t:mi(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(i=a.multipleTypeDefinitions)!==null&&i!==void 0?i:mi(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(n=a.multipleDeclarations)!==null&&n!==void 0?n:mi(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(s=a.multipleImplementations)!==null&&s!==void 0?s:mi(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(r=a.multipleReferences)!==null&&r!==void 0?r:mi(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:ls.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:ls.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:ls.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:ls.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:ls.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class OU extends ni{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:m("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:m("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:m("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:m("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:m("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),delay:Pt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:ve(t.sticky,this.defaultValue.sticky),hidingDelay:Pt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:ve(t.above,this.defaultValue.above)}}}class Nf extends Hb{constructor(){super(144)}compute(e,t,i){return Nf.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const s=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/s);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:s,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,s=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(s*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,d=e.typicalHalfwidthCharacterWidth,c=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=s>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,p=e.minimap.side,_=e.verticalScrollbarWidth,v=e.viewLineCount,b=e.remainingWidth,C=e.isViewportWrapping,w=h?2:3;let S=Math.floor(s*n);const L=S/s;let x=!1,I=!1,T=w*u,H=u/s,P=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:Me,extraLinesBeforeFirstLine:me,extraLinesBeyondLastLine:Ge,desiredRatio:Ze,minimapLineCount:Ee}=Nf.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:c,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:s});if(v/Ee>1)x=!0,I=!0,u=1,T=1,H=u/s;else{let Ei=!1,ts=u+1;if(f==="fit"){const $i=Math.ceil((me+v+Ge)*T);C&&a&&b<=t.stableFitRemainingWidth?(Ei=!0,ts=t.stableFitMaxMinimapScale):Ei=$i>S}if(f==="fill"||Ei){x=!0;const $i=u;T=Math.min(l*s,Math.max(1,Math.floor(1/Ze))),C&&a&&b<=t.stableFitRemainingWidth&&(ts=t.stableFitMaxMinimapScale),u=Math.min(ts,Math.max(1,Math.floor(T/w))),u>$i&&(P=Math.min(2,u/$i)),H=u/s/P,S=Math.ceil(Math.max(Me,me+v+Ge)*T),C?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const A=Math.floor(g*H),B=Math.min(A,Math.max(0,Math.floor((b-_-2)*H/(d+H)))+qd);let Z=Math.floor(s*B);const ne=Z/s;Z=Math.floor(Z*P);const pe=h?1:2,Se=p==="left"?0:i-B-_;return{renderMinimap:pe,minimapLeft:Se,minimapWidth:B,minimapHeightIsEditorHeight:x,minimapIsSampling:I,minimapScale:u,minimapLineHeight:T,minimapCanvasInnerWidth:Z,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:ne,minimapCanvasOuterHeight:L}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,s=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,d=t.pixelRatio,c=t.viewLineCount,h=e.get(136),u=h==="inherit"?e.get(135):h,g=u==="inherit"?e.get(131):u,f=e.get(134),p=t.isDominatedByLongLines,_=e.get(57),v=e.get(68).renderType!==0,b=e.get(69),C=e.get(105),w=e.get(84),S=e.get(73),L=e.get(103),x=L.verticalScrollbarSize,I=L.verticalHasArrows,T=L.arrowSize,H=L.horizontalScrollbarSize,P=e.get(43),A=e.get(110)!=="never";let B=e.get(66);P&&A&&(B+=16);let Z=0;if(v){const Zi=Math.max(r,b);Z=Math.round(Zi*l)}let ne=0;_&&(ne=s*t.glyphMarginDecorationLaneCount);let pe=0,Se=pe+ne,Me=Se+Z,me=Me+B;const Ge=i-ne-Z-B;let Ze=!1,Ee=!1,ge=-1;u==="inherit"&&p?(Ze=!0,Ee=!0):g==="on"||g==="bounded"?Ee=!0:g==="wordWrapColumn"&&(ge=f);const Ei=Nf._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:s,typicalHalfwidthCharacterWidth:a,pixelRatio:d,scrollBeyondLastLine:C,paddingTop:w.top,paddingBottom:w.bottom,minimap:S,verticalScrollbarWidth:x,viewLineCount:c,remainingWidth:Ge,isViewportWrapping:Ee},t.memory||new X7);Ei.renderMinimap!==0&&Ei.minimapLeft===0&&(pe+=Ei.minimapWidth,Se+=Ei.minimapWidth,Me+=Ei.minimapWidth,me+=Ei.minimapWidth);const ts=Ge-Ei.minimapWidth,$i=Math.max(1,Math.floor((ts-x-2)/a)),Lt=I?T:0;return Ee&&(ge=Math.max(1,$i),g==="bounded"&&(ge=Math.min(ge,f))),{width:i,height:n,glyphMarginLeft:pe,glyphMarginWidth:ne,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:Se,lineNumbersWidth:Z,decorationsLeft:Me,decorationsWidth:B,contentLeft:me,contentWidth:ts,minimap:Ei,viewportColumn:$i,isWordWrapMinified:Ze,isViewportWrapping:Ee,wrappingColumn:ge,verticalScrollbarWidth:x,horizontalScrollbarHeight:H,overviewRuler:{top:Lt,width:x,height:n-2*Lt,right:0}}}}class FU extends ni{constructor(){super(138,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[m("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),m("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:m("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return mi(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var hr;(function(o){o.Off="off",o.OnCode="onCode",o.On="on"})(hr||(hr={}));class BU extends ni{constructor(){const e={enabled:hr.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[hr.Off,hr.OnCode,hr.On],default:e.enabled,enumDescriptions:[m("editor.lightbulb.enabled.off","Disable the code action menu."),m("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),m("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:m("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:mi(e.enabled,this.defaultValue.enabled,[hr.Off,hr.OnCode,hr.On])}}}class WU extends ni{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(115,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:m("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:m("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:m("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:m("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),maxLineCount:Pt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:mi(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:ve(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class VU extends ni{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(140,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:m("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[m("editor.inlayHints.on","Inlay hints are enabled"),m("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",lt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",lt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:m("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:m("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:m("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:mi(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:Pt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:ls.string(t.fontFamily,this.defaultValue.fontFamily),padding:ve(t.padding,this.defaultValue.padding)}}}class HU extends ni{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):Pt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?Pt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class zU extends fr{constructor(){super(67,"lineHeight",As.lineHeight,e=>fr.clamp(e,0,150),{markdownDescription:m("lineHeight",`Controls the line height. +import{L as be}from"./BZDDQZjI.js";function Mo(o,e=0){return o[o.length-(1+e)]}function Xz(o){if(o.length===0)throw new Error("Invalid tail call");return[o.slice(0,o.length-1),o[o.length-1]]}function ri(o,e,t=(i,n)=>i===n){if(o===e)return!0;if(!o||!e||o.length!==e.length)return!1;for(let i=0,n=o.length;it(o[i],e))}function Jz(o,e){let t=0,i=o-1;for(;t<=i;){const n=(t+i)/2|0,s=e(n);if(s<0)t=n+1;else if(s>0)i=n-1;else return n}return-(t+1)}function xk(o,e,t){if(o=o|0,o>=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],s=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?s.push(a):r.push(a)}return o!!e)}function SP(o){let e=0;for(let t=0;t0}function Ld(o,e=t=>t){const t=new Set;return o.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function KM(o,e){return o.length>0?o[0]:e}function ss(o,e){let t=typeof e=="number"?o:0;typeof e=="number"?t=o:(t=0,e=o);const i=[];if(t<=e)for(let n=t;ne;n--)i.push(n);return i}function QS(o,e,t){const i=o.slice(0,e),n=o.slice(e);return i.concat(t,n)}function wD(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.unshift(e))}function B0(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.push(e))}function kk(o,e){for(const t of e)o.push(t)}function qM(o){return Array.isArray(o)?o:[o]}function tU(o,e,t){const i=O7(o,e),n=o.length,s=t.length;o.length=n+s;for(let r=n-1;r>=i;r--)o[r+s]=o[r];for(let r=0;r0}o.isGreaterThan=i;function n(s){return s===0}o.isNeitherLessOrGreaterThan=n,o.greaterThan=1,o.lessThan=-1,o.neitherLessOrGreaterThan=0})(rv||(rv={}));function Uo(o,e){return(t,i)=>e(o(t),o(i))}function iU(...o){return(e,t)=>{for(const i of o){const n=i(e,t);if(!rv.isNeitherLessOrGreaterThan(n))return n}return rv.neitherLessOrGreaterThan}}const md=(o,e)=>o-e,nU=(o,e)=>md(o?1:0,e?1:0);function F7(o){return(e,t)=>-o(e,t)}class Dd{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}class nl{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new nl(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new nl(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||rv.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}}nl.empty=new nl(o=>{});function vs(o){return typeof o=="string"}function gs(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)&&!(o instanceof RegExp)&&!(o instanceof Date)}function sU(o){const e=Object.getPrototypeOf(Uint8Array);return typeof o=="object"&&o instanceof e}function Uc(o){return typeof o=="number"&&!isNaN(o)}function LP(o){return!!o&&typeof o[Symbol.iterator]=="function"}function B7(o){return o===!0||o===!1}function Ks(o){return typeof o>"u"}function sl(o){return!mo(o)}function mo(o){return Ks(o)||o===null}function wt(o,e){if(!o)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function cc(o){if(mo(o))throw new Error("Assertion Failed: argument is undefined or null");return o}function av(o){return typeof o=="function"}function oU(o,e){const t=Math.min(o.length,e.length);for(let i=0;i{e[t]=i&&typeof i=="object"?zl(i):i}),e}function aU(o){if(!o||typeof o!="object")return o;const e=[o];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(W7.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!sU(n)&&e.push(n)}}return o}const W7=Object.prototype.hasOwnProperty;function V7(o,e){return Ik(o,e,new Set)}function Ik(o,e,t){if(mo(o))return o;const i=e(o);if(typeof i<"u")return i;if(Array.isArray(o)){const n=[];for(const s of o)n.push(Ik(s,e,t));return n}if(gs(o)){if(t.has(o))throw new Error("Cannot clone recursive data-structure");t.add(o);const n={};for(const s in o)W7.call(o,s)&&(n[s]=Ik(o[s],e,t));return t.delete(o),n}return o}function JS(o,e,t=!0){return gs(o)?(gs(e)&&Object.keys(e).forEach(i=>{i in o?t&&(gs(o[i])&&gs(e[i])?JS(o[i],e[i],t):o[i]=e[i]):o[i]=e[i]}),o):e}function Co(o,e){if(o===e)return!0;if(o==null||e===null||e===void 0||typeof o!=typeof e||typeof o!="object"||Array.isArray(o)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(o)){if(o.length!==e.length)return!1;for(t=0;tfunction(){const s=Array.prototype.slice.call(arguments,0);return e(n,s)},i={};for(const n of o)i[n]=t(n);return i}let cU=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function H7(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=n[0],r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),cU&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function m(o,e,...t){return H7(e,t)}function mt(o,e,...t){const i=H7(e,t);return{value:i,original:i}}var SD;const rf="en";let G1=!1,Z1=!1,l1=!1,z7=!1,ZM=!1,YM=!1,U7=!1,W0,d1=rf,DP=rf,hU,Rr;const pd=globalThis;let os;typeof pd.vscode<"u"&&typeof pd.vscode.process<"u"?os=pd.vscode.process:typeof process<"u"&&(os=process);const uU=typeof((SD=os==null?void 0:os.versions)===null||SD===void 0?void 0:SD.electron)=="string",gU=uU&&(os==null?void 0:os.type)==="renderer";if(typeof os=="object"){G1=os.platform==="win32",Z1=os.platform==="darwin",l1=os.platform==="linux",l1&&os.env.SNAP&&os.env.SNAP_REVISION,os.env.CI||os.env.BUILD_ARTIFACTSTAGINGDIRECTORY,W0=rf,d1=rf;const o=os.env.VSCODE_NLS_CONFIG;if(o)try{const e=JSON.parse(o),t=e.availableLanguages["*"];W0=e.locale,DP=e.osLocale,d1=t||rf,hU=e._translationsConfigFile}catch{}z7=!0}else typeof navigator=="object"&&!gU?(Rr=navigator.userAgent,G1=Rr.indexOf("Windows")>=0,Z1=Rr.indexOf("Macintosh")>=0,YM=(Rr.indexOf("Macintosh")>=0||Rr.indexOf("iPad")>=0||Rr.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,l1=Rr.indexOf("Linux")>=0,U7=(Rr==null?void 0:Rr.indexOf("Mobi"))>=0,ZM=!0,m({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),W0=rf,d1=W0,DP=navigator.language):console.error("Unable to resolve platform.");const Vn=G1,lt=Z1,Cs=l1,Jr=z7,bh=ZM,fU=ZM&&typeof pd.importScripts=="function",mU=fU?pd.origin:void 0,ra=YM,$7=U7,hl=Rr,pU=d1,_U=typeof pd.postMessage=="function"&&!pd.importScripts,j7=(()=>{if(_U){const o=[];pd.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=o.length;i{const i=++e;o.push({id:i,callback:t}),pd.postMessage({vscodeScheduleAsyncWork:i},"*")}}return o=>setTimeout(o)})(),qs=Z1||YM?2:G1?1:3;let xP=!0,kP=!1;function K7(){if(!kP){kP=!0;const o=new Uint8Array(2);o[0]=1,o[1]=2,xP=new Uint16Array(o.buffer)[0]===513}return xP}const q7=!!(hl&&hl.indexOf("Chrome")>=0),vU=!!(hl&&hl.indexOf("Firefox")>=0),bU=!!(!q7&&hl&&hl.indexOf("Safari")>=0),CU=!!(hl&&hl.indexOf("Edg/")>=0),wU=!!(hl&&hl.indexOf("Android")>=0),On={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var dt;(function(o){function e(C){return C&&typeof C=="object"&&typeof C[Symbol.iterator]=="function"}o.is=e;const t=Object.freeze([]);function i(){return t}o.empty=i;function*n(C){yield C}o.single=n;function s(C){return e(C)?C:n(C)}o.wrap=s;function r(C){return C||t}o.from=r;function*a(C){for(let w=C.length-1;w>=0;w--)yield C[w]}o.reverse=a;function l(C){return!C||C[Symbol.iterator]().next().done===!0}o.isEmpty=l;function d(C){return C[Symbol.iterator]().next().value}o.first=d;function c(C,w){for(const S of C)if(w(S))return!0;return!1}o.some=c;function h(C,w){for(const S of C)if(w(S))return S}o.find=h;function*u(C,w){for(const S of C)w(S)&&(yield S)}o.filter=u;function*g(C,w){let S=0;for(const L of C)yield w(L,S++)}o.map=g;function*f(...C){for(const w of C)yield*w}o.concat=f;function p(C,w,S){let L=S;for(const x of C)L=w(L,x);return L}o.reduce=p;function*_(C,w,S=C.length){for(w<0&&(w+=C.length),S<0?S+=C.length:S>C.length&&(S=C.length);w{n||(n=!0,this._remove(i))}}shift(){if(this._first!==Wi.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Wi.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Wi.Undefined&&e.next!==Wi.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Wi.Undefined&&e.next===Wi.Undefined?(this._first=Wi.Undefined,this._last=Wi.Undefined):e.next===Wi.Undefined?(this._last=this._last.prev,this._last.next=Wi.Undefined):e.prev===Wi.Undefined&&(this._first=this._first.next,this._first.prev=Wi.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Wi.Undefined;)yield e.element,e=e.next}}const G7="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function SU(o=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of G7)o.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const XM=SU();function QM(o){let e=XM;if(o&&o instanceof RegExp)if(o.global)e=o;else{let t="g";o.ignoreCase&&(t+="i"),o.multiline&&(t+="m"),o.unicode&&(t+="u"),e=new RegExp(o.source,t)}return e.lastIndex=0,e}const Z7=new fs;Z7.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function lv(o,e,t,i,n){if(e=QM(e),n||(n=dt.first(Z7)),t.length>n.maxLen){let d=o-n.maxLen/2;return d<0?d=0:i+=d,t=t.substring(d,o+n.maxLen/2),lv(o,e,t,i,n)}const s=Date.now(),r=o-1-i;let a=-1,l=null;for(let d=1;!(Date.now()-s>=n.timeBudget);d++){const c=r-n.windowSize*d;e.lastIndex=Math.max(0,c);const h=yU(e,t,r,a);if(!h&&l||(l=h,c<=0))break;a=c}if(l){const d={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,d}return null}function yU(o,e,t,i){let n;for(;n=o.exec(e);){const s=n.index||0;if(s<=t&&o.lastIndex>=t)return n;if(i>0&&s>i)return null}return null}const qd=8;class Y7{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class X7{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class ni{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return ey(e,t)}compute(e,t,i){return i}}class D_{constructor(e,t){this.newValue=e,this.didChange=t}}function ey(o,e){if(typeof o!="object"||typeof e!="object"||!o||!e)return new D_(e,o!==e);if(Array.isArray(o)||Array.isArray(e)){const i=Array.isArray(o)&&Array.isArray(e)&&ri(o,e);return new D_(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=ey(o[i],e[i]);n.didChange&&(o[i]=n.newValue,t=!0)}return new D_(o,t)}class Hb{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return ey(e,t)}validate(e){return this.defaultValue}}class Gm{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return ey(e,t)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}}function ve(o,e){return typeof o>"u"?e:o==="false"?!1:!!o}class gt extends Gm{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return ve(e,this.defaultValue)}}function Yh(o,e,t,i){if(typeof o>"u")return e;let n=parseInt(o,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class Pt extends Gm{static clampedInt(e,t,i,n){return Yh(e,t,i,n)}constructor(e,t,i,n,s,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=s),super(e,t,i,r),this.minimum=n,this.maximum=s}validate(e){return Pt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function LU(o,e,t,i){if(typeof o>"u")return e;const n=fr.float(o,e);return fr.clamp(n,t,i)}class fr extends Gm{static clamp(e,t,i){return ei?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,s){typeof s<"u"&&(s.type="number",s.default=i),super(e,t,i,s),this.validationFn=n}validate(e){return this.validationFn(fr.float(e,this.defaultValue))}}class ls extends Gm{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return ls.string(e,this.defaultValue)}}function mi(o,e,t,i){return typeof o!="string"?e:i&&o in i?i[o]:t.indexOf(o)===-1?e:o}class di extends Gm{constructor(e,t,i,n,s=void 0){typeof s<"u"&&(s.type="string",s.enum=n,s.default=i),super(e,t,i,s),this._allowedValues=n}validate(e){return mi(e,this.defaultValue,this._allowedValues)}}class V0 extends ni{constructor(e,t,i,n,s,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=s,a.default=n),super(e,t,i,a),this._allowedValues=s,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function DU(o){switch(o){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class xU extends ni{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[m("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),m("accessibilitySupport.on","Optimize for usage with a Screen Reader."),m("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:m("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class kU extends ni{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:m("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:m("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:ve(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:ve(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function IU(o){switch(o){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var vn;(function(o){o[o.Line=1]="Line",o[o.Block=2]="Block",o[o.Underline=3]="Underline",o[o.LineThin=4]="LineThin",o[o.BlockOutline=5]="BlockOutline",o[o.UnderlineThin=6]="UnderlineThin"})(vn||(vn={}));function EU(o){switch(o){case"line":return vn.Line;case"block":return vn.Block;case"underline":return vn.Underline;case"line-thin":return vn.LineThin;case"block-outline":return vn.BlockOutline;case"underline-thin":return vn.UnderlineThin}}class NU extends Hb{constructor(){super(141)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(111)&&n.push("showUnused"),t.get(139)&&n.push("showDeprecated"),n.join(" ")}}class TU extends gt{constructor(){super(37,"emptySelectionClipboard",!0,{description:m("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class MU extends ni{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:m("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[m("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),m("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),m("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:m("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[m("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),m("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),m("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:m("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:m("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:lt},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:m("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:m("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:ve(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":mi(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":mi(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:ve(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:ve(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:ve(t.loop,this.defaultValue.loop)}}}class po extends ni{constructor(){super(51,"fontLigatures",po.OFF,{anyOf:[{type:"boolean",description:m("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:m("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:m("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?po.OFF:e==="true"?po.ON:e:e?po.ON:po.OFF}}po.OFF='"liga" off, "calt" off';po.ON='"liga" on, "calt" on';class Gr extends ni{constructor(){super(54,"fontVariations",Gr.OFF,{anyOf:[{type:"boolean",description:m("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:m("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:m("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?Gr.OFF:e==="true"?Gr.TRANSLATE:e:e?Gr.TRANSLATE:Gr.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}}Gr.OFF="normal";Gr.TRANSLATE="translate";class RU extends Hb{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class AU extends Gm{constructor(){super(52,"fontSize",As.fontSize,{type:"number",minimum:6,maximum:100,default:As.fontSize,description:m("fontSize","Controls the font size in pixels.")})}validate(e){const t=fr.float(e,this.defaultValue);return t===0?As.fontSize:fr.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}class za extends ni{constructor(){super(53,"fontWeight",As.fontWeight,{anyOf:[{type:"number",minimum:za.MINIMUM_VALUE,maximum:za.MAXIMUM_VALUE,errorMessage:m("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:za.SUGGESTION_VALUES}],default:As.fontWeight,description:m("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(Pt.clampedInt(e,As.fontWeight,za.MINIMUM_VALUE,za.MAXIMUM_VALUE))}}za.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];za.MINIMUM_VALUE=1;za.MAXIMUM_VALUE=1e3;class PU extends ni{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[m("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),m("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),m("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:m("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:m("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:m("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:m("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:m("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:m("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:m("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:m("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:m("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:m("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:m("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,s,r;if(!e||typeof e!="object")return this.defaultValue;const a=e;return{multiple:mi(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(t=a.multipleDefinitions)!==null&&t!==void 0?t:mi(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(i=a.multipleTypeDefinitions)!==null&&i!==void 0?i:mi(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(n=a.multipleDeclarations)!==null&&n!==void 0?n:mi(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(s=a.multipleImplementations)!==null&&s!==void 0?s:mi(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(r=a.multipleReferences)!==null&&r!==void 0?r:mi(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:ls.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:ls.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:ls.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:ls.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:ls.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class OU extends ni{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:m("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:m("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:m("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:m("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:m("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),delay:Pt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:ve(t.sticky,this.defaultValue.sticky),hidingDelay:Pt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:ve(t.above,this.defaultValue.above)}}}class Nf extends Hb{constructor(){super(144)}compute(e,t,i){return Nf.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const s=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/s);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:s,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,s=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(s*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,d=e.typicalHalfwidthCharacterWidth,c=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=s>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,p=e.minimap.side,_=e.verticalScrollbarWidth,v=e.viewLineCount,b=e.remainingWidth,C=e.isViewportWrapping,w=h?2:3;let S=Math.floor(s*n);const L=S/s;let x=!1,I=!1,T=w*u,H=u/s,P=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:Me,extraLinesBeforeFirstLine:me,extraLinesBeyondLastLine:Ge,desiredRatio:Ze,minimapLineCount:Ee}=Nf.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:c,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:s});if(v/Ee>1)x=!0,I=!0,u=1,T=1,H=u/s;else{let Ei=!1,ts=u+1;if(f==="fit"){const $i=Math.ceil((me+v+Ge)*T);C&&a&&b<=t.stableFitRemainingWidth?(Ei=!0,ts=t.stableFitMaxMinimapScale):Ei=$i>S}if(f==="fill"||Ei){x=!0;const $i=u;T=Math.min(l*s,Math.max(1,Math.floor(1/Ze))),C&&a&&b<=t.stableFitRemainingWidth&&(ts=t.stableFitMaxMinimapScale),u=Math.min(ts,Math.max(1,Math.floor(T/w))),u>$i&&(P=Math.min(2,u/$i)),H=u/s/P,S=Math.ceil(Math.max(Me,me+v+Ge)*T),C?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const A=Math.floor(g*H),B=Math.min(A,Math.max(0,Math.floor((b-_-2)*H/(d+H)))+qd);let Z=Math.floor(s*B);const ne=Z/s;Z=Math.floor(Z*P);const pe=h?1:2,Se=p==="left"?0:i-B-_;return{renderMinimap:pe,minimapLeft:Se,minimapWidth:B,minimapHeightIsEditorHeight:x,minimapIsSampling:I,minimapScale:u,minimapLineHeight:T,minimapCanvasInnerWidth:Z,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:ne,minimapCanvasOuterHeight:L}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,s=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,d=t.pixelRatio,c=t.viewLineCount,h=e.get(136),u=h==="inherit"?e.get(135):h,g=u==="inherit"?e.get(131):u,f=e.get(134),p=t.isDominatedByLongLines,_=e.get(57),v=e.get(68).renderType!==0,b=e.get(69),C=e.get(105),w=e.get(84),S=e.get(73),L=e.get(103),x=L.verticalScrollbarSize,I=L.verticalHasArrows,T=L.arrowSize,H=L.horizontalScrollbarSize,P=e.get(43),A=e.get(110)!=="never";let B=e.get(66);P&&A&&(B+=16);let Z=0;if(v){const Zi=Math.max(r,b);Z=Math.round(Zi*l)}let ne=0;_&&(ne=s*t.glyphMarginDecorationLaneCount);let pe=0,Se=pe+ne,Me=Se+Z,me=Me+B;const Ge=i-ne-Z-B;let Ze=!1,Ee=!1,ge=-1;u==="inherit"&&p?(Ze=!0,Ee=!0):g==="on"||g==="bounded"?Ee=!0:g==="wordWrapColumn"&&(ge=f);const Ei=Nf._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:s,typicalHalfwidthCharacterWidth:a,pixelRatio:d,scrollBeyondLastLine:C,paddingTop:w.top,paddingBottom:w.bottom,minimap:S,verticalScrollbarWidth:x,viewLineCount:c,remainingWidth:Ge,isViewportWrapping:Ee},t.memory||new X7);Ei.renderMinimap!==0&&Ei.minimapLeft===0&&(pe+=Ei.minimapWidth,Se+=Ei.minimapWidth,Me+=Ei.minimapWidth,me+=Ei.minimapWidth);const ts=Ge-Ei.minimapWidth,$i=Math.max(1,Math.floor((ts-x-2)/a)),Lt=I?T:0;return Ee&&(ge=Math.max(1,$i),g==="bounded"&&(ge=Math.min(ge,f))),{width:i,height:n,glyphMarginLeft:pe,glyphMarginWidth:ne,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:Se,lineNumbersWidth:Z,decorationsLeft:Me,decorationsWidth:B,contentLeft:me,contentWidth:ts,minimap:Ei,viewportColumn:$i,isWordWrapMinified:Ze,isViewportWrapping:Ee,wrappingColumn:ge,verticalScrollbarWidth:x,horizontalScrollbarHeight:H,overviewRuler:{top:Lt,width:x,height:n-2*Lt,right:0}}}}class FU extends ni{constructor(){super(138,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[m("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),m("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:m("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return mi(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var hr;(function(o){o.Off="off",o.OnCode="onCode",o.On="on"})(hr||(hr={}));class BU extends ni{constructor(){const e={enabled:hr.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[hr.Off,hr.OnCode,hr.On],default:e.enabled,enumDescriptions:[m("editor.lightbulb.enabled.off","Disable the code action menu."),m("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),m("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:m("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:mi(e.enabled,this.defaultValue.enabled,[hr.Off,hr.OnCode,hr.On])}}}class WU extends ni{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(115,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:m("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:m("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:m("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:m("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),maxLineCount:Pt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:mi(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:ve(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class VU extends ni{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(140,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:m("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[m("editor.inlayHints.on","Inlay hints are enabled"),m("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",lt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",lt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:m("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:m("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:m("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:mi(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:Pt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:ls.string(t.fontFamily,this.defaultValue.fontFamily),padding:ve(t.padding,this.defaultValue.padding)}}}class HU extends ni{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):Pt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?Pt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class zU extends fr{constructor(){super(67,"lineHeight",As.lineHeight,e=>fr.clamp(e,0,150),{markdownDescription:m("lineHeight",`Controls the line height. - Use 0 to automatically compute the line height from the font size. - Values between 0 and 8 will be used as a multiplier with the font size. - Values greater than or equal to 8 will be used as effective values.`)})}compute(e,t,i){return e.fontInfo.lineHeight}}class UU extends ni{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(73,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:m("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:m("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[m("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),m("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),m("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:m("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:m("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:m("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:m("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:m("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:m("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),autohide:ve(t.autohide,this.defaultValue.autohide),size:mi(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:mi(t.side,this.defaultValue.side,["right","left"]),showSlider:mi(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:ve(t.renderCharacters,this.defaultValue.renderCharacters),scale:Pt.clampedInt(t.scale,1,1,3),maxColumn:Pt.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function $U(o){return o==="ctrlCmd"?lt?"metaKey":"ctrlKey":"altKey"}class jU extends ni{constructor(){super(84,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:m("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:m("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{top:Pt.clampedInt(t.top,0,0,1e3),bottom:Pt.clampedInt(t.bottom,0,0,1e3)}}}class KU extends ni{constructor(){const e={enabled:!0,cycle:!0};super(86,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:m("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:m("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),cycle:ve(t.cycle,this.defaultValue.cycle)}}}class qU extends Hb{constructor(){super(142)}compute(e,t,i){return e.pixelRatio}}class GU extends ni{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[m("on","Quick suggestions show inside the suggest widget"),m("inline","Quick suggestions show as ghost text"),m("off","Quick suggestions are disabled")]}];super(89,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:m("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:m("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:m("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:m("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")}),this.defaultValue=e}validate(e){if(typeof e=="boolean"){const d=e?"on":"off";return{comments:d,strings:d,other:d}}if(!e||typeof e!="object")return this.defaultValue;const{other:t,comments:i,strings:n}=e,s=["on","inline","off"];let r,a,l;return typeof t=="boolean"?r=t?"on":"off":r=mi(t,this.defaultValue.other,s),typeof i=="boolean"?a=i?"on":"off":a=mi(i,this.defaultValue.comments,s),typeof n=="boolean"?l=n?"on":"off":l=mi(n,this.defaultValue.strings,s),{other:r,comments:a,strings:l}}}class ZU extends ni{constructor(){super(68,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[m("lineNumbers.off","Line numbers are not rendered."),m("lineNumbers.on","Line numbers are rendered as absolute number."),m("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),m("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:m("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return typeof e<"u"&&(typeof e=="function"?(t=4,i=e):e==="interval"?t=3:e==="relative"?t=2:e==="on"?t=1:t=0),{renderType:t,renderFn:i}}}function Y1(o){const e=o.get(98);return e==="editable"?o.get(91):e!=="on"}class YU extends ni{constructor(){const e=[],t={type:"number",description:m("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(102,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:m("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:m("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const t=[];for(const i of e)if(typeof i=="number")t.push({column:Pt.clampedInt(i,0,0,1e4),color:null});else if(i&&typeof i=="object"){const n=i;t.push({column:Pt.clampedInt(n.column,0,0,1e4),color:n.color})}return t.sort((i,n)=>i.column-n.column),t}return this.defaultValue}}class XU extends ni{constructor(){super(92,"readOnlyMessage",void 0)}validate(e){return!e||typeof e!="object"?this.defaultValue:e}}function IP(o,e){if(typeof o!="string")return e;switch(o){case"hidden":return 2;case"visible":return 3;default:return 1}}let QU=class extends ni{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1,ignoreHorizontalScrollbarInContentHeight:!1};super(103,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[m("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),m("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),m("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:m("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[m("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),m("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),m("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:m("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:m("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:m("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:m("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:"boolean",default:e.ignoreHorizontalScrollbarInContentHeight,description:m("scrollbar.ignoreHorizontalScrollbarInContentHeight","When set, the horizontal scrollbar will not increase the size of the editor's content.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e,i=Pt.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),n=Pt.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:Pt.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:IP(t.vertical,this.defaultValue.vertical),horizontal:IP(t.horizontal,this.defaultValue.horizontal),useShadows:ve(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:ve(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:ve(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:ve(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:ve(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:i,horizontalSliderSize:Pt.clampedInt(t.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:n,verticalSliderSize:Pt.clampedInt(t.verticalSliderSize,n,0,1e3),scrollByPage:ve(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:ve(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}};const lo="inUntrustedWorkspace",Ns={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class JU extends ni{constructor(){const e={nonBasicASCII:lo,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:lo,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(125,"unicodeHighlight",e,{[Ns.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,lo],default:e.nonBasicASCII,description:m("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[Ns.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:m("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[Ns.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:m("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[Ns.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,lo],default:e.includeComments,description:m("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[Ns.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,lo],default:e.includeStrings,description:m("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[Ns.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:m("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[Ns.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:m("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&(Co(e.allowedCharacters,t.allowedCharacters)||(e={...e,allowedCharacters:t.allowedCharacters},i=!0)),t.allowedLocales&&e&&(Co(e.allowedLocales,t.allowedLocales)||(e={...e,allowedLocales:t.allowedLocales},i=!0));const n=super.applyUpdate(e,t);return i?new D_(n.newValue,!0):n}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{nonBasicASCII:Tf(t.nonBasicASCII,lo,[!0,!1,lo]),invisibleCharacters:ve(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:ve(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:Tf(t.includeComments,lo,[!0,!1,lo]),includeStrings:Tf(t.includeStrings,lo,[!0,!1,lo]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if(typeof e!="object"||!e)return t;const i={};for(const[n,s]of Object.entries(e))s===!0&&(i[n]=!0);return i}}class e$ extends ni{constructor(){const e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1,fontFamily:"default"};super(62,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:m("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[m("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),m("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion."),m("inlineSuggest.showToolbar.never","Never show the inline suggestion toolbar.")],description:m("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:m("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")},"editor.inlineSuggest.fontFamily":{type:"string",default:e.fontFamily,description:m("inlineSuggest.fontFamily","Controls the font family of the inline suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),mode:mi(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:mi(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),suppressSuggestions:ve(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:ve(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:ls.string(t.fontFamily,this.defaultValue.fontFamily)}}}class t$ extends ni{constructor(){const e={enabled:!1,showToolbar:"onHover",fontFamily:"default",keepOnBlur:!1,backgroundColoring:!1};super(63,"experimentalInlineEdit",e,{"editor.experimentalInlineEdit.enabled":{type:"boolean",default:e.enabled,description:m("inlineEdit.enabled","Controls whether to show inline edits in the editor.")},"editor.experimentalInlineEdit.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[m("inlineEdit.showToolbar.always","Show the inline edit toolbar whenever an inline suggestion is shown."),m("inlineEdit.showToolbar.onHover","Show the inline edit toolbar when hovering over an inline suggestion."),m("inlineEdit.showToolbar.never","Never show the inline edit toolbar.")],description:m("inlineEdit.showToolbar","Controls when to show the inline edit toolbar.")},"editor.experimentalInlineEdit.fontFamily":{type:"string",default:e.fontFamily,description:m("inlineEdit.fontFamily","Controls the font family of the inline edit.")},"editor.experimentalInlineEdit.backgroundColoring":{type:"boolean",default:e.backgroundColoring,description:m("inlineEdit.backgroundColoring","Controls whether to color the background of inline edits.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),showToolbar:mi(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),fontFamily:ls.string(t.fontFamily,this.defaultValue.fontFamily),keepOnBlur:ve(t.keepOnBlur,this.defaultValue.keepOnBlur),backgroundColoring:ve(t.backgroundColoring,this.defaultValue.backgroundColoring)}}}class i$ extends ni{constructor(){const e={enabled:On.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:On.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:m("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:ve(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class n$ extends ni{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(16,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[m("editor.guides.bracketPairs.true","Enables bracket pair guides."),m("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),m("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:m("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[m("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),m("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),m("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:m("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:m("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:m("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[m("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),m("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),m("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:m("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{bracketPairs:Tf(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:Tf(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:ve(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:ve(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:Tf(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function Tf(o,e,t){const i=t.indexOf(o);return i===-1?e:t[i]}class s$ extends ni{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(118,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[m("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),m("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:m("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:m("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:m("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:m("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[m("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),m("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),m("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),m("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:m("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:m("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:m("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:m("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:m("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:m("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:m("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:m("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertMode:mi(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:ve(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:ve(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:ve(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:ve(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:mi(t.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:ve(t.showIcons,this.defaultValue.showIcons),showStatusBar:ve(t.showStatusBar,this.defaultValue.showStatusBar),preview:ve(t.preview,this.defaultValue.preview),previewMode:mi(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:ve(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:ve(t.showMethods,this.defaultValue.showMethods),showFunctions:ve(t.showFunctions,this.defaultValue.showFunctions),showConstructors:ve(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:ve(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:ve(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:ve(t.showFields,this.defaultValue.showFields),showVariables:ve(t.showVariables,this.defaultValue.showVariables),showClasses:ve(t.showClasses,this.defaultValue.showClasses),showStructs:ve(t.showStructs,this.defaultValue.showStructs),showInterfaces:ve(t.showInterfaces,this.defaultValue.showInterfaces),showModules:ve(t.showModules,this.defaultValue.showModules),showProperties:ve(t.showProperties,this.defaultValue.showProperties),showEvents:ve(t.showEvents,this.defaultValue.showEvents),showOperators:ve(t.showOperators,this.defaultValue.showOperators),showUnits:ve(t.showUnits,this.defaultValue.showUnits),showValues:ve(t.showValues,this.defaultValue.showValues),showConstants:ve(t.showConstants,this.defaultValue.showConstants),showEnums:ve(t.showEnums,this.defaultValue.showEnums),showEnumMembers:ve(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:ve(t.showKeywords,this.defaultValue.showKeywords),showWords:ve(t.showWords,this.defaultValue.showWords),showColors:ve(t.showColors,this.defaultValue.showColors),showFiles:ve(t.showFiles,this.defaultValue.showFiles),showReferences:ve(t.showReferences,this.defaultValue.showReferences),showFolders:ve(t.showFolders,this.defaultValue.showFolders),showTypeParameters:ve(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:ve(t.showSnippets,this.defaultValue.showSnippets),showUsers:ve(t.showUsers,this.defaultValue.showUsers),showIssues:ve(t.showIssues,this.defaultValue.showIssues)}}}class o$ extends ni{constructor(){super(113,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:m("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:m("selectSubwords","Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),default:!0,type:"boolean"}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:ve(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:ve(e.selectSubwords,this.defaultValue.selectSubwords)}}}class r$ extends ni{constructor(){super(137,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[m("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),m("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),m("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),m("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:m("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,t,i){return t.get(2)===2?0:i}}class a$ extends Hb{constructor(){super(145)}compute(e,t,i){const n=t.get(144);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}}class l$ extends ni{constructor(){const e={enabled:!0,showDropSelector:"afterDrop"};super(36,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor).")},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:m("dropIntoEditor.showDropSelector","Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),enum:["afterDrop","never"],enumDescriptions:[m("dropIntoEditor.showDropSelector.afterDrop","Show the drop selector widget after a file is dropped into the editor."),m("dropIntoEditor.showDropSelector.never","Never show the drop selector widget. Instead the default drop provider is always used.")],default:"afterDrop"}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),showDropSelector:mi(t.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}class d$ extends ni{constructor(){const e={enabled:!0,showPasteSelector:"afterPaste"};super(85,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("pasteAs.enabled","Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:m("pasteAs.showPasteSelector","Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),enum:["afterPaste","never"],enumDescriptions:[m("pasteAs.showPasteSelector.afterPaste","Show the paste selector widget after content is pasted into the editor."),m("pasteAs.showPasteSelector.never","Never show the paste selector widget. Instead the default pasting behavior is always used.")],default:"afterPaste"}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),showPasteSelector:mi(t.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}const c$="Consolas, 'Courier New', monospace",h$="Menlo, Monaco, 'Courier New', monospace",u$="'Droid Sans Mono', 'monospace', monospace",As={fontFamily:lt?h$:Cs?u$:c$,fontWeight:"normal",fontSize:lt?12:14,lineHeight:0,letterSpacing:0},af=[];function ie(o){return af[o.id]=o,o}const pa={acceptSuggestionOnCommitCharacter:ie(new gt(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:m("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:ie(new di(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",m("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:m("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:ie(new xU),accessibilityPageSize:ie(new Pt(3,"accessibilityPageSize",10,1,1073741824,{description:m("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:ie(new ls(4,"ariaLabel",m("editorViewAccessibleLabel","Editor content"))),ariaRequired:ie(new gt(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:ie(new gt(8,"screenReaderAnnounceInlineSuggestion",!0,{description:m("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:ie(new di(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),m("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:m("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingComments:ie(new di(7,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingComments.languageDefined","Use language configurations to determine when to autoclose comments."),m("editor.autoClosingComments.beforeWhitespace","Autoclose comments only when the cursor is to the left of whitespace."),""],description:m("autoClosingComments","Controls whether the editor should automatically close comments after the user adds an opening comment.")})),autoClosingDelete:ie(new di(9,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",m("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:m("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:ie(new di(10,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",m("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:m("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:ie(new di(11,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),m("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:m("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:ie(new V0(12,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],DU,{enumDescriptions:[m("editor.autoIndent.none","The editor will not insert indentation automatically."),m("editor.autoIndent.keep","The editor will keep the current line's indentation."),m("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),m("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),m("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:m("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:ie(new gt(13,"automaticLayout",!1)),autoSurround:ie(new di(14,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[m("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),m("editor.autoSurround.quotes","Surround with quotes but not brackets."),m("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:m("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:ie(new i$),bracketPairGuides:ie(new n$),stickyTabStops:ie(new gt(116,"stickyTabStops",!1,{description:m("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:ie(new gt(17,"codeLens",!0,{description:m("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:ie(new ls(18,"codeLensFontFamily","",{description:m("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:ie(new Pt(19,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:m("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:ie(new gt(20,"colorDecorators",!0,{description:m("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorActivatedOn:ie(new di(147,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[m("editor.colorDecoratorActivatedOn.clickAndHover","Make the color picker appear both on click and hover of the color decorator"),m("editor.colorDecoratorActivatedOn.hover","Make the color picker appear on hover of the color decorator"),m("editor.colorDecoratorActivatedOn.click","Make the color picker appear on click of the color decorator")],description:m("colorDecoratorActivatedOn","Controls the condition to make a color picker appear from a color decorator")})),colorDecoratorsLimit:ie(new Pt(21,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:m("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:ie(new gt(22,"columnSelection",!1,{description:m("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:ie(new kU),contextmenu:ie(new gt(24,"contextmenu",!0)),copyWithSyntaxHighlighting:ie(new gt(25,"copyWithSyntaxHighlighting",!0,{description:m("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:ie(new V0(26,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],IU,{description:m("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:ie(new di(27,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[m("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),m("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),m("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:m("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:ie(new V0(28,"cursorStyle",vn.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],EU,{description:m("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:ie(new Pt(29,"cursorSurroundingLines",0,0,1073741824,{description:m("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:ie(new di(30,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[m("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),m("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],markdownDescription:m("cursorSurroundingLinesStyle","Controls when `#cursorSurroundingLines#` should be enforced.")})),cursorWidth:ie(new Pt(31,"cursorWidth",0,0,1073741824,{markdownDescription:m("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:ie(new gt(32,"disableLayerHinting",!1)),disableMonospaceOptimizations:ie(new gt(33,"disableMonospaceOptimizations",!1)),domReadOnly:ie(new gt(34,"domReadOnly",!1)),dragAndDrop:ie(new gt(35,"dragAndDrop",!0,{description:m("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:ie(new TU),dropIntoEditor:ie(new l$),stickyScroll:ie(new WU),experimentalWhitespaceRendering:ie(new di(38,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[m("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),m("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),m("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:m("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:ie(new ls(39,"extraEditorClassName","")),fastScrollSensitivity:ie(new fr(40,"fastScrollSensitivity",5,o=>o<=0?5:o,{markdownDescription:m("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:ie(new MU),fixedOverflowWidgets:ie(new gt(42,"fixedOverflowWidgets",!1)),folding:ie(new gt(43,"folding",!0,{description:m("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:ie(new di(44,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[m("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),m("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:m("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:ie(new gt(45,"foldingHighlight",!0,{description:m("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:ie(new gt(46,"foldingImportsByDefault",!1,{description:m("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:ie(new Pt(47,"foldingMaximumRegions",5e3,10,65e3,{description:m("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:ie(new gt(48,"unfoldOnClickAfterEndOfLine",!1,{description:m("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:ie(new ls(49,"fontFamily",As.fontFamily,{description:m("fontFamily","Controls the font family.")})),fontInfo:ie(new RU),fontLigatures2:ie(new po),fontSize:ie(new AU),fontWeight:ie(new za),fontVariations:ie(new Gr),formatOnPaste:ie(new gt(55,"formatOnPaste",!1,{description:m("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:ie(new gt(56,"formatOnType",!1,{description:m("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:ie(new gt(57,"glyphMargin",!0,{description:m("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:ie(new PU),hideCursorInOverviewRuler:ie(new gt(59,"hideCursorInOverviewRuler",!1,{description:m("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:ie(new OU),inDiffEditor:ie(new gt(61,"inDiffEditor",!1)),letterSpacing:ie(new fr(64,"letterSpacing",As.letterSpacing,o=>fr.clamp(o,-5,20),{description:m("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:ie(new BU),lineDecorationsWidth:ie(new HU),lineHeight:ie(new zU),lineNumbers:ie(new ZU),lineNumbersMinChars:ie(new Pt(69,"lineNumbersMinChars",5,1,300)),linkedEditing:ie(new gt(70,"linkedEditing",!1,{description:m("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:ie(new gt(71,"links",!0,{description:m("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:ie(new di(72,"matchBrackets","always",["always","near","never"],{description:m("matchBrackets","Highlight matching brackets.")})),minimap:ie(new UU),mouseStyle:ie(new di(74,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:ie(new fr(75,"mouseWheelScrollSensitivity",1,o=>o===0?1:o,{markdownDescription:m("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:ie(new gt(76,"mouseWheelZoom",!1,{markdownDescription:lt?m("mouseWheelZoom.mac","Zoom the font of the editor when using mouse wheel and holding `Cmd`."):m("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:ie(new gt(77,"multiCursorMergeOverlapping",!0,{description:m("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:ie(new V0(78,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],$U,{markdownEnumDescriptions:[m("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),m("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:m({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:ie(new di(79,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[m("multiCursorPaste.spread","Each cursor pastes a single line of the text."),m("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:m("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:ie(new Pt(80,"multiCursorLimit",1e4,1,1e5,{markdownDescription:m("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:ie(new di(81,"occurrencesHighlight","singleFile",["off","singleFile","multiFile"],{markdownEnumDescriptions:[m("occurrencesHighlight.off","Does not highlight occurrences."),m("occurrencesHighlight.singleFile","Highlights occurrences only in the current file."),m("occurrencesHighlight.multiFile","Experimental: Highlights occurrences across all valid open files.")],markdownDescription:m("occurrencesHighlight","Controls whether occurrences should be highlighted across open files.")})),overviewRulerBorder:ie(new gt(82,"overviewRulerBorder",!0,{description:m("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:ie(new Pt(83,"overviewRulerLanes",3,0,3)),padding:ie(new jU),pasteAs:ie(new d$),parameterHints:ie(new KU),peekWidgetDefaultFocus:ie(new di(87,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[m("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),m("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:m("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:ie(new gt(88,"definitionLinkOpensInPeek",!1,{description:m("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:ie(new GU),quickSuggestionsDelay:ie(new Pt(90,"quickSuggestionsDelay",10,0,1073741824,{description:m("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:ie(new gt(91,"readOnly",!1)),readOnlyMessage:ie(new XU),renameOnType:ie(new gt(93,"renameOnType",!1,{description:m("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:m("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:ie(new gt(94,"renderControlCharacters",!0,{description:m("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:ie(new di(95,"renderFinalNewline",Cs?"dimmed":"on",["off","on","dimmed"],{description:m("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:ie(new di(96,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",m("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:m("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:ie(new gt(97,"renderLineHighlightOnlyWhenFocus",!1,{description:m("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:ie(new di(98,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:ie(new di(99,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",m("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),m("renderWhitespace.selection","Render whitespace characters only on selected text."),m("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:m("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:ie(new Pt(100,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:ie(new gt(101,"roundedSelection",!0,{description:m("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:ie(new YU),scrollbar:ie(new QU),scrollBeyondLastColumn:ie(new Pt(104,"scrollBeyondLastColumn",4,0,1073741824,{description:m("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:ie(new gt(105,"scrollBeyondLastLine",!0,{description:m("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:ie(new gt(106,"scrollPredominantAxis",!0,{description:m("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:ie(new gt(107,"selectionClipboard",!0,{description:m("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:Cs})),selectionHighlight:ie(new gt(108,"selectionHighlight",!0,{description:m("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:ie(new gt(109,"selectOnLineNumbers",!0)),showFoldingControls:ie(new di(110,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[m("showFoldingControls.always","Always show the folding controls."),m("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),m("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:m("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:ie(new gt(111,"showUnused",!0,{description:m("showUnused","Controls fading out of unused code.")})),showDeprecated:ie(new gt(139,"showDeprecated",!0,{description:m("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:ie(new VU),snippetSuggestions:ie(new di(112,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[m("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),m("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),m("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),m("snippetSuggestions.none","Do not show snippet suggestions.")],description:m("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:ie(new o$),smoothScrolling:ie(new gt(114,"smoothScrolling",!1,{description:m("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:ie(new Pt(117,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:ie(new s$),inlineSuggest:ie(new e$),inlineEdit:ie(new t$),inlineCompletionsAccessibilityVerbose:ie(new gt(148,"inlineCompletionsAccessibilityVerbose",!1,{description:m("inlineCompletionsAccessibilityVerbose","Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.")})),suggestFontSize:ie(new Pt(119,"suggestFontSize",0,0,1e3,{markdownDescription:m("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:ie(new Pt(120,"suggestLineHeight",0,0,1e3,{markdownDescription:m("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:ie(new gt(121,"suggestOnTriggerCharacters",!0,{description:m("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:ie(new di(122,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[m("suggestSelection.first","Always select the first suggestion."),m("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),m("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:m("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:ie(new di(123,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[m("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),m("tabCompletion.off","Disable tab completions."),m("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:m("tabCompletion","Enables tab completions.")})),tabIndex:ie(new Pt(124,"tabIndex",0,-1,1073741824)),unicodeHighlight:ie(new JU),unusualLineTerminators:ie(new di(126,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[m("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),m("unusualLineTerminators.off","Unusual line terminators are ignored."),m("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:m("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:ie(new gt(127,"useShadowDOM",!0)),useTabStops:ie(new gt(128,"useTabStops",!0,{description:m("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordBreak:ie(new di(129,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[m("wordBreak.normal","Use the default line break rule."),m("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:m("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSeparators:ie(new ls(130,"wordSeparators",G7,{description:m("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:ie(new di(131,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[m("wordWrap.off","Lines will never wrap."),m("wordWrap.on","Lines will wrap at the viewport width."),m({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),m({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:m({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:ie(new ls(132,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:ie(new ls(133,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:ie(new Pt(134,"wordWrapColumn",80,1,1073741824,{markdownDescription:m({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:ie(new di(135,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:ie(new di(136,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:ie(new NU),defaultColorDecorators:ie(new gt(146,"defaultColorDecorators",!1,{markdownDescription:m("defaultColorDecorators","Controls whether inline color decorations should be shown using the default document color provider")})),pixelRatio:ie(new qU),tabFocusMode:ie(new gt(143,"tabFocusMode",!1,{markdownDescription:m("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:ie(new Nf),wrappingInfo:ie(new a$),wrappingIndent:ie(new r$),wrappingStrategy:ie(new FU)};class g${constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?om.isErrorNoTelemetry(e)?new om(e.message+` @@ -654,22 +654,22 @@ ${e.toString()}`}}class vS{constructor(e=new a0,t=!1,i,n=Ele){var s;this._servic * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var Uhe=Object.defineProperty,$he=Object.getOwnPropertyDescriptor,jhe=Object.getOwnPropertyNames,Khe=Object.prototype.hasOwnProperty,Q5=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of jhe(e))!Khe.call(o,n)&&n!==t&&Uhe(o,n,{get:()=>e[n],enumerable:!(i=$he(e,n))||i.enumerable});return o},qhe=(o,e,t)=>(Q5(o,e,"default"),t&&Q5(t,e,"default")),__={};qhe(__,vL);var Y6={},Gx={},Ghe=class X6{static getOrCreate(e){return Gx[e]||(Gx[e]=new X6(e)),Gx[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,Y6[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function ye(o){const e=o.id;Y6[e]=o,__.languages.register(o);const t=Ghe.getOrCreate(e);__.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),__.languages.onLanguageEncountered(e,async()=>{const i=await t.load();__.languages.setLanguageConfiguration(e,i.conf)})}ye({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>be(()=>import("./D8nrxEjS.js"),[],import.meta.url)});ye({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>be(()=>import("./BrXDlLUW.js"),[],import.meta.url)});ye({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>be(()=>import("./CElzELwZ.js"),[],import.meta.url)});ye({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>be(()=>import("./CUsyEhik.js"),[],import.meta.url)});ye({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>be(()=>import("./BtxyJn6H.js"),[],import.meta.url)});ye({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>be(()=>import("./ClBCoF8h.js"),[],import.meta.url)});ye({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>be(()=>import("./B9TqLHAk.js"),[],import.meta.url)});ye({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>be(()=>import("./DYsfeylR.js"),[],import.meta.url)});ye({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>be(()=>import("./VVGvvgir.js"),[],import.meta.url)});ye({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>be(()=>import("./VVGvvgir.js"),[],import.meta.url)});ye({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>be(()=>import("./Z6z2stHy.js"),[],import.meta.url)});ye({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>be(()=>import("./DgZoLDI1.js"),[],import.meta.url)});ye({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>be(()=>import("./KqQ96-gC.js"),[],import.meta.url)});ye({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>be(()=>import("./CYoSlgTu.js"),[],import.meta.url)});ye({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>be(()=>import("./BGDl7St1.js"),[],import.meta.url)});ye({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>be(()=>import("./CuCtxA7T.js"),[],import.meta.url)});ye({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>be(()=>import("./BCTFAUpS.js"),[],import.meta.url)});ye({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>be(()=>import("./C7hRTYZ9.js"),[],import.meta.url)});ye({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>be(()=>import("./Bi_qi707.js"),[],import.meta.url)});ye({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>be(()=>import("./CxaaEKKi.js"),[],import.meta.url)});ye({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>be(()=>import("./B7XMFlob.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAutoInterpolationDollar)});ye({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>be(()=>import("./B7XMFlob.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAngleInterpolationDollar)});ye({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>be(()=>import("./B7XMFlob.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagBracketInterpolationDollar)});ye({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>be(()=>import("./B7XMFlob.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAngleInterpolationBracket)});ye({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>be(()=>import("./B7XMFlob.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagBracketInterpolationBracket)});ye({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>be(()=>import("./B7XMFlob.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAutoInterpolationDollar)});ye({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>be(()=>import("./B7XMFlob.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAutoInterpolationBracket)});ye({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>be(()=>import("./DUImKuGY.js"),[],import.meta.url)});ye({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>be(()=>import("./D5sGVkLV.js"),[],import.meta.url)});ye({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>be(()=>import("./MImNoLyP.js"),__vite__mapDeps([3,1,2]),import.meta.url)});ye({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>be(()=>import("./zD_CCkZ1.js"),[],import.meta.url)});ye({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>be(()=>import("./QlRNQh4W.js"),__vite__mapDeps([4,1,2]),import.meta.url)});ye({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>be(()=>import("./8kKHd4ZL.js"),[],import.meta.url)});ye({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>be(()=>import("./De1axCfe.js"),[],import.meta.url)});ye({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>be(()=>import("./BTI9I1BW.js"),__vite__mapDeps([5,6,1,2]),import.meta.url)});ye({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>be(()=>import("./D3ApGBxz.js"),[],import.meta.url)});ye({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>be(()=>import("./GbSrCElU.js"),[],import.meta.url)});ye({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>be(()=>import("./DNUaDNdz.js"),[],import.meta.url)});ye({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>be(()=>import("./Bg9QKxBu.js"),[],import.meta.url)});ye({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>be(()=>import("./Crkvc3mc.js"),[],import.meta.url)});ye({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>be(()=>import("./40djI6jg.js"),__vite__mapDeps([7,1,2]),import.meta.url)});ye({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>be(()=>import("./DsrzVyM1.js"),[],import.meta.url)});ye({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>be(()=>import("./CY5IOZuu.js"),[],import.meta.url)});ye({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>be(()=>import("./hEHxucza.js"),__vite__mapDeps([8,1,2]),import.meta.url)});ye({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>be(()=>import("./BE8RsGBA.js"),[],import.meta.url)});ye({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>be(()=>import("./N5ajIiFQ.js"),[],import.meta.url)});ye({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>be(()=>import("./DRxbB97D.js"),[],import.meta.url)});ye({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>be(()=>import("./BHUZy23s.js"),[],import.meta.url)});ye({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>be(()=>import("./BemVzBTY.js"),[],import.meta.url)});ye({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>be(()=>import("./BACCcnx_.js"),[],import.meta.url)});ye({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>be(()=>import("./CuU66Ptk.js"),[],import.meta.url)});ye({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>be(()=>import("./CQ6TMH2r.js"),[],import.meta.url)});ye({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>be(()=>import("./BvyzZa65.js"),[],import.meta.url)});ye({id:"pla",extensions:[".pla"],loader:()=>be(()=>import("./DrIuu9u1.js"),[],import.meta.url)});ye({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>be(()=>import("./BR_hrfni.js"),[],import.meta.url)});ye({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>be(()=>import("./CKDUeRmd.js"),[],import.meta.url)});ye({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>be(()=>import("./Dsa4rhA_.js"),[],import.meta.url)});ye({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>be(()=>import("./CGsvhooB.js"),[],import.meta.url)});ye({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>be(()=>import("./D2p3uOX2.js"),[],import.meta.url)});ye({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>be(()=>import("./CtjBds-2.js"),__vite__mapDeps([9,1,2]),import.meta.url)});ye({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>be(()=>import("./B7F3HtPF.js"),[],import.meta.url)});ye({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>be(()=>import("./3aLoi2fs.js"),[],import.meta.url)});ye({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>be(()=>import("./CiuJOSLS.js"),__vite__mapDeps([10,1,2]),import.meta.url)});ye({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>be(()=>import("./jqFeRM5s.js"),[],import.meta.url)});ye({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>be(()=>import("./BriwQgXR.js"),[],import.meta.url)});ye({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>be(()=>import("./hbBFZ0w9.js"),[],import.meta.url)});ye({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>be(()=>import("./ByThyB2Q.js"),[],import.meta.url)});ye({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>be(()=>import("./DIEZMp5R.js"),[],import.meta.url)});ye({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>be(()=>import("./C6Gjjw_x.js"),[],import.meta.url)});ye({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>be(()=>import("./DZNw3jJB.js"),[],import.meta.url)});ye({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>be(()=>import("./55eqh71t.js"),[],import.meta.url)});ye({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>be(()=>import("./D-OVkc4F.js"),[],import.meta.url)});ye({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>be(()=>import("./DSpi8_qN.js"),[],import.meta.url)});ye({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>be(()=>import("./BHddiNFS.js"),[],import.meta.url)});ye({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>be(()=>import("./D6taVZFb.js"),[],import.meta.url)});ye({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>be(()=>import("./LA0C7mUc.js"),[],import.meta.url)});ye({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>be(()=>import("./C3-3IcFM.js"),[],import.meta.url)});ye({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>be(()=>import("./C4g7059C.js"),[],import.meta.url)});ye({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>be(()=>import("./DNI1vH3h.js"),[],import.meta.url)});ye({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>be(()=>import("./DL_FVbcQ.js"),[],import.meta.url)});ye({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>be(()=>import("./DL_FVbcQ.js"),[],import.meta.url)});ye({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>be(()=>import("./DVJXmIwd.js"),[],import.meta.url)});ye({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>be(()=>import("./BVWDLtw5.js"),[],import.meta.url)});ye({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>be(()=>import("./CVjiJjdT.js"),__vite__mapDeps([6,1,2]),import.meta.url)});ye({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>be(()=>import("./Btz91-7U.js"),[],import.meta.url)});ye({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>be(()=>import("./D8V_buCG.js"),[],import.meta.url)});ye({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\be(()=>import("./CzN3yrO5.js"),__vite__mapDeps([11,1,2]),import.meta.url)});ye({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>be(()=>import("./fyG9LO_K.js"),__vite__mapDeps([12,1,2]),import.meta.url)});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var Uhe=Object.defineProperty,$he=Object.getOwnPropertyDescriptor,jhe=Object.getOwnPropertyNames,Khe=Object.prototype.hasOwnProperty,Q5=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of jhe(e))!Khe.call(o,n)&&n!==t&&Uhe(o,n,{get:()=>e[n],enumerable:!(i=$he(e,n))||i.enumerable});return o},qhe=(o,e,t)=>(Q5(o,e,"default"),t&&Q5(t,e,"default")),__={};qhe(__,vL);var Y6={},Gx={},Ghe=class X6{static getOrCreate(e){return Gx[e]||(Gx[e]=new X6(e)),Gx[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,Y6[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function ye(o){const e=o.id;Y6[e]=o,__.languages.register(o);const t=Ghe.getOrCreate(e);__.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),__.languages.onLanguageEncountered(e,async()=>{const i=await t.load();__.languages.setLanguageConfiguration(e,i.conf)})}ye({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>be(()=>import("./D8nrxEjS.js"),[],import.meta.url)});ye({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>be(()=>import("./BrXDlLUW.js"),[],import.meta.url)});ye({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>be(()=>import("./CElzELwZ.js"),[],import.meta.url)});ye({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>be(()=>import("./CUsyEhik.js"),[],import.meta.url)});ye({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>be(()=>import("./BtxyJn6H.js"),[],import.meta.url)});ye({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>be(()=>import("./ClBCoF8h.js"),[],import.meta.url)});ye({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>be(()=>import("./B9TqLHAk.js"),[],import.meta.url)});ye({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>be(()=>import("./DYsfeylR.js"),[],import.meta.url)});ye({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>be(()=>import("./VVGvvgir.js"),[],import.meta.url)});ye({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>be(()=>import("./VVGvvgir.js"),[],import.meta.url)});ye({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>be(()=>import("./Z6z2stHy.js"),[],import.meta.url)});ye({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>be(()=>import("./DgZoLDI1.js"),[],import.meta.url)});ye({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>be(()=>import("./KqQ96-gC.js"),[],import.meta.url)});ye({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>be(()=>import("./CYoSlgTu.js"),[],import.meta.url)});ye({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>be(()=>import("./BGDl7St1.js"),[],import.meta.url)});ye({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>be(()=>import("./CuCtxA7T.js"),[],import.meta.url)});ye({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>be(()=>import("./BCTFAUpS.js"),[],import.meta.url)});ye({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>be(()=>import("./C7hRTYZ9.js"),[],import.meta.url)});ye({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>be(()=>import("./Bi_qi707.js"),[],import.meta.url)});ye({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>be(()=>import("./CxaaEKKi.js"),[],import.meta.url)});ye({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>be(()=>import("./CbPdyUzT.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAutoInterpolationDollar)});ye({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>be(()=>import("./CbPdyUzT.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAngleInterpolationDollar)});ye({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>be(()=>import("./CbPdyUzT.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagBracketInterpolationDollar)});ye({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>be(()=>import("./CbPdyUzT.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAngleInterpolationBracket)});ye({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>be(()=>import("./CbPdyUzT.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagBracketInterpolationBracket)});ye({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>be(()=>import("./CbPdyUzT.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAutoInterpolationDollar)});ye({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>be(()=>import("./CbPdyUzT.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAutoInterpolationBracket)});ye({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>be(()=>import("./DUImKuGY.js"),[],import.meta.url)});ye({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>be(()=>import("./D5sGVkLV.js"),[],import.meta.url)});ye({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>be(()=>import("./B1Xi-1xl.js"),__vite__mapDeps([3,1,2]),import.meta.url)});ye({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>be(()=>import("./zD_CCkZ1.js"),[],import.meta.url)});ye({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>be(()=>import("./BuatQLKg.js"),__vite__mapDeps([4,1,2]),import.meta.url)});ye({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>be(()=>import("./8kKHd4ZL.js"),[],import.meta.url)});ye({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>be(()=>import("./De1axCfe.js"),[],import.meta.url)});ye({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>be(()=>import("./dE1ShenZ.js"),__vite__mapDeps([5,6,1,2]),import.meta.url)});ye({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>be(()=>import("./D3ApGBxz.js"),[],import.meta.url)});ye({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>be(()=>import("./GbSrCElU.js"),[],import.meta.url)});ye({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>be(()=>import("./DNUaDNdz.js"),[],import.meta.url)});ye({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>be(()=>import("./Bg9QKxBu.js"),[],import.meta.url)});ye({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>be(()=>import("./Crkvc3mc.js"),[],import.meta.url)});ye({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>be(()=>import("./CmgRl0j7.js"),__vite__mapDeps([7,1,2]),import.meta.url)});ye({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>be(()=>import("./DsrzVyM1.js"),[],import.meta.url)});ye({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>be(()=>import("./CY5IOZuu.js"),[],import.meta.url)});ye({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>be(()=>import("./C0QVr14l.js"),__vite__mapDeps([8,1,2]),import.meta.url)});ye({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>be(()=>import("./BE8RsGBA.js"),[],import.meta.url)});ye({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>be(()=>import("./N5ajIiFQ.js"),[],import.meta.url)});ye({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>be(()=>import("./DRxbB97D.js"),[],import.meta.url)});ye({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>be(()=>import("./BHUZy23s.js"),[],import.meta.url)});ye({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>be(()=>import("./BemVzBTY.js"),[],import.meta.url)});ye({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>be(()=>import("./BACCcnx_.js"),[],import.meta.url)});ye({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>be(()=>import("./CuU66Ptk.js"),[],import.meta.url)});ye({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>be(()=>import("./CQ6TMH2r.js"),[],import.meta.url)});ye({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>be(()=>import("./BvyzZa65.js"),[],import.meta.url)});ye({id:"pla",extensions:[".pla"],loader:()=>be(()=>import("./DrIuu9u1.js"),[],import.meta.url)});ye({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>be(()=>import("./BR_hrfni.js"),[],import.meta.url)});ye({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>be(()=>import("./CKDUeRmd.js"),[],import.meta.url)});ye({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>be(()=>import("./Dsa4rhA_.js"),[],import.meta.url)});ye({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>be(()=>import("./CGsvhooB.js"),[],import.meta.url)});ye({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>be(()=>import("./D2p3uOX2.js"),[],import.meta.url)});ye({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>be(()=>import("./D4MbSk1d.js"),__vite__mapDeps([9,1,2]),import.meta.url)});ye({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>be(()=>import("./B7F3HtPF.js"),[],import.meta.url)});ye({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>be(()=>import("./3aLoi2fs.js"),[],import.meta.url)});ye({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>be(()=>import("./D_WxEPGQ.js"),__vite__mapDeps([10,1,2]),import.meta.url)});ye({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>be(()=>import("./jqFeRM5s.js"),[],import.meta.url)});ye({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>be(()=>import("./BriwQgXR.js"),[],import.meta.url)});ye({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>be(()=>import("./hbBFZ0w9.js"),[],import.meta.url)});ye({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>be(()=>import("./ByThyB2Q.js"),[],import.meta.url)});ye({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>be(()=>import("./DIEZMp5R.js"),[],import.meta.url)});ye({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>be(()=>import("./C6Gjjw_x.js"),[],import.meta.url)});ye({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>be(()=>import("./DZNw3jJB.js"),[],import.meta.url)});ye({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>be(()=>import("./55eqh71t.js"),[],import.meta.url)});ye({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>be(()=>import("./D-OVkc4F.js"),[],import.meta.url)});ye({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>be(()=>import("./DSpi8_qN.js"),[],import.meta.url)});ye({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>be(()=>import("./BHddiNFS.js"),[],import.meta.url)});ye({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>be(()=>import("./D6taVZFb.js"),[],import.meta.url)});ye({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>be(()=>import("./LA0C7mUc.js"),[],import.meta.url)});ye({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>be(()=>import("./C3-3IcFM.js"),[],import.meta.url)});ye({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>be(()=>import("./C4g7059C.js"),[],import.meta.url)});ye({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>be(()=>import("./DNI1vH3h.js"),[],import.meta.url)});ye({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>be(()=>import("./DL_FVbcQ.js"),[],import.meta.url)});ye({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>be(()=>import("./DL_FVbcQ.js"),[],import.meta.url)});ye({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>be(()=>import("./DVJXmIwd.js"),[],import.meta.url)});ye({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>be(()=>import("./BVWDLtw5.js"),[],import.meta.url)});ye({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>be(()=>import("./B5-Z72C8.js"),__vite__mapDeps([6,1,2]),import.meta.url)});ye({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>be(()=>import("./Btz91-7U.js"),[],import.meta.url)});ye({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>be(()=>import("./D8V_buCG.js"),[],import.meta.url)});ye({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\be(()=>import("./DA3NC5Dd.js"),__vite__mapDeps([11,1,2]),import.meta.url)});ye({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>be(()=>import("./CTFN1c0r.js"),__vite__mapDeps([12,1,2]),import.meta.url)});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var Zhe=Object.defineProperty,Yhe=Object.getOwnPropertyDescriptor,Xhe=Object.getOwnPropertyNames,Qhe=Object.prototype.hasOwnProperty,J5=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Xhe(e))!Qhe.call(o,n)&&n!==t&&Zhe(o,n,{get:()=>e[n],enumerable:!(i=Yhe(e,n))||i.enumerable});return o},Jhe=(o,e,t)=>(J5(o,e,"default"),t&&J5(t,e,"default")),dp={};Jhe(dp,vL);var wA=class{constructor(e,t,i){this._onDidChange=new dp.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},SA={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},yA={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},Q6=new wA("css",SA,yA),J6=new wA("scss",SA,yA),eV=new wA("less",SA,yA);dp.languages.css={cssDefaults:Q6,lessDefaults:eV,scssDefaults:J6};function LA(){return be(()=>import("./Rkcm0t1T.js"),__vite__mapDeps([13,1,2]),import.meta.url)}dp.languages.onLanguage("less",()=>{LA().then(o=>o.setupMode(eV))});dp.languages.onLanguage("scss",()=>{LA().then(o=>o.setupMode(J6))});dp.languages.onLanguage("css",()=>{LA().then(o=>o.setupMode(Q6))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var Zhe=Object.defineProperty,Yhe=Object.getOwnPropertyDescriptor,Xhe=Object.getOwnPropertyNames,Qhe=Object.prototype.hasOwnProperty,J5=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Xhe(e))!Qhe.call(o,n)&&n!==t&&Zhe(o,n,{get:()=>e[n],enumerable:!(i=Yhe(e,n))||i.enumerable});return o},Jhe=(o,e,t)=>(J5(o,e,"default"),t&&J5(t,e,"default")),dp={};Jhe(dp,vL);var wA=class{constructor(e,t,i){this._onDidChange=new dp.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},SA={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},yA={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},Q6=new wA("css",SA,yA),J6=new wA("scss",SA,yA),eV=new wA("less",SA,yA);dp.languages.css={cssDefaults:Q6,lessDefaults:eV,scssDefaults:J6};function LA(){return be(()=>import("./D53MXHFI.js"),__vite__mapDeps([13,1,2]),import.meta.url)}dp.languages.onLanguage("less",()=>{LA().then(o=>o.setupMode(eV))});dp.languages.onLanguage("scss",()=>{LA().then(o=>o.setupMode(J6))});dp.languages.onLanguage("css",()=>{LA().then(o=>o.setupMode(Q6))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var eue=Object.defineProperty,tue=Object.getOwnPropertyDescriptor,iue=Object.getOwnPropertyNames,nue=Object.prototype.hasOwnProperty,e3=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of iue(e))!nue.call(o,n)&&n!==t&&eue(o,n,{get:()=>e[n],enumerable:!(i=tue(e,n))||i.enumerable});return o},sue=(o,e,t)=>(e3(o,e,"default"),t&&e3(t,e,"default")),bL={};sue(bL,vL);var oue=class{constructor(e,t,i){this._onDidChange=new bL.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},rue={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},CL={format:rue,suggest:{},data:{useDefaultDataProvider:!0}};function wL(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===G_,documentFormattingEdits:o===G_,documentRangeFormattingEdits:o===G_}}var G_="html",t3="handlebars",i3="razor",tV=SL(G_,CL,wL(G_)),aue=tV.defaults,iV=SL(t3,CL,wL(t3)),lue=iV.defaults,nV=SL(i3,CL,wL(i3)),due=nV.defaults;bL.languages.html={htmlDefaults:aue,razorDefaults:due,handlebarDefaults:lue,htmlLanguageService:tV,handlebarLanguageService:iV,razorLanguageService:nV,registerHTMLLanguageService:SL};function cue(){return be(()=>import("./BMqwImlx.js"),__vite__mapDeps([14,1,2]),import.meta.url)}function SL(o,e=CL,t=wL(o)){const i=new oue(o,e,t);let n;const s=bL.languages.onLanguage(o,async()=>{n=(await cue()).setupMode(i)});return{defaults:i,dispose(){s.dispose(),n==null||n.dispose(),n=void 0}}}var hue=class{constructor(e,t,i){this._onDidChange=new CA,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},uue={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},gue={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},sV=new hue("json",uue,gue),fue=()=>oV().then(o=>o.getWorker());w0.json={jsonDefaults:sV,getWorker:fue};function oV(){return be(()=>import("./CY3KjrGY.js"),__vite__mapDeps([15,1,2]),import.meta.url)}w0.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});w0.onLanguage("json",()=>{oV().then(o=>o.setupMode(sV))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var eue=Object.defineProperty,tue=Object.getOwnPropertyDescriptor,iue=Object.getOwnPropertyNames,nue=Object.prototype.hasOwnProperty,e3=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of iue(e))!nue.call(o,n)&&n!==t&&eue(o,n,{get:()=>e[n],enumerable:!(i=tue(e,n))||i.enumerable});return o},sue=(o,e,t)=>(e3(o,e,"default"),t&&e3(t,e,"default")),bL={};sue(bL,vL);var oue=class{constructor(e,t,i){this._onDidChange=new bL.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},rue={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},CL={format:rue,suggest:{},data:{useDefaultDataProvider:!0}};function wL(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===G_,documentFormattingEdits:o===G_,documentRangeFormattingEdits:o===G_}}var G_="html",t3="handlebars",i3="razor",tV=SL(G_,CL,wL(G_)),aue=tV.defaults,iV=SL(t3,CL,wL(t3)),lue=iV.defaults,nV=SL(i3,CL,wL(i3)),due=nV.defaults;bL.languages.html={htmlDefaults:aue,razorDefaults:due,handlebarDefaults:lue,htmlLanguageService:tV,handlebarLanguageService:iV,razorLanguageService:nV,registerHTMLLanguageService:SL};function cue(){return be(()=>import("./DfTjb7eK.js"),__vite__mapDeps([14,1,2]),import.meta.url)}function SL(o,e=CL,t=wL(o)){const i=new oue(o,e,t);let n;const s=bL.languages.onLanguage(o,async()=>{n=(await cue()).setupMode(i)});return{defaults:i,dispose(){s.dispose(),n==null||n.dispose(),n=void 0}}}var hue=class{constructor(e,t,i){this._onDidChange=new CA,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},uue={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},gue={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},sV=new hue("json",uue,gue),fue=()=>oV().then(o=>o.getWorker());w0.json={jsonDefaults:sV,getWorker:fue};function oV(){return be(()=>import("./njeYAgp7.js"),__vite__mapDeps([15,1,2]),import.meta.url)}w0.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});w0.onLanguage("json",()=>{oV().then(o=>o.setupMode(sV))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var mue=Object.defineProperty,pue=Object.getOwnPropertyDescriptor,_ue=Object.getOwnPropertyNames,vue=Object.prototype.hasOwnProperty,n3=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of _ue(e))!vue.call(o,n)&&n!==t&&mue(o,n,{get:()=>e[n],enumerable:!(i=pue(e,n))||i.enumerable});return o},bue=(o,e,t)=>(n3(o,e,"default"),t&&n3(t,e,"default")),Cue="5.0.2",Om={};bue(Om,vL);var rV=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(rV||{}),aV=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(aV||{}),lV=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(lV||{}),dV=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(dV||{}),cV=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(cV||{}),hV=class{constructor(o,e,t,i,n){this._onDidChange=new Om.Emitter,this._onDidExtraLibsChange=new Om.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(o),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(o,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===o)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:o,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(o){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),o&&o.length>0)for(const e of o){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(o){this._compilerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(o){this._workerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(o){this._inlayHintsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(o){}setEagerModelSync(o){this._eagerModelSync=o}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(void 0)}},wue=Cue,uV={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},gV=new hV({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},uV),fV=new hV({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},uV),Sue=()=>yL().then(o=>o.getTypeScriptWorker()),yue=()=>yL().then(o=>o.getJavaScriptWorker());Om.languages.typescript={ModuleKind:rV,JsxEmit:aV,NewLineKind:lV,ScriptTarget:dV,ModuleResolutionKind:cV,typescriptVersion:wue,typescriptDefaults:gV,javascriptDefaults:fV,getTypeScriptWorker:Sue,getJavaScriptWorker:yue};function yL(){return be(()=>import("./DjcGo_Wf.js"),__vite__mapDeps([16,1,2]),import.meta.url)}Om.languages.onLanguage("typescript",()=>yL().then(o=>o.setupTypeScript(gV)));Om.languages.onLanguage("javascript",()=>yL().then(o=>o.setupJavaScript(fV)));class Lue extends Vs{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:mt("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:re.map,toggled:q.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:q.has("isInDiffEditor"),menu:{when:q.has("isInDiffEditor"),id:k.EditorTitle,order:22,group:"navigation"}})}run(e,...t){const i=e.get(Qe),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}Wt(Lue);class mV extends Vs{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:mt("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(Qe),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}Wt(mV);class pV extends Vs{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:mt("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(Qe),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}Wt(pV);wn.appendMenuItem(k.EditorTitle,{command:{id:new pV().desc.id,title:m("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:q.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:q.has("isInDiffEditor")},order:11,group:"1_diff",when:q.and(E.diffEditorRenderSideBySideInlineBreakpointReached,q.has("isInDiffEditor"))});wn.appendMenuItem(k.EditorTitle,{command:{id:new mV().desc.id,title:m("showMoves","Show Moved Code Blocks"),icon:re.move,toggled:Xm.create("config.diffEditor.experimental.showMoves",!0),precondition:q.has("isInDiffEditor")},order:10,group:"1_diff",when:q.has("isInDiffEditor")});const LL=mt("diffEditor","Diff Editor");class Due extends va{constructor(){super({id:"diffEditor.switchSide",title:mt("switchSide","Switch Side"),icon:re.arrowSwap,precondition:q.has("isInDiffEditor"),f1:!0,category:LL})}runEditorCommand(e,t,i){const n=hp(e);if(n instanceof sh){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}Wt(Due);class xue extends va{constructor(){super({id:"diffEditor.exitCompareMove",title:mt("exitCompareMove","Exit Compare Move"),icon:re.close,precondition:E.comparingMovedCode,f1:!1,category:LL,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){const n=hp(e);n instanceof sh&&n.exitCompareMove()}}Wt(xue);class kue extends va{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:mt("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:re.fold,precondition:q.has("isInDiffEditor"),f1:!0,category:LL})}runEditorCommand(e,t,...i){const n=hp(e);n instanceof sh&&n.collapseAllUnchangedRegions()}}Wt(kue);class Iue extends va{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:mt("showAllUnchangedRegions","Show All Unchanged Regions"),icon:re.unfold,precondition:q.has("isInDiffEditor"),f1:!0,category:LL})}runEditorCommand(e,t,...i){const n=hp(e);n instanceof sh&&n.showAllUnchangedRegions()}}Wt(Iue);const _V=mt("accessibleDiffViewer","Accessible Diff Viewer");class cp extends Vs{constructor(){super({id:cp.id,title:mt("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:_V,precondition:q.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){const t=hp(e);t==null||t.accessibleDiffViewerNext()}}cp.id="editor.action.accessibleDiffViewer.next";wn.appendMenuItem(k.EditorTitle,{command:{id:cp.id,title:m("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:q.has("isInDiffEditor")},order:10,group:"2_diff",when:q.and(E.accessibleDiffViewerVisible.negate(),q.has("isInDiffEditor"))});class S0 extends Vs{constructor(){super({id:S0.id,title:mt("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:_V,precondition:q.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){const t=hp(e);t==null||t.accessibleDiffViewerPrev()}}S0.id="editor.action.accessibleDiffViewer.prev";function hp(o){const t=o.get(_t).listDiffEditors(),i=Nn();if(i)for(const n of t){const s=n.getContainerDomNode();if(Eue(s,i))return n}return null}function Eue(o,e){let t=e;for(;t;){if(t===o)return!0;t=t.parentElement}return!1}ct.registerCommandAlias("editor.action.diffReview.next",cp.id);Wt(cp);ct.registerCommandAlias("editor.action.diffReview.prev",S0.id);Wt(S0);var Nue=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Tue=function(o,e){return function(t,i){e(t,i,o)}},sT;const DL=new de("selectionAnchorSet",!1);let Ed=sT=class{static get(e){return e.getContribution(sT.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=DL.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(_e.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new Fn().appendText(m("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),eo(m("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(_e.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};Ed.ID="editor.contrib.selectionAnchorController";Ed=sT=Nue([Tue(1,Ae)],Ed);class Mue extends he{constructor(){super({id:"editor.action.setSelectionAnchor",label:m("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:Ui(2089,2080),weight:100}})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.setSelectionAnchor()}}class Rue extends he{constructor(){super({id:"editor.action.goToSelectionAnchor",label:m("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:DL})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.goToSelectionAnchor()}}class Aue extends he{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:m("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:DL,kbOpts:{kbExpr:E.editorTextFocus,primary:Ui(2089,2089),weight:100}})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.selectFromAnchorToCursor()}}class Pue extends he{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:m("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:DL,kbOpts:{kbExpr:E.editorTextFocus,primary:9,weight:100}})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.cancelSelectionAnchor()}}vt(Ed.ID,Ed,4);Q(Mue);Q(Rue);Q(Aue);Q(Pue);const Oue=N("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},m("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class Fue extends he{constructor(){super({id:"editor.action.jumpToBracket",label:m("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;(i=Sr.get(t))===null||i===void 0||i.jumpToBracket()}}class Bue extends he{constructor(){super({id:"editor.action.selectToBracket",label:m("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:mt("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var n;let s=!0;i&&i.selectBrackets===!1&&(s=!1),(n=Sr.get(t))===null||n===void 0||n.selectToBracket(s)}}class Wue extends he{constructor(){super({id:"editor.action.removeBrackets",label:m("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;(i=Sr.get(t))===null||i===void 0||i.removeBrackets(this.id)}}class Vue{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class Sr extends V{static get(e){return e.getContribution(Sr.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new Rt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),s=e.bracketPairs.matchBracket(n);let r=null;if(s)s[0].containsPosition(n)&&!s[1].containsPosition(n)?r=s[1].getStartPosition():s[1].containsPosition(n)&&(r=s[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new _e(r.lineNumber,r.column,r.lineNumber,r.column):new _e(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const s=n.getStartPosition();let r=t.bracketPairs.matchBracket(s);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(s),!r)){const d=t.bracketPairs.findNextBracket(s);d&&d.range&&(r=t.bracketPairs.matchBracket(d.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(D.compareRangesUsingStarts);const[d,c]=r;if(a=e?d.getStartPosition():d.getEndPosition(),l=e?c.getEndPosition():c.getStartPosition(),c.containsPosition(s)){const h=a;a=l,l=h}}a&&l&&i.push(new _e(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;const t=this._editor.getModel();this._editor.getSelections().forEach(i=>{const n=i.getPosition();let s=t.bracketPairs.matchBracket(n);s||(s=t.bracketPairs.findEnclosingBrackets(n)),s&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:s[0],text:""},{range:s[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const s=[];let r=0;for(let h=0,u=e.length;h1&&s.sort(F.compare);const a=[];let l=0,d=0;const c=n.length;for(let h=0,u=s.length;h0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}Q($ue);const xL=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let o;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?o=crypto.getRandomValues.bind(crypto):o=function(i){for(let n=0;no,asFile:()=>{},value:typeof o=="string"?o:void 0}}function jue(o,e,t){const i={id:xL(),name:o,uri:e,data:t};return{asString:async()=>"",asFile:()=>i,value:void 0}}class bV{constructor(){this._entries=new Map}get size(){let e=0;for(const t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){const t=[...this._entries.keys()];return dt.some(this,([i,n])=>n.asFile())&&t.push("files"),wV(xS(e),t)}get(e){var t;return(t=this._entries.get(this.toKey(e)))===null||t===void 0?void 0:t[0]}append(e,t){const i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(const[e,t]of this._entries)for(const i of t)yield[e,i]}toKey(e){return xS(e)}}function xS(o){return o.toLowerCase()}function CV(o,e){return wV(xS(o),e.map(xS))}function wV(o,e){if(o==="*/*")return e.length>0;if(e.includes(o))return!0;const t=o.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!t)return!1;const[i,n,s]=t;return s==="*"?e.some(r=>r.startsWith(n+"/")):!1}const kL=Object.freeze({create:o=>Ld(o.map(e=>e.toString())).join(`\r + *-----------------------------------------------------------------------------*/var mue=Object.defineProperty,pue=Object.getOwnPropertyDescriptor,_ue=Object.getOwnPropertyNames,vue=Object.prototype.hasOwnProperty,n3=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of _ue(e))!vue.call(o,n)&&n!==t&&mue(o,n,{get:()=>e[n],enumerable:!(i=pue(e,n))||i.enumerable});return o},bue=(o,e,t)=>(n3(o,e,"default"),t&&n3(t,e,"default")),Cue="5.0.2",Om={};bue(Om,vL);var rV=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(rV||{}),aV=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(aV||{}),lV=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(lV||{}),dV=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(dV||{}),cV=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(cV||{}),hV=class{constructor(o,e,t,i,n){this._onDidChange=new Om.Emitter,this._onDidExtraLibsChange=new Om.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(o),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(o,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===o)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:o,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(o){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),o&&o.length>0)for(const e of o){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(o){this._compilerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(o){this._workerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(o){this._inlayHintsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(o){}setEagerModelSync(o){this._eagerModelSync=o}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(void 0)}},wue=Cue,uV={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},gV=new hV({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},uV),fV=new hV({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},uV),Sue=()=>yL().then(o=>o.getTypeScriptWorker()),yue=()=>yL().then(o=>o.getJavaScriptWorker());Om.languages.typescript={ModuleKind:rV,JsxEmit:aV,NewLineKind:lV,ScriptTarget:dV,ModuleResolutionKind:cV,typescriptVersion:wue,typescriptDefaults:gV,javascriptDefaults:fV,getTypeScriptWorker:Sue,getJavaScriptWorker:yue};function yL(){return be(()=>import("./DiKx5yui.js"),__vite__mapDeps([16,1,2]),import.meta.url)}Om.languages.onLanguage("typescript",()=>yL().then(o=>o.setupTypeScript(gV)));Om.languages.onLanguage("javascript",()=>yL().then(o=>o.setupJavaScript(fV)));class Lue extends Vs{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:mt("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:re.map,toggled:q.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:q.has("isInDiffEditor"),menu:{when:q.has("isInDiffEditor"),id:k.EditorTitle,order:22,group:"navigation"}})}run(e,...t){const i=e.get(Qe),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}Wt(Lue);class mV extends Vs{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:mt("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(Qe),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}Wt(mV);class pV extends Vs{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:mt("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(Qe),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}Wt(pV);wn.appendMenuItem(k.EditorTitle,{command:{id:new pV().desc.id,title:m("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:q.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:q.has("isInDiffEditor")},order:11,group:"1_diff",when:q.and(E.diffEditorRenderSideBySideInlineBreakpointReached,q.has("isInDiffEditor"))});wn.appendMenuItem(k.EditorTitle,{command:{id:new mV().desc.id,title:m("showMoves","Show Moved Code Blocks"),icon:re.move,toggled:Xm.create("config.diffEditor.experimental.showMoves",!0),precondition:q.has("isInDiffEditor")},order:10,group:"1_diff",when:q.has("isInDiffEditor")});const LL=mt("diffEditor","Diff Editor");class Due extends va{constructor(){super({id:"diffEditor.switchSide",title:mt("switchSide","Switch Side"),icon:re.arrowSwap,precondition:q.has("isInDiffEditor"),f1:!0,category:LL})}runEditorCommand(e,t,i){const n=hp(e);if(n instanceof sh){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}Wt(Due);class xue extends va{constructor(){super({id:"diffEditor.exitCompareMove",title:mt("exitCompareMove","Exit Compare Move"),icon:re.close,precondition:E.comparingMovedCode,f1:!1,category:LL,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){const n=hp(e);n instanceof sh&&n.exitCompareMove()}}Wt(xue);class kue extends va{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:mt("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:re.fold,precondition:q.has("isInDiffEditor"),f1:!0,category:LL})}runEditorCommand(e,t,...i){const n=hp(e);n instanceof sh&&n.collapseAllUnchangedRegions()}}Wt(kue);class Iue extends va{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:mt("showAllUnchangedRegions","Show All Unchanged Regions"),icon:re.unfold,precondition:q.has("isInDiffEditor"),f1:!0,category:LL})}runEditorCommand(e,t,...i){const n=hp(e);n instanceof sh&&n.showAllUnchangedRegions()}}Wt(Iue);const _V=mt("accessibleDiffViewer","Accessible Diff Viewer");class cp extends Vs{constructor(){super({id:cp.id,title:mt("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:_V,precondition:q.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){const t=hp(e);t==null||t.accessibleDiffViewerNext()}}cp.id="editor.action.accessibleDiffViewer.next";wn.appendMenuItem(k.EditorTitle,{command:{id:cp.id,title:m("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:q.has("isInDiffEditor")},order:10,group:"2_diff",when:q.and(E.accessibleDiffViewerVisible.negate(),q.has("isInDiffEditor"))});class S0 extends Vs{constructor(){super({id:S0.id,title:mt("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:_V,precondition:q.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){const t=hp(e);t==null||t.accessibleDiffViewerPrev()}}S0.id="editor.action.accessibleDiffViewer.prev";function hp(o){const t=o.get(_t).listDiffEditors(),i=Nn();if(i)for(const n of t){const s=n.getContainerDomNode();if(Eue(s,i))return n}return null}function Eue(o,e){let t=e;for(;t;){if(t===o)return!0;t=t.parentElement}return!1}ct.registerCommandAlias("editor.action.diffReview.next",cp.id);Wt(cp);ct.registerCommandAlias("editor.action.diffReview.prev",S0.id);Wt(S0);var Nue=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Tue=function(o,e){return function(t,i){e(t,i,o)}},sT;const DL=new de("selectionAnchorSet",!1);let Ed=sT=class{static get(e){return e.getContribution(sT.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=DL.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(_e.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new Fn().appendText(m("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),eo(m("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(_e.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};Ed.ID="editor.contrib.selectionAnchorController";Ed=sT=Nue([Tue(1,Ae)],Ed);class Mue extends he{constructor(){super({id:"editor.action.setSelectionAnchor",label:m("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:Ui(2089,2080),weight:100}})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.setSelectionAnchor()}}class Rue extends he{constructor(){super({id:"editor.action.goToSelectionAnchor",label:m("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:DL})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.goToSelectionAnchor()}}class Aue extends he{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:m("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:DL,kbOpts:{kbExpr:E.editorTextFocus,primary:Ui(2089,2089),weight:100}})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.selectFromAnchorToCursor()}}class Pue extends he{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:m("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:DL,kbOpts:{kbExpr:E.editorTextFocus,primary:9,weight:100}})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.cancelSelectionAnchor()}}vt(Ed.ID,Ed,4);Q(Mue);Q(Rue);Q(Aue);Q(Pue);const Oue=N("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},m("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class Fue extends he{constructor(){super({id:"editor.action.jumpToBracket",label:m("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;(i=Sr.get(t))===null||i===void 0||i.jumpToBracket()}}class Bue extends he{constructor(){super({id:"editor.action.selectToBracket",label:m("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:mt("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var n;let s=!0;i&&i.selectBrackets===!1&&(s=!1),(n=Sr.get(t))===null||n===void 0||n.selectToBracket(s)}}class Wue extends he{constructor(){super({id:"editor.action.removeBrackets",label:m("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;(i=Sr.get(t))===null||i===void 0||i.removeBrackets(this.id)}}class Vue{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class Sr extends V{static get(e){return e.getContribution(Sr.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new Rt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),s=e.bracketPairs.matchBracket(n);let r=null;if(s)s[0].containsPosition(n)&&!s[1].containsPosition(n)?r=s[1].getStartPosition():s[1].containsPosition(n)&&(r=s[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new _e(r.lineNumber,r.column,r.lineNumber,r.column):new _e(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const s=n.getStartPosition();let r=t.bracketPairs.matchBracket(s);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(s),!r)){const d=t.bracketPairs.findNextBracket(s);d&&d.range&&(r=t.bracketPairs.matchBracket(d.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(D.compareRangesUsingStarts);const[d,c]=r;if(a=e?d.getStartPosition():d.getEndPosition(),l=e?c.getEndPosition():c.getStartPosition(),c.containsPosition(s)){const h=a;a=l,l=h}}a&&l&&i.push(new _e(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;const t=this._editor.getModel();this._editor.getSelections().forEach(i=>{const n=i.getPosition();let s=t.bracketPairs.matchBracket(n);s||(s=t.bracketPairs.findEnclosingBrackets(n)),s&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:s[0],text:""},{range:s[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const s=[];let r=0;for(let h=0,u=e.length;h1&&s.sort(F.compare);const a=[];let l=0,d=0;const c=n.length;for(let h=0,u=s.length;h0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}Q($ue);const xL=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let o;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?o=crypto.getRandomValues.bind(crypto):o=function(i){for(let n=0;no,asFile:()=>{},value:typeof o=="string"?o:void 0}}function jue(o,e,t){const i={id:xL(),name:o,uri:e,data:t};return{asString:async()=>"",asFile:()=>i,value:void 0}}class bV{constructor(){this._entries=new Map}get size(){let e=0;for(const t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){const t=[...this._entries.keys()];return dt.some(this,([i,n])=>n.asFile())&&t.push("files"),wV(xS(e),t)}get(e){var t;return(t=this._entries.get(this.toKey(e)))===null||t===void 0?void 0:t[0]}append(e,t){const i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(const[e,t]of this._entries)for(const i of t)yield[e,i]}toKey(e){return xS(e)}}function xS(o){return o.toLowerCase()}function CV(o,e){return wV(xS(o),e.map(xS))}function wV(o,e){if(o==="*/*")return e.length>0;if(e.includes(o))return!0;const t=o.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!t)return!1;const[i,n,s]=t;return s==="*"?e.some(r=>r.startsWith(n+"/")):!1}const kL=Object.freeze({create:o=>Ld(o.map(e=>e.toString())).join(`\r `),split:o=>o.split(`\r `),parse:o=>kL.split(o).filter(e=>!e.startsWith("#"))}),s3={EDITORS:"CodeEditors",FILES:"CodeFiles"};class Kue{}const que={DragAndDropContribution:"workbench.contributions.dragAndDrop"};li.add(que.DragAndDropContribution,new Kue);class fb{constructor(){}static getInstance(){return fb.INSTANCE}hasData(e){return e&&e===this.proto}getData(e){if(this.hasData(e))return this.data}}fb.INSTANCE=new fb;function SV(o){const e=new bV;for(const t of o.items){const i=t.type;if(t.kind==="string"){const n=new Promise(s=>t.getAsString(s));e.append(i,DA(n))}else if(t.kind==="file"){const n=t.getAsFile();n&&e.append(i,Gue(n))}}return e}function Gue(o){const e=o.path?xe.parse(o.path):void 0;return jue(o.name,e,async()=>new Uint8Array(await o.arrayBuffer()))}const Zue=Object.freeze([s3.EDITORS,s3.FILES,Zv.RESOURCES,Zv.INTERNAL_URI_LIST]);function yV(o,e=!1){const t=SV(o),i=t.get(Zv.INTERNAL_URI_LIST);if(i)t.replace(pi.uriList,i);else if(e||!t.has(pi.uriList)){const n=[];for(const s of o.items){const r=s.getAsFile();if(r){const a=r.path;try{a?n.push(xe.file(a).toString()):n.push(xe.parse(r.name,!0).toString())}catch{}}}n.length&&t.replace(pi.uriList,DA(kL.create(n)))}for(const n of Zue)t.delete(n);return t}class cr{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return e===95||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};const e=this.pos;let t=0,i=this.value.charCodeAt(e),n;if(n=cr._table[i],typeof n=="number")return this.pos+=1,{type:n,pos:e,len:1};if(cr.isDigitCharacter(i)){n=8;do t+=1,i=this.value.charCodeAt(e+t);while(cr.isDigitCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}if(cr.isVariableCharacter(i)){n=9;do i=this.value.charCodeAt(e+ ++t);while(cr.isVariableCharacter(i)||cr.isDigitCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}n=10;do t+=1,i=this.value.charCodeAt(e+t);while(!isNaN(i)&&typeof cr._table[i]>"u"&&!cr.isDigitCharacter(i)&&!cr.isVariableCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}}cr._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class up{constructor(){this._children=[]}appendChild(e){return e instanceof hs&&this._children[this._children.length-1]instanceof hs?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){const{parent:i}=e,n=i.children.indexOf(e),s=i.children.slice(0);s.splice(n,1,...t),i._children=s,function r(a,l){for(const d of a)d.parent=l,r(d.children,d)}(t,i)}get children(){return this._children}get rightMostDescendant(){return this._children.length>0?this._children[this._children.length-1].rightMostDescendant:this}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof y0)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),"")}len(){return 0}}class hs extends up{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new hs(this.value)}}class LV extends up{}class Po extends LV{static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.indext.index?1:0}constructor(e){super(),this.index=e}get isFinalTabstop(){return this.index===0}get choice(){return this._children.length===1&&this._children[0]instanceof gp?this._children[0]:void 0}clone(){const e=new Po(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}class gp extends up{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof hs&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){const e=new gp;return this.options.forEach(e.appendChild,e),e}}class xA extends up{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(e){const t=this;let i=!1,n=e.replace(this.regexp,function(){return i=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))});return!i&&this._children.some(s=>s instanceof Hr&&!!s.elseValue)&&(n=this._replace([])),n}_replace(e){let t="";for(const i of this._children)if(i instanceof Hr){let n=e[i.index]||"";n=i.resolve(n),t+=n}else t+=i.toString();return t}toString(){return""}clone(){const e=new xA;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map(t=>t.clone()),e}}class Hr extends up{constructor(e,t,i,n){super(),this.index=e,this.shorthandName=t,this.ifValue=i,this.elseValue=n}resolve(e){return this.shorthandName==="upcase"?e?e.toLocaleUpperCase():"":this.shorthandName==="downcase"?e?e.toLocaleLowerCase():"":this.shorthandName==="capitalize"?e?e[0].toLocaleUpperCase()+e.substr(1):"":this.shorthandName==="pascalcase"?e?this._toPascalCase(e):"":this.shorthandName==="camelcase"?e?this._toCamelCase(e):"":e&&typeof this.ifValue=="string"?this.ifValue:!e&&typeof this.elseValue=="string"?this.elseValue:e||""}_toPascalCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map(i=>i.charAt(0).toUpperCase()+i.substr(1)).join(""):e}_toCamelCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map((i,n)=>n===0?i.charAt(0).toLowerCase()+i.substr(1):i.charAt(0).toUpperCase()+i.substr(1)).join(""):e}clone(){return new Hr(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class mb extends LV{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),t!==void 0?(this._children=[new hs(t)],!0):!1}clone(){const e=new mb(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}function o3(o,e){const t=[...o];for(;t.length>0;){const i=t.shift();if(!e(i))break;t.unshift(...i.children)}}class y0 extends up{get placeholderInfo(){if(!this._placeholders){const e=[];let t;this.walk(function(i){return i instanceof Po&&(e.push(i),t=!t||t.indexn===e?(i=!0,!1):(t+=n.len(),!0)),i?t:-1}fullLen(e){let t=0;return o3([e],i=>(t+=i.len(),!0)),t}enclosingPlaceholders(e){const t=[];let{parent:i}=e;for(;i;)i instanceof Po&&t.push(i),i=i.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof mb&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){const e=new y0;return this._children=this.children.map(t=>t.clone()),e}walk(e){o3(this.children,e)}}class Ju{constructor(){this._scanner=new cr,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,i){const n=new y0;return this.parseFragment(e,n),this.ensureFinalTabstop(n,i??!1,t??!1),n}parseFragment(e,t){const i=t.children.length;for(this._scanner.text(e),this._token=this._scanner.next();this._parse(t););const n=new Map,s=[];t.walk(l=>(l instanceof Po&&(l.isFinalTabstop?n.set(0,void 0):!n.has(l.index)&&l.children.length>0?n.set(l.index,l.children):s.push(l)),!0));const r=(l,d)=>{const c=n.get(l.index);if(!c)return;const h=new Po(l.index);h.transform=l.transform;for(const u of c){const g=u.clone();h.appendChild(g),g instanceof Po&&n.has(g.index)&&!d.has(g.index)&&(d.add(g.index),r(g,d),d.delete(g.index))}t.replace(l,[h])},a=new Set;for(const l of s)r(l,a);return t.children.slice(i)}ensureFinalTabstop(e,t,i){(t||i&&e.placeholders.length>0)&&(e.placeholders.find(s=>s.index===0)||e.appendChild(new Po(0)))}_accept(e,t){if(e===void 0||this._token.type===e){const i=t?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),i}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){const t=this._token;for(;this._token.type!==e;){if(this._token.type===14)return!1;if(this._token.type===5){const n=this._scanner.next();if(n.type!==0&&n.type!==4&&n.type!==5)return!1}this._token=this._scanner.next()}const i=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),i}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return(t=this._accept(5,!0))?(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new hs(t)),!0):!1}_parseTabstopOrVariableName(e){let t;const i=this._token;return this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0))?(e.appendChild(/^\d+$/.test(t)?new Po(Number(t)):new mb(t)),!0):this._backTo(i)}_parseComplexPlaceholder(e){let t;const i=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0))))return this._backTo(i);const s=new Po(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(s),!0;if(!this._parse(s))return e.appendChild(new hs("${"+t+":")),s.children.forEach(e.appendChild,e),!0}else if(s.index>0&&this._accept(7)){const r=new gp;for(;;){if(this._parseChoiceElement(r)){if(this._accept(2))continue;if(this._accept(7)&&(s.appendChild(r),this._accept(4)))return e.appendChild(s),!0}return this._backTo(i),!1}}else return this._accept(6)?this._parseTransform(s)?(e.appendChild(s),!0):(this._backTo(i),!1):this._accept(4)?(e.appendChild(s),!0):this._backTo(i)}_parseChoiceElement(e){const t=this._token,i=[];for(;!(this._token.type===2||this._token.type===7);){let n;if((n=this._accept(5,!0))?n=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||n:n=this._accept(void 0,!0),!n)return this._backTo(t),!1;i.push(n)}return i.length===0?(this._backTo(t),!1):(e.appendChild(new hs(i.join(""))),!0)}_parseComplexVariable(e){let t;const i=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0))))return this._backTo(i);const s=new mb(t);if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(s),!0;if(!this._parse(s))return e.appendChild(new hs("${"+t+":")),s.children.forEach(e.appendChild,e),!0}else return this._accept(6)?this._parseTransform(s)?(e.appendChild(s),!0):(this._backTo(i),!1):this._accept(4)?(e.appendChild(s),!0):this._backTo(i)}_parseTransform(e){const t=new xA;let i="",n="";for(;!this._accept(6);){let s;if(s=this._accept(5,!0)){s=this._accept(6,!0)||s,i+=s;continue}if(this._token.type!==14){i+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){let s;if(s=this._accept(5,!0)){s=this._accept(5,!0)||this._accept(6,!0)||s,t.appendChild(new hs(s));continue}if(!(this._parseFormatString(t)||this._parseAnything(t)))return!1}for(;!this._accept(4);){if(this._token.type!==14){n+=this._accept(void 0,!0);continue}return!1}try{t.regexp=new RegExp(i,n)}catch{return!1}return e.transform=t,!0}_parseFormatString(e){const t=this._token;if(!this._accept(0))return!1;let i=!1;this._accept(3)&&(i=!0);const n=this._accept(8,!0);if(n)if(i){if(this._accept(4))return e.appendChild(new Hr(Number(n))),!0;if(!this._accept(1))return this._backTo(t),!1}else return e.appendChild(new Hr(Number(n))),!0;else return this._backTo(t),!1;if(this._accept(6)){const s=this._accept(9,!0);return!s||!this._accept(4)?(this._backTo(t),!1):(e.appendChild(new Hr(Number(n),s)),!0)}else if(this._accept(11)){const s=this._until(4);if(s)return e.appendChild(new Hr(Number(n),void 0,s,void 0)),!0}else if(this._accept(12)){const s=this._until(4);if(s)return e.appendChild(new Hr(Number(n),void 0,void 0,s)),!0}else if(this._accept(13)){const s=this._until(1);if(s){const r=this._until(4);if(r)return e.appendChild(new Hr(Number(n),void 0,s,r)),!0}}else{const s=this._until(4);if(s)return e.appendChild(new Hr(Number(n),void 0,void 0,s)),!0}return this._backTo(t),!1}_parseAnything(e){return this._token.type!==14?(e.appendChild(new hs(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1}}function DV(o,e,t){var i,n,s,r;return(typeof t.insertText=="string"?t.insertText==="":t.insertText.snippet==="")?{edits:(n=(i=t.additionalEdit)===null||i===void 0?void 0:i.edits)!==null&&n!==void 0?n:[]}:{edits:[...e.map(a=>new Rc(o,{range:a,text:typeof t.insertText=="string"?Ju.escape(t.insertText)+"$0":t.insertText.snippet,insertAsSnippet:!0})),...(r=(s=t.additionalEdit)===null||s===void 0?void 0:s.edits)!==null&&r!==void 0?r:[]]}}function xV(o){var e;function t(a,l){return"providerId"in a&&a.providerId===l.providerId||"mimeType"in a&&a.mimeType===l.handledMimeType}const i=new Map;for(const a of o)for(const l of(e=a.yieldTo)!==null&&e!==void 0?e:[])for(const d of o)if(d!==a&&t(l,d)){let c=i.get(a);c||(c=[],i.set(a,c)),c.push(d)}if(!i.size)return Array.from(o);const n=new Set,s=[];function r(a){if(!a.length)return[];const l=a[0];if(s.includes(l))return console.warn(`Yield to cycle detected for ${l.providerId}`),a;if(n.has(l))return r(a.slice(1));let d=[];const c=i.get(l);return c&&(s.push(l),d=r(c),s.pop()),n.add(l),[...d,l,...r(a.slice(1))]}return r(Array.from(o))}var Yue=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Xue=function(o,e){return function(t,i){e(t,i,o)}};const Que=ze.register({description:"inline-progress-widget",stickiness:1,showIfCollapsed:!0,after:{content:C9,inlineClassName:"inline-editor-progress-decoration",inlineClassNameAffectsLetterSpacing:!0}});class IL extends V{constructor(e,t,i,n,s){super(),this.typeId=e,this.editor=t,this.range=i,this.delegate=s,this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this.create(n),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this)}create(e){this.domNode=J(".inline-progress-widget"),this.domNode.role="button",this.domNode.title=e;const t=J("span.icon");this.domNode.append(t),t.classList.add(...Ne.asClassNameArray(re.loading),"codicon-modifier-spin");const i=()=>{const n=this.editor.getOption(67);this.domNode.style.height=`${n}px`,this.domNode.style.width=`${Math.ceil(.8*n)}px`};i(),this._register(this.editor.onDidChangeConfiguration(n=>{(n.hasChanged(52)||n.hasChanged(67))&&i()})),this._register($(this.domNode,se.CLICK,n=>{this.delegate.cancel()}))}getId(){return IL.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:{lineNumber:this.range.startLineNumber,column:this.range.startColumn},preference:[0]}}dispose(){super.dispose(),this.editor.removeContentWidget(this)}}IL.baseId="editor.widget.inlineProgressWidget";let kS=class extends V{constructor(e,t,i){super(),this.id=e,this._editor=t,this._instantiationService=i,this._showDelay=500,this._showPromise=this._register(new hn),this._currentWidget=new hn,this._operationIdPool=0,this._currentDecorations=t.createDecorationsCollection()}async showWhile(e,t,i){const n=this._operationIdPool++;this._currentOperation=n,this.clear(),this._showPromise.value=Gc(()=>{const s=D.fromPositions(e);this._currentDecorations.set([{range:s,options:Que}]).length>0&&(this._currentWidget.value=this._instantiationService.createInstance(IL,this.id,this._editor,s,t,i))},this._showDelay);try{return await i}finally{this._currentOperation===n&&(this.clear(),this._currentOperation=void 0)}}clear(){this._showPromise.clear(),this._currentDecorations.clear(),this._currentWidget.clear()}};kS=Yue([Xue(2,Ie)],kS);var kV=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Z_=function(o,e){return function(t,i){e(t,i,o)}},oT;let IS=oT=class extends V{constructor(e,t,i,n,s,r,a,l,d,c){super(),this.typeId=e,this.editor=t,this.showCommand=n,this.range=s,this.edits=r,this.onSelectNewEdit=a,this._contextMenuService=l,this._keybindingService=c,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=i.bindTo(d),this.visibleContext.set(!0),this._register(Le(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register(Le(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(h=>{s.containsPosition(h.position)||this.dispose()})),this._register(ae.runAndSubscribe(c.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var e;const t=(e=this._keybindingService.lookupKeybinding(this.showCommand.id))===null||e===void 0?void 0:e.getLabel();this.button.element.title=this.showCommand.label+(t?` (${t})`:"")}create(){this.domNode=J(".post-edit-widget"),this.button=this._register(new mS(this.domNode,{supportIcons:!0})),this.button.label="$(insert)",this._register($(this.domNode,se.CLICK,()=>this.showSelector()))}getId(){return oT.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{const e=Mi(this.button.element);return{x:e.left+e.width,y:e.top+e.height}},getActions:()=>this.edits.allEdits.map((e,t)=>Rf({id:"",label:e.label,checked:t===this.edits.activeEditIndex,run:()=>{if(t!==this.edits.activeEditIndex)return this.onSelectNewEdit(t)}}))})}};IS.baseId="editor.widget.postEditWidget";IS=oT=kV([Z_(7,so),Z_(8,Ae),Z_(9,Et)],IS);let ES=class extends V{constructor(e,t,i,n,s,r){super(),this._id=e,this._editor=t,this._visibleContext=i,this._showCommand=n,this._instantiationService=s,this._bulkEditService=r,this._currentWidget=this._register(new hn),this._register(ae.any(t.onDidChangeModel,t.onDidChangeModelContent)(()=>this.clear()))}async applyEditAndShowIfNeeded(e,t,i,n){const s=this._editor.getModel();if(!s||!e.length)return;const r=t.allEdits[t.activeEditIndex];if(!r)return;const a=DV(s.uri,e,r),l=e[0],d=s.deltaDecorations([],[{range:l,options:{description:"paste-line-suffix",stickiness:0}}]);let c,h;try{c=await this._bulkEditService.apply(a,{editor:this._editor,token:n}),h=s.getDecorationRange(d[0])}finally{s.deltaDecorations(d,[])}i&&c.isApplied&&t.allEdits.length>1&&this.show(h??l,t,async u=>{const g=this._editor.getModel();g&&(await g.undo(),this.applyEditAndShowIfNeeded(e,{activeEditIndex:u,allEdits:t.allEdits},i,n))})}show(e,t,i){this.clear(),this._editor.hasModel()&&(this._currentWidget.value=this._instantiationService.createInstance(IS,this._id,this._editor,this._visibleContext,this._showCommand,e,t,i))}clear(){this._currentWidget.clear()}tryShowSelector(){var e;(e=this._currentWidget.value)===null||e===void 0||e.showSelector()}};ES=kV([Z_(4,Ie),Z_(5,c0)],ES);var Jue=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},r3=function(o,e){return function(t,i){e(t,i,o)}},F1;let bs=F1=class{static get(e){return e.getContribution(F1.ID)}constructor(e,t,i){this._openerService=i,this._messageWidget=new hn,this._messageListeners=new X,this._mouseOverMessage=!1,this._editor=e,this._visible=F1.MESSAGE_VISIBLE.bindTo(t)}dispose(){var e;(e=this._message)===null||e===void 0||e.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){eo(ll(e)?e.value:e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._message=ll(e)?jy(e,{actionHandler:{callback:n=>{this.closeMessage(),A2(this._openerService,n,ll(e)?e.isTrusted:void 0)},disposables:this._messageListeners}}):void 0,this._messageWidget.value=new a3(this._editor,t,typeof e=="string"?e:this._message.element),this._messageListeners.add(ae.debounce(this._editor.onDidBlurEditorText,(n,s)=>s,0)(()=>{this._mouseOverMessage||this._messageWidget.value&&Cn(Nn(),this._messageWidget.value.getDomNode())||this.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add($(this._messageWidget.value.getDomNode(),se.MOUSE_ENTER,()=>this._mouseOverMessage=!0,!0)),this._messageListeners.add($(this._messageWidget.value.getDomNode(),se.MOUSE_LEAVE,()=>this._mouseOverMessage=!1,!0));let i;this._messageListeners.add(this._editor.onMouseMove(n=>{n.target.position&&(i?i.containsPosition(n.target.position)||this.closeMessage():i=new D(t.lineNumber-3,1,n.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(a3.fadeOut(this._messageWidget.value))}};bs.ID="editor.contrib.messageController";bs.MESSAGE_VISIBLE=new de("messageVisible",!1,m("messageVisible","Whether the editor is currently showing an inline message"));bs=F1=Jue([r3(1,Ae),r3(2,Hs)],bs);const ege=un.bindToContribution(bs.get);le(new ege({id:"leaveEditorMessage",precondition:bs.MESSAGE_VISIBLE,handler:o=>o.closeMessage(),kbOpts:{weight:130,primary:9}}));let a3=class{static fadeOut(e){const t=()=>{e.dispose(),clearTimeout(i),e.getDomNode().removeEventListener("animationend",t)},i=setTimeout(t,110);return e.getDomNode().addEventListener("animationend",t),e.getDomNode().classList.add("fadeOut"),{dispose:t}}constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";const s=document.createElement("div");s.classList.add("anchor","top"),this._domNode.appendChild(s);const r=document.createElement("div");typeof n=="string"?(r.classList.add("message"),r.textContent=n):(n.classList.add("message"),r.appendChild(n)),this._domNode.appendChild(r);const a=document.createElement("div");a.classList.add("anchor","below"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(e){this._domNode.classList.toggle("below",e===2)}};vt(bs.ID,bs,4);var tge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Hg=function(o,e){return function(t,i){e(t,i,o)}},rT;const IV="editor.changePasteType",EV=new de("pasteWidgetVisible",!1,m("pasteWidgetVisible","Whether the paste widget is showing")),Zx="application/vnd.code.copyMetadata";let Nd=rT=class extends V{static get(e){return e.getContribution(rT.ID)}constructor(e,t,i,n,s,r,a){super(),this._bulkEditService=i,this._clipboardService=n,this._languageFeaturesService=s,this._quickInputService=r,this._progressService=a,this._editor=e;const l=e.getContainerDomNode();this._register($(l,"copy",d=>this.handleCopy(d))),this._register($(l,"cut",d=>this.handleCopy(d))),this._register($(l,"paste",d=>this.handlePaste(d),!0)),this._pasteProgressManager=this._register(new kS("pasteIntoEditor",e,t)),this._postPasteWidgetManager=this._register(t.createInstance(ES,"pasteIntoEditor",e,EV,{id:IV,label:m("postPasteWidgetTitle","Show paste options...")}))}changePasteType(){this._postPasteWidgetManager.tryShowSelector()}pasteAs(e){this._editor.focus();try{this._pasteAsActionContext={preferredId:e},Ym().execCommand("paste")}finally{this._pasteAsActionContext=void 0}}isPasteAsEnabled(){return this._editor.getOption(85).enabled&&!this._editor.getOption(91)}async finishedPaste(){await this._currentPasteOperation}handleCopy(e){var t,i;if(!this._editor.hasTextFocus()||(bh&&this._clipboardService.writeResources([]),!e.clipboardData||!this.isPasteAsEnabled()))return;const n=this._editor.getModel(),s=this._editor.getSelections();if(!n||!(s!=null&&s.length))return;const r=this._editor.getOption(37);let a=s;const l=s.length===1&&s[0].isEmpty();if(l){if(!r)return;a=[new D(a[0].startLineNumber,1,a[0].startLineNumber,1+n.getLineLength(a[0].startLineNumber))]}const d=(t=this._editor._getViewModel())===null||t===void 0?void 0:t.getPlainTextToCopy(s,r,Vn),h={multicursorText:Array.isArray(d)?d:null,pasteOnNewLine:l,mode:null},u=this._languageFeaturesService.documentPasteEditProvider.ordered(n).filter(v=>!!v.prepareDocumentPaste);if(!u.length){this.setCopyMetadata(e.clipboardData,{defaultPastePayload:h});return}const g=SV(e.clipboardData),f=u.flatMap(v=>{var b;return(b=v.copyMimeTypes)!==null&&b!==void 0?b:[]}),p=xL();this.setCopyMetadata(e.clipboardData,{id:p,providerCopyMimeTypes:f,defaultPastePayload:h});const _=tn(async v=>{const b=oa(await Promise.all(u.map(async C=>{try{return await C.prepareDocumentPaste(n,a,g,v)}catch(w){console.error(w);return}})));b.reverse();for(const C of b)for(const[w,S]of C)g.replace(w,S);return g});(i=this._currentCopyOperation)===null||i===void 0||i.dataTransferPromise.cancel(),this._currentCopyOperation={handle:p,dataTransferPromise:_}}async handlePaste(e){var t,i,n,s,r;if(!e.clipboardData||!this._editor.hasTextFocus())return;(t=bs.get(this._editor))===null||t===void 0||t.closeMessage(),(i=this._currentPasteOperation)===null||i===void 0||i.cancel(),this._currentPasteOperation=void 0;const a=this._editor.getModel(),l=this._editor.getSelections();if(!(l!=null&&l.length)||!a||!this.isPasteAsEnabled()&&!this._pasteAsActionContext)return;const d=this.fetchCopyMetadata(e),c=yV(e.clipboardData);c.delete(Zx);const h=[...e.clipboardData.types,...(n=d==null?void 0:d.providerCopyMimeTypes)!==null&&n!==void 0?n:[],pi.uriList],u=this._languageFeaturesService.documentPasteEditProvider.ordered(a).filter(g=>{var f,p;return!((f=this._pasteAsActionContext)===null||f===void 0)&&f.preferredId&&this._pasteAsActionContext.preferredId!==g.id?!1:(p=g.pasteMimeTypes)===null||p===void 0?void 0:p.some(_=>CV(_,h))});if(!u.length){!((s=this._pasteAsActionContext)===null||s===void 0)&&s.preferredId&&this.showPasteAsNoEditMessage(l,(r=this._pasteAsActionContext)===null||r===void 0?void 0:r.preferredId);return}e.preventDefault(),e.stopImmediatePropagation(),this._pasteAsActionContext?this.showPasteAsPick(this._pasteAsActionContext.preferredId,u,l,c,d,{trigger:"explicit",only:this._pasteAsActionContext.preferredId}):this.doPasteInline(u,l,c,d,{trigger:"implicit"})}showPasteAsNoEditMessage(e,t){var i;(i=bs.get(this._editor))===null||i===void 0||i.showMessage(m("pasteAsError","No paste edits for '{0}' found",t),e[0].getStartPosition())}doPasteInline(e,t,i,n,s){const r=tn(async a=>{const l=this._editor;if(!l.hasModel())return;const d=l.getModel(),c=new oh(l,3,void 0,a);try{if(await this.mergeInDataFromCopy(i,n,c.token),c.token.isCancellationRequested)return;const h=e.filter(g=>l3(g,i));if(!h.length||h.length===1&&h[0].id==="text"){await this.applyDefaultPasteHandler(i,n,c.token);return}const u=await this.getPasteEdits(h,i,d,t,s,c.token);if(c.token.isCancellationRequested)return;if(u.length===1&&u[0].providerId==="text"){await this.applyDefaultPasteHandler(i,n,c.token);return}if(u.length){const g=l.getOption(85).showPasteSelector==="afterPaste";return this._postPasteWidgetManager.applyEditAndShowIfNeeded(t,{activeEditIndex:0,allEdits:u},g,c.token)}await this.applyDefaultPasteHandler(i,n,c.token)}finally{c.dispose(),this._currentPasteOperation===r&&(this._currentPasteOperation=void 0)}});this._pasteProgressManager.showWhile(t[0].getEndPosition(),m("pasteIntoEditorProgress","Running paste handlers. Click to cancel"),r),this._currentPasteOperation=r}showPasteAsPick(e,t,i,n,s,r){const a=tn(async l=>{const d=this._editor;if(!d.hasModel())return;const c=d.getModel(),h=new oh(d,3,void 0,l);try{if(await this.mergeInDataFromCopy(n,s,h.token),h.token.isCancellationRequested)return;let u=t.filter(_=>l3(_,n));e&&(u=u.filter(_=>_.id===e));const g=await this.getPasteEdits(u,n,c,i,r,h.token);if(h.token.isCancellationRequested)return;if(!g.length){r.only&&this.showPasteAsNoEditMessage(i,r.only);return}let f;if(e)f=g.at(0);else{const _=await this._quickInputService.pick(g.map(v=>({label:v.label,description:v.providerId,detail:v.detail,edit:v})),{placeHolder:m("pasteAsPickerPlaceholder","Select Paste Action")});f=_==null?void 0:_.edit}if(!f)return;const p=DV(c.uri,i,f);await this._bulkEditService.apply(p,{editor:this._editor})}finally{h.dispose(),this._currentPasteOperation===a&&(this._currentPasteOperation=void 0)}});this._progressService.withProgress({location:10,title:m("pasteAsProgress","Running paste handlers")},()=>a)}setCopyMetadata(e,t){e.setData(Zx,JSON.stringify(t))}fetchCopyMetadata(e){var t;if(!e.clipboardData)return;const i=e.clipboardData.getData(Zx);if(i)try{return JSON.parse(i)}catch{return}const[n,s]=oE.getTextData(e.clipboardData);if(s)return{defaultPastePayload:{mode:s.mode,multicursorText:(t=s.multicursorText)!==null&&t!==void 0?t:null,pasteOnNewLine:!!s.isFromEmptySelection}}}async mergeInDataFromCopy(e,t,i){var n;if(t!=null&&t.id&&((n=this._currentCopyOperation)===null||n===void 0?void 0:n.handle)===t.id){const s=await this._currentCopyOperation.dataTransferPromise;if(i.isCancellationRequested)return;for(const[r,a]of s)e.replace(r,a)}if(!e.has(pi.uriList)){const s=await this._clipboardService.readResources();if(i.isCancellationRequested)return;s.length&&e.append(pi.uriList,DA(kL.create(s)))}}async getPasteEdits(e,t,i,n,s,r){const a=await qb(Promise.all(e.map(async d=>{var c;try{const h=await((c=d.provideDocumentPasteEdits)===null||c===void 0?void 0:c.call(d,i,n,t,s,r));if(h)return{...h,providerId:d.id}}catch(h){console.error(h)}})),r),l=oa(a??[]);return xV(l)}async applyDefaultPasteHandler(e,t,i){var n,s,r;const a=(n=e.get(pi.text))!==null&&n!==void 0?n:e.get("text");if(!a)return;const l=await a.asString();if(i.isCancellationRequested)return;const d={text:l,pasteOnNewLine:(s=t==null?void 0:t.defaultPastePayload.pasteOnNewLine)!==null&&s!==void 0?s:!1,multicursorText:(r=t==null?void 0:t.defaultPastePayload.multicursorText)!==null&&r!==void 0?r:null,mode:null};this._editor.trigger("keyboard","paste",d)}};Nd.ID="editor.contrib.copyPasteActionController";Nd=rT=tge([Hg(1,Ie),Hg(2,c0),Hg(3,Fd),Hg(4,fe),Hg(5,wa),Hg(6,pW)],Nd);function l3(o,e){var t;return!!(!((t=o.pasteMimeTypes)===null||t===void 0)&&t.some(i=>e.matches(i)))}const eg="9_cutcopypaste",ige=Jr||document.queryCommandSupported("cut"),NV=Jr||document.queryCommandSupported("copy"),nge=typeof navigator.clipboard>"u"||qo?document.queryCommandSupported("paste"):!0;function kA(o){return o.register(),o}const sge=ige?kA(new Qm({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:Jr?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:k.MenubarEditMenu,group:"2_ccp",title:m({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:k.EditorContext,group:eg,title:m("actions.clipboard.cutLabel","Cut"),when:E.writable,order:1},{menuId:k.CommandPalette,group:"",title:m("actions.clipboard.cutLabel","Cut"),order:1},{menuId:k.SimpleEditorContext,group:eg,title:m("actions.clipboard.cutLabel","Cut"),when:E.writable,order:1}]})):void 0,oge=NV?kA(new Qm({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:Jr?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:k.MenubarEditMenu,group:"2_ccp",title:m({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:k.EditorContext,group:eg,title:m("actions.clipboard.copyLabel","Copy"),order:2},{menuId:k.CommandPalette,group:"",title:m("actions.clipboard.copyLabel","Copy"),order:1},{menuId:k.SimpleEditorContext,group:eg,title:m("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;wn.appendMenuItem(k.MenubarEditMenu,{submenu:k.MenubarCopy,title:mt("copy as","Copy As"),group:"2_ccp",order:3});wn.appendMenuItem(k.EditorContext,{submenu:k.EditorContextCopy,title:mt("copy as","Copy As"),group:eg,order:3});wn.appendMenuItem(k.EditorContext,{submenu:k.EditorContextShare,title:mt("share","Share"),group:"11_share",order:-1,when:q.and(q.notEquals("resourceScheme","output"),E.editorTextFocus)});wn.appendMenuItem(k.EditorTitleContext,{submenu:k.EditorTitleContextShare,title:mt("share","Share"),group:"11_share",order:-1});wn.appendMenuItem(k.ExplorerContext,{submenu:k.ExplorerContextShare,title:mt("share","Share"),group:"11_share",order:-1});const Yx=nge?kA(new Qm({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:Jr?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:k.MenubarEditMenu,group:"2_ccp",title:m({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:k.EditorContext,group:eg,title:m("actions.clipboard.pasteLabel","Paste"),when:E.writable,order:4},{menuId:k.CommandPalette,group:"",title:m("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:k.SimpleEditorContext,group:eg,title:m("actions.clipboard.pasteLabel","Paste"),when:E.writable,order:4}]})):void 0;class rge extends he{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:m("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:E.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(37)&&t.getSelection().isEmpty()||(nE.forceCopyWithSyntaxHighlighting=!0,t.focus(),t.getContainerDomNode().ownerDocument.execCommand("copy"),nE.forceCopyWithSyntaxHighlighting=!1)}}function TV(o,e){o&&(o.addImplementation(1e4,"code-editor",(t,i)=>{const n=t.get(_t).getFocusedCodeEditor();if(n&&n.hasTextFocus()){const s=n.getOption(37),r=n.getSelection();return r&&r.isEmpty()&&!s||n.getContainerDomNode().ownerDocument.execCommand(e),!0}return!1}),o.addImplementation(0,"generic-dom",(t,i)=>(Ym().execCommand(e),!0)))}TV(sge,"cut");TV(oge,"copy");Yx&&(Yx.addImplementation(1e4,"code-editor",(o,e)=>{var t,i;const n=o.get(_t),s=o.get(Fd),r=n.getFocusedCodeEditor();return r&&r.hasTextFocus()?r.getContainerDomNode().ownerDocument.execCommand("paste")?(i=(t=Nd.get(r))===null||t===void 0?void 0:t.finishedPaste())!==null&&i!==void 0?i:Promise.resolve():bh?(async()=>{const l=await s.readText();if(l!==""){const d=Mv.INSTANCE.get(l);let c=!1,h=null,u=null;d&&(c=r.getOption(37)&&!!d.isFromEmptySelection,h=typeof d.multicursorText<"u"?d.multicursorText:null,u=d.mode),r.trigger("keyboard","paste",{text:l,pasteOnNewLine:c,multicursorText:h,mode:u})}})():!0:!1}),Yx.addImplementation(0,"generic-dom",(o,e)=>(Ym().execCommand("paste"),!0)));NV&&Q(rge);class Pe{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===""||e.value.startsWith(this.value+Pe.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new Pe(this.value+Pe.sep+e)}}Pe.sep=".";Pe.None=new Pe("@@none@@");Pe.Empty=new Pe("");Pe.QuickFix=new Pe("quickfix");Pe.Refactor=new Pe("refactor");Pe.RefactorExtract=Pe.Refactor.append("extract");Pe.RefactorInline=Pe.Refactor.append("inline");Pe.RefactorMove=Pe.Refactor.append("move");Pe.RefactorRewrite=Pe.Refactor.append("rewrite");Pe.Notebook=new Pe("notebook");Pe.Source=new Pe("source");Pe.SourceOrganizeImports=Pe.Source.append("organizeImports");Pe.SourceFixAll=Pe.Source.append("fixAll");Pe.SurroundWith=Pe.Refactor.append("surround");var to;(function(o){o.Refactor="refactor",o.RefactorPreview="refactor preview",o.Lightbulb="lightbulb",o.Default="other (default)",o.SourceAction="source action",o.QuickFix="quick fix action",o.FixAll="fix all",o.OrganizeImports="organize imports",o.AutoFix="auto fix",o.QuickFixHover="quick fix hover window",o.OnSave="save participants",o.ProblemsView="problems view"})(to||(to={}));function age(o,e){return!(o.include&&!o.include.intersects(e)||o.excludes&&o.excludes.some(t=>MV(e,t,o.include))||!o.includeSourceActions&&Pe.Source.contains(e))}function lge(o,e){const t=e.kind?new Pe(e.kind):void 0;return!(o.include&&(!t||!o.include.contains(t))||o.excludes&&t&&o.excludes.some(i=>MV(t,i,o.include))||!o.includeSourceActions&&t&&Pe.Source.contains(t)||o.onlyIncludePreferredActions&&!e.isPreferred)}function MV(o,e,t){return!(!e.contains(o)||t&&e.contains(t))}class Ya{static fromUser(e,t){return!e||typeof e!="object"?new Ya(t.kind,t.apply,!1):new Ya(Ya.getKindFromUser(e,t.kind),Ya.getApplyFromUser(e,t.apply),Ya.getPreferredUser(e))}static getApplyFromUser(e,t){switch(typeof e.apply=="string"?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return typeof e.kind=="string"?new Pe(e.kind):t}static getPreferredUser(e){return typeof e.preferred=="boolean"?e.preferred:!1}constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}}class dge{constructor(e,t,i){this.action=e,this.provider=t,this.highlightRange=i}async resolve(e){var t;if(!((t=this.provider)===null||t===void 0)&&t.resolveCodeAction&&!this.action.edit){let i;try{i=await this.provider.resolveCodeAction(this.action,e)}catch(n){Fi(n)}i&&(this.action.edit=i.edit)}return this}}const RV="editor.action.codeAction",IA="editor.action.quickFix",AV="editor.action.autoFix",PV="editor.action.refactor",OV="editor.action.sourceAction",EA="editor.action.organizeImports",NA="editor.action.fixAll";class Y_ extends V{static codeActionsPreferredComparator(e,t){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:0}static codeActionsComparator({action:e},{action:t}){return e.isAI&&!t.isAI?1:!e.isAI&&t.isAI?-1:Bn(e.diagnostics)?Bn(t.diagnostics)?Y_.codeActionsPreferredComparator(e,t):-1:Bn(t.diagnostics)?1:Y_.codeActionsPreferredComparator(e,t)}constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(Y_.codeActionsComparator),this.validActions=this.allActions.filter(({action:n})=>!n.disabled)}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&Pe.QuickFix.contains(new Pe(e.kind))&&!!e.isPreferred)}get hasAIFix(){return this.validActions.some(({action:e})=>!!e.isAI)}get allAIFixes(){return this.validActions.every(({action:e})=>!!e.isAI)}}const d3={actions:[],documentation:void 0};async function X_(o,e,t,i,n,s){var r;const a=i.filter||{},l={...a,excludes:[...a.excludes||[],Pe.Notebook]},d={only:(r=a.include)===null||r===void 0?void 0:r.value,trigger:i.type},c=new vA(e,s),h=i.type===2,u=cge(o,e,h?l:a),g=new X,f=u.map(async _=>{try{n.report(_);const v=await _.provideCodeActions(e,t,d,c.token);if(v&&g.add(v),c.token.isCancellationRequested)return d3;const b=((v==null?void 0:v.actions)||[]).filter(w=>w&&lge(a,w)),C=uge(_,b,a.include);return{actions:b.map(w=>new dge(w,_)),documentation:C}}catch(v){if(_a(v))throw v;return Fi(v),d3}}),p=o.onDidChange(()=>{const _=o.all(e);ri(_,u)||c.cancel()});try{const _=await Promise.all(f),v=_.map(C=>C.actions).flat(),b=[...oa(_.map(C=>C.documentation)),...hge(o,e,i,v)];return new Y_(v,b,g)}finally{p.dispose(),c.dispose()}}function cge(o,e,t){return o.all(e).filter(i=>i.providedCodeActionKinds?i.providedCodeActionKinds.some(n=>age(t,new Pe(n))):!0)}function*hge(o,e,t,i){var n,s,r;if(e&&i.length)for(const a of o.all(e))a._getAdditionalMenuItems&&(yield*(n=a._getAdditionalMenuItems)===null||n===void 0?void 0:n.call(a,{trigger:t.type,only:(r=(s=t.filter)===null||s===void 0?void 0:s.include)===null||r===void 0?void 0:r.value},i.map(l=>l.action)))}function uge(o,e,t){if(!o.documentation)return;const i=o.documentation.map(n=>({kind:new Pe(n.kind),command:n.command}));if(t){let n;for(const s of i)s.kind.contains(t)&&(n?n.kind.contains(s.kind)&&(n=s):n=s);if(n)return n==null?void 0:n.command}for(const n of e)if(n.kind){for(const s of i)if(s.kind.contains(new Pe(n.kind)))return s.command}}var em;(function(o){o.OnSave="onSave",o.FromProblemsView="fromProblemsView",o.FromCodeActions="fromCodeActions",o.FromAILightbulb="fromAILightbulb"})(em||(em={}));async function gge(o,e,t,i,n=st.None){var s;const r=o.get(c0),a=o.get(ai),l=o.get(Jn),d=o.get(Ri);if(l.publicLog2("codeAction.applyCodeAction",{codeActionTitle:e.action.title,codeActionKind:e.action.kind,codeActionIsPreferred:!!e.action.isPreferred,reason:t}),await e.resolve(n),!n.isCancellationRequested&&!(!((s=e.action.edit)===null||s===void 0)&&s.edits.length&&!(await r.apply(e.action.edit,{editor:i==null?void 0:i.editor,label:e.action.title,quotableLabel:e.action.title,code:"undoredo.codeAction",respectAutoSaveConfig:t!==em.OnSave,showPreview:i==null?void 0:i.preview})).isApplied)&&e.action.command)try{await a.executeCommand(e.action.command.id,...e.action.command.arguments||[])}catch(c){const h=fge(c);d.error(typeof h=="string"?h:m("applyCodeActionFailed","An unknown error occurred while applying the code action"))}}function fge(o){return typeof o=="string"?o:o instanceof Error&&typeof o.message=="string"?o.message:void 0}ct.registerCommand("_executeCodeActionProvider",async function(o,e,t,i,n){if(!(e instanceof xe))throw $o();const{codeActionProvider:s}=o.get(fe),r=o.get(si).getModel(e);if(!r)throw $o();const a=_e.isISelection(t)?_e.liftSelection(t):D.isIRange(t)?r.validateRange(t):void 0;if(!a)throw $o();const l=typeof i=="string"?new Pe(i):void 0,d=await X_(s,r,a,{type:1,triggerAction:to.Default,filter:{includeSourceActions:!0,include:l}},Cd.None,st.None),c=[],h=Math.min(d.validActions.length,typeof n=="number"?n:0);for(let u=0;uu.action)}finally{setTimeout(()=>d.dispose(),100)}});var mge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},pge=function(o,e){return function(t,i){e(t,i,o)}},aT;let NS=aT=class{constructor(e){this.keybindingService=e}getResolver(){const e=new yl(()=>this.keybindingService.getKeybindings().filter(t=>aT.codeActionCommands.indexOf(t.command)>=0).filter(t=>t.resolvedKeybinding).map(t=>{let i=t.commandArgs;return t.command===EA?i={kind:Pe.SourceOrganizeImports.value}:t.command===NA&&(i={kind:Pe.SourceFixAll.value}),{resolvedKeybinding:t.resolvedKeybinding,...Ya.fromUser(i,{kind:Pe.None,apply:"never"})}}));return t=>{if(t.kind){const i=this.bestKeybindingForCodeAction(t,e.value);return i==null?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const i=new Pe(e.kind);return t.filter(n=>n.kind.contains(i)).filter(n=>n.preferred?e.isPreferred:!0).reduceRight((n,s)=>n?n.kind.contains(s.kind)?s:n:s,void 0)}};NS.codeActionCommands=[PV,RV,OV,EA,NA];NS=aT=mge([pge(0,Et)],NS);N("symbolIcon.arrayForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.booleanForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},m("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.colorForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.constantForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},m("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},m("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},m("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},m("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},m("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.fileForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.folderForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},m("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},m("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.keyForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.keywordForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},m("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.moduleForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.namespaceForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.nullForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.numberForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.objectForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.operatorForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.packageForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.propertyForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.referenceForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.snippetForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.stringForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.structForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.textForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.typeParameterForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.unitForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},m("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));const FV=Object.freeze({kind:Pe.Empty,title:m("codeAction.widget.id.more","More Actions...")}),_ge=Object.freeze([{kind:Pe.QuickFix,title:m("codeAction.widget.id.quickfix","Quick Fix")},{kind:Pe.RefactorExtract,title:m("codeAction.widget.id.extract","Extract"),icon:re.wrench},{kind:Pe.RefactorInline,title:m("codeAction.widget.id.inline","Inline"),icon:re.wrench},{kind:Pe.RefactorRewrite,title:m("codeAction.widget.id.convert","Rewrite"),icon:re.wrench},{kind:Pe.RefactorMove,title:m("codeAction.widget.id.move","Move"),icon:re.wrench},{kind:Pe.SurroundWith,title:m("codeAction.widget.id.surround","Surround With"),icon:re.surroundWith},{kind:Pe.Source,title:m("codeAction.widget.id.source","Source Action"),icon:re.symbolFile},FV]);function vge(o,e,t){if(!e)return o.map(s=>{var r;return{kind:"action",item:s,group:FV,disabled:!!s.action.disabled,label:s.action.disabled||s.action.title,canPreview:!!(!((r=s.action.edit)===null||r===void 0)&&r.edits.length)}});const i=_ge.map(s=>({group:s,actions:[]}));for(const s of o){const r=s.action.kind?new Pe(s.action.kind):Pe.None;for(const a of i)if(a.group.kind.contains(r)){a.actions.push(s);break}}const n=[];for(const s of i)if(s.actions.length){n.push({kind:"header",group:s.group});for(const r of s.actions){const a=s.group;n.push({kind:"action",item:r,group:r.action.isAI?{title:a.title,kind:a.kind,icon:re.sparkle}:a,label:r.action.title,disabled:!!r.action.disabled,keybinding:t(r.action)})}}return n}var bge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},c3=function(o,e){return function(t,i){e(t,i,o)}},lT,xf;(function(o){o.Hidden={type:0};class e{constructor(i,n,s,r){this.actions=i,this.trigger=n,this.editorPosition=s,this.widgetPosition=r,this.type=1}}o.Showing=e})(xf||(xf={}));let tg=lT=class extends V{constructor(e,t,i){super(),this._editor=e,this._keybindingService=t,this._onClick=this._register(new O),this.onClick=this._onClick.event,this._state=xf.Hidden,this._iconClasses=[],this._domNode=J("div.lightBulbWidget"),this._register(Ft.ignoreTarget(this._domNode)),this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(n=>{const s=this._editor.getModel();(this.state.type!==1||!s||this.state.editorPosition.lineNumber>=s.getLineCount())&&this.hide()})),this._register(gK(this._domNode,n=>{if(this.state.type!==1)return;this._editor.focus(),n.preventDefault();const{top:s,height:r}=Mi(this._domNode),a=this._editor.getOption(67);let l=Math.floor(a/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber{(n.buttons&1)===1&&this.hide()})),this._register(ae.runAndSubscribe(this._keybindingService.onDidUpdateKeybindings,()=>{var n,s,r,a;this._preferredKbLabel=(s=(n=this._keybindingService.lookupKeybinding(AV))===null||n===void 0?void 0:n.getLabel())!==null&&s!==void 0?s:void 0,this._quickFixKbLabel=(a=(r=this._keybindingService.lookupKeybinding(IA))===null||r===void 0?void 0:r.getLabel())!==null&&a!==void 0?a:void 0,this._updateLightBulbTitleAndIcon()}))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return this._state.type===1?this._state.widgetPosition:null}update(e,t,i){if(e.validActions.length<=0)return this.hide();if(!this._editor.getOptions().get(65).enabled)return this.hide();const s=this._editor.getModel();if(!s)return this.hide();const{lineNumber:r,column:a}=s.validatePosition(i),l=s.getOptions().tabSize,d=this._editor.getOptions().get(50),c=s.getLineContent(r),h=Oy(c,l),u=d.spaceWidth*h>22,g=_=>_>2&&this._editor.getTopForLineNumber(_)===this._editor.getTopForLineNumber(_-1);let f=r,p=1;if(!u){if(r>1&&!g(r-1))f-=1;else if(r=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},dT=function(o,e){return function(t,i){e(t,i,o)}};const WV="acceptSelectedCodeAction",VV="previewSelectedCodeAction";class Cge{get templateId(){return"header"}renderTemplate(e){e.classList.add("group-header");const t=document.createElement("span");return e.append(t),{container:e,text:t}}renderElement(e,t,i){var n,s;i.text.textContent=(s=(n=e.group)===null||n===void 0?void 0:n.title)!==null&&s!==void 0?s:""}disposeTemplate(e){}}let cT=class{get templateId(){return"action"}constructor(e,t){this._supportsPreview=e,this._keybindingService=t}renderTemplate(e){e.classList.add(this.templateId);const t=document.createElement("div");t.className="icon",e.append(t);const i=document.createElement("span");i.className="title",e.append(i);const n=new ap(e,qs);return{container:e,icon:t,text:i,keybinding:n}}renderElement(e,t,i){var n,s,r;if(!((n=e.group)===null||n===void 0)&&n.icon?(i.icon.className=Ne.asClassName(e.group.icon),e.group.icon.color&&(i.icon.style.color=ce(e.group.icon.color.id))):(i.icon.className=Ne.asClassName(re.lightBulb),i.icon.style.color="var(--vscode-editorLightBulb-foreground)"),!e.item||!e.label)return;i.text.textContent=HV(e.label),i.keybinding.set(e.keybinding),IK(!!e.keybinding,i.keybinding.element);const a=(s=this._keybindingService.lookupKeybinding(WV))===null||s===void 0?void 0:s.getLabel(),l=(r=this._keybindingService.lookupKeybinding(VV))===null||r===void 0?void 0:r.getLabel();i.container.classList.toggle("option-disabled",e.disabled),e.disabled?i.container.title=e.label:a&&l?this._supportsPreview&&e.canPreview?i.container.title=m({key:"label-preview",comment:['placeholders are keybindings, e.g "F2 to apply, Shift+F2 to preview"']},"{0} to apply, {1} to preview",a,l):i.container.title=m({key:"label",comment:['placeholder is a keybinding, e.g "F2 to apply"']},"{0} to apply",a):i.container.title=""}disposeTemplate(e){}};cT=BV([dT(1,Et)],cT);class wge extends UIEvent{constructor(){super("acceptSelectedAction")}}class h3 extends UIEvent{constructor(){super("previewSelectedAction")}}function Sge(o){if(o.kind==="action")return o.label}let hT=class extends V{constructor(e,t,i,n,s,r){super(),this._delegate=n,this._contextViewService=s,this._keybindingService=r,this._actionLineHeight=24,this._headerLineHeight=26,this.cts=this._register(new _i),this.domNode=document.createElement("div"),this.domNode.classList.add("actionList");const a={getHeight:l=>l.kind==="header"?this._headerLineHeight:this._actionLineHeight,getTemplateId:l=>l.kind};this._list=this._register(new No(e,this.domNode,a,[new cT(t,this._keybindingService),new Cge],{keyboardSupport:!1,typeNavigationEnabled:!0,keyboardNavigationLabelProvider:{getKeyboardNavigationLabel:Sge},accessibilityProvider:{getAriaLabel:l=>{if(l.kind==="action"){let d=l.label?HV(l==null?void 0:l.label):"";return l.disabled&&(d=m({key:"customQuickFixWidget.labels",comment:["Action widget labels for accessibility."]},"{0}, Disabled Reason: {1}",d,l.disabled)),d}return null},getWidgetAriaLabel:()=>m({key:"customQuickFixWidget",comment:["An action widget option"]},"Action Widget"),getRole:l=>l.kind==="action"?"option":"separator",getWidgetRole:()=>"listbox"}})),this._list.style(kh),this._register(this._list.onMouseClick(l=>this.onListClick(l))),this._register(this._list.onMouseOver(l=>this.onListHover(l))),this._register(this._list.onDidChangeFocus(()=>this.onFocus())),this._register(this._list.onDidChangeSelection(l=>this.onListSelection(l))),this._allMenuItems=i,this._list.splice(0,this._list.length,this._allMenuItems),this._list.length&&this.focusNext()}focusCondition(e){return!e.disabled&&e.kind==="action"}hide(e){this._delegate.onHide(e),this.cts.cancel(),this._contextViewService.hideContextView()}layout(e){const t=this._allMenuItems.filter(l=>l.kind==="header").length,n=this._allMenuItems.length*this._actionLineHeight+t*this._headerLineHeight-t*this._actionLineHeight;this._list.layout(n);let s=e;if(this._allMenuItems.length>=50)s=380;else{const l=this._allMenuItems.map((d,c)=>{const h=this.domNode.ownerDocument.getElementById(this._list.getElementID(c));if(h){h.style.width="auto";const u=h.getBoundingClientRect().width;return h.style.width="",u}return 0});s=Math.max(...l,e)}const a=Math.min(n,this.domNode.ownerDocument.body.clientHeight*.7);return this._list.layout(a,s),this.domNode.style.height=`${a}px`,this._list.domFocus(),s}focusPrevious(){this._list.focusPrevious(1,!0,void 0,this.focusCondition)}focusNext(){this._list.focusNext(1,!0,void 0,this.focusCondition)}acceptSelected(e){const t=this._list.getFocus();if(t.length===0)return;const i=t[0],n=this._list.element(i);if(!this.focusCondition(n))return;const s=e?new h3:new wge;this._list.setSelection([i],s)}onListSelection(e){if(!e.elements.length)return;const t=e.elements[0];t.item&&this.focusCondition(t)?this._delegate.onSelect(t.item,e.browserEvent instanceof h3):this._list.setSelection([])}onFocus(){var e,t;const i=this._list.getFocus();if(i.length===0)return;const n=i[0],s=this._list.element(n);(t=(e=this._delegate).onFocus)===null||t===void 0||t.call(e,s.item)}async onListHover(e){const t=e.element;if(t&&t.item&&this.focusCondition(t)){if(this._delegate.onHover&&!t.disabled&&t.kind==="action"){const i=await this._delegate.onHover(t.item,this.cts.token);t.canPreview=i?i.canPreview:void 0}e.index&&this._list.splice(e.index,1,[t])}this._list.setFocus(typeof e.index=="number"?[e.index]:[])}onListClick(e){e.element&&this.focusCondition(e.element)&&this._list.setFocus([])}};hT=BV([dT(4,kl),dT(5,Et)],hT);function HV(o){return o.replace(/\r\n|\r|\n/g," ")}var yge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Xx=function(o,e){return function(t,i){e(t,i,o)}};N("actionBar.toggledBackground",{dark:mu,light:mu,hcDark:mu,hcLight:mu},m("actionBar.toggledBackground","Background color for toggled action items in action bar."));const ig={Visible:new de("codeActionMenuVisible",!1,m("codeActionMenuVisible","Whether the action widget list is visible"))},Lg=ot("actionWidgetService");let ng=class extends V{get isVisible(){return ig.Visible.getValue(this._contextKeyService)||!1}constructor(e,t,i){super(),this._contextViewService=e,this._contextKeyService=t,this._instantiationService=i,this._list=this._register(new hn)}show(e,t,i,n,s,r,a){const l=ig.Visible.bindTo(this._contextKeyService),d=this._instantiationService.createInstance(hT,e,t,i,n);this._contextViewService.showContextView({getAnchor:()=>s,render:c=>(l.set(!0),this._renderWidget(c,d,a??[])),onHide:c=>{l.reset(),this._onWidgetClosed(c)}},r,!1)}acceptSelected(e){var t;(t=this._list.value)===null||t===void 0||t.acceptSelected(e)}focusPrevious(){var e,t;(t=(e=this._list)===null||e===void 0?void 0:e.value)===null||t===void 0||t.focusPrevious()}focusNext(){var e,t;(t=(e=this._list)===null||e===void 0?void 0:e.value)===null||t===void 0||t.focusNext()}hide(){var e;(e=this._list.value)===null||e===void 0||e.hide(),this._list.clear()}_renderWidget(e,t,i){var n;const s=document.createElement("div");if(s.classList.add("action-widget"),e.appendChild(s),this._list.value=t,this._list.value)s.appendChild(this._list.value.domNode);else throw new Error("List has no value");const r=new X,a=document.createElement("div"),l=e.appendChild(a);l.classList.add("context-view-block"),r.add($(l,se.MOUSE_DOWN,f=>f.stopPropagation()));const d=document.createElement("div"),c=e.appendChild(d);c.classList.add("context-view-pointerBlock"),r.add($(c,se.POINTER_MOVE,()=>c.remove())),r.add($(c,se.MOUSE_DOWN,()=>c.remove()));let h=0;if(i.length){const f=this._createActionBar(".action-widget-action-bar",i);f&&(s.appendChild(f.getContainer().parentElement),r.add(f),h=f.getContainer().offsetWidth)}const u=(n=this._list.value)===null||n===void 0?void 0:n.layout(h);s.style.width=`${u}px`;const g=r.add(la(e));return r.add(g.onDidBlur(()=>this.hide())),r}_createActionBar(e,t){if(!t.length)return;const i=J(e),n=new Yo(i);return n.push(t,{icon:!1,label:!0}),n}_onWidgetClosed(e){var t;(t=this._list.value)===null||t===void 0||t.hide(e)}};ng=yge([Xx(0,kl),Xx(1,Ae),Xx(2,Ie)],ng);ht(Lg,ng,1);const L0=1100;Wt(class extends Vs{constructor(){super({id:"hideCodeActionWidget",title:mt("hideCodeActionWidget.title","Hide action widget"),precondition:ig.Visible,keybinding:{weight:L0,primary:9,secondary:[1033]}})}run(o){o.get(Lg).hide()}});Wt(class extends Vs{constructor(){super({id:"selectPrevCodeAction",title:mt("selectPrevCodeAction.title","Select previous action"),precondition:ig.Visible,keybinding:{weight:L0,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})}run(o){const e=o.get(Lg);e instanceof ng&&e.focusPrevious()}});Wt(class extends Vs{constructor(){super({id:"selectNextCodeAction",title:mt("selectNextCodeAction.title","Select next action"),precondition:ig.Visible,keybinding:{weight:L0,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})}run(o){const e=o.get(Lg);e instanceof ng&&e.focusNext()}});Wt(class extends Vs{constructor(){super({id:WV,title:mt("acceptSelected.title","Accept selected action"),precondition:ig.Visible,keybinding:{weight:L0,primary:3,secondary:[2137]}})}run(o){const e=o.get(Lg);e instanceof ng&&e.acceptSelected()}});Wt(class extends Vs{constructor(){super({id:VV,title:mt("previewSelected.title","Preview selected action"),precondition:ig.Visible,keybinding:{weight:L0,primary:2051}})}run(o){const e=o.get(Lg);e instanceof ng&&e.acceptSelected(!0)}});const zV=new de("supportedCodeAction",""),u3="_typescript.applyFixAllCodeAction";class Lge extends V{constructor(e,t,i,n=250){super(),this._editor=e,this._markerService=t,this._signalChange=i,this._delay=n,this._autoTriggerTimer=this._register(new Dr),this._register(this._markerService.onMarkerChanged(s=>this._onMarkerChanges(s))),this._register(this._editor.onDidChangeCursorPosition(()=>this._tryAutoTrigger()))}trigger(e){const t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);this._signalChange(t?{trigger:e,selection:t}:void 0)}_onMarkerChanges(e){const t=this._editor.getModel();t&&e.some(i=>o2(i,t.uri))&&this._tryAutoTrigger()}_tryAutoTrigger(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2,triggerAction:to.Default})},this._delay)}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;const t=this._editor.getSelection();if(e.type===1)return t;const i=this._editor.getOption(65).enabled;if(i!==hr.Off){{if(i===hr.On)return t;if(i===hr.OnCode){if(!t.isEmpty())return t;const s=this._editor.getModel(),{lineNumber:r,column:a}=t.getPosition(),l=s.getLineContent(r);if(l.length===0)return;if(a===1){if(/\s/.test(l[0]))return}else if(a===s.getLineMaxColumn(r)){if(/\s/.test(l[l.length-1]))return}else if(/\s/.test(l[a-2])&&/\s/.test(l[a-1]))return}}return t}}}var uu;(function(o){o.Empty={type:0};class e{constructor(i,n,s){this.trigger=i,this.position=n,this._cancellablePromise=s,this.type=1,this.actions=s.catch(r=>{if(_a(r))return UV;throw r})}cancel(){this._cancellablePromise.cancel()}}o.Triggered=e})(uu||(uu={}));const UV=Object.freeze({allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1,hasAIFix:!1,allAIFixes:!1});class Dge extends V{constructor(e,t,i,n,s,r){super(),this._editor=e,this._registry=t,this._markerService=i,this._progressService=s,this._configurationService=r,this._codeActionOracle=this._register(new hn),this._state=uu.Empty,this._onDidChangeState=this._register(new O),this.onDidChangeState=this._onDidChangeState.event,this._disposed=!1,this._supportedCodeActions=zV.bindTo(n),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(this._registry.onDidChange(()=>this._update())),this._register(this._editor.onDidChangeConfiguration(a=>{a.hasChanged(65)&&this._update()})),this._update()}dispose(){this._disposed||(this._disposed=!0,super.dispose(),this.setState(uu.Empty,!0))}_settingEnabledNearbyQuickfixes(){var e;const t=(e=this._editor)===null||e===void 0?void 0:e.getModel();return this._configurationService?this._configurationService.getValue("editor.codeActionWidget.includeNearbyQuickFixes",{resource:t==null?void 0:t.uri}):!1}_update(){if(this._disposed)return;this._codeActionOracle.value=void 0,this.setState(uu.Empty);const e=this._editor.getModel();if(e&&this._registry.has(e)&&!this._editor.getOption(91)){const t=this._registry.all(e).flatMap(i=>{var n;return(n=i.providedCodeActionKinds)!==null&&n!==void 0?n:[]});this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new Lge(this._editor,this._markerService,i=>{var n;if(!i){this.setState(uu.Empty);return}const s=i.selection.getStartPosition(),r=tn(async a=>{var l,d,c,h,u,g,f,p,_,v;if(this._settingEnabledNearbyQuickfixes()&&i.trigger.type===1&&(i.trigger.triggerAction===to.QuickFix||!((d=(l=i.trigger.filter)===null||l===void 0?void 0:l.include)===null||d===void 0)&&d.contains(Pe.QuickFix))){const b=await X_(this._registry,e,i.selection,i.trigger,Cd.None,a),C=[...b.allActions];if(a.isCancellationRequested)return UV;const w=(c=b.validActions)===null||c===void 0?void 0:c.some(L=>L.action.kind?Pe.QuickFix.contains(new Pe(L.action.kind)):!1),S=this._markerService.read({resource:e.uri});if(w){for(const L of b.validActions)!((u=(h=L.action.command)===null||h===void 0?void 0:h.arguments)===null||u===void 0)&&u.some(x=>typeof x=="string"&&x.includes(u3))&&(L.action.diagnostics=[...S.filter(x=>x.relatedInformation)]);return{validActions:b.validActions,allActions:C,documentation:b.documentation,hasAutoFix:b.hasAutoFix,hasAIFix:b.hasAIFix,allAIFixes:b.allAIFixes,dispose:()=>{b.dispose()}}}else if(!w&&S.length>0){const L=i.selection.getPosition();let x=L,I=Number.MAX_VALUE;const T=[...b.validActions];for(const P of S){const A=P.endColumn,B=P.endLineNumber,Z=P.startLineNumber;if(B===L.lineNumber||Z===L.lineNumber){x=new F(B,A);const ne={type:i.trigger.type,triggerAction:i.trigger.triggerAction,filter:{include:!((g=i.trigger.filter)===null||g===void 0)&&g.include?(f=i.trigger.filter)===null||f===void 0?void 0:f.include:Pe.QuickFix},autoApply:i.trigger.autoApply,context:{notAvailableMessage:((p=i.trigger.context)===null||p===void 0?void 0:p.notAvailableMessage)||"",position:x}},pe=new _e(x.lineNumber,x.column,x.lineNumber,x.column),Se=await X_(this._registry,e,pe,ne,Cd.None,a);if(Se.validActions.length!==0){for(const Me of Se.validActions)!((v=(_=Me.action.command)===null||_===void 0?void 0:_.arguments)===null||v===void 0)&&v.some(me=>typeof me=="string"&&me.includes(u3))&&(Me.action.diagnostics=[...S.filter(me=>me.relatedInformation)]);b.allActions.length===0&&C.push(...Se.allActions),Math.abs(L.column-A)B.findIndex(Z=>Z.action.title===P.action.title)===A);return H.sort((P,A)=>P.action.isPreferred&&!A.action.isPreferred?-1:!P.action.isPreferred&&A.action.isPreferred||P.action.isAI&&!A.action.isAI?1:!P.action.isAI&&A.action.isAI?-1:0),{validActions:H,allActions:C,documentation:b.documentation,hasAutoFix:b.hasAutoFix,hasAIFix:b.hasAIFix,allAIFixes:b.allAIFixes,dispose:()=>{b.dispose()}}}}return X_(this._registry,e,i.selection,i.trigger,Cd.None,a)});i.trigger.type===1&&((n=this._progressService)===null||n===void 0||n.showWhile(r,250)),this.setState(new uu.Triggered(i.trigger,s,r))},void 0),this._codeActionOracle.value.trigger({type:2,triggerAction:to.Default})}else this._supportedCodeActions.reset()}trigger(e){var t;(t=this._codeActionOracle.value)===null||t===void 0||t.trigger(e)}setState(e,t){e!==this._state&&(this._state.type===1&&this._state.cancel(),this._state=e,!t&&!this._disposed&&this._onDidChangeState.fire(e))}}var xge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Al=function(o,e){return function(t,i){e(t,i,o)}},ef;const kge="quickfix-edit-highlight";let rh=ef=class extends V{static get(e){return e.getContribution(ef.ID)}constructor(e,t,i,n,s,r,a,l,d,c){super(),this._commandService=a,this._configurationService=l,this._actionWidgetService=d,this._instantiationService=c,this._activeCodeActions=this._register(new hn),this._showDisabled=!1,this._disposed=!1,this._editor=e,this._model=this._register(new Dge(this._editor,s.codeActionProvider,t,i,r,l)),this._register(this._model.onDidChangeState(h=>this.update(h))),this._lightBulbWidget=new yl(()=>{const h=this._editor.getContribution(tg.ID);return h&&this._register(h.onClick(u=>this.showCodeActionsFromLightbulb(u.actions,u))),h}),this._resolver=n.createInstance(NS),this._register(this._editor.onDidLayoutChange(()=>this._actionWidgetService.hide()))}dispose(){this._disposed=!0,super.dispose()}async showCodeActionsFromLightbulb(e,t){if(e.allAIFixes&&e.validActions.length===1){const i=e.validActions[0],n=i.action.command;n&&n.id==="inlineChat.start"&&n.arguments&&n.arguments.length>=1&&(n.arguments[0]={...n.arguments[0],autoSend:!1}),await this._applyCodeAction(i,!1,!1,em.FromAILightbulb);return}await this.showCodeActionList(e,t,{includeDisabledActions:!1,fromLightbulb:!0})}showCodeActions(e,t,i){return this.showCodeActionList(t,i,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(e,t,i,n){var s;if(!this._editor.hasModel())return;(s=bs.get(this._editor))===null||s===void 0||s.closeMessage();const r=this._editor.getPosition();this._trigger({type:1,triggerAction:t,filter:i,autoApply:n,context:{notAvailableMessage:e,position:r}})}_trigger(e){return this._model.trigger(e)}async _applyCodeAction(e,t,i,n){try{await this._instantiationService.invokeFunction(gge,e,n,{preview:i,editor:this._editor})}finally{t&&this._trigger({type:2,triggerAction:to.QuickFix,filter:{}})}}async update(e){var t,i,n,s,r,a,l;if(e.type!==1){(t=this._lightBulbWidget.rawValue)===null||t===void 0||t.hide();return}let d;try{d=await e.actions}catch(c){Ve(c);return}if(!this._disposed)if((i=this._lightBulbWidget.value)===null||i===void 0||i.update(d,e.trigger,e.position),e.trigger.type===1){if(!((n=e.trigger.filter)===null||n===void 0)&&n.include){const h=this.tryGetValidActionToApply(e.trigger,d);if(h){try{(s=this._lightBulbWidget.value)===null||s===void 0||s.hide(),await this._applyCodeAction(h,!1,!1,em.FromCodeActions)}finally{d.dispose()}return}if(e.trigger.context){const u=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,d);if(u&&u.action.disabled){(r=bs.get(this._editor))===null||r===void 0||r.showMessage(u.action.disabled,e.trigger.context.position),d.dispose();return}}}const c=!!(!((a=e.trigger.filter)===null||a===void 0)&&a.include);if(e.trigger.context&&(!d.allActions.length||!c&&!d.validActions.length)){(l=bs.get(this._editor))===null||l===void 0||l.showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=d,d.dispose();return}this._activeCodeActions.value=d,this.showCodeActionList(d,this.toCoords(e.position),{includeDisabledActions:c,fromLightbulb:!1})}else this._actionWidgetService.isVisible?d.dispose():this._activeCodeActions.value=d}getInvalidActionThatWouldHaveBeenApplied(e,t){if(t.allActions.length&&(e.autoApply==="first"&&t.validActions.length===0||e.autoApply==="ifSingle"&&t.allActions.length===1))return t.allActions.find(({action:i})=>i.disabled)}tryGetValidActionToApply(e,t){if(t.validActions.length&&(e.autoApply==="first"&&t.validActions.length>0||e.autoApply==="ifSingle"&&t.validActions.length===1))return t.validActions[0]}async showCodeActionList(e,t,i){const n=this._editor.createDecorationsCollection(),s=this._editor.getDomNode();if(!s)return;const r=i.includeDisabledActions&&(this._showDisabled||e.validActions.length===0)?e.allActions:e.validActions;if(!r.length)return;const a=F.isIPosition(t)?this.toCoords(t):t,l={onSelect:async(d,c)=>{this._applyCodeAction(d,!0,!!c,em.FromCodeActions),this._actionWidgetService.hide(),n.clear()},onHide:()=>{var d;(d=this._editor)===null||d===void 0||d.focus(),n.clear()},onHover:async(d,c)=>{var h;if(!c.isCancellationRequested)return{canPreview:!!(!((h=d.action.edit)===null||h===void 0)&&h.edits.length)}},onFocus:d=>{var c,h;if(d&&d.action){const u=d.action.ranges,g=d.action.diagnostics;if(n.clear(),u&&u.length>0){const f=g&&(g==null?void 0:g.length)>1?g.map(p=>({range:p,options:ef.DECORATION})):u.map(p=>({range:p,options:ef.DECORATION}));n.set(f)}else if(g&&g.length>0){const f=g.map(_=>({range:_,options:ef.DECORATION}));n.set(f);const p=g[0];if(p.startLineNumber&&p.startColumn){const _=(h=(c=this._editor.getModel())===null||c===void 0?void 0:c.getWordAtPosition({lineNumber:p.startLineNumber,column:p.startColumn}))===null||h===void 0?void 0:h.word;gl(m("editingNewSelection","Context: {0} at line {1} and column {2}.",_,p.startLineNumber,p.startColumn))}}}else n.clear()}};this._actionWidgetService.show("codeActionWidget",!0,vge(r,this._shouldShowHeaders(),this._resolver.getResolver()),l,a,s,this._getActionBarActions(e,t,i))}toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),i=Mi(this._editor.getDomNode()),n=i.left+t.left,s=i.top+t.top+t.height;return{x:n,y:s}}_shouldShowHeaders(){var e;const t=(e=this._editor)===null||e===void 0?void 0:e.getModel();return this._configurationService.getValue("editor.codeActionWidget.showHeaders",{resource:t==null?void 0:t.uri})}_getActionBarActions(e,t,i){if(i.fromLightbulb)return[];const n=e.documentation.map(s=>{var r;return{id:s.id,label:s.title,tooltip:(r=s.tooltip)!==null&&r!==void 0?r:"",class:void 0,enabled:!0,run:()=>{var a;return this._commandService.executeCommand(s.id,...(a=s.arguments)!==null&&a!==void 0?a:[])}}});return i.includeDisabledActions&&e.validActions.length>0&&e.allActions.length!==e.validActions.length&&n.push(this._showDisabled?{id:"hideMoreActions",label:m("hideMoreActions","Hide Disabled"),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!1,this.showCodeActionList(e,t,i))}:{id:"showMoreActions",label:m("showMoreActions","Show Disabled"),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!0,this.showCodeActionList(e,t,i))}),n}};rh.ID="editor.contrib.codeActionController";rh.DECORATION=ze.register({description:"quickfix-highlight",className:kge});rh=ef=xge([Al(1,Il),Al(2,Ae),Al(3,Ie),Al(4,fe),Al(5,Dh),Al(6,ai),Al(7,Qe),Al(8,Lg),Al(9,Ie)],rh);Qo((o,e)=>{((n,s)=>{s&&e.addRule(`.monaco-editor ${n} { background-color: ${s}; }`)})(".quickfix-edit-highlight",o.getColor(ad));const i=o.getColor(mc);i&&e.addRule(`.monaco-editor .quickfix-edit-highlight { border: 1px ${na(o.type)?"dotted":"solid"} ${i}; box-sizing: border-box; }`)});function D0(o){return q.regex(zV.keys()[0],new RegExp("(\\s|^)"+So(o.value)+"\\b"))}const TA={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:m("args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:m("args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[m("args.schema.apply.first","Always apply the first returned code action."),m("args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),m("args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:m("args.schema.preferred","Controls if only preferred code actions should be returned.")}}};function Dg(o,e,t,i,n=to.Default){if(o.hasModel()){const s=rh.get(o);s==null||s.manualTriggerAtCurrentPosition(e,n,t,i)}}class Ige extends he{constructor(){super({id:IA,label:m("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:q.and(E.writable,E.hasCodeActionsProvider),kbOpts:{kbExpr:E.textInputFocus,primary:2137,weight:100}})}run(e,t){return Dg(t,m("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0,to.QuickFix)}}class Ege extends un{constructor(){super({id:RV,precondition:q.and(E.writable,E.hasCodeActionsProvider),metadata:{description:"Trigger a code action",args:[{name:"args",schema:TA}]}})}runEditorCommand(e,t,i){const n=Ya.fromUser(i,{kind:Pe.Empty,apply:"ifSingle"});return Dg(t,typeof(i==null?void 0:i.kind)=="string"?n.preferred?m("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",i.kind):m("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",i.kind):n.preferred?m("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):m("editor.action.codeAction.noneMessage","No code actions available"),{include:n.kind,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply)}}class Nge extends he{constructor(){super({id:PV,label:m("refactor.label","Refactor..."),alias:"Refactor...",precondition:q.and(E.writable,E.hasCodeActionsProvider),kbOpts:{kbExpr:E.textInputFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:q.and(E.writable,D0(Pe.Refactor))},metadata:{description:"Refactor...",args:[{name:"args",schema:TA}]}})}run(e,t,i){const n=Ya.fromUser(i,{kind:Pe.Refactor,apply:"never"});return Dg(t,typeof(i==null?void 0:i.kind)=="string"?n.preferred?m("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",i.kind):m("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",i.kind):n.preferred?m("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):m("editor.action.refactor.noneMessage","No refactorings available"),{include:Pe.Refactor.contains(n.kind)?n.kind:Pe.None,onlyIncludePreferredActions:n.preferred},n.apply,to.Refactor)}}class Tge extends he{constructor(){super({id:OV,label:m("source.label","Source Action..."),alias:"Source Action...",precondition:q.and(E.writable,E.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:q.and(E.writable,D0(Pe.Source))},metadata:{description:"Source Action...",args:[{name:"args",schema:TA}]}})}run(e,t,i){const n=Ya.fromUser(i,{kind:Pe.Source,apply:"never"});return Dg(t,typeof(i==null?void 0:i.kind)=="string"?n.preferred?m("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",i.kind):m("editor.action.source.noneMessage.kind","No source actions for '{0}' available",i.kind):n.preferred?m("editor.action.source.noneMessage.preferred","No preferred source actions available"):m("editor.action.source.noneMessage","No source actions available"),{include:Pe.Source.contains(n.kind)?n.kind:Pe.None,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply,to.SourceAction)}}class Mge extends he{constructor(){super({id:EA,label:m("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:q.and(E.writable,D0(Pe.SourceOrganizeImports)),kbOpts:{kbExpr:E.textInputFocus,primary:1581,weight:100}})}run(e,t){return Dg(t,m("editor.action.organize.noneMessage","No organize imports action available"),{include:Pe.SourceOrganizeImports,includeSourceActions:!0},"ifSingle",to.OrganizeImports)}}class Rge extends he{constructor(){super({id:NA,label:m("fixAll.label","Fix All"),alias:"Fix All",precondition:q.and(E.writable,D0(Pe.SourceFixAll))})}run(e,t){return Dg(t,m("fixAll.noneMessage","No fix all action available"),{include:Pe.SourceFixAll,includeSourceActions:!0},"ifSingle",to.FixAll)}}class Age extends he{constructor(){super({id:AV,label:m("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:q.and(E.writable,D0(Pe.QuickFix)),kbOpts:{kbExpr:E.textInputFocus,primary:1625,mac:{primary:2649},weight:100}})}run(e,t){return Dg(t,m("editor.action.autoFix.noneMessage","No auto fixes available"),{include:Pe.QuickFix,onlyIncludePreferredActions:!0},"ifSingle",to.AutoFix)}}vt(rh.ID,rh,3);vt(tg.ID,tg,4);Q(Ige);Q(Nge);Q(Tge);Q(Mge);Q(Age);Q(Rge);le(new Ege);li.as(ba.Configuration).registerConfiguration({...Ky,properties:{"editor.codeActionWidget.showHeaders":{type:"boolean",scope:5,description:m("showCodeActionHeaders","Enable/disable showing group headers in the Code Action menu."),default:!0}}});li.as(ba.Configuration).registerConfiguration({...Ky,properties:{"editor.codeActionWidget.includeNearbyQuickFixes":{type:"boolean",scope:5,description:m("includeNearbyQuickFixes","Enable/disable showing nearest Quick Fix within a line when not currently on a diagnostic."),default:!0}}});class uT{constructor(){this.lenses=[],this._disposables=new X}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(e,t){this._disposables.add(e);for(const i of e.lenses)this.lenses.push({symbol:i,provider:t})}}async function $V(o,e,t){const i=o.ordered(e),n=new Map,s=new uT,r=i.map(async(a,l)=>{n.set(a,l);try{const d=await Promise.resolve(a.provideCodeLenses(e,t));d&&s.add(d,a)}catch(d){Fi(d)}});return await Promise.all(r),s.lenses=s.lenses.sort((a,l)=>a.symbol.range.startLineNumberl.symbol.range.startLineNumber?1:n.get(a.provider)n.get(l.provider)?1:a.symbol.range.startColumnl.symbol.range.startColumn?1:0),s}ct.registerCommand("_executeCodeLensProvider",function(o,...e){let[t,i]=e;wt(xe.isUri(t)),wt(typeof i=="number"||!i);const{codeLensProvider:n}=o.get(fe),s=o.get(si).getModel(t);if(!s)throw $o();const r=[],a=new X;return $V(n,s,st.None).then(l=>{a.add(l);const d=[];for(const c of l.lenses)i==null||c.symbol.command?r.push(c.symbol):i-- >0&&c.provider.resolveCodeLens&&d.push(Promise.resolve(c.provider.resolveCodeLens(s,c.symbol,st.None)).then(h=>r.push(h||c.symbol)));return Promise.all(d)}).then(()=>r).finally(()=>{setTimeout(()=>a.dispose(),100)})});var Pge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Oge=function(o,e){return function(t,i){e(t,i,o)}};const jV=ot("ICodeLensCache");class g3{constructor(e,t){this.lineCount=e,this.data=t}}let gT=class{constructor(e){this._fakeProvider=new class{provideCodeLenses(){throw new Error("not supported")}},this._cache=new Sh(20,.75);const t="codelens/cache";e_(Tt,()=>e.remove(t,1));const i="codelens/cache2",n=e.get(i,1,"{}");this._deserialize(n),ae.once(e.onWillSaveState)(s=>{s.reason===Yv.SHUTDOWN&&e.store(i,this._serialize(),1,1)})}put(e,t){const i=t.lenses.map(r=>{var a;return{range:r.symbol.range,command:r.symbol.command&&{id:"",title:(a=r.symbol.command)===null||a===void 0?void 0:a.title}}}),n=new uT;n.add({lenses:i,dispose:()=>{}},this._fakeProvider);const s=new g3(e.getLineCount(),n);this._cache.set(e.uri.toString(),s)}get(e){const t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){const e=Object.create(null);for(const[t,i]of this._cache){const n=new Set;for(const s of i.data.lenses)n.add(s.symbol.range.startLineNumber);e[t]={lineCount:i.lineCount,lines:[...n.values()]}}return JSON.stringify(e)}_deserialize(e){try{const t=JSON.parse(e);for(const i in t){const n=t[i],s=[];for(const a of n.lines)s.push({range:new D(a,1,a,11)});const r=new uT;r.add({lenses:s,dispose(){}},this._fakeProvider),this._cache.set(i,new g3(n.lineCount,r))}}catch{}}};gT=Pge([Oge(0,kr)],gT);ht(jV,gT,1);class Fge{constructor(e,t,i){this.afterColumn=1073741824,this.afterLineNumber=e,this.heightInPx=t,this._onHeight=i,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){this._lastHeight===void 0?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}isVisible(){return this._lastHeight!==0&&this.domNode.hasAttribute("monaco-visible-view-zone")}}class pb{constructor(e,t){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id=`codelens.widget-${pb._idPool++}`,this.updatePosition(t),this._domNode=document.createElement("span"),this._domNode.className="codelens-decoration"}withCommands(e,t){this._commands.clear();const i=[];let n=!1;for(let s=0;s{d.symbol.command&&l.push(d.symbol),i.addDecoration({range:d.symbol.range,options:f3},h=>this._decorationIds[c]=h),a?a=D.plusRange(a,d.symbol.range):a=D.lift(d.symbol.range)}),this._viewZone=new Fge(a.startLineNumber-1,s,r),this._viewZoneId=n.addZone(this._viewZone),l.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(l,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new pb(this._editor,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],t==null||t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((e,t)=>{const i=this._editor.getModel().getDecorationRange(e),n=this._data[t].symbol;return!!(i&&D.isEmpty(n.range)===i.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((i,n)=>{t.addDecoration({range:i.symbol.range,options:f3},s=>this._decorationIds[n]=s)})}updateHeight(e,t){this._viewZone.heightInPx=e,t.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(e){if(!this._viewZone.isVisible())return null;for(let t=0;t=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},$p=function(o,e){return function(t,i){e(t,i,o)}};let Fm=class{constructor(e,t,i,n,s,r){this._editor=e,this._languageFeaturesService=t,this._commandService=n,this._notificationService=s,this._codeLensCache=r,this._disposables=new X,this._localToDispose=new X,this._lenses=[],this._oldCodeLensModels=new X,this._provideCodeLensDebounce=i.for(t.codeLensProvider,"CodeLensProvide",{min:250}),this._resolveCodeLensesDebounce=i.for(t.codeLensProvider,"CodeLensResolve",{min:250,salt:"resolve"}),this._resolveCodeLensesScheduler=new Rt(()=>this._resolveCodeLensesInViewport(),this._resolveCodeLensesDebounce.default()),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(a=>{(a.hasChanged(50)||a.hasChanged(19)||a.hasChanged(18))&&this._updateLensStyle(),a.hasChanged(17)&&this._onModelChange()})),this._disposables.add(t.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._updateLensStyle()}dispose(){var e;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),(e=this._currentCodeLensModel)===null||e===void 0||e.dispose()}_getLayoutInfo(){const e=Math.max(1.3,this._editor.getOption(67)/this._editor.getOption(52));let t=this._editor.getOption(19);return(!t||t<5)&&(t=this._editor.getOption(52)*.9|0),{fontSize:t,codeLensHeight:t*e|0}}_updateLensStyle(){const{codeLensHeight:e,fontSize:t}=this._getLayoutInfo(),i=this._editor.getOption(18),n=this._editor.getOption(50),{style:s}=this._editor.getContainerDomNode();s.setProperty("--vscode-editorCodeLens-lineHeight",`${e}px`),s.setProperty("--vscode-editorCodeLens-fontSize",`${t}px`),s.setProperty("--vscode-editorCodeLens-fontFeatureSettings",n.fontFeatureSettings),i&&(s.setProperty("--vscode-editorCodeLens-fontFamily",i),s.setProperty("--vscode-editorCodeLens-fontFamilyDefault",As.fontFamily)),this._editor.changeViewZones(r=>{for(const a of this._lenses)a.updateHeight(e,r)})}_localDispose(){var e,t,i;(e=this._getCodeLensModelPromise)===null||e===void 0||e.cancel(),this._getCodeLensModelPromise=void 0,(t=this._resolveCodeLensesPromise)===null||t===void 0||t.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),(i=this._currentCodeLensModel)===null||i===void 0||i.dispose()}_onModelChange(){this._localDispose();const e=this._editor.getModel();if(!e||!this._editor.getOption(17)||e.isTooLargeForTokenization())return;const t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!this._languageFeaturesService.codeLensProvider.has(e)){t&&Gc(()=>{const n=this._codeLensCache.get(e);t===n&&(this._codeLensCache.delete(e),this._onModelChange())},30*1e3,this._localToDispose);return}for(const n of this._languageFeaturesService.codeLensProvider.all(e))if(typeof n.onDidChange=="function"){const s=n.onDidChange(()=>i.schedule());this._localToDispose.add(s)}const i=new Rt(()=>{var n;const s=Date.now();(n=this._getCodeLensModelPromise)===null||n===void 0||n.cancel(),this._getCodeLensModelPromise=tn(r=>$V(this._languageFeaturesService.codeLensProvider,e,r)),this._getCodeLensModelPromise.then(r=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=r,this._codeLensCache.put(e,r);const a=this._provideCodeLensDebounce.update(e,Date.now()-s);i.delay=a,this._renderCodeLensSymbols(r),this._resolveCodeLensesInViewportSoon()},Ve)},this._provideCodeLensDebounce.get(e));this._localToDispose.add(i),this._localToDispose.add(Le(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{var n;this._editor.changeDecorations(s=>{this._editor.changeViewZones(r=>{const a=[];let l=-1;this._lenses.forEach(c=>{!c.isValid()||l===c.getLineNumber()?a.push(c):(c.update(r),l=c.getLineNumber())});const d=new Qx;a.forEach(c=>{c.dispose(d,r),this._lenses.splice(this._lenses.indexOf(c),1)}),d.commit(s)})}),i.schedule(),this._resolveCodeLensesScheduler.cancel(),(n=this._resolveCodeLensesPromise)===null||n===void 0||n.cancel(),this._resolveCodeLensesPromise=void 0})),this._localToDispose.add(this._editor.onDidFocusEditorWidget(()=>{i.schedule()})),this._localToDispose.add(this._editor.onDidBlurEditorText(()=>{i.cancel()})),this._localToDispose.add(this._editor.onDidScrollChange(n=>{n.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(Le(()=>{if(this._editor.getModel()){const n=ma.capture(this._editor);this._editor.changeDecorations(s=>{this._editor.changeViewZones(r=>{this._disposeAllLenses(s,r)})}),n.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(n=>{if(n.target.type!==9)return;let s=n.target.element;if((s==null?void 0:s.tagName)==="SPAN"&&(s=s.parentElement),(s==null?void 0:s.tagName)==="A")for(const r of this._lenses){const a=r.getCommand(s);if(a){this._commandService.executeCommand(a.id,...a.arguments||[]).catch(l=>this._notificationService.error(l));break}}})),i.schedule()}_disposeAllLenses(e,t){const i=new Qx;for(const n of this._lenses)n.dispose(i,t);e&&i.commit(e),this._lenses.length=0}_renderCodeLensSymbols(e){if(!this._editor.hasModel())return;const t=this._editor.getModel().getLineCount(),i=[];let n;for(const a of e.lenses){const l=a.symbol.range.startLineNumber;l<1||l>t||(n&&n[n.length-1].symbol.range.startLineNumber===l?n.push(a):(n=[a],i.push(n)))}if(!i.length&&!this._lenses.length)return;const s=ma.capture(this._editor),r=this._getLayoutInfo();this._editor.changeDecorations(a=>{this._editor.changeViewZones(l=>{const d=new Qx;let c=0,h=0;for(;hthis._resolveCodeLensesInViewportSoon())),c++,h++)}for(;cthis._resolveCodeLensesInViewportSoon())),h++;d.commit(a)})}),s.restore(this._editor)}_resolveCodeLensesInViewportSoon(){this._editor.getModel()&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var e;(e=this._resolveCodeLensesPromise)===null||e===void 0||e.cancel(),this._resolveCodeLensesPromise=void 0;const t=this._editor.getModel();if(!t)return;const i=[],n=[];if(this._lenses.forEach(a=>{const l=a.computeIfNecessary(t);l&&(i.push(l),n.push(a))}),i.length===0)return;const s=Date.now(),r=tn(a=>{const l=i.map((d,c)=>{const h=new Array(d.length),u=d.map((g,f)=>!g.symbol.command&&typeof g.provider.resolveCodeLens=="function"?Promise.resolve(g.provider.resolveCodeLens(t,g.symbol,a)).then(p=>{h[f]=p},Fi):(h[f]=g.symbol,Promise.resolve(void 0)));return Promise.all(u).then(()=>{!a.isCancellationRequested&&!n[c].isDisposed()&&n[c].updateCommands(h)})});return Promise.all(l)});this._resolveCodeLensesPromise=r,this._resolveCodeLensesPromise.then(()=>{const a=this._resolveCodeLensesDebounce.update(t,Date.now()-s);this._resolveCodeLensesScheduler.delay=a,this._currentCodeLensModel&&this._codeLensCache.put(t,this._currentCodeLensModel),this._oldCodeLensModels.clear(),r===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},a=>{Ve(a),r===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}async getModel(){var e;return await this._getCodeLensModelPromise,await this._resolveCodeLensesPromise,!((e=this._currentCodeLensModel)===null||e===void 0)&&e.isDisposed?void 0:this._currentCodeLensModel}};Fm.ID="css.editor.codeLens";Fm=Bge([$p(1,fe),$p(2,Jo),$p(3,ai),$p(4,Ri),$p(5,jV)],Fm);vt(Fm.ID,Fm,1);Q(class extends he{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:E.hasCodeLensProvider,label:m("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}async run(e,t){if(!t.hasModel())return;const i=e.get(wa),n=e.get(ai),s=e.get(Ri),r=t.getSelection().positionLineNumber,a=t.getContribution(Fm.ID);if(!a)return;const l=await a.getModel();if(!l)return;const d=[];for(const u of l.lenses)u.symbol.command&&u.symbol.range.startLineNumber===r&&d.push({label:u.symbol.command.title,command:u.symbol.command});if(d.length===0)return;const c=await i.pick(d,{canPickMany:!1,placeHolder:m("placeHolder","Select a command")});if(!c)return;let h=c.command;if(l.isDisposed){const u=await a.getModel(),g=u==null?void 0:u.lenses.find(f=>{var p;return f.symbol.range.startLineNumber===r&&((p=f.symbol.command)===null||p===void 0?void 0:p.title)===h.title});if(!g||!g.symbol.command)return;h=g.symbol.command}try{await n.executeCommand(h.id,...h.arguments||[])}catch(u){s.error(u)}}});var Wge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Jx=function(o,e){return function(t,i){e(t,i,o)}};class MA{constructor(e,t){this._editorWorkerClient=new PR(e,!1,"editorWorkerService",t)}async provideDocumentColors(e,t){return this._editorWorkerClient.computeDefaultDocumentColors(e.uri)}provideColorPresentations(e,t,i){const n=t.range,s=t.color,r=s.alpha,a=new z(new ut(Math.round(255*s.red),Math.round(255*s.green),Math.round(255*s.blue),r)),l=r?z.Format.CSS.formatRGB(a):z.Format.CSS.formatRGBA(a),d=r?z.Format.CSS.formatHSL(a):z.Format.CSS.formatHSLA(a),c=r?z.Format.CSS.formatHex(a):z.Format.CSS.formatHexA(a),h=[];return h.push({label:l,textEdit:{range:n,text:l}}),h.push({label:d,textEdit:{range:n,text:d}}),h.push({label:c,textEdit:{range:n,text:c}}),h}}let fT=class extends V{constructor(e,t,i){super(),this._register(i.colorProvider.register("*",new MA(e,t)))}};fT=Wge([Jx(0,si),Jx(1,Vt),Jx(2,fe)],fT);_0(fT);async function KV(o,e,t,i=!0){return RA(new Vge,o,e,t,i)}function qV(o,e,t,i){return Promise.resolve(t.provideColorPresentations(o,e,i))}class Vge{constructor(){}async compute(e,t,i,n){const s=await e.provideDocumentColors(t,i);if(Array.isArray(s))for(const r of s)n.push({colorInfo:r,provider:e});return Array.isArray(s)}}class Hge{constructor(){}async compute(e,t,i,n){const s=await e.provideDocumentColors(t,i);if(Array.isArray(s))for(const r of s)n.push({range:r.range,color:[r.color.red,r.color.green,r.color.blue,r.color.alpha]});return Array.isArray(s)}}class zge{constructor(e){this.colorInfo=e}async compute(e,t,i,n){const s=await e.provideColorPresentations(t,this.colorInfo,st.None);return Array.isArray(s)&&n.push(...s),Array.isArray(s)}}async function RA(o,e,t,i,n){let s=!1,r;const a=[],l=e.ordered(t);for(let d=l.length-1;d>=0;d--){const c=l[d];if(c instanceof MA)r=c;else try{await o.compute(c,t,i,a)&&(s=!0)}catch(h){Fi(h)}}return s?a:r&&n?(await o.compute(r,t,i,a),a):[]}function GV(o,e){const{colorProvider:t}=o.get(fe),i=o.get(si).getModel(e);if(!i)throw $o();const n=o.get(Qe).getValue("editor.defaultColorDecorators",{resource:e});return{model:i,colorProviderRegistry:t,isDefaultColorDecoratorsEnabled:n}}ct.registerCommand("_executeDocumentColorProvider",function(o,...e){const[t]=e;if(!(t instanceof xe))throw $o();const{model:i,colorProviderRegistry:n,isDefaultColorDecoratorsEnabled:s}=GV(o,t);return RA(new Hge,n,i,st.None,s)});ct.registerCommand("_executeColorPresentationProvider",function(o,...e){const[t,i]=e,{uri:n,range:s}=i;if(!(n instanceof xe)||!Array.isArray(t)||t.length!==4||!D.isIRange(s))throw $o();const{model:r,colorProviderRegistry:a,isDefaultColorDecoratorsEnabled:l}=GV(o,n),[d,c,h,u]=t;return RA(new zge({range:s,color:{red:d,green:c,blue:h,alpha:u}}),a,r,st.None,l)});var Uge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},ek=function(o,e){return function(t,i){e(t,i,o)}},mT;const ZV=Object.create({});let ah=mT=class extends V{constructor(e,t,i,n){super(),this._editor=e,this._configurationService=t,this._languageFeaturesService=i,this._localToDispose=this._register(new X),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=this._editor.createDecorationsCollection(),this._ruleFactory=new e0(this._editor),this._decoratorLimitReporter=new $ge,this._colorDecorationClassRefs=this._register(new X),this._debounceInformation=n.for(i.colorProvider,"Document Colors",{min:mT.RECOMPUTE_TIME}),this._register(e.onDidChangeModel(()=>{this._isColorDecoratorsEnabled=this.isEnabled(),this.updateColors()})),this._register(e.onDidChangeModelLanguage(()=>this.updateColors())),this._register(i.colorProvider.onDidChange(()=>this.updateColors())),this._register(e.onDidChangeConfiguration(s=>{const r=this._isColorDecoratorsEnabled;this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(146);const a=r!==this._isColorDecoratorsEnabled||s.hasChanged(21),l=s.hasChanged(146);(a||l)&&(this._isColorDecoratorsEnabled?this.updateColors():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(146),this.updateColors()}isEnabled(){const e=this._editor.getModel();if(!e)return!1;const t=e.getLanguageId(),i=this._configurationService.getValue(t);if(i&&typeof i=="object"){const n=i.colorDecorators;if(n&&n.enable!==void 0&&!n.enable)return n.enable}return this._editor.getOption(20)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}updateColors(){if(this.stop(),!this._isColorDecoratorsEnabled)return;const e=this._editor.getModel();!e||!this._languageFeaturesService.colorProvider.has(e)||(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new Dr,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},this._debounceInformation.get(e)))})),this.beginCompute())}async beginCompute(){this._computePromise=tn(async e=>{const t=this._editor.getModel();if(!t)return[];const i=new Hn(!1),n=await KV(this._languageFeaturesService.colorProvider,t,e,this._isDefaultColorDecoratorsEnabled);return this._debounceInformation.update(t,i.elapsed()),n});try{const e=await this._computePromise;this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null}catch(e){Ve(e)}}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){const t=e.map(i=>({range:{startLineNumber:i.colorInfo.range.startLineNumber,startColumn:i.colorInfo.range.startColumn,endLineNumber:i.colorInfo.range.endLineNumber,endColumn:i.colorInfo.range.endColumn},options:ze.EMPTY}));this._editor.changeDecorations(i=>{this._decorationsIds=i.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((n,s)=>this._colorDatas.set(n,e[s]))})}updateColorDecorators(e){this._colorDecorationClassRefs.clear();const t=[],i=this._editor.getOption(21);for(let s=0;sthis._colorDatas.has(n.id));return i.length===0?null:this._colorDatas.get(i[0].id)}isColorDecoration(e){return this._colorDecoratorIds.has(e)}};ah.ID="editor.contrib.colorDetector";ah.RECOMPUTE_TIME=1e3;ah=mT=Uge([ek(1,Qe),ek(2,fe),ek(3,Jo)],ah);class $ge{constructor(){this._onDidChange=new O,this._computed=0,this._limited=!1}update(e,t){(e!==this._computed||t!==this._limited)&&(this._computed=e,this._limited=t,this._onDidChange.fire())}}vt(ah.ID,ah,1);class jge{get color(){return this._color}set color(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}constructor(e,t,i){this.presentationIndex=i,this._onColorFlushed=new O,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new O,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new O,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){let i=-1;for(let n=0;n{this.backgroundColor=r.getColor(Sw)||z.white})),this._register($(this._pickedColorNode,se.CLICK,()=>this.model.selectNextColorPresentation())),this._register($(this._originalColorNode,se.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this._pickedColorNode.style.backgroundColor=z.Format.CSS.format(t.color)||"",this._pickedColorNode.classList.toggle("light",t.color.rgba.a<.5?this.backgroundColor.isLighter():t.color.isLighter()),this.onDidChangeColor(this.model.color),this.showingStandaloneColorPicker&&(this._domNode.classList.add("standalone-colorpicker"),this._closeButton=this._register(new qge(this._domNode)))}get closeButton(){return this._closeButton}get pickedColorNode(){return this._pickedColorNode}get originalColorNode(){return this._originalColorNode}onDidChangeColor(e){this._pickedColorNode.style.backgroundColor=z.Format.CSS.format(e)||"",this._pickedColorNode.classList.toggle("light",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this._pickedColorPresentation.textContent=this.model.presentation?this.model.presentation.label:""}}class qge extends V{constructor(e){super(),this._onClicked=this._register(new O),this.onClicked=this._onClicked.event,this._button=document.createElement("div"),this._button.classList.add("close-button"),Y(e,this._button);const t=document.createElement("div");t.classList.add("close-button-inner-div"),Y(this._button,t),Y(t,vo(".button"+Ne.asCSSSelector(Ii("color-picker-close",re.close,m("closeIcon","Icon to close the color picker"))))).classList.add("close-icon"),this._register($(this._button,se.CLICK,()=>{this._onClicked.fire()}))}}class Gge extends V{constructor(e,t,i,n=!1){super(),this.model=t,this.pixelRatio=i,this._insertButton=null,this._domNode=vo(".colorpicker-body"),Y(e,this._domNode),this._saturationBox=new Zge(this._domNode,this.model,this.pixelRatio),this._register(this._saturationBox),this._register(this._saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this._saturationBox.onColorFlushed(this.flushColor,this)),this._opacityStrip=new Yge(this._domNode,this.model,n),this._register(this._opacityStrip),this._register(this._opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this._opacityStrip.onColorFlushed(this.flushColor,this)),this._hueStrip=new Xge(this._domNode,this.model,n),this._register(this._hueStrip),this._register(this._hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this._hueStrip.onColorFlushed(this.flushColor,this)),n&&(this._insertButton=this._register(new Qge(this._domNode)),this._domNode.classList.add("standalone-colorpicker"))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){const i=this.model.color.hsva;this.model.color=new z(new Xa(i.h,e,t,i.a))}onDidOpacityChange(e){const t=this.model.color.hsva;this.model.color=new z(new Xa(t.h,t.s,t.v,e))}onDidHueChange(e){const t=this.model.color.hsva,i=(1-e)*360;this.model.color=new z(new Xa(i===360?0:i,t.s,t.v,t.a))}get domNode(){return this._domNode}get saturationBox(){return this._saturationBox}get enterButton(){return this._insertButton}layout(){this._saturationBox.layout(),this._opacityStrip.layout(),this._hueStrip.layout()}}class Zge extends V{constructor(e,t,i){super(),this.model=t,this.pixelRatio=i,this._onDidChange=new O,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new O,this.onColorFlushed=this._onColorFlushed.event,this._domNode=vo(".saturation-wrap"),Y(e,this._domNode),this._canvas=document.createElement("canvas"),this._canvas.className="saturation-box",Y(this._domNode,this._canvas),this.selection=vo(".saturation-selection"),Y(this._domNode,this.selection),this.layout(),this._register($(this._domNode,se.POINTER_DOWN,n=>this.onPointerDown(n))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}get domNode(){return this._domNode}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;this.monitor=this._register(new tp);const t=Mi(this._domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.pointerId,e.buttons,n=>this.onDidChangePosition(n.pageX-t.left,n.pageY-t.top),()=>null);const i=$(e.target.ownerDocument,se.POINTER_UP,()=>{this._onColorFlushed.fire(),i.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(e,t){const i=Math.max(0,Math.min(1,e/this.width)),n=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(i,n),this._onDidChange.fire({s:i,v:n})}layout(){this.width=this._domNode.offsetWidth,this.height=this._domNode.offsetHeight,this._canvas.width=this.width*this.pixelRatio,this._canvas.height=this.height*this.pixelRatio,this.paint();const e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){const e=this.model.color.hsva,t=new z(new Xa(e.h,1,1,1)),i=this._canvas.getContext("2d"),n=i.createLinearGradient(0,0,this._canvas.width,0);n.addColorStop(0,"rgba(255, 255, 255, 1)"),n.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),n.addColorStop(1,"rgba(255, 255, 255, 0)");const s=i.createLinearGradient(0,0,0,this._canvas.height);s.addColorStop(0,"rgba(0, 0, 0, 0)"),s.addColorStop(1,"rgba(0, 0, 0, 1)"),i.rect(0,0,this._canvas.width,this._canvas.height),i.fillStyle=z.Format.CSS.format(t),i.fill(),i.fillStyle=n,i.fill(),i.fillStyle=s,i.fill()}paintSelection(e,t){this.selection.style.left=`${e*this.width}px`,this.selection.style.top=`${this.height-t*this.height}px`}onDidChangeColor(e){if(this.monitor&&this.monitor.isMonitoring())return;this.paint();const t=e.hsva;this.paintSelection(t.s,t.v)}}class YV extends V{constructor(e,t,i=!1){super(),this.model=t,this._onDidChange=new O,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new O,this.onColorFlushed=this._onColorFlushed.event,i?(this.domNode=Y(e,vo(".standalone-strip")),this.overlay=Y(this.domNode,vo(".standalone-overlay"))):(this.domNode=Y(e,vo(".strip")),this.overlay=Y(this.domNode,vo(".overlay"))),this.slider=Y(this.domNode,vo(".slider")),this.slider.style.top="0px",this._register($(this.domNode,se.POINTER_DOWN,n=>this.onPointerDown(n))),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const e=this.getValue(this.model.color);this.updateSliderPosition(e)}onDidChangeColor(e){const t=this.getValue(e);this.updateSliderPosition(t)}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;const t=this._register(new tp),i=Mi(this.domNode);this.domNode.classList.add("grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.pointerId,e.buttons,s=>this.onDidChangeTop(s.pageY-i.top),()=>null);const n=$(e.target.ownerDocument,se.POINTER_UP,()=>{this._onColorFlushed.fire(),n.dispose(),t.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0)}onDidChangeTop(e){const t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)}updateSliderPosition(e){this.slider.style.top=`${(1-e)*this.height}px`}}class Yge extends YV{constructor(e,t,i=!1){super(e,t,i),this.domNode.classList.add("opacity-strip"),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){super.onDidChangeColor(e);const{r:t,g:i,b:n}=e.rgba,s=new z(new ut(t,i,n,1)),r=new z(new ut(t,i,n,0));this.overlay.style.background=`linear-gradient(to bottom, ${s} 0%, ${r} 100%)`}getValue(e){return e.hsva.a}}class Xge extends YV{constructor(e,t,i=!1){super(e,t,i),this.domNode.classList.add("hue-strip")}getValue(e){return 1-e.hsva.h/360}}class Qge extends V{constructor(e){super(),this._onClicked=this._register(new O),this.onClicked=this._onClicked.event,this._button=Y(e,document.createElement("button")),this._button.classList.add("insert-button"),this._button.textContent="Insert",this._register($(this._button,se.CLICK,()=>{this._onClicked.fire()}))}get button(){return this._button}}class Jge extends Eo{constructor(e,t,i,n,s=!1){super(),this.model=t,this.pixelRatio=i,this._register(mv.getInstance(ke(e)).onDidChange(()=>this.layout()));const r=vo(".colorpicker-widget");e.appendChild(r),this.header=this._register(new Kge(r,this.model,n,s)),this.body=this._register(new Gge(r,this.model,this.pixelRatio,s))}layout(){this.body.layout()}}var XV=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},QV=function(o,e){return function(t,i){e(t,i,o)}};class efe{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n,this.forceShowAtRange=!0}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let TS=class{constructor(e,t){this._editor=e,this._themeService=t,this.hoverOrdinal=2}computeSync(e,t){return[]}computeAsync(e,t,i){return Pi.fromPromise(this._computeAsync(e,t,i))}async _computeAsync(e,t,i){if(!this._editor.hasModel())return[];const n=ah.get(this._editor);if(!n)return[];for(const s of t){if(!n.isColorDecoration(s))continue;const r=n.getColorData(s.range.getStartPosition());if(r)return[await JV(this,this._editor.getModel(),r.colorInfo,r.provider)]}return[]}renderHoverParts(e,t){return eH(this,this._editor,this._themeService,t,e)}};TS=XV([QV(1,nn)],TS);class tfe{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n}}let _b=class{constructor(e,t){this._editor=e,this._themeService=t,this._color=null}async createColorHover(e,t,i){if(!this._editor.hasModel()||!ah.get(this._editor))return null;const s=await KV(i,this._editor.getModel(),st.None);let r=null,a=null;for(const h of s){const u=h.colorInfo;D.containsRange(u.range,e.range)&&(r=u,a=h.provider)}const l=r??e,d=a??t,c=!!r;return{colorHover:await JV(this,this._editor.getModel(),l,d),foundInEditor:c}}async updateEditorModel(e){if(!this._editor.hasModel())return;const t=e.model;let i=new D(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn);this._color&&(await B1(this._editor.getModel(),t,this._color,i,e),i=tH(this._editor,i,t))}renderHoverParts(e,t){return eH(this,this._editor,this._themeService,t,e)}set color(e){this._color=e}get color(){return this._color}};_b=XV([QV(1,nn)],_b);async function JV(o,e,t,i){const n=e.getValueInRange(t.range),{red:s,green:r,blue:a,alpha:l}=t.color,d=new ut(Math.round(s*255),Math.round(r*255),Math.round(a*255),l),c=new z(d),h=await qV(e,t,i,st.None),u=new jge(c,[],0);return u.colorPresentations=h||[],u.guessColorPresentation(c,n),o instanceof TS?new efe(o,D.lift(t.range),u,i):new tfe(o,D.lift(t.range),u,i)}function eH(o,e,t,i,n){if(i.length===0||!e.hasModel())return V.None;if(n.setMinimumDimensions){const u=e.getOption(67)+8;n.setMinimumDimensions(new bt(302,u))}const s=new X,r=i[0],a=e.getModel(),l=r.model,d=s.add(new Jge(n.fragment,l,e.getOption(142),t,o instanceof _b));n.setColorPicker(d);let c=!1,h=new D(r.range.startLineNumber,r.range.startColumn,r.range.endLineNumber,r.range.endColumn);if(o instanceof _b){const u=i[0].model.color;o.color=u,B1(a,l,u,h,r),s.add(l.onColorFlushed(g=>{o.color=g}))}else s.add(l.onColorFlushed(async u=>{await B1(a,l,u,h,r),c=!0,h=tH(e,h,l)}));return s.add(l.onDidChangeColor(u=>{B1(a,l,u,h,r)})),s.add(e.onDidChangeModelContent(u=>{c?c=!1:(n.hide(),e.focus())})),s}function tH(o,e,t){var i,n;const s=[],r=(i=t.presentation.textEdit)!==null&&i!==void 0?i:{range:e,text:t.presentation.label,forceMoveMarkers:!1};s.push(r),t.presentation.additionalTextEdits&&s.push(...t.presentation.additionalTextEdits);const a=D.lift(r.range),l=o.getModel()._setTrackedRange(null,a,3);return o.executeEdits("colorpicker",s),o.pushUndoStop(),(n=o.getModel()._getTrackedRange(l))!==null&&n!==void 0?n:a}async function B1(o,e,t,i,n){const s=await qV(o,{range:i,color:{red:t.rgba.r/255,green:t.rgba.g/255,blue:t.rgba.b/255,alpha:t.rgba.a}},n.provider,st.None);e.colorPresentations=s||[]}function pT(o,e){return!!o[e]}class tk{constructor(e,t){this.target=e.target,this.isLeftClick=e.event.leftButton,this.isMiddleClick=e.event.middleButton,this.isRightClick=e.event.rightButton,this.hasTriggerModifier=pT(e.event,t.triggerModifier),this.hasSideBySideModifier=pT(e.event,t.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=e.event.detail<=1}}class p3{constructor(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=pT(e,t.triggerModifier)}}class AC{constructor(e,t,i,n){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=i,this.triggerSideBySideModifier=n}equals(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier}}function _3(o){return o==="altKey"?lt?new AC(57,"metaKey",6,"altKey"):new AC(5,"ctrlKey",6,"altKey"):lt?new AC(6,"altKey",57,"metaKey"):new AC(6,"altKey",5,"ctrlKey")}class EL extends V{constructor(e,t){var i;super(),this._onMouseMoveOrRelevantKeyDown=this._register(new O),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new O),this.onExecute=this._onExecute.event,this._onCancel=this._register(new O),this.onCancel=this._onCancel.event,this._editor=e,this._extractLineNumberFromMouseEvent=(i=t==null?void 0:t.extractLineNumberFromMouseEvent)!==null&&i!==void 0?i:n=>n.target.position?n.target.position.lineNumber:0,this._opts=_3(this._editor.getOption(78)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(n=>{if(n.hasChanged(78)){const s=_3(this._editor.getOption(78));if(this._opts.equals(s))return;this._opts=s,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(n=>this._onEditorMouseMove(new tk(n,this._opts)))),this._register(this._editor.onMouseDown(n=>this._onEditorMouseDown(new tk(n,this._opts)))),this._register(this._editor.onMouseUp(n=>this._onEditorMouseUp(new tk(n,this._opts)))),this._register(this._editor.onKeyDown(n=>this._onEditorKeyDown(new p3(n,this._opts)))),this._register(this._editor.onKeyUp(n=>this._onEditorKeyUp(new p3(n,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(n=>this._onDidChangeCursorSelection(n))),this._register(this._editor.onDidChangeModel(n=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(n=>{(n.scrollTopChanged||n.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=this._extractLineNumberFromMouseEvent(e)}_onEditorMouseUp(e){const t=this._extractLineNumberFromMouseEvent(e);this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}var ife=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Pl=function(o,e){return function(t,i){e(t,i,o)}};let lh=class extends Lm{constructor(e,t,i,n,s,r,a,l,d,c,h,u,g){super(e,{...n.getRawOptions(),overflowWidgetsDomNode:n.getOverflowWidgetsDomNode()},i,s,r,a,l,d,c,h,u,g),this._parentEditor=n,this._overwriteOptions=t,super.updateOptions(this._overwriteOptions),this._register(n.onDidChangeConfiguration(f=>this._onParentConfigurationChanged(f)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){JS(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};lh=ife([Pl(4,Ie),Pl(5,_t),Pl(6,ai),Pl(7,Ae),Pl(8,nn),Pl(9,Ri),Pl(10,xr),Pl(11,Vt),Pl(12,fe)],lh);const v3=new z(new ut(0,122,204)),nfe={showArrow:!0,showFrame:!0,className:"",frameColor:v3,arrowColor:v3,keepEditorSelection:!1},sfe="vs.editor.contrib.zoneWidget";class ofe{constructor(e,t,i,n,s,r,a,l){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=i,this.heightInLines=n,this.showInHiddenAreas=a,this.ordinal=l,this._onDomNodeTop=s,this._onComputedHeight=r}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class rfe{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class NL{constructor(e){this._editor=e,this._ruleName=NL._IdGenerator.nextId(),this._decorations=this._editor.createDecorationsCollection(),this._color=null,this._height=-1}dispose(){this.hide(),RI(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){RI(this._ruleName),hw(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(e){e.column===1&&(e={lineNumber:e.lineNumber,column:2}),this._decorations.set([{range:D.fromPositions(e),options:{description:"zone-widget-arrow",className:this._ruleName,stickiness:1}}])}hide(){this._decorations.clear()}}NL._IdGenerator=new M2(".arrow-decoration-");class afe{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._viewZone=null,this._disposables=new X,this.container=null,this._isShowing=!1,this.editor=e,this._positionMarkerId=this.editor.createDecorationsCollection(),this.options=zl(t),JS(this.options,nfe,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(i=>{const n=this._getWidth(i);this.domNode.style.width=n+"px",this.domNode.style.left=this._getLeft(i)+"px",this._onWidth(n)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._viewZone=null}),this._positionMarkerId.clear(),this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new NL(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){const e=this.options.frameColor.toString();this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e}if(this._arrow&&this.options.arrowColor){const e=this.options.arrowColor.toString();this._arrow.color=e}}_getWidth(e){return e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}_getLeft(e){return e.minimap.minimapWidth>0&&e.minimap.minimapLeft===0?e.minimap.minimapWidth:0}_onViewZoneTop(e){this.domNode.style.top=e+"px"}_onViewZoneHeight(e){var t;if(this.domNode.style.height=`${e}px`,this.container){const i=e-this._decoratingElementsHeight();this.container.style.height=`${i}px`;const n=this.editor.getLayoutInfo();this._doLayout(i,this._getWidth(n))}(t=this._resizeSash)===null||t===void 0||t.layout()}get position(){const e=this._positionMarkerId.getRange(0);if(e)return e.getStartPosition()}show(e,t){const i=D.isIRange(e)?D.lift(e):D.fromPositions(e);this._isShowing=!0,this._showImpl(i,t),this._isShowing=!1,this._positionMarkerId.set([{range:i,options:ze.EMPTY}])}hide(){var e;this._viewZone&&(this.editor.changeViewZones(t=>{this._viewZone&&t.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),(e=this._arrow)===null||e===void 0||e.hide(),this._positionMarkerId.clear()}_decoratingElementsHeight(){const e=this.editor.getOption(67);let t=0;if(this.options.showArrow){const i=Math.round(e/3);t+=2*i}if(this.options.showFrame){const i=Math.round(e/9);t+=2*i}return t}_showImpl(e,t){const i=e.getStartPosition(),n=this.editor.getLayoutInfo(),s=this._getWidth(n);this.domNode.style.width=`${s}px`,this.domNode.style.left=this._getLeft(n)+"px";const r=document.createElement("div");r.style.overflow="hidden";const a=this.editor.getOption(67);if(!this.options.allowUnlimitedHeight){const u=Math.max(12,this.editor.getLayoutInfo().height/a*.8);t=Math.min(t,u)}let l=0,d=0;if(this._arrow&&this.options.showArrow&&(l=Math.round(a/3),this._arrow.height=l,this._arrow.show(i)),this.options.showFrame&&(d=Math.round(a/9)),this.editor.changeViewZones(u=>{this._viewZone&&u.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new ofe(r,i.lineNumber,i.column,t,g=>this._onViewZoneTop(g),g=>this._onViewZoneHeight(g),this.options.showInHiddenAreas,this.options.ordinal),this._viewZone.id=u.addZone(this._viewZone),this._overlayWidget=new rfe(sfe+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const u=this.options.frameWidth?this.options.frameWidth:d;this.container.style.borderTopWidth=u+"px",this.container.style.borderBottomWidth=u+"px"}const c=t*a-this._decoratingElementsHeight();this.container&&(this.container.style.top=l+"px",this.container.style.height=c+"px",this.container.style.overflow="hidden"),this._doLayout(c,s),this.options.keepEditorSelection||this.editor.setSelection(e);const h=this.editor.getModel();if(h){const u=h.validateRange(new D(e.startLineNumber,1,e.endLineNumber+1,1));this.revealRange(u,u.startLineNumber===h.getLineCount())}}revealRange(e,t){t?this.editor.revealLineNearTop(e.endLineNumber,0):this.editor.revealRange(e,0)}setCssClass(e,t){this.container&&(t&&this.container.classList.remove(t),this.container.classList.add(e))}_onWidth(e){}_doLayout(e,t){}_relayout(e){this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones(t=>{this._viewZone&&(this._viewZone.heightInLines=e,t.layoutZone(this._viewZone.id))})}_initSash(){if(this._resizeSash)return;this._resizeSash=this._disposables.add(new Pn(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.state=0);let e;this._disposables.add(this._resizeSash.onDidStart(t=>{this._viewZone&&(e={startY:t.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{e=void 0})),this._disposables.add(this._resizeSash.onDidChange(t=>{if(e){const i=(t.currentY-e.startY)/this.editor.getOption(67),n=i<0?Math.ceil(i):Math.floor(i),s=e.heightInLines+n;s>5&&s<35&&this._relayout(s)}}))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(this.domNode.style.height===null?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){const e=this.editor.getLayoutInfo();return e.width-e.minimap.minimapWidth}}var iH=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},nH=function(o,e){return function(t,i){e(t,i,o)}};const sH=ot("IPeekViewService");ht(sH,class{constructor(){this._widgets=new Map}addExclusiveWidget(o,e){const t=this._widgets.get(o);t&&(t.listener.dispose(),t.widget.dispose());const i=()=>{const n=this._widgets.get(o);n&&n.widget===e&&(n.listener.dispose(),this._widgets.delete(o))};this._widgets.set(o,{widget:e,listener:e.onDidClose(i)})}},1);var Fs;(function(o){o.inPeekEditor=new de("inReferenceSearchEditor",!0,m("inReferenceSearchEditor","Whether the current code editor is embedded inside peek")),o.notInPeekEditor=o.inPeekEditor.toNegated()})(Fs||(Fs={}));let vb=class{constructor(e,t){e instanceof lh&&Fs.inPeekEditor.bindTo(t)}dispose(){}};vb.ID="editor.contrib.referenceController";vb=iH([nH(1,Ae)],vb);vt(vb.ID,vb,0);function lfe(o){const e=o.get(_t).getFocusedCodeEditor();return e instanceof lh?e.getParentEditor():e}const dfe={headerBackgroundColor:z.white,primaryHeadingColor:z.fromHex("#333333"),secondaryHeadingColor:z.fromHex("#6c6c6cb3")};let MS=class extends afe{constructor(e,t,i){super(e,t),this.instantiationService=i,this._onDidClose=new O,this.onDidClose=this._onDidClose.event,JS(this.options,dfe,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(e){const t=this.options;e.headerBackgroundColor&&(t.headerBackgroundColor=e.headerBackgroundColor),e.primaryHeadingColor&&(t.primaryHeadingColor=e.primaryHeadingColor),e.secondaryHeadingColor&&(t.secondaryHeadingColor=e.secondaryHeadingColor),super.style(e)}_applyStyles(){super._applyStyles();const e=this.options;this._headElement&&e.headerBackgroundColor&&(this._headElement.style.backgroundColor=e.headerBackgroundColor.toString()),this._primaryHeading&&e.primaryHeadingColor&&(this._primaryHeading.style.color=e.primaryHeadingColor.toString()),this._secondaryHeading&&e.secondaryHeadingColor&&(this._secondaryHeading.style.color=e.secondaryHeadingColor.toString()),this._bodyElement&&e.frameColor&&(this._bodyElement.style.borderColor=e.frameColor.toString())}_fillContainer(e){this.setCssClass("peekview-widget"),this._headElement=J(".head"),this._bodyElement=J(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)}_fillHead(e,t){this._titleElement=J(".peekview-title"),this.options.supportOnTitleClick&&(this._titleElement.classList.add("clickable"),vi(this._titleElement,"click",s=>this._onTitleClick(s))),Y(this._headElement,this._titleElement),this._fillTitleIcon(this._titleElement),this._primaryHeading=J("span.filename"),this._secondaryHeading=J("span.dirname"),this._metaHeading=J("span.meta"),Y(this._titleElement,this._primaryHeading,this._secondaryHeading,this._metaHeading);const i=J(".peekview-actions");Y(this._headElement,i);const n=this._getActionBarOptions();this._actionbarWidget=new Yo(i,n),this._disposables.add(this._actionbarWidget),t||this._actionbarWidget.push(new Zs("peekview.close",m("label.close","Close"),Ne.asClassName(re.close),!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(e){}_getActionBarOptions(){return{actionViewItemProvider:EW.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(e){}setTitle(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=e,this._primaryHeading.setAttribute("title",e),t?this._secondaryHeading.innerText=t:Wn(this._secondaryHeading))}setMetaTitle(e){this._metaHeading&&(e?(this._metaHeading.innerText=e,js(this._metaHeading)):ds(this._metaHeading))}_doLayout(e,t){if(!this._isShowing&&e<0){this.dispose();return}const i=Math.ceil(this.editor.getOption(67)*1.2),n=Math.round(e-(i+2));this._doLayoutHead(i,t),this._doLayoutBody(n,t)}_doLayoutHead(e,t){this._headElement&&(this._headElement.style.height=`${e}px`,this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(e,t){this._bodyElement&&(this._bodyElement.style.height=`${e}px`)}};MS=iH([nH(2,Ie)],MS);const cfe=N("peekViewTitle.background",{dark:"#252526",light:"#F3F3F3",hcDark:z.black,hcLight:z.white},m("peekViewTitleBackground","Background color of the peek view title area.")),oH=N("peekViewTitleLabel.foreground",{dark:z.white,light:z.black,hcDark:z.white,hcLight:_r},m("peekViewTitleForeground","Color of the peek view title.")),rH=N("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161",hcDark:"#FFFFFF99",hcLight:"#292929"},m("peekViewTitleInfoForeground","Color of the peek view title info.")),hfe=N("peekView.border",{dark:Rs,light:Rs,hcDark:at,hcLight:at},m("peekViewBorder","Color of the peek view borders and arrow.")),ufe=N("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hcDark:z.black,hcLight:z.white},m("peekViewResultsBackground","Background color of the peek view result list."));N("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hcDark:z.white,hcLight:_r},m("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list."));N("peekViewResult.fileForeground",{dark:z.white,light:"#1E1E1E",hcDark:z.white,hcLight:_r},m("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list."));N("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hcDark:null,hcLight:null},m("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list."));N("peekViewResult.selectionForeground",{dark:z.white,light:"#6C6C6C",hcDark:z.white,hcLight:_r},m("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list."));const Sc=N("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hcDark:z.black,hcLight:z.white},m("peekViewEditorBackground","Background color of the peek view editor."));N("peekViewEditorGutter.background",{dark:Sc,light:Sc,hcDark:Sc,hcLight:Sc},m("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor."));N("peekViewEditorStickyScroll.background",{dark:Sc,light:Sc,hcDark:Sc,hcLight:Sc},m("peekViewEditorStickScrollBackground","Background color of sticky scroll in the peek view editor."));N("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hcDark:null,hcLight:null},m("peekViewResultsMatchHighlight","Match highlight color in the peek view result list."));N("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hcDark:null,hcLight:null},m("peekViewEditorMatchHighlight","Match highlight color in the peek view editor."));N("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hcDark:Yt,hcLight:Yt},m("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."));class dh{constructor(e,t,i,n){this.isProviderFirst=e,this.parent=t,this.link=i,this._rangeCallback=n,this.id=BE.nextId()}get uri(){return this.link.uri}get range(){var e,t;return(t=(e=this._range)!==null&&e!==void 0?e:this.link.targetSelectionRange)!==null&&t!==void 0?t:this.link.range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){var e;const t=(e=this.parent.getPreview(this))===null||e===void 0?void 0:e.preview(this.range);return t?m({key:"aria.oneReference.preview",comment:["Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code"]},"{0} in {1} on line {2} at column {3}",t.value,Zo(this.uri),this.range.startLineNumber,this.range.startColumn):m("aria.oneReference","in {0} on line {1} at column {2}",Zo(this.uri),this.range.startLineNumber,this.range.startColumn)}}class gfe{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){const i=this._modelReference.object.textEditorModel;if(!i)return;const{startLineNumber:n,startColumn:s,endLineNumber:r,endColumn:a}=e,l=i.getWordUntilPosition({lineNumber:n,column:s-t}),d=new D(n,l.startColumn,n,s),c=new D(r,a,r,1073741824),h=i.getValueInRange(d).replace(/^\s+/,""),u=i.getValueInRange(e),g=i.getValueInRange(c).replace(/\s+$/,"");return{value:h+u+g,highlight:{start:h.length,end:h.length+u.length}}}}class bb{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new Di}dispose(){kt(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){const e=this.children.length;return e===1?m("aria.fileReferences.1","1 symbol in {0}, full path {1}",Zo(this.uri),this.uri.fsPath):m("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,Zo(this.uri),this.uri.fsPath)}async resolve(e){if(this._previews.size!==0)return this;for(const t of this.children)if(!this._previews.has(t.uri))try{const i=await e.createModelReference(t.uri);this._previews.set(t.uri,new gfe(i))}catch(i){Ve(i)}return this}}class Xs{constructor(e,t){this.groups=[],this.references=[],this._onDidChangeReferenceRange=new O,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;const[i]=e;e.sort(Xs._compareReferences);let n;for(const s of e)if((!n||!Xt.isEqual(n.uri,s.uri,!0))&&(n=new bb(this,s.uri),this.groups.push(n)),n.children.length===0||Xs._compareReferences(s,n.children[n.children.length-1])!==0){const r=new dh(i===s,n,s,a=>this._onDidChangeReferenceRange.fire(a));this.references.push(r),n.children.push(r)}}dispose(){kt(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new Xs(this._links,this._title)}get title(){return this._title}get isEmpty(){return this.groups.length===0}get ariaMessage(){return this.isEmpty?m("aria.result.0","No results found"):this.references.length===1?m("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):this.groups.length===1?m("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):m("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){const{parent:i}=e;let n=i.children.indexOf(e);const s=i.children.length,r=i.parent.groups.length;return r===1||t&&n+10?(t?n=(n+1)%s:n=(n+s-1)%s,i.children[n]):(n=i.parent.groups.indexOf(i),t?(n=(n+1)%r,i.parent.groups[n].children[0]):(n=(n+r-1)%r,i.parent.groups[n].children[i.parent.groups[n].children.length-1]))}nearestReference(e,t){const i=this.references.map((n,s)=>({idx:s,prefixLen:jc(n.uri.toString(),e.toString()),offsetDist:Math.abs(n.range.startLineNumber-t.lineNumber)*100+Math.abs(n.range.startColumn-t.column)})).sort((n,s)=>n.prefixLen>s.prefixLen?-1:n.prefixLens.offsetDist?1:0)[0];if(i)return this.references[i.idx]}referenceAt(e,t){for(const i of this.references)if(i.uri.toString()===e.toString()&&D.containsPosition(i.range,t))return i}firstReference(){for(const e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return Xt.compare(e.uri,t.uri)||D.compareRangesUsingStarts(e.range,t.range)}}var TL=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},ML=function(o,e){return function(t,i){e(t,i,o)}},_T;let vT=class{constructor(e){this._resolverService=e}hasChildren(e){return e instanceof Xs||e instanceof bb}getChildren(e){if(e instanceof Xs)return e.groups;if(e instanceof bb)return e.resolve(this._resolverService).then(t=>t.children);throw new Error("bad tree")}};vT=TL([ML(0,Ws)],vT);class ffe{getHeight(){return 23}getTemplateId(e){return e instanceof bb?Cb.id:x0.id}}let bT=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){var t;if(e instanceof dh){const i=(t=e.parent.getPreview(e))===null||t===void 0?void 0:t.preview(e.range);if(i)return i.value}return Zo(e.uri)}};bT=TL([ML(0,Et)],bT);class mfe{getId(e){return e instanceof dh?e.id:e.uri}}let CT=class extends V{constructor(e,t){super(),this._labelService=t;const i=document.createElement("div");i.classList.add("reference-file"),this.file=this._register(new fS(i,{supportHighlights:!0})),this.badge=new wN(Y(i,J(".count")),{},kW),e.appendChild(i)}set(e,t){const i=By(e.uri);this.file.setLabel(this._labelService.getUriBasenameLabel(e.uri),this._labelService.getUriLabel(i,{relative:!0}),{title:this._labelService.getUriLabel(e.uri),matches:t});const n=e.children.length;this.badge.setCount(n),n>1?this.badge.setTitleFormat(m("referencesCount","{0} references",n)):this.badge.setTitleFormat(m("referenceCount","{0} reference",n))}};CT=TL([ML(1,xm)],CT);let Cb=_T=class{constructor(e){this._instantiationService=e,this.templateId=_T.id}renderTemplate(e){return this._instantiationService.createInstance(CT,e)}renderElement(e,t,i){i.set(e.element,d0(e.filterData))}disposeTemplate(e){e.dispose()}};Cb.id="FileReferencesRenderer";Cb=_T=TL([ML(0,Ie)],Cb);class pfe{constructor(e){this.label=new Pc(e)}set(e,t){var i;const n=(i=e.parent.getPreview(e))===null||i===void 0?void 0:i.preview(e.range);if(!n||!n.value)this.label.set(`${Zo(e.uri)}:${e.range.startLineNumber+1}:${e.range.startColumn+1}`);else{const{value:s,highlight:r}=n;t&&!sa.isDefault(t)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(s,d0(t))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(s,[r]))}}}class x0{constructor(){this.templateId=x0.id}renderTemplate(e){return new pfe(e)}renderElement(e,t,i){i.set(e.element,e.filterData)}disposeTemplate(){}}x0.id="OneReferenceRenderer";class _fe{getWidgetAriaLabel(){return m("treeAriaLabel","References")}getAriaLabel(e){return e.ariaMessage}}var vfe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Ol=function(o,e){return function(t,i){e(t,i,o)}};class RL{constructor(e,t){this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new X,this._callOnModelChange=new X,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const e=this._editor.getModel();if(e){for(const t of this._model.references)if(t.uri.toString()===e.uri.toString()){this._addDecorations(t.parent);return}}}_addDecorations(e){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const t=[],i=[];for(let n=0,s=e.children.length;n{const s=n.deltaDecorations([],t);for(let r=0;r{s.equals(9)&&(this._keybindingService.dispatchEvent(s,s.target),s.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(Cfe,"ReferencesWidget",this._treeContainer,new ffe,[this._instantiationService.createInstance(Cb),this._instantiationService.createInstance(x0)],this._instantiationService.createInstance(vT),i),this._splitView.addView({onDidChange:ae.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:s=>{this._preview.layout({height:this._dim.height,width:s})}},lS.Distribute),this._splitView.addView({onDidChange:ae.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:s=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${s}px`,this._tree.layout(this._dim.height,s)}},lS.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));const n=(s,r)=>{s instanceof dh&&(r==="show"&&this._revealReference(s,!1),this._onDidSelectReference.fire({element:s,kind:r,source:"tree"}))};this._tree.onDidOpen(s=>{s.sideBySide?n(s.element,"side"):s.editorOptions.pinned?n(s.element,"goto"):n(s.element,"show")}),ds(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim=new bt(t,e),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(t),this._splitView.resizeView(0,t*this.layoutData.ratio)}setSelection(e){return this._revealReference(e,!0).then(()=>{this._model&&(this._tree.setSelection([e]),this._tree.setFocus([e]))})}setModel(e){return this._disposeOnNewModel.clear(),this._model=e,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=m("noResults","No results"),js(this._messageContainer),Promise.resolve(void 0)):(ds(this._messageContainer),this._decorationsManager=new RL(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(e=>this._tree.rerender(e))),this._disposeOnNewModel.add(this._preview.onMouseDown(e=>{const{event:t,target:i}=e;if(t.detail!==2)return;const n=this._getFocusedReference();n&&this._onDidSelectReference.fire({element:{uri:n.uri,range:i.range},kind:t.ctrlKey||t.metaKey||t.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),js(this._treeContainer),js(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(this._model.groups.length===1?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[e]=this._tree.getFocus();if(e instanceof dh)return e;if(e instanceof bb&&e.children.length>0)return e.children[0]}async revealReference(e){await this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:"goto",source:"tree"})}async _revealReference(e,t){if(this._revealedReference===e)return;this._revealedReference=e,e.uri.scheme!==Ue.inMemory?this.setTitle(Wee(e.uri),this._uriLabel.getUriLabel(By(e.uri))):this.setTitle(m("peekView.alternateTitle","References"));const i=this._textModelResolverService.createModelReference(e.uri);this._tree.getInput()===e.parent?this._tree.reveal(e):(t&&this._tree.reveal(e.parent),await this._tree.expand(e.parent),this._tree.reveal(e));const n=await i;if(!this._model){n.dispose();return}kt(this._previewModelReference);const s=n.object;if(s){const r=this._preview.getModel()===s.textEditorModel?0:1,a=D.lift(e.range).collapseToStart();this._previewModelReference=n,this._preview.setModel(s.textEditorModel),this._preview.setSelection(a),this._preview.revealRangeInCenter(a,r)}else this._preview.setModel(this._previewNotAvailableMessage),n.dispose()}};wT=vfe([Ol(3,nn),Ol(4,Ws),Ol(5,Ie),Ol(6,sH),Ol(7,xm),Ol(8,Wy),Ol(9,Et),Ol(10,Qt),Ol(11,Vt)],wT);var wfe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},zg=function(o,e){return function(t,i){e(t,i,o)}},W1;const xg=new de("referenceSearchVisible",!1,m("referenceSearchVisible","Whether reference peek is visible, like 'Peek References' or 'Peek Definition'"));let ch=W1=class{static get(e){return e.getContribution(W1.ID)}constructor(e,t,i,n,s,r,a,l){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=n,this._notificationService=s,this._instantiationService=r,this._storageService=a,this._configurationService=l,this._disposables=new X,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=xg.bindTo(i)}dispose(){var e,t;this._referenceSearchVisible.reset(),this._disposables.dispose(),(e=this._widget)===null||e===void 0||e.dispose(),(t=this._model)===null||t===void 0||t.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(e,t,i){let n;if(this._widget&&(n=this._widget.position),this.closeWidget(),n&&e.containsPosition(n))return;this._peekMode=i,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const s="peekViewLayout",r=bfe.fromJSON(this._storageService.get(s,0,"{}"));this._widget=this._instantiationService.createInstance(wT,this._editor,this._defaultTreeKeyboardSupport,r),this._widget.setTitle(m("labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store(s,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(l=>{const{element:d,kind:c}=l;if(d)switch(c){case"open":(l.source!=="editor"||!this._configurationService.getValue("editor.stablePeek"))&&this.openReference(d,!1,!1);break;case"side":this.openReference(d,!0,!1);break;case"goto":i?this._gotoReference(d,!0):this.openReference(d,!1,!0);break}}));const a=++this._requestIdPool;t.then(l=>{var d;if(a!==this._requestIdPool||!this._widget){l.dispose();return}return(d=this._model)===null||d===void 0||d.dispose(),this._model=l,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(m("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));const c=this._editor.getModel().uri,h=new F(e.startLineNumber,e.startColumn),u=this._model.nearestReference(c,h);if(u)return this._widget.setSelection(u).then(()=>{this._widget&&this._editor.getOption(87)==="editor"&&this._widget.focusOnPreviewEditor()})}})},l=>{this._notificationService.error(l)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}async goToNextOrPreviousReference(e){if(!this._editor.hasModel()||!this._model||!this._widget)return;const t=this._widget.position;if(!t)return;const i=this._model.nearestReference(this._editor.getModel().uri,t);if(!i)return;const n=this._model.nextOrPreviousReference(i,e),s=this._editor.hasTextFocus(),r=this._widget.isPreviewEditorFocused();await this._widget.setSelection(n),await this._gotoReference(n,!1),s?this._editor.focus():this._widget&&r&&this._widget.focusOnPreviewEditor()}async revealReference(e){!this._editor.hasModel()||!this._model||!this._widget||await this._widget.revealReference(e)}closeWidget(e=!0){var t,i;(t=this._widget)===null||t===void 0||t.dispose(),(i=this._model)===null||i===void 0||i.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(e,t){var i;(i=this._widget)===null||i===void 0||i.hide(),this._ignoreModelChangeEvent=!0;const n=D.lift(e.range).collapseToStart();return this._editorService.openCodeEditor({resource:e.uri,options:{selection:n,selectionSource:"code.jump",pinned:t}},this._editor).then(s=>{var r;if(this._ignoreModelChangeEvent=!1,!s||!this._widget){this.closeWidget();return}if(this._editor===s)this._widget.show(n),this._widget.focusOnReferenceTree();else{const a=W1.get(s),l=this._model.clone();this.closeWidget(),s.focus(),a==null||a.toggleWidget(n,tn(d=>Promise.resolve(l)),(r=this._peekMode)!==null&&r!==void 0?r:!1)}},s=>{this._ignoreModelChangeEvent=!1,Ve(s)})}openReference(e,t,i){t||this.closeWidget();const{uri:n,range:s}=e;this._editorService.openCodeEditor({resource:n,options:{selection:s,selectionSource:"code.jump",pinned:i}},this._editor,t)}};ch.ID="editor.contrib.referencesController";ch=W1=wfe([zg(2,Ae),zg(3,_t),zg(4,Ri),zg(5,Ie),zg(6,kr),zg(7,Qe)],ch);function kg(o,e){const t=lfe(o);if(!t)return;const i=ch.get(t);i&&e(i)}Os.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:Ui(2089,60),when:q.or(xg,Fs.inPeekEditor),handler(o){kg(o,e=>{e.changeFocusBetweenPreviewAndReferences()})}});Os.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:q.or(xg,Fs.inPeekEditor),handler(o){kg(o,e=>{e.goToNextOrPreviousReference(!0)})}});Os.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:q.or(xg,Fs.inPeekEditor),handler(o){kg(o,e=>{e.goToNextOrPreviousReference(!1)})}});ct.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference");ct.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference");ct.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch");ct.registerCommand("closeReferenceSearch",o=>kg(o,e=>e.closeWidget()));Os.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:q.and(Fs.inPeekEditor,q.not("config.editor.stablePeek"))});Os.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:q.and(xg,q.not("config.editor.stablePeek"),q.or(E.editorTextFocus,mae.negate()))});Os.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:q.and(xg,ZW,Q2.negate(),J2.negate()),handler(o){var e;const i=(e=o.get(tr).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(i)&&i[0]instanceof dh&&kg(o,n=>n.revealReference(i[0]))}});Os.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:q.and(xg,ZW,Q2.negate(),J2.negate()),handler(o){var e;const i=(e=o.get(tr).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(i)&&i[0]instanceof dh&&kg(o,n=>n.openReference(i[0],!0,!0))}});ct.registerCommand("openReference",o=>{var e;const i=(e=o.get(tr).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(i)&&i[0]instanceof dh&&kg(o,n=>n.openReference(i[0],!1,!0))});var aH=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},v_=function(o,e){return function(t,i){e(t,i,o)}};const AA=new de("hasSymbols",!1,m("hasSymbols","Whether there are symbol locations that can be navigated via keyboard-only.")),AL=ot("ISymbolNavigationService");let ST=class{constructor(e,t,i,n){this._editorService=t,this._notificationService=i,this._keybindingService=n,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=AA.bindTo(e)}reset(){var e,t;this._ctxHasSymbols.reset(),(e=this._currentState)===null||e===void 0||e.dispose(),(t=this._currentMessage)===null||t===void 0||t.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(e){const t=e.parent.parent;if(t.references.length<=1){this.reset();return}this._currentModel=t,this._currentIdx=t.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();const i=new yT(this._editorService),n=i.onDidChange(s=>{if(this._ignoreEditorChange)return;const r=this._editorService.getActiveCodeEditor();if(!r)return;const a=r.getModel(),l=r.getPosition();if(!a||!l)return;let d=!1,c=!1;for(const h of t.references)if(o2(h.uri,a.uri))d=!0,c=c||D.containsPosition(h.range,l);else if(d)break;(!d||!c)&&this.reset()});this._currentState=wr(i,n)}revealNext(e){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const t=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:t.uri,options:{selection:D.collapseToStart(t.range),selectionRevealType:3}},e).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var e;(e=this._currentMessage)===null||e===void 0||e.dispose();const t=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),i=t?m("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,t.getLabel()):m("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(i)}};ST=aH([v_(0,Ae),v_(1,_t),v_(2,Ri),v_(3,Et)],ST);ht(AL,ST,1);le(new class extends un{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:AA,kbOpts:{weight:100,primary:70}})}runEditorCommand(o,e){return o.get(AL).revealNext(e)}});Os.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:AA,primary:9,handler(o){o.get(AL).reset()}});let yT=class{constructor(e){this._listener=new Map,this._disposables=new X,this._onDidChange=new O,this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),kt(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,wr(e.onDidChangeCursorPosition(t=>this._onDidChange.fire({editor:e})),e.onDidChangeModelContent(t=>this._onDidChange.fire({editor:e}))))}_onDidRemoveEditor(e){var t;(t=this._listener.get(e))===null||t===void 0||t.dispose(),this._listener.delete(e)}};yT=aH([v_(0,_t)],yT);async function k0(o,e,t,i){const s=t.ordered(o).map(a=>Promise.resolve(i(a,o,e)).then(void 0,l=>{Fi(l)})),r=await Promise.all(s);return oa(r.flat())}function PL(o,e,t,i){return k0(e,t,o,(n,s,r)=>n.provideDefinition(s,r,i))}function lH(o,e,t,i){return k0(e,t,o,(n,s,r)=>n.provideDeclaration(s,r,i))}function dH(o,e,t,i){return k0(e,t,o,(n,s,r)=>n.provideImplementation(s,r,i))}function cH(o,e,t,i){return k0(e,t,o,(n,s,r)=>n.provideTypeDefinition(s,r,i))}function OL(o,e,t,i,n){return k0(e,t,o,async(s,r,a)=>{const l=await s.provideReferences(r,a,{includeDeclaration:!0},n);if(!i||!l||l.length!==2)return l;const d=await s.provideReferences(r,a,{includeDeclaration:!1},n);return d&&d.length===1?d:l})}async function I0(o){const e=await o(),t=new Xs(e,""),i=t.references.map(n=>n.link);return t.dispose(),i}xl("_executeDefinitionProvider",(o,e,t)=>{const i=o.get(fe),n=PL(i.definitionProvider,e,t,st.None);return I0(()=>n)});xl("_executeTypeDefinitionProvider",(o,e,t)=>{const i=o.get(fe),n=cH(i.typeDefinitionProvider,e,t,st.None);return I0(()=>n)});xl("_executeDeclarationProvider",(o,e,t)=>{const i=o.get(fe),n=lH(i.declarationProvider,e,t,st.None);return I0(()=>n)});xl("_executeReferenceProvider",(o,e,t)=>{const i=o.get(fe),n=OL(i.referenceProvider,e,t,!1,st.None);return I0(()=>n)});xl("_executeImplementationProvider",(o,e,t)=>{const i=o.get(fe),n=dH(i.implementationProvider,e,t,st.None);return I0(()=>n)});var jp,Kp,qp,PC,OC,FC,BC,WC;wn.appendMenuItem(k.EditorContext,{submenu:k.EditorContextPeek,title:m("peek.submenu","Peek"),group:"navigation",order:100});class Bm{static is(e){return!e||typeof e!="object"?!1:!!(e instanceof Bm||F.isIPosition(e.position)&&e.model)}constructor(e,t){this.model=e,this.position=t}}class Yn extends va{static all(){return Yn._allSymbolNavigationCommands.values()}static _patchConfig(e){const t={...e,f1:!0};if(t.menu)for(const i of dt.wrap(t.menu))(i.id===k.EditorContext||i.id===k.EditorContextPeek)&&(i.when=q.and(e.precondition,i.when));return t}constructor(e,t){super(Yn._patchConfig(t)),this.configuration=e,Yn._allSymbolNavigationCommands.set(t.id,this)}runEditorCommand(e,t,i,n){if(!t.hasModel())return Promise.resolve(void 0);const s=e.get(Ri),r=e.get(_t),a=e.get(Dh),l=e.get(AL),d=e.get(fe),c=e.get(Ie),h=t.getModel(),u=t.getPosition(),g=Bm.is(i)?i:new Bm(h,u),f=new oh(t,5),p=qb(this._getLocationModel(d,g.model,g.position,f.token),f.token).then(async _=>{var v;if(!_||f.token.isCancellationRequested)return;eo(_.ariaMessage);let b;if(_.referenceAt(h.uri,u)){const w=this._getAlternativeCommand(t);!Yn._activeAlternativeCommands.has(w)&&Yn._allSymbolNavigationCommands.has(w)&&(b=Yn._allSymbolNavigationCommands.get(w))}const C=_.references.length;if(C===0){if(!this.configuration.muteMessage){const w=h.getWordAtPosition(u);(v=bs.get(t))===null||v===void 0||v.showMessage(this._getNoResultFoundMessage(w),u)}}else if(C===1&&b)Yn._activeAlternativeCommands.add(this.desc.id),c.invokeFunction(w=>b.runEditorCommand(w,t,i,n).finally(()=>{Yn._activeAlternativeCommands.delete(this.desc.id)}));else return this._onResult(r,l,t,_,n)},_=>{s.error(_)}).finally(()=>{f.dispose()});return a.showWhile(p,250),p}async _onResult(e,t,i,n,s){const r=this._getGoToPreference(i);if(!(i instanceof lh)&&(this.configuration.openInPeek||r==="peek"&&n.references.length>1))this._openInPeek(i,n,s);else{const a=n.firstReference(),l=n.references.length>1&&r==="gotoAndPeek",d=await this._openReference(i,e,a,this.configuration.openToSide,!l);l&&d?this._openInPeek(d,n,s):n.dispose(),r==="goto"&&t.put(a)}}async _openReference(e,t,i,n,s){let r;if(G$(i)&&(r=i.targetSelectionRange),r||(r=i.range),!r)return;const a=await t.openCodeEditor({resource:i.uri,options:{selection:D.collapseToStart(r),selectionRevealType:3,selectionSource:"code.jump"}},e,n);if(a){if(s){const l=a.getModel(),d=a.createDecorationsCollection([{range:r,options:{description:"symbol-navigate-action-highlight",className:"symbolHighlight"}}]);setTimeout(()=>{a.getModel()===l&&d.clear()},350)}return a}}_openInPeek(e,t,i){const n=ch.get(e);n&&e.hasModel()?n.toggleWidget(i??e.getSelection(),tn(s=>Promise.resolve(t)),this.configuration.openInPeek):t.dispose()}}Yn._allSymbolNavigationCommands=new Map;Yn._activeAlternativeCommands=new Set;class E0 extends Yn{async _getLocationModel(e,t,i,n){return new Xs(await PL(e.definitionProvider,t,i,n),m("def.title","Definitions"))}_getNoResultFoundMessage(e){return e&&e.word?m("noResultWord","No definition found for '{0}'",e.word):m("generic.noResults","No definition found")}_getAlternativeCommand(e){return e.getOption(58).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(58).multipleDefinitions}}Wt((jp=class extends E0{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:jp.id,title:{...mt("actions.goToDecl.label","Go to Definition"),mnemonicTitle:m({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")},precondition:E.hasDefinitionProvider,keybinding:[{when:E.editorTextFocus,primary:70,weight:100},{when:q.and(E.editorTextFocus,jW),primary:2118,weight:100}],menu:[{id:k.EditorContext,group:"navigation",order:1.1},{id:k.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:2}]}),ct.registerCommandAlias("editor.action.goToDeclaration",jp.id)}},jp.id="editor.action.revealDefinition",jp));Wt((Kp=class extends E0{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:Kp.id,title:mt("actions.goToDeclToSide.label","Open Definition to the Side"),precondition:q.and(E.hasDefinitionProvider,E.isInEmbeddedEditor.toNegated()),keybinding:[{when:E.editorTextFocus,primary:Ui(2089,70),weight:100},{when:q.and(E.editorTextFocus,jW),primary:Ui(2089,2118),weight:100}]}),ct.registerCommandAlias("editor.action.openDeclarationToTheSide",Kp.id)}},Kp.id="editor.action.revealDefinitionAside",Kp));Wt((qp=class extends E0{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:qp.id,title:mt("actions.previewDecl.label","Peek Definition"),precondition:q.and(E.hasDefinitionProvider,Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated()),keybinding:{when:E.editorTextFocus,primary:582,linux:{primary:3140},weight:100},menu:{id:k.EditorContextPeek,group:"peek",order:2}}),ct.registerCommandAlias("editor.action.previewDeclaration",qp.id)}},qp.id="editor.action.peekDefinition",qp));class hH extends Yn{async _getLocationModel(e,t,i,n){return new Xs(await lH(e.declarationProvider,t,i,n),m("decl.title","Declarations"))}_getNoResultFoundMessage(e){return e&&e.word?m("decl.noResultWord","No declaration found for '{0}'",e.word):m("decl.generic.noResults","No declaration found")}_getAlternativeCommand(e){return e.getOption(58).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(58).multipleDeclarations}}Wt((PC=class extends hH{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:PC.id,title:{...mt("actions.goToDeclaration.label","Go to Declaration"),mnemonicTitle:m({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")},precondition:q.and(E.hasDeclarationProvider,E.isInEmbeddedEditor.toNegated()),menu:[{id:k.EditorContext,group:"navigation",order:1.3},{id:k.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}_getNoResultFoundMessage(e){return e&&e.word?m("decl.noResultWord","No declaration found for '{0}'",e.word):m("decl.generic.noResults","No declaration found")}},PC.id="editor.action.revealDeclaration",PC));Wt(class extends hH{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",title:mt("actions.peekDecl.label","Peek Declaration"),precondition:q.and(E.hasDeclarationProvider,Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated()),menu:{id:k.EditorContextPeek,group:"peek",order:3}})}});class uH extends Yn{async _getLocationModel(e,t,i,n){return new Xs(await cH(e.typeDefinitionProvider,t,i,n),m("typedef.title","Type Definitions"))}_getNoResultFoundMessage(e){return e&&e.word?m("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):m("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(e){return e.getOption(58).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(58).multipleTypeDefinitions}}Wt((OC=class extends uH{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:OC.ID,title:{...mt("actions.goToTypeDefinition.label","Go to Type Definition"),mnemonicTitle:m({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")},precondition:E.hasTypeDefinitionProvider,keybinding:{when:E.editorTextFocus,primary:0,weight:100},menu:[{id:k.EditorContext,group:"navigation",order:1.4},{id:k.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}},OC.ID="editor.action.goToTypeDefinition",OC));Wt((FC=class extends uH{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:FC.ID,title:mt("actions.peekTypeDefinition.label","Peek Type Definition"),precondition:q.and(E.hasTypeDefinitionProvider,Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated()),menu:{id:k.EditorContextPeek,group:"peek",order:4}})}},FC.ID="editor.action.peekTypeDefinition",FC));class gH extends Yn{async _getLocationModel(e,t,i,n){return new Xs(await dH(e.implementationProvider,t,i,n),m("impl.title","Implementations"))}_getNoResultFoundMessage(e){return e&&e.word?m("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):m("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(e){return e.getOption(58).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(58).multipleImplementations}}Wt((BC=class extends gH{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:BC.ID,title:{...mt("actions.goToImplementation.label","Go to Implementations"),mnemonicTitle:m({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},precondition:E.hasImplementationProvider,keybinding:{when:E.editorTextFocus,primary:2118,weight:100},menu:[{id:k.EditorContext,group:"navigation",order:1.45},{id:k.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:4}]})}},BC.ID="editor.action.goToImplementation",BC));Wt((WC=class extends gH{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:WC.ID,title:mt("actions.peekImplementation.label","Peek Implementations"),precondition:q.and(E.hasImplementationProvider,Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated()),keybinding:{when:E.editorTextFocus,primary:3142,weight:100},menu:{id:k.EditorContextPeek,group:"peek",order:5}})}},WC.ID="editor.action.peekImplementation",WC));class fH extends Yn{_getNoResultFoundMessage(e){return e?m("references.no","No references found for '{0}'",e.word):m("references.noGeneric","No references found")}_getAlternativeCommand(e){return e.getOption(58).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(58).multipleReferences}}Wt(class extends fH{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",title:{...mt("goToReferences.label","Go to References"),mnemonicTitle:m({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")},precondition:q.and(E.hasReferenceProvider,Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated()),keybinding:{when:E.editorTextFocus,primary:1094,weight:100},menu:[{id:k.EditorContext,group:"navigation",order:1.45},{id:k.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:5}]})}async _getLocationModel(e,t,i,n){return new Xs(await OL(e.referenceProvider,t,i,!0,n),m("ref.title","References"))}});Wt(class extends fH{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",title:mt("references.action.label","Peek References"),precondition:q.and(E.hasReferenceProvider,Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated()),menu:{id:k.EditorContextPeek,group:"peek",order:6}})}async _getLocationModel(e,t,i,n){return new Xs(await OL(e.referenceProvider,t,i,!1,n),m("ref.title","References"))}});class Sfe extends Yn{constructor(e,t,i){super(e,{id:"editor.action.goToLocation",title:mt("label.generic","Go to Any Symbol"),precondition:q.and(Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated())}),this._references=t,this._gotoMultipleBehaviour=i}async _getLocationModel(e,t,i,n){return new Xs(this._references,m("generic.title","Locations"))}_getNoResultFoundMessage(e){return e&&m("generic.noResult","No results for '{0}'",e.word)||""}_getGoToPreference(e){var t;return(t=this._gotoMultipleBehaviour)!==null&&t!==void 0?t:e.getOption(58).multipleReferences}_getAlternativeCommand(){return""}}ct.registerCommand({id:"editor.action.goToLocations",metadata:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:xe},{name:"position",description:"The position at which to start",constraint:F.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:async(o,e,t,i,n,s,r)=>{wt(xe.isUri(e)),wt(F.isIPosition(t)),wt(Array.isArray(i)),wt(typeof n>"u"||typeof n=="string"),wt(typeof r>"u"||typeof r=="boolean");const a=o.get(_t),l=await a.openCodeEditor({resource:e},a.getFocusedCodeEditor());if(Cl(l))return l.setPosition(t),l.revealPositionInCenterIfOutsideViewport(t,0),l.invokeWithinContext(d=>{const c=new class extends Sfe{_getNoResultFoundMessage(h){return s||super._getNoResultFoundMessage(h)}}({muteMessage:!s,openInPeek:!!r,openToSide:!1},i,n);d.get(Ie).invokeFunction(c.run.bind(c),l)})}});ct.registerCommand({id:"editor.action.peekLocations",metadata:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:xe},{name:"position",description:"The position at which to start",constraint:F.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`"}]},handler:async(o,e,t,i,n)=>{o.get(ai).executeCommand("editor.action.goToLocations",e,t,i,n,void 0,!0)}});ct.registerCommand({id:"editor.action.findReferences",handler:(o,e,t)=>{wt(xe.isUri(e)),wt(F.isIPosition(t));const i=o.get(fe),n=o.get(_t);return n.openCodeEditor({resource:e},n.getFocusedCodeEditor()).then(s=>{if(!Cl(s)||!s.hasModel())return;const r=ch.get(s);if(!r)return;const a=tn(d=>OL(i.referenceProvider,s.getModel(),F.lift(t),!1,d).then(c=>new Xs(c,m("ref.title","References")))),l=new D(t.lineNumber,t.column,t.lineNumber,t.column);return Promise.resolve(r.toggleWidget(l,a,!1))})}});ct.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations");var yfe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},ik=function(o,e){return function(t,i){e(t,i,o)}},b_;let sg=b_=class{constructor(e,t,i,n){this.textModelResolverService=t,this.languageService=i,this.languageFeaturesService=n,this.toUnhook=new X,this.toUnhookForKeyboard=new X,this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e,this.linkDecorations=this.editor.createDecorationsCollection();const s=new EL(e);this.toUnhook.add(s),this.toUnhook.add(s.onMouseMoveOrRelevantKeyDown(([r,a])=>{this.startFindDefinitionFromMouse(r,a??void 0)})),this.toUnhook.add(s.onExecute(r=>{this.isEnabled(r)&&this.gotoDefinition(r.target.position,r.hasSideBySideModifier).catch(a=>{Ve(a)}).finally(()=>{this.removeLinkDecorations()})})),this.toUnhook.add(s.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(e){return e.getContribution(b_.ID)}async startFindDefinitionFromCursor(e){await this.startFindDefinition(e),this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(t=>{t&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))}startFindDefinitionFromMouse(e,t){if(e.target.type===9&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(e,t)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}const i=e.target.position;this.startFindDefinition(i)}async startFindDefinition(e){var t;this.toUnhookForKeyboard.clear();const i=e?(t=this.editor.getModel())===null||t===void 0?void 0:t.getWordAtPosition(e):null;if(!i){this.currentWordAtPosition=null,this.removeLinkDecorations();return}if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===i.startColumn&&this.currentWordAtPosition.endColumn===i.endColumn&&this.currentWordAtPosition.word===i.word)return;this.currentWordAtPosition=i;const n=new R6(this.editor,15);this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=tn(a=>this.findDefinition(e,a));let s;try{s=await this.previousPromise}catch(a){Ve(a);return}if(!s||!s.length||!n.validate(this.editor)){this.removeLinkDecorations();return}const r=s[0].originSelectionRange?D.lift(s[0].originSelectionRange):new D(e.lineNumber,i.startColumn,e.lineNumber,i.endColumn);if(s.length>1){let a=r;for(const{originSelectionRange:l}of s)l&&(a=D.plusRange(a,l));this.addDecoration(a,new Fn().appendText(m("multipleResults","Click to show {0} definitions.",s.length)))}else{const a=s[0];if(!a.uri)return;this.textModelResolverService.createModelReference(a.uri).then(l=>{if(!l.object||!l.object.textEditorModel){l.dispose();return}const{object:{textEditorModel:d}}=l,{startLineNumber:c}=a.range;if(c<1||c>d.getLineCount()){l.dispose();return}const h=this.getPreviewValue(d,c,a),u=this.languageService.guessLanguageIdByFilepathOrFirstLine(d.uri);this.addDecoration(r,h?new Fn().appendCodeblock(u||"",h):void 0),l.dispose()})}}getPreviewValue(e,t,i){let n=i.range;return n.endLineNumber-n.startLineNumber>=b_.MAX_SOURCE_PREVIEW_LINES&&(n=this.getPreviewRangeBasedOnIndentation(e,t)),this.stripIndentationFromPreviewRange(e,t,n)}stripIndentationFromPreviewRange(e,t,i){let s=e.getLineFirstNonWhitespaceColumn(t);for(let a=t+1;a{const n=!t&&this.editor.getOption(88)&&!this.isInPeekEditor(i);return new E0({openToSide:t,openInPeek:n,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0}).run(i)})}isInPeekEditor(e){const t=e.get(Ae);return Fs.inPeekEditor.getValue(t)}dispose(){this.toUnhook.dispose(),this.toUnhookForKeyboard.dispose()}};sg.ID="editor.contrib.gotodefinitionatposition";sg.MAX_SOURCE_PREVIEW_LINES=8;sg=b_=yfe([ik(1,Ws),ik(2,Qt),ik(3,fe)],sg);vt(sg.ID,sg,2);let Lfe=class{constructor(e,t,i){this.value=e,this.isComplete=t,this.hasLoadingMessage=i}};class mH extends V{constructor(e,t){super(),this._editor=e,this._computer=t,this._onResult=this._register(new O),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new Rt(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new Rt(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new Rt(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(60).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(e,t=!0){this._state=e,t&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=Aj(e=>this._computer.computeAsync(e)),(async()=>{try{for await(const e of this._asyncIterable)e&&(this._result.push(e),this._fireResult());this._asyncIterableDone=!0,(this._state===3||this._state===4)&&this._setState(0)}catch(e){Ve(e)}})()):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){this._state===3&&this._setState(4)}_fireResult(){if(this._state===1||this._state===2)return;const e=this._state===0,t=this._state===4;this._onResult.fire(new Lfe(this._result.slice(0),e,t))}start(e){if(e===0)this._state===0&&(this._setState(1),this._firstWaitScheduler.schedule(this._firstWaitTime),this._loadingMessageScheduler.schedule(this._loadingMessageTime));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}class nk{constructor(e,t,i,n){this.priority=e,this.range=t,this.initialMousePosX=i,this.initialMousePosY=n,this.type=1}equals(e){return e.type===1&&this.range.equalsRange(e.range)}canAdoptVisibleHover(e,t){return e.type===1&&t.lineNumber===this.range.startLineNumber}}class Ru{constructor(e,t,i,n,s,r){this.priority=e,this.owner=t,this.range=i,this.initialMousePosX=n,this.initialMousePosY=s,this.supportsMarkerHover=r,this.type=2}equals(e){return e.type===2&&this.owner===e.owner}canAdoptVisibleHover(e,t){return e.type===2&&this.owner===e.owner}}const Nh=new class{constructor(){this._participants=[]}register(e){this._participants.push(e)}getAll(){return this._participants}};class PA{constructor(){this._onDidWillResize=new O,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new O,this.onDidResize=this._onDidResize.event,this._sashListener=new X,this._size=new bt(0,0),this._minSize=new bt(0,0),this._maxSize=new bt(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement("div"),this._eastSash=new Pn(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new Pn(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new Pn(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:rS.North}),this._southSash=new Pn(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:rS.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let e,t=0,i=0;this._sashListener.add(ae.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{e===void 0&&(this._onDidWillResize.fire(),e=this._size,t=0,i=0)})),this._sashListener.add(ae.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{e!==void 0&&(e=void 0,t=0,i=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(n=>{e&&(i=n.currentX-n.startX,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(n=>{e&&(i=-(n.currentX-n.startX),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(n=>{e&&(t=-(n.currentY-n.startY),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(n=>{e&&(t=n.currentY-n.startY,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(ae.any(this._eastSash.onDidReset,this._westSash.onDidReset)(n=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(ae.any(this._northSash.onDidReset,this._southSash.onDidReset)(n=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(e,t,i,n){this._northSash.state=e?3:0,this._eastSash.state=t?3:0,this._southSash.state=i?3:0,this._westSash.state=n?3:0}layout(e=this.size.height,t=this.size.width){const{height:i,width:n}=this._minSize,{height:s,width:r}=this._maxSize;e=Math.max(i,Math.min(s,e)),t=Math.max(n,Math.min(r,t));const a=new bt(t,e);bt.equals(a,this._size)||(this.domNode.style.height=e+"px",this.domNode.style.width=t+"px",this._size=a,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(e){this._maxSize=e}get maxSize(){return this._maxSize}set minSize(e){this._minSize=e}get minSize(){return this._minSize}set preferredSize(e){this._preferredSize=e}get preferredSize(){return this._preferredSize}}const Dfe=30,xfe=24;class kfe extends V{constructor(e,t=new bt(10,10)){super(),this._editor=e,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._resizableNode=this._register(new PA),this._contentPosition=null,this._isResizing=!1,this._resizableNode.domNode.style.position="absolute",this._resizableNode.minSize=bt.lift(t),this._resizableNode.layout(t.height,t.width),this._resizableNode.enableSashes(!0,!0,!0,!0),this._register(this._resizableNode.onDidResize(i=>{this._resize(new bt(i.dimension.width,i.dimension.height)),i.done&&(this._isResizing=!1)})),this._register(this._resizableNode.onDidWillResize(()=>{this._isResizing=!0}))}get isResizing(){return this._isResizing}getDomNode(){return this._resizableNode.domNode}getPosition(){return this._contentPosition}get position(){var e;return!((e=this._contentPosition)===null||e===void 0)&&e.position?F.lift(this._contentPosition.position):void 0}_availableVerticalSpaceAbove(e){const t=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(e);return!t||!i?void 0:Mi(t).top+i.top-Dfe}_availableVerticalSpaceBelow(e){const t=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(e);if(!t||!i)return;const n=Mi(t),s=Id(t.ownerDocument.body),r=n.top+i.top+i.height;return s.height-r-xfe}_findPositionPreference(e,t){var i,n;const s=Math.min((i=this._availableVerticalSpaceBelow(t))!==null&&i!==void 0?i:1/0,e),r=Math.min((n=this._availableVerticalSpaceAbove(t))!==null&&n!==void 0?n:1/0,e),a=Math.min(Math.max(r,s),e),l=Math.min(e,a);let d;return this._editor.getOption(60).above?d=l<=r?1:2:d=l<=s?2:1,d===1?this._resizableNode.enableSashes(!0,!0,!1,!1):this._resizableNode.enableSashes(!1,!0,!0,!1),d}_resize(e){this._resizableNode.layout(e.height,e.width)}}var OA=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},yu=function(o,e){return function(t,i){e(t,i,o)}},V1,Aa;const b3=J;let RS=V1=class extends V{constructor(e,t,i){super(),this._editor=e,this._instantiationService=t,this._keybindingService=i,this._currentResult=null,this._widget=this._register(this._instantiationService.createInstance(Bc,this._editor)),this._participants=[];for(const n of Nh.getAll())this._participants.push(this._instantiationService.createInstance(n,this._editor));this._participants.sort((n,s)=>n.hoverOrdinal-s.hoverOrdinal),this._computer=new PS(this._editor,this._participants),this._hoverOperation=this._register(new mH(this._editor,this._computer)),this._register(this._hoverOperation.onResult(n=>{if(!this._computer.anchor)return;const s=n.hasLoadingMessage?this._addLoadingMessage(n.value):n.value;this._withResult(new pH(this._computer.anchor,s,n.isComplete))})),this._register(vi(this._widget.getDomNode(),"keydown",n=>{n.equals(9)&&this.hide()})),this._register(ci.onDidChange(()=>{this._widget.position&&this._currentResult&&this._setCurrentResult(this._currentResult)}))}_startShowingOrUpdateHover(e,t,i,n,s){return!this._widget.position||!this._currentResult?e?(this._startHoverOperationIfNecessary(e,t,i,n,!1),!0):!1:this._editor.getOption(60).sticky&&s&&this._widget.isMouseGettingCloser(s.event.posx,s.event.posy)?(e&&this._startHoverOperationIfNecessary(e,t,i,n,!0),!0):e?e&&this._currentResult.anchor.equals(e)?!0:e.canAdoptVisibleHover(this._currentResult.anchor,this._widget.position)?(this._setCurrentResult(this._currentResult.filter(e)),this._startHoverOperationIfNecessary(e,t,i,n,!1),!0):(this._setCurrentResult(null),this._startHoverOperationIfNecessary(e,t,i,n,!1),!0):(this._setCurrentResult(null),!1)}_startHoverOperationIfNecessary(e,t,i,n,s){this._computer.anchor&&this._computer.anchor.equals(e)||(this._hoverOperation.cancel(),this._computer.anchor=e,this._computer.shouldFocus=n,this._computer.source=i,this._computer.insistOnKeepingHoverVisible=s,this._hoverOperation.start(t))}_setCurrentResult(e){this._currentResult!==e&&(e&&e.messages.length===0&&(e=null),this._currentResult=e,this._currentResult?this._renderMessages(this._currentResult.anchor,this._currentResult.messages):this._widget.hide())}_addLoadingMessage(e){if(this._computer.anchor){for(const t of this._participants)if(t.createLoadingMessage){const i=t.createLoadingMessage(this._computer.anchor);if(i)return e.slice(0).concat([i])}}return e}_withResult(e){this._widget.position&&this._currentResult&&this._currentResult.isComplete&&(!e.isComplete||this._computer.insistOnKeepingHoverVisible&&e.messages.length===0)||this._setCurrentResult(e)}_renderMessages(e,t){const{showAtPosition:i,showAtSecondaryPosition:n,highlightRange:s}=V1.computeHoverRanges(this._editor,e.range,t),r=new X,a=r.add(new AS(this._keybindingService)),l=document.createDocumentFragment();let d=null;const c={fragment:l,statusBar:a,setColorPicker:u=>d=u,onContentsChanged:()=>this._widget.onContentsChanged(),setMinimumDimensions:u=>this._widget.setMinimumDimensions(u),hide:()=>this.hide()};for(const u of this._participants){const g=t.filter(f=>f.owner===u);g.length>0&&r.add(u.renderHoverParts(c,g))}const h=t.some(u=>u.isBeforeContent);if(a.hasContent&&l.appendChild(a.hoverElement),l.hasChildNodes()){if(s){const u=this._editor.createDecorationsCollection();u.set([{range:s,options:V1._DECORATION_OPTIONS}]),r.add(Le(()=>{u.clear()}))}this._widget.showAt(l,new Efe(e.initialMousePosX,e.initialMousePosY,d,i,n,this._editor.getOption(60).above,this._computer.shouldFocus,this._computer.source,h,r))}else r.dispose()}static computeHoverRanges(e,t,i){let n=1;if(e.hasModel()){const h=e._getViewModel(),u=h.coordinatesConverter,g=u.convertModelRangeToViewRange(t),f=new F(g.startLineNumber,h.getLineMinColumn(g.startLineNumber));n=u.convertViewPositionToModelPosition(f).column}const s=t.startLineNumber;let r=t.startColumn,a=i[0].range,l=null;for(const h of i)a=D.plusRange(a,h.range),h.range.startLineNumber===s&&h.range.endLineNumber===s&&(r=Math.max(Math.min(r,h.range.startColumn),n)),h.forceShowAtRange&&(l=h.range);const d=l?l.getStartPosition():new F(s,t.startColumn),c=l?l.getStartPosition():new F(s,r);return{showAtPosition:d,showAtSecondaryPosition:c,highlightRange:a}}showsOrWillShow(e){if(this._widget.isResizing)return!0;const t=[];for(const n of this._participants)if(n.suggestHoverAnchor){const s=n.suggestHoverAnchor(e);s&&t.push(s)}const i=e.target;if(i.type===6&&t.push(new nk(0,i.range,e.event.posx,e.event.posy)),i.type===7){const n=this._editor.getOption(50).typicalHalfwidthCharacterWidth/2;!i.detail.isAfterLines&&typeof i.detail.horizontalDistanceToText=="number"&&i.detail.horizontalDistanceToTexts.priority-n.priority),this._startShowingOrUpdateHover(t[0],0,0,!1,e))}startShowingAtRange(e,t,i,n){this._startShowingOrUpdateHover(new nk(0,e,void 0,void 0),t,i,n,null)}containsNode(e){return e?this._widget.getDomNode().contains(e):!1}focus(){this._widget.focus()}scrollUp(){this._widget.scrollUp()}scrollDown(){this._widget.scrollDown()}scrollLeft(){this._widget.scrollLeft()}scrollRight(){this._widget.scrollRight()}pageUp(){this._widget.pageUp()}pageDown(){this._widget.pageDown()}goToTop(){this._widget.goToTop()}goToBottom(){this._widget.goToBottom()}hide(){this._computer.anchor=null,this._hoverOperation.cancel(),this._setCurrentResult(null)}get isColorPickerVisible(){return this._widget.isColorPickerVisible}get isVisibleFromKeyboard(){return this._widget.isVisibleFromKeyboard}get isVisible(){return this._widget.isVisible}get isFocused(){return this._widget.isFocused}get isResizing(){return this._widget.isResizing}get widget(){return this._widget}};RS._DECORATION_OPTIONS=ze.register({description:"content-hover-highlight",className:"hoverHighlight"});RS=V1=OA([yu(1,Ie),yu(2,Et)],RS);class pH{constructor(e,t,i){this.anchor=e,this.messages=t,this.isComplete=i}filter(e){const t=this.messages.filter(i=>i.isValidForHoverAnchor(e));return t.length===this.messages.length?this:new Ife(this,this.anchor,t,this.isComplete)}}class Ife extends pH{constructor(e,t,i,n){super(t,i,n),this.original=e}filter(e){return this.original.filter(e)}}class Efe{constructor(e,t,i,n,s,r,a,l,d,c){this.initialMousePosX=e,this.initialMousePosY=t,this.colorPicker=i,this.showAtPosition=n,this.showAtSecondaryPosition=s,this.preferAbove=r,this.stoleFocus=a,this.source=l,this.isBeforeContent=d,this.disposables=c,this.closestMouseDistance=void 0}}const C3=30,sk=10,Nfe=6;let Bc=Aa=class extends kfe{get isColorPickerVisible(){var e;return!!(!((e=this._visibleData)===null||e===void 0)&&e.colorPicker)}get isVisibleFromKeyboard(){var e;return((e=this._visibleData)===null||e===void 0?void 0:e.source)===1}get isVisible(){var e;return(e=this._hoverVisibleKey.get())!==null&&e!==void 0?e:!1}get isFocused(){var e;return(e=this._hoverFocusedKey.get())!==null&&e!==void 0?e:!1}constructor(e,t,i,n,s){const r=e.getOption(67)+8,a=150,l=new bt(a,r);super(e,l),this._configurationService=i,this._accessibilityService=n,this._keybindingService=s,this._hover=this._register(new y2),this._minimumSize=l,this._hoverVisibleKey=E.hoverVisible.bindTo(t),this._hoverFocusedKey=E.hoverFocused.bindTo(t),Y(this._resizableNode.domNode,this._hover.containerDomNode),this._resizableNode.domNode.style.zIndex="50",this._register(this._editor.onDidLayoutChange(()=>{this.isVisible&&this._updateMaxDimensions()})),this._register(this._editor.onDidChangeConfiguration(c=>{c.hasChanged(50)&&this._updateFont()}));const d=this._register(la(this._resizableNode.domNode));this._register(d.onDidFocus(()=>{this._hoverFocusedKey.set(!0)})),this._register(d.onDidBlur(()=>{this._hoverFocusedKey.set(!1)})),this._setHoverData(void 0),this._editor.addContentWidget(this)}dispose(){var e;super.dispose(),(e=this._visibleData)===null||e===void 0||e.disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return Aa.ID}static _applyDimensions(e,t,i){const n=typeof t=="number"?`${t}px`:t,s=typeof i=="number"?`${i}px`:i;e.style.width=n,e.style.height=s}_setContentsDomNodeDimensions(e,t){const i=this._hover.contentsDomNode;return Aa._applyDimensions(i,e,t)}_setContainerDomNodeDimensions(e,t){const i=this._hover.containerDomNode;return Aa._applyDimensions(i,e,t)}_setHoverWidgetDimensions(e,t){this._setContentsDomNodeDimensions(e,t),this._setContainerDomNodeDimensions(e,t),this._layoutContentWidget()}static _applyMaxDimensions(e,t,i){const n=typeof t=="number"?`${t}px`:t,s=typeof i=="number"?`${i}px`:i;e.style.maxWidth=n,e.style.maxHeight=s}_setHoverWidgetMaxDimensions(e,t){Aa._applyMaxDimensions(this._hover.contentsDomNode,e,t),Aa._applyMaxDimensions(this._hover.containerDomNode,e,t),this._hover.containerDomNode.style.setProperty("--vscode-hover-maxWidth",typeof e=="number"?`${e}px`:e),this._layoutContentWidget()}_hasHorizontalScrollbar(){const e=this._hover.scrollbar.getScrollDimensions();return e.scrollWidth>e.width}_adjustContentsBottomPadding(){const e=this._hover.contentsDomNode,t=`${this._hover.scrollbar.options.horizontalScrollbarSize}px`;e.style.paddingBottom!==t&&(e.style.paddingBottom=t)}_setAdjustedHoverWidgetDimensions(e){this._setHoverWidgetMaxDimensions("none","none");const t=e.width,i=e.height;this._setHoverWidgetDimensions(t,i),this._hasHorizontalScrollbar()&&(this._adjustContentsBottomPadding(),this._setContentsDomNodeDimensions(t,i-sk))}_updateResizableNodeMaxDimensions(){var e,t;const i=(e=this._findMaximumRenderingWidth())!==null&&e!==void 0?e:1/0,n=(t=this._findMaximumRenderingHeight())!==null&&t!==void 0?t:1/0;this._resizableNode.maxSize=new bt(i,n),this._setHoverWidgetMaxDimensions(i,n)}_resize(e){var t,i;Aa._lastDimensions=new bt(e.width,e.height),this._setAdjustedHoverWidgetDimensions(e),this._resizableNode.layout(e.height,e.width),this._updateResizableNodeMaxDimensions(),this._hover.scrollbar.scanDomNode(),this._editor.layoutContentWidget(this),(i=(t=this._visibleData)===null||t===void 0?void 0:t.colorPicker)===null||i===void 0||i.layout()}_findAvailableSpaceVertically(){var e;const t=(e=this._visibleData)===null||e===void 0?void 0:e.showAtPosition;if(t)return this._positionPreference===1?this._availableVerticalSpaceAbove(t):this._availableVerticalSpaceBelow(t)}_findMaximumRenderingHeight(){const e=this._findAvailableSpaceVertically();if(!e)return;let t=Nfe;return Array.from(this._hover.contentsDomNode.children).forEach(i=>{t+=i.clientHeight}),this._hasHorizontalScrollbar()&&(t+=sk),Math.min(e,t)}_isHoverTextOverflowing(){this._hover.containerDomNode.style.setProperty("--vscode-hover-whiteSpace","nowrap"),this._hover.containerDomNode.style.setProperty("--vscode-hover-sourceWhiteSpace","nowrap");const e=Array.from(this._hover.contentsDomNode.children).some(t=>t.scrollWidth>t.clientWidth);return this._hover.containerDomNode.style.removeProperty("--vscode-hover-whiteSpace"),this._hover.containerDomNode.style.removeProperty("--vscode-hover-sourceWhiteSpace"),e}_findMaximumRenderingWidth(){if(!this._editor||!this._editor.hasModel())return;const e=this._isHoverTextOverflowing(),t=typeof this._contentWidth>"u"?0:this._contentWidth-2;return e||this._hover.containerDomNode.clientWidth"u"||typeof this._visibleData.initialMousePosY>"u")return this._visibleData.initialMousePosX=e,this._visibleData.initialMousePosY=t,!1;const i=Mi(this.getDomNode());typeof this._visibleData.closestMouseDistance>"u"&&(this._visibleData.closestMouseDistance=w3(this._visibleData.initialMousePosX,this._visibleData.initialMousePosY,i.left,i.top,i.width,i.height));const n=w3(e,t,i.left,i.top,i.width,i.height);return n>this._visibleData.closestMouseDistance+4?!1:(this._visibleData.closestMouseDistance=Math.min(this._visibleData.closestMouseDistance,n),!0)}_setHoverData(e){var t;(t=this._visibleData)===null||t===void 0||t.disposables.dispose(),this._visibleData=e,this._hoverVisibleKey.set(!!e),this._hover.containerDomNode.classList.toggle("hidden",!e)}_updateFont(){const{fontSize:e,lineHeight:t}=this._editor.getOption(50),i=this._hover.contentsDomNode;i.style.fontSize=`${e}px`,i.style.lineHeight=`${t/e}`,Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(s=>this._editor.applyFontInfo(s))}_updateContent(e){const t=this._hover.contentsDomNode;t.style.paddingBottom="",t.textContent="",t.appendChild(e)}_layoutContentWidget(){this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_updateMaxDimensions(){const e=Math.max(this._editor.getLayoutInfo().height/4,250,Aa._lastDimensions.height),t=Math.max(this._editor.getLayoutInfo().width*.66,500,Aa._lastDimensions.width);this._setHoverWidgetMaxDimensions(t,e)}_render(e,t){this._setHoverData(t),this._updateFont(),this._updateContent(e),this._updateMaxDimensions(),this.onContentsChanged(),this._editor.render()}getPosition(){var e;return this._visibleData?{position:this._visibleData.showAtPosition,secondaryPosition:this._visibleData.showAtSecondaryPosition,positionAffinity:this._visibleData.isBeforeContent?3:void 0,preference:[(e=this._positionPreference)!==null&&e!==void 0?e:1]}:null}showAt(e,t){var i,n,s,r;if(!this._editor||!this._editor.hasModel())return;this._render(e,t);const a=td(this._hover.containerDomNode),l=t.showAtPosition;this._positionPreference=(i=this._findPositionPreference(a,l))!==null&&i!==void 0?i:1,this.onContentsChanged(),t.stoleFocus&&this._hover.containerDomNode.focus(),(n=t.colorPicker)===null||n===void 0||n.layout();const c=this._hover.containerDomNode.ownerDocument.activeElement===this._hover.containerDomNode&&iW(this._configurationService.getValue("accessibility.verbosity.hover")===!0&&this._accessibilityService.isScreenReaderOptimized(),(r=(s=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))===null||s===void 0?void 0:s.getAriaLabel())!==null&&r!==void 0?r:"");c&&(this._hover.contentsDomNode.ariaLabel=this._hover.contentsDomNode.textContent+", "+c)}hide(){if(!this._visibleData)return;const e=this._visibleData.stoleFocus||this._hoverFocusedKey.get();this._setHoverData(void 0),this._resizableNode.maxSize=new bt(1/0,1/0),this._resizableNode.clearSashHoverState(),this._hoverFocusedKey.set(!1),this._editor.layoutContentWidget(this),e&&this._editor.focus()}_removeConstraintsRenderNormally(){const e=this._editor.getLayoutInfo();this._resizableNode.layout(e.height,e.width),this._setHoverWidgetDimensions("auto","auto")}_adjustHoverHeightForScrollbar(e){var t;const i=this._hover.containerDomNode,n=this._hover.contentsDomNode,s=(t=this._findMaximumRenderingHeight())!==null&&t!==void 0?t:1/0;this._setContainerDomNodeDimensions(rs(i),Math.min(s,e)),this._setContentsDomNodeDimensions(rs(n),Math.min(s,e-sk))}setMinimumDimensions(e){this._minimumSize=new bt(Math.max(this._minimumSize.width,e.width),Math.max(this._minimumSize.height,e.height)),this._updateMinimumWidth()}_updateMinimumWidth(){const e=typeof this._contentWidth>"u"?this._minimumSize.width:Math.min(this._contentWidth,this._minimumSize.width);this._resizableNode.minSize=new bt(e,this._minimumSize.height)}onContentsChanged(){var e;this._removeConstraintsRenderNormally();const t=this._hover.containerDomNode;let i=td(t),n=rs(t);if(this._resizableNode.layout(i,n),this._setHoverWidgetDimensions(n,i),i=td(t),n=rs(t),this._contentWidth=n,this._updateMinimumWidth(),this._resizableNode.layout(i,n),this._hasHorizontalScrollbar()&&(this._adjustContentsBottomPadding(),this._adjustHoverHeightForScrollbar(i)),!((e=this._visibleData)===null||e===void 0)&&e.showAtPosition){const s=td(this._hover.containerDomNode);this._positionPreference=this._findPositionPreference(s,this._visibleData.showAtPosition)}this._layoutContentWidget()}focus(){this._hover.containerDomNode.focus()}scrollUp(){const e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e-t.lineHeight})}scrollDown(){const e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e+t.lineHeight})}scrollLeft(){const e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e-C3})}scrollRight(){const e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e+C3})}pageUp(){const e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e-t})}pageDown(){const e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e+t})}goToTop(){this._hover.scrollbar.setScrollPosition({scrollTop:0})}goToBottom(){this._hover.scrollbar.setScrollPosition({scrollTop:this._hover.scrollbar.getScrollDimensions().scrollHeight})}};Bc.ID="editor.contrib.resizableContentHoverWidget";Bc._lastDimensions=new bt(0,0);Bc=Aa=OA([yu(1,Ae),yu(2,Qe),yu(3,xr),yu(4,Et)],Bc);let AS=class extends V{get hasContent(){return this._hasContent}constructor(e){super(),this._keybindingService=e,this._hasContent=!1,this.hoverElement=b3("div.hover-row.status-bar"),this.actionsElement=Y(this.hoverElement,b3("div.actions"))}addAction(e){const t=this._keybindingService.lookupKeybinding(e.commandId),i=t?t.getLabel():null;return this._hasContent=!0,this._register(zy.render(this.actionsElement,e,i))}append(e){const t=Y(this.actionsElement,e);return this._hasContent=!0,t}};AS=OA([yu(0,Et)],AS);class PS{get anchor(){return this._anchor}set anchor(e){this._anchor=e}get shouldFocus(){return this._shouldFocus}set shouldFocus(e){this._shouldFocus=e}get source(){return this._source}set source(e){this._source=e}get insistOnKeepingHoverVisible(){return this._insistOnKeepingHoverVisible}set insistOnKeepingHoverVisible(e){this._insistOnKeepingHoverVisible=e}constructor(e,t){this._editor=e,this._participants=t,this._anchor=null,this._shouldFocus=!1,this._source=0,this._insistOnKeepingHoverVisible=!1}static _getLineDecorations(e,t){if(t.type!==1&&!t.supportsMarkerHover)return[];const i=e.getModel(),n=t.range.startLineNumber;if(n>i.getLineCount())return[];const s=i.getLineMaxColumn(n);return e.getLineDecorations(n).filter(r=>{if(r.options.isWholeLine)return!0;const a=r.range.startLineNumber===n?r.range.startColumn:1,l=r.range.endLineNumber===n?r.range.endColumn:s;if(r.options.showIfCollapsed){if(a>t.range.startColumn+1||t.range.endColumn-1>l)return!1}else if(a>t.range.startColumn||t.range.endColumn>l)return!1;return!0})}computeAsync(e){const t=this._anchor;if(!this._editor.hasModel()||!t)return Pi.EMPTY;const i=PS._getLineDecorations(this._editor,t);return Pi.merge(this._participants.map(n=>n.computeAsync?n.computeAsync(t,i,e):Pi.EMPTY))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];const e=PS._getLineDecorations(this._editor,this._anchor);let t=[];for(const i of this._participants)t=t.concat(i.computeSync(this._anchor,e));return oa(t)}}function w3(o,e,t,i,n,s){const r=t+n/2,a=i+s/2,l=Math.max(Math.abs(o-r)-n/2,0),d=Math.max(Math.abs(e-a)-s/2,0);return Math.sqrt(l*l+d*d)}const S3=J;class tm extends V{constructor(e,t,i){super(),this._renderDisposeables=this._register(new X),this._editor=e,this._isVisible=!1,this._messages=[],this._hover=this._register(new y2),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._markdownRenderer=this._register(new pl({editor:this._editor},t,i)),this._computer=new Tfe(this._editor),this._hoverOperation=this._register(new mH(this._editor,this._computer)),this._register(this._hoverOperation.onResult(n=>{this._withResult(n.value)})),this._register(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(this._editor.onDidChangeConfiguration(n=>{n.hasChanged(50)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return tm.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(t=>this._editor.applyFontInfo(t))}_onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._hoverOperation.start(0))}startShowingAt(e,t){this._computer.lineNumber===e&&this._computer.lane===t||(this._hoverOperation.cancel(),this.hide(),this._computer.lineNumber=e,this._computer.lane=t,this._hoverOperation.start(0))}hide(){this._computer.lineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible))}_withResult(e){this._messages=e,this._messages.length>0?this._renderMessages(this._computer.lineNumber,this._messages):this.hide()}_renderMessages(e,t){this._renderDisposeables.clear();const i=document.createDocumentFragment();for(const n of t){const s=S3("div.hover-row.markdown-hover"),r=Y(s,S3("div.hover-contents")),a=this._renderDisposeables.add(this._markdownRenderer.render(n.value));r.appendChild(a.element),i.appendChild(s)}this._updateContents(i),this._showAt(e)}_updateContents(e){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this._updateFont()}_showAt(e){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible));const t=this._editor.getLayoutInfo(),i=this._editor.getTopForLineNumber(e),n=this._editor.getScrollTop(),s=this._editor.getOption(67),r=this._hover.containerDomNode.clientHeight,a=i-n-(r-s)/2,l=t.glyphMarginLeft+t.glyphMarginWidth+(this._computer.lane==="lineNo"?t.lineNumbersWidth:0);this._hover.containerDomNode.style.left=`${l}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(a),0)}px`}}tm.ID="editor.contrib.modesGlyphHoverWidget";class Tfe{get lineNumber(){return this._lineNumber}set lineNumber(e){this._lineNumber=e}get lane(){return this._laneOrLine}set lane(e){this._laneOrLine=e}constructor(e){this._editor=e,this._lineNumber=-1,this._laneOrLine=ul.Center}computeSync(){var e,t;const i=a=>({value:a}),n=this._editor.getLineDecorations(this._lineNumber),s=[],r=this._laneOrLine==="lineNo";if(!n)return s;for(const a of n){const l=(t=(e=a.options.glyphMargin)===null||e===void 0?void 0:e.position)!==null&&t!==void 0?t:ul.Center;if(!r&&l!==this._laneOrLine)continue;const d=r?a.options.lineNumberHoverMessage:a.options.glyphMarginHoverMessage;!d||Dm(d)||s.push(...qM(d).map(i))}return s}}class Mfe{constructor(e,t,i){this.provider=e,this.hover=t,this.ordinal=i}}async function Rfe(o,e,t,i,n){try{const s=await Promise.resolve(o.provideHover(t,i,n));if(s&&Pfe(s))return new Mfe(o,s,e)}catch(s){Fi(s)}}function FA(o,e,t,i){const s=o.ordered(e).map((r,a)=>Rfe(r,a,e,t,i));return Pi.fromPromises(s).coalesce()}function Afe(o,e,t,i){return FA(o,e,t,i).map(n=>n.hover).toPromise()}xl("_executeHoverProvider",(o,e,t)=>{const i=o.get(fe);return Afe(i.hoverProvider,e,t,st.None)});function Pfe(o){const e=typeof o.range<"u",t=typeof o.contents<"u"&&o.contents&&o.contents.length>0;return e&&t}var Ofe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},VC=function(o,e){return function(t,i){e(t,i,o)}};const y3=J;class Zr{constructor(e,t,i,n,s){this.owner=e,this.range=t,this.contents=i,this.isBeforeContent=n,this.ordinal=s}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let OS=class{constructor(e,t,i,n,s){this._editor=e,this._languageService=t,this._openerService=i,this._configurationService=n,this._languageFeaturesService=s,this.hoverOrdinal=3}createLoadingMessage(e){return new Zr(this,e.range,[new Fn().appendText(m("modesContentHover.loading","Loading..."))],!1,2e3)}computeSync(e,t){if(!this._editor.hasModel()||e.type!==1)return[];const i=this._editor.getModel(),n=e.range.startLineNumber,s=i.getLineMaxColumn(n),r=[];let a=1e3;const l=i.getLineLength(n),d=i.getLanguageIdAtPosition(e.range.startLineNumber,e.range.startColumn),c=this._editor.getOption(117),h=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:d});let u=!1;c>=0&&l>c&&e.range.startColumn>=c&&(u=!0,r.push(new Zr(this,e.range,[{value:m("stopped rendering","Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.")}],!1,a++))),!u&&typeof h=="number"&&l>=h&&r.push(new Zr(this,e.range,[{value:m("too many characters","Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")}],!1,a++));let g=!1;for(const f of t){const p=f.range.startLineNumber===n?f.range.startColumn:1,_=f.range.endLineNumber===n?f.range.endColumn:s,v=f.options.hoverMessage;if(!v||Dm(v))continue;f.options.beforeContentClassName&&(g=!0);const b=new D(e.range.startLineNumber,p,e.range.startLineNumber,_);r.push(new Zr(this,b,qM(v),g,a++))}return r}computeAsync(e,t,i){if(!this._editor.hasModel()||e.type!==1)return Pi.EMPTY;const n=this._editor.getModel();if(!this._languageFeaturesService.hoverProvider.has(n))return Pi.EMPTY;const s=new F(e.range.startLineNumber,e.range.startColumn);return FA(this._languageFeaturesService.hoverProvider,n,s,i).filter(r=>!Dm(r.hover.contents)).map(r=>{const a=r.hover.range?D.lift(r.hover.range):e.range;return new Zr(this,a,r.hover.contents,!1,r.ordinal)})}renderHoverParts(e,t){return _H(e,t,this._editor,this._languageService,this._openerService)}};OS=Ofe([VC(1,Qt),VC(2,Hs),VC(3,Qe),VC(4,fe)],OS);function _H(o,e,t,i,n){e.sort((r,a)=>r.ordinal-a.ordinal);const s=new X;for(const r of e)for(const a of r.contents){if(Dm(a))continue;const l=y3("div.hover-row.markdown-hover"),d=Y(l,y3("div.hover-contents")),c=s.add(new pl({editor:t},i,n));s.add(c.onDidRenderAsync(()=>{d.className="hover-contents code-hover-contents",o.onContentsChanged()}));const h=s.add(c.render(a));d.appendChild(h.element),o.fragment.appendChild(l)}return s}var vH=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},FS=function(o,e){return function(t,i){e(t,i,o)}};class L3{constructor(e,t,i){this.marker=e,this.index=t,this.total=i}}let LT=class{constructor(e,t,i){this._markerService=t,this._configService=i,this._onDidChange=new O,this.onDidChange=this._onDidChange.event,this._dispoables=new X,this._markers=[],this._nextIdx=-1,xe.isUri(e)?this._resourceFilter=a=>a.toString()===e.toString():e&&(this._resourceFilter=e);const n=this._configService.getValue("problems.sortOrder"),s=(a,l)=>{let d=uv(a.resource.toString(),l.resource.toString());return d===0&&(n==="position"?d=D.compareRangesUsingStarts(a,l)||gi.compare(a.severity,l.severity):d=gi.compare(a.severity,l.severity)||D.compareRangesUsingStarts(a,l)),d},r=()=>{this._markers=this._markerService.read({resource:xe.isUri(e)?e:void 0,severities:gi.Error|gi.Warning|gi.Info}),typeof e=="function"&&(this._markers=this._markers.filter(a=>this._resourceFilter(a.resource))),this._markers.sort(s)};r(),this._dispoables.add(t.onMarkerChanged(a=>{(!this._resourceFilter||a.some(l=>this._resourceFilter(l)))&&(r(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e?!0:!this._resourceFilter||!e?!1:this._resourceFilter(e)}get selected(){const e=this._markers[this._nextIdx];return e&&new L3(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,i){let n=!1,s=this._markers.findIndex(r=>r.resource.toString()===e.uri.toString());s<0&&(s=ov(this._markers,{resource:e.uri},(r,a)=>uv(r.resource.toString(),a.resource.toString())),s<0&&(s=~s));for(let r=s;rn.resource.toString()===e.toString());if(!(i<0)){for(;i=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Ug=function(o,e){return function(t,i){e(t,i,o)}},kT;class Bfe{constructor(e,t,i,n,s){this._openerService=n,this._labelService=s,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new X,this._editor=t;const r=document.createElement("div");r.className="descriptioncontainer",this._messageBlock=document.createElement("div"),this._messageBlock.classList.add("message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),r.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),r.appendChild(this._relatedBlock),this._disposables.add(vi(this._relatedBlock,"click",a=>{a.preventDefault();const l=this._relatedDiagnostics.get(a.target);l&&i(l)})),this._scrollable=new YB(r,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:6,verticalScrollbarSize:6}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(a=>{r.style.left=`-${a.scrollLeft}px`,r.style.top=`-${a.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){kt(this._disposables)}update(e){const{source:t,message:i,relatedInformation:n,code:s}=e;let r=((t==null?void 0:t.length)||0)+2;s&&(typeof s=="string"?r+=s.length:r+=s.value.length);const a=Ll(i);this._lines=a.length,this._longestLineLength=0;for(const u of a)this._longestLineLength=Math.max(u.length+r,this._longestLineLength);Wn(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let l=this._messageBlock;for(const u of a)l=document.createElement("div"),l.innerText=u,u===""&&(l.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(l);if(t||s){const u=document.createElement("span");if(u.classList.add("details"),l.appendChild(u),t){const g=document.createElement("span");g.innerText=t,g.classList.add("source"),u.appendChild(g)}if(s)if(typeof s=="string"){const g=document.createElement("span");g.innerText=`(${s})`,g.classList.add("code"),u.appendChild(g)}else{this._codeLink=J("a.code-link"),this._codeLink.setAttribute("href",`${s.target.toString()}`),this._codeLink.onclick=f=>{this._openerService.open(s.target,{allowCommands:!0}),f.preventDefault(),f.stopPropagation()};const g=Y(this._codeLink,J("span"));g.innerText=s.value,u.appendChild(this._codeLink)}}if(Wn(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),Bn(n)){const u=this._relatedBlock.appendChild(document.createElement("div"));u.style.paddingTop=`${Math.floor(this._editor.getOption(67)*.66)}px`,this._lines+=1;for(const g of n){const f=document.createElement("div"),p=document.createElement("a");p.classList.add("filename"),p.innerText=`${this._labelService.getUriBasenameLabel(g.resource)}(${g.startLineNumber}, ${g.startColumn}): `,p.title=this._labelService.getUriLabel(g.resource),this._relatedDiagnostics.set(p,g);const _=document.createElement("span");_.innerText=g.message,f.appendChild(p),f.appendChild(_),this._lines+=1,u.appendChild(f)}}const d=this._editor.getOption(50),c=Math.ceil(d.typicalFullwidthCharacterWidth*this._longestLineLength*.75),h=d.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:c,scrollHeight:h})}layout(e,t){this._scrollable.getDomNode().style.height=`${e}px`,this._scrollable.getDomNode().style.width=`${t}px`,this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t="";switch(e.severity){case gi.Error:t=m("Error","Error");break;case gi.Warning:t=m("Warning","Warning");break;case gi.Info:t=m("Info","Info");break;case gi.Hint:t=m("Hint","Hint");break}let i=m("marker aria","{0} at {1}. ",t,e.startLineNumber+":"+e.startColumn);const n=this._editor.getModel();return n&&e.startLineNumber<=n.getLineCount()&&e.startLineNumber>=1&&(i=`${n.getLineContent(e.startLineNumber)}, ${i}`),i}}let Wm=kT=class extends MS{constructor(e,t,i,n,s,r,a){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},s),this._themeService=t,this._openerService=i,this._menuService=n,this._contextKeyService=r,this._labelService=a,this._callOnDispose=new X,this._onDidSelectRelatedInformation=new O,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=gi.Warning,this._backgroundColor=z.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(zfe);let t=IT,i=Wfe;this._severity===gi.Warning?(t=H1,i=Vfe):this._severity===gi.Info&&(t=ET,i=Hfe);const n=e.getColor(t),s=e.getColor(i);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:s,primaryHeadingColor:e.getColor(oH),secondaryHeadingColor:e.getColor(rH)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(e){super._fillHead(e),this._disposables.add(this._actionbarWidget.actionRunner.onWillRun(n=>this.editor.focus()));const t=[],i=this._menuService.createMenu(kT.TitleMenu,this._contextKeyService);Qy(i,void 0,t),this._actionbarWidget.push(t,{label:!1,icon:!0,index:0}),i.dispose()}_fillTitleIcon(e){this._icon=Y(e,J(""))}_fillBody(e){this._parentContainer=e,e.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new Bfe(this._container,this.editor,t=>this._onDidSelectRelatedInformation.fire(t),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(e,t,i){this._container.classList.remove("stale"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());const n=D.lift(e),s=this.editor.getPosition(),r=s&&n.containsPosition(s)?s:n.getStartPosition();super.show(r,this.computeRequiredHeight());const a=this.editor.getModel();if(a){const l=i>1?m("problems","{0} of {1} problems",t,i):m("change","{0} of {1} problem",t,i);this.setTitle(Zo(a.uri),l)}this._icon.className=`codicon ${xT.className(gi.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(r,0),this.editor.focus()}updateMarker(e){this._container.classList.remove("stale"),this._message.update(e)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._heightInPixel=e,this._message.layout(e,t),this._container.style.height=`${e}px`}_onWidth(e){this._message.layout(this._heightInPixel,e)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};Wm.TitleMenu=new k("gotoErrorTitleMenu");Wm=kT=Ffe([Ug(1,nn),Ug(2,Hs),Ug(3,Xo),Ug(4,Ie),Ug(5,Ae),Ug(6,xm)],Wm);const D3=Ev(el,pY),x3=Ev(Xn,kv),k3=Ev(Rs,Iv),IT=N("editorMarkerNavigationError.background",{dark:D3,light:D3,hcDark:at,hcLight:at},m("editorMarkerNavigationError","Editor marker navigation widget error color.")),Wfe=N("editorMarkerNavigationError.headerBackground",{dark:we(IT,.1),light:we(IT,.1),hcDark:null,hcLight:null},m("editorMarkerNavigationErrorHeaderBackground","Editor marker navigation widget error heading background.")),H1=N("editorMarkerNavigationWarning.background",{dark:x3,light:x3,hcDark:at,hcLight:at},m("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),Vfe=N("editorMarkerNavigationWarning.headerBackground",{dark:we(H1,.1),light:we(H1,.1),hcDark:"#0C141F",hcLight:we(H1,.2)},m("editorMarkerNavigationWarningBackground","Editor marker navigation widget warning heading background.")),ET=N("editorMarkerNavigationInfo.background",{dark:k3,light:k3,hcDark:at,hcLight:at},m("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),Hfe=N("editorMarkerNavigationInfo.headerBackground",{dark:we(ET,.1),light:we(ET,.1),hcDark:null,hcLight:null},m("editorMarkerNavigationInfoHeaderBackground","Editor marker navigation widget info heading background.")),zfe=N("editorMarkerNavigation.background",{dark:en,light:en,hcDark:en,hcLight:en},m("editorMarkerNavigationBackground","Editor marker navigation widget background."));var Ufe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},HC=function(o,e){return function(t,i){e(t,i,o)}},C_;let hh=C_=class{static get(e){return e.getContribution(C_.ID)}constructor(e,t,i,n,s){this._markerNavigationService=t,this._contextKeyService=i,this._editorService=n,this._instantiationService=s,this._sessionDispoables=new X,this._editor=e,this._widgetVisible=CH.bindTo(this._contextKeyService)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(e){if(this._model&&this._model.matches(e))return this._model;let t=!1;return this._model&&(t=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(e),t&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(Wm,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(i=>{var n,s,r;(!(!((n=this._model)===null||n===void 0)&&n.selected)||!D.containsPosition((s=this._model)===null||s===void 0?void 0:s.selected.marker,i.position))&&((r=this._model)===null||r===void 0||r.resetIndex())})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const i=this._model.find(this._editor.getModel().uri,this._widget.position);i?this._widget.updateMarker(i.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(i=>{this._editorService.openCodeEditor({resource:i.resource,options:{pinned:!0,revealIfOpened:!0,selection:D.lift(i).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){const t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new F(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}async nagivate(e,t){var i,n;if(this._editor.hasModel()){const s=this._getOrCreateModel(t?void 0:this._editor.getModel().uri);if(s.move(e,this._editor.getModel(),this._editor.getPosition()),!s.selected)return;if(s.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const r=await this._editorService.openCodeEditor({resource:s.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:s.selected.marker}},this._editor);r&&((i=C_.get(r))===null||i===void 0||i.close(),(n=C_.get(r))===null||n===void 0||n.nagivate(e,t))}else this._widget.showAtMarker(s.selected.marker,s.selected.index,s.selected.total)}}};hh.ID="editor.contrib.markerController";hh=C_=Ufe([HC(1,bH),HC(2,Ae),HC(3,_t),HC(4,Ie)],hh);class FL extends he{constructor(e,t,i){super(i),this._next=e,this._multiFile=t}async run(e,t){var i;t.hasModel()&&((i=hh.get(t))===null||i===void 0||i.nagivate(this._next,this._multiFile))}}class Wc extends FL{constructor(){super(!0,!1,{id:Wc.ID,label:Wc.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:E.focus,primary:578,weight:100},menuOpts:{menuId:Wm.TitleMenu,title:Wc.LABEL,icon:Ii("marker-navigation-next",re.arrowDown,m("nextMarkerIcon","Icon for goto next marker.")),group:"navigation",order:1}})}}Wc.ID="editor.action.marker.next";Wc.LABEL=m("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class Au extends FL{constructor(){super(!1,!1,{id:Au.ID,label:Au.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:E.focus,primary:1602,weight:100},menuOpts:{menuId:Wm.TitleMenu,title:Au.LABEL,icon:Ii("marker-navigation-previous",re.arrowUp,m("previousMarkerIcon","Icon for goto previous marker.")),group:"navigation",order:2}})}}Au.ID="editor.action.marker.prev";Au.LABEL=m("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)");class $fe extends FL{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:m("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:E.focus,primary:66,weight:100},menuOpts:{menuId:k.MenubarGoMenu,title:m({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}class jfe extends FL{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:m("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:E.focus,primary:1090,weight:100},menuOpts:{menuId:k.MenubarGoMenu,title:m({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}}vt(hh.ID,hh,4);Q(Wc);Q(Au);Q($fe);Q(jfe);const CH=new de("markersNavigationVisible",!1),Kfe=un.bindToContribution(hh.get);le(new Kfe({id:"closeMarkersNavigation",precondition:CH,handler:o=>o.close(),kbOpts:{weight:150,kbExpr:E.focus,primary:9,secondary:[1033]}}));var qfe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},ok=function(o,e){return function(t,i){e(t,i,o)}};const rr=J;class Gfe{constructor(e,t,i){this.owner=e,this.range=t,this.marker=i}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}const I3={type:1,filter:{include:Pe.QuickFix},triggerAction:to.QuickFixHover};let NT=class{constructor(e,t,i,n){this._editor=e,this._markerDecorationsService=t,this._openerService=i,this._languageFeaturesService=n,this.hoverOrdinal=1,this.recentMarkerCodeActionsInfo=void 0}computeSync(e,t){if(!this._editor.hasModel()||e.type!==1&&!e.supportsMarkerHover)return[];const i=this._editor.getModel(),n=e.range.startLineNumber,s=i.getLineMaxColumn(n),r=[];for(const a of t){const l=a.range.startLineNumber===n?a.range.startColumn:1,d=a.range.endLineNumber===n?a.range.endColumn:s,c=this._markerDecorationsService.getMarker(i.uri,a);if(!c)continue;const h=new D(e.range.startLineNumber,l,e.range.startLineNumber,d);r.push(new Gfe(this,h,c))}return r}renderHoverParts(e,t){if(!t.length)return V.None;const i=new X;t.forEach(s=>e.fragment.appendChild(this.renderMarkerHover(s,i)));const n=t.length===1?t[0]:t.sort((s,r)=>gi.compare(s.marker.severity,r.marker.severity))[0];return this.renderMarkerStatusbar(e,n,i),i}renderMarkerHover(e,t){const i=rr("div.hover-row"),n=Y(i,rr("div.marker.hover-contents")),{source:s,message:r,code:a,relatedInformation:l}=e.marker;this._editor.applyFontInfo(n);const d=Y(n,rr("span"));if(d.style.whiteSpace="pre-wrap",d.innerText=r,s||a)if(a&&typeof a!="string"){const c=rr("span");if(s){const f=Y(c,rr("span"));f.innerText=s}const h=Y(c,rr("a.code-link"));h.setAttribute("href",a.target.toString()),t.add($(h,"click",f=>{this._openerService.open(a.target,{allowCommands:!0}),f.preventDefault(),f.stopPropagation()}));const u=Y(h,rr("span"));u.innerText=a.value;const g=Y(n,c);g.style.opacity="0.6",g.style.paddingLeft="6px"}else{const c=Y(n,rr("span"));c.style.opacity="0.6",c.style.paddingLeft="6px",c.innerText=s&&a?`${s}(${a})`:s||`(${a})`}if(Bn(l))for(const{message:c,resource:h,startLineNumber:u,startColumn:g}of l){const f=Y(n,rr("div"));f.style.marginTop="8px";const p=Y(f,rr("a"));p.innerText=`${Zo(h)}(${u}, ${g}): `,p.style.cursor="pointer",t.add($(p,"click",v=>{v.stopPropagation(),v.preventDefault(),this._openerService&&this._openerService.open(h,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:u,startColumn:g}}}).catch(Ve)}));const _=Y(f,rr("span"));_.innerText=c,this._editor.applyFontInfo(_)}return i}renderMarkerStatusbar(e,t,i){if(t.marker.severity===gi.Error||t.marker.severity===gi.Warning||t.marker.severity===gi.Info){const n=hh.get(this._editor);n&&e.statusBar.addAction({label:m("view problem","View Problem"),commandId:Wc.ID,run:()=>{e.hide(),n.showAtMarker(t.marker),this._editor.focus()}})}if(!this._editor.getOption(91)){const n=e.statusBar.append(rr("div"));this.recentMarkerCodeActionsInfo&&(sS.makeKey(this.recentMarkerCodeActionsInfo.marker)===sS.makeKey(t.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(n.textContent=m("noQuickFixes","No quick fixes available")):this.recentMarkerCodeActionsInfo=void 0);const s=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?V.None:Gc(()=>n.textContent=m("checkingForQuickFixes","Checking for quick fixes..."),200,i);n.textContent||(n.textContent=" ");const r=this.getCodeActions(t.marker);i.add(Le(()=>r.cancel())),r.then(a=>{if(s.dispose(),this.recentMarkerCodeActionsInfo={marker:t.marker,hasCodeActions:a.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){a.dispose(),n.textContent=m("noQuickFixes","No quick fixes available");return}n.style.display="none";let l=!1;i.add(Le(()=>{l||a.dispose()})),e.statusBar.addAction({label:m("quick fixes","Quick Fix..."),commandId:IA,run:d=>{l=!0;const c=rh.get(this._editor),h=Mi(d);e.hide(),c==null||c.showCodeActions(I3,a,{x:h.left,y:h.top,width:h.width,height:h.height})}})},Ve)}}getCodeActions(e){return tn(t=>X_(this._languageFeaturesService.codeActionProvider,this._editor.getModel(),new D(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),I3,Cd.None,t))}};NT=qfe([ok(1,VR),ok(2,Hs),ok(3,fe)],NT);const wH="editor.action.inlineSuggest.commit",SH="editor.action.inlineSuggest.showPrevious",yH="editor.action.inlineSuggest.showNext";var BA=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Yr=function(o,e){return function(t,i){e(t,i,o)}},z1;let TT=class extends V{constructor(e,t,i){super(),this.editor=e,this.model=t,this.instantiationService=i,this.alwaysShowToolbar=Zt(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(62).showToolbar==="always"),this.sessionPosition=void 0,this.position=Fe(this,n=>{var s,r,a;const l=(s=this.model.read(n))===null||s===void 0?void 0:s.primaryGhostText.read(n);if(!this.alwaysShowToolbar.read(n)||!l||l.parts.length===0)return this.sessionPosition=void 0,null;const d=l.parts[0].column;this.sessionPosition&&this.sessionPosition.lineNumber!==l.lineNumber&&(this.sessionPosition=void 0);const c=new F(l.lineNumber,Math.min(d,(a=(r=this.sessionPosition)===null||r===void 0?void 0:r.column)!==null&&a!==void 0?a:Number.MAX_SAFE_INTEGER));return this.sessionPosition=c,c}),this._register(Sa((n,s)=>{const r=this.model.read(n);if(!r||!this.alwaysShowToolbar.read(n))return;const a=s.add(this.instantiationService.createInstance(uh,this.editor,!0,this.position,r.selectedInlineCompletionIndex,r.inlineCompletionsCount,r.selectedInlineCompletion.map(l=>{var d;return(d=l==null?void 0:l.inlineCompletion.source.inlineCompletions.commands)!==null&&d!==void 0?d:[]})));e.addContentWidget(a),s.add(Le(()=>e.removeContentWidget(a))),s.add(nt(l=>{this.position.read(l)&&r.lastTriggerKind.read(l)!==_d.Explicit&&r.triggerExplicitly()}))}))}};TT=BA([Yr(2,Ie)],TT);const Zfe=Ii("inline-suggestion-hints-next",re.chevronRight,m("parameterHintsNextIcon","Icon for show next parameter hint.")),Yfe=Ii("inline-suggestion-hints-previous",re.chevronLeft,m("parameterHintsPreviousIcon","Icon for show previous parameter hint."));let uh=z1=class extends V{static get dropDownVisible(){return this._dropDownVisible}createCommandAction(e,t,i){const n=new Zs(e,t,i,!0,()=>this._commandService.executeCommand(e)),s=this.keybindingService.lookupKeybinding(e,this._contextKeyService);let r=t;return s&&(r=m({key:"content",comment:["A label","A keybinding"]},"{0} ({1})",t,s.getLabel())),n.tooltip=r,n}constructor(e,t,i,n,s,r,a,l,d,c,h){super(),this.editor=e,this.withBorder=t,this._position=i,this._currentSuggestionIdx=n,this._suggestionCount=s,this._extraCommands=r,this._commandService=a,this.keybindingService=d,this._contextKeyService=c,this._menuService=h,this.id=`InlineSuggestionHintsContentWidget${z1.id++}`,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.nodes=Mt("div.inlineSuggestionsHints",{className:this.withBorder?".withBorder":""},[Mt("div@toolBar")]),this.previousAction=this.createCommandAction(SH,m("previous","Previous"),Ne.asClassName(Yfe)),this.availableSuggestionCountAction=new Zs("inlineSuggestionHints.availableSuggestionCount","",void 0,!1),this.nextAction=this.createCommandAction(yH,m("next","Next"),Ne.asClassName(Zfe)),this.inlineCompletionsActionsMenus=this._register(this._menuService.createMenu(k.InlineCompletionsActions,this._contextKeyService)),this.clearAvailableSuggestionCountLabelDebounced=this._register(new Rt(()=>{this.availableSuggestionCountAction.label=""},100)),this.disableButtonsDebounced=this._register(new Rt(()=>{this.previousAction.enabled=this.nextAction.enabled=!1},100)),this.lastCommands=[],this.toolBar=this._register(l.createInstance(MT,this.nodes.toolBar,k.InlineSuggestionToolbar,{menuOptions:{renderShortTitle:!0},toolbarOptions:{primaryGroup:u=>u.startsWith("primary")},actionViewItemProvider:(u,g)=>{if(u instanceof Lo)return l.createInstance(Qfe,u,void 0);if(u===this.availableSuggestionCountAction){const f=new Xfe(void 0,u,{label:!0,icon:!1});return f.setClass("availableSuggestionCount"),f}},telemetrySource:"InlineSuggestionToolbar"})),this.toolBar.setPrependedPrimaryActions([this.previousAction,this.availableSuggestionCountAction,this.nextAction]),this._register(this.toolBar.onDidChangeDropdownVisibility(u=>{z1._dropDownVisible=u})),this._register(nt(u=>{this._position.read(u),this.editor.layoutContentWidget(this)})),this._register(nt(u=>{const g=this._suggestionCount.read(u),f=this._currentSuggestionIdx.read(u);g!==void 0?(this.clearAvailableSuggestionCountLabelDebounced.cancel(),this.availableSuggestionCountAction.label=`${f+1}/${g}`):this.clearAvailableSuggestionCountLabelDebounced.schedule(),g!==void 0&&g>1?(this.disableButtonsDebounced.cancel(),this.previousAction.enabled=this.nextAction.enabled=!0):this.disableButtonsDebounced.schedule()})),this._register(nt(u=>{const g=this._extraCommands.read(u);if(ri(this.lastCommands,g))return;this.lastCommands=g;const f=g.map(p=>({class:void 0,id:p.id,enabled:!0,tooltip:p.tooltip||"",label:p.title,run:_=>this._commandService.executeCommand(p.id)}));for(const[p,_]of this.inlineCompletionsActionsMenus.getActions())for(const v of _)v instanceof Lo&&f.push(v);f.length>0&&f.unshift(new zi),this.toolBar.setAdditionalSecondaryActions(f)}))}getId(){return this.id}getDomNode(){return this.nodes.root}getPosition(){return{position:this._position.get(),preference:[1,2],positionAffinity:3}}};uh._dropDownVisible=!1;uh.id=0;uh=z1=BA([Yr(6,ai),Yr(7,Ie),Yr(8,Et),Yr(9,Ae),Yr(10,Xo)],uh);class Xfe extends Em{constructor(){super(...arguments),this._className=void 0}setClass(e){this._className=e}render(e){super.render(e),this._className&&e.classList.add(this._className)}updateTooltip(){}}let Qfe=class extends nh{updateLabel(){const e=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!e)return super.updateLabel();if(this.label){const t=Mt("div.keybinding").root;new ap(t,qs,{disableTitle:!0,...t6}).set(e),this.label.textContent=this._action.label,this.label.appendChild(t),this.label.classList.add("inlineSuggestionStatusBarItemLabel")}}updateTooltip(){}},MT=class extends ub{constructor(e,t,i,n,s,r,a,l){super(e,{resetMenu:t,...i},n,s,r,a,l),this.menuId=t,this.options2=i,this.menuService=n,this.contextKeyService=s,this.menu=this._store.add(this.menuService.createMenu(this.menuId,this.contextKeyService,{emitEventsForSubmenuChanges:!0})),this.additionalActions=[],this.prependedPrimaryActions=[],this._store.add(this.menu.onDidChange(()=>this.updateToolbar())),this.updateToolbar()}updateToolbar(){var e,t,i,n,s,r,a;const l=[],d=[];Qy(this.menu,(e=this.options2)===null||e===void 0?void 0:e.menuOptions,{primary:l,secondary:d},(i=(t=this.options2)===null||t===void 0?void 0:t.toolbarOptions)===null||i===void 0?void 0:i.primaryGroup,(s=(n=this.options2)===null||n===void 0?void 0:n.toolbarOptions)===null||s===void 0?void 0:s.shouldInlineSubmenu,(a=(r=this.options2)===null||r===void 0?void 0:r.toolbarOptions)===null||a===void 0?void 0:a.useSeparatorsInPrimaryActions),d.push(...this.additionalActions),l.unshift(...this.prependedPrimaryActions),this.setActions(l,d)}setPrependedPrimaryActions(e){ri(this.prependedPrimaryActions,e,(t,i)=>t===i)||(this.prependedPrimaryActions=e,this.updateToolbar())}setAdditionalSecondaryActions(e){ri(this.additionalActions,e,(t,i)=>t===i)||(this.additionalActions=e,this.updateToolbar())}};MT=BA([Yr(3,Xo),Yr(4,Ae),Yr(5,so),Yr(6,Et),Yr(7,Jn)],MT);var Jfe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},zC=function(o,e){return function(t,i){e(t,i,o)}},RT;const eme=!1;let Bs=RT=class extends V{constructor(e,t,i,n,s){super(),this._editor=e,this._instantiationService=t,this._openerService=i,this._languageService=n,this._keybindingService=s,this._listenersStore=new X,this._hoverState={mouseDown:!1,contentHoverFocused:!1,activatedByDecoratorClick:!1},this._reactToEditorMouseMoveRunner=this._register(new Rt(()=>this._reactToEditorMouseMove(this._mouseMoveEvent),0)),this._hookListeners(),this._register(this._editor.onDidChangeConfiguration(r=>{r.hasChanged(60)&&(this._unhookListeners(),this._hookListeners())}))}static get(e){return e.getContribution(RT.ID)}_hookListeners(){const e=this._editor.getOption(60);this._hoverSettings={enabled:e.enabled,sticky:e.sticky,hidingDelay:e.delay},e.enabled?(this._listenersStore.add(this._editor.onMouseDown(t=>this._onEditorMouseDown(t))),this._listenersStore.add(this._editor.onMouseUp(()=>this._onEditorMouseUp())),this._listenersStore.add(this._editor.onMouseMove(t=>this._onEditorMouseMove(t))),this._listenersStore.add(this._editor.onKeyDown(t=>this._onKeyDown(t)))):(this._listenersStore.add(this._editor.onMouseMove(t=>this._onEditorMouseMove(t))),this._listenersStore.add(this._editor.onKeyDown(t=>this._onKeyDown(t)))),this._listenersStore.add(this._editor.onMouseLeave(t=>this._onEditorMouseLeave(t))),this._listenersStore.add(this._editor.onDidChangeModel(()=>{this._cancelScheduler(),this._hideWidgets()})),this._listenersStore.add(this._editor.onDidChangeModelContent(()=>this._cancelScheduler())),this._listenersStore.add(this._editor.onDidScrollChange(t=>this._onEditorScrollChanged(t)))}_unhookListeners(){this._listenersStore.clear()}_cancelScheduler(){this._mouseMoveEvent=void 0,this._reactToEditorMouseMoveRunner.cancel()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){var t;this._hoverState.mouseDown=!0;const i=e.target;if(i.type===9&&i.detail===Bc.ID){this._hoverState.contentHoverFocused=!0;return}i.type===12&&i.detail===tm.ID||(i.type!==12&&(this._hoverState.contentHoverFocused=!1),!(!((t=this._contentWidget)===null||t===void 0)&&t.widget.isResizing)&&this._hideWidgets())}_onEditorMouseUp(){this._hoverState.mouseDown=!1}_onEditorMouseLeave(e){var t,i;this._cancelScheduler();const n=e.event.browserEvent.relatedTarget;!((t=this._contentWidget)===null||t===void 0)&&t.widget.isResizing||!((i=this._contentWidget)===null||i===void 0)&&i.containsNode(n)||this._hideWidgets()}_isMouseOverWidget(e){var t,i,n,s,r;const a=e.target,l=this._hoverSettings.sticky;return!!(l&&a.type===9&&a.detail===Bc.ID||l&&(!((t=this._contentWidget)===null||t===void 0)&&t.containsNode((i=e.event.browserEvent.view)===null||i===void 0?void 0:i.document.activeElement))&&!(!((s=(n=e.event.browserEvent.view)===null||n===void 0?void 0:n.getSelection())===null||s===void 0)&&s.isCollapsed)||!l&&a.type===9&&a.detail===Bc.ID&&(!((r=this._contentWidget)===null||r===void 0)&&r.isColorPickerVisible)||l&&a.type===12&&a.detail===tm.ID)}_onEditorMouseMove(e){var t,i,n,s;if(this._mouseMoveEvent=e,!((t=this._contentWidget)===null||t===void 0)&&t.isFocused||!((i=this._contentWidget)===null||i===void 0)&&i.isResizing||this._hoverState.mouseDown&&this._hoverState.contentHoverFocused)return;const r=this._hoverSettings.sticky;if(r&&(!((n=this._contentWidget)===null||n===void 0)&&n.isVisibleFromKeyboard))return;if(this._isMouseOverWidget(e)){this._reactToEditorMouseMoveRunner.cancel();return}const l=this._hoverSettings.hidingDelay;if(!((s=this._contentWidget)===null||s===void 0)&&s.isVisible&&r&&l>0){this._reactToEditorMouseMoveRunner.isScheduled()||this._reactToEditorMouseMoveRunner.schedule(l);return}this._reactToEditorMouseMove(e)}_reactToEditorMouseMove(e){var t,i,n,s;if(!e)return;const r=e.target,a=(t=r.element)===null||t===void 0?void 0:t.classList.contains("colorpicker-color-decoration"),l=this._editor.getOption(147),d=this._hoverSettings.enabled,c=this._hoverState.activatedByDecoratorClick;if(a&&(l==="click"&&!c||l==="hover"&&!d&&!eme||l==="clickAndHover"&&!d&&!c)||!a&&!d&&!c){this._hideWidgets();return}if(this._getOrCreateContentWidget().showsOrWillShow(e)){(i=this._glyphWidget)===null||i===void 0||i.hide();return}if(r.type===2&&r.position&&r.detail.glyphMarginLane){(n=this._contentWidget)===null||n===void 0||n.hide(),this._getOrCreateGlyphWidget().startShowingAt(r.position.lineNumber,r.detail.glyphMarginLane);return}if(r.type===3&&r.position){(s=this._contentWidget)===null||s===void 0||s.hide(),this._getOrCreateGlyphWidget().startShowingAt(r.position.lineNumber,"lineNo");return}this._hideWidgets()}_onKeyDown(e){var t;if(!this._editor.hasModel())return;const i=this._keybindingService.softDispatch(e,this._editor.getDomNode()),n=i.kind===1||i.kind===2&&i.commandId==="editor.action.showHover"&&((t=this._contentWidget)===null||t===void 0?void 0:t.isVisible);e.keyCode===5||e.keyCode===6||e.keyCode===57||e.keyCode===4||n||this._hideWidgets()}_hideWidgets(){var e,t,i;this._hoverState.mouseDown&&this._hoverState.contentHoverFocused&&(!((e=this._contentWidget)===null||e===void 0)&&e.isColorPickerVisible)||uh.dropDownVisible||(this._hoverState.activatedByDecoratorClick=!1,this._hoverState.contentHoverFocused=!1,(t=this._glyphWidget)===null||t===void 0||t.hide(),(i=this._contentWidget)===null||i===void 0||i.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(RS,this._editor)),this._contentWidget}_getOrCreateGlyphWidget(){return this._glyphWidget||(this._glyphWidget=new tm(this._editor,this._languageService,this._openerService)),this._glyphWidget}showContentHover(e,t,i,n,s=!1){this._hoverState.activatedByDecoratorClick=s,this._getOrCreateContentWidget().startShowingAtRange(e,t,i,n)}focus(){var e;(e=this._contentWidget)===null||e===void 0||e.focus()}scrollUp(){var e;(e=this._contentWidget)===null||e===void 0||e.scrollUp()}scrollDown(){var e;(e=this._contentWidget)===null||e===void 0||e.scrollDown()}scrollLeft(){var e;(e=this._contentWidget)===null||e===void 0||e.scrollLeft()}scrollRight(){var e;(e=this._contentWidget)===null||e===void 0||e.scrollRight()}pageUp(){var e;(e=this._contentWidget)===null||e===void 0||e.pageUp()}pageDown(){var e;(e=this._contentWidget)===null||e===void 0||e.pageDown()}goToTop(){var e;(e=this._contentWidget)===null||e===void 0||e.goToTop()}goToBottom(){var e;(e=this._contentWidget)===null||e===void 0||e.goToBottom()}get isColorPickerVisible(){var e;return(e=this._contentWidget)===null||e===void 0?void 0:e.isColorPickerVisible}get isHoverVisible(){var e;return(e=this._contentWidget)===null||e===void 0?void 0:e.isVisible}dispose(){var e,t;super.dispose(),this._unhookListeners(),this._listenersStore.dispose(),(e=this._glyphWidget)===null||e===void 0||e.dispose(),(t=this._contentWidget)===null||t===void 0||t.dispose()}};Bs.ID="editor.contrib.hover";Bs=RT=Jfe([zC(1,Ie),zC(2,Hs),zC(3,Qt),zC(4,Et)],Bs);var Fr;(function(o){o.NoAutoFocus="noAutoFocus",o.FocusIfVisible="focusIfVisible",o.AutoFocusImmediately="autoFocusImmediately"})(Fr||(Fr={}));class tme extends he{constructor(){super({id:"editor.action.showHover",label:m({key:"showOrFocusHover",comment:["Label for action that will trigger the showing/focusing of a hover in the editor.","If the hover is not visible, it will show the hover.","This allows for users to show the hover without using the mouse."]},"Show or Focus Hover"),metadata:{description:"Show or Focus Hover",args:[{name:"args",schema:{type:"object",properties:{focus:{description:"Controls if and when the hover should take focus upon being triggered by this action.",enum:[Fr.NoAutoFocus,Fr.FocusIfVisible,Fr.AutoFocusImmediately],enumDescriptions:[m("showOrFocusHover.focus.noAutoFocus","The hover will not automatically take focus."),m("showOrFocusHover.focus.focusIfVisible","The hover will take focus only if it is already visible."),m("showOrFocusHover.focus.autoFocusImmediately","The hover will automatically take focus when it appears.")],default:Fr.FocusIfVisible}}}}]},alias:"Show or Focus Hover",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:Ui(2089,2087),weight:100}})}run(e,t,i){if(!t.hasModel())return;const n=Bs.get(t);if(!n)return;const s=i==null?void 0:i.focus;let r=Fr.FocusIfVisible;Object.values(Fr).includes(s)?r=s:typeof s=="boolean"&&s&&(r=Fr.AutoFocusImmediately);const a=d=>{const c=t.getPosition(),h=new D(c.lineNumber,c.column,c.lineNumber,c.column);n.showContentHover(h,1,1,d)},l=t.getOption(2)===2;n.isHoverVisible?r!==Fr.NoAutoFocus?n.focus():a(l):a(l||r===Fr.AutoFocusImmediately)}}class ime extends he{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:m({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})}run(e,t){const i=Bs.get(t);if(!i)return;const n=t.getPosition();if(!n)return;const s=new D(n.lineNumber,n.column,n.lineNumber,n.column),r=sg.get(t);if(!r)return;r.startFindDefinitionFromCursor(n).then(()=>{i.showContentHover(s,1,1,!0)})}}class nme extends he{constructor(){super({id:"editor.action.scrollUpHover",label:m({key:"scrollUpHover",comment:["Action that allows to scroll up in the hover widget with the up arrow when the hover widget is focused."]},"Scroll Up Hover"),alias:"Scroll Up Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:16,weight:100}})}run(e,t){const i=Bs.get(t);i&&i.scrollUp()}}class sme extends he{constructor(){super({id:"editor.action.scrollDownHover",label:m({key:"scrollDownHover",comment:["Action that allows to scroll down in the hover widget with the up arrow when the hover widget is focused."]},"Scroll Down Hover"),alias:"Scroll Down Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:18,weight:100}})}run(e,t){const i=Bs.get(t);i&&i.scrollDown()}}class ome extends he{constructor(){super({id:"editor.action.scrollLeftHover",label:m({key:"scrollLeftHover",comment:["Action that allows to scroll left in the hover widget with the left arrow when the hover widget is focused."]},"Scroll Left Hover"),alias:"Scroll Left Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:15,weight:100}})}run(e,t){const i=Bs.get(t);i&&i.scrollLeft()}}class rme extends he{constructor(){super({id:"editor.action.scrollRightHover",label:m({key:"scrollRightHover",comment:["Action that allows to scroll right in the hover widget with the right arrow when the hover widget is focused."]},"Scroll Right Hover"),alias:"Scroll Right Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:17,weight:100}})}run(e,t){const i=Bs.get(t);i&&i.scrollRight()}}class ame extends he{constructor(){super({id:"editor.action.pageUpHover",label:m({key:"pageUpHover",comment:["Action that allows to page up in the hover widget with the page up command when the hover widget is focused."]},"Page Up Hover"),alias:"Page Up Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:11,secondary:[528],weight:100}})}run(e,t){const i=Bs.get(t);i&&i.pageUp()}}class lme extends he{constructor(){super({id:"editor.action.pageDownHover",label:m({key:"pageDownHover",comment:["Action that allows to page down in the hover widget with the page down command when the hover widget is focused."]},"Page Down Hover"),alias:"Page Down Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:12,secondary:[530],weight:100}})}run(e,t){const i=Bs.get(t);i&&i.pageDown()}}class dme extends he{constructor(){super({id:"editor.action.goToTopHover",label:m({key:"goToTopHover",comment:["Action that allows to go to the top of the hover widget with the home command when the hover widget is focused."]},"Go To Top Hover"),alias:"Go To Bottom Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:14,secondary:[2064],weight:100}})}run(e,t){const i=Bs.get(t);i&&i.goToTop()}}class cme extends he{constructor(){super({id:"editor.action.goToBottomHover",label:m({key:"goToBottomHover",comment:["Action that allows to go to the bottom in the hover widget with the end command when the hover widget is focused."]},"Go To Bottom Hover"),alias:"Go To Bottom Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:13,secondary:[2066],weight:100}})}run(e,t){const i=Bs.get(t);i&&i.goToBottom()}}vt(Bs.ID,Bs,2);Q(tme);Q(ime);Q(nme);Q(sme);Q(ome);Q(rme);Q(ame);Q(lme);Q(dme);Q(cme);Nh.register(OS);Nh.register(NT);Qo((o,e)=>{const t=o.getColor(WB);t&&(e.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${t.transparent(.5)}; }`),e.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${t.transparent(.5)}; }`),e.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${t.transparent(.5)}; }`))});class AT extends V{constructor(e){super(),this._editor=e,this._register(e.onMouseDown(t=>this.onMouseDown(t)))}dispose(){super.dispose()}onMouseDown(e){const t=this._editor.getOption(147);if(t!=="click"&&t!=="clickAndHover")return;const i=e.target;if(i.type!==6||!i.detail.injectedText||i.detail.injectedText.options.attachedData!==ZV||!i.range)return;const n=this._editor.getContribution(Bs.ID);if(n&&!n.isColorPickerVisible){const s=new D(i.range.startLineNumber,i.range.startColumn+1,i.range.endLineNumber,i.range.endColumn+1);n.showContentHover(s,1,0,!1,!0)}}}AT.ID="editor.contrib.colorContribution";vt(AT.ID,AT,2);Nh.register(TS);var LH=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Kr=function(o,e){return function(t,i){e(t,i,o)}},PT,OT;let gh=PT=class extends V{constructor(e,t,i,n,s,r,a){super(),this._editor=e,this._modelService=i,this._keybindingService=n,this._instantiationService=s,this._languageFeatureService=r,this._languageConfigurationService=a,this._standaloneColorPickerWidget=null,this._standaloneColorPickerVisible=E.standaloneColorPickerVisible.bindTo(t),this._standaloneColorPickerFocused=E.standaloneColorPickerFocused.bindTo(t)}showOrFocus(){var e;this._editor.hasModel()&&(this._standaloneColorPickerVisible.get()?this._standaloneColorPickerFocused.get()||(e=this._standaloneColorPickerWidget)===null||e===void 0||e.focus():this._standaloneColorPickerWidget=new BS(this._editor,this._standaloneColorPickerVisible,this._standaloneColorPickerFocused,this._instantiationService,this._modelService,this._keybindingService,this._languageFeatureService,this._languageConfigurationService))}hide(){var e;this._standaloneColorPickerFocused.set(!1),this._standaloneColorPickerVisible.set(!1),(e=this._standaloneColorPickerWidget)===null||e===void 0||e.hide(),this._editor.focus()}insertColor(){var e;(e=this._standaloneColorPickerWidget)===null||e===void 0||e.updateEditor(),this.hide()}static get(e){return e.getContribution(PT.ID)}};gh.ID="editor.contrib.standaloneColorPickerController";gh=PT=LH([Kr(1,Ae),Kr(2,si),Kr(3,Et),Kr(4,Ie),Kr(5,fe),Kr(6,Vt)],gh);vt(gh.ID,gh,1);const E3=8,hme=22;let BS=OT=class extends V{constructor(e,t,i,n,s,r,a,l){var d;super(),this._editor=e,this._standaloneColorPickerVisible=t,this._standaloneColorPickerFocused=i,this._modelService=s,this._keybindingService=r,this._languageFeaturesService=a,this._languageConfigurationService=l,this.allowEditorOverflow=!0,this._position=void 0,this._body=document.createElement("div"),this._colorHover=null,this._selectionSetInEditor=!1,this._onResult=this._register(new O),this.onResult=this._onResult.event,this._standaloneColorPickerVisible.set(!0),this._standaloneColorPickerParticipant=n.createInstance(_b,this._editor),this._position=(d=this._editor._getViewModel())===null||d===void 0?void 0:d.getPrimaryCursorState().modelState.position;const c=this._editor.getSelection(),h=c?{startLineNumber:c.startLineNumber,startColumn:c.startColumn,endLineNumber:c.endLineNumber,endColumn:c.endColumn}:{startLineNumber:0,endLineNumber:0,endColumn:0,startColumn:0},u=this._register(la(this._body));this._register(u.onDidBlur(g=>{this.hide()})),this._register(u.onDidFocus(g=>{this.focus()})),this._register(this._editor.onDidChangeCursorPosition(()=>{this._selectionSetInEditor?this._selectionSetInEditor=!1:this.hide()})),this._register(this._editor.onMouseMove(g=>{var f;const p=(f=g.target.element)===null||f===void 0?void 0:f.classList;p&&p.contains("colorpicker-color-decoration")&&this.hide()})),this._register(this.onResult(g=>{this._render(g.value,g.foundInEditor)})),this._start(h),this._body.style.zIndex="50",this._editor.addContentWidget(this)}updateEditor(){this._colorHover&&this._standaloneColorPickerParticipant.updateEditorModel(this._colorHover)}getId(){return OT.ID}getDomNode(){return this._body}getPosition(){if(!this._position)return null;const e=this._editor.getOption(60).above;return{position:this._position,secondaryPosition:this._position,preference:e?[1,2]:[2,1],positionAffinity:2}}hide(){this.dispose(),this._standaloneColorPickerVisible.set(!1),this._standaloneColorPickerFocused.set(!1),this._editor.removeContentWidget(this),this._editor.focus()}focus(){this._standaloneColorPickerFocused.set(!0),this._body.focus()}async _start(e){const t=await this._computeAsync(e);t&&this._onResult.fire(new ume(t.result,t.foundInEditor))}async _computeAsync(e){if(!this._editor.hasModel())return null;const t={range:e,color:{red:0,green:0,blue:0,alpha:1}},i=await this._standaloneColorPickerParticipant.createColorHover(t,new MA(this._modelService,this._languageConfigurationService),this._languageFeaturesService.colorProvider);return i?{result:i.colorHover,foundInEditor:i.foundInEditor}:null}_render(e,t){const i=document.createDocumentFragment(),n=this._register(new AS(this._keybindingService));let s;const r={fragment:i,statusBar:n,setColorPicker:p=>s=p,onContentsChanged:()=>{},hide:()=>this.hide()};if(this._colorHover=e,this._register(this._standaloneColorPickerParticipant.renderHoverParts(r,[e])),s===void 0)return;this._body.classList.add("standalone-colorpicker-body"),this._body.style.maxHeight=Math.max(this._editor.getLayoutInfo().height/4,250)+"px",this._body.style.maxWidth=Math.max(this._editor.getLayoutInfo().width*.66,500)+"px",this._body.tabIndex=0,this._body.appendChild(i),s.layout();const a=s.body,l=a.saturationBox.domNode.clientWidth,d=a.domNode.clientWidth-l-hme-E3,c=s.body.enterButton;c==null||c.onClicked(()=>{this.updateEditor(),this.hide()});const h=s.header,u=h.pickedColorNode;u.style.width=l+E3+"px";const g=h.originalColorNode;g.style.width=d+"px";const f=s.header.closeButton;f==null||f.onClicked(()=>{this.hide()}),t&&(c&&(c.button.textContent="Replace"),this._selectionSetInEditor=!0,this._editor.setSelection(e.range)),this._editor.layoutContentWidget(this)}};BS.ID="editor.contrib.standaloneColorPickerWidget";BS=OT=LH([Kr(3,Ie),Kr(4,si),Kr(5,Et),Kr(6,fe),Kr(7,Vt)],BS);class ume{constructor(e,t){this.value=e,this.foundInEditor=t}}class gme extends va{constructor(){super({id:"editor.action.showOrFocusStandaloneColorPicker",title:{...mt("showOrFocusStandaloneColorPicker","Show or Focus Standalone Color Picker"),mnemonicTitle:m({key:"mishowOrFocusStandaloneColorPicker",comment:["&& denotes a mnemonic"]},"&&Show or Focus Standalone Color Picker")},precondition:void 0,menu:[{id:k.CommandPalette}]})}runEditorCommand(e,t){var i;(i=gh.get(t))===null||i===void 0||i.showOrFocus()}}class fme extends he{constructor(){super({id:"editor.action.hideColorPicker",label:m({key:"hideColorPicker",comment:["Action that hides the color picker"]},"Hide the Color Picker"),alias:"Hide the Color Picker",precondition:E.standaloneColorPickerVisible.isEqualTo(!0),kbOpts:{primary:9,weight:100}})}run(e,t){var i;(i=gh.get(t))===null||i===void 0||i.hide()}}class mme extends he{constructor(){super({id:"editor.action.insertColorWithStandaloneColorPicker",label:m({key:"insertColorWithStandaloneColorPicker",comment:["Action that inserts color with standalone color picker"]},"Insert Color with Standalone Color Picker"),alias:"Insert Color with Standalone Color Picker",precondition:E.standaloneColorPickerFocused.isEqualTo(!0),kbOpts:{primary:3,weight:100}})}run(e,t){var i;(i=gh.get(t))===null||i===void 0||i.insertColor()}}Q(fme);Q(mme);Wt(gme);class yc{constructor(e,t,i){this.languageConfigurationService=i,this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,i){if(i<0)return!1;const n=t.length,s=e.length;if(i+n>s)return!1;for(let r=0;r=65&&a<=90&&a+32===l)&&!(l>=65&&l<=90&&l+32===a))return!1}return!0}_createOperationsForBlockComment(e,t,i,n,s,r){const a=e.startLineNumber,l=e.startColumn,d=e.endLineNumber,c=e.endColumn,h=s.getLineContent(a),u=s.getLineContent(d);let g=h.lastIndexOf(t,l-1+t.length),f=u.indexOf(i,c-1-i.length);if(g!==-1&&f!==-1)if(a===d)h.substring(g+t.length,f).indexOf(i)>=0&&(g=-1,f=-1);else{const _=h.substring(g+t.length),v=u.substring(0,f);(_.indexOf(i)>=0||v.indexOf(i)>=0)&&(g=-1,f=-1)}let p;g!==-1&&f!==-1?(n&&g+t.length0&&u.charCodeAt(f-1)===32&&(i=" "+i,f-=1),p=yc._createRemoveBlockCommentOperations(new D(a,g+t.length+1,d,f+1),t,i)):(p=yc._createAddBlockCommentOperations(e,t,i,this._insertSpace),this._usedEndToken=p.length===1?i:null);for(const _ of p)r.addTrackedEditOperation(_.range,_.text)}static _createRemoveBlockCommentOperations(e,t,i){const n=[];return D.isEmpty(e)?n.push(ti.delete(new D(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+i.length))):(n.push(ti.delete(new D(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),n.push(ti.delete(new D(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+i.length)))),n}static _createAddBlockCommentOperations(e,t,i,n){const s=[];return D.isEmpty(e)?s.push(ti.replace(new D(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+i)):(s.push(ti.insert(new F(e.startLineNumber,e.startColumn),t+(n?" ":""))),s.push(ti.insert(new F(e.endLineNumber,e.endColumn),(n?" ":"")+i))),s}getEditOperations(e,t){const i=this._selection.startLineNumber,n=this._selection.startColumn;e.tokenization.tokenizeIfCheap(i);const s=e.getLanguageIdAtPosition(i,n),r=this.languageConfigurationService.getLanguageConfiguration(s).comments;!r||!r.blockCommentStartToken||!r.blockCommentEndToken||this._createOperationsForBlockComment(this._selection,r.blockCommentStartToken,r.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){const i=t.getInverseEditOperations();if(i.length===2){const n=i[0],s=i[1];return new _e(n.range.endLineNumber,n.range.endColumn,s.range.startLineNumber,s.range.startColumn)}else{const n=i[0].range,s=this._usedEndToken?-this._usedEndToken.length-1:0;return new _e(n.endLineNumber,n.endColumn+s,n.endLineNumber,n.endColumn+s)}}}class Hl{constructor(e,t,i,n,s,r,a){this.languageConfigurationService=e,this._selection=t,this._tabSize=i,this._type=n,this._insertSpace=s,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=r,this._ignoreFirstLine=a||!1}static _gatherPreflightCommentStrings(e,t,i,n){e.tokenization.tokenizeIfCheap(t);const s=e.getLanguageIdAtPosition(t,1),r=n.getLanguageConfiguration(s).comments,a=r?r.lineCommentToken:null;if(!a)return null;const l=[];for(let d=0,c=i-t+1;ds?t[l].commentStrOffset=r-1:t[l].commentStrOffset=r}}}class WA extends he{constructor(e,t){super(t),this._type=e}run(e,t){const i=e.get(Vt);if(!t.hasModel())return;const n=t.getModel(),s=[],r=n.getOptions(),a=t.getOption(23),l=t.getSelections().map((c,h)=>({selection:c,index:h,ignoreFirstLine:!1}));l.sort((c,h)=>D.compareRangesUsingStarts(c.selection,h.selection));let d=l[0];for(let c=1;c=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Gh=function(o,e){return function(t,i){e(t,i,o)}},FT;let Vm=FT=class{static get(e){return e.getContribution(FT.ID)}constructor(e,t,i,n,s,r,a,l){this._contextMenuService=t,this._contextViewService=i,this._contextKeyService=n,this._keybindingService=s,this._menuService=r,this._configurationService=a,this._workspaceContextService=l,this._toDispose=new X,this._contextMenuIsBeingShownCount=0,this._editor=e,this._toDispose.add(this._editor.onContextMenu(d=>this._onContextMenu(d))),this._toDispose.add(this._editor.onMouseWheel(d=>{if(this._contextMenuIsBeingShownCount>0){const c=this._contextViewService.getContextViewElement(),h=d.srcElement;h.shadowRoot&&zu(c)===h.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(d=>{this._editor.getOption(24)&&d.keyCode===58&&(d.preventDefault(),d.stopPropagation(),this.showContextMenu())}))}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(24)){this._editor.focus(),e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position);return}if(e.target.type===12||e.target.type===6&&e.target.detail.injectedText)return;if(e.event.preventDefault(),e.event.stopPropagation(),e.target.type===11)return this._showScrollbarContextMenu(e.event);if(e.target.type!==6&&e.target.type!==7&&e.target.type!==1)return;if(this._editor.focus(),e.target.position){let i=!1;for(const n of this._editor.getSelections())if(n.containsPosition(e.target.position)){i=!0;break}i||this._editor.setPosition(e.target.position)}let t=null;e.target.type!==1&&(t=e.event),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(24)||!this._editor.hasModel())return;const t=this._getMenuActions(this._editor.getModel(),this._editor.isSimpleWidget?k.SimpleEditorContext:k.EditorContext);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){const i=[],n=this._menuService.createMenu(t,this._contextKeyService),s=n.getActions({arg:e.uri});n.dispose();for(const r of s){const[,a]=r;let l=0;for(const d of a)if(d instanceof _v){const c=this._getMenuActions(e,d.item.submenu);c.length>0&&(i.push(new dm(d.id,d.label,c)),l++)}else i.push(d),l++;l&&i.push(new zi)}return i.length&&i.pop(),i}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;const i=this._editor.getOption(60);this._editor.updateOptions({hover:{enabled:!1}});let n=t;if(!n){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const r=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),a=Mi(this._editor.getDomNode()),l=a.left+r.left,d=a.top+r.top+r.height;n={x:l,y:d}}const s=this._editor.getOption(127)&&!ra;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:s?this._editor.getDomNode():void 0,getAnchor:()=>n,getActions:()=>e,getActionViewItem:r=>{const a=this._keybindingFor(r);if(a)return new Em(r,r,{label:!0,keybinding:a.getLabel(),isMenu:!0});const l=r;return typeof l.getActionViewItem=="function"?l.getActionViewItem():new Em(r,r,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:r=>this._keybindingFor(r),onHide:r=>{this._contextMenuIsBeingShownCount--,this._editor.updateOptions({hover:i})}})}_showScrollbarContextMenu(e){if(!this._editor.hasModel()||Qse(this._workspaceContextService.getWorkspace()))return;const t=this._editor.getOption(73);let i=0;const n=d=>({id:`menu-action-${++i}`,label:d.label,tooltip:"",class:void 0,enabled:typeof d.enabled>"u"?!0:d.enabled,checked:d.checked,run:d.run}),s=(d,c)=>new dm(`menu-action-${++i}`,d,c,void 0),r=(d,c,h,u,g)=>{if(!c)return n({label:d,enabled:c,run:()=>{}});const f=_=>()=>{this._configurationService.updateValue(h,_)},p=[];for(const _ of g)p.push(n({label:_.label,checked:u===_.value,run:f(_.value)}));return s(d,p)},a=[];a.push(n({label:m("context.minimap.minimap","Minimap"),checked:t.enabled,run:()=>{this._configurationService.updateValue("editor.minimap.enabled",!t.enabled)}})),a.push(new zi),a.push(n({label:m("context.minimap.renderCharacters","Render Characters"),enabled:t.enabled,checked:t.renderCharacters,run:()=>{this._configurationService.updateValue("editor.minimap.renderCharacters",!t.renderCharacters)}})),a.push(r(m("context.minimap.size","Vertical size"),t.enabled,"editor.minimap.size",t.size,[{label:m("context.minimap.size.proportional","Proportional"),value:"proportional"},{label:m("context.minimap.size.fill","Fill"),value:"fill"},{label:m("context.minimap.size.fit","Fit"),value:"fit"}])),a.push(r(m("context.minimap.slider","Slider"),t.enabled,"editor.minimap.showSlider",t.showSlider,[{label:m("context.minimap.slider.mouseover","Mouse Over"),value:"mouseover"},{label:m("context.minimap.slider.always","Always"),value:"always"}]));const l=this._editor.getOption(127)&&!ra;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:l?this._editor.getDomNode():void 0,getAnchor:()=>e,getActions:()=>a,onHide:d=>{this._contextMenuIsBeingShownCount--,this._editor.focus()}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};Vm.ID="editor.contrib.contextmenu";Vm=FT=Cme([Gh(1,so),Gh(2,kl),Gh(3,Ae),Gh(4,Et),Gh(5,Xo),Gh(6,Qe),Gh(7,qu)],Vm);class wme extends he{constructor(){super({id:"editor.action.showContextMenu",label:m("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:E.textInputFocus,primary:1092,weight:100}})}run(e,t){var i;(i=Vm.get(t))===null||i===void 0||i.showContextMenu()}}vt(Vm.ID,Vm,2);Q(wme);class rk{constructor(e){this.selections=e}equals(e){const t=this.selections.length,i=e.selections.length;if(t!==i)return!1;for(let n=0;n{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeModelContent(t=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeCursorSelection(t=>{if(this._isCursorUndoRedo||!t.oldSelections||t.oldModelVersionId!==t.modelVersionId)return;const i=new rk(t.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(i)||(this._undoStack.push(new ak(i,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}cursorUndo(){!this._editor.hasModel()||this._undoStack.length===0||(this._redoStack.push(new ak(new rk(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){!this._editor.hasModel()||this._redoStack.length===0||(this._undoStack.push(new ak(new rk(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(e){this._isCursorUndoRedo=!0,this._editor.setSelections(e.cursorState.selections),this._editor.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),this._isCursorUndoRedo=!1}}og.ID="editor.contrib.cursorUndoRedoController";class Sme extends he{constructor(){super({id:"cursorUndo",label:m("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:E.textInputFocus,primary:2099,weight:100}})}run(e,t,i){var n;(n=og.get(t))===null||n===void 0||n.cursorUndo()}}class yme extends he{constructor(){super({id:"cursorRedo",label:m("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})}run(e,t,i){var n;(n=og.get(t))===null||n===void 0||n.cursorRedo()}}vt(og.ID,og,0);Q(Sme);Q(yme);class Lme{constructor(e,t,i){this.selection=e,this.targetPosition=t,this.copy=i,this.targetSelection=null}getEditOperations(e,t){const i=e.getValueInRange(this.selection);if(this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new D(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),i),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new _e(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new _e(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumberthis._onEditorMouseDown(t))),this._register(this._editor.onMouseUp(t=>this._onEditorMouseUp(t))),this._register(this._editor.onMouseDrag(t=>this._onEditorMouseDrag(t))),this._register(this._editor.onMouseDrop(t=>this._onEditorMouseDrop(t))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(t=>this.onEditorKeyDown(t))),this._register(this._editor.onKeyUp(t=>this.onEditorKeyUp(t))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){!this._editor.getOption(35)||this._editor.getOption(22)||($g(e)&&(this._modifierPressed=!0),this._mouseDown&&$g(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){!this._editor.getOption(35)||this._editor.getOption(22)||($g(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===wd.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){const t=e.target;if(this._dragSelection===null){const n=(this._editor.getSelections()||[]).filter(s=>t.position&&s.containsPosition(t.position));if(n.length===1)this._dragSelection=n[0];else return}$g(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){const t=new F(e.target.position.lineNumber,e.target.position.column);if(this._dragSelection===null){let i=null;if(e.event.shiftKey){const n=this._editor.getSelection();if(n){const{selectionStartLineNumber:s,selectionStartColumn:r}=n;i=[new _e(s,r,t.lineNumber,t.column)]}}else i=(this._editor.getSelections()||[]).map(n=>n.containsPosition(t)?new _e(t.lineNumber,t.column,t.lineNumber,t.column):n);this._editor.setSelections(i||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||($g(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(wd.ID,new Lme(this._dragSelection,t,$g(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){this._dndDecorationIds.set([{range:new D(e.lineNumber,e.column,e.lineNumber,e.column),options:wd._DECORATION_OPTIONS}]),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(e){return e.type===6||e.type===7}_hitMargin(e){return e.type===2||e.type===3||e.type===4}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}wd.ID="editor.contrib.dragAndDrop";wd.TRIGGER_KEY_VALUE=lt?6:5;wd._DECORATION_OPTIONS=ze.register({description:"dnd-target",className:"dnd-target"});vt(wd.ID,wd,2);var VA=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},wb=function(o,e){return function(t,i){e(t,i,o)}};const BL=m("builtIn","Built-in");class HA{async provideDocumentPasteEdits(e,t,i,n,s){const r=await this.getEdit(i,s);return r?{insertText:r.insertText,label:r.label,detail:r.detail,handledMimeType:r.handledMimeType,yieldTo:r.yieldTo}:void 0}async provideDocumentOnDropEdits(e,t,i,n){const s=await this.getEdit(i,n);return s?{insertText:s.insertText,label:s.label,handledMimeType:s.handledMimeType,yieldTo:s.yieldTo}:void 0}}class DH extends HA{constructor(){super(...arguments),this.id="text",this.dropMimeTypes=[pi.text],this.pasteMimeTypes=[pi.text]}async getEdit(e,t){const i=e.get(pi.text);if(!i||e.has(pi.uriList))return;const n=await i.asString();return{handledMimeType:pi.text,label:m("text.label","Insert Plain Text"),detail:BL,insertText:n}}}class xH extends HA{constructor(){super(...arguments),this.id="uri",this.dropMimeTypes=[pi.uriList],this.pasteMimeTypes=[pi.uriList]}async getEdit(e,t){const i=await kH(e);if(!i.length||t.isCancellationRequested)return;let n=0;const s=i.map(({uri:a,originalText:l})=>a.scheme===Ue.file?a.fsPath:(n++,l)).join(" ");let r;return n>0?r=i.length>1?m("defaultDropProvider.uriList.uris","Insert Uris"):m("defaultDropProvider.uriList.uri","Insert Uri"):r=i.length>1?m("defaultDropProvider.uriList.paths","Insert Paths"):m("defaultDropProvider.uriList.path","Insert Path"),{handledMimeType:pi.uriList,insertText:s,label:r,detail:BL}}}let WS=class extends HA{constructor(e){super(),this._workspaceContextService=e,this.id="relativePath",this.dropMimeTypes=[pi.uriList],this.pasteMimeTypes=[pi.uriList]}async getEdit(e,t){const i=await kH(e);if(!i.length||t.isCancellationRequested)return;const n=oa(i.map(({uri:s})=>{const r=this._workspaceContextService.getWorkspaceFolder(s);return r?Uee(r.uri,s):void 0}));if(n.length)return{handledMimeType:pi.uriList,insertText:n.join(" "),label:i.length>1?m("defaultDropProvider.uriList.relativePaths","Insert Relative Paths"):m("defaultDropProvider.uriList.relativePath","Insert Relative Path"),detail:BL}}};WS=VA([wb(0,qu)],WS);class Dme{constructor(){this.id="html",this.pasteMimeTypes=["text/html"],this._yieldTo=[{mimeType:pi.text}]}async provideDocumentPasteEdits(e,t,i,n,s){if(n.trigger!=="explicit"&&n.only!==this.id)return;const r=i.get("text/html"),a=await(r==null?void 0:r.asString());if(!(!a||s.isCancellationRequested))return{insertText:a,yieldTo:this._yieldTo,label:m("pasteHtmlLabel","Insert HTML"),detail:BL}}}async function kH(o){const e=o.get(pi.uriList);if(!e)return[];const t=await e.asString(),i=[];for(const n of kL.parse(t))try{i.push({uri:xe.parse(n),originalText:n})}catch{}return i}let BT=class extends V{constructor(e,t){super(),this._register(e.documentOnDropEditProvider.register("*",new DH)),this._register(e.documentOnDropEditProvider.register("*",new xH)),this._register(e.documentOnDropEditProvider.register("*",new WS(t)))}};BT=VA([wb(0,fe),wb(1,qu)],BT);let WT=class extends V{constructor(e,t){super(),this._register(e.documentPasteEditProvider.register("*",new DH)),this._register(e.documentPasteEditProvider.register("*",new xH)),this._register(e.documentPasteEditProvider.register("*",new WS(t))),this._register(e.documentPasteEditProvider.register("*",new Dme))}};WT=VA([wb(0,fe),wb(1,qu)],WT);vt(Nd.ID,Nd,0);_0(WT);le(new class extends un{constructor(){super({id:IV,precondition:EV,kbOpts:{weight:100,primary:2137}})}runEditorCommand(o,e,t){var i;return(i=Nd.get(e))===null||i===void 0?void 0:i.changePasteType()}});Q(class extends he{constructor(){super({id:"editor.action.pasteAs",label:m("pasteAs","Paste As..."),alias:"Paste As...",precondition:E.writable,metadata:{description:"Paste as",args:[{name:"args",schema:{type:"object",properties:{id:{type:"string",description:m("pasteAs.id","The id of the paste edit to try applying. If not provided, the editor will show a picker.")}}}}]}})}run(o,e,t){var i;const n=typeof(t==null?void 0:t.id)=="string"?t.id:void 0;return(i=Nd.get(e))===null||i===void 0?void 0:i.pasteAs(n)}});Q(class extends he{constructor(){super({id:"editor.action.pasteAsText",label:m("pasteAsText","Paste as Text"),alias:"Paste as Text",precondition:E.writable})}run(o,e,t){var i;return(i=Nd.get(e))===null||i===void 0?void 0:i.pasteAs("text")}});class xme{constructor(){this._dragOperations=new Map}removeDragOperationTransfer(e){if(e&&this._dragOperations.has(e)){const t=this._dragOperations.get(e);return this._dragOperations.delete(e),t}}}class N3{constructor(e){this.identifier=e}}const IH=ot("treeViewsDndService");ht(IH,xme,1);var kme=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},UC=function(o,e){return function(t,i){e(t,i,o)}},VT;const EH="editor.experimental.dropIntoEditor.defaultProvider",NH="editor.changeDropType",TH=new de("dropWidgetVisible",!1,m("dropWidgetVisible","Whether the drop widget is showing"));let Hm=VT=class extends V{static get(e){return e.getContribution(VT.ID)}constructor(e,t,i,n,s){super(),this._configService=i,this._languageFeaturesService=n,this._treeViewsDragAndDropService=s,this.treeItemsTransfer=fb.getInstance(),this._dropProgressManager=this._register(t.createInstance(kS,"dropIntoEditor",e)),this._postDropWidgetManager=this._register(t.createInstance(ES,"dropIntoEditor",e,TH,{id:NH,label:m("postDropWidgetTitle","Show drop options...")})),this._register(e.onDropIntoEditor(r=>this.onDropIntoEditor(e,r.position,r.event)))}changeDropType(){this._postDropWidgetManager.tryShowSelector()}async onDropIntoEditor(e,t,i){var n;if(!i.dataTransfer||!e.hasModel())return;(n=this._currentOperation)===null||n===void 0||n.cancel(),e.focus(),e.setPosition(t);const s=tn(async r=>{const a=new oh(e,1,void 0,r);try{const l=await this.extractDataTransferData(i);if(l.size===0||a.token.isCancellationRequested)return;const d=e.getModel();if(!d)return;const c=this._languageFeaturesService.documentOnDropEditProvider.ordered(d).filter(u=>u.dropMimeTypes?u.dropMimeTypes.some(g=>l.matches(g)):!0),h=await this.getDropEdits(c,d,t,l,a);if(a.token.isCancellationRequested)return;if(h.length){const u=this.getInitialActiveEditIndex(d,h),g=e.getOption(36).showDropSelector==="afterDrop";await this._postDropWidgetManager.applyEditAndShowIfNeeded([D.fromPositions(t)],{activeEditIndex:u,allEdits:h},g,r)}}finally{a.dispose(),this._currentOperation===s&&(this._currentOperation=void 0)}});this._dropProgressManager.showWhile(t,m("dropIntoEditorProgress","Running drop handlers. Click to cancel"),s),this._currentOperation=s}async getDropEdits(e,t,i,n,s){const r=await qb(Promise.all(e.map(async l=>{try{const d=await l.provideDocumentOnDropEdits(t,i,n,s.token);if(d)return{...d,providerId:l.id}}catch(d){console.error(d)}})),s.token),a=oa(r??[]);return xV(a)}getInitialActiveEditIndex(e,t){const i=this._configService.getValue(EH,{resource:e.uri});for(const[n,s]of Object.entries(i)){const r=t.findIndex(a=>s===a.providerId&&a.handledMimeType&&CV(n,[a.handledMimeType]));if(r>=0)return r}return 0}async extractDataTransferData(e){if(!e.dataTransfer)return new bV;const t=yV(e.dataTransfer);if(this.treeItemsTransfer.hasData(N3.prototype)){const i=this.treeItemsTransfer.getData(N3.prototype);if(Array.isArray(i))for(const n of i){const s=await this._treeViewsDragAndDropService.removeDragOperationTransfer(n.identifier);if(s)for(const[r,a]of s)t.replace(r,a)}}return t}};Hm.ID="editor.contrib.dropIntoEditorController";Hm=VT=kme([UC(1,Ie),UC(2,Qe),UC(3,fe),UC(4,IH)],Hm);vt(Hm.ID,Hm,2);le(new class extends un{constructor(){super({id:NH,precondition:TH,kbOpts:{weight:100,primary:2137}})}runEditorCommand(o,e,t){var i;(i=Hm.get(e))===null||i===void 0||i.changeDropType()}});_0(BT);li.as(ba.Configuration).registerConfiguration({...Ky,properties:{[EH]:{type:"object",scope:5,description:m("defaultProviderDescription","Configures the default drop provider to use for content of a given mime type."),default:{},additionalProperties:{type:"string"}}}});class Gn{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const e=this._findScopeDecorationIds.map(t=>this._editor.getModel().getDecorationRange(t)).filter(t=>!!t);if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){const t=this._decorations.indexOf(e);return t>=0?t+1:1}getDecorationRangeAt(e){const t=e{if(this._highlightedDecorationId!==null&&(n.changeDecorationOptions(this._highlightedDecorationId,Gn._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),t!==null&&(this._highlightedDecorationId=t,n.changeDecorationOptions(this._highlightedDecorationId,Gn._CURRENT_FIND_MATCH_DECORATION)),this._rangeHighlightDecorationId!==null&&(n.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),t!==null){let s=this._editor.getModel().getDecorationRange(t);if(s.startLineNumber!==s.endLineNumber&&s.endColumn===1){const r=s.endLineNumber-1,a=this._editor.getModel().getLineMaxColumn(r);s=new D(s.startLineNumber,s.startColumn,r,a)}this._rangeHighlightDecorationId=n.addDecoration(s,Gn._RANGE_HIGHLIGHT_DECORATION)}}),i}set(e,t){this._editor.changeDecorations(i=>{let n=Gn._FIND_MATCH_DECORATION;const s=[];if(e.length>1e3){n=Gn._FIND_MATCH_NO_OVERVIEW_DECORATION;const a=this._editor.getModel().getLineCount(),d=this._editor.getLayoutInfo().height/a,c=Math.max(2,Math.ceil(3/d));let h=e[0].range.startLineNumber,u=e[0].range.endLineNumber;for(let g=1,f=e.length;g=p.startLineNumber?p.endLineNumber>u&&(u=p.endLineNumber):(s.push({range:new D(h,1,u,1),options:Gn._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),h=p.startLineNumber,u=p.endLineNumber)}s.push({range:new D(h,1,u,1),options:Gn._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}const r=new Array(e.length);for(let a=0,l=e.length;ai.removeDecoration(a)),this._findScopeDecorationIds=[]),t!=null&&t.length&&(this._findScopeDecorationIds=t.map(a=>i.addDecoration(a,Gn._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(this._decorations.length===0)return null;for(let t=this._decorations.length-1;t>=0;t--){const i=this._decorations[t],n=this._editor.getModel().getDecorationRange(i);if(!(!n||n.endLineNumber>e.lineNumber)){if(n.endLineNumbere.column))return n}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(this._decorations.length===0)return null;for(let t=0,i=this._decorations.length;te.lineNumber)return s;if(!(s.startColumn0){const i=[];for(let r=0;rD.compareRangesUsingStarts(r.range,a.range));const n=[];let s=i[0];for(let r=1;r0?e[0].toUpperCase()+e.substr(1):o[0][0].toUpperCase()!==o[0][0]&&e.length>0?e[0].toLowerCase()+e.substr(1):e}else return e}function T3(o,e,t){return o[0].indexOf(t)!==-1&&e.indexOf(t)!==-1&&o[0].split(t).length===e.split(t).length}function M3(o,e,t){const i=e.split(t),n=o[0].split(t);let s="";return i.forEach((r,a)=>{s+=MH([n[a]],r)+t}),s.slice(0,-1)}class R3{constructor(e){this.staticValue=e,this.kind=0}}class Eme{constructor(e){this.pieces=e,this.kind=1}}class zm{static fromStaticValue(e){return new zm([Pu.staticValue(e)])}get hasReplacementPatterns(){return this._state.kind===1}constructor(e){!e||e.length===0?this._state=new R3(""):e.length===1&&e[0].staticValue!==null?this._state=new R3(e[0].staticValue):this._state=new Eme(e)}buildReplaceString(e,t){if(this._state.kind===0)return t?MH(e,this._state.staticValue):this._state.staticValue;let i="";for(let n=0,s=this._state.pieces.length;n0){const l=[],d=r.caseOps.length;let c=0;for(let h=0,u=a.length;h=d){l.push(a.slice(h));break}switch(r.caseOps[c]){case"U":l.push(a[h].toUpperCase());break;case"u":l.push(a[h].toUpperCase()),c++;break;case"L":l.push(a[h].toLowerCase());break;case"l":l.push(a[h].toLowerCase()),c++;break;default:l.push(a[h])}}a=l.join("")}i+=a}return i}static _substitute(e,t){if(t===null)return"";if(e===0)return t[0];let i="";for(;e>0;){if(e=n)break;const r=o.charCodeAt(i);switch(r){case 92:t.emitUnchanged(i-1),t.emitStatic("\\",i+1);break;case 110:t.emitUnchanged(i-1),t.emitStatic(` diff --git a/assets/fyG9LO_K.js b/assets/CTFN1c0r.js similarity index 98% rename from assets/fyG9LO_K.js rename to assets/CTFN1c0r.js index 61513a9..f2b91b7 100644 --- a/assets/fyG9LO_K.js +++ b/assets/CTFN1c0r.js @@ -1,4 +1,4 @@ -import{m as i}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m as i}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/CrJvmnpK.js b/assets/CZC2LNhJ.js similarity index 98% rename from assets/CrJvmnpK.js rename to assets/CZC2LNhJ.js index 7b6d8c9..8aacd60 100644 --- a/assets/CrJvmnpK.js +++ b/assets/CZC2LNhJ.js @@ -1 +1 @@ -import{aq as _,f as w,R as b,O as P,N as B,aP as N,aQ as L,P as T,aR as U,X as C,aS as O,aT as V,aU as j,aV as I,aW as D,av as E,aX as q,aw as R,aY as F,aZ as H,a_ as z}from"./LLeh9DNx.js";async function k(t,r=_()){const{path:s,matched:e}=r.resolve(t);if(!e.length||(r._routePreloaded||(r._routePreloaded=new Set),r._routePreloaded.has(s)))return;const n=r._preloadPromises=r._preloadPromises||[];if(n.length>4)return Promise.all(n).then(()=>k(t,r));r._routePreloaded.add(s);const i=e.map(u=>{var a;return(a=u.components)==null?void 0:a.default}).filter(u=>typeof u=="function");for(const u of i){const a=Promise.resolve(u()).catch(()=>{}).finally(()=>n.splice(n.indexOf(a)));n.push(a)}await Promise.all(n)}const M=(...t)=>t.find(r=>r!==void 0);function Q(t){const r=t.componentName||"NuxtLink";function s(e,n){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return S(e,t.trailingSlash);const i="path"in e&&e.path!==void 0?e.path:n(e).path;return{...e,name:void 0,path:S(i,t.trailingSlash)}}return w({name:r,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(e,{slots:n}){const i=_(),u=E(),a=b(()=>{const l=e.to||e.href||"";return s(l,i.resolve)}),f=b(()=>typeof a.value=="string"&&q(a.value,{acceptRelative:!0})),g=b(()=>e.target&&e.target!=="_self"),p=b(()=>e.external||g.value?!0:typeof a.value=="object"?!1:a.value===""||f.value),x=P(!1),v=P(null),A=l=>{var d;v.value=e.custom?(d=l==null?void 0:l.$el)==null?void 0:d.nextElementSibling:l==null?void 0:l.$el};if(e.prefetch!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!X()){const d=R();let h,o=null;B(()=>{const y=W();N(()=>{h=L(()=>{var c;(c=v==null?void 0:v.value)!=null&&c.tagName&&(o=y.observe(v.value,async()=>{o==null||o(),o=null;const m=typeof a.value=="string"?a.value:i.resolve(a.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",m).catch(()=>{}),!p.value&&k(a.value,i).catch(()=>{})]),x.value=!0}))})})}),T(()=>{h&&U(h),o==null||o(),o=null})}return()=>{var o,y;if(!p.value){const c={ref:A,to:a.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(x.value&&(c.class=e.prefetchedClass||t.prefetchedClass),c.rel=e.rel||void 0),C(O("RouterLink"),c,n.default)}const l=typeof a.value=="object"?((o=i.resolve(a.value))==null?void 0:o.href)??null:a.value&&!e.external&&!f.value?s(V(u.app.baseURL,a.value),i.resolve):a.value||null,d=e.target||null,h=M(e.noRel?"":e.rel,t.externalRelAttribute,f.value||g.value?"noopener noreferrer":"")||null;if(e.custom){if(!n.default)return null;const c=()=>F(l,{replace:e.replace,external:e.external});return n.default({href:l,navigate:c,get route(){if(!l)return;const m=j(l);return{path:m.pathname,fullPath:m.pathname,get query(){return I(m.search)},hash:m.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l}},rel:h,target:d,isExternal:p.value,isActive:!1,isExactActive:!1})}return C("a",{ref:v,href:l,rel:h,target:d},(y=n.default)==null?void 0:y.call(n))}}})}const Y=Q(D);function S(t,r){const s=r==="append"?H:z;return q(t)&&!t.startsWith("http")?t:s(t,!0)}function W(){const t=R();if(t._observer)return t._observer;let r=null;const s=new Map,e=(i,u)=>(r||(r=new IntersectionObserver(a=>{for(const f of a){const g=s.get(f.target);(f.isIntersecting||f.intersectionRatio>0)&&g&&g()}})),s.set(i,u),r.observe(i),()=>{s.delete(i),r.unobserve(i),s.size===0&&(r.disconnect(),r=null)});return t._observer={observe:e}}function X(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}export{Y as _}; +import{aq as _,f as w,R as b,O as P,N as B,aP as N,aQ as L,P as T,aR as U,X as C,aS as O,aT as V,aU as j,aV as I,aW as D,av as E,aX as q,aw as R,aY as F,aZ as H,a_ as z}from"./BZDDQZjI.js";async function k(t,r=_()){const{path:s,matched:e}=r.resolve(t);if(!e.length||(r._routePreloaded||(r._routePreloaded=new Set),r._routePreloaded.has(s)))return;const n=r._preloadPromises=r._preloadPromises||[];if(n.length>4)return Promise.all(n).then(()=>k(t,r));r._routePreloaded.add(s);const i=e.map(u=>{var a;return(a=u.components)==null?void 0:a.default}).filter(u=>typeof u=="function");for(const u of i){const a=Promise.resolve(u()).catch(()=>{}).finally(()=>n.splice(n.indexOf(a)));n.push(a)}await Promise.all(n)}const M=(...t)=>t.find(r=>r!==void 0);function Q(t){const r=t.componentName||"NuxtLink";function s(e,n){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return S(e,t.trailingSlash);const i="path"in e&&e.path!==void 0?e.path:n(e).path;return{...e,name:void 0,path:S(i,t.trailingSlash)}}return w({name:r,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(e,{slots:n}){const i=_(),u=E(),a=b(()=>{const l=e.to||e.href||"";return s(l,i.resolve)}),f=b(()=>typeof a.value=="string"&&q(a.value,{acceptRelative:!0})),g=b(()=>e.target&&e.target!=="_self"),p=b(()=>e.external||g.value?!0:typeof a.value=="object"?!1:a.value===""||f.value),x=P(!1),v=P(null),A=l=>{var d;v.value=e.custom?(d=l==null?void 0:l.$el)==null?void 0:d.nextElementSibling:l==null?void 0:l.$el};if(e.prefetch!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!X()){const d=R();let h,o=null;B(()=>{const y=W();N(()=>{h=L(()=>{var c;(c=v==null?void 0:v.value)!=null&&c.tagName&&(o=y.observe(v.value,async()=>{o==null||o(),o=null;const m=typeof a.value=="string"?a.value:i.resolve(a.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",m).catch(()=>{}),!p.value&&k(a.value,i).catch(()=>{})]),x.value=!0}))})})}),T(()=>{h&&U(h),o==null||o(),o=null})}return()=>{var o,y;if(!p.value){const c={ref:A,to:a.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(x.value&&(c.class=e.prefetchedClass||t.prefetchedClass),c.rel=e.rel||void 0),C(O("RouterLink"),c,n.default)}const l=typeof a.value=="object"?((o=i.resolve(a.value))==null?void 0:o.href)??null:a.value&&!e.external&&!f.value?s(V(u.app.baseURL,a.value),i.resolve):a.value||null,d=e.target||null,h=M(e.noRel?"":e.rel,t.externalRelAttribute,f.value||g.value?"noopener noreferrer":"")||null;if(e.custom){if(!n.default)return null;const c=()=>F(l,{replace:e.replace,external:e.external});return n.default({href:l,navigate:c,get route(){if(!l)return;const m=j(l);return{path:m.pathname,fullPath:m.pathname,get query(){return I(m.search)},hash:m.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l}},rel:h,target:d,isExternal:p.value,isActive:!1,isExactActive:!1})}return C("a",{ref:v,href:l,rel:h,target:d},(y=n.default)==null?void 0:y.call(n))}}})}const Y=Q(D);function S(t,r){const s=r==="append"?H:z;return q(t)&&!t.startsWith("http")?t:s(t,!0)}function W(){const t=R();if(t._observer)return t._observer;let r=null;const s=new Map,e=(i,u)=>(r||(r=new IntersectionObserver(a=>{for(const f of a){const g=s.get(f.target);(f.isIntersecting||f.intersectionRatio>0)&&g&&g()}})),s.set(i,u),r.observe(i),()=>{s.delete(i),r.unobserve(i),s.size===0&&(r.disconnect(),r=null)});return t._observer={observe:e}}function X(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}export{Y as _}; diff --git a/assets/B7XMFlob.js b/assets/CbPdyUzT.js similarity index 99% rename from assets/B7XMFlob.js rename to assets/CbPdyUzT.js index 9d77736..b0a19ba 100644 --- a/assets/B7XMFlob.js +++ b/assets/CbPdyUzT.js @@ -1,4 +1,4 @@ -import{m as F}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m as F}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/40djI6jg.js b/assets/CmgRl0j7.js similarity index 98% rename from assets/40djI6jg.js rename to assets/CmgRl0j7.js index a878ed4..c5b4610 100644 --- a/assets/40djI6jg.js +++ b/assets/CmgRl0j7.js @@ -1,4 +1,4 @@ -import{m as d}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m as d}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/CtjBds-2.js b/assets/D4MbSk1d.js similarity index 98% rename from assets/CtjBds-2.js rename to assets/D4MbSk1d.js index 975829d..8c8fcc2 100644 --- a/assets/CtjBds-2.js +++ b/assets/D4MbSk1d.js @@ -1,4 +1,4 @@ -import{m as a}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m as a}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/Rkcm0t1T.js b/assets/D53MXHFI.js similarity index 99% rename from assets/Rkcm0t1T.js rename to assets/D53MXHFI.js index 696d490..ed75b3e 100644 --- a/assets/Rkcm0t1T.js +++ b/assets/D53MXHFI.js @@ -1,4 +1,4 @@ -import{m as je}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m as je}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/C8vgH9R5.js b/assets/D6-kzAJD.js similarity index 95% rename from assets/C8vgH9R5.js rename to assets/D6-kzAJD.js index 7b5ad71..5cf1a91 100644 --- a/assets/C8vgH9R5.js +++ b/assets/D6-kzAJD.js @@ -1 +1 @@ -import{_ as a}from"./CrJvmnpK.js";import{_ as s,u as i,o as u,c,a as e,t as o,b as d,w as l,d as p,p as h,e as b}from"./LLeh9DNx.js";const f=t=>(h("data-v-865b13d2"),t=t(),b(),t),g={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},x=f(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),m={class:"max-w-520px text-center z-20"},y=["textContent"],_=["textContent"],k={class:"w-full flex items-center justify-center"},w={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const n=t;return i({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(z,S)=>{const r=a;return u(),c("div",g,[x,e("div",m,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:o(t.statusCode)},null,8,y),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:o(t.description)},null,8,_),e("div",k,[d(r,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:l(()=>[p(o(t.backHome),1)]),_:1})])])])}}},N=s(w,[["__scopeId","data-v-865b13d2"]]);export{N as default}; +import{_ as a}from"./CZC2LNhJ.js";import{_ as s,u as i,o as u,c,a as e,t as o,b as d,w as l,d as p,p as h,e as b}from"./BZDDQZjI.js";const f=t=>(h("data-v-865b13d2"),t=t(),b(),t),g={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},x=f(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),m={class:"max-w-520px text-center z-20"},y=["textContent"],_=["textContent"],k={class:"w-full flex items-center justify-center"},w={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const n=t;return i({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(z,S)=>{const r=a;return u(),c("div",g,[x,e("div",m,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:o(t.statusCode)},null,8,y),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:o(t.description)},null,8,_),e("div",k,[d(r,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:l(()=>[p(o(t.backHome),1)]),_:1})])])])}}},N=s(w,[["__scopeId","data-v-865b13d2"]]);export{N as default}; diff --git a/assets/CzN3yrO5.js b/assets/DA3NC5Dd.js similarity index 97% rename from assets/CzN3yrO5.js rename to assets/DA3NC5Dd.js index deb4503..efefe25 100644 --- a/assets/CzN3yrO5.js +++ b/assets/DA3NC5Dd.js @@ -1,4 +1,4 @@ -import{m}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/DDzfXkp7.js b/assets/DDzfXkp7.js new file mode 100644 index 0000000..0e2249b --- /dev/null +++ b/assets/DDzfXkp7.js @@ -0,0 +1 @@ +import{ay as $t,az as he,aA as Ot,A as K,aB as jt,aC as ot,aD as qt,aE as Pt,Y as ft,ab as pe,_ as xt,o as k,c as $,a as x,d as Me,S as me,f as Bt,g as ye,w as Ft,a6 as kt,a1 as At,t as Nt,aF as He,aG as $e,a4 as Be,y as Ee,aH as Fe,aI as Ve,k as We,l as Ge,q as Ue,m as Ye,n as Ke,r as Xe,s as ze,aJ as Oe,a9 as Z,al as Ct,aK as je,aa as Rt,G as Zt,F as qe,ak as Ze,aL as be,E as et,z as Je,Z as Lt,aM as Qe,C as tn,D as pt,I as en,ae as nn,Q as on,R as Dt,U as Jt,h as gt,T as rn,b as Q,$ as sn,a0 as an,V as cn,aN as ln,aO as un,j as Qt,v as te,a5 as ee}from"./BZDDQZjI.js";import{_ as Vt}from"./CZC2LNhJ.js";var Wt=t=>typeof t=="object"&&t!==null&&t.nodeType===1,dn=t=>Wt(t)&&t.tagName==="IFRAME";function gn(t){return Wt(t)?t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0:!1}var ve="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",we=(t,e=!1)=>{if(!t)return[];const n=Array.from(t.querySelectorAll(ve));(e==!0||e=="if-empty"&&n.length===0)&&Wt(t)&&bt(t)&&n.unshift(t);const i=n.filter(bt);return i.forEach((r,s)=>{if(dn(r)&&r.contentDocument){const c=r.contentDocument.body;i.splice(s,1,...we(c))}}),i};function bt(t){return!t||t.closest("[inert]")?!1:t.matches(ve)&&gn(t)}function gi(t,e){const[n]=we(t,e);return n||null}function fn(t){const e={each(n){var o;for(let i=0;i<((o=t.frames)==null?void 0:o.length);i+=1){const r=t.frames[i];r&&n(r)}},addEventListener(n,o,i){return e.each(r=>{try{r.document.addEventListener(n,o,i)}catch{}}),()=>{try{e.removeEventListener(n,o,i)}catch{}}},removeEventListener(n,o,i){e.each(r=>{try{r.document.removeEventListener(n,o,i)}catch{}})}};return e}var ne="pointerdown.outside",oe="focus.outside";function hn(t){for(const e of t)if(Pt(e)&&bt(e))return!0;return!1}var Te=t=>"clientY"in t;function pn(t,e){if(!Te(e)||!t)return!1;const n=t.getBoundingClientRect();return n.width===0||n.height===0?!1:n.top<=e.clientY&&e.clientY<=n.top+n.height&&n.left<=e.clientX&&e.clientX<=n.left+n.width}function mn(t){const e=ot(t);if(!e||!Te(t))return!1;const o=e.scrollHeight>e.clientHeight&&t.clientX>e.clientWidth,r=e.scrollWidth>e.clientWidth&&t.clientY>e.clientHeight;return o||r}function yn(t,e){const{exclude:n,onFocusOutside:o,onPointerDownOutside:i,onInteractOutside:r,defer:s}=e;if(!t)return;const c=$t(t),l=he(t),g=fn(l);function p(f){const y=ot(f);return!Pt(y)||ft(t,y)||pn(t,f)||mn(f)?!1:!(n!=null&&n(y))}let a;function u(f){function y(){var v;const O=s?K:w=>w(),b=((v=f.composedPath)==null?void 0:v.call(f))??[f.target];O(()=>{if(!(!t||!p(f))){if(i||r){const w=qt(i,r);t.addEventListener(ne,w,{once:!0})}jt(t,ne,{bubbles:!1,cancelable:!0,detail:{originalEvent:f,contextmenu:pe(f),focusable:hn(b)}})}})}f.pointerType==="touch"?(g.removeEventListener("click",y),c.removeEventListener("click",y),a=y,c.addEventListener("click",y,{once:!0}),g.addEventListener("click",y,{once:!0})):y()}const d=new Set,m=setTimeout(()=>{d.add(g.addEventListener("pointerdown",u,!0)),d.add(Ot(c,"pointerdown",u,!0))},0);function h(f){(s?K:O=>O())(()=>{if(!(!t||!p(f))){if(o||r){const O=qt(o,r);t.addEventListener(oe,O,{once:!0})}jt(t,oe,{bubbles:!1,cancelable:!0,detail:{originalEvent:f,contextmenu:!1,focusable:bt(ot(f))}})}})}return d.add(Ot(c,"focusin",h,!0)),d.add(g.addEventListener("focusin",h,!0)),()=>{clearTimeout(m),a&&(g.removeEventListener("click",a),c.removeEventListener("click",a)),d.forEach(f=>f())}}function En(t,e){const{defer:n}=e,o=n?K:r=>r(),i=[];return i.push(o(()=>{const r=typeof t=="function"?t():t;i.push(yn(r,e))})),()=>{i.forEach(r=>r==null?void 0:r())}}const On={},bn=["fill"],vn=x("circle",{cx:"15.672",cy:"15.184",r:"11.544","fill-opacity":"0.15"},null,-1),wn=x("path",{d:"M11.244 30.525c.532.036.656-.003 1.038-.165.241-.138.38-.35.499-.677l2.204-6.471c.068-.536 1.211-1.736 2.556-1.608.093.009.172.073.26.115 3.57 1.694 9.404 3.535 11.036.032.054-.116.099-.21.088-.324-.014-.154-.16-.311-.218-.386l-9.194-11.43 2.554-7.6a.456.456 0 0 0 .003-.288.394.394 0 0 0-.344-.26.503.503 0 0 0-.376.167L4.001 19.347c-.614.699-.878.905-.925 1.864-.039.79.357 1.251.646 1.623l6.538 7.135c.236.298.584.53.984.556Zm7.953-16.495a1.783 1.783 0 1 1-.003 3.565 1.783 1.783 0 0 1 .003-3.565Zm.294.529a.902.902 0 1 1 0 1.804.902.902 0 0 1 0-1.804Z"},null,-1),Tn=[vn,wn];function Pn(t,e){var n;return k(),$("svg",{width:"1.7em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:((n=t.$colorMode)==null?void 0:n.preference)==="dark"?"#e2e8f0":"#1e293b"},Tn,8,bn)}const xn=xt(On,[["render",Pn]]),_n={},In=x("span",{"text-brand":""},"Resume",-1);function Cn(t,e){return k(),$(me,null,[In,Me(".md")],64)}const Rn=xt(_n,[["render",Cn]]),Ln={class:"truncate max-w-xs hide-on-mobile"},Sn=Bt({__name:"NavItem",props:{label:{},link:{},icon:{}},setup(t){return(e,n)=>{const o=Vt;return k(),ye(o,{class:"hstack cursor-pointer space-x-1",to:e.link},{default:Ft(()=>[e.icon?(k(),$("span",{key:0,class:kt(e.icon),"md:text-lg":""},null,2)):At("",!0),x("span",Ln,Nt(e.label),1)]),_:1},8,["to"])}}}),X=Math.min,C=Math.max,vt=Math.round,Et=Math.floor,z=t=>({x:t,y:t}),kn={left:"right",right:"left",bottom:"top",top:"bottom"},An={start:"end",end:"start"};function Mt(t,e,n){return C(t,X(e,n))}function rt(t,e){return typeof t=="function"?t(e):t}function j(t){return t.split("-")[0]}function st(t){return t.split("-")[1]}function Pe(t){return t==="x"?"y":"x"}function Gt(t){return t==="y"?"height":"width"}function mt(t){return["top","bottom"].includes(j(t))?"y":"x"}function Ut(t){return Pe(mt(t))}function Nn(t,e,n){n===void 0&&(n=!1);const o=st(t),i=Ut(t),r=Gt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=wt(s)),[s,wt(s)]}function Dn(t){const e=wt(t);return[Ht(t),e,Ht(e)]}function Ht(t){return t.replace(/start|end/g,e=>An[e])}function Mn(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function Hn(t,e,n,o){const i=st(t);let r=Mn(j(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(Ht)))),r}function wt(t){return t.replace(/left|right|bottom|top/g,e=>kn[e])}function $n(t){return{top:0,right:0,bottom:0,left:0,...t}}function xe(t){return typeof t!="number"?$n(t):{top:t,right:t,bottom:t,left:t}}function Tt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ie(t,e,n){let{reference:o,floating:i}=t;const r=mt(e),s=Ut(e),c=Gt(s),l=j(e),g=r==="y",p=o.x+o.width/2-i.width/2,a=o.y+o.height/2-i.height/2,u=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:p,y:o.y-i.height};break;case"bottom":d={x:p,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:a};break;case"left":d={x:o.x-i.width,y:a};break;default:d={x:o.x,y:o.y}}switch(st(e)){case"start":d[s]-=u*(n&&g?-1:1);break;case"end":d[s]+=u*(n&&g?-1:1);break}return d}const Bn=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let g=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:a}=ie(g,o,l),u=o,d={},m=0;for(let h=0;h({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:g,padding:p=0}=rt(t,e)||{};if(g==null)return{};const a=xe(p),u={x:n,y:o},d=Ut(i),m=Gt(d),h=await s.getDimensions(g),f=d==="y",y=f?"top":"left",O=f?"bottom":"right",b=f?"clientHeight":"clientWidth",v=r.reference[m]+r.reference[d]-u[d]-r.floating[m],w=u[d]-r.reference[d],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(g));let _=T?T[b]:0;(!_||!await(s.isElement==null?void 0:s.isElement(T)))&&(_=c.floating[b]||r.floating[m]);const D=v/2-w/2,U=_/2-h[m]/2-1,at=X(a[y],U),ct=X(a[O],U),L=at,lt=_-h[m]-ct,I=_/2-h[m]/2+D,M=Mt(L,I,lt),H=!l.arrow&&st(i)!=null&&I!==M&&r.reference[m]/2-(IL<=0)){var U,at;const L=(((U=r.flip)==null?void 0:U.index)||0)+1,lt=w[L];if(lt)return{data:{index:L,overflows:D},reset:{placement:lt}};let I=(at=D.filter(M=>M.overflows[0]<=0).sort((M,H)=>M.overflows[1]-H.overflows[1])[0])==null?void 0:at.placement;if(!I)switch(d){case"bestFit":{var ct;const M=(ct=D.map(H=>[H.placement,H.overflows.filter(F=>F>0).reduce((F,De)=>F+De,0)]).sort((H,F)=>H[1]-F[1])[0])==null?void 0:ct[0];M&&(I=M);break}case"initialPlacement":I=c;break}if(i!==I)return{reset:{placement:I}}}return{}}}};async function Wn(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=j(n),c=st(n),l=mt(n)==="y",g=["left","top"].includes(s)?-1:1,p=r&&l?-1:1,a=rt(e,t);let{mainAxis:u,crossAxis:d,alignmentAxis:m}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...a};return c&&typeof m=="number"&&(d=c==="end"?m*-1:m),l?{x:d*p,y:u*g}:{x:u*g,y:d*p}}const Gn=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await Wn(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},Un=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:f=>{let{x:y,y:O}=f;return{x:y,y:O}}},...l}=rt(t,e),g={x:n,y:o},p=await Yt(e,l),a=mt(j(i)),u=Pe(a);let d=g[u],m=g[a];if(r){const f=u==="y"?"top":"left",y=u==="y"?"bottom":"right",O=d+p[f],b=d-p[y];d=Mt(O,d,b)}if(s){const f=a==="y"?"top":"left",y=a==="y"?"bottom":"right",O=m+p[f],b=m-p[y];m=Mt(O,m,b)}const h=c.fn({...e,[u]:d,[a]:m});return{...h,data:{x:h.x-n,y:h.y-o}}}}},Yn=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:i,elements:r}=e,{apply:s=()=>{},...c}=rt(t,e),l=await Yt(e,c),g=j(n),p=st(n),a=mt(n)==="y",{width:u,height:d}=o.floating;let m,h;g==="top"||g==="bottom"?(m=g,h=p===(await(i.isRTL==null?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(h=g,m=p==="end"?"top":"bottom");const f=d-l[m],y=u-l[h],O=!e.middlewareData.shift;let b=f,v=y;if(a){const T=u-l.left-l.right;v=p||O?X(y,T):T}else{const T=d-l.top-l.bottom;b=p||O?X(f,T):T}if(O&&!p){const T=C(l.left,0),_=C(l.right,0),D=C(l.top,0),U=C(l.bottom,0);a?v=u-2*(T!==0||_!==0?T+_:C(l.left,l.right)):b=d-2*(D!==0||U!==0?D+U:C(l.top,l.bottom))}await s({...e,availableWidth:v,availableHeight:b});const w=await i.getDimensions(r.floating);return u!==w.width||d!==w.height?{reset:{rects:!0}}:{}}}};function q(t){return _e(t)?(t.nodeName||"").toLowerCase():"#document"}function R(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function G(t){var e;return(e=(_e(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function _e(t){return t instanceof Node||t instanceof R(t).Node}function W(t){return t instanceof Element||t instanceof R(t).Element}function B(t){return t instanceof HTMLElement||t instanceof R(t).HTMLElement}function re(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof R(t).ShadowRoot}function yt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=A(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Kn(t){return["table","td","th"].includes(q(t))}function Kt(t){const e=Xt(),n=A(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Xn(t){let e=it(t);for(;B(e)&&!_t(e);){if(Kt(e))return e;e=it(e)}return null}function Xt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function _t(t){return["html","body","#document"].includes(q(t))}function A(t){return R(t).getComputedStyle(t)}function It(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function it(t){if(q(t)==="html")return t;const e=t.assignedSlot||t.parentNode||re(t)&&t.host||G(t);return re(e)?e.host:e}function Ie(t){const e=it(t);return _t(e)?t.ownerDocument?t.ownerDocument.body:t.body:B(e)&&yt(e)?e:Ie(e)}function ht(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Ie(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=R(i);return r?e.concat(s,s.visualViewport||[],yt(i)?i:[],s.frameElement&&n?ht(s.frameElement):[]):e.concat(i,ht(i,[],n))}function Ce(t){const e=A(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=B(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=vt(n)!==r||vt(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function zt(t){return W(t)?t:t.contextElement}function nt(t){const e=zt(t);if(!B(e))return z(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Ce(e);let s=(r?vt(n.width):n.width)/o,c=(r?vt(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const zn=z(0);function Re(t){const e=R(t);return!Xt()||!e.visualViewport?zn:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function jn(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==R(t)?!1:e}function tt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=zt(t);let s=z(1);e&&(o?W(o)&&(s=nt(o)):s=nt(t));const c=jn(r,n,o)?Re(r):z(0);let l=(i.left+c.x)/s.x,g=(i.top+c.y)/s.y,p=i.width/s.x,a=i.height/s.y;if(r){const u=R(r),d=o&&W(o)?R(o):o;let m=u,h=m.frameElement;for(;h&&o&&d!==m;){const f=nt(h),y=h.getBoundingClientRect(),O=A(h),b=y.left+(h.clientLeft+parseFloat(O.paddingLeft))*f.x,v=y.top+(h.clientTop+parseFloat(O.paddingTop))*f.y;l*=f.x,g*=f.y,p*=f.x,a*=f.y,l+=b,g+=v,m=R(h),h=m.frameElement}}return Tt({width:p,height:a,x:l,y:g})}const qn=[":popover-open",":modal"];function Le(t){return qn.some(e=>{try{return t.matches(e)}catch{return!1}})}function Zn(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=G(o),c=e?Le(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},g=z(1);const p=z(0),a=B(o);if((a||!a&&!r)&&((q(o)!=="body"||yt(s))&&(l=It(o)),B(o))){const u=tt(o);g=nt(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:n.width*g.x,height:n.height*g.y,x:n.x*g.x-l.scrollLeft*g.x+p.x,y:n.y*g.y-l.scrollTop*g.y+p.y}}function Jn(t){return Array.from(t.getClientRects())}function Se(t){return tt(G(t)).left+It(t).scrollLeft}function Qn(t){const e=G(t),n=It(t),o=t.ownerDocument.body,i=C(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=C(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Se(t);const c=-n.scrollTop;return A(o).direction==="rtl"&&(s+=C(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function to(t,e){const n=R(t),o=G(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const g=Xt();(!g||g&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function eo(t,e){const n=tt(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=B(t)?nt(t):z(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,g=o*r.y;return{width:s,height:c,x:l,y:g}}function se(t,e,n){let o;if(e==="viewport")o=to(t,n);else if(e==="document")o=Qn(G(t));else if(W(e))o=eo(e,n);else{const i=Re(t);o={...e,x:e.x-i.x,y:e.y-i.y}}return Tt(o)}function ke(t,e){const n=it(t);return n===e||!W(n)||_t(n)?!1:A(n).position==="fixed"||ke(n,e)}function no(t,e){const n=e.get(t);if(n)return n;let o=ht(t,[],!1).filter(c=>W(c)&&q(c)!=="body"),i=null;const r=A(t).position==="fixed";let s=r?it(t):t;for(;W(s)&&!_t(s);){const c=A(s),l=Kt(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||yt(s)&&!l&&ke(t,s))?o=o.filter(p=>p!==s):i=c,s=it(s)}return e.set(t,o),o}function oo(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?no(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((g,p)=>{const a=se(e,p,i);return g.top=C(a.top,g.top),g.right=X(a.right,g.right),g.bottom=X(a.bottom,g.bottom),g.left=C(a.left,g.left),g},se(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function io(t){const{width:e,height:n}=Ce(t);return{width:e,height:n}}function ro(t,e,n){const o=B(e),i=G(e),r=n==="fixed",s=tt(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=z(0);if(o||!o&&!r)if((q(e)!=="body"||yt(i))&&(c=It(e)),o){const a=tt(e,!0,r,e);l.x=a.x+e.clientLeft,l.y=a.y+e.clientTop}else i&&(l.x=Se(i));const g=s.left+c.scrollLeft-l.x,p=s.top+c.scrollTop-l.y;return{x:g,y:p,width:s.width,height:s.height}}function ae(t,e){return!B(t)||A(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ae(t,e){const n=R(t);if(!B(t)||Le(t))return n;let o=ae(t,e);for(;o&&Kn(o)&&A(o).position==="static";)o=ae(o,e);return o&&(q(o)==="html"||q(o)==="body"&&A(o).position==="static"&&!Kt(o))?n:o||Xn(t)||n}const so=async function(t){const e=this.getOffsetParent||Ae,n=this.getDimensions;return{reference:ro(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await n(t.floating)}}};function ao(t){return A(t).direction==="rtl"}const co={convertOffsetParentRelativeRectToViewportRelativeRect:Zn,getDocumentElement:G,getClippingRect:oo,getOffsetParent:Ae,getElementRects:so,getClientRects:Jn,getDimensions:io,getScale:nt,isElement:W,isRTL:ao};function lo(t,e){let n=null,o;const i=G(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const{left:g,top:p,width:a,height:u}=t.getBoundingClientRect();if(c||e(),!a||!u)return;const d=Et(p),m=Et(i.clientWidth-(g+a)),h=Et(i.clientHeight-(p+u)),f=Et(g),O={rootMargin:-d+"px "+-m+"px "+-h+"px "+-f+"px",threshold:C(0,X(1,l))||1};let b=!0;function v(w){const T=w[0].intersectionRatio;if(T!==l){if(!b)return s();T?s(!1,T):o=setTimeout(()=>{s(!1,1e-7)},100)}b=!1}try{n=new IntersectionObserver(v,{...O,root:i.ownerDocument})}catch{n=new IntersectionObserver(v,O)}n.observe(t)}return s(!0),r}function uo(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,g=zt(t),p=i||r?[...g?ht(g):[],...ht(e)]:[];p.forEach(y=>{i&&y.addEventListener("scroll",n,{passive:!0}),r&&y.addEventListener("resize",n)});const a=g&&c?lo(g,n):null;let u=-1,d=null;s&&(d=new ResizeObserver(y=>{let[O]=y;O&&O.target===g&&d&&(d.unobserve(e),cancelAnimationFrame(u),u=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),g&&!l&&d.observe(g),d.observe(e));let m,h=l?tt(t):null;l&&f();function f(){const y=tt(t);h&&(y.x!==h.x||y.y!==h.y||y.width!==h.width||y.height!==h.height)&&n(),h=y,m=requestAnimationFrame(f)}return n(),()=>{var y;p.forEach(O=>{i&&O.removeEventListener("scroll",n),r&&O.removeEventListener("resize",n)}),a==null||a(),(y=d)==null||y.disconnect(),d=null,l&&cancelAnimationFrame(m)}}const go=Un,fo=Vn,ho=Yn,po=Fn,mo=(t,e,n)=>{const o=new Map,i={platform:co,...n},r={...i.platform,_c:o};return Bn(t,e,{...i,platform:r})};function ce(t=0,e=0,n=0,o=0){if(typeof DOMRect=="function")return new DOMRect(t,e,n,o);const i={x:t,y:e,width:n,height:o,top:e,right:t+n,bottom:e+o,left:t};return{...i,toJSON:()=>i}}function yo(t){if(!t)return ce();const{x:e,y:n,width:o,height:i}=t;return ce(e,n,o,i)}function Eo(t,e){return{contextElement:Pt(t)?t:void 0,getBoundingClientRect:()=>{const n=t,o=e==null?void 0:e(n);return o||!n?yo(o):n.getBoundingClientRect()}}}var ut=t=>({variable:t,reference:`var(${t})`}),V={arrowSize:ut("--arrow-size"),arrowSizeHalf:ut("--arrow-size-half"),arrowBg:ut("--arrow-background"),transformOrigin:ut("--transform-origin"),arrowOffset:ut("--arrow-offset")},Oo=t=>({top:"bottom center","top-start":t?`${t.x}px bottom`:"left bottom","top-end":t?`${t.x}px bottom`:"right bottom",bottom:"top center","bottom-start":t?`${t.x}px top`:"top left","bottom-end":t?`${t.x}px top`:"top right",left:"right center","left-start":t?`right ${t.y}px`:"right top","left-end":t?`right ${t.y}px`:"right bottom",right:"left center","right-start":t?`left ${t.y}px`:"left top","right-end":t?`left ${t.y}px`:"left bottom"}),bo={name:"transformOrigin",fn({placement:t,elements:e,middlewareData:n}){const{arrow:o}=n,i=Oo(o)[t],{floating:r}=e;return r.style.setProperty(V.transformOrigin.variable,i),{data:{transformOrigin:i}}}},vo={name:"rects",fn({rects:t}){return{data:t}}},wo=t=>{if(t)return{name:"shiftArrow",fn({placement:e,middlewareData:n}){if(!n.arrow)return{};const{x:o,y:i}=n.arrow,r=e.split("-")[0];return Object.assign(t.style,{left:o!=null?`${o}px`:"",top:i!=null?`${i}px`:"",[r]:`calc(100% + ${V.arrowOffset.reference})`}),{}}}};function To(t){const[e,n]=t.split("-");return{side:e,align:n,hasAlign:n!=null}}function Po(t){return t.split("-")[0]}var xo={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function le(t,e){const n=t.devicePixelRatio||1;return Math.round(e*n)/n}function Ne(t){return Be(t.boundary)}function _o(t,e){if(t)return po({element:t,padding:e.arrowPadding})}function Io(t,e){if(!$e(e.offset??e.gutter))return Gn(({placement:n})=>{var c,l;const o=((t==null?void 0:t.clientHeight)||0)/2,i=((c=e.offset)==null?void 0:c.mainAxis)??e.gutter,r=typeof i=="number"?i+o:i??o,{hasAlign:s}=To(n);return Ee({crossAxis:s?e.shift:(l=e.offset)==null?void 0:l.crossAxis,mainAxis:r,alignmentAxis:e.shift})})}function Co(t){if(t.flip)return fo({boundary:Ne(t),padding:t.overflowPadding,fallbackPlacements:t.flip===!0?void 0:t.flip})}function Ro(t){if(!(!t.slide&&!t.overlap))return go({boundary:Ne(t),mainAxis:t.slide,crossAxis:t.overlap,padding:t.overflowPadding})}function Lo(t){return ho({padding:t.overflowPadding,apply({elements:e,rects:n,availableHeight:o,availableWidth:i}){const r=e.floating,s=Math.round(n.reference.width);i=Math.floor(i),o=Math.floor(o),r.style.setProperty("--reference-width",`${s}px`),r.style.setProperty("--available-width",`${i}px`),r.style.setProperty("--available-height",`${o}px`)}})}function So(t){return t?t===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:t:{}}function ko(t,e,n={}){const o=Eo(t,n.getAnchorRect);if(!e||!o)return;const i=Object.assign({},xo,n),r=e.querySelector("[data-part=arrow]"),s=[Io(r,i),Co(i),Ro(i),_o(r,i),wo(r),bo,Lo(i),vo],{placement:c,strategy:l,onComplete:g,onPositioned:p}=i,a=async()=>{if(!o||!e)return;const h=await mo(o,e,{placement:c,middleware:s,strategy:l});g==null||g(h),p==null||p({placed:!0});const f=he(e),y=le(f,h.x),O=le(f,h.y);e.style.setProperty("--x",`${y}px`),e.style.setProperty("--y",`${O}px`);const b=e.firstElementChild;if(b){const v=f.getComputedStyle(b).zIndex;e.style.setProperty("--z-index",v)}},u=async()=>{n.updatePosition?(await n.updatePosition({updatePosition:a}),p==null||p({placed:!0})):await a()},d=So(i.listeners),m=i.listeners?uo(o,e,u,d):He;return u(),()=>{m==null||m(),p==null||p({placed:!1})}}function ue(t,e,n={}){const{defer:o,...i}=n,r=o?K:c=>c(),s=[];return s.push(r(()=>{const c=typeof t=="function"?t():t,l=typeof e=="function"?e():e;s.push(ko(c,l,i))})),()=>{s.forEach(c=>c==null?void 0:c())}}var Ao={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function No(t={}){const{placement:e,sameWidth:n,fitViewport:o,strategy:i="absolute"}=t;return{arrow:{position:"absolute",width:V.arrowSize.reference,height:V.arrowSize.reference,[V.arrowSizeHalf.variable]:`calc(${V.arrowSize.reference} / 2)`,[V.arrowOffset.variable]:`calc(${V.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:e?Ao[e.split("-")[0]]:void 0,background:V.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:i,isolation:"isolate",minWidth:n?void 0:"max-content",width:n?"var(--reference-width)":void 0,maxWidth:o?"var(--available-width)":void 0,maxHeight:o?"var(--available-height)":void 0,top:"0px",left:"0px",transform:e?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}function Do(t,e){const n=o=>{o.key==="Escape"&&(e==null||e(o))};return Ot($t(t),"keydown",n,{capture:!0})}var N={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(t=>t.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(t){var o;const e=this.indexOf(t),n=this.topMostPointerBlockingLayer()?this.indexOf((o=this.topMostPointerBlockingLayer())==null?void 0:o.node):-1;return eft(n.node,e))},isInBranch(t){return Array.from(this.branches).some(e=>ft(e,t))},add(t){const e=this.layers.push(t);t.node.style.setProperty("--layer-index",`${e}`)},addBranch(t){this.branches.push(t)},remove(t){const e=this.indexOf(t);e<0||(eo.dismiss()),this.layers.splice(e,1),t.style.removeProperty("--layer-index"))},removeBranch(t){const e=this.branches.indexOf(t);e>=0&&this.branches.splice(e,1)},indexOf(t){return this.layers.findIndex(e=>e.node===t)},dismiss(t){var e;(e=this.layers[this.indexOf(t)])==null||e.dismiss()},clear(){this.remove(this.layers[0].node)}},de;function ge(){N.layers.forEach(({node:t})=>{t.style.pointerEvents=N.isBelowPointerBlockingLayer(t)?"none":"auto"})}function Mo(t){t.style.pointerEvents=""}var St="data-inert";function Ho(t){const e=$t(t);return N.hasPointerBlockingLayer()&&!e.body.hasAttribute(St)&&(de=document.body.style.pointerEvents,e.body.style.pointerEvents="none",e.body.setAttribute(St,"")),()=>{N.hasPointerBlockingLayer()||(e.body.style.pointerEvents=de,e.body.removeAttribute(St),e.body.style.length===0&&e.body.removeAttribute("style"))}}function $o(t,e){if(!t){Ve("[@zag-js/dismissable] node is `null` or `undefined`");return}const{onDismiss:n,pointerBlocking:o,exclude:i,debug:r}=e,s={dismiss:n,node:t,pointerBlocking:o};N.add(s),ge();function c(u){var m,h;const d=ot(u.detail.originalEvent);N.isBelowPointerBlockingLayer(t)||N.isInBranch(d)||((m=e.onPointerDownOutside)==null||m.call(e,u),(h=e.onInteractOutside)==null||h.call(e,u),!u.defaultPrevented&&(r&&console.log("onPointerDownOutside:",u.detail.originalEvent),n==null||n()))}function l(u){var m,h;const d=ot(u.detail.originalEvent);N.isInBranch(d)||((m=e.onFocusOutside)==null||m.call(e,u),(h=e.onInteractOutside)==null||h.call(e,u),!u.defaultPrevented&&(r&&console.log("onFocusOutside:",u.detail.originalEvent),n==null||n()))}function g(u){var d;N.isTopMost(t)&&((d=e.onEscapeKeyDown)==null||d.call(e,u),!u.defaultPrevented&&n&&(u.preventDefault(),n()))}function p(u){if(!t)return!1;const d=typeof i=="function"?i():i;return(Array.isArray(d)?d:[d]).some(h=>ft(h,u))||N.isInNestedLayer(t,u)}const a=[o?Ho(t):void 0,Do(t,g),En(t,{exclude:p,onFocusOutside:l,onPointerDownOutside:c,defer:e.defer})];return()=>{N.remove(t),ge(),Mo(t),a.forEach(u=>u==null?void 0:u())}}function Bo(t,e){const{defer:n}=e,o=n?K:r=>r(),i=[];return i.push(o(()=>{const r=Fe(t)?t():t;i.push($o(r,e))})),()=>{i.forEach(r=>r==null?void 0:r())}}function Fo(t,e,n){if(!t)return;const o=t.ownerDocument.defaultView||window,i=new o.MutationObserver(r=>{for(const s of r)s.type==="attributes"&&s.attributeName&&e.includes(s.attributeName)&&n(s)});return i.observe(t,{attributes:!0,attributeFilter:e}),()=>i.disconnect()}function fi(t,e){if(!t)return;const n=t.ownerDocument.defaultView||window,o=new n.MutationObserver(e);return o.observe(t,{childList:!0,subtree:!0}),()=>o.disconnect()}var dt=(t,e)=>({x:t,y:e});function Vo(t){const{x:e,y:n,width:o,height:i}=t,r=e+o/2,s=n+i/2;return{x:e,y:n,width:o,height:i,minX:e,minY:n,maxX:e+o,maxY:n+i,midX:r,midY:s,center:dt(r,s)}}function Wo(t){const e=dt(t.minX,t.minY),n=dt(t.maxX,t.minY),o=dt(t.maxX,t.maxY),i=dt(t.minX,t.maxY);return{top:e,right:n,bottom:o,left:i}}function Go(t,e){const n=Vo(t),{top:o,right:i,left:r,bottom:s}=Wo(n),[c]=e.split("-");return{top:[r,o,i,s],right:[o,i,s,r],bottom:[o,r,s,i],left:[i,o,r,s]}[c]}function Uo(t,e){const{x:n,y:o}=e;let i=!1;for(let r=0,s=t.length-1;ro!=p>o&&n<(g-c)*(o-l)/(p-l)+c&&(i=!i)}return i}var Yo=We("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem"),P=Yo.build(),E=Ge({getTriggerId:t=>{var e;return((e=t.ids)==null?void 0:e.trigger)??`menu:${t.id}:trigger`},getContextTriggerId:t=>{var e;return((e=t.ids)==null?void 0:e.contextTrigger)??`menu:${t.id}:ctx-trigger`},getContentId:t=>{var e;return((e=t.ids)==null?void 0:e.content)??`menu:${t.id}:content`},getArrowId:t=>{var e;return((e=t.ids)==null?void 0:e.arrow)??`menu:${t.id}:arrow`},getPositionerId:t=>{var e;return((e=t.ids)==null?void 0:e.positioner)??`menu:${t.id}:popper`},getGroupId:(t,e)=>{var n,o;return((o=(n=t.ids)==null?void 0:n.group)==null?void 0:o.call(n,e))??`menu:${t.id}:group:${e}`},getGroupLabelId:(t,e)=>{var n,o;return((o=(n=t.ids)==null?void 0:n.label)==null?void 0:o.call(n,e))??`menu:${t.id}:label:${e}`},getContentEl:t=>E.getById(t,E.getContentId(t)),getPositionerEl:t=>E.getById(t,E.getPositionerId(t)),getTriggerEl:t=>E.getById(t,E.getTriggerId(t)),getHighlightedItemEl:t=>t.highlightedValue?E.getById(t,t.highlightedValue):null,getArrowEl:t=>E.getById(t,E.getArrowId(t)),getElements:t=>{const n=`[role^="menuitem"][data-ownedby=${CSS.escape(E.getContentId(t))}]:not([data-disabled])`;return Ue(E.getContentEl(t),n)},getFirstEl:t=>Ye(E.getElements(t)),getLastEl:t=>Ke(E.getElements(t)),getNextEl:(t,e)=>Xe(E.getElements(t),t.highlightedValue,e??t.loop),getPrevEl:(t,e)=>ze(E.getElements(t),t.highlightedValue,e??t.loop),getElemByKey:(t,e)=>Oe(E.getElements(t),{state:t.typeahead,key:e,activeId:t.highlightedValue}),isTargetDisabled:t=>Pt(t)&&(t.dataset.disabled===""||t.hasAttribute("disabled")),isTriggerItem:t=>{var e;return!!((e=t==null?void 0:t.getAttribute("role"))!=null&&e.startsWith("menuitem"))&&!!(t!=null&&t.hasAttribute("aria-controls"))},getOptionFromItemEl(t){return{id:t.id,name:t.dataset.name,value:t.dataset.value,valueText:t.dataset.valueText,type:t.dataset.type}}});function Ko(t,e,n){const o=t.context.isSubmenu,i=t.context.isTypingAhead,r=t.hasTag("open"),s=No({...t.context.positioning,placement:t.context.anchorPoint?"bottom":t.context.currentPlacement});function c(a){return{isDisabled:!!a.disabled,isHighlighted:t.context.highlightedValue===a.value}}function l(a){const u=a.valueText??a.value;return{...a,id:a.value,valueText:u}}function g(a){return{...c(l(a)),isChecked:!!a.checked}}function p(a){const{value:u,closeOnSelect:d,valueText:m}=a,h=c(a);return n.element({...P.item.attrs,id:u,role:"menuitem","aria-disabled":h.isDisabled,"data-disabled":et(h.isDisabled),"data-ownedby":E.getContentId(t.context),"data-highlighted":et(h.isHighlighted),"data-valuetext":m,onDragStart(f){f.currentTarget.matches("a[href]")&&f.preventDefault()},onPointerLeave(f){if(h.isDisabled||f.pointerType!=="mouse")return;const y=f.currentTarget;e({type:"ITEM_POINTERLEAVE",id:u,target:y,closeOnSelect:d})},onPointerMove(f){if(h.isDisabled||f.pointerType!=="mouse")return;const y=f.currentTarget;h.isHighlighted||e({type:"ITEM_POINTERMOVE",id:u,target:y,closeOnSelect:d})},onPointerDown(f){if(h.isDisabled)return;const y=f.currentTarget;e({type:"ITEM_POINTERDOWN",target:y,id:u,closeOnSelect:d})},onPointerUp(f){const y=Z(f);if(!Rt(y)||h.isDisabled)return;const O=f.currentTarget;e({type:"ITEM_CLICK",src:"pointerup",target:O,id:u,closeOnSelect:d}),O.matches("a[href]")&&f.pointerType==="touch"&&O.click()},onTouchEnd(f){f.preventDefault(),f.stopPropagation()}})}return{highlightedValue:t.context.highlightedValue,isOpen:r,open(){e("OPEN")},close(){e("CLOSE")},setHighlightedValue(a){e({type:"HIGHLIGHTED.SET",id:a})},setParent(a){e({type:"PARENT.SET",value:a,id:a.state.context.id})},setChild(a){e({type:"CHILD.SET",value:a,id:a.state.context.id})},reposition(a={}){e({type:"POSITIONING.SET",options:a})},contextTriggerProps:n.element({...P.contextTrigger.attrs,dir:t.context.dir,id:E.getContextTriggerId(t.context),onPointerDown(a){if(a.pointerType==="mouse")return;const u=Z(a),d=Ct(u);e({type:"CONTEXT_MENU_START",point:d})},onPointerCancel(a){a.pointerType!=="mouse"&&e("CONTEXT_MENU_CANCEL")},onPointerMove(a){a.pointerType!=="mouse"&&e("CONTEXT_MENU_CANCEL")},onPointerUp(a){a.pointerType!=="mouse"&&e("CONTEXT_MENU_CANCEL")},onContextMenu(a){const u=Z(a),d=Ct(u);e({type:"CONTEXT_MENU",point:d}),a.preventDefault()},style:{WebkitTouchCallout:"none",userSelect:"none"}}),getTriggerItemProps(a){return je(p({value:a.triggerProps.id}),a.triggerProps)},triggerProps:n.button({...o?P.triggerItem.attrs:P.trigger.attrs,"data-placement":t.context.currentPlacement,type:"button",dir:t.context.dir,id:E.getTriggerId(t.context),"data-uid":t.context.id,"aria-haspopup":"menu","aria-controls":E.getContentId(t.context),"aria-expanded":r||void 0,"data-state":r?"open":"closed",onPointerMove(a){a.pointerType!=="mouse"||E.isTargetDisabled(a.currentTarget)||!o||e({type:"TRIGGER_POINTERMOVE",target:a.currentTarget})},onPointerLeave(a){if(a.pointerType!=="mouse")return;const u=Z(a);if(E.isTargetDisabled(a.currentTarget)||!o)return;const m=Ct(u);e({type:"TRIGGER_POINTERLEAVE",target:a.currentTarget,point:m})},onClick(a){E.isTriggerItem(a.currentTarget)&&e({type:"TRIGGER_CLICK",target:a.currentTarget})},onPointerDown(a){const u=E.isTargetDisabled(a.currentTarget),d=Z(a);!Rt(d)||u||pe(a)||(a.preventDefault(),E.isTriggerItem(a.currentTarget)||e({type:"TRIGGER_CLICK",target:a.currentTarget}))},onBlur(){e("TRIGGER_BLUR")},onFocus(){e("TRIGGER_FOCUS")},onKeyDown(a){const u={ArrowDown(){e("ARROW_DOWN")},ArrowUp(){e("ARROW_UP")},Enter(){e({type:"ARROW_DOWN",src:"enter"})},Space(){e({type:"ARROW_DOWN",src:"space"})}},d=Zt(a,t.context),m=u[d];m&&(a.preventDefault(),m(a))}}),indicatorProps:n.element({...P.indicator.attrs,dir:t.context.dir,"data-state":r?"open":"closed"}),positionerProps:n.element({...P.positioner.attrs,dir:t.context.dir,id:E.getPositionerId(t.context),style:s.floating}),arrowProps:n.element({id:E.getArrowId(t.context),...P.arrow.attrs,dir:t.context.dir,style:s.arrow}),arrowTipProps:n.element({...P.arrowTip.attrs,dir:t.context.dir,style:s.arrowTip}),contentProps:n.element({...P.content.attrs,id:E.getContentId(t.context),"aria-label":t.context["aria-label"],hidden:!r,"data-state":r?"open":"closed",role:"menu",tabIndex:0,dir:t.context.dir,"aria-activedescendant":t.context.highlightedValue??void 0,"aria-labelledby":E.getTriggerId(t.context),"data-placement":t.context.currentPlacement,onPointerEnter(a){a.pointerType==="mouse"&&e("MENU_POINTERENTER")},onKeyDown(a){const u=Z(a),d=ot(u),m=(d==null?void 0:d.closest("[role=menu]"))===a.currentTarget;if(!qe(u)||!m)return;const h=E.getHighlightedItemEl(t.context),f=!!(h!=null&&h.matches("a[href]")),y={ArrowDown(){e("ARROW_DOWN")},ArrowUp(){e("ARROW_UP")},ArrowLeft(){e("ARROW_LEFT")},ArrowRight(){e("ARROW_RIGHT")},Enter(){f&&(h==null||h.click()),e("ENTER")},Space(v){var w;i?e({type:"TYPEAHEAD",key:v.key}):(w=y.Enter)==null||w.call(y,v)},Home(){e("HOME")},End(){e("END")},Tab(v){e({type:"TAB",shiftKey:v.shiftKey,loop:!1})}},O=Zt(a,{dir:t.context.dir}),b=y[O];if(b){const v=f&&O==="Enter";b(a),v||a.preventDefault()}else{if(!(a.key.length===1&&!Ze(a)&&!be(h)))return;e({type:"TYPEAHEAD",key:a.key}),a.preventDefault()}}}),separatorProps:n.element({...P.separator.attrs,role:"separator",dir:t.context.dir,"aria-orientation":"horizontal"}),getItemState:c,getItemProps:p,getOptionItemState:g,getOptionItemProps(a){const{type:u,disabled:d,onCheckedChange:m,closeOnSelect:h}=a,f=l(a),y=g(a);return{...p(f),...n.element({"data-type":u,...P.item.attrs,dir:t.context.dir,"data-value":f.value,role:`menuitem${u}`,"aria-checked":!!y.isChecked,"data-state":y.isChecked?"checked":"unchecked",onPointerUp(O){const b=Z(O);if(!Rt(b)||d)return;const v=O.currentTarget;e({type:"ITEM_CLICK",src:"pointerup",target:v,option:f,closeOnSelect:h}),m==null||m(!y.isChecked)}})}},getItemIndicatorProps(a){const u=g(a);return n.element({...P.itemIndicator.attrs,dir:t.context.dir,"data-disabled":et(u.isDisabled),"data-highlighted":et(u.isHighlighted),"data-state":u.isChecked?"checked":"unchecked",hidden:!u.isChecked})},getItemTextProps(a){const u=g(a);return n.element({...P.itemText.attrs,dir:t.context.dir,"data-disabled":et(u.isDisabled),"data-highlighted":et(u.isHighlighted),"data-state":u.isChecked?"checked":"unchecked"})},getItemGroupLabelProps(a){return n.element({id:E.getGroupLabelId(t.context,a.htmlFor),dir:t.context.dir,...P.itemGroupLabel.attrs})},getItemGroupProps(a){return n.element({id:E.getGroupId(t.context,a.id),...P.itemGroup.attrs,dir:t.context.dir,"aria-labelledby":E.getGroupLabelId(t.context,a.id),role:"group"})}}}var{not:S,and:J,or:Xo}=en;function zo(t){const e=Ee(t);return Je({id:"menu",initial:e.open?"open":"idle",context:{highlightedValue:null,loop:!1,anchorPoint:null,closeOnSelect:!0,...e,positioning:{placement:"bottom-start",gutter:8,...e.positioning},intentPolygon:null,parent:null,lastHighlightedValue:null,children:Qe(Lt({})),suspendPointer:!1,restoreFocus:!0,typeahead:Oe.defaultOptions},computed:{isSubmenu:n=>n.parent!==null,isRtl:n=>n.dir==="rtl",isTypingAhead:n=>n.typeahead.keysSoFar!==""},watch:{isSubmenu:"setSubmenuPlacement",anchorPoint:"reposition",open:"toggleVisibility"},on:{"PARENT.SET":{actions:"setParentMenu"},"CHILD.SET":{actions:"setChildMenu"},OPEN:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:"invokeOnOpen"}],OPEN_AUTOFOCUS:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{internal:!0,target:"open",actions:["highlightFirstItem","invokeOnOpen"]}],CLOSE:[{guard:"isOpenControlled",actions:"invokeOnClose"},{target:"closed",actions:"invokeOnClose"}],"HIGHLIGHTED.RESTORE":{actions:"restoreHighlightedItem"},"HIGHLIGHTED.SET":{actions:"setHighlightedItem"}},states:{idle:{tags:["closed"],on:{"CONTROLLED.OPEN":"open","CONTROLLED.CLOSE":"closed",CONTEXT_MENU_START:{target:"opening:contextmenu",actions:"setAnchorPoint"},CONTEXT_MENU:[{guard:"isOpenControlled",actions:["setAnchorPoint","invokeOnOpen"]},{target:"open",actions:["setAnchorPoint","invokeOnOpen"]}],TRIGGER_CLICK:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:"invokeOnOpen"}],TRIGGER_FOCUS:{guard:S("isSubmenu"),target:"closed"},TRIGGER_POINTERMOVE:{guard:"isSubmenu",target:"opening"}}},"opening:contextmenu":{tags:["closed"],after:{LONG_PRESS_DELAY:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:"invokeOnOpen"}]},on:{"CONTROLLED.OPEN":"open","CONTROLLED.CLOSE":"closed",CONTEXT_MENU_CANCEL:[{guard:"isOpenControlled",actions:"invokeOnClose"},{target:"closed",actions:"invokeOnClose"}]}},opening:{tags:["closed"],after:{SUBMENU_OPEN_DELAY:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:"invokeOnOpen"}]},on:{"CONTROLLED.OPEN":"open","CONTROLLED.CLOSE":"closed",BLUR:[{guard:"isOpenControlled",actions:"invokeOnClose"},{target:"closed",actions:"invokeOnClose"}],TRIGGER_POINTERLEAVE:[{guard:"isOpenControlled",actions:"invokeOnClose"},{target:"closed",actions:"invokeOnClose"}]}},closing:{tags:["open"],activities:["trackPointerMove","trackInteractOutside"],after:{SUBMENU_CLOSE_DELAY:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["focusParentMenu","restoreParentHiglightedItem","invokeOnClose"]}]},on:{"CONTROLLED.OPEN":"open","CONTROLLED.CLOSE":{target:"closed",actions:["focusParentMenu","restoreParentHiglightedItem"]},MENU_POINTERENTER:{target:"open",actions:"clearIntentPolygon"},POINTER_MOVED_AWAY_FROM_SUBMENU:[{guard:"isOpenControlled",actions:"invokeOnClose"},{target:"closed",actions:["focusParentMenu","restoreParentHiglightedItem"]}]}},closed:{tags:["closed"],entry:["clearHighlightedItem","focusTrigger","clearAnchorPoint","resumePointer"],on:{"CONTROLLED.OPEN":[{guard:Xo("isOpenAutoFocusEvent","isArrowDownEvent"),target:"open",actions:"highlightFirstItem"},{guard:"isArrowUpEvent",target:"open",actions:"highlightLastItem"},{target:"open"}],CONTEXT_MENU_START:{target:"opening:contextmenu",actions:"setAnchorPoint"},CONTEXT_MENU:[{guard:"isOpenControlled",actions:["setAnchorPoint","invokeOnOpen"]},{target:"open",actions:["setAnchorPoint","invokeOnOpen"]}],TRIGGER_CLICK:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:"invokeOnOpen"}],TRIGGER_POINTERMOVE:{guard:"isTriggerItem",target:"opening"},TRIGGER_BLUR:"idle",ARROW_DOWN:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:["highlightFirstItem","invokeOnOpen"]}],ARROW_UP:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:["highlightLastItem","invokeOnOpen"]}]}},open:{tags:["open"],activities:["trackInteractOutside","trackPositioning","scrollToHighlightedItem"],entry:["focusMenu","resumePointer"],on:{"CONTROLLED.CLOSE":[{target:"closed",guard:"isArrowLeftEvent",actions:["focusParentMenu"]},{target:"closed"}],TRIGGER_CLICK:[{guard:J(S("isTriggerItem"),"isOpenControlled"),actions:"invokeOnClose"},{guard:S("isTriggerItem"),target:"closed",actions:"invokeOnClose"}],TAB:[{guard:"isForwardTabNavigation",actions:["highlightNextItem"]},{actions:["highlightPrevItem"]}],ARROW_UP:{actions:["highlightPrevItem","focusMenu"]},ARROW_DOWN:{actions:["highlightNextItem","focusMenu"]},ARROW_LEFT:[{guard:J("isSubmenu","isOpenControlled"),actions:"invokeOnClose"},{guard:"isSubmenu",target:"closed",actions:["focusParentMenu","invokeOnClose"]}],HOME:{actions:["highlightFirstItem","focusMenu"]},END:{actions:["highlightLastItem","focusMenu"]},ARROW_RIGHT:{guard:"isTriggerItemHighlighted",actions:"openSubmenu"},ENTER:[{guard:"isTriggerItemHighlighted",actions:"openSubmenu"},{guard:J("closeOnSelect","isOpenControlled"),actions:["clickHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"closed",actions:"clickHighlightedItem"},{actions:"clickHighlightedItem"}],ITEM_POINTERMOVE:[{guard:S("suspendPointer"),actions:["setHighlightedItem","focusMenu"]},{actions:"setLastHighlightedItem"}],ITEM_POINTERLEAVE:{guard:J(S("suspendPointer"),S("isTriggerItem")),actions:"clearHighlightedItem"},ITEM_CLICK:[{guard:J(S("isTriggerItemHighlighted"),S("isHighlightedItemEditable"),"closeOnSelect","isOpenControlled"),actions:["invokeOnSelect","setOptionState","closeRootMenu","invokeOnClose"]},{guard:J(S("isTriggerItemHighlighted"),S("isHighlightedItemEditable"),"closeOnSelect"),target:"closed",actions:["invokeOnSelect","setOptionState","closeRootMenu","invokeOnClose"]},{guard:J(S("isTriggerItemHighlighted"),S("isHighlightedItemEditable")),actions:["invokeOnSelect","setOptionState"]},{actions:"setHighlightedItem"}],TRIGGER_POINTERLEAVE:{target:"closing",actions:"setIntentPolygon"},ITEM_POINTERDOWN:{actions:"setHighlightedItem"},TYPEAHEAD:{actions:"highlightMatchedItem"},FOCUS_MENU:{actions:"focusMenu"},"POSITIONING.SET":{actions:"reposition"}}}}},{delays:{LONG_PRESS_DELAY:700,SUBMENU_OPEN_DELAY:100,SUBMENU_CLOSE_DELAY:100},guards:{closeOnSelect:(n,o)=>!!((o==null?void 0:o.closeOnSelect)??n.closeOnSelect),isTriggerItem:(n,o)=>E.isTriggerItem(o.target),isTriggerItemHighlighted:(n,o)=>{const i=o.target??E.getHighlightedItemEl(n);return!!(i!=null&&i.hasAttribute("aria-controls"))},isForwardTabNavigation:(n,o)=>!o.shiftKey,isSubmenu:n=>n.isSubmenu,suspendPointer:n=>n.suspendPointer,isHighlightedItemEditable:n=>be(E.getHighlightedItemEl(n)),isWithinPolygon:(n,o)=>n.intentPolygon?Uo(n.intentPolygon,o.point):!1,isOpenControlled:n=>!!n["open.controlled"],isArrowLeftEvent:(n,o)=>{var i;return((i=o.previousEvent)==null?void 0:i.type)==="ARROW_LEFT"},isArrowUpEvent:(n,o)=>{var i;return((i=o.previousEvent)==null?void 0:i.type)==="ARROW_UP"},isArrowDownEvent:(n,o)=>{var i;return((i=o.previousEvent)==null?void 0:i.type)==="ARROW_DOWN"},isOpenAutoFocusEvent:(n,o)=>{var i;return((i=o.previousEvent)==null?void 0:i.type)==="OPEN_AUTOFOCUS"}},activities:{trackPositioning(n){if(n.anchorPoint)return;n.currentPlacement=n.positioning.placement;const o=()=>E.getPositionerEl(n);return ue(E.getTriggerEl(n),o,{...n.positioning,defer:!0,onComplete(i){n.currentPlacement=i.placement}})},trackInteractOutside(n,o,{send:i}){return Bo(()=>E.getContentEl(n),{defer:!0,exclude:[E.getTriggerEl(n)],onInteractOutside:n.onInteractOutside,onFocusOutside:n.onFocusOutside,onEscapeKeyDown(s){var c;(c=n.onEscapeKeyDown)==null||c.call(n,s),n.isSubmenu&&s.preventDefault(),fe(n)},onPointerDownOutside(s){var c;n.restoreFocus=!s.detail.focusable,(c=n.onPointerDownOutside)==null||c.call(n,s)},onDismiss(){i({type:"CLOSE",src:"interact-outside"})}})},trackPointerMove(n,o,{guards:i,send:r}){const{isWithinPolygon:s}=i;n.parent.state.context.suspendPointer=!0;const c=E.getDoc(n);return Ot(c,"pointermove",l=>{const g={x:l.clientX,y:l.clientY};s(n,{point:g})||(r("POINTER_MOVED_AWAY_FROM_SUBMENU"),n.parent.state.context.suspendPointer=!1)})},scrollToHighlightedItem(n,o,{getState:i}){const r=()=>{if(i().event.type.startsWith("ITEM_POINTER"))return;const c=E.getHighlightedItemEl(n),l=E.getContentEl(n);nn(c,{rootEl:l,block:"nearest"})};return K(()=>r()),Fo(E.getContentEl(n),["aria-activedescendant"],r)}},actions:{setAnchorPoint(n,o){n.anchorPoint=o.point},clearAnchorPoint(n){n.anchorPoint=null},setSubmenuPlacement(n){n.isSubmenu&&(n.positioning.placement=n.isRtl?"left-start":"right-start",n.positioning.gutter=0)},reposition(n,o){const i=()=>E.getPositionerEl(n),r=n.anchorPoint?()=>({width:0,height:0,...n.anchorPoint}):void 0;ue(E.getTriggerEl(n),i,{...n.positioning,getAnchorRect:r,...o.options??{},listeners:!1,onComplete(s){n.currentPlacement=s.placement}})},setOptionState(n,o){if(!o.option)return;const{checked:i,onCheckedChange:r,type:s}=o.option;s==="radio"?r==null||r(!0):s==="checkbox"&&(r==null||r(!i))},clickHighlightedItem(n,o,{send:i}){const r=E.getHighlightedItemEl(n);if(!r||r.dataset.disabled)return;const s=E.getOptionFromItemEl(r);i({type:"ITEM_CLICK",src:"enter",target:r,id:s.id,option:s,closeOnSelect:n.closeOnSelect})},setIntentPolygon(n,o){const i=E.getContentEl(n),r=n.currentPlacement;if(!i||!r)return;const s=i.getBoundingClientRect(),c=Go(s,r);if(!c)return;const g=Po(r)==="right"?-5:5;n.intentPolygon=[{...o.point,x:o.point.x+g},...c]},clearIntentPolygon(n){n.intentPolygon=null},resumePointer(n){n.parent&&(n.parent.state.context.suspendPointer=!1)},setHighlightedItem(n,o){Y.highlighted(n,o.id)},clearHighlightedItem(n){Y.highlighted(n,null)},focusMenu(n){K(()=>{const o=E.getActiveElement(n),i=E.getContentEl(n);ft(i,o)||i==null||i.focus({preventScroll:!0})})},highlightFirstItem(n){const o=E.getFirstEl(n);o&&Y.highlighted(n,o.id)},highlightLastItem(n){const o=E.getLastEl(n);o&&Y.highlighted(n,o.id)},highlightNextItem(n,o){const i=E.getNextEl(n,o.loop);Y.highlighted(n,(i==null?void 0:i.id)??null)},highlightPrevItem(n,o){const i=E.getPrevEl(n,o.loop);Y.highlighted(n,(i==null?void 0:i.id)??null)},invokeOnSelect(n){var o;n.highlightedValue&&((o=n.onSelect)==null||o.call(n,{value:n.highlightedValue}))},focusTrigger(n){n.isSubmenu||n.anchorPoint||!n.restoreFocus||K(()=>{var o;return(o=E.getTriggerEl(n))==null?void 0:o.focus({preventScroll:!0})})},highlightMatchedItem(n,o){const i=E.getElemByKey(n,o.key);i&&Y.highlighted(n,i.id)},setParentMenu(n,o){n.parent=Lt(o.value)},setChildMenu(n,o){n.children[o.id]=Lt(o.value)},closeRootMenu(n){fe(n)},openSubmenu(n){const o=E.getHighlightedItemEl(n),i=o==null?void 0:o.getAttribute("data-uid"),r=i?n.children[i]:null;r==null||r.send("OPEN_AUTOFOCUS")},focusParentMenu(n){var o;(o=n.parent)==null||o.send("FOCUS_MENU")},setLastHighlightedItem(n,o){n.lastHighlightedValue=o.id},restoreHighlightedItem(n){n.lastHighlightedValue&&(Y.highlighted(n,n.lastHighlightedValue),n.lastHighlightedValue=null)},restoreParentHiglightedItem(n){var o;(o=n.parent)==null||o.send("HIGHLIGHTED.RESTORE")},invokeOnOpen(n){var o;(o=n.onOpenChange)==null||o.call(n,{open:!0})},invokeOnClose(n){var o;(o=n.onOpenChange)==null||o.call(n,{open:!1})},toggleVisibility(n,o,{send:i}){i({type:n.open?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:o})}}})}function fe(t){let e=t.parent;for(;e&&e.state.context.isSubmenu;)e=e.state.context.parent;e==null||e.send("CLOSE")}var Y={highlighted(t,e){var n;tn(t.highlightedValue,e)||(t.highlightedValue=e,(n=t.onHighlightChange)==null||n.call(t,{highlightedValue:e}))}};pt()(["anchorPoint","aria-label","closeOnSelect","dir","getRootNode","highlightedValue","id","ids","loop","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onEscapeKeyDown","onSelect","onHighlightChange","open","open.controlled","positioning"]);pt()(["closeOnSelect","disabled","value","valueText"]);pt()(["htmlFor"]);pt()(["id"]);pt()(["disabled","valueText","closeOnSelect","type","value","checked","onCheckedChange"]);const jo={class:"truncate max-w-xs hide-on-mobile"},qo=Bt({__name:"NavDropdown",props:{id:{},label:{},items:{},icon:{}},setup(t){const e=t,[n,o]=on(zo({id:e.id,"aria-label":e.id})),i=Dt(()=>Ko(n.value,o,cn));return(r,s)=>{const c=Vt;return k(),$("div",null,[x("button",Jt(gt(i).triggerProps,{class:"hstack cursor-pointer space-x-1"}),[r.icon?(k(),$("span",{key:0,class:kt(r.icon),"md:text-lg":""},null,2)):At("",!0),x("span",jo,Nt(r.label),1)],16),x("div",sn(an(gt(i).positionerProps)),[x("ul",Jt(gt(i).contentProps,{class:"dropdown-container z-40 text-xs md:text-sm"}),[(k(!0),$(me,null,rn(r.items,(l,g)=>(k(),$("li",{key:`${g}-${l.label}`,class:"dropdown-li text-c"},[Q(c,{to:l.link,"space-x-1.5":"",hstack:""},{default:Ft(()=>[l.icon?(k(),$("span",{key:0,class:kt(l.icon),"text-base":""},null,2)):At("",!0),x("span",null,Nt(l.label),1)]),_:2},1032,["to"])]))),128))],16)],16)])}}}),Zo=Bt({__name:"ToggleLang",setup(t){const e=ln(),{locale:n,locales:o}=un(),i=Dt(()=>o.value.filter(c=>c.code!==n.value)),r=Dt(()=>{var c;return((c=o.value.find(l=>l.code===n.value))==null?void 0:c.name)||""}),s=i.value.map(c=>({link:e(c.code),label:c.name,icon:c.icon}));return(c,l)=>{const g=qo;return k(),ye(g,{id:"toggle language",label:gt(r),items:gt(s),icon:"i-ic:round-translate"},null,8,["label","items"])}}}),Jo={},Qo=["title"],ti={"i-ph:moon-bold":"","md:text-lg":""},ei={"i-ph:sun-bold":"","md:text-lg":""};function ni(t,e){return k(),$("button",{class:"round-btn",title:t.$t("toggle_dark"),onClick:e[0]||(e[0]=n=>t.$colorMode.preference=t.$colorMode.preference==="dark"?"light":"dark")},[Qt(x("span",ti,null,512),[[te,t.$colorMode.preference==="dark"]]),Qt(x("span",ei,null,512),[[te,t.$colorMode.preference!=="dark"]])],8,Qo)}const oi=xt(Jo,[["render",ni]]),ii={},ri={class:"header hstack justify-between pl-4 pr-1 text-c"},si={text:"base md:lg"},ai={hstack:""},ci=x("a",{class:"round-btn",href:"http://github.com/junian/resume.md/",target:"_blank",rel:"nofollow noopener"},[x("span",{"i-tabler:brand-github":"","md:text-lg":""})],-1);function li(t,e){const n=xn,o=Rn,i=Vt,r=Sn,s=Zo,c=oi;return k(),$("header",ri,[Q(i,{class:"hstack space-x-2 cursor-pointer text-gray-900 dark:text-gray-100",to:t.$nuxt.$localePath("/")},{default:Ft(()=>[Q(n,{"hide-on-mobile":"",text:"sm md:base"}),x("h1",si,[Q(o)])]),_:1},8,["to"]),ee(t.$slots,"middle"),x("div",ai,[Q(r,{"mr-3":"",link:t.$nuxt.$localePath("/resumes"),label:t.$t("resumes.my_resumes"),icon:"i-ep:menu"},null,8,["link","label"]),Q(s,{"mr-1.5":""}),ee(t.$slots,"tail"),Q(c),ci])])}const hi=xt(ii,[["render",li]]);export{hi as _,No as a,ue as b,Fo as c,gi as d,Rn as e,En as f,we as g,fi as o,Bo as t}; diff --git a/assets/CiuJOSLS.js b/assets/D_WxEPGQ.js similarity index 99% rename from assets/CiuJOSLS.js rename to assets/D_WxEPGQ.js index 168c80a..527af65 100644 --- a/assets/CiuJOSLS.js +++ b/assets/D_WxEPGQ.js @@ -1,4 +1,4 @@ -import{m as s}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m as s}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/BMqwImlx.js b/assets/DfTjb7eK.js similarity index 99% rename from assets/BMqwImlx.js rename to assets/DfTjb7eK.js index 2b10aba..512c2ff 100644 --- a/assets/BMqwImlx.js +++ b/assets/DfTjb7eK.js @@ -1,4 +1,4 @@ -import{m as qe}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m as qe}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/DjcGo_Wf.js b/assets/DiKx5yui.js similarity index 99% rename from assets/DjcGo_Wf.js rename to assets/DiKx5yui.js index 309b5c9..b90c650 100644 --- a/assets/DjcGo_Wf.js +++ b/assets/DiKx5yui.js @@ -1,4 +1,4 @@ -import{t as I,m as N}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{t as I,m as N}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/YsTV42Hn.js b/assets/DnHnA51o.js similarity index 95% rename from assets/YsTV42Hn.js rename to assets/DnHnA51o.js index 06cf1a3..20f7f86 100644 --- a/assets/YsTV42Hn.js +++ b/assets/DnHnA51o.js @@ -1 +1 @@ -import{_ as F}from"./ZVcvh5EZ.js";import{b as N,o as v,p as U,q as B,t as D,v as E,r as A,_ as V,P as b,M as X,w as q,x as w,y as z,d as j,z as G}from"./WlsRhCXb.js";import{f as $,o as m,c as p,a as o,t as h,h as u,p as g,e as k,_ as x,aq as H,ar as J,R as y,b as l,a1 as K,O as I,N as C,as as Q,an as R,w as W,S as Y,T as Z,g as ee}from"./LLeh9DNx.js";import{_ as se}from"./CrJvmnpK.js";const L=a=>(g("data-v-520bcd07"),a=a(),k(),a),te={class:"file-options hstack space-x-2"},oe=["aria-label"],ae=L(()=>o("span",{"i-ic:baseline-save-as":"","text-lg":""},null,-1)),ne=["aria-label"],re=L(()=>o("span",{"i-ic:round-upload-file":"","text-lg":""},null,-1)),ue=$({__name:"FileOptions",emits:["update"],setup(a){return N("shift+ctrl+s",v),(s,e)=>(m(),p("div",te,[o("button",{"aria-label":s.$t("resumes.saveas"),onClick:e[0]||(e[0]=(...n)=>("saveResumesToLocal"in s?s.saveResumesToLocal:u(v))&&("saveResumesToLocal"in s?s.saveResumesToLocal:u(v))(...n))},[ae,o("span",null,h(s.$t("resumes.saveas")),1)],8,oe),o("button",{"aria-label":s.$t("resumes.import"),onClick:e[1]||(e[1]=()=>("importResumesFromLocal"in s?s.importResumesFromLocal:u(U))(()=>s.$emit("update")))},[re,o("span",null,h(s.$t("resumes.import")),1)],8,ne)]))}}),ie=x(ue,[["__scopeId","data-v-520bcd07"]]),me={"w-56":"","h-80":""},ce=["aria-label"],de=o("span",{"i-ic:round-plus":"",text:"5xl light-c group-hover:brand"},null,-1),le=[de],pe=$({__name:"NewResume",setup(a){const s=H(),e=J(),n=async()=>{const r=await B();s.push(e(`/edit/${r}`))};return(r,i)=>(m(),p("div",me,[o("button",{class:"resume-card group w-[210px] h-[299px] flex-center bg-darker-c hover:bg-c","aria-label":r.$t("resumes.new"),onClick:n},le,8,ce)]))}}),S=a=>(g("data-v-dbb62c4a"),a=a(),k(),a),_e={class:"absolute right-3 top-3 space-y-2"},he=S(()=>o("span",{"i-ion:duplicate":""},null,-1)),$e=[he],fe=S(()=>o("span",{"i-material-symbols:delete-outline-rounded":""},null,-1)),ve=[fe],be=$({__name:"ResumeOptions",props:{resume:{}},emits:["update"],setup(a,{emit:s}){const e=a,n=s,r=async()=>{await D(e.resume.id),n("update")},i=async()=>{await E(e.resume.id),n("update")};return(_,c)=>(m(),p("div",_e,[o("button",{onClick:r},$e),o("button",{onClick:i},ve)]))}}),we=x(be,[["__scopeId","data-v-dbb62c4a"]]),ye={"text-center":""},Re={key:0,"text-xs":"","text-light-c":"","mt-1.5":""},ge={"text-xs":"","text-light-c":"","mt-0.5":""},ke=$({__name:"ResumeInfo",props:{resume:{}},emits:["update"],setup(a,{emit:s}){const e=a,n=s,r=async t=>{await A(e.resume.id,t),n("update")},i=t=>t&&new Date(parseInt(t)).toISOString().substring(0,19).replace("T"," ").replaceAll("-","/"),_=y(()=>i(e.resume.id)),c=y(()=>i(e.resume.update));return(t,d)=>{const f=V;return m(),p("div",ye,[l(f,{id:`resumes-rename-${t.resume.id}`,class:"w-53 mx-auto",default:t.resume.name,"on-value-commit":r},null,8,["id","default"]),u(c)?(m(),p("div",Re,h(t.$t("resumes.updated"))+h(u(c)),1)):K("",!0),o("div",ge,h(t.$t("resumes.created"))+h(u(_)),1)])}}}),xe={"w-56":"","h-80":""},Ie=$({__name:"ResumeItem",props:{resume:{}},emits:["update"],setup(a,{emit:s}){const e=a,n=s,r=b[e.resume.styles.paper].w,i=b[e.resume.styles.paper].h,_=I(),c=async()=>{q(e.resume.css,e.resume.id),await w(e.resume.styles.fontEN),await w(e.resume.styles.fontCJK),z(e.resume.styles,e.resume.id),_.value.forceUpdate()};return C(c),Q(c),(t,d)=>{const f=j,T=se,O=we,P=ke;return m(),p("div",null,[o("div",xe,[o("div",{class:"resume-card group border border-c",style:R({width:`${u(r)}px`,height:`${u(i)}px`})},[l(T,{to:t.$nuxt.$localePath(`/edit/${e.resume.id}`)},{default:W(()=>[l(f,{id:t.resume.id,ref_key:"render",ref:_,markdown:t.resume.markdown,styles:t.resume.styles,style:R({transform:`scale(${1/("MM_TO_PX"in t?t.MM_TO_PX:u(X))})`}),class:"origin-top-left"},null,8,["id","markdown","styles","style"])]),_:1},8,["to"]),l(O,{class:"group-hover:block hidden",resume:t.resume,onUpdate:d[0]||(d[0]=M=>n("update"))},null,8,["resume"])],4)]),l(P,{resume:t.resume,onUpdate:d[1]||(d[1]=M=>n("update"))},null,8,["resume"])])}}}),Ce={class:"resumes-page"},Le={class:"max-w-306 mx-auto px-5 py-16 text-dark-c"},Se={class:"space-y-2 md:hstack md:justify-between"},Te={"font-bold":"","text-3xl":""},Oe={class:"flex flex-wrap gap-x-4 gap-y-8 mt-8"},Ue=$({__name:"resumes",setup(a){const s=I(),e=async()=>{s.value=await G()};return C(e),(n,r)=>{const i=F,_=ie,c=pe,t=Ie;return m(),p("div",Ce,[l(i),o("div",Le,[o("div",Se,[o("h1",Te,h(n.$t("resumes.my_resumes")),1),l(_,{onUpdate:e})]),o("div",Oe,[l(c),(m(!0),p(Y,null,Z(u(s),d=>(m(),ee(t,{key:d.id,class:"resume-item",resume:d,onUpdate:e},null,8,["resume"]))),128))])])])}}});export{Ue as default}; +import{_ as F}from"./DDzfXkp7.js";import{b as N,o as v,p as U,q as B,t as D,v as E,r as A,_ as V,P as b,M as X,w as q,x as w,y as z,d as j,z as G}from"./7IqAQcW-.js";import{f as $,o as m,c as p,a as o,t as h,h as u,p as g,e as k,_ as x,aq as H,ar as J,R as y,b as l,a1 as K,O as I,N as C,as as Q,an as R,w as W,S as Y,T as Z,g as ee}from"./BZDDQZjI.js";import{_ as se}from"./CZC2LNhJ.js";const L=a=>(g("data-v-520bcd07"),a=a(),k(),a),te={class:"file-options hstack space-x-2"},oe=["aria-label"],ae=L(()=>o("span",{"i-ic:baseline-save-as":"","text-lg":""},null,-1)),ne=["aria-label"],re=L(()=>o("span",{"i-ic:round-upload-file":"","text-lg":""},null,-1)),ue=$({__name:"FileOptions",emits:["update"],setup(a){return N("shift+ctrl+s",v),(s,e)=>(m(),p("div",te,[o("button",{"aria-label":s.$t("resumes.saveas"),onClick:e[0]||(e[0]=(...n)=>("saveResumesToLocal"in s?s.saveResumesToLocal:u(v))&&("saveResumesToLocal"in s?s.saveResumesToLocal:u(v))(...n))},[ae,o("span",null,h(s.$t("resumes.saveas")),1)],8,oe),o("button",{"aria-label":s.$t("resumes.import"),onClick:e[1]||(e[1]=()=>("importResumesFromLocal"in s?s.importResumesFromLocal:u(U))(()=>s.$emit("update")))},[re,o("span",null,h(s.$t("resumes.import")),1)],8,ne)]))}}),ie=x(ue,[["__scopeId","data-v-520bcd07"]]),me={"w-56":"","h-80":""},ce=["aria-label"],de=o("span",{"i-ic:round-plus":"",text:"5xl light-c group-hover:brand"},null,-1),le=[de],pe=$({__name:"NewResume",setup(a){const s=H(),e=J(),n=async()=>{const r=await B();s.push(e(`/edit/${r}`))};return(r,i)=>(m(),p("div",me,[o("button",{class:"resume-card group w-[210px] h-[299px] flex-center bg-darker-c hover:bg-c","aria-label":r.$t("resumes.new"),onClick:n},le,8,ce)]))}}),S=a=>(g("data-v-dbb62c4a"),a=a(),k(),a),_e={class:"absolute right-3 top-3 space-y-2"},he=S(()=>o("span",{"i-ion:duplicate":""},null,-1)),$e=[he],fe=S(()=>o("span",{"i-material-symbols:delete-outline-rounded":""},null,-1)),ve=[fe],be=$({__name:"ResumeOptions",props:{resume:{}},emits:["update"],setup(a,{emit:s}){const e=a,n=s,r=async()=>{await D(e.resume.id),n("update")},i=async()=>{await E(e.resume.id),n("update")};return(_,c)=>(m(),p("div",_e,[o("button",{onClick:r},$e),o("button",{onClick:i},ve)]))}}),we=x(be,[["__scopeId","data-v-dbb62c4a"]]),ye={"text-center":""},Re={key:0,"text-xs":"","text-light-c":"","mt-1.5":""},ge={"text-xs":"","text-light-c":"","mt-0.5":""},ke=$({__name:"ResumeInfo",props:{resume:{}},emits:["update"],setup(a,{emit:s}){const e=a,n=s,r=async t=>{await A(e.resume.id,t),n("update")},i=t=>t&&new Date(parseInt(t)).toISOString().substring(0,19).replace("T"," ").replaceAll("-","/"),_=y(()=>i(e.resume.id)),c=y(()=>i(e.resume.update));return(t,d)=>{const f=V;return m(),p("div",ye,[l(f,{id:`resumes-rename-${t.resume.id}`,class:"w-53 mx-auto",default:t.resume.name,"on-value-commit":r},null,8,["id","default"]),u(c)?(m(),p("div",Re,h(t.$t("resumes.updated"))+h(u(c)),1)):K("",!0),o("div",ge,h(t.$t("resumes.created"))+h(u(_)),1)])}}}),xe={"w-56":"","h-80":""},Ie=$({__name:"ResumeItem",props:{resume:{}},emits:["update"],setup(a,{emit:s}){const e=a,n=s,r=b[e.resume.styles.paper].w,i=b[e.resume.styles.paper].h,_=I(),c=async()=>{q(e.resume.css,e.resume.id),await w(e.resume.styles.fontEN),await w(e.resume.styles.fontCJK),z(e.resume.styles,e.resume.id),_.value.forceUpdate()};return C(c),Q(c),(t,d)=>{const f=j,T=se,O=we,P=ke;return m(),p("div",null,[o("div",xe,[o("div",{class:"resume-card group border border-c",style:R({width:`${u(r)}px`,height:`${u(i)}px`})},[l(T,{to:t.$nuxt.$localePath(`/edit/${e.resume.id}`)},{default:W(()=>[l(f,{id:t.resume.id,ref_key:"render",ref:_,markdown:t.resume.markdown,styles:t.resume.styles,style:R({transform:`scale(${1/("MM_TO_PX"in t?t.MM_TO_PX:u(X))})`}),class:"origin-top-left"},null,8,["id","markdown","styles","style"])]),_:1},8,["to"]),l(O,{class:"group-hover:block hidden",resume:t.resume,onUpdate:d[0]||(d[0]=M=>n("update"))},null,8,["resume"])],4)]),l(P,{resume:t.resume,onUpdate:d[1]||(d[1]=M=>n("update"))},null,8,["resume"])])}}}),Ce={class:"resumes-page"},Le={class:"max-w-306 mx-auto px-5 py-16 text-dark-c"},Se={class:"space-y-2 md:hstack md:justify-between"},Te={"font-bold":"","text-3xl":""},Oe={class:"flex flex-wrap gap-x-4 gap-y-8 mt-8"},Ue=$({__name:"resumes",setup(a){const s=I(),e=async()=>{s.value=await G()};return C(e),(n,r)=>{const i=F,_=ie,c=pe,t=Ie;return m(),p("div",Ce,[l(i),o("div",Le,[o("div",Se,[o("h1",Te,h(n.$t("resumes.my_resumes")),1),l(_,{onUpdate:e})]),o("div",Oe,[l(c),(m(!0),p(Y,null,Z(u(s),d=>(m(),ee(t,{key:d.id,class:"resume-item",resume:d,onUpdate:e},null,8,["resume"]))),128))])])])}}});export{Ue as default}; diff --git a/assets/SKc03cSZ.js b/assets/GSEnbQqK.js similarity index 88% rename from assets/SKc03cSZ.js rename to assets/GSEnbQqK.js index 039e36f..2d348b3 100644 --- a/assets/SKc03cSZ.js +++ b/assets/GSEnbQqK.js @@ -1 +1 @@ -import{_ as h,e as p}from"./ZVcvh5EZ.js";import{_ as u}from"./CrJvmnpK.js";import{_ as x,c as s,b as a,a as t,d as g,t as i,w as f,S as _,T as d,o as n,a6 as b}from"./LLeh9DNx.js";const v={},k={class:"landing-page"},$={class:"workspace"},w={class:"h-fit max-w-240 sm:absolute sm:inset-0 sm:m-auto",p:"x-5 t-40 md:x-20 lt-sm:b-10"},y={"text-center":""},T=["innerHTML"],H={"my-10":"","text-light-c":"","sm:text-lg":""},L={class:"text-white bg-brand rounded-lg mx-auto duration-200",p:"x-4 y-3",outline:"~ 4 transparent hover:rose-300/50"},B={m:"t-15 x-auto",grid:"~ cols-1 sm:cols-2 gap-y-10","text-light-c":"","max-w-150":""},M={"w-fit":"","sm:mx-auto":""},N={hstack:"","mb-3":"","space-x-1.5":""},V={key:0,"i-wpf:privacy":""},z={key:1,"i-mdi:rocket-launch":""},C={"text-c":""},S={"text-sm":"","pl-2":"","ml-4.5":"","list-disc":""},D=["innerHTML"];function E(e,F){const r=h,l=p,m=u;return n(),s("div",k,[a(r),t("div",$,[t("div",w,[t("div",y,[t("h1",{text:"c 3xl sm:4xl",innerHTML:e.$t("landing.hero")},null,8,T),t("div",H,[a(l),g(" "+i(e.$t("landing.desc")),1)]),a(m,{to:e.$nuxt.$localePath("/resumes")},{default:f(()=>[t("span",L,i(e.$t("landing.start")),1)]),_:1},8,["to"])]),t("div",B,[(n(),s(_,null,d([0,1],o=>t("div",{key:o},[t("div",M,[t("div",N,[t("span",{class:b(["circle size-5 text-white text-xs",o?"bg-blue-400":"bg-brand"])},[o?(n(),s("span",V)):(n(),s("span",z))],2),t("h2",C,i(e.$t(`landing.feats[${o}].title`)),1)]),t("ul",S,[(n(!0),s(_,null,d(e.$t(`landing.feats[${o}].items`).split("
"),c=>(n(),s("li",{key:c,innerHTML:c},null,8,D))),128))])])])),64))])])])])}const A=x(v,[["render",E]]);export{A as default}; +import{_ as h,e as p}from"./DDzfXkp7.js";import{_ as u}from"./CZC2LNhJ.js";import{_ as x,c as s,b as a,a as t,d as g,t as i,w as f,S as _,T as d,o as n,a6 as b}from"./BZDDQZjI.js";const v={},k={class:"landing-page"},$={class:"workspace"},w={class:"h-fit max-w-240 sm:absolute sm:inset-0 sm:m-auto",p:"x-5 t-40 md:x-20 lt-sm:b-10"},y={"text-center":""},T=["innerHTML"],H={"my-10":"","text-light-c":"","sm:text-lg":""},L={class:"text-white bg-brand rounded-lg mx-auto duration-200",p:"x-4 y-3",outline:"~ 4 transparent hover:rose-300/50"},B={m:"t-15 x-auto",grid:"~ cols-1 sm:cols-2 gap-y-10","text-light-c":"","max-w-150":""},M={"w-fit":"","sm:mx-auto":""},N={hstack:"","mb-3":"","space-x-1.5":""},V={key:0,"i-wpf:privacy":""},z={key:1,"i-mdi:rocket-launch":""},C={"text-c":""},S={"text-sm":"","pl-2":"","ml-4.5":"","list-disc":""},D=["innerHTML"];function E(e,F){const r=h,l=p,m=u;return n(),s("div",k,[a(r),t("div",$,[t("div",w,[t("div",y,[t("h1",{text:"c 3xl sm:4xl",innerHTML:e.$t("landing.hero")},null,8,T),t("div",H,[a(l),g(" "+i(e.$t("landing.desc")),1)]),a(m,{to:e.$nuxt.$localePath("/resumes")},{default:f(()=>[t("span",L,i(e.$t("landing.start")),1)]),_:1},8,["to"])]),t("div",B,[(n(),s(_,null,d([0,1],o=>t("div",{key:o},[t("div",M,[t("div",N,[t("span",{class:b(["circle size-5 text-white text-xs",o?"bg-blue-400":"bg-brand"])},[o?(n(),s("span",V)):(n(),s("span",z))],2),t("h2",C,i(e.$t(`landing.feats[${o}].title`)),1)]),t("ul",S,[(n(!0),s(_,null,d(e.$t(`landing.feats[${o}].items`).split("
"),c=>(n(),s("li",{key:c,innerHTML:c},null,8,D))),128))])])])),64))])])])])}const A=x(v,[["render",E]]);export{A as default}; diff --git a/assets/ZVcvh5EZ.js b/assets/ZVcvh5EZ.js deleted file mode 100644 index dec0e86..0000000 --- a/assets/ZVcvh5EZ.js +++ /dev/null @@ -1 +0,0 @@ -import{ay as $t,az as pe,aA as Ot,A as K,aB as jt,aC as ot,aD as qt,aE as Pt,Y as ft,ab as me,_ as xt,o as k,c as $,a as x,d as Zt,S as ye,f as Bt,g as Ee,w as Vt,a6 as kt,a1 as At,t as Nt,aF as He,aG as $e,a4 as Be,y as Oe,aH as Ve,aI as Fe,k as We,l as Ge,q as Ue,m as Ye,n as Ke,r as Xe,s as ze,aJ as be,a9 as Z,al as Ct,aK as je,aa as Rt,G as Jt,F as qe,ak as Ze,aL as ve,E as et,z as Je,Z as Lt,aM as Qe,C as tn,D as pt,I as en,ae as nn,Q as on,R as Dt,U as Qt,h as gt,T as rn,b as Q,$ as sn,a0 as an,V as cn,aN as ln,aO as un,j as te,v as ee,a5 as ne}from"./LLeh9DNx.js";import{_ as Ft}from"./CrJvmnpK.js";var Wt=t=>typeof t=="object"&&t!==null&&t.nodeType===1,dn=t=>Wt(t)&&t.tagName==="IFRAME";function gn(t){return Wt(t)?t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0:!1}var we="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",Te=(t,e=!1)=>{if(!t)return[];const n=Array.from(t.querySelectorAll(we));(e==!0||e=="if-empty"&&n.length===0)&&Wt(t)&&bt(t)&&n.unshift(t);const i=n.filter(bt);return i.forEach((r,s)=>{if(dn(r)&&r.contentDocument){const c=r.contentDocument.body;i.splice(s,1,...Te(c))}}),i};function bt(t){return!t||t.closest("[inert]")?!1:t.matches(we)&&gn(t)}function gi(t,e){const[n]=Te(t,e);return n||null}function fn(t){const e={each(n){var o;for(let i=0;i<((o=t.frames)==null?void 0:o.length);i+=1){const r=t.frames[i];r&&n(r)}},addEventListener(n,o,i){return e.each(r=>{try{r.document.addEventListener(n,o,i)}catch{}}),()=>{try{e.removeEventListener(n,o,i)}catch{}}},removeEventListener(n,o,i){e.each(r=>{try{r.document.removeEventListener(n,o,i)}catch{}})}};return e}var oe="pointerdown.outside",ie="focus.outside";function hn(t){for(const e of t)if(Pt(e)&&bt(e))return!0;return!1}var Pe=t=>"clientY"in t;function pn(t,e){if(!Pe(e)||!t)return!1;const n=t.getBoundingClientRect();return n.width===0||n.height===0?!1:n.top<=e.clientY&&e.clientY<=n.top+n.height&&n.left<=e.clientX&&e.clientX<=n.left+n.width}function mn(t){const e=ot(t);if(!e||!Pe(t))return!1;const o=e.scrollHeight>e.clientHeight&&t.clientX>e.clientWidth,r=e.scrollWidth>e.clientWidth&&t.clientY>e.clientHeight;return o||r}function yn(t,e){const{exclude:n,onFocusOutside:o,onPointerDownOutside:i,onInteractOutside:r,defer:s}=e;if(!t)return;const c=$t(t),l=pe(t),g=fn(l);function p(f){const y=ot(f);return!Pt(y)||ft(t,y)||pn(t,f)||mn(f)?!1:!(n!=null&&n(y))}let a;function u(f){function y(){var v;const O=s?K:w=>w(),b=((v=f.composedPath)==null?void 0:v.call(f))??[f.target];O(()=>{if(!(!t||!p(f))){if(i||r){const w=qt(i,r);t.addEventListener(oe,w,{once:!0})}jt(t,oe,{bubbles:!1,cancelable:!0,detail:{originalEvent:f,contextmenu:me(f),focusable:hn(b)}})}})}f.pointerType==="touch"?(g.removeEventListener("click",y),c.removeEventListener("click",y),a=y,c.addEventListener("click",y,{once:!0}),g.addEventListener("click",y,{once:!0})):y()}const d=new Set,m=setTimeout(()=>{d.add(g.addEventListener("pointerdown",u,!0)),d.add(Ot(c,"pointerdown",u,!0))},0);function h(f){(s?K:O=>O())(()=>{if(!(!t||!p(f))){if(o||r){const O=qt(o,r);t.addEventListener(ie,O,{once:!0})}jt(t,ie,{bubbles:!1,cancelable:!0,detail:{originalEvent:f,contextmenu:!1,focusable:bt(ot(f))}})}})}return d.add(Ot(c,"focusin",h,!0)),d.add(g.addEventListener("focusin",h,!0)),()=>{clearTimeout(m),a&&(g.removeEventListener("click",a),c.removeEventListener("click",a)),d.forEach(f=>f())}}function En(t,e){const{defer:n}=e,o=n?K:r=>r(),i=[];return i.push(o(()=>{const r=typeof t=="function"?t():t;i.push(yn(r,e))})),()=>{i.forEach(r=>r==null?void 0:r())}}const On={},bn=["fill"],vn=x("circle",{cx:"15.672",cy:"15.184",r:"11.544","fill-opacity":"0.15"},null,-1),wn=x("path",{d:"M11.244 30.525c.532.036.656-.003 1.038-.165.241-.138.38-.35.499-.677l2.204-6.471c.068-.536 1.211-1.736 2.556-1.608.093.009.172.073.26.115 3.57 1.694 9.404 3.535 11.036.032.054-.116.099-.21.088-.324-.014-.154-.16-.311-.218-.386l-9.194-11.43 2.554-7.6a.456.456 0 0 0 .003-.288.394.394 0 0 0-.344-.26.503.503 0 0 0-.376.167L4.001 19.347c-.614.699-.878.905-.925 1.864-.039.79.357 1.251.646 1.623l6.538 7.135c.236.298.584.53.984.556Zm7.953-16.495a1.783 1.783 0 1 1-.003 3.565 1.783 1.783 0 0 1 .003-3.565Zm.294.529a.902.902 0 1 1 0 1.804.902.902 0 0 1 0-1.804Z"},null,-1),Tn=[vn,wn];function Pn(t,e){var n;return k(),$("svg",{width:"1.7em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:((n=t.$colorMode)==null?void 0:n.preference)==="dark"?"#e2e8f0":"#1e293b"},Tn,8,bn)}const xn=xt(On,[["render",Pn]]),_n={},In=x("span",{"text-brand":""},"My",-1);function Cn(t,e){return k(),$(ye,null,[Zt("Oh"),In,Zt("CV")],64)}const Rn=xt(_n,[["render",Cn]]),Ln={class:"truncate max-w-xs hide-on-mobile"},Sn=Bt({__name:"NavItem",props:{label:{},link:{},icon:{}},setup(t){return(e,n)=>{const o=Ft;return k(),Ee(o,{class:"hstack cursor-pointer space-x-1",to:e.link},{default:Vt(()=>[e.icon?(k(),$("span",{key:0,class:kt(e.icon),"md:text-lg":""},null,2)):At("",!0),x("span",Ln,Nt(e.label),1)]),_:1},8,["to"])}}}),X=Math.min,C=Math.max,vt=Math.round,Et=Math.floor,z=t=>({x:t,y:t}),kn={left:"right",right:"left",bottom:"top",top:"bottom"},An={start:"end",end:"start"};function Mt(t,e,n){return C(t,X(e,n))}function rt(t,e){return typeof t=="function"?t(e):t}function j(t){return t.split("-")[0]}function st(t){return t.split("-")[1]}function xe(t){return t==="x"?"y":"x"}function Gt(t){return t==="y"?"height":"width"}function mt(t){return["top","bottom"].includes(j(t))?"y":"x"}function Ut(t){return xe(mt(t))}function Nn(t,e,n){n===void 0&&(n=!1);const o=st(t),i=Ut(t),r=Gt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=wt(s)),[s,wt(s)]}function Dn(t){const e=wt(t);return[Ht(t),e,Ht(e)]}function Ht(t){return t.replace(/start|end/g,e=>An[e])}function Mn(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function Hn(t,e,n,o){const i=st(t);let r=Mn(j(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(Ht)))),r}function wt(t){return t.replace(/left|right|bottom|top/g,e=>kn[e])}function $n(t){return{top:0,right:0,bottom:0,left:0,...t}}function _e(t){return typeof t!="number"?$n(t):{top:t,right:t,bottom:t,left:t}}function Tt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function re(t,e,n){let{reference:o,floating:i}=t;const r=mt(e),s=Ut(e),c=Gt(s),l=j(e),g=r==="y",p=o.x+o.width/2-i.width/2,a=o.y+o.height/2-i.height/2,u=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:p,y:o.y-i.height};break;case"bottom":d={x:p,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:a};break;case"left":d={x:o.x-i.width,y:a};break;default:d={x:o.x,y:o.y}}switch(st(e)){case"start":d[s]-=u*(n&&g?-1:1);break;case"end":d[s]+=u*(n&&g?-1:1);break}return d}const Bn=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let g=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:a}=re(g,o,l),u=o,d={},m=0;for(let h=0;h({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:g,padding:p=0}=rt(t,e)||{};if(g==null)return{};const a=_e(p),u={x:n,y:o},d=Ut(i),m=Gt(d),h=await s.getDimensions(g),f=d==="y",y=f?"top":"left",O=f?"bottom":"right",b=f?"clientHeight":"clientWidth",v=r.reference[m]+r.reference[d]-u[d]-r.floating[m],w=u[d]-r.reference[d],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(g));let _=T?T[b]:0;(!_||!await(s.isElement==null?void 0:s.isElement(T)))&&(_=c.floating[b]||r.floating[m]);const D=v/2-w/2,U=_/2-h[m]/2-1,at=X(a[y],U),ct=X(a[O],U),L=at,lt=_-h[m]-ct,I=_/2-h[m]/2+D,M=Mt(L,I,lt),H=!l.arrow&&st(i)!=null&&I!==M&&r.reference[m]/2-(IL<=0)){var U,at;const L=(((U=r.flip)==null?void 0:U.index)||0)+1,lt=w[L];if(lt)return{data:{index:L,overflows:D},reset:{placement:lt}};let I=(at=D.filter(M=>M.overflows[0]<=0).sort((M,H)=>M.overflows[1]-H.overflows[1])[0])==null?void 0:at.placement;if(!I)switch(d){case"bestFit":{var ct;const M=(ct=D.map(H=>[H.placement,H.overflows.filter(V=>V>0).reduce((V,Me)=>V+Me,0)]).sort((H,V)=>H[1]-V[1])[0])==null?void 0:ct[0];M&&(I=M);break}case"initialPlacement":I=c;break}if(i!==I)return{reset:{placement:I}}}return{}}}};async function Wn(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=j(n),c=st(n),l=mt(n)==="y",g=["left","top"].includes(s)?-1:1,p=r&&l?-1:1,a=rt(e,t);let{mainAxis:u,crossAxis:d,alignmentAxis:m}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...a};return c&&typeof m=="number"&&(d=c==="end"?m*-1:m),l?{x:d*p,y:u*g}:{x:u*g,y:d*p}}const Gn=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await Wn(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},Un=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:f=>{let{x:y,y:O}=f;return{x:y,y:O}}},...l}=rt(t,e),g={x:n,y:o},p=await Yt(e,l),a=mt(j(i)),u=xe(a);let d=g[u],m=g[a];if(r){const f=u==="y"?"top":"left",y=u==="y"?"bottom":"right",O=d+p[f],b=d-p[y];d=Mt(O,d,b)}if(s){const f=a==="y"?"top":"left",y=a==="y"?"bottom":"right",O=m+p[f],b=m-p[y];m=Mt(O,m,b)}const h=c.fn({...e,[u]:d,[a]:m});return{...h,data:{x:h.x-n,y:h.y-o}}}}},Yn=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:i,elements:r}=e,{apply:s=()=>{},...c}=rt(t,e),l=await Yt(e,c),g=j(n),p=st(n),a=mt(n)==="y",{width:u,height:d}=o.floating;let m,h;g==="top"||g==="bottom"?(m=g,h=p===(await(i.isRTL==null?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(h=g,m=p==="end"?"top":"bottom");const f=d-l[m],y=u-l[h],O=!e.middlewareData.shift;let b=f,v=y;if(a){const T=u-l.left-l.right;v=p||O?X(y,T):T}else{const T=d-l.top-l.bottom;b=p||O?X(f,T):T}if(O&&!p){const T=C(l.left,0),_=C(l.right,0),D=C(l.top,0),U=C(l.bottom,0);a?v=u-2*(T!==0||_!==0?T+_:C(l.left,l.right)):b=d-2*(D!==0||U!==0?D+U:C(l.top,l.bottom))}await s({...e,availableWidth:v,availableHeight:b});const w=await i.getDimensions(r.floating);return u!==w.width||d!==w.height?{reset:{rects:!0}}:{}}}};function q(t){return Ie(t)?(t.nodeName||"").toLowerCase():"#document"}function R(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function G(t){var e;return(e=(Ie(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ie(t){return t instanceof Node||t instanceof R(t).Node}function W(t){return t instanceof Element||t instanceof R(t).Element}function B(t){return t instanceof HTMLElement||t instanceof R(t).HTMLElement}function se(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof R(t).ShadowRoot}function yt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=A(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Kn(t){return["table","td","th"].includes(q(t))}function Kt(t){const e=Xt(),n=A(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Xn(t){let e=it(t);for(;B(e)&&!_t(e);){if(Kt(e))return e;e=it(e)}return null}function Xt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function _t(t){return["html","body","#document"].includes(q(t))}function A(t){return R(t).getComputedStyle(t)}function It(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function it(t){if(q(t)==="html")return t;const e=t.assignedSlot||t.parentNode||se(t)&&t.host||G(t);return se(e)?e.host:e}function Ce(t){const e=it(t);return _t(e)?t.ownerDocument?t.ownerDocument.body:t.body:B(e)&&yt(e)?e:Ce(e)}function ht(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Ce(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=R(i);return r?e.concat(s,s.visualViewport||[],yt(i)?i:[],s.frameElement&&n?ht(s.frameElement):[]):e.concat(i,ht(i,[],n))}function Re(t){const e=A(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=B(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=vt(n)!==r||vt(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function zt(t){return W(t)?t:t.contextElement}function nt(t){const e=zt(t);if(!B(e))return z(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Re(e);let s=(r?vt(n.width):n.width)/o,c=(r?vt(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const zn=z(0);function Le(t){const e=R(t);return!Xt()||!e.visualViewport?zn:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function jn(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==R(t)?!1:e}function tt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=zt(t);let s=z(1);e&&(o?W(o)&&(s=nt(o)):s=nt(t));const c=jn(r,n,o)?Le(r):z(0);let l=(i.left+c.x)/s.x,g=(i.top+c.y)/s.y,p=i.width/s.x,a=i.height/s.y;if(r){const u=R(r),d=o&&W(o)?R(o):o;let m=u,h=m.frameElement;for(;h&&o&&d!==m;){const f=nt(h),y=h.getBoundingClientRect(),O=A(h),b=y.left+(h.clientLeft+parseFloat(O.paddingLeft))*f.x,v=y.top+(h.clientTop+parseFloat(O.paddingTop))*f.y;l*=f.x,g*=f.y,p*=f.x,a*=f.y,l+=b,g+=v,m=R(h),h=m.frameElement}}return Tt({width:p,height:a,x:l,y:g})}const qn=[":popover-open",":modal"];function Se(t){return qn.some(e=>{try{return t.matches(e)}catch{return!1}})}function Zn(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=G(o),c=e?Se(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},g=z(1);const p=z(0),a=B(o);if((a||!a&&!r)&&((q(o)!=="body"||yt(s))&&(l=It(o)),B(o))){const u=tt(o);g=nt(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:n.width*g.x,height:n.height*g.y,x:n.x*g.x-l.scrollLeft*g.x+p.x,y:n.y*g.y-l.scrollTop*g.y+p.y}}function Jn(t){return Array.from(t.getClientRects())}function ke(t){return tt(G(t)).left+It(t).scrollLeft}function Qn(t){const e=G(t),n=It(t),o=t.ownerDocument.body,i=C(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=C(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+ke(t);const c=-n.scrollTop;return A(o).direction==="rtl"&&(s+=C(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function to(t,e){const n=R(t),o=G(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const g=Xt();(!g||g&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function eo(t,e){const n=tt(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=B(t)?nt(t):z(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,g=o*r.y;return{width:s,height:c,x:l,y:g}}function ae(t,e,n){let o;if(e==="viewport")o=to(t,n);else if(e==="document")o=Qn(G(t));else if(W(e))o=eo(e,n);else{const i=Le(t);o={...e,x:e.x-i.x,y:e.y-i.y}}return Tt(o)}function Ae(t,e){const n=it(t);return n===e||!W(n)||_t(n)?!1:A(n).position==="fixed"||Ae(n,e)}function no(t,e){const n=e.get(t);if(n)return n;let o=ht(t,[],!1).filter(c=>W(c)&&q(c)!=="body"),i=null;const r=A(t).position==="fixed";let s=r?it(t):t;for(;W(s)&&!_t(s);){const c=A(s),l=Kt(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||yt(s)&&!l&&Ae(t,s))?o=o.filter(p=>p!==s):i=c,s=it(s)}return e.set(t,o),o}function oo(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?no(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((g,p)=>{const a=ae(e,p,i);return g.top=C(a.top,g.top),g.right=X(a.right,g.right),g.bottom=X(a.bottom,g.bottom),g.left=C(a.left,g.left),g},ae(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function io(t){const{width:e,height:n}=Re(t);return{width:e,height:n}}function ro(t,e,n){const o=B(e),i=G(e),r=n==="fixed",s=tt(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=z(0);if(o||!o&&!r)if((q(e)!=="body"||yt(i))&&(c=It(e)),o){const a=tt(e,!0,r,e);l.x=a.x+e.clientLeft,l.y=a.y+e.clientTop}else i&&(l.x=ke(i));const g=s.left+c.scrollLeft-l.x,p=s.top+c.scrollTop-l.y;return{x:g,y:p,width:s.width,height:s.height}}function ce(t,e){return!B(t)||A(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ne(t,e){const n=R(t);if(!B(t)||Se(t))return n;let o=ce(t,e);for(;o&&Kn(o)&&A(o).position==="static";)o=ce(o,e);return o&&(q(o)==="html"||q(o)==="body"&&A(o).position==="static"&&!Kt(o))?n:o||Xn(t)||n}const so=async function(t){const e=this.getOffsetParent||Ne,n=this.getDimensions;return{reference:ro(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await n(t.floating)}}};function ao(t){return A(t).direction==="rtl"}const co={convertOffsetParentRelativeRectToViewportRelativeRect:Zn,getDocumentElement:G,getClippingRect:oo,getOffsetParent:Ne,getElementRects:so,getClientRects:Jn,getDimensions:io,getScale:nt,isElement:W,isRTL:ao};function lo(t,e){let n=null,o;const i=G(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const{left:g,top:p,width:a,height:u}=t.getBoundingClientRect();if(c||e(),!a||!u)return;const d=Et(p),m=Et(i.clientWidth-(g+a)),h=Et(i.clientHeight-(p+u)),f=Et(g),O={rootMargin:-d+"px "+-m+"px "+-h+"px "+-f+"px",threshold:C(0,X(1,l))||1};let b=!0;function v(w){const T=w[0].intersectionRatio;if(T!==l){if(!b)return s();T?s(!1,T):o=setTimeout(()=>{s(!1,1e-7)},100)}b=!1}try{n=new IntersectionObserver(v,{...O,root:i.ownerDocument})}catch{n=new IntersectionObserver(v,O)}n.observe(t)}return s(!0),r}function uo(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,g=zt(t),p=i||r?[...g?ht(g):[],...ht(e)]:[];p.forEach(y=>{i&&y.addEventListener("scroll",n,{passive:!0}),r&&y.addEventListener("resize",n)});const a=g&&c?lo(g,n):null;let u=-1,d=null;s&&(d=new ResizeObserver(y=>{let[O]=y;O&&O.target===g&&d&&(d.unobserve(e),cancelAnimationFrame(u),u=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),g&&!l&&d.observe(g),d.observe(e));let m,h=l?tt(t):null;l&&f();function f(){const y=tt(t);h&&(y.x!==h.x||y.y!==h.y||y.width!==h.width||y.height!==h.height)&&n(),h=y,m=requestAnimationFrame(f)}return n(),()=>{var y;p.forEach(O=>{i&&O.removeEventListener("scroll",n),r&&O.removeEventListener("resize",n)}),a==null||a(),(y=d)==null||y.disconnect(),d=null,l&&cancelAnimationFrame(m)}}const go=Un,fo=Fn,ho=Yn,po=Vn,mo=(t,e,n)=>{const o=new Map,i={platform:co,...n},r={...i.platform,_c:o};return Bn(t,e,{...i,platform:r})};function le(t=0,e=0,n=0,o=0){if(typeof DOMRect=="function")return new DOMRect(t,e,n,o);const i={x:t,y:e,width:n,height:o,top:e,right:t+n,bottom:e+o,left:t};return{...i,toJSON:()=>i}}function yo(t){if(!t)return le();const{x:e,y:n,width:o,height:i}=t;return le(e,n,o,i)}function Eo(t,e){return{contextElement:Pt(t)?t:void 0,getBoundingClientRect:()=>{const n=t,o=e==null?void 0:e(n);return o||!n?yo(o):n.getBoundingClientRect()}}}var ut=t=>({variable:t,reference:`var(${t})`}),F={arrowSize:ut("--arrow-size"),arrowSizeHalf:ut("--arrow-size-half"),arrowBg:ut("--arrow-background"),transformOrigin:ut("--transform-origin"),arrowOffset:ut("--arrow-offset")},Oo=t=>({top:"bottom center","top-start":t?`${t.x}px bottom`:"left bottom","top-end":t?`${t.x}px bottom`:"right bottom",bottom:"top center","bottom-start":t?`${t.x}px top`:"top left","bottom-end":t?`${t.x}px top`:"top right",left:"right center","left-start":t?`right ${t.y}px`:"right top","left-end":t?`right ${t.y}px`:"right bottom",right:"left center","right-start":t?`left ${t.y}px`:"left top","right-end":t?`left ${t.y}px`:"left bottom"}),bo={name:"transformOrigin",fn({placement:t,elements:e,middlewareData:n}){const{arrow:o}=n,i=Oo(o)[t],{floating:r}=e;return r.style.setProperty(F.transformOrigin.variable,i),{data:{transformOrigin:i}}}},vo={name:"rects",fn({rects:t}){return{data:t}}},wo=t=>{if(t)return{name:"shiftArrow",fn({placement:e,middlewareData:n}){if(!n.arrow)return{};const{x:o,y:i}=n.arrow,r=e.split("-")[0];return Object.assign(t.style,{left:o!=null?`${o}px`:"",top:i!=null?`${i}px`:"",[r]:`calc(100% + ${F.arrowOffset.reference})`}),{}}}};function To(t){const[e,n]=t.split("-");return{side:e,align:n,hasAlign:n!=null}}function Po(t){return t.split("-")[0]}var xo={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function ue(t,e){const n=t.devicePixelRatio||1;return Math.round(e*n)/n}function De(t){return Be(t.boundary)}function _o(t,e){if(t)return po({element:t,padding:e.arrowPadding})}function Io(t,e){if(!$e(e.offset??e.gutter))return Gn(({placement:n})=>{var c,l;const o=((t==null?void 0:t.clientHeight)||0)/2,i=((c=e.offset)==null?void 0:c.mainAxis)??e.gutter,r=typeof i=="number"?i+o:i??o,{hasAlign:s}=To(n);return Oe({crossAxis:s?e.shift:(l=e.offset)==null?void 0:l.crossAxis,mainAxis:r,alignmentAxis:e.shift})})}function Co(t){if(t.flip)return fo({boundary:De(t),padding:t.overflowPadding,fallbackPlacements:t.flip===!0?void 0:t.flip})}function Ro(t){if(!(!t.slide&&!t.overlap))return go({boundary:De(t),mainAxis:t.slide,crossAxis:t.overlap,padding:t.overflowPadding})}function Lo(t){return ho({padding:t.overflowPadding,apply({elements:e,rects:n,availableHeight:o,availableWidth:i}){const r=e.floating,s=Math.round(n.reference.width);i=Math.floor(i),o=Math.floor(o),r.style.setProperty("--reference-width",`${s}px`),r.style.setProperty("--available-width",`${i}px`),r.style.setProperty("--available-height",`${o}px`)}})}function So(t){return t?t===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:t:{}}function ko(t,e,n={}){const o=Eo(t,n.getAnchorRect);if(!e||!o)return;const i=Object.assign({},xo,n),r=e.querySelector("[data-part=arrow]"),s=[Io(r,i),Co(i),Ro(i),_o(r,i),wo(r),bo,Lo(i),vo],{placement:c,strategy:l,onComplete:g,onPositioned:p}=i,a=async()=>{if(!o||!e)return;const h=await mo(o,e,{placement:c,middleware:s,strategy:l});g==null||g(h),p==null||p({placed:!0});const f=pe(e),y=ue(f,h.x),O=ue(f,h.y);e.style.setProperty("--x",`${y}px`),e.style.setProperty("--y",`${O}px`);const b=e.firstElementChild;if(b){const v=f.getComputedStyle(b).zIndex;e.style.setProperty("--z-index",v)}},u=async()=>{n.updatePosition?(await n.updatePosition({updatePosition:a}),p==null||p({placed:!0})):await a()},d=So(i.listeners),m=i.listeners?uo(o,e,u,d):He;return u(),()=>{m==null||m(),p==null||p({placed:!1})}}function de(t,e,n={}){const{defer:o,...i}=n,r=o?K:c=>c(),s=[];return s.push(r(()=>{const c=typeof t=="function"?t():t,l=typeof e=="function"?e():e;s.push(ko(c,l,i))})),()=>{s.forEach(c=>c==null?void 0:c())}}var Ao={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function No(t={}){const{placement:e,sameWidth:n,fitViewport:o,strategy:i="absolute"}=t;return{arrow:{position:"absolute",width:F.arrowSize.reference,height:F.arrowSize.reference,[F.arrowSizeHalf.variable]:`calc(${F.arrowSize.reference} / 2)`,[F.arrowOffset.variable]:`calc(${F.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:e?Ao[e.split("-")[0]]:void 0,background:F.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:i,isolation:"isolate",minWidth:n?void 0:"max-content",width:n?"var(--reference-width)":void 0,maxWidth:o?"var(--available-width)":void 0,maxHeight:o?"var(--available-height)":void 0,top:"0px",left:"0px",transform:e?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}function Do(t,e){const n=o=>{o.key==="Escape"&&(e==null||e(o))};return Ot($t(t),"keydown",n,{capture:!0})}var N={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(t=>t.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(t){var o;const e=this.indexOf(t),n=this.topMostPointerBlockingLayer()?this.indexOf((o=this.topMostPointerBlockingLayer())==null?void 0:o.node):-1;return eft(n.node,e))},isInBranch(t){return Array.from(this.branches).some(e=>ft(e,t))},add(t){const e=this.layers.push(t);t.node.style.setProperty("--layer-index",`${e}`)},addBranch(t){this.branches.push(t)},remove(t){const e=this.indexOf(t);e<0||(eo.dismiss()),this.layers.splice(e,1),t.style.removeProperty("--layer-index"))},removeBranch(t){const e=this.branches.indexOf(t);e>=0&&this.branches.splice(e,1)},indexOf(t){return this.layers.findIndex(e=>e.node===t)},dismiss(t){var e;(e=this.layers[this.indexOf(t)])==null||e.dismiss()},clear(){this.remove(this.layers[0].node)}},ge;function fe(){N.layers.forEach(({node:t})=>{t.style.pointerEvents=N.isBelowPointerBlockingLayer(t)?"none":"auto"})}function Mo(t){t.style.pointerEvents=""}var St="data-inert";function Ho(t){const e=$t(t);return N.hasPointerBlockingLayer()&&!e.body.hasAttribute(St)&&(ge=document.body.style.pointerEvents,e.body.style.pointerEvents="none",e.body.setAttribute(St,"")),()=>{N.hasPointerBlockingLayer()||(e.body.style.pointerEvents=ge,e.body.removeAttribute(St),e.body.style.length===0&&e.body.removeAttribute("style"))}}function $o(t,e){if(!t){Fe("[@zag-js/dismissable] node is `null` or `undefined`");return}const{onDismiss:n,pointerBlocking:o,exclude:i,debug:r}=e,s={dismiss:n,node:t,pointerBlocking:o};N.add(s),fe();function c(u){var m,h;const d=ot(u.detail.originalEvent);N.isBelowPointerBlockingLayer(t)||N.isInBranch(d)||((m=e.onPointerDownOutside)==null||m.call(e,u),(h=e.onInteractOutside)==null||h.call(e,u),!u.defaultPrevented&&(r&&console.log("onPointerDownOutside:",u.detail.originalEvent),n==null||n()))}function l(u){var m,h;const d=ot(u.detail.originalEvent);N.isInBranch(d)||((m=e.onFocusOutside)==null||m.call(e,u),(h=e.onInteractOutside)==null||h.call(e,u),!u.defaultPrevented&&(r&&console.log("onFocusOutside:",u.detail.originalEvent),n==null||n()))}function g(u){var d;N.isTopMost(t)&&((d=e.onEscapeKeyDown)==null||d.call(e,u),!u.defaultPrevented&&n&&(u.preventDefault(),n()))}function p(u){if(!t)return!1;const d=typeof i=="function"?i():i;return(Array.isArray(d)?d:[d]).some(h=>ft(h,u))||N.isInNestedLayer(t,u)}const a=[o?Ho(t):void 0,Do(t,g),En(t,{exclude:p,onFocusOutside:l,onPointerDownOutside:c,defer:e.defer})];return()=>{N.remove(t),fe(),Mo(t),a.forEach(u=>u==null?void 0:u())}}function Bo(t,e){const{defer:n}=e,o=n?K:r=>r(),i=[];return i.push(o(()=>{const r=Ve(t)?t():t;i.push($o(r,e))})),()=>{i.forEach(r=>r==null?void 0:r())}}function Vo(t,e,n){if(!t)return;const o=t.ownerDocument.defaultView||window,i=new o.MutationObserver(r=>{for(const s of r)s.type==="attributes"&&s.attributeName&&e.includes(s.attributeName)&&n(s)});return i.observe(t,{attributes:!0,attributeFilter:e}),()=>i.disconnect()}function fi(t,e){if(!t)return;const n=t.ownerDocument.defaultView||window,o=new n.MutationObserver(e);return o.observe(t,{childList:!0,subtree:!0}),()=>o.disconnect()}var dt=(t,e)=>({x:t,y:e});function Fo(t){const{x:e,y:n,width:o,height:i}=t,r=e+o/2,s=n+i/2;return{x:e,y:n,width:o,height:i,minX:e,minY:n,maxX:e+o,maxY:n+i,midX:r,midY:s,center:dt(r,s)}}function Wo(t){const e=dt(t.minX,t.minY),n=dt(t.maxX,t.minY),o=dt(t.maxX,t.maxY),i=dt(t.minX,t.maxY);return{top:e,right:n,bottom:o,left:i}}function Go(t,e){const n=Fo(t),{top:o,right:i,left:r,bottom:s}=Wo(n),[c]=e.split("-");return{top:[r,o,i,s],right:[o,i,s,r],bottom:[o,r,s,i],left:[i,o,r,s]}[c]}function Uo(t,e){const{x:n,y:o}=e;let i=!1;for(let r=0,s=t.length-1;ro!=p>o&&n<(g-c)*(o-l)/(p-l)+c&&(i=!i)}return i}var Yo=We("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem"),P=Yo.build(),E=Ge({getTriggerId:t=>{var e;return((e=t.ids)==null?void 0:e.trigger)??`menu:${t.id}:trigger`},getContextTriggerId:t=>{var e;return((e=t.ids)==null?void 0:e.contextTrigger)??`menu:${t.id}:ctx-trigger`},getContentId:t=>{var e;return((e=t.ids)==null?void 0:e.content)??`menu:${t.id}:content`},getArrowId:t=>{var e;return((e=t.ids)==null?void 0:e.arrow)??`menu:${t.id}:arrow`},getPositionerId:t=>{var e;return((e=t.ids)==null?void 0:e.positioner)??`menu:${t.id}:popper`},getGroupId:(t,e)=>{var n,o;return((o=(n=t.ids)==null?void 0:n.group)==null?void 0:o.call(n,e))??`menu:${t.id}:group:${e}`},getGroupLabelId:(t,e)=>{var n,o;return((o=(n=t.ids)==null?void 0:n.label)==null?void 0:o.call(n,e))??`menu:${t.id}:label:${e}`},getContentEl:t=>E.getById(t,E.getContentId(t)),getPositionerEl:t=>E.getById(t,E.getPositionerId(t)),getTriggerEl:t=>E.getById(t,E.getTriggerId(t)),getHighlightedItemEl:t=>t.highlightedValue?E.getById(t,t.highlightedValue):null,getArrowEl:t=>E.getById(t,E.getArrowId(t)),getElements:t=>{const n=`[role^="menuitem"][data-ownedby=${CSS.escape(E.getContentId(t))}]:not([data-disabled])`;return Ue(E.getContentEl(t),n)},getFirstEl:t=>Ye(E.getElements(t)),getLastEl:t=>Ke(E.getElements(t)),getNextEl:(t,e)=>Xe(E.getElements(t),t.highlightedValue,e??t.loop),getPrevEl:(t,e)=>ze(E.getElements(t),t.highlightedValue,e??t.loop),getElemByKey:(t,e)=>be(E.getElements(t),{state:t.typeahead,key:e,activeId:t.highlightedValue}),isTargetDisabled:t=>Pt(t)&&(t.dataset.disabled===""||t.hasAttribute("disabled")),isTriggerItem:t=>{var e;return!!((e=t==null?void 0:t.getAttribute("role"))!=null&&e.startsWith("menuitem"))&&!!(t!=null&&t.hasAttribute("aria-controls"))},getOptionFromItemEl(t){return{id:t.id,name:t.dataset.name,value:t.dataset.value,valueText:t.dataset.valueText,type:t.dataset.type}}});function Ko(t,e,n){const o=t.context.isSubmenu,i=t.context.isTypingAhead,r=t.hasTag("open"),s=No({...t.context.positioning,placement:t.context.anchorPoint?"bottom":t.context.currentPlacement});function c(a){return{isDisabled:!!a.disabled,isHighlighted:t.context.highlightedValue===a.value}}function l(a){const u=a.valueText??a.value;return{...a,id:a.value,valueText:u}}function g(a){return{...c(l(a)),isChecked:!!a.checked}}function p(a){const{value:u,closeOnSelect:d,valueText:m}=a,h=c(a);return n.element({...P.item.attrs,id:u,role:"menuitem","aria-disabled":h.isDisabled,"data-disabled":et(h.isDisabled),"data-ownedby":E.getContentId(t.context),"data-highlighted":et(h.isHighlighted),"data-valuetext":m,onDragStart(f){f.currentTarget.matches("a[href]")&&f.preventDefault()},onPointerLeave(f){if(h.isDisabled||f.pointerType!=="mouse")return;const y=f.currentTarget;e({type:"ITEM_POINTERLEAVE",id:u,target:y,closeOnSelect:d})},onPointerMove(f){if(h.isDisabled||f.pointerType!=="mouse")return;const y=f.currentTarget;h.isHighlighted||e({type:"ITEM_POINTERMOVE",id:u,target:y,closeOnSelect:d})},onPointerDown(f){if(h.isDisabled)return;const y=f.currentTarget;e({type:"ITEM_POINTERDOWN",target:y,id:u,closeOnSelect:d})},onPointerUp(f){const y=Z(f);if(!Rt(y)||h.isDisabled)return;const O=f.currentTarget;e({type:"ITEM_CLICK",src:"pointerup",target:O,id:u,closeOnSelect:d}),O.matches("a[href]")&&f.pointerType==="touch"&&O.click()},onTouchEnd(f){f.preventDefault(),f.stopPropagation()}})}return{highlightedValue:t.context.highlightedValue,isOpen:r,open(){e("OPEN")},close(){e("CLOSE")},setHighlightedValue(a){e({type:"HIGHLIGHTED.SET",id:a})},setParent(a){e({type:"PARENT.SET",value:a,id:a.state.context.id})},setChild(a){e({type:"CHILD.SET",value:a,id:a.state.context.id})},reposition(a={}){e({type:"POSITIONING.SET",options:a})},contextTriggerProps:n.element({...P.contextTrigger.attrs,dir:t.context.dir,id:E.getContextTriggerId(t.context),onPointerDown(a){if(a.pointerType==="mouse")return;const u=Z(a),d=Ct(u);e({type:"CONTEXT_MENU_START",point:d})},onPointerCancel(a){a.pointerType!=="mouse"&&e("CONTEXT_MENU_CANCEL")},onPointerMove(a){a.pointerType!=="mouse"&&e("CONTEXT_MENU_CANCEL")},onPointerUp(a){a.pointerType!=="mouse"&&e("CONTEXT_MENU_CANCEL")},onContextMenu(a){const u=Z(a),d=Ct(u);e({type:"CONTEXT_MENU",point:d}),a.preventDefault()},style:{WebkitTouchCallout:"none",userSelect:"none"}}),getTriggerItemProps(a){return je(p({value:a.triggerProps.id}),a.triggerProps)},triggerProps:n.button({...o?P.triggerItem.attrs:P.trigger.attrs,"data-placement":t.context.currentPlacement,type:"button",dir:t.context.dir,id:E.getTriggerId(t.context),"data-uid":t.context.id,"aria-haspopup":"menu","aria-controls":E.getContentId(t.context),"aria-expanded":r||void 0,"data-state":r?"open":"closed",onPointerMove(a){a.pointerType!=="mouse"||E.isTargetDisabled(a.currentTarget)||!o||e({type:"TRIGGER_POINTERMOVE",target:a.currentTarget})},onPointerLeave(a){if(a.pointerType!=="mouse")return;const u=Z(a);if(E.isTargetDisabled(a.currentTarget)||!o)return;const m=Ct(u);e({type:"TRIGGER_POINTERLEAVE",target:a.currentTarget,point:m})},onClick(a){E.isTriggerItem(a.currentTarget)&&e({type:"TRIGGER_CLICK",target:a.currentTarget})},onPointerDown(a){const u=E.isTargetDisabled(a.currentTarget),d=Z(a);!Rt(d)||u||me(a)||(a.preventDefault(),E.isTriggerItem(a.currentTarget)||e({type:"TRIGGER_CLICK",target:a.currentTarget}))},onBlur(){e("TRIGGER_BLUR")},onFocus(){e("TRIGGER_FOCUS")},onKeyDown(a){const u={ArrowDown(){e("ARROW_DOWN")},ArrowUp(){e("ARROW_UP")},Enter(){e({type:"ARROW_DOWN",src:"enter"})},Space(){e({type:"ARROW_DOWN",src:"space"})}},d=Jt(a,t.context),m=u[d];m&&(a.preventDefault(),m(a))}}),indicatorProps:n.element({...P.indicator.attrs,dir:t.context.dir,"data-state":r?"open":"closed"}),positionerProps:n.element({...P.positioner.attrs,dir:t.context.dir,id:E.getPositionerId(t.context),style:s.floating}),arrowProps:n.element({id:E.getArrowId(t.context),...P.arrow.attrs,dir:t.context.dir,style:s.arrow}),arrowTipProps:n.element({...P.arrowTip.attrs,dir:t.context.dir,style:s.arrowTip}),contentProps:n.element({...P.content.attrs,id:E.getContentId(t.context),"aria-label":t.context["aria-label"],hidden:!r,"data-state":r?"open":"closed",role:"menu",tabIndex:0,dir:t.context.dir,"aria-activedescendant":t.context.highlightedValue??void 0,"aria-labelledby":E.getTriggerId(t.context),"data-placement":t.context.currentPlacement,onPointerEnter(a){a.pointerType==="mouse"&&e("MENU_POINTERENTER")},onKeyDown(a){const u=Z(a),d=ot(u),m=(d==null?void 0:d.closest("[role=menu]"))===a.currentTarget;if(!qe(u)||!m)return;const h=E.getHighlightedItemEl(t.context),f=!!(h!=null&&h.matches("a[href]")),y={ArrowDown(){e("ARROW_DOWN")},ArrowUp(){e("ARROW_UP")},ArrowLeft(){e("ARROW_LEFT")},ArrowRight(){e("ARROW_RIGHT")},Enter(){f&&(h==null||h.click()),e("ENTER")},Space(v){var w;i?e({type:"TYPEAHEAD",key:v.key}):(w=y.Enter)==null||w.call(y,v)},Home(){e("HOME")},End(){e("END")},Tab(v){e({type:"TAB",shiftKey:v.shiftKey,loop:!1})}},O=Jt(a,{dir:t.context.dir}),b=y[O];if(b){const v=f&&O==="Enter";b(a),v||a.preventDefault()}else{if(!(a.key.length===1&&!Ze(a)&&!ve(h)))return;e({type:"TYPEAHEAD",key:a.key}),a.preventDefault()}}}),separatorProps:n.element({...P.separator.attrs,role:"separator",dir:t.context.dir,"aria-orientation":"horizontal"}),getItemState:c,getItemProps:p,getOptionItemState:g,getOptionItemProps(a){const{type:u,disabled:d,onCheckedChange:m,closeOnSelect:h}=a,f=l(a),y=g(a);return{...p(f),...n.element({"data-type":u,...P.item.attrs,dir:t.context.dir,"data-value":f.value,role:`menuitem${u}`,"aria-checked":!!y.isChecked,"data-state":y.isChecked?"checked":"unchecked",onPointerUp(O){const b=Z(O);if(!Rt(b)||d)return;const v=O.currentTarget;e({type:"ITEM_CLICK",src:"pointerup",target:v,option:f,closeOnSelect:h}),m==null||m(!y.isChecked)}})}},getItemIndicatorProps(a){const u=g(a);return n.element({...P.itemIndicator.attrs,dir:t.context.dir,"data-disabled":et(u.isDisabled),"data-highlighted":et(u.isHighlighted),"data-state":u.isChecked?"checked":"unchecked",hidden:!u.isChecked})},getItemTextProps(a){const u=g(a);return n.element({...P.itemText.attrs,dir:t.context.dir,"data-disabled":et(u.isDisabled),"data-highlighted":et(u.isHighlighted),"data-state":u.isChecked?"checked":"unchecked"})},getItemGroupLabelProps(a){return n.element({id:E.getGroupLabelId(t.context,a.htmlFor),dir:t.context.dir,...P.itemGroupLabel.attrs})},getItemGroupProps(a){return n.element({id:E.getGroupId(t.context,a.id),...P.itemGroup.attrs,dir:t.context.dir,"aria-labelledby":E.getGroupLabelId(t.context,a.id),role:"group"})}}}var{not:S,and:J,or:Xo}=en;function zo(t){const e=Oe(t);return Je({id:"menu",initial:e.open?"open":"idle",context:{highlightedValue:null,loop:!1,anchorPoint:null,closeOnSelect:!0,...e,positioning:{placement:"bottom-start",gutter:8,...e.positioning},intentPolygon:null,parent:null,lastHighlightedValue:null,children:Qe(Lt({})),suspendPointer:!1,restoreFocus:!0,typeahead:be.defaultOptions},computed:{isSubmenu:n=>n.parent!==null,isRtl:n=>n.dir==="rtl",isTypingAhead:n=>n.typeahead.keysSoFar!==""},watch:{isSubmenu:"setSubmenuPlacement",anchorPoint:"reposition",open:"toggleVisibility"},on:{"PARENT.SET":{actions:"setParentMenu"},"CHILD.SET":{actions:"setChildMenu"},OPEN:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:"invokeOnOpen"}],OPEN_AUTOFOCUS:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{internal:!0,target:"open",actions:["highlightFirstItem","invokeOnOpen"]}],CLOSE:[{guard:"isOpenControlled",actions:"invokeOnClose"},{target:"closed",actions:"invokeOnClose"}],"HIGHLIGHTED.RESTORE":{actions:"restoreHighlightedItem"},"HIGHLIGHTED.SET":{actions:"setHighlightedItem"}},states:{idle:{tags:["closed"],on:{"CONTROLLED.OPEN":"open","CONTROLLED.CLOSE":"closed",CONTEXT_MENU_START:{target:"opening:contextmenu",actions:"setAnchorPoint"},CONTEXT_MENU:[{guard:"isOpenControlled",actions:["setAnchorPoint","invokeOnOpen"]},{target:"open",actions:["setAnchorPoint","invokeOnOpen"]}],TRIGGER_CLICK:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:"invokeOnOpen"}],TRIGGER_FOCUS:{guard:S("isSubmenu"),target:"closed"},TRIGGER_POINTERMOVE:{guard:"isSubmenu",target:"opening"}}},"opening:contextmenu":{tags:["closed"],after:{LONG_PRESS_DELAY:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:"invokeOnOpen"}]},on:{"CONTROLLED.OPEN":"open","CONTROLLED.CLOSE":"closed",CONTEXT_MENU_CANCEL:[{guard:"isOpenControlled",actions:"invokeOnClose"},{target:"closed",actions:"invokeOnClose"}]}},opening:{tags:["closed"],after:{SUBMENU_OPEN_DELAY:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:"invokeOnOpen"}]},on:{"CONTROLLED.OPEN":"open","CONTROLLED.CLOSE":"closed",BLUR:[{guard:"isOpenControlled",actions:"invokeOnClose"},{target:"closed",actions:"invokeOnClose"}],TRIGGER_POINTERLEAVE:[{guard:"isOpenControlled",actions:"invokeOnClose"},{target:"closed",actions:"invokeOnClose"}]}},closing:{tags:["open"],activities:["trackPointerMove","trackInteractOutside"],after:{SUBMENU_CLOSE_DELAY:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["focusParentMenu","restoreParentHiglightedItem","invokeOnClose"]}]},on:{"CONTROLLED.OPEN":"open","CONTROLLED.CLOSE":{target:"closed",actions:["focusParentMenu","restoreParentHiglightedItem"]},MENU_POINTERENTER:{target:"open",actions:"clearIntentPolygon"},POINTER_MOVED_AWAY_FROM_SUBMENU:[{guard:"isOpenControlled",actions:"invokeOnClose"},{target:"closed",actions:["focusParentMenu","restoreParentHiglightedItem"]}]}},closed:{tags:["closed"],entry:["clearHighlightedItem","focusTrigger","clearAnchorPoint","resumePointer"],on:{"CONTROLLED.OPEN":[{guard:Xo("isOpenAutoFocusEvent","isArrowDownEvent"),target:"open",actions:"highlightFirstItem"},{guard:"isArrowUpEvent",target:"open",actions:"highlightLastItem"},{target:"open"}],CONTEXT_MENU_START:{target:"opening:contextmenu",actions:"setAnchorPoint"},CONTEXT_MENU:[{guard:"isOpenControlled",actions:["setAnchorPoint","invokeOnOpen"]},{target:"open",actions:["setAnchorPoint","invokeOnOpen"]}],TRIGGER_CLICK:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:"invokeOnOpen"}],TRIGGER_POINTERMOVE:{guard:"isTriggerItem",target:"opening"},TRIGGER_BLUR:"idle",ARROW_DOWN:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:["highlightFirstItem","invokeOnOpen"]}],ARROW_UP:[{guard:"isOpenControlled",actions:"invokeOnOpen"},{target:"open",actions:["highlightLastItem","invokeOnOpen"]}]}},open:{tags:["open"],activities:["trackInteractOutside","trackPositioning","scrollToHighlightedItem"],entry:["focusMenu","resumePointer"],on:{"CONTROLLED.CLOSE":[{target:"closed",guard:"isArrowLeftEvent",actions:["focusParentMenu"]},{target:"closed"}],TRIGGER_CLICK:[{guard:J(S("isTriggerItem"),"isOpenControlled"),actions:"invokeOnClose"},{guard:S("isTriggerItem"),target:"closed",actions:"invokeOnClose"}],TAB:[{guard:"isForwardTabNavigation",actions:["highlightNextItem"]},{actions:["highlightPrevItem"]}],ARROW_UP:{actions:["highlightPrevItem","focusMenu"]},ARROW_DOWN:{actions:["highlightNextItem","focusMenu"]},ARROW_LEFT:[{guard:J("isSubmenu","isOpenControlled"),actions:"invokeOnClose"},{guard:"isSubmenu",target:"closed",actions:["focusParentMenu","invokeOnClose"]}],HOME:{actions:["highlightFirstItem","focusMenu"]},END:{actions:["highlightLastItem","focusMenu"]},ARROW_RIGHT:{guard:"isTriggerItemHighlighted",actions:"openSubmenu"},ENTER:[{guard:"isTriggerItemHighlighted",actions:"openSubmenu"},{guard:J("closeOnSelect","isOpenControlled"),actions:["clickHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"closed",actions:"clickHighlightedItem"},{actions:"clickHighlightedItem"}],ITEM_POINTERMOVE:[{guard:S("suspendPointer"),actions:["setHighlightedItem","focusMenu"]},{actions:"setLastHighlightedItem"}],ITEM_POINTERLEAVE:{guard:J(S("suspendPointer"),S("isTriggerItem")),actions:"clearHighlightedItem"},ITEM_CLICK:[{guard:J(S("isTriggerItemHighlighted"),S("isHighlightedItemEditable"),"closeOnSelect","isOpenControlled"),actions:["invokeOnSelect","setOptionState","closeRootMenu","invokeOnClose"]},{guard:J(S("isTriggerItemHighlighted"),S("isHighlightedItemEditable"),"closeOnSelect"),target:"closed",actions:["invokeOnSelect","setOptionState","closeRootMenu","invokeOnClose"]},{guard:J(S("isTriggerItemHighlighted"),S("isHighlightedItemEditable")),actions:["invokeOnSelect","setOptionState"]},{actions:"setHighlightedItem"}],TRIGGER_POINTERLEAVE:{target:"closing",actions:"setIntentPolygon"},ITEM_POINTERDOWN:{actions:"setHighlightedItem"},TYPEAHEAD:{actions:"highlightMatchedItem"},FOCUS_MENU:{actions:"focusMenu"},"POSITIONING.SET":{actions:"reposition"}}}}},{delays:{LONG_PRESS_DELAY:700,SUBMENU_OPEN_DELAY:100,SUBMENU_CLOSE_DELAY:100},guards:{closeOnSelect:(n,o)=>!!((o==null?void 0:o.closeOnSelect)??n.closeOnSelect),isTriggerItem:(n,o)=>E.isTriggerItem(o.target),isTriggerItemHighlighted:(n,o)=>{const i=o.target??E.getHighlightedItemEl(n);return!!(i!=null&&i.hasAttribute("aria-controls"))},isForwardTabNavigation:(n,o)=>!o.shiftKey,isSubmenu:n=>n.isSubmenu,suspendPointer:n=>n.suspendPointer,isHighlightedItemEditable:n=>ve(E.getHighlightedItemEl(n)),isWithinPolygon:(n,o)=>n.intentPolygon?Uo(n.intentPolygon,o.point):!1,isOpenControlled:n=>!!n["open.controlled"],isArrowLeftEvent:(n,o)=>{var i;return((i=o.previousEvent)==null?void 0:i.type)==="ARROW_LEFT"},isArrowUpEvent:(n,o)=>{var i;return((i=o.previousEvent)==null?void 0:i.type)==="ARROW_UP"},isArrowDownEvent:(n,o)=>{var i;return((i=o.previousEvent)==null?void 0:i.type)==="ARROW_DOWN"},isOpenAutoFocusEvent:(n,o)=>{var i;return((i=o.previousEvent)==null?void 0:i.type)==="OPEN_AUTOFOCUS"}},activities:{trackPositioning(n){if(n.anchorPoint)return;n.currentPlacement=n.positioning.placement;const o=()=>E.getPositionerEl(n);return de(E.getTriggerEl(n),o,{...n.positioning,defer:!0,onComplete(i){n.currentPlacement=i.placement}})},trackInteractOutside(n,o,{send:i}){return Bo(()=>E.getContentEl(n),{defer:!0,exclude:[E.getTriggerEl(n)],onInteractOutside:n.onInteractOutside,onFocusOutside:n.onFocusOutside,onEscapeKeyDown(s){var c;(c=n.onEscapeKeyDown)==null||c.call(n,s),n.isSubmenu&&s.preventDefault(),he(n)},onPointerDownOutside(s){var c;n.restoreFocus=!s.detail.focusable,(c=n.onPointerDownOutside)==null||c.call(n,s)},onDismiss(){i({type:"CLOSE",src:"interact-outside"})}})},trackPointerMove(n,o,{guards:i,send:r}){const{isWithinPolygon:s}=i;n.parent.state.context.suspendPointer=!0;const c=E.getDoc(n);return Ot(c,"pointermove",l=>{const g={x:l.clientX,y:l.clientY};s(n,{point:g})||(r("POINTER_MOVED_AWAY_FROM_SUBMENU"),n.parent.state.context.suspendPointer=!1)})},scrollToHighlightedItem(n,o,{getState:i}){const r=()=>{if(i().event.type.startsWith("ITEM_POINTER"))return;const c=E.getHighlightedItemEl(n),l=E.getContentEl(n);nn(c,{rootEl:l,block:"nearest"})};return K(()=>r()),Vo(E.getContentEl(n),["aria-activedescendant"],r)}},actions:{setAnchorPoint(n,o){n.anchorPoint=o.point},clearAnchorPoint(n){n.anchorPoint=null},setSubmenuPlacement(n){n.isSubmenu&&(n.positioning.placement=n.isRtl?"left-start":"right-start",n.positioning.gutter=0)},reposition(n,o){const i=()=>E.getPositionerEl(n),r=n.anchorPoint?()=>({width:0,height:0,...n.anchorPoint}):void 0;de(E.getTriggerEl(n),i,{...n.positioning,getAnchorRect:r,...o.options??{},listeners:!1,onComplete(s){n.currentPlacement=s.placement}})},setOptionState(n,o){if(!o.option)return;const{checked:i,onCheckedChange:r,type:s}=o.option;s==="radio"?r==null||r(!0):s==="checkbox"&&(r==null||r(!i))},clickHighlightedItem(n,o,{send:i}){const r=E.getHighlightedItemEl(n);if(!r||r.dataset.disabled)return;const s=E.getOptionFromItemEl(r);i({type:"ITEM_CLICK",src:"enter",target:r,id:s.id,option:s,closeOnSelect:n.closeOnSelect})},setIntentPolygon(n,o){const i=E.getContentEl(n),r=n.currentPlacement;if(!i||!r)return;const s=i.getBoundingClientRect(),c=Go(s,r);if(!c)return;const g=Po(r)==="right"?-5:5;n.intentPolygon=[{...o.point,x:o.point.x+g},...c]},clearIntentPolygon(n){n.intentPolygon=null},resumePointer(n){n.parent&&(n.parent.state.context.suspendPointer=!1)},setHighlightedItem(n,o){Y.highlighted(n,o.id)},clearHighlightedItem(n){Y.highlighted(n,null)},focusMenu(n){K(()=>{const o=E.getActiveElement(n),i=E.getContentEl(n);ft(i,o)||i==null||i.focus({preventScroll:!0})})},highlightFirstItem(n){const o=E.getFirstEl(n);o&&Y.highlighted(n,o.id)},highlightLastItem(n){const o=E.getLastEl(n);o&&Y.highlighted(n,o.id)},highlightNextItem(n,o){const i=E.getNextEl(n,o.loop);Y.highlighted(n,(i==null?void 0:i.id)??null)},highlightPrevItem(n,o){const i=E.getPrevEl(n,o.loop);Y.highlighted(n,(i==null?void 0:i.id)??null)},invokeOnSelect(n){var o;n.highlightedValue&&((o=n.onSelect)==null||o.call(n,{value:n.highlightedValue}))},focusTrigger(n){n.isSubmenu||n.anchorPoint||!n.restoreFocus||K(()=>{var o;return(o=E.getTriggerEl(n))==null?void 0:o.focus({preventScroll:!0})})},highlightMatchedItem(n,o){const i=E.getElemByKey(n,o.key);i&&Y.highlighted(n,i.id)},setParentMenu(n,o){n.parent=Lt(o.value)},setChildMenu(n,o){n.children[o.id]=Lt(o.value)},closeRootMenu(n){he(n)},openSubmenu(n){const o=E.getHighlightedItemEl(n),i=o==null?void 0:o.getAttribute("data-uid"),r=i?n.children[i]:null;r==null||r.send("OPEN_AUTOFOCUS")},focusParentMenu(n){var o;(o=n.parent)==null||o.send("FOCUS_MENU")},setLastHighlightedItem(n,o){n.lastHighlightedValue=o.id},restoreHighlightedItem(n){n.lastHighlightedValue&&(Y.highlighted(n,n.lastHighlightedValue),n.lastHighlightedValue=null)},restoreParentHiglightedItem(n){var o;(o=n.parent)==null||o.send("HIGHLIGHTED.RESTORE")},invokeOnOpen(n){var o;(o=n.onOpenChange)==null||o.call(n,{open:!0})},invokeOnClose(n){var o;(o=n.onOpenChange)==null||o.call(n,{open:!1})},toggleVisibility(n,o,{send:i}){i({type:n.open?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:o})}}})}function he(t){let e=t.parent;for(;e&&e.state.context.isSubmenu;)e=e.state.context.parent;e==null||e.send("CLOSE")}var Y={highlighted(t,e){var n;tn(t.highlightedValue,e)||(t.highlightedValue=e,(n=t.onHighlightChange)==null||n.call(t,{highlightedValue:e}))}};pt()(["anchorPoint","aria-label","closeOnSelect","dir","getRootNode","highlightedValue","id","ids","loop","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onEscapeKeyDown","onSelect","onHighlightChange","open","open.controlled","positioning"]);pt()(["closeOnSelect","disabled","value","valueText"]);pt()(["htmlFor"]);pt()(["id"]);pt()(["disabled","valueText","closeOnSelect","type","value","checked","onCheckedChange"]);const jo={class:"truncate max-w-xs hide-on-mobile"},qo=Bt({__name:"NavDropdown",props:{id:{},label:{},items:{},icon:{}},setup(t){const e=t,[n,o]=on(zo({id:e.id,"aria-label":e.id})),i=Dt(()=>Ko(n.value,o,cn));return(r,s)=>{const c=Ft;return k(),$("div",null,[x("button",Qt(gt(i).triggerProps,{class:"hstack cursor-pointer space-x-1"}),[r.icon?(k(),$("span",{key:0,class:kt(r.icon),"md:text-lg":""},null,2)):At("",!0),x("span",jo,Nt(r.label),1)],16),x("div",sn(an(gt(i).positionerProps)),[x("ul",Qt(gt(i).contentProps,{class:"dropdown-container z-40 text-xs md:text-sm"}),[(k(!0),$(ye,null,rn(r.items,(l,g)=>(k(),$("li",{key:`${g}-${l.label}`,class:"dropdown-li text-c"},[Q(c,{to:l.link,"space-x-1.5":"",hstack:""},{default:Vt(()=>[l.icon?(k(),$("span",{key:0,class:kt(l.icon),"text-base":""},null,2)):At("",!0),x("span",null,Nt(l.label),1)]),_:2},1032,["to"])]))),128))],16)],16)])}}}),Zo=Bt({__name:"ToggleLang",setup(t){const e=ln(),{locale:n,locales:o}=un(),i=Dt(()=>o.value.filter(c=>c.code!==n.value)),r=Dt(()=>{var c;return((c=o.value.find(l=>l.code===n.value))==null?void 0:c.name)||""}),s=i.value.map(c=>({link:e(c.code),label:c.name,icon:c.icon}));return(c,l)=>{const g=qo;return k(),Ee(g,{id:"toggle language",label:gt(r),items:gt(s),icon:"i-ic:round-translate"},null,8,["label","items"])}}}),Jo={},Qo=["title"],ti={"i-ph:moon-bold":"","md:text-lg":""},ei={"i-ph:sun-bold":"","md:text-lg":""};function ni(t,e){return k(),$("button",{class:"round-btn",title:t.$t("toggle_dark"),onClick:e[0]||(e[0]=n=>t.$colorMode.preference=t.$colorMode.preference==="dark"?"light":"dark")},[te(x("span",ti,null,512),[[ee,t.$colorMode.preference==="dark"]]),te(x("span",ei,null,512),[[ee,t.$colorMode.preference!=="dark"]])],8,Qo)}const oi=xt(Jo,[["render",ni]]),ii={},ri={class:"header hstack justify-between pl-4 pr-1 text-c"},si={text:"base md:lg"},ai={hstack:""},ci=x("a",{class:"round-btn",href:"http://github.com/junian/resume.md/",target:"_blank",rel:"nofollow noopener"},[x("span",{"i-tabler:brand-github":"","md:text-lg":""})],-1);function li(t,e){const n=xn,o=Rn,i=Ft,r=Sn,s=Zo,c=oi;return k(),$("header",ri,[Q(i,{class:"hstack space-x-2 cursor-pointer text-gray-900 dark:text-gray-100",to:t.$nuxt.$localePath("/")},{default:Vt(()=>[Q(n,{"hide-on-mobile":"",text:"sm md:base"}),x("h1",si,[Q(o)])]),_:1},8,["to"]),ne(t.$slots,"middle"),x("div",ai,[Q(r,{"mr-3":"",link:t.$nuxt.$localePath("/resumes"),label:t.$t("resumes.my_resumes"),icon:"i-ep:menu"},null,8,["link","label"]),Q(s,{"mr-1.5":""}),ne(t.$slots,"tail"),Q(c),ci])])}const hi=xt(ii,[["render",li]]);export{hi as _,No as a,de as b,Vo as c,gi as d,Rn as e,En as f,Te as g,fi as o,Bo as t}; diff --git a/assets/builds/latest.json b/assets/builds/latest.json index 5c01177..922fffa 100644 --- a/assets/builds/latest.json +++ b/assets/builds/latest.json @@ -1 +1 @@ -{"id":"3519767e-079e-4299-9c54-8babb67e32d5","timestamp":1713933333059} \ No newline at end of file +{"id":"1e2ee3ea-59f7-4a34-abe3-751f6526aff7","timestamp":1713933829477} \ No newline at end of file diff --git a/assets/builds/meta/1e2ee3ea-59f7-4a34-abe3-751f6526aff7.json b/assets/builds/meta/1e2ee3ea-59f7-4a34-abe3-751f6526aff7.json new file mode 100644 index 0000000..a532519 --- /dev/null +++ b/assets/builds/meta/1e2ee3ea-59f7-4a34-abe3-751f6526aff7.json @@ -0,0 +1 @@ +{"id":"1e2ee3ea-59f7-4a34-abe3-751f6526aff7","timestamp":1713933829477,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":["/","/sp","/zh-cn","/resumes","/sp/resumes","/zh-cn/resumes"]} \ No newline at end of file diff --git a/assets/builds/meta/3519767e-079e-4299-9c54-8babb67e32d5.json b/assets/builds/meta/3519767e-079e-4299-9c54-8babb67e32d5.json deleted file mode 100644 index 44d19c2..0000000 --- a/assets/builds/meta/3519767e-079e-4299-9c54-8babb67e32d5.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"3519767e-079e-4299-9c54-8babb67e32d5","timestamp":1713933333059,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":["/","/sp","/zh-cn","/sp/resumes","/resumes","/zh-cn/resumes"]} \ No newline at end of file diff --git a/assets/BTI9I1BW.js b/assets/dE1ShenZ.js similarity index 89% rename from assets/BTI9I1BW.js rename to assets/dE1ShenZ.js index 410b4eb..3510e28 100644 --- a/assets/BTI9I1BW.js +++ b/assets/dE1ShenZ.js @@ -1,4 +1,4 @@ -import{conf as t,language as e}from"./CVjiJjdT.js";import"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{conf as t,language as e}from"./B5-Z72C8.js";import"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/CST1zEBA.js b/assets/l8kzQN05.js similarity index 97% rename from assets/CST1zEBA.js rename to assets/l8kzQN05.js index 8ca893a..9669cb4 100644 --- a/assets/CST1zEBA.js +++ b/assets/l8kzQN05.js @@ -1 +1 @@ -import{_ as a,u as o,o as s,c as i,a as e,t as r,p as u,e as c}from"./LLeh9DNx.js";const l=t=>(u("data-v-ec33ee19"),t=t(),c(),t),d={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},p=l(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},g=["textContent"],b=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const n=t;return o({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(m,x)=>(s(),i("div",d,[p,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:r(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:r(t.description)},null,8,b)])]))}},k=a(f,[["__scopeId","data-v-ec33ee19"]]);export{k as default}; +import{_ as a,u as o,o as s,c as i,a as e,t as r,p as u,e as c}from"./BZDDQZjI.js";const l=t=>(u("data-v-ec33ee19"),t=t(),c(),t),d={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},p=l(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},g=["textContent"],b=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const n=t;return o({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(m,x)=>(s(),i("div",d,[p,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:r(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:r(t.description)},null,8,b)])]))}},k=a(f,[["__scopeId","data-v-ec33ee19"]]);export{k as default}; diff --git a/assets/CY3KjrGY.js b/assets/njeYAgp7.js similarity index 99% rename from assets/CY3KjrGY.js rename to assets/njeYAgp7.js index 7b10324..b670c1a 100644 --- a/assets/CY3KjrGY.js +++ b/assets/njeYAgp7.js @@ -1,4 +1,4 @@ -import{m as et}from"./CV7Xu0J4.js";import"./LLeh9DNx.js";/*!----------------------------------------------------------------------------- +import{m as et}from"./CKCBchtN.js";import"./BZDDQZjI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/index.html b/index.html index 8204aa9..e4614f5 100644 --- a/index.html +++ b/index.html @@ -16,19 +16,19 @@ - + - - - - + + + + - + - -

OhMyCV

Write your resume in Markdown!

OhMyCV is a free and open source tool created to build and manage your resumes as easy as possible, without losing the privacy of your data.
Create My Resume

Simple and Powerful

  • Manage multiple resumes
  • Real-time preview
  • Export to PDF format
  • Fully customizable
  • Pick fonts and add icons
  • And more features

Privacy First

  • Open source and free
  • Data are saved locally
  • No login or registration required
  • No user tracking
  • No ads
+ +

Resume.md

Write your resume in Markdown!

Resume.md is a free and open source tool created to build and manage your resumes as easy as possible, without losing the privacy of your data.
Create My Resume

Simple and Powerful

  • Manage multiple resumes
  • Real-time preview
  • Export to PDF format
  • Fully customizable
  • Pick fonts and add icons
  • And more features

Privacy First

  • Open source and free
  • Data are saved locally
  • No login or registration required
  • No user tracking
  • No ads
\ No newline at end of file diff --git a/resumes/_payload.json b/resumes/_payload.json index 4f2e29a..e42942c 100644 --- a/resumes/_payload.json +++ b/resumes/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":3},["Reactive",2],{},1713933361390] \ No newline at end of file +[{"data":1,"prerenderedAt":3},["Reactive",2],{},1713933858848] \ No newline at end of file diff --git a/resumes/index.html b/resumes/index.html index 13192da..d17198b 100644 --- a/resumes/index.html +++ b/resumes/index.html @@ -16,21 +16,21 @@ - + - - - - - + + + + + - + - -

OhMyCV

My Resumes

+ +

Resume.md

My Resumes

\ No newline at end of file diff --git a/sp/_payload.json b/sp/_payload.json index 2e7cc8a..0bd9942 100644 --- a/sp/_payload.json +++ b/sp/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":3},["Reactive",2],{},1713933361392] \ No newline at end of file +[{"data":1,"prerenderedAt":3},["Reactive",2],{},1713933858850] \ No newline at end of file diff --git a/sp/index.html b/sp/index.html index ed04974..8f9befb 100644 --- a/sp/index.html +++ b/sp/index.html @@ -16,19 +16,19 @@ - + - - - - + + + + - + - -

OhMyCV

Escribe tu curriculum vitae en Markdown!

OhMyCV es una herramienta gratuita y de código abierto creada para crear y administrar sus currículums de la manera más fácil posible, sin perder la privacidad de sus datos.
Crear My Resumen

Simple y poderoso

  • Administra multiples curriculums con
  • Vista previa en tiempo real
  • Exportar a PDF format
  • Completamente configurable
  • Elige fuentes y agrega íconos
  • Y más funciones

Primero tu privacidad

  • Open source, libre y gratuito
  • Información guardada en tu equipo
  • No necesita que te registres
  • No realizamos ningún trackeo ni mostramos publicidad
  • No ads
+ +

Resume.md

Escribe tu curriculum vitae en Markdown!

Resume.md es una herramienta gratuita y de código abierto creada para crear y administrar sus currículums de la manera más fácil posible, sin perder la privacidad de sus datos.
Crear My Resumen

Simple y poderoso

  • Administra multiples curriculums con
  • Vista previa en tiempo real
  • Exportar a PDF format
  • Completamente configurable
  • Elige fuentes y agrega íconos
  • Y más funciones

Primero tu privacidad

  • Open source, libre y gratuito
  • Información guardada en tu equipo
  • No necesita que te registres
  • No realizamos ningún trackeo ni mostramos publicidad
  • No ads
\ No newline at end of file diff --git a/sp/resumes/_payload.json b/sp/resumes/_payload.json index 4da0e60..01ed806 100644 --- a/sp/resumes/_payload.json +++ b/sp/resumes/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":3},["Reactive",2],{},1713933361431] \ No newline at end of file +[{"data":1,"prerenderedAt":3},["Reactive",2],{},1713933858890] \ No newline at end of file diff --git a/sp/resumes/index.html b/sp/resumes/index.html index a6c223d..0747f2a 100644 --- a/sp/resumes/index.html +++ b/sp/resumes/index.html @@ -16,21 +16,21 @@ - + - - - - - + + + + + - + - -

OhMyCV

Mis CVs

+ +

Resume.md

Mis CVs

\ No newline at end of file diff --git a/sw.js b/sw.js index 1a27c40..5123b01 100644 --- a/sw.js +++ b/sw.js @@ -1 +1 @@ -if(!self.define){let s,l={};const e=(e,i)=>(e=new URL(e+".js",i).href,l[e]||new Promise((l=>{if("document"in self){const s=document.createElement("script");s.src=e,s.onload=l,document.head.appendChild(s)}else s=e,importScripts(e),l()})).then((()=>{let s=l[e];if(!s)throw new Error(`Module ${e} didn’t register its module`);return s})));self.define=(i,r)=>{const n=s||("document"in self?document.currentScript.src:"")||location.href;if(l[n])return;let u={};const a=s=>e(s,n),t={module:{uri:n},exports:u,require:a};l[n]=Promise.all(i.map((s=>t[s]||a(s)))).then((s=>(r(...s),u)))}}define(["./workbox-1eb19836"],(function(s){"use strict";self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"200",revision:"c99308f8e163d2ddf0b96977cbdaba56"},{url:"404",revision:"c99308f8e163d2ddf0b96977cbdaba56"},{url:"apple-touch-icon.png",revision:"8b5d23adf13cc40f215a72fad25d9b1d"},{url:"assets/_id_.B2wLhRfn.css",revision:null},{url:"assets/3aLoi2fs.js",revision:null},{url:"assets/40djI6jg.js",revision:null},{url:"assets/55eqh71t.js",revision:null},{url:"assets/8kKHd4ZL.js",revision:null},{url:"assets/B7F3HtPF.js",revision:null},{url:"assets/B7XMFlob.js",revision:null},{url:"assets/B9TqLHAk.js",revision:null},{url:"assets/BACCcnx_.js",revision:null},{url:"assets/bC257e71.js",revision:null},{url:"assets/BCTFAUpS.js",revision:null},{url:"assets/BE8RsGBA.js",revision:null},{url:"assets/BemVzBTY.js",revision:null},{url:"assets/Bg9QKxBu.js",revision:null},{url:"assets/BGDl7St1.js",revision:null},{url:"assets/BHddiNFS.js",revision:null},{url:"assets/BHUZy23s.js",revision:null},{url:"assets/Bi_qi707.js",revision:null},{url:"assets/BMqwImlx.js",revision:null},{url:"assets/bold.2JfRo6pj.ttf",revision:null},{url:"assets/bold.B4o9Siml.ttf",revision:null},{url:"assets/bold.CArNNkSo.otf",revision:null},{url:"assets/bold.CX3nFGdj.otf",revision:null},{url:"assets/bold.D1b7czW9.ttf",revision:null},{url:"assets/bold.D8A7svot.ttf",revision:null},{url:"assets/bold.DcqXiNP3.otf",revision:null},{url:"assets/bolditalic.BmuAIsMD.ttf",revision:null},{url:"assets/bolditalic.BuOu_Z5X.otf",revision:null},{url:"assets/bolditalic.Cn4P82iL.otf",revision:null},{url:"assets/bolditalic.DbIlENiU.ttf",revision:null},{url:"assets/bolditalic.gU__EM_J.ttf",revision:null},{url:"assets/bolditalic.uP5PuZ0j.otf",revision:null},{url:"assets/BR_hrfni.js",revision:null},{url:"assets/BriwQgXR.js",revision:null},{url:"assets/BrXDlLUW.js",revision:null},{url:"assets/BTI9I1BW.js",revision:null},{url:"assets/BtxyJn6H.js",revision:null},{url:"assets/Btz91-7U.js",revision:null},{url:"assets/BVWDLtw5.js",revision:null},{url:"assets/BvyzZa65.js",revision:null},{url:"assets/ByThyB2Q.js",revision:null},{url:"assets/C__SbcrF.js",revision:null},{url:"assets/C3-3IcFM.js",revision:null},{url:"assets/C4g7059C.js",revision:null},{url:"assets/C6Gjjw_x.js",revision:null},{url:"assets/C7hRTYZ9.js",revision:null},{url:"assets/C8vgH9R5.js",revision:null},{url:"assets/CaUdfbQS.js",revision:null},{url:"assets/CElzELwZ.js",revision:null},{url:"assets/CGsvhooB.js",revision:null},{url:"assets/CiuJOSLS.js",revision:null},{url:"assets/CKDUeRmd.js",revision:null},{url:"assets/ClBCoF8h.js",revision:null},{url:"assets/codicon.BA2IlpFX.ttf",revision:null},{url:"assets/CQ6TMH2r.js",revision:null},{url:"assets/CrJvmnpK.js",revision:null},{url:"assets/Crkvc3mc.js",revision:null},{url:"assets/css.worker-DvNUQFd1.js",revision:null},{url:"assets/CST1zEBA.js",revision:null},{url:"assets/CtjBds-2.js",revision:null},{url:"assets/CuCtxA7T.js",revision:null},{url:"assets/CUsyEhik.js",revision:null},{url:"assets/CuU66Ptk.js",revision:null},{url:"assets/CV7Xu0J4.js",revision:null},{url:"assets/CVjiJjdT.js",revision:null},{url:"assets/CxaaEKKi.js",revision:null},{url:"assets/CY3KjrGY.js",revision:null},{url:"assets/CY5IOZuu.js",revision:null},{url:"assets/CYoSlgTu.js",revision:null},{url:"assets/CzN3yrO5.js",revision:null},{url:"assets/D-OVkc4F.js",revision:null},{url:"assets/D2p3uOX2.js",revision:null},{url:"assets/D3ApGBxz.js",revision:null},{url:"assets/D5sGVkLV.js",revision:null},{url:"assets/D6taVZFb.js",revision:null},{url:"assets/D8DLp2_e.js",revision:null},{url:"assets/D8nrxEjS.js",revision:null},{url:"assets/D8V_buCG.js",revision:null},{url:"assets/De1axCfe.js",revision:null},{url:"assets/DFjpnwFp.js",revision:null},{url:"assets/DgZoLDI1.js",revision:null},{url:"assets/DIEZMp5R.js",revision:null},{url:"assets/DjcGo_Wf.js",revision:null},{url:"assets/DL_FVbcQ.js",revision:null},{url:"assets/DNI1vH3h.js",revision:null},{url:"assets/DNUaDNdz.js",revision:null},{url:"assets/DrIuu9u1.js",revision:null},{url:"assets/DRxbB97D.js",revision:null},{url:"assets/Dsa4rhA_.js",revision:null},{url:"assets/DSpi8_qN.js",revision:null},{url:"assets/DsrzVyM1.js",revision:null},{url:"assets/DUImKuGY.js",revision:null},{url:"assets/DVJXmIwd.js",revision:null},{url:"assets/DYsfeylR.js",revision:null},{url:"assets/DZNw3jJB.js",revision:null},{url:"assets/editor.ChyOjXgx.css",revision:null},{url:"assets/editor.worker-BVwmgLrR.js",revision:null},{url:"assets/entry.CBHgAQ0X.css",revision:null},{url:"assets/error-404.DtbKAVpD.css",revision:null},{url:"assets/error-500.7_wNPYQ_.css",revision:null},{url:"assets/fyG9LO_K.js",revision:null},{url:"assets/GbSrCElU.js",revision:null},{url:"assets/hbBFZ0w9.js",revision:null},{url:"assets/hEHxucza.js",revision:null},{url:"assets/italic.B006CNRt.otf",revision:null},{url:"assets/italic.BfYpPhiQ.ttf",revision:null},{url:"assets/italic.BhLaVUsL.ttf",revision:null},{url:"assets/italic.CtQkwsbK.otf",revision:null},{url:"assets/italic.sUu3xK4L.otf",revision:null},{url:"assets/italic.U3zDcBL8.ttf",revision:null},{url:"assets/jqFeRM5s.js",revision:null},{url:"assets/KaTeX_AMS-Regular.BQhdFMY1.woff2",revision:null},{url:"assets/KaTeX_AMS-Regular.DRggAlZN.ttf",revision:null},{url:"assets/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf",revision:null},{url:"assets/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2",revision:null},{url:"assets/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2",revision:null},{url:"assets/KaTeX_Caligraphic-Regular.wX97UBjC.ttf",revision:null},{url:"assets/KaTeX_Fraktur-Bold.BdnERNNW.ttf",revision:null},{url:"assets/KaTeX_Fraktur-Bold.CL6g_b3V.woff2",revision:null},{url:"assets/KaTeX_Fraktur-Regular.CB_wures.ttf",revision:null},{url:"assets/KaTeX_Fraktur-Regular.CTYiF6lA.woff2",revision:null},{url:"assets/KaTeX_Main-Bold.Cx986IdX.woff2",revision:null},{url:"assets/KaTeX_Main-Bold.waoOVXN0.ttf",revision:null},{url:"assets/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2",revision:null},{url:"assets/KaTeX_Main-BoldItalic.DzxPMmG6.ttf",revision:null},{url:"assets/KaTeX_Main-Italic.3WenGoN9.ttf",revision:null},{url:"assets/KaTeX_Main-Italic.NWA7e6Wa.woff2",revision:null},{url:"assets/KaTeX_Main-Regular.B22Nviop.woff2",revision:null},{url:"assets/KaTeX_Main-Regular.ypZvNtVU.ttf",revision:null},{url:"assets/KaTeX_Math-BoldItalic.B3XSjfu4.ttf",revision:null},{url:"assets/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2",revision:null},{url:"assets/KaTeX_Math-Italic.flOr_0UB.ttf",revision:null},{url:"assets/KaTeX_Math-Italic.t53AETM-.woff2",revision:null},{url:"assets/KaTeX_SansSerif-Bold.CFMepnvq.ttf",revision:null},{url:"assets/KaTeX_SansSerif-Bold.D1sUS0GD.woff2",revision:null},{url:"assets/KaTeX_SansSerif-Italic.C3H0VqGB.woff2",revision:null},{url:"assets/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf",revision:null},{url:"assets/KaTeX_SansSerif-Regular.BNo7hRIc.ttf",revision:null},{url:"assets/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2",revision:null},{url:"assets/KaTeX_Script-Regular.C5JkGWo-.ttf",revision:null},{url:"assets/KaTeX_Script-Regular.D3wIWfF6.woff2",revision:null},{url:"assets/KaTeX_Size1-Regular.Dbsnue_I.ttf",revision:null},{url:"assets/KaTeX_Size1-Regular.mCD8mA8B.woff2",revision:null},{url:"assets/KaTeX_Size2-Regular.B7gKUWhC.ttf",revision:null},{url:"assets/KaTeX_Size2-Regular.Dy4dx90m.woff2",revision:null},{url:"assets/KaTeX_Size3-Regular.DgpXs0kz.ttf",revision:null},{url:"assets/KaTeX_Size4-Regular.Dl5lxZxV.woff2",revision:null},{url:"assets/KaTeX_Size4-Regular.DWFBv043.ttf",revision:null},{url:"assets/KaTeX_Typewriter-Regular.CO6r4hn1.woff2",revision:null},{url:"assets/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf",revision:null},{url:"assets/KqQ96-gC.js",revision:null},{url:"assets/LA0C7mUc.js",revision:null},{url:"assets/LLeh9DNx.js",revision:null},{url:"assets/MImNoLyP.js",revision:null},{url:"assets/N5ajIiFQ.js",revision:null},{url:"assets/QlRNQh4W.js",revision:null},{url:"assets/regular.C59i-JIY.otf",revision:null},{url:"assets/regular.DCtZAFBW.otf",revision:null},{url:"assets/regular.DT0fM1uu.ttf",revision:null},{url:"assets/regular.DTSkpAnp.ttf",revision:null},{url:"assets/regular.DysTBsqN.ttf",revision:null},{url:"assets/regular.lvl9fZ61.ttf",revision:null},{url:"assets/regular.ujiHdYas.otf",revision:null},{url:"assets/resumes.CxMfCn6q.css",revision:null},{url:"assets/Rkcm0t1T.js",revision:null},{url:"assets/SKc03cSZ.js",revision:null},{url:"assets/VVGvvgir.js",revision:null},{url:"assets/w7.G_kyatnr.ttf",revision:null},{url:"assets/w9.LxosMOIK.ttf",revision:null},{url:"assets/WlsRhCXb.js",revision:null},{url:"assets/YsTV42Hn.js",revision:null},{url:"assets/Z6z2stHy.js",revision:null},{url:"assets/zD_CCkZ1.js",revision:null},{url:"assets/ZVcvh5EZ.js",revision:null},{url:"favicon-dark.svg",revision:"0bd73d900e2e3202205eb299a48b03f3"},{url:"favicon.svg",revision:"17f2f493bc1fe81f0978c84708b437d1"},{url:"/resume.md/",revision:"0e6396837d8f39c5ee02cb1919272322"},{url:"pwa-192x192.png",revision:"e3ee23607a02913fa308a010c3f732be"},{url:"pwa-512x512.png",revision:"94db878cb6e20a5ae061b5352c96d243"},{url:"resumes",revision:"e7ee0c95b70a619cbba329c52a8272f2"},{url:"safari-pinned-tab.svg",revision:"a3343345003f1a535c38ceb6a8baa4e9"},{url:"sp",revision:"b78db6e6c53d736ee5df3fd662dd4745"},{url:"sp/resumes",revision:"89d2135be00960f524f4dd00c51c16b0"},{url:"zh-cn",revision:"46854be82cfb354559c0e8bca05e5a4f"},{url:"zh-cn/resumes",revision:"d495bb9343728f470995f070ac594725"},{url:"_payload.json",revision:"5ada7bb3f087defe7bb43c88265dec2d"},{url:"resumes/_payload.json",revision:"1e30abe979d8c2ac3a69de95af553e60"},{url:"sp/_payload.json",revision:"1e1abb840a667dda34a9635e2797bf1e"},{url:"sp/resumes/_payload.json",revision:"df44e5fc91056fbe436fb177d7ea06a7"},{url:"zh-cn/_payload.json",revision:"afe1e1b6788597d9dddfdb2ae961683e"},{url:"zh-cn/resumes/_payload.json",revision:"44e01872a75662d32862b0bccdf62105"},{url:"assets/builds/latest.json",revision:"3ae22cf743fb71550e78abf7fa00cdd8"},{url:"assets/builds/meta/3519767e-079e-4299-9c54-8babb67e32d5.json",revision:null},{url:"manifest.webmanifest",revision:"ef6e97b2d89b1f101eee4e540198a0f8"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("/resume.md/"))),s.registerRoute(/^https:\/\/fonts.googleapis.com\/.*/i,new s.CacheFirst({cacheName:"google-fonts-cache",plugins:[new s.ExpirationPlugin({maxEntries:10,maxAgeSeconds:31536e3}),new s.CacheableResponsePlugin({statuses:[0,200]})]}),"GET")})); +if(!self.define){let s,l={};const e=(e,i)=>(e=new URL(e+".js",i).href,l[e]||new Promise((l=>{if("document"in self){const s=document.createElement("script");s.src=e,s.onload=l,document.head.appendChild(s)}else s=e,importScripts(e),l()})).then((()=>{let s=l[e];if(!s)throw new Error(`Module ${e} didn’t register its module`);return s})));self.define=(i,r)=>{const n=s||("document"in self?document.currentScript.src:"")||location.href;if(l[n])return;let u={};const a=s=>e(s,n),t={module:{uri:n},exports:u,require:a};l[n]=Promise.all(i.map((s=>t[s]||a(s)))).then((s=>(r(...s),u)))}}define(["./workbox-1eb19836"],(function(s){"use strict";self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"200",revision:"025267c59e9c9a04079137e566afee54"},{url:"404",revision:"025267c59e9c9a04079137e566afee54"},{url:"apple-touch-icon.png",revision:"8b5d23adf13cc40f215a72fad25d9b1d"},{url:"assets/_id_.B2wLhRfn.css",revision:null},{url:"assets/3aLoi2fs.js",revision:null},{url:"assets/55eqh71t.js",revision:null},{url:"assets/7IqAQcW-.js",revision:null},{url:"assets/8kKHd4ZL.js",revision:null},{url:"assets/B1Xi-1xl.js",revision:null},{url:"assets/B5-Z72C8.js",revision:null},{url:"assets/B7F3HtPF.js",revision:null},{url:"assets/B9TqLHAk.js",revision:null},{url:"assets/BACCcnx_.js",revision:null},{url:"assets/bC257e71.js",revision:null},{url:"assets/BCTFAUpS.js",revision:null},{url:"assets/BE8RsGBA.js",revision:null},{url:"assets/BemVzBTY.js",revision:null},{url:"assets/BEziaSf_.js",revision:null},{url:"assets/Bg9QKxBu.js",revision:null},{url:"assets/BGDl7St1.js",revision:null},{url:"assets/BHddiNFS.js",revision:null},{url:"assets/BHUZy23s.js",revision:null},{url:"assets/Bi_qi707.js",revision:null},{url:"assets/bold.2JfRo6pj.ttf",revision:null},{url:"assets/bold.B4o9Siml.ttf",revision:null},{url:"assets/bold.CArNNkSo.otf",revision:null},{url:"assets/bold.CX3nFGdj.otf",revision:null},{url:"assets/bold.D1b7czW9.ttf",revision:null},{url:"assets/bold.D8A7svot.ttf",revision:null},{url:"assets/bold.DcqXiNP3.otf",revision:null},{url:"assets/bolditalic.BmuAIsMD.ttf",revision:null},{url:"assets/bolditalic.BuOu_Z5X.otf",revision:null},{url:"assets/bolditalic.Cn4P82iL.otf",revision:null},{url:"assets/bolditalic.DbIlENiU.ttf",revision:null},{url:"assets/bolditalic.gU__EM_J.ttf",revision:null},{url:"assets/bolditalic.uP5PuZ0j.otf",revision:null},{url:"assets/BR_hrfni.js",revision:null},{url:"assets/BriwQgXR.js",revision:null},{url:"assets/BrXDlLUW.js",revision:null},{url:"assets/BtxyJn6H.js",revision:null},{url:"assets/Btz91-7U.js",revision:null},{url:"assets/BuatQLKg.js",revision:null},{url:"assets/BVWDLtw5.js",revision:null},{url:"assets/BvyzZa65.js",revision:null},{url:"assets/ByThyB2Q.js",revision:null},{url:"assets/BZDDQZjI.js",revision:null},{url:"assets/C__SbcrF.js",revision:null},{url:"assets/C0QVr14l.js",revision:null},{url:"assets/C3-3IcFM.js",revision:null},{url:"assets/C4g7059C.js",revision:null},{url:"assets/C6Gjjw_x.js",revision:null},{url:"assets/C7hRTYZ9.js",revision:null},{url:"assets/CaUdfbQS.js",revision:null},{url:"assets/CbPdyUzT.js",revision:null},{url:"assets/CElzELwZ.js",revision:null},{url:"assets/CGsvhooB.js",revision:null},{url:"assets/CKCBchtN.js",revision:null},{url:"assets/CKDUeRmd.js",revision:null},{url:"assets/ClBCoF8h.js",revision:null},{url:"assets/CmgRl0j7.js",revision:null},{url:"assets/codicon.BA2IlpFX.ttf",revision:null},{url:"assets/CQ6TMH2r.js",revision:null},{url:"assets/Crkvc3mc.js",revision:null},{url:"assets/css.worker-DvNUQFd1.js",revision:null},{url:"assets/CTFN1c0r.js",revision:null},{url:"assets/CuCtxA7T.js",revision:null},{url:"assets/CUsyEhik.js",revision:null},{url:"assets/CuU66Ptk.js",revision:null},{url:"assets/CxaaEKKi.js",revision:null},{url:"assets/CY5IOZuu.js",revision:null},{url:"assets/CYoSlgTu.js",revision:null},{url:"assets/CZC2LNhJ.js",revision:null},{url:"assets/D_WxEPGQ.js",revision:null},{url:"assets/D-OVkc4F.js",revision:null},{url:"assets/D2p3uOX2.js",revision:null},{url:"assets/D3ApGBxz.js",revision:null},{url:"assets/D4MbSk1d.js",revision:null},{url:"assets/D53MXHFI.js",revision:null},{url:"assets/D5sGVkLV.js",revision:null},{url:"assets/D6-kzAJD.js",revision:null},{url:"assets/D6taVZFb.js",revision:null},{url:"assets/D8nrxEjS.js",revision:null},{url:"assets/D8V_buCG.js",revision:null},{url:"assets/DA3NC5Dd.js",revision:null},{url:"assets/DDzfXkp7.js",revision:null},{url:"assets/De1axCfe.js",revision:null},{url:"assets/dE1ShenZ.js",revision:null},{url:"assets/DFjpnwFp.js",revision:null},{url:"assets/DfTjb7eK.js",revision:null},{url:"assets/DgZoLDI1.js",revision:null},{url:"assets/DIEZMp5R.js",revision:null},{url:"assets/DiKx5yui.js",revision:null},{url:"assets/DL_FVbcQ.js",revision:null},{url:"assets/DnHnA51o.js",revision:null},{url:"assets/DNI1vH3h.js",revision:null},{url:"assets/DNUaDNdz.js",revision:null},{url:"assets/DrIuu9u1.js",revision:null},{url:"assets/DRxbB97D.js",revision:null},{url:"assets/Dsa4rhA_.js",revision:null},{url:"assets/DSpi8_qN.js",revision:null},{url:"assets/DsrzVyM1.js",revision:null},{url:"assets/DUImKuGY.js",revision:null},{url:"assets/DVJXmIwd.js",revision:null},{url:"assets/DYsfeylR.js",revision:null},{url:"assets/DZNw3jJB.js",revision:null},{url:"assets/editor.ChyOjXgx.css",revision:null},{url:"assets/editor.worker-BVwmgLrR.js",revision:null},{url:"assets/entry.CBHgAQ0X.css",revision:null},{url:"assets/error-404.DtbKAVpD.css",revision:null},{url:"assets/error-500.7_wNPYQ_.css",revision:null},{url:"assets/GbSrCElU.js",revision:null},{url:"assets/GSEnbQqK.js",revision:null},{url:"assets/hbBFZ0w9.js",revision:null},{url:"assets/italic.B006CNRt.otf",revision:null},{url:"assets/italic.BfYpPhiQ.ttf",revision:null},{url:"assets/italic.BhLaVUsL.ttf",revision:null},{url:"assets/italic.CtQkwsbK.otf",revision:null},{url:"assets/italic.sUu3xK4L.otf",revision:null},{url:"assets/italic.U3zDcBL8.ttf",revision:null},{url:"assets/jqFeRM5s.js",revision:null},{url:"assets/KaTeX_AMS-Regular.BQhdFMY1.woff2",revision:null},{url:"assets/KaTeX_AMS-Regular.DRggAlZN.ttf",revision:null},{url:"assets/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf",revision:null},{url:"assets/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2",revision:null},{url:"assets/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2",revision:null},{url:"assets/KaTeX_Caligraphic-Regular.wX97UBjC.ttf",revision:null},{url:"assets/KaTeX_Fraktur-Bold.BdnERNNW.ttf",revision:null},{url:"assets/KaTeX_Fraktur-Bold.CL6g_b3V.woff2",revision:null},{url:"assets/KaTeX_Fraktur-Regular.CB_wures.ttf",revision:null},{url:"assets/KaTeX_Fraktur-Regular.CTYiF6lA.woff2",revision:null},{url:"assets/KaTeX_Main-Bold.Cx986IdX.woff2",revision:null},{url:"assets/KaTeX_Main-Bold.waoOVXN0.ttf",revision:null},{url:"assets/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2",revision:null},{url:"assets/KaTeX_Main-BoldItalic.DzxPMmG6.ttf",revision:null},{url:"assets/KaTeX_Main-Italic.3WenGoN9.ttf",revision:null},{url:"assets/KaTeX_Main-Italic.NWA7e6Wa.woff2",revision:null},{url:"assets/KaTeX_Main-Regular.B22Nviop.woff2",revision:null},{url:"assets/KaTeX_Main-Regular.ypZvNtVU.ttf",revision:null},{url:"assets/KaTeX_Math-BoldItalic.B3XSjfu4.ttf",revision:null},{url:"assets/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2",revision:null},{url:"assets/KaTeX_Math-Italic.flOr_0UB.ttf",revision:null},{url:"assets/KaTeX_Math-Italic.t53AETM-.woff2",revision:null},{url:"assets/KaTeX_SansSerif-Bold.CFMepnvq.ttf",revision:null},{url:"assets/KaTeX_SansSerif-Bold.D1sUS0GD.woff2",revision:null},{url:"assets/KaTeX_SansSerif-Italic.C3H0VqGB.woff2",revision:null},{url:"assets/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf",revision:null},{url:"assets/KaTeX_SansSerif-Regular.BNo7hRIc.ttf",revision:null},{url:"assets/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2",revision:null},{url:"assets/KaTeX_Script-Regular.C5JkGWo-.ttf",revision:null},{url:"assets/KaTeX_Script-Regular.D3wIWfF6.woff2",revision:null},{url:"assets/KaTeX_Size1-Regular.Dbsnue_I.ttf",revision:null},{url:"assets/KaTeX_Size1-Regular.mCD8mA8B.woff2",revision:null},{url:"assets/KaTeX_Size2-Regular.B7gKUWhC.ttf",revision:null},{url:"assets/KaTeX_Size2-Regular.Dy4dx90m.woff2",revision:null},{url:"assets/KaTeX_Size3-Regular.DgpXs0kz.ttf",revision:null},{url:"assets/KaTeX_Size4-Regular.Dl5lxZxV.woff2",revision:null},{url:"assets/KaTeX_Size4-Regular.DWFBv043.ttf",revision:null},{url:"assets/KaTeX_Typewriter-Regular.CO6r4hn1.woff2",revision:null},{url:"assets/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf",revision:null},{url:"assets/KqQ96-gC.js",revision:null},{url:"assets/l8kzQN05.js",revision:null},{url:"assets/LA0C7mUc.js",revision:null},{url:"assets/N5ajIiFQ.js",revision:null},{url:"assets/njeYAgp7.js",revision:null},{url:"assets/regular.C59i-JIY.otf",revision:null},{url:"assets/regular.DCtZAFBW.otf",revision:null},{url:"assets/regular.DT0fM1uu.ttf",revision:null},{url:"assets/regular.DTSkpAnp.ttf",revision:null},{url:"assets/regular.DysTBsqN.ttf",revision:null},{url:"assets/regular.lvl9fZ61.ttf",revision:null},{url:"assets/regular.ujiHdYas.otf",revision:null},{url:"assets/resumes.CxMfCn6q.css",revision:null},{url:"assets/VVGvvgir.js",revision:null},{url:"assets/w7.G_kyatnr.ttf",revision:null},{url:"assets/w9.LxosMOIK.ttf",revision:null},{url:"assets/Z6z2stHy.js",revision:null},{url:"assets/zD_CCkZ1.js",revision:null},{url:"favicon-dark.svg",revision:"0bd73d900e2e3202205eb299a48b03f3"},{url:"favicon.svg",revision:"17f2f493bc1fe81f0978c84708b437d1"},{url:"/resume.md/",revision:"12b7dc3f78fca4894412c11d6c520a6e"},{url:"pwa-192x192.png",revision:"e3ee23607a02913fa308a010c3f732be"},{url:"pwa-512x512.png",revision:"94db878cb6e20a5ae061b5352c96d243"},{url:"resumes",revision:"4288f49b7c622882f73de15b702be68f"},{url:"safari-pinned-tab.svg",revision:"a3343345003f1a535c38ceb6a8baa4e9"},{url:"sp",revision:"65f1135151849171ddf5afa64354cc65"},{url:"sp/resumes",revision:"7e54eb5c8b8554b9de41a1aacff9d93f"},{url:"zh-cn",revision:"0128f3f4e153459c1c6d60809f16e1b6"},{url:"zh-cn/resumes",revision:"e50923381bbb172ef97dd4e842d64078"},{url:"_payload.json",revision:"6a7980131a8f3af26aef65fc158dac50"},{url:"resumes/_payload.json",revision:"5b0a1919090b9740e57a1b6ec8717417"},{url:"sp/_payload.json",revision:"d7352890fc77b6528fe7f54ad9d82f67"},{url:"sp/resumes/_payload.json",revision:"48210ef37a701b2d9fabf06732bfa73e"},{url:"zh-cn/_payload.json",revision:"35447e3e549859b70ad6aad193ec8e32"},{url:"zh-cn/resumes/_payload.json",revision:"bedb9d9a5a96edf43415d6e206589aa0"},{url:"assets/builds/latest.json",revision:"0dfdf32e3b7f89a0240eb1dcf2c1d462"},{url:"assets/builds/meta/1e2ee3ea-59f7-4a34-abe3-751f6526aff7.json",revision:null},{url:"manifest.webmanifest",revision:"ef6e97b2d89b1f101eee4e540198a0f8"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("/resume.md/"))),s.registerRoute(/^https:\/\/fonts.googleapis.com\/.*/i,new s.CacheFirst({cacheName:"google-fonts-cache",plugins:[new s.ExpirationPlugin({maxEntries:10,maxAgeSeconds:31536e3}),new s.CacheableResponsePlugin({statuses:[0,200]})]}),"GET")})); diff --git a/zh-cn/_payload.json b/zh-cn/_payload.json index decc3bd..fca0891 100644 --- a/zh-cn/_payload.json +++ b/zh-cn/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":3},["Reactive",2],{},1713933361400] \ No newline at end of file +[{"data":1,"prerenderedAt":3},["Reactive",2],{},1713933858858] \ No newline at end of file diff --git a/zh-cn/index.html b/zh-cn/index.html index 259aa61..0704cd8 100644 --- a/zh-cn/index.html +++ b/zh-cn/index.html @@ -16,19 +16,19 @@ - + - - - - + + + + - + - -

OhMyCV

用 Markdown 写简历

OhMyCV 能让您轻松的制作和管理简历,它开源免费,且绝不会(也无法)收集您的数据
开始制作简历

简单且强大

  • 创建并管理多份简历
  • 实时预览
  • 导出为 PDF 格式
  • 可定制程度高
  • 轻松切换字体和添加图标
  • 以及更多特性

隐私优先

  • 开源免费
  • 数据保存在本地
  • 无需登录或注册
  • 没有用户追踪
  • 没有广告
+ +

Resume.md

用 Markdown 写简历

Resume.md 能让您轻松的制作和管理简历,它开源免费,且绝不会(也无法)收集您的数据
开始制作简历

简单且强大

  • 创建并管理多份简历
  • 实时预览
  • 导出为 PDF 格式
  • 可定制程度高
  • 轻松切换字体和添加图标
  • 以及更多特性

隐私优先

  • 开源免费
  • 数据保存在本地
  • 无需登录或注册
  • 没有用户追踪
  • 没有广告
\ No newline at end of file diff --git a/zh-cn/resumes/_payload.json b/zh-cn/resumes/_payload.json index 2c01056..243414b 100644 --- a/zh-cn/resumes/_payload.json +++ b/zh-cn/resumes/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":3},["Reactive",2],{},1713933361435] \ No newline at end of file +[{"data":1,"prerenderedAt":3},["Reactive",2],{},1713933858894] \ No newline at end of file diff --git a/zh-cn/resumes/index.html b/zh-cn/resumes/index.html index e26a01f..1d801fb 100644 --- a/zh-cn/resumes/index.html +++ b/zh-cn/resumes/index.html @@ -16,21 +16,21 @@ - + - - - - - + + + + + - + - -

OhMyCV

我的简历

+ +

Resume.md

我的简历

\ No newline at end of file