getborg 0.0.98 → 0.0.117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BunPtyAdapter-BO6MRm-I.mjs → BunPtyAdapter-kPTUT2mb.mjs} +3 -3
- package/dist/{Config-gKAe02uc.mjs → Config-DvH5tPG0.mjs} +2 -2
- package/dist/{FetchHttpClient-Dkvk_2gy.mjs → FetchHttpClient-C-jciW95.mjs} +3 -3
- package/dist/{FileSystem-CME3BFzu.mjs → FileSystem-NX0EtGtm.mjs} +109 -3
- package/dist/{Mime-CECsj7CV.mjs → Mime-C6O17O_3.mjs} +5 -5
- package/dist/{NodeHttpIncomingMessage-0aW45tSl.mjs → NodeHttpIncomingMessage-CylGKvlB.mjs} +4 -4
- package/dist/{NodeHttpServer-CdXvBNNA.mjs → NodeHttpServer-EarHJJzn.mjs} +9 -9
- package/dist/{NodePtyAdapter-BWrlUEea.mjs → NodePtyAdapter-C6ioPYk6.mjs} +5 -5
- package/dist/{NodeServices-BHXunFtp.mjs → NodeServices-C18DO3cx.mjs} +6 -6
- package/dist/{NodeSqliteClient-BwW7kwrY.mjs → NodeSqliteClient-CWkKfsSo.mjs} +5 -5
- package/dist/{NodeStream-CWX36BNZ.mjs → NodeStream-1N7oXzTp.mjs} +3 -3
- package/dist/{Path-BdYWOglD.mjs → Path-ZDpyUmZ1.mjs} +2 -2
- package/dist/{PtyAdapter-DCErzU8T.mjs → PtyAdapter-DSEyRij4.mjs} +2 -2
- package/dist/{Schema-D5D4He-Q.mjs → Schema-CA_wFfhH.mjs} +292 -8
- package/dist/{SqlClient-CZnbSIGl.mjs → SqlClient-Cusaqpaw.mjs} +3 -3
- package/dist/bin.mjs +14257 -5060
- package/dist/{borgTelemetryNode-B9H2lcK5.mjs → borgTelemetryNode-CHLcRFOW.mjs} +6 -6
- package/dist/client/.vite/manifest.json +330 -330
- package/dist/client/assets/ArrowRight-CgvCTAzu.js +2 -0
- package/dist/client/assets/ArrowSquareOut-C1CwJQ7R.js +2 -0
- package/dist/client/assets/ArrowsClockwise-CBwAQTtQ.js +2 -0
- package/dist/client/assets/CaretLeft-Bk0n02vc.js +2 -0
- package/dist/client/assets/ChatMarkdown-BGNgYyxf.js +249 -0
- package/dist/client/assets/DesignWorkspace-Ddz8UJXt.js +3 -0
- package/dist/client/assets/DiffPanel-mzb-LNBg.js +2 -0
- package/dist/client/assets/DiffWorkerPoolProvider-iCAF4Ogc.js +10 -0
- package/dist/client/assets/DocxPreview-BKhbQZ7C.js +17 -0
- package/dist/client/assets/{FilePreviewPanel-BnW97AGU.js → FilePreviewPanel-DuxNlIRO.js} +19 -19
- package/dist/client/assets/HtmlPreview-DaZHfcMP.js +2 -0
- package/dist/client/assets/PdfPreview-BoUaG-ol.js +3 -0
- package/dist/client/assets/PptxPreview-BQU4yUZZ.js +3 -0
- package/dist/client/assets/PreviewPanel-CnjyoM26.js +2 -0
- package/dist/client/assets/PullRequestCodeTab-DM_H15J2.js +6 -0
- package/dist/client/assets/{PullRequestReactions-DefnDwQq.js → PullRequestReactions-CHoFc7lq.js} +4 -4
- package/dist/client/assets/{RightPanelResizeHandle-CWbwOS4Y.js → RightPanelResizeHandle-DBci-Ee2.js} +2 -2
- package/dist/client/assets/VirtualizedFile-CZoHsBen.js +2 -0
- package/dist/client/assets/XlsxPreview-DjwlT8cY.js +3 -0
- package/dist/client/assets/accountData-C4ZvicpJ.js +16 -0
- package/dist/client/assets/assetUrls-CrfozqHH.js +2 -0
- package/dist/client/assets/browserHistoryStore-7Le_ew5p.js +4 -0
- package/dist/client/assets/browserRecording-CSyywxgr.js +2 -0
- package/dist/client/assets/clientPersistenceStorage-BlYjZvCd.js +2 -0
- package/dist/client/assets/combobox-CiD-v9Ce.js +2 -0
- package/dist/client/assets/composerMentionDrag-DqJ92Sd8.js +2 -0
- package/dist/client/assets/designCanvas.logic-HpJw8lAO.js +8 -0
- package/dist/client/assets/designOpenFileContext-BP2f7uoG.js +2 -0
- package/dist/client/assets/diffFileContents-CpXvVerb.js +248 -0
- package/dist/client/assets/empty-BoorOwgr.js +2 -0
- package/dist/client/assets/entities-CYOkudic.js +2 -0
- package/dist/client/assets/env-71Gq9H0m.js +2 -0
- package/dist/client/assets/{index-B3D6JK2-.js → index-xOiIIEJO.js} +3 -3
- package/dist/client/assets/input-Dm20FTNt.js +2 -0
- package/dist/client/assets/{lib-xfuwsGna.js → lib-CP-ex6Vc.js} +2 -2
- package/dist/client/assets/main-SyzcWFeO.js +161 -0
- package/dist/client/assets/main-YscGsfgO.css +2 -0
- package/dist/client/assets/{pdf-Cr4HwsSN.js → pdf-DcYZLBb4.js} +2 -2
- package/dist/client/assets/popover-ivgAAZ7Z.js +2 -0
- package/dist/client/assets/{pptxDocument-Dxc3oYrP.js → pptxDocument-DtL8fmW3.js} +2 -2
- package/dist/client/assets/projectFilesQueryState-BwZ_KRI1.js +2 -0
- package/dist/client/assets/queries-DIo5yBTp.js +2 -0
- package/dist/client/assets/scroll-area-DKsvPvOo.js +1634 -0
- package/dist/client/assets/session-CgVsO0DD.js +67 -0
- package/dist/client/assets/spinner-DHhZaoFg.js +2 -0
- package/dist/client/assets/textarea-DprGKUyt.js +5 -0
- package/dist/client/assets/toggle-DwBa6pBo.js +2 -0
- package/dist/client/assets/toggle-group-BU7-0DcW.js +2 -0
- package/dist/client/assets/useWorkspaceMutationRefresh-DLI4brDf.js +2 -0
- package/dist/client/assets/utils-DgzD4MA_.js +30 -0
- package/dist/client/assets/{xlsxDocument-yc7zPhIi.js → xlsxDocument-iqdkqQBZ.js} +2 -2
- package/dist/client/index.html +1 -1
- package/dist/service-launcher.mjs +1 -1
- package/package.json +1 -1
- package/dist/client/assets/ArrowRight-B0WzqdPj.js +0 -2
- package/dist/client/assets/ArrowSquareOut-8j4OKqbL.js +0 -2
- package/dist/client/assets/ArrowsClockwise-DlJf49Z-.js +0 -2
- package/dist/client/assets/CaretLeft-Du0MA4fs.js +0 -2
- package/dist/client/assets/ChatMarkdown-DVGPcDDG.js +0 -247
- package/dist/client/assets/DesignWorkspace-NVV8GBAk.js +0 -3
- package/dist/client/assets/DiffPanel-DEXl5JNm.js +0 -2
- package/dist/client/assets/DiffWorkerPoolProvider-EEE1VuzL.js +0 -10
- package/dist/client/assets/DocxPreview-BbjPKR5c.js +0 -17
- package/dist/client/assets/HtmlPreview-C2OXgUpJ.js +0 -2
- package/dist/client/assets/PdfPreview-CthschRx.js +0 -3
- package/dist/client/assets/PptxPreview-M1wqnWv-.js +0 -3
- package/dist/client/assets/PreviewPanel-T7-TNC-0.js +0 -2
- package/dist/client/assets/PullRequestCodeTab-DeLU7Brq.js +0 -6
- package/dist/client/assets/VirtualizedFile-DpXIpMCw.js +0 -2
- package/dist/client/assets/XlsxPreview-yPrELQ0F.js +0 -3
- package/dist/client/assets/assetUrls-Cv1BQRgh.js +0 -2
- package/dist/client/assets/browserHistoryStore-Bvr08etl.js +0 -2
- package/dist/client/assets/browserRecording-DYgu2qFY.js +0 -4
- package/dist/client/assets/clientPersistenceStorage-TiUunQpN.js +0 -2
- package/dist/client/assets/combobox-Cf7GvOtx.js +0 -6
- package/dist/client/assets/composerMentionDrag-TlGe0rUC.js +0 -2
- package/dist/client/assets/designCanvas.logic-CR5c1cCe.js +0 -8
- package/dist/client/assets/designOpenFileContext-CUn4dNFv.js +0 -2
- package/dist/client/assets/diffFileContents-D8w_yRtq.js +0 -248
- package/dist/client/assets/empty-a7hA2Ech.js +0 -2
- package/dist/client/assets/entities-x8g8jint.js +0 -2
- package/dist/client/assets/env-DgM3kOA4.js +0 -2
- package/dist/client/assets/input-C5hbrs5d.js +0 -2
- package/dist/client/assets/main-C_wQnCSV.js +0 -145
- package/dist/client/assets/main-H0NXtw22.css +0 -2
- package/dist/client/assets/popover-CFQuYACO.js +0 -2
- package/dist/client/assets/projectFilesQueryState-CtlKP2rG.js +0 -2
- package/dist/client/assets/queries-D1aqiDAP.js +0 -2
- package/dist/client/assets/scroll-area-DhT-7J-n.js +0 -1630
- package/dist/client/assets/session-BpEQOlGw.js +0 -67
- package/dist/client/assets/spinner-Bld_-IfK.js +0 -2
- package/dist/client/assets/textarea-C37zxlv0.js +0 -5
- package/dist/client/assets/toggle-CoeRt1yA.js +0 -2
- package/dist/client/assets/toggle-group-Cl-JZXj8.js +0 -2
- package/dist/client/assets/useLocalStorage-B6HRw7FK.js +0 -16
- package/dist/client/assets/useWorkspaceMutationRefresh-CdZvTsDX.js +0 -2
- package/dist/client/assets/utils-CxdSByf6.js +0 -30
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import{o as e,r as t,t as n}from"./rolldown-runtime-DAXXjFlN.js";import{Al as r,Dl as i,Ga as a,Ha as o,It as s,Qa as c,Td as l,Yd as u,_ as d,ao as f,it as p,jl as m,ot as h,to as g,v as _,y as v}from"./accountData-C4ZvicpJ.js";import{$a as y,Bo as b,Di as x,Ga as S,Hi as C,Hn as w,Ia as T,Nn as E,Ot as D,Pn as O,So as k,Ua as A,Ui as j,Vi as M,Wa as N,Wi as P,Yi as F,Za as I,_o as L,aa as R,at as ee,ca as te,da as ne,dn as re,ja as ie,ki as ae,kn as oe,n as se,oa as ce,qa as le,qi as ue,ra as de,t as z,vt as fe,wo as B}from"./utils-DgzD4MA_.js";import{F as pe,Gt as me,Wt as he,Zt as ge,mn as _e,r as ve,wn as ye}from"./session-CgVsO0DD.js";import{a as be,i as xe,l as Se,n as Ce,o as we,r as Te,s as Ee}from"./designOpenFileContext-BP2f7uoG.js";import{Ct as De,Hn as Oe,L as ke,V as Ae,c as je,f as Me,g as Ne,gr as Pe,hr as Fe,ir as Ie,l as Le,mr as Re,mt as ze,o as V,sr as Be,u as Ve,un as He,v as Ue,vr as We,w as Ge,z as Ke}from"./textarea-DprGKUyt.js";import{An as qe,Ar as Je,Cn as Ye,Dr as Xe,Dt as Ze,En as Qe,Er as $e,Fn as et,Fr as tt,In as nt,Jn as rt,Lt as it,Nn as at,Or as ot,Pn as st,Qt as ct,Rt as lt,Sn as ut,Tn as dt,Wn as ft,Yt as pt,en as mt,hn as ht,jn as gt,jr as _t,kn as vt,ln as yt,rn as bt,t as xt,tn as St,vn as Ct,wn as wt,wr as Tt}from"./scroll-area-DKsvPvOo.js";import{A as Et,D as Dt,L as Ot,_ as kt,g as At,n as jt,w as Mt,x as Nt,y as Pt}from"./browserHistoryStore-7Le_ew5p.js";import{T as Ft,_ as It,g as Lt,j as Rt,l as zt}from"./entities-CYOkudic.js";import{c as Bt,d as Vt,f as Ht,h as Ut,i as Wt,l as Gt,n as Kt,o as qt,p as Jt,s as Yt,u as Xt}from"./lib-BpnzBIoA.js";import{a as Zt,o as Qt,r as $t,s as en}from"./assetUrls-CrfozqHH.js";import{_ as tn,a as nn,c as rn,f as an,g as on,h as sn,i as cn,l as ln,m as un,n as dn,o as fn,p as pn,r as mn,s as hn,t as gn}from"./lib-CCiVGdun.js";var H=e(v(),1),_n=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216.49,56.48,177,96h19a12,12,0,0,1,0,24H148a12,12,0,0,1-12-12V60a12,12,0,0,1,24,0V79l39.51-39.52a12,12,0,0,1,17,17ZM108,136H60a12,12,0,0,0,0,24H79L39.51,199.51a12,12,0,0,0,17,17L96,177v19a12,12,0,0,0,24,0V148A12,12,0,0,0,108,136Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M213.66,53.66,163.31,104H192a8,8,0,0,1,0,16H144a8,8,0,0,1-8-8V64a8,8,0,0,1,16,0V92.69l50.34-50.35a8,8,0,0,1,11.32,11.32ZM112,136H64a8,8,0,0,0,0,16H92.69L42.34,202.34a8,8,0,0,0,11.32,11.32L104,163.31V192a8,8,0,0,0,16,0V144A8,8,0,0,0,112,136Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M120,144v48a8,8,0,0,1-13.66,5.66L88,179.31,53.66,213.66a8,8,0,0,1-11.32-11.32L76.69,168,58.34,149.66A8,8,0,0,1,64,136h48A8,8,0,0,1,120,144ZM213.66,42.34a8,8,0,0,0-11.32,0L168,76.69,149.66,58.34A8,8,0,0,0,136,64v48a8,8,0,0,0,8,8h48a8,8,0,0,0,5.66-13.66L179.31,88l34.35-34.34A8,8,0,0,0,213.66,42.34Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M212.24,52.24,158.48,106H192a6,6,0,0,1,0,12H144a6,6,0,0,1-6-6V64a6,6,0,0,1,12,0V97.52l53.76-53.76a6,6,0,0,1,8.48,8.48ZM112,138H64a6,6,0,0,0,0,12H97.52L43.76,203.76a6,6,0,1,0,8.48,8.48L106,158.48V192a6,6,0,0,0,12,0V144A6,6,0,0,0,112,138Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M213.66,53.66,163.31,104H192a8,8,0,0,1,0,16H144a8,8,0,0,1-8-8V64a8,8,0,0,1,16,0V92.69l50.34-50.35a8,8,0,0,1,11.32,11.32ZM112,136H64a8,8,0,0,0,0,16H92.69L42.34,202.34a8,8,0,0,0,11.32,11.32L104,163.31V192a8,8,0,0,0,16,0V144A8,8,0,0,0,112,136Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M210.83,50.83,153.66,108H192a4,4,0,0,1,0,8H144a4,4,0,0,1-4-4V64a4,4,0,0,1,8,0v38.34l57.17-57.17a4,4,0,1,1,5.66,5.66ZM112,140H64a4,4,0,0,0,0,8h38.34L45.17,205.17a4,4,0,0,0,5.66,5.66L108,153.66V192a4,4,0,0,0,8,0V144A4,4,0,0,0,112,140Z`}))]]),vn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,36H40A20,20,0,0,0,20,56V184a20,20,0,0,0,20,20H98.11l12.52,21.92a20,20,0,0,0,34.74,0L157.89,204H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36Zm-4,144H150.93a12,12,0,0,0-10.42,6.05L128,207.94l-12.51-21.89A12,12,0,0,0,105.07,180H44V60H212Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,56V184a8,8,0,0,1-8,8H150.93l-16,28a8,8,0,0,1-13.9,0l-16-28H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V184a16,16,0,0,0,16,16h60.43l13.68,23.94a16,16,0,0,0,27.78,0L155.57,200H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,144H150.93a8,8,0,0,0-7,4l-16,28-16-28a8,8,0,0,0-7-4H40V56H216Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,42H40A14,14,0,0,0,26,56V184a14,14,0,0,0,14,14h61.59L115.84,223a14,14,0,0,0,24.32,0L154.41,198H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42Zm2,142a2,2,0,0,1-2,2H150.93a6,6,0,0,0-5.21,3l-16,28a2,2,0,0,1-3.48,0l-16-28a6,6,0,0,0-5.21-3H40a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V184a16,16,0,0,0,16,16h60.43l13.68,23.94a16,16,0,0,0,27.78,0L155.57,200H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,144H150.93a8,8,0,0,0-7,4l-16,28-16-28a8,8,0,0,0-7-4H40V56H216Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,44H40A12,12,0,0,0,28,56V184a12,12,0,0,0,12,12h62.75L117.58,222a12,12,0,0,0,20.84,0L153.25,196H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44Zm4,140a4,4,0,0,1-4,4H150.93a4,4,0,0,0-3.47,2l-16,28a4,4,0,0,1-6.94,0l-16-28a4,4,0,0,0-3.47-2H40a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4Z`}))]]),yn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M84,100A12,12,0,0,1,96,88h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,100Zm12,52h64a12,12,0,0,0,0-24H96a12,12,0,0,0,0,24ZM236,56V184a20,20,0,0,1-20,20H157.89l-12.52,21.92a20,20,0,0,1-34.74,0L98.11,204H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V180h61.07a12,12,0,0,1,10.42,6.05L128,207.94l12.51-21.89A12,12,0,0,1,150.93,180H212Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,56V184a8,8,0,0,1-8,8H150.93l-16,28a8,8,0,0,1-13.9,0l-16-28H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M88,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,104Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V184h65.07a8,8,0,0,1,7,4l16,28,16-28a8,8,0,0,1,7-4H216Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V184a16,16,0,0,0,16,16h60.43l13.68,23.94a16,16,0,0,0,27.78,0L155.57,200H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM160,144H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M166,104a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,104Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm70-74V184a14,14,0,0,1-14,14H154.41L140.16,223a14,14,0,0,1-24.32,0L101.59,198H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V184a2,2,0,0,0,2,2h65.07a6,6,0,0,1,5.21,3l16,28a2,2,0,0,0,3.48,0l16-28a6,6,0,0,1,5.21-3H216a2,2,0,0,0,2-2Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M88,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,104Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V184h65.07a8,8,0,0,1,7,4l16,28,16-28a8,8,0,0,1,7-4H216Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M164,104a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,104Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm68-76V184a12,12,0,0,1-12,12H153.25L138.42,222a12,12,0,0,1-20.84,0L102.75,196H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V184a4,4,0,0,0,4,4h65.07a4,4,0,0,1,3.47,2l16,28a4,4,0,0,0,6.94,0l16-28a4,4,0,0,1,3.47-2H216a4,4,0,0,0,4-4Z`}))]]),bn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44Zm-96,83.72L62.85,68h130.3ZM92.79,128,44,172.72V83.28Zm17.76,16.28,9.34,8.57a12,12,0,0,0,16.22,0l9.34-8.57L193.15,188H62.85ZM163.21,128,212,83.28v89.44Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,56l-96,88L32,56Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-96,85.15L52.57,64H203.43ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50Zm-96,85.86L47.42,62H208.58ZM101.67,128,38,186.36V69.64Zm8.88,8.14L124,148.42a6,6,0,0,0,8.1,0l13.4-12.28L208.58,194H47.43ZM154.33,128,218,69.64V186.36Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-96,85.15L52.57,64H203.43ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-96,86.57L42.28,60H213.72ZM104.63,128,36,190.91V65.09Zm5.92,5.43L125.3,147a4,4,0,0,0,5.4,0l14.75-13.52L213.72,196H42.28ZM151.37,128,220,65.09V190.91Z`}))]]),xn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z`}))]]),Sn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z`}))]]),Cn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Z`}))]]),wn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M180.49,143.51a12,12,0,0,1,0,17l-24,24a12,12,0,0,1-17-17L155,152l-15.52-15.51a12,12,0,1,1,17-17Zm-64-24a12,12,0,0,0-17,0l-24,24a12,12,0,0,0,0,17l24,24a12,12,0,0,0,17-17L101,152l15.52-15.51A12,12,0,0,0,116.49,119.51ZM220,88V216a20,20,0,0,1-20,20H56a20,20,0,0,1-20-20V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88ZM160,57V80h23Zm36,155V104H148a12,12,0,0,1-12-12V44H60V212Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34Zm-104,88a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L91.31,152Zm72-12.68-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32l24,24A8,8,0,0,1,181.66,157.66ZM152,88V44l44,44Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M180.24,147.76a6,6,0,0,1,0,8.48l-24,24a6,6,0,0,1-8.48-8.48L167.51,152l-19.75-19.76a6,6,0,1,1,8.48-8.48Zm-72-24a6,6,0,0,0-8.48,0l-24,24a6,6,0,0,0,0,8.48l24,24a6,6,0,1,0,8.48-8.48L88.49,152l19.75-19.76A6,6,0,0,0,108.24,123.76ZM214,88V216a14,14,0,0,1-14,14H56a14,14,0,0,1-14-14V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.52L158,46.48Zm44,134V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2V216a2,2,0,0,0,2,2H200A2,2,0,0,0,202,216Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M178.83,149.17a4,4,0,0,1,0,5.66l-24,24a4,4,0,0,1-5.66-5.66L170.34,152l-21.17-21.17a4,4,0,1,1,5.66-5.66Zm-72-24a4,4,0,0,0-5.66,0l-24,24a4,4,0,0,0,0,5.66l24,24a4,4,0,1,0,5.66-5.66L85.66,152l21.17-21.17A4,4,0,0,0,106.83,125.17ZM212,88V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-56-4h42.34L156,41.65Zm48,132V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200A4,4,0,0,0,204,216Z`}))]]),Tn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M48,180c0,8.67,5.49,16,12,16a10.27,10.27,0,0,0,7.33-3.43,12,12,0,1,1,17.34,16.6A34,34,0,0,1,60,220C40.15,220,24,202,24,180s16.15-40,36-40a34,34,0,0,1,24.67,10.83,12,12,0,1,1-17.34,16.6A10.27,10.27,0,0,0,60,164C53.49,164,48,171.31,48,180Zm97.51-5.71c-5.13-3.45-11.33-5.24-16.8-6.82a79.5,79.5,0,0,1-7.91-2.59c2.45-1.18,9.71-1.3,16.07.33A12,12,0,0,0,143,142a69.24,69.24,0,0,0-12-1.86c-9.93-.66-18,1.08-24.1,5.17a24.45,24.45,0,0,0-10.69,17.76c-1.1,8.74,2.48,16.27,10.11,21.19,4.78,3.09,10.36,4.7,15.75,6.26,3,.89,7.94,2.3,9.88,3.53a2,2,0,0,1-.22.71c-1.36,1.55-9.57,1.79-16.39-.06a12,12,0,0,0-6.45,23.11A63.73,63.73,0,0,0,125.09,220c6.47,0,13.74-1.17,19.74-5.15a24.73,24.73,0,0,0,10.95-18C157,187.53,153.32,179.53,145.51,174.27ZM216,140.68A12,12,0,0,0,200.7,148L192,172.3,183.3,148A12,12,0,1,0,160.7,156l20,56a12,12,0,0,0,22.6,0l20-56A12,12,0,0,0,216,140.68ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.51l56,56A12,12,0,0,1,220,88v20a12,12,0,1,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,1,1-24,0ZM160,80h23L160,57Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M48,180c0,11,7.18,20,16,20a14.24,14.24,0,0,0,10.22-4.66A8,8,0,0,1,85.78,206.4,30.06,30.06,0,0,1,64,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30.06,30.06,0,0,1,21.78,9.6,8,8,0,0,1-11.56,11.06A14.24,14.24,0,0,0,64,160C55.18,160,48,169,48,180Zm79.6-8.69c-4-1.16-8.14-2.35-10.45-3.84-1.25-.81-1.23-1-1.12-1.9a4.57,4.57,0,0,1,2-3.67c4.6-3.12,15.34-1.73,19.83-.56A8,8,0,0,0,142,145.86c-2.12-.55-21-5.22-32.84,2.76a20.58,20.58,0,0,0-9,14.95c-2,15.88,13.65,20.41,23,23.11,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.34-2.14,3.93-4.6,3.06-15.17,1.56-19.55.36A8,8,0,0,0,109.94,214a61.34,61.34,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.82,20.82,0,0,0,9.19-15.23C154,179,137.49,174.17,127.6,171.31Zm83.09-26.84a8,8,0,0,0-10.23,4.84L188,184.21l-12.47-34.9a8,8,0,0,0-15.07,5.38l20,56a8,8,0,0,0,15.07,0l20-56A8,8,0,0,0,210.69,144.47ZM216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-27.31-8L160,51.31V80Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H212a4,4,0,0,0,4-4V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44ZM48,180c0,11,7.18,20,16,20a14.18,14.18,0,0,0,10.06-4.5,8.21,8.21,0,0,1,10.9-.91,8,8,0,0,1,.82,11.81A30.06,30.06,0,0,1,64,216c-17.64,0-32-16.15-32-36s14.36-36,32-36a30,30,0,0,1,21.39,9.19,8.26,8.26,0,0,1,.73,11.09,8,8,0,0,1-11.9.38A14.17,14.17,0,0,0,64,160C55.18,160,48,169,48,180Zm103.81,16.31a20.82,20.82,0,0,1-9.19,15.23C137.43,215,131,216,125.13,216A61.14,61.14,0,0,1,110,214a8,8,0,1,1,4.3-15.41c4.38,1.2,14.95,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.35-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.56,20.56,0,0,1,9-14.95c11.84-8,30.71-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.12.9-.14,1.09,1.11,1.9,2.31,1.49,6.45,2.68,10.45,3.84C137.49,174.17,154.05,179,151.81,196.31ZM215.42,155l-19.89,55.68a8,8,0,0,1-15.06,0L160.58,155a8.21,8.21,0,0,1,4.5-10.45,8,8,0,0,1,10.45,4.76L188,184.21l12.47-34.9a8,8,0,0,1,10.45-4.76A8.23,8.23,0,0,1,215.42,155Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M46,180c0,12.13,8.07,22,18,22a16.24,16.24,0,0,0,11.67-5.28,6,6,0,0,1,8.66,8.3A28.06,28.06,0,0,1,64,214c-16.54,0-30-15.25-30-34s13.46-34,30-34a28.06,28.06,0,0,1,20.33,9,6,6,0,0,1-8.66,8.3A16.23,16.23,0,0,0,64,158C54.07,158,46,167.86,46,180Zm81.05-6.77c-10.86-3.13-13.41-4.69-13-7.91a6.59,6.59,0,0,1,2.88-5.08c5.6-3.79,17.66-1.82,21.45-.84a6,6,0,0,0,3.06-11.6c-2-.53-20.1-5-31.21,2.48a18.61,18.61,0,0,0-8.08,13.54c-1.8,14.19,12.26,18.25,21.57,20.94,12.12,3.5,14.78,5.33,14.2,9.76a6.85,6.85,0,0,1-3,5.34c-5.61,3.73-17.48,1.64-21.19.62A6,6,0,0,0,110.48,212a59.41,59.41,0,0,0,14.68,2c5.49,0,11.54-.95,16.36-4.14a18.89,18.89,0,0,0,8.31-13.81C151.84,180.39,136.92,176.08,127.05,173.22Zm83-26.88a6,6,0,0,0-7.67,3.63L188,190.15,173.65,150a6,6,0,1,0-11.3,4l20,56a6,6,0,0,0,11.3,0l20-56A6,6,0,0,0,210,146.34ZM214,88v24a6,6,0,1,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,1,1-12,0V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.24,1.76l56,56A6,6,0,0,1,214,88Zm-20.49-6L158,46.48V82Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M48,180c0,11,7.18,20,16,20a14.24,14.24,0,0,0,10.22-4.66A8,8,0,0,1,85.78,206.4,30.06,30.06,0,0,1,64,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30.06,30.06,0,0,1,21.78,9.6,8,8,0,0,1-11.56,11.06A14.24,14.24,0,0,0,64,160C55.18,160,48,169,48,180Zm79.6-8.69c-4-1.16-8.14-2.35-10.45-3.84-1.25-.81-1.23-1-1.12-1.9a4.57,4.57,0,0,1,2-3.67c4.6-3.12,15.34-1.73,19.82-.56A8,8,0,0,0,142,145.86c-2.12-.55-21-5.22-32.84,2.76a20.58,20.58,0,0,0-9,14.95c-2,15.88,13.65,20.41,23,23.11,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.34-2.14,3.93-4.6,3.06-15.17,1.56-19.55.36A8,8,0,0,0,109.94,214a61.34,61.34,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.82,20.82,0,0,0,9.19-15.23C154,179,137.49,174.17,127.6,171.31Zm83.09-26.84a8,8,0,0,0-10.23,4.84L188,184.21l-12.47-34.9a8,8,0,0,0-15.07,5.38l20,56a8,8,0,0,0,15.07,0l20-56A8,8,0,0,0,210.69,144.47ZM216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-27.31-8L160,51.31V80Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M44,180c0,13.23,9,24,20,24a18.15,18.15,0,0,0,13.11-5.9,4,4,0,1,1,5.78,5.54A26.11,26.11,0,0,1,64,212c-15.44,0-28-14.36-28-32s12.56-32,28-32a26.11,26.11,0,0,1,18.89,8.36,4,4,0,1,1-5.78,5.54A18.15,18.15,0,0,0,64,156C53,156,44,166.77,44,180Zm82.49-4.85c-10.53-3-15.08-4.91-14.42-10.08a8.51,8.51,0,0,1,3.75-6.49c6.25-4.23,18.77-2.24,23.06-1.11a4,4,0,0,0,2-7.74,61.11,61.11,0,0,0-10.47-1.61c-8.12-.54-14.54.75-19.1,3.82a16.66,16.66,0,0,0-7.22,12.13c-1.58,12.49,10.46,16,20.14,18.77,11.26,3.25,16.47,5.49,15.64,11.94a8.94,8.94,0,0,1-3.91,6.75c-6.27,4.17-18.61,2.05-22.83.88a4,4,0,1,0-2.15,7.7A57.89,57.89,0,0,0,125.19,212c5.18,0,10.83-.86,15.22-3.77a17,17,0,0,0,7.43-12.41C149.64,181.84,136.26,178,126.49,175.15Zm82.85-26.92a4,4,0,0,0-5.11,2.42L188,196.11l-16.23-45.46a4,4,0,1,0-7.54,2.7l20,56a4,4,0,0,0,7.54,0l20-56A4,4,0,0,0,209.34,148.23ZM212,88v24a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-13.66-4L156,41.65V84Z`}))]]),En=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M48,140H32a12,12,0,0,0-12,12v56a12,12,0,0,0,12,12H48a40,40,0,0,0,0-80Zm0,56H44V164h4a16,16,0,0,1,0,32Zm180.3-3.8a12,12,0,0,1,.37,17A34,34,0,0,1,204,220c-19.85,0-36-17.94-36-40s16.15-40,36-40a34,34,0,0,1,24.67,10.83,12,12,0,0,1-17.34,16.6A10.27,10.27,0,0,0,204,164c-6.5,0-12,7.33-12,16s5.5,16,12,16a10.27,10.27,0,0,0,7.33-3.43A12,12,0,0,1,228.3,192.2ZM128,140c-19.85,0-36,17.94-36,40s16.15,40,36,40,36-17.94,36-40S147.85,140,128,140Zm0,56c-6.5,0-12-7.33-12-16s5.5-16,12-16,12,7.33,12,16S134.5,196,128,196ZM48,120a12,12,0,0,0,12-12V44h76V92a12,12,0,0,0,12,12h48v4a12,12,0,0,0,24,0V88a12,12,0,0,0-3.51-8.48l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68A12,12,0,0,0,48,120ZM160,57l23,23H160Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M52,144H36a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8H52a36,36,0,0,0,0-72Zm0,56H44V160h8a20,20,0,0,1,0,40Zm169.53-4.91a8,8,0,0,1,.25,11.31A30.06,30.06,0,0,1,200,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30.06,30.06,0,0,1,21.78,9.6,8,8,0,0,1-11.56,11.06A14.24,14.24,0,0,0,200,160c-8.82,0-16,9-16,20s7.18,20,16,20a14.18,14.18,0,0,0,10.22-4.66A8,8,0,0,1,221.53,195.09ZM128,144c-17.64,0-32,16.15-32,36s14.36,36,32,36,32-16.15,32-36S145.64,144,128,144Zm0,56c-8.82,0-16-9-16-20s7.18-20,16-20,16,9,16,20S136.82,200,128,200ZM48,120a8,8,0,0,0,8-8V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72A8,8,0,0,0,48,120ZM160,51.31,188.69,80H160Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M44,120H212.07a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152.05,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120Zm108-76,44,44h-44ZM52,144H36a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8H51.33C71,216,87.55,200.52,88,180.87A36,36,0,0,0,52,144Zm-.49,56H44V160h8a20,20,0,0,1,20,20.77C71.59,191.59,62.35,200,51.52,200Zm170.67-4.28a8.26,8.26,0,0,1-.73,11.09,30,30,0,0,1-21.4,9.19c-17.65,0-32-16.15-32-36s14.36-36,32-36a30,30,0,0,1,21.4,9.19,8.26,8.26,0,0,1,.73,11.09,8,8,0,0,1-11.9.38A14.21,14.21,0,0,0,200.06,160c-8.82,0-16,9-16,20s7.18,20,16,20a14.25,14.25,0,0,0,10.23-4.66A8,8,0,0,1,222.19,195.72ZM128,144c-17.65,0-32,16.15-32,36s14.37,36,32,36,32-16.15,32-36S145.69,144,128,144Zm0,56c-8.83,0-16-9-16-20s7.18-20,16-20,16,9,16,20S136.86,200,128,200Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M52,146H36a6,6,0,0,0-6,6v56a6,6,0,0,0,6,6H52a34,34,0,0,0,0-68Zm0,56H42V158H52a22,22,0,0,1,0,44Zm168.15-5.46a6,6,0,0,1,.18,8.48A28.06,28.06,0,0,1,200,214c-16.54,0-30-15.25-30-34s13.46-34,30-34a28.06,28.06,0,0,1,20.33,9,6,6,0,0,1-8.66,8.3A16.23,16.23,0,0,0,200,158c-9.93,0-18,9.87-18,22s8.07,22,18,22a16.23,16.23,0,0,0,11.67-5.28A6,6,0,0,1,220.15,196.54ZM128,146c-16.54,0-30,15.25-30,34s13.46,34,30,34,30-15.25,30-34S144.54,146,128,146Zm0,56c-9.93,0-18-9.87-18-22s8.07-22,18-22,18,9.87,18,22S137.93,202,128,202ZM48,118a6,6,0,0,0,6-6V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50v18a6,6,0,0,0,12,0V88a6,6,0,0,0-1.76-4.24l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72A6,6,0,0,0,48,118ZM158,46.48,193.52,82H158Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M52,144H36a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8H52a36,36,0,0,0,0-72Zm0,56H44V160h8a20,20,0,0,1,0,40Zm169.53-4.91a8,8,0,0,1,.25,11.31A30.06,30.06,0,0,1,200,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30.06,30.06,0,0,1,21.78,9.6,8,8,0,0,1-11.56,11.06A14.24,14.24,0,0,0,200,160c-8.82,0-16,9-16,20s7.18,20,16,20a14.24,14.24,0,0,0,10.22-4.66A8,8,0,0,1,221.53,195.09ZM128,144c-17.65,0-32,16.15-32,36s14.35,36,32,36,32-16.15,32-36S145.65,144,128,144Zm0,56c-8.82,0-16-9-16-20s7.18-20,16-20,16,9,16,20S136.82,200,128,200ZM48,120a8,8,0,0,0,8-8V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72A8,8,0,0,0,48,120ZM160,51.31,188.69,80H160Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M52,148H36a4,4,0,0,0-4,4v56a4,4,0,0,0,4,4H52a32,32,0,0,0,0-64Zm0,56H40V156H52a24,24,0,0,1,0,48Zm166.77-6a4,4,0,0,1,.12,5.66A26.11,26.11,0,0,1,200,212c-15.44,0-28-14.36-28-32s12.56-32,28-32a26.11,26.11,0,0,1,18.89,8.36,4,4,0,1,1-5.78,5.54A18.15,18.15,0,0,0,200,156c-11,0-20,10.77-20,24s9,24,20,24a18.15,18.15,0,0,0,13.11-5.9A4,4,0,0,1,218.77,198ZM128,148c-15.44,0-28,14.36-28,32s12.56,32,28,32,28-14.36,28-32S143.44,148,128,148Zm0,56c-11,0-20-10.77-20-24s9-24,20-24,20,10.77,20,24S139,204,128,204ZM48,116a4,4,0,0,0,4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52v20a4,4,0,0,0,8,0V88a4,4,0,0,0-1.17-2.83l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72A4,4,0,0,0,48,116ZM156,41.65,198.34,84H156Z`}))]]),Dn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M232,152a12,12,0,0,1-12,12h-8v44a12,12,0,0,1-24,0V164h-8a12,12,0,0,1,0-24h40A12,12,0,0,1,232,152ZM92,172a32,32,0,0,1-32,32H56v4a12,12,0,0,1-24,0V152a12,12,0,0,1,12-12H60A32,32,0,0,1,92,172Zm-24,0a8,8,0,0,0-8-8H56v16h4A8,8,0,0,0,68,172Zm96,0a32,32,0,0,1-32,32h-4v4a12,12,0,0,1-24,0V152a12,12,0,0,1,12-12h16A32,32,0,0,1,164,172Zm-24,0a8,8,0,0,0-8-8h-4v16h4A8,8,0,0,0,140,172ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88v20a12,12,0,0,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0ZM160,80h23L160,57Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M224,152a8,8,0,0,1-8,8H204v48a8,8,0,0,1-16,0V160H176a8,8,0,0,1,0-16h40A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm84,0a28,28,0,0,1-28,28h-8v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h16A28,28,0,0,1,160,172Zm-16,0a12,12,0,0,0-12-12h-8v24h8A12,12,0,0,0,144,172ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,152.53a8.17,8.17,0,0,1-8.25,7.47H204v47.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V160H176.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h40A8,8,0,0,1,224,152.53ZM92,172.85C91.54,188.08,78.64,200,63.4,200H56v7.73A8.17,8.17,0,0,1,48.53,216,8,8,0,0,1,40,208V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172.85Zm-16-2A12.25,12.25,0,0,0,63.65,160H56v24h8A12,12,0,0,0,76,170.84Zm84,2C159.54,188.08,146.64,200,131.4,200H124v7.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V152a8,8,0,0,1,8-8h16A28,28,0,0,1,160,172.85Zm-16-2A12.25,12.25,0,0,0,131.65,160H124v24h8A12,12,0,0,0,144,170.84ZM40,116V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v28a4,4,0,0,1-4,4H44A4,4,0,0,1,40,116ZM152,88h44L152,44Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M222,152a6,6,0,0,1-6,6H202v50a6,6,0,0,1-12,0V158H176a6,6,0,0,1,0-12h40A6,6,0,0,1,222,152ZM90,172a26,26,0,0,1-26,26H54v10a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6H64A26,26,0,0,1,90,172Zm-12,0a14,14,0,0,0-14-14H54v28H64A14,14,0,0,0,78,172Zm80,0a26,26,0,0,1-26,26H122v10a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6h16A26,26,0,0,1,158,172Zm-12,0a14,14,0,0,0-14-14H122v28h10A14,14,0,0,0,146,172ZM42,112V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88v24a6,6,0,0,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,0,1-12,0ZM158,82h35.52L158,46.48Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,152a8,8,0,0,1-8,8H204v48a8,8,0,0,1-16,0V160H176a8,8,0,0,1,0-16h40A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm84,0a28,28,0,0,1-28,28h-8v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h16A28,28,0,0,1,160,172Zm-16,0a12,12,0,0,0-12-12h-8v24h8A12,12,0,0,0,144,172ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M220,152a4,4,0,0,1-4,4H200v52a4,4,0,0,1-8,0V156H176a4,4,0,0,1,0-8h40A4,4,0,0,1,220,152ZM88,172a24,24,0,0,1-24,24H52v12a4,4,0,0,1-8,0V152a4,4,0,0,1,4-4H64A24,24,0,0,1,88,172Zm-8,0a16,16,0,0,0-16-16H52v32H64A16,16,0,0,0,80,172Zm76,0a24,24,0,0,1-24,24H120v12a4,4,0,0,1-8,0V152a4,4,0,0,1,4-4h16A24,24,0,0,1,156,172Zm-8,0a16,16,0,0,0-16-16H120v32h12A16,16,0,0,0,148,172ZM44,112V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88v24a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0ZM156,84h42.34L156,41.65Z`}))]]),On=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z`}))]]),kn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M160,208a12,12,0,0,1-12,12H120a12,12,0,0,1-12-12V152a12,12,0,0,1,24,0v44h16A12,12,0,0,1,160,208ZM91,142.22A12,12,0,0,0,74.24,145L64,159.34,53.77,145a12,12,0,1,0-19.53,14l15,21-15,21A12,12,0,1,0,53.77,215L64,200.62,74.24,215A12,12,0,0,0,93.77,201l-15-21,15-21A12,12,0,0,0,91,142.22Zm122.53,32.05c-5.12-3.45-11.32-5.24-16.79-6.82a79.69,79.69,0,0,1-7.92-2.59c2.45-1.18,9.71-1.3,16.07.33A12,12,0,0,0,211,142a69,69,0,0,0-12-1.86c-9.93-.66-18,1.08-24.1,5.17a24.45,24.45,0,0,0-10.69,17.76c-1.1,8.74,2.49,16.27,10.11,21.19,4.78,3.09,10.36,4.7,15.75,6.26,3,.89,7.94,2.3,9.88,3.53a2.48,2.48,0,0,1-.21.71c-1.37,1.55-9.58,1.79-16.39-.06a12,12,0,1,0-6.46,23.11A63.75,63.75,0,0,0,193.1,220c6.46,0,13.73-1.17,19.73-5.15a24.73,24.73,0,0,0,10.95-18C225,187.53,221.33,179.53,213.51,174.27ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.51l56,56A12,12,0,0,1,220,88v20a12,12,0,1,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,1,1-24,0ZM160,80h23L160,57Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M156,208a8,8,0,0,1-8,8H120a8,8,0,0,1-8-8V152a8,8,0,0,1,16,0v48h20A8,8,0,0,1,156,208ZM92.65,145.49a8,8,0,0,0-11.16,1.86L68,166.24,54.51,147.35a8,8,0,1,0-13,9.3L58.17,180,41.49,203.35a8,8,0,0,0,13,9.3L68,193.76l13.49,18.89a8,8,0,0,0,13-9.3L77.83,180l16.68-23.35A8,8,0,0,0,92.65,145.49Zm98.94,25.82c-4-1.16-8.14-2.35-10.45-3.84-1.25-.82-1.23-1-1.12-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.34-1.73,19.82-.56a8,8,0,0,0,4.07-15.48c-2.11-.55-21-5.22-32.83,2.76a20.58,20.58,0,0,0-8.95,14.94c-2,15.89,13.65,20.42,23,23.12,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.33-2.15,3.93-4.6,3.06-15.16,1.56-19.54.35A8,8,0,0,0,173.93,214a60.63,60.63,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.81,20.81,0,0,0,9.18-15.23C218,179,201.48,174.17,191.59,171.31ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,1,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.68L160,51.31Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152Zm4,164.53a8.18,8.18,0,0,1-8.25,7.47H120a8,8,0,0,1-8-8V152.27a8.18,8.18,0,0,1,7.47-8.25,8,8,0,0,1,8.53,8v48h20A8,8,0,0,1,156,208.53ZM94.51,156.65,77.83,180l16.68,23.35a8,8,0,0,1-13,9.3L68,193.76,54.51,212.65a8,8,0,1,1-13-9.3L58.17,180,41.49,156.65a8,8,0,0,1,2.3-11.46,8.19,8.19,0,0,1,10.88,2.38L68,166.24l13.49-18.89a8,8,0,0,1,13,9.3Zm121.28,39.66a20.81,20.81,0,0,1-9.18,15.23C201.42,215,194.94,216,189.12,216a60.63,60.63,0,0,1-15.19-2,8,8,0,0,1,4.31-15.41c4.38,1.21,14.94,2.71,19.54-.35.89-.6,1.84-1.52,2.15-3.93.34-2.67-.72-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.12a20.58,20.58,0,0,1,8.95-14.94c11.84-8,30.72-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.48-1.17-15.22-2.56-19.82.56a4.54,4.54,0,0,0-2,3.67c-.11.9-.13,1.08,1.12,1.9,2.31,1.49,6.45,2.68,10.45,3.84C201.48,174.17,218,179,215.79,196.31Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M154,208a6,6,0,0,1-6,6H120a6,6,0,0,1-6-6V152a6,6,0,1,1,12,0v50h22A6,6,0,0,1,154,208ZM91.48,147.11a6,6,0,0,0-8.36,1.39L68,169.67,52.88,148.5a6,6,0,1,0-9.76,7L60.63,180,43.12,204.5a6,6,0,1,0,9.76,7L68,190.31l15.12,21.16A6,6,0,0,0,88,214a5.91,5.91,0,0,0,3.48-1.12,6,6,0,0,0,1.4-8.37L75.37,180l17.51-24.51A6,6,0,0,0,91.48,147.11ZM191,173.22c-10.85-3.13-13.41-4.69-13-7.91a6.59,6.59,0,0,1,2.88-5.08c5.6-3.79,17.65-1.83,21.44-.84a6,6,0,0,0,3.07-11.6c-2-.54-20.1-5-31.21,2.48a18.64,18.64,0,0,0-8.08,13.54c-1.8,14.19,12.26,18.25,21.57,20.94,12.12,3.5,14.77,5.33,14.2,9.76a6.85,6.85,0,0,1-3,5.34c-5.61,3.73-17.48,1.64-21.19.62A6,6,0,0,0,174.47,212a59.41,59.41,0,0,0,14.68,2c5.49,0,11.54-.95,16.36-4.14a18.89,18.89,0,0,0,8.31-13.81C215.83,180.39,200.91,176.08,191,173.22ZM42,112V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.24,1.76l56,56A6,6,0,0,1,214,88v24a6,6,0,1,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,1,1-12,0ZM158,82H193.5L158,46.48Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M156,208a8,8,0,0,1-8,8H120a8,8,0,0,1-8-8V152a8,8,0,0,1,16,0v48h20A8,8,0,0,1,156,208ZM92.65,145.49a8,8,0,0,0-11.16,1.86L68,166.24,54.51,147.35a8,8,0,1,0-13,9.3L58.17,180,41.49,203.35a8,8,0,0,0,13,9.3L68,193.76l13.49,18.89a8,8,0,0,0,13-9.3L77.83,180l16.68-23.35A8,8,0,0,0,92.65,145.49Zm98.94,25.82c-4-1.16-8.14-2.35-10.45-3.84-1.25-.82-1.23-1-1.12-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.34-1.72,19.82-.56a8,8,0,0,0,4.07-15.48c-2.11-.55-21-5.22-32.83,2.76a20.58,20.58,0,0,0-8.95,14.95c-2,15.88,13.65,20.41,23,23.11,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.33-2.15,3.93-4.6,3.06-15.16,1.55-19.54.35A8,8,0,0,0,173.93,214a60.63,60.63,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.81,20.81,0,0,0,9.18-15.23C218,179,201.48,174.17,191.59,171.31ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,1,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.68L160,51.31Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M152,208a4,4,0,0,1-4,4H120a4,4,0,0,1-4-4V152a4,4,0,0,1,8,0v52h24A4,4,0,0,1,152,208ZM90.32,148.75a4,4,0,0,0-5.58.92L68,173.12,51.25,149.67a4,4,0,0,0-6.5,4.66L63.08,180,44.75,205.67a4,4,0,0,0,.93,5.58A3.91,3.91,0,0,0,48,212a4,4,0,0,0,3.25-1.67L68,186.88l16.74,23.45A4,4,0,0,0,88,212a3.91,3.91,0,0,0,2.32-.75,4,4,0,0,0,.93-5.58L72.91,180l18.34-25.67A4,4,0,0,0,90.32,148.75Zm100.17,26.4c-10.53-3-15.08-4.91-14.43-10.08a8.57,8.57,0,0,1,3.75-6.49c6.26-4.23,18.77-2.24,23.07-1.11a4,4,0,0,0,2-7.74,61.33,61.33,0,0,0-10.48-1.61c-8.11-.54-14.54.75-19.09,3.82a16.63,16.63,0,0,0-7.22,12.13c-1.59,12.49,10.46,16,20.14,18.77,11.25,3.25,16.46,5.49,15.63,11.94a8.93,8.93,0,0,1-3.9,6.75c-6.28,4.17-18.61,2.05-22.83.88a4,4,0,1,0-2.15,7.7A57.7,57.7,0,0,0,189.19,212c5.17,0,10.83-.86,15.22-3.77a17,17,0,0,0,7.43-12.41C213.63,181.84,200.26,178,190.49,175.15ZM204,92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88v24a4,4,0,0,1-8,0Zm-5.65-8L156,41.65V84Z`}))]]),An=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,68H133.39l-26-29.29a20,20,0,0,0-15-6.71H40A20,20,0,0,0,20,52V200.62A19.41,19.41,0,0,0,39.38,220H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68ZM44,56H90.61l10.67,12H44ZM212,196H44V92H212Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M128,80H32V56a8,8,0,0,1,8-8H92.69a8,8,0,0,1,5.65,2.34Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM92.69,56l16,16H40V56ZM216,200H40V88H216Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,72H131.31L104,44.69A15.88,15.88,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.41,15.41,0,0,0,39.39,216h177.5A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,74H130.49l-27.9-27.9a13.94,13.94,0,0,0-9.9-4.1H40A14,14,0,0,0,26,56V200.62A13.39,13.39,0,0,0,39.38,214H216.89A13.12,13.12,0,0,0,230,200.89V88A14,14,0,0,0,216,74ZM40,54H92.69a2,2,0,0,1,1.41.59L113.51,74H38V56A2,2,0,0,1,40,54ZM218,200.89a1.11,1.11,0,0,1-1.11,1.11H39.38A1.4,1.4,0,0,1,38,200.62V86H216a2,2,0,0,1,2,2Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,76H129.66L101.17,47.52A11.9,11.9,0,0,0,92.69,44H40A12,12,0,0,0,28,56V200.62A11.4,11.4,0,0,0,39.38,212H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76ZM36,56a4,4,0,0,1,4-4H92.69a4,4,0,0,1,2.82,1.17L118.34,76H36ZM220,200.89a3.12,3.12,0,0,1-3.11,3.11H39.38A3.39,3.39,0,0,1,36,200.62V84H216a4,4,0,0,1,4,4Z`}))]]),jn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M144,96a16,16,0,1,1,16,16A16,16,0,0,1,144,96Zm92-40V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56ZM44,60v79.72l33.86-33.86a20,20,0,0,1,28.28,0L147.31,147l17.18-17.17a20,20,0,0,1,28.28,0L212,149.09V60Zm0,136H162.34L92,125.66l-48,48Zm168,0V183l-33.37-33.37L164.28,164l32,32Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,56V178.06l-39.72-39.72a8,8,0,0,0-11.31,0L147.31,164,97.66,114.34a8,8,0,0,0-11.32,0L32,168.69V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM156,88a12,12,0,1,1-12,12A12,12,0,0,1,156,88Zm60,112H40V160.69l46.34-46.35a8,8,0,0,1,11.32,0h0L165,181.66a8,8,0,0,0,11.32-11.32l-17.66-17.65L173,138.34a8,8,0,0,1,11.31,0L216,170.07V200Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM40,54H216a2,2,0,0,1,2,2V163.57L188.53,134.1a14,14,0,0,0-19.8,0l-21.42,21.42L101.9,110.1a14,14,0,0,0-19.8,0L38,154.2V56A2,2,0,0,1,40,54ZM38,200V171.17l52.58-52.58a2,2,0,0,1,2.84,0L176.83,202H40A2,2,0,0,1,38,200Zm178,2H193.8l-38-38,21.41-21.42a2,2,0,0,1,2.83,0l38,38V200A2,2,0,0,1,216,202ZM146,100a10,10,0,1,1,10,10A10,10,0,0,1,146,100Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM40,52H216a4,4,0,0,1,4,4V168.4l-32.89-32.89a12,12,0,0,0-17,0l-22.83,22.83-46.82-46.83a12,12,0,0,0-17,0L36,159V56A4,4,0,0,1,40,52ZM36,200V170.34l53.17-53.17a4,4,0,0,1,5.66,0L181.66,204H40A4,4,0,0,1,36,200Zm180,4H193l-40-40,22.83-22.83a4,4,0,0,1,5.66,0L220,179.71V200A4,4,0,0,1,216,204ZM148,100a8,8,0,1,1,8,8A8,8,0,0,1,148,100Z`}))]]),Mn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M180,232a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,232Zm40-128a91.51,91.51,0,0,1-35.17,72.35A12.26,12.26,0,0,0,180,186v2a20,20,0,0,1-20,20H96a20,20,0,0,1-20-20v-2a12,12,0,0,0-4.7-9.51A91.57,91.57,0,0,1,36,104.52C35.73,54.69,76,13.2,125.79,12A92,92,0,0,1,220,104Zm-24,0a68,68,0,0,0-69.65-68C89.56,36.88,59.8,67.55,60,104.38a67.71,67.71,0,0,0,26.1,53.19A35.87,35.87,0,0,1,100,184h56.1A36.13,36.13,0,0,1,170,157.49,67.68,67.68,0,0,0,196,104Zm-20.07-5.32a48.5,48.5,0,0,0-31.91-40,12,12,0,0,0-8,22.62,24.31,24.31,0,0,1,16.09,20,12,12,0,0,0,23.86-2.64Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M208,104a79.86,79.86,0,0,1-30.59,62.92A24.29,24.29,0,0,0,168,186v6a8,8,0,0,1-8,8H96a8,8,0,0,1-8-8v-6a24.11,24.11,0,0,0-9.3-19A79.87,79.87,0,0,1,48,104.45C47.76,61.09,82.72,25,126.07,24A80,80,0,0,1,208,104Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.65,71.65,0,0,0,27.64,56.3A32,32,0,0,1,96,186v6h64v-6a32.15,32.15,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Zm-16.11-9.34a57.6,57.6,0,0,0-46.56-46.55,8,8,0,0,0-2.66,15.78c16.57,2.79,30.63,16.85,33.44,33.45A8,8,0,0,0,176,104a9,9,0,0,0,1.35-.11A8,8,0,0,0,183.89,94.66Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-32.11-9.34a57.6,57.6,0,0,0-46.56-46.55,8,8,0,0,0-2.66,15.78c16.57,2.79,30.63,16.85,33.44,33.45A8,8,0,0,0,176,104a9,9,0,0,0,1.35-.11A8,8,0,0,0,183.89,94.66Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M174,232a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,232Zm40-128a85.56,85.56,0,0,1-32.88,67.64A18.23,18.23,0,0,0,174,186v6a14,14,0,0,1-14,14H96a14,14,0,0,1-14-14v-6a18,18,0,0,0-7-14.23h0a85.59,85.59,0,0,1-33-67.24C41.74,57.91,79.39,19.12,125.93,18A86,86,0,0,1,214,104Zm-12,0a74,74,0,0,0-75.79-74C86.17,31,53.78,64.34,54,104.42a73.67,73.67,0,0,0,28.4,57.87A29.92,29.92,0,0,1,94,186v6a2,2,0,0,0,2,2h64a2,2,0,0,0,2-2v-6a30.18,30.18,0,0,1,11.7-23.78A73.59,73.59,0,0,0,202,104Zm-20.08-9A55.58,55.58,0,0,0,137,50.08a6,6,0,1,0-2,11.84C152.38,64.84,167.13,79.6,170.08,97a6,6,0,0,0,5.91,5,6.87,6.87,0,0,0,1-.08A6,6,0,0,0,181.92,95Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.65,71.65,0,0,0,27.64,56.3A32,32,0,0,1,96,186v6h64v-6a32.15,32.15,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Zm-16.11-9.34a57.6,57.6,0,0,0-46.56-46.55,8,8,0,0,0-2.66,15.78c16.57,2.79,30.63,16.85,33.44,33.45A8,8,0,0,0,176,104a9,9,0,0,0,1.35-.11A8,8,0,0,0,183.89,94.66Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M172,232a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,232Zm40-128a83.59,83.59,0,0,1-32.11,66.06A20.2,20.2,0,0,0,172,186v6a12,12,0,0,1-12,12H96a12,12,0,0,1-12-12v-6a20,20,0,0,0-7.76-15.81A83.58,83.58,0,0,1,44,104.47C43.75,59,80.52,21.09,126,20a84,84,0,0,1,86,84Zm-8,0a76,76,0,0,0-77.83-76C85,29,51.77,63.27,52,104.43a75.62,75.62,0,0,0,29.17,59.43A28,28,0,0,1,92,186v6a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4v-6a28.14,28.14,0,0,1,10.94-22.2A75.62,75.62,0,0,0,204,104ZM136.66,52.06a4,4,0,0,0-1.32,7.88C153.53,63,169,78.45,172.06,96.67A4,4,0,0,0,176,100a3.88,3.88,0,0,0,.67-.06,4,4,0,0,0,3.27-4.61A53.51,53.51,0,0,0,136.66,52.06Z`}))]]),Nn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M199,125.31l-49.88-18.39L130.69,57a19.92,19.92,0,0,0-37.38,0L74.92,106.92,25,125.31a19.92,19.92,0,0,0,0,37.38l49.88,18.39L93.31,231a19.92,19.92,0,0,0,37.38,0l18.39-49.88L199,162.69a19.92,19.92,0,0,0,0-37.38Zm-63.38,35.16a12,12,0,0,0-7.11,7.11L112,212.28l-16.47-44.7a12,12,0,0,0-7.11-7.11L43.72,144l44.7-16.47a12,12,0,0,0,7.11-7.11L112,75.72l16.47,44.7a12,12,0,0,0,7.11,7.11L180.28,144ZM140,40a12,12,0,0,1,12-12h12V16a12,12,0,0,1,24,0V28h12a12,12,0,0,1,0,24H188V64a12,12,0,0,1-24,0V52H152A12,12,0,0,1,140,40ZM252,88a12,12,0,0,1-12,12h-4v4a12,12,0,0,1-24,0v-4h-4a12,12,0,0,1,0-24h4V72a12,12,0,0,1,24,0v4h4A12,12,0,0,1,252,88Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M194.82,151.43l-55.09,20.3-20.3,55.09a7.92,7.92,0,0,1-14.86,0l-20.3-55.09-55.09-20.3a7.92,7.92,0,0,1,0-14.86l55.09-20.3,20.3-55.09a7.92,7.92,0,0,1,14.86,0l20.3,55.09,55.09,20.3A7.92,7.92,0,0,1,194.82,151.43Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M208,144a15.78,15.78,0,0,1-10.42,14.94L146,178l-19,51.62a15.92,15.92,0,0,1-29.88,0L78,178l-51.62-19a15.92,15.92,0,0,1,0-29.88L78,110l19-51.62a15.92,15.92,0,0,1,29.88,0L146,110l51.62,19A15.78,15.78,0,0,1,208,144ZM152,48h16V64a8,8,0,0,0,16,0V48h16a8,8,0,0,0,0-16H184V16a8,8,0,0,0-16,0V32H152a8,8,0,0,0,0,16Zm88,32h-8V72a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0V96h8a8,8,0,0,0,0-16Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M196.89,130.94,144.4,111.6,125.06,59.11a13.92,13.92,0,0,0-26.12,0L79.6,111.6,27.11,130.94a13.92,13.92,0,0,0,0,26.12L79.6,176.4l19.34,52.49a13.92,13.92,0,0,0,26.12,0L144.4,176.4l52.49-19.34a13.92,13.92,0,0,0,0-26.12Zm-4.15,14.86-55.08,20.3a6,6,0,0,0-3.56,3.56l-20.3,55.08a1.92,1.92,0,0,1-3.6,0L89.9,169.66a6,6,0,0,0-3.56-3.56L31.26,145.8a1.92,1.92,0,0,1,0-3.6l55.08-20.3a6,6,0,0,0,3.56-3.56l20.3-55.08a1.92,1.92,0,0,1,3.6,0l20.3,55.08a6,6,0,0,0,3.56,3.56l55.08,20.3a1.92,1.92,0,0,1,0,3.6ZM146,40a6,6,0,0,1,6-6h18V16a6,6,0,0,1,12,0V34h18a6,6,0,0,1,0,12H182V64a6,6,0,0,1-12,0V46H152A6,6,0,0,1,146,40ZM246,88a6,6,0,0,1-6,6H230v10a6,6,0,0,1-12,0V94H208a6,6,0,0,1,0-12h10V72a6,6,0,0,1,12,0V82h10A6,6,0,0,1,246,88Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M196.2,132.81l-53.36-19.65L123.19,59.8a11.93,11.93,0,0,0-22.38,0L81.16,113.16,27.8,132.81a11.93,11.93,0,0,0,0,22.38l53.36,19.65,19.65,53.36a11.93,11.93,0,0,0,22.38,0l19.65-53.36,53.36-19.65a11.93,11.93,0,0,0,0-22.38Zm-2.77,14.87L138.35,168a4,4,0,0,0-2.37,2.37l-20.3,55.08a3.92,3.92,0,0,1-7.36,0L88,170.35A4,4,0,0,0,85.65,168l-55.08-20.3a3.92,3.92,0,0,1,0-7.36L85.65,120A4,4,0,0,0,88,117.65l20.3-55.08a3.92,3.92,0,0,1,7.36,0L136,117.65a4,4,0,0,0,2.37,2.37l55.08,20.3a3.92,3.92,0,0,1,0,7.36ZM148,40a4,4,0,0,1,4-4h20V16a4,4,0,0,1,8,0V36h20a4,4,0,0,1,0,8H180V64a4,4,0,0,1-8,0V44H152A4,4,0,0,1,148,40Zm96,48a4,4,0,0,1-4,4H228v12a4,4,0,0,1-8,0V92H208a4,4,0,0,1,0-8h12V72a4,4,0,0,1,8,0V84h12A4,4,0,0,1,244,88Z`}))]]),Pn=new Map([[`bold`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M116,132V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0ZM236,91.55v72.9a19.86,19.86,0,0,1-5.86,14.14l-51.55,51.55A19.85,19.85,0,0,1,164.45,236H91.55a19.85,19.85,0,0,1-14.14-5.86L25.86,178.59A19.86,19.86,0,0,1,20,164.45V91.55a19.86,19.86,0,0,1,5.86-14.14L77.41,25.86A19.85,19.85,0,0,1,91.55,20h72.9a19.85,19.85,0,0,1,14.14,5.86l51.55,51.55A19.86,19.86,0,0,1,236,91.55Zm-24,1.66L162.79,44H93.21L44,93.21v69.58L93.21,212h69.58L212,162.79ZM128,156a16,16,0,1,0,16,16A16,16,0,0,0,128,156Z`}))],[`duotone`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M224,91.55v72.9a8,8,0,0,1-2.34,5.66l-51.55,51.55a8,8,0,0,1-5.66,2.34H91.55a8,8,0,0,1-5.66-2.34L34.34,170.11A8,8,0,0,1,32,164.45V91.55a8,8,0,0,1,2.34-5.66L85.89,34.34A8,8,0,0,1,91.55,32h72.9a8,8,0,0,1,5.66,2.34l51.55,51.55A8,8,0,0,1,224,91.55Z`,opacity:`0.2`}),H.createElement(`path`,{d:`M120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0ZM232,91.55v72.9a15.86,15.86,0,0,1-4.69,11.31l-51.55,51.55A15.86,15.86,0,0,1,164.45,232H91.55a15.86,15.86,0,0,1-11.31-4.69L28.69,175.76A15.86,15.86,0,0,1,24,164.45V91.55a15.86,15.86,0,0,1,4.69-11.31L80.24,28.69A15.86,15.86,0,0,1,91.55,24h72.9a15.86,15.86,0,0,1,11.31,4.69l51.55,51.55A15.86,15.86,0,0,1,232,91.55Zm-16,0L164.45,40H91.55L40,91.55v72.9L91.55,216h72.9L216,164.45ZM128,160a12,12,0,1,0,12,12A12,12,0,0,0,128,160Z`}))],[`fill`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M227.31,80.23,175.77,28.69A16.13,16.13,0,0,0,164.45,24H91.55a16.13,16.13,0,0,0-11.32,4.69L28.69,80.23A16.13,16.13,0,0,0,24,91.55v72.9a16.13,16.13,0,0,0,4.69,11.32l51.54,51.54A16.13,16.13,0,0,0,91.55,232h72.9a16.13,16.13,0,0,0,11.32-4.69l51.54-51.54A16.13,16.13,0,0,0,232,164.45V91.55A16.13,16.13,0,0,0,227.31,80.23ZM120,80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z`}))],[`light`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M122,136V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0ZM230,91.55v72.9a13.92,13.92,0,0,1-4.1,9.9L174.35,225.9a13.92,13.92,0,0,1-9.9,4.1H91.55a13.92,13.92,0,0,1-9.9-4.1L30.1,174.35a13.92,13.92,0,0,1-4.1-9.9V91.55a13.92,13.92,0,0,1,4.1-9.9L81.65,30.1a13.92,13.92,0,0,1,9.9-4.1h72.9a13.92,13.92,0,0,1,9.9,4.1L225.9,81.65A13.92,13.92,0,0,1,230,91.55Zm-12,0a2,2,0,0,0-.59-1.42L165.87,38.59a2,2,0,0,0-1.42-.59H91.55a2,2,0,0,0-1.41.59L38.58,90.13A2,2,0,0,0,38,91.55v72.9a2,2,0,0,0,.59,1.42l51.54,51.54a2,2,0,0,0,1.42.59h72.9a2,2,0,0,0,1.41-.59l51.56-51.54a2,2,0,0,0,.58-1.42ZM128,162a10,10,0,1,0,10,10A10,10,0,0,0,128,162Z`}))],[`regular`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0ZM232,91.55v72.9a15.86,15.86,0,0,1-4.69,11.31l-51.55,51.55A15.86,15.86,0,0,1,164.45,232H91.55a15.86,15.86,0,0,1-11.31-4.69L28.69,175.76A15.86,15.86,0,0,1,24,164.45V91.55a15.86,15.86,0,0,1,4.69-11.31L80.24,28.69A15.86,15.86,0,0,1,91.55,24h72.9a15.86,15.86,0,0,1,11.31,4.69l51.55,51.55A15.86,15.86,0,0,1,232,91.55Zm-16,0L164.45,40H91.55L40,91.55v72.9L91.55,216h72.9L216,164.45ZM128,160a12,12,0,1,0,12,12A12,12,0,0,0,128,160Z`}))],[`thin`,H.createElement(H.Fragment,null,H.createElement(`path`,{d:`M124,136V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0ZM228,91.55v72.9a12,12,0,0,1-3.51,8.49l-51.55,51.55a12,12,0,0,1-8.49,3.51H91.55a12,12,0,0,1-8.49-3.51L31.51,172.94A12,12,0,0,1,28,164.45V91.55a12,12,0,0,1,3.51-8.49L83.06,31.51A12,12,0,0,1,91.55,28h72.9a12,12,0,0,1,8.49,3.51l51.55,51.55A12,12,0,0,1,228,91.55Zm-8,0a4,4,0,0,0-1.17-2.83L167.28,37.17A4.06,4.06,0,0,0,164.45,36H91.55a4.06,4.06,0,0,0-2.83,1.17L37.17,88.72A4,4,0,0,0,36,91.55v72.9a4,4,0,0,0,1.17,2.83l51.55,51.55A4.06,4.06,0,0,0,91.55,220h72.9a4.06,4.06,0,0,0,2.83-1.17l51.55-51.55a4,4,0,0,0,1.17-2.83ZM128,164a8,8,0,1,0,8,8A8,8,0,0,0,128,164Z`}))]]),Fn=Object.defineProperty,In=Object.defineProperties,Ln=Object.getOwnPropertyDescriptors,Rn=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,Bn=Object.prototype.propertyIsEnumerable,Vn=(e,t,n)=>t in e?Fn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hn=(e,t)=>{for(var n in t||={})zn.call(t,n)&&Vn(e,n,t[n]);if(Rn)for(var n of Rn(t))Bn.call(t,n)&&Vn(e,n,t[n]);return e},Un=(e,t)=>In(e,Ln(t)),Wn=(0,H.forwardRef)((e,t)=>H.createElement(B,Un(Hn({ref:t},e),{weights:_n})));Wn.displayName=`ArrowsInSimple`;var Gn=Object.defineProperty,Kn=Object.defineProperties,qn=Object.getOwnPropertyDescriptors,Jn=Object.getOwnPropertySymbols,Yn=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,Zn=(e,t,n)=>t in e?Gn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qn=(e,t)=>{for(var n in t||={})Yn.call(t,n)&&Zn(e,n,t[n]);if(Jn)for(var n of Jn(t))Xn.call(t,n)&&Zn(e,n,t[n]);return e},$n=(e,t)=>Kn(e,qn(t)),er=(0,H.forwardRef)((e,t)=>H.createElement(B,$n(Qn({ref:t},e),{weights:vn})));er.displayName=`ChatCentered`;var tr=Object.defineProperty,nr=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,sr=(e,t,n)=>t in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cr=(e,t)=>{for(var n in t||={})ar.call(t,n)&&sr(e,n,t[n]);if(ir)for(var n of ir(t))or.call(t,n)&&sr(e,n,t[n]);return e},lr=(e,t)=>nr(e,rr(t)),ur=(0,H.forwardRef)((e,t)=>H.createElement(B,lr(cr({ref:t},e),{weights:yn})));ur.displayName=`ChatCenteredText`;var dr=Object.defineProperty,fr=Object.defineProperties,pr=Object.getOwnPropertyDescriptors,mr=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,_r=(e,t,n)=>t in e?dr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vr=(e,t)=>{for(var n in t||={})hr.call(t,n)&&_r(e,n,t[n]);if(mr)for(var n of mr(t))gr.call(t,n)&&_r(e,n,t[n]);return e},yr=(e,t)=>fr(e,pr(t)),br=(0,H.forwardRef)((e,t)=>H.createElement(B,yr(vr({ref:t},e),{weights:bn})));br.displayName=`Envelope`;var xr=Object.defineProperty,Sr=Object.defineProperties,Cr=Object.getOwnPropertyDescriptors,wr=Object.getOwnPropertySymbols,Tr=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,Dr=(e,t,n)=>t in e?xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Or=(e,t)=>{for(var n in t||={})Tr.call(t,n)&&Dr(e,n,t[n]);if(wr)for(var n of wr(t))Er.call(t,n)&&Dr(e,n,t[n]);return e},kr=(e,t)=>Sr(e,Cr(t)),Ar=(0,H.forwardRef)((e,t)=>H.createElement(B,kr(Or({ref:t},e),{weights:xn})));Ar.displayName=`Eye`;var jr=Object.defineProperty,Mr=Object.defineProperties,Nr=Object.getOwnPropertyDescriptors,Pr=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,Ir=Object.prototype.propertyIsEnumerable,Lr=(e,t,n)=>t in e?jr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rr=(e,t)=>{for(var n in t||={})Fr.call(t,n)&&Lr(e,n,t[n]);if(Pr)for(var n of Pr(t))Ir.call(t,n)&&Lr(e,n,t[n]);return e},zr=(e,t)=>Mr(e,Nr(t)),Br=(0,H.forwardRef)((e,t)=>H.createElement(B,zr(Rr({ref:t},e),{weights:Sn})));Br.displayName=`EyeSlash`;var Vr=Object.defineProperty,Hr=Object.defineProperties,Ur=Object.getOwnPropertyDescriptors,Wr=Object.getOwnPropertySymbols,Gr=Object.prototype.hasOwnProperty,Kr=Object.prototype.propertyIsEnumerable,qr=(e,t,n)=>t in e?Vr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jr=(e,t)=>{for(var n in t||={})Gr.call(t,n)&&qr(e,n,t[n]);if(Wr)for(var n of Wr(t))Kr.call(t,n)&&qr(e,n,t[n]);return e},Yr=(e,t)=>Hr(e,Ur(t)),Xr=(0,H.forwardRef)((e,t)=>H.createElement(B,Yr(Jr({ref:t},e),{weights:Cn})));Xr.displayName=`File`;var Zr=Object.defineProperty,Qr=Object.defineProperties,$r=Object.getOwnPropertyDescriptors,ei=Object.getOwnPropertySymbols,ti=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,ri=(e,t,n)=>t in e?Zr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ii=(e,t)=>{for(var n in t||={})ti.call(t,n)&&ri(e,n,t[n]);if(ei)for(var n of ei(t))ni.call(t,n)&&ri(e,n,t[n]);return e},ai=(e,t)=>Qr(e,$r(t)),oi=(0,H.forwardRef)((e,t)=>H.createElement(B,ai(ii({ref:t},e),{weights:wn})));oi.displayName=`FileCode`;var si=Object.defineProperty,ci=Object.defineProperties,li=Object.getOwnPropertyDescriptors,ui=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,fi=Object.prototype.propertyIsEnumerable,pi=(e,t,n)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mi=(e,t)=>{for(var n in t||={})di.call(t,n)&&pi(e,n,t[n]);if(ui)for(var n of ui(t))fi.call(t,n)&&pi(e,n,t[n]);return e},hi=(e,t)=>ci(e,li(t)),gi=(0,H.forwardRef)((e,t)=>H.createElement(B,hi(mi({ref:t},e),{weights:Tn})));gi.displayName=`FileCsv`;var _i=Object.defineProperty,vi=Object.defineProperties,yi=Object.getOwnPropertyDescriptors,bi=Object.getOwnPropertySymbols,xi=Object.prototype.hasOwnProperty,Si=Object.prototype.propertyIsEnumerable,Ci=(e,t,n)=>t in e?_i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wi=(e,t)=>{for(var n in t||={})xi.call(t,n)&&Ci(e,n,t[n]);if(bi)for(var n of bi(t))Si.call(t,n)&&Ci(e,n,t[n]);return e},Ti=(e,t)=>vi(e,yi(t)),Ei=(0,H.forwardRef)((e,t)=>H.createElement(B,Ti(wi({ref:t},e),{weights:En})));Ei.displayName=`FileDoc`;var Di=Object.defineProperty,Oi=Object.defineProperties,ki=Object.getOwnPropertyDescriptors,Ai=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,Mi=Object.prototype.propertyIsEnumerable,Ni=(e,t,n)=>t in e?Di(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pi=(e,t)=>{for(var n in t||={})ji.call(t,n)&&Ni(e,n,t[n]);if(Ai)for(var n of Ai(t))Mi.call(t,n)&&Ni(e,n,t[n]);return e},Fi=(e,t)=>Oi(e,ki(t)),Ii=(0,H.forwardRef)((e,t)=>H.createElement(B,Fi(Pi({ref:t},e),{weights:Dn})));Ii.displayName=`FilePpt`;var Li=Object.defineProperty,Ri=Object.defineProperties,zi=Object.getOwnPropertyDescriptors,Bi=Object.getOwnPropertySymbols,Vi=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable,Ui=(e,t,n)=>t in e?Li(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wi=(e,t)=>{for(var n in t||={})Vi.call(t,n)&&Ui(e,n,t[n]);if(Bi)for(var n of Bi(t))Hi.call(t,n)&&Ui(e,n,t[n]);return e},Gi=(e,t)=>Ri(e,zi(t)),Ki=(0,H.forwardRef)((e,t)=>H.createElement(B,Gi(Wi({ref:t},e),{weights:On})));Ki.displayName=`FileText`;var qi=Object.defineProperty,Ji=Object.defineProperties,Yi=Object.getOwnPropertyDescriptors,Xi=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,$i=(e,t,n)=>t in e?qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ea=(e,t)=>{for(var n in t||={})Zi.call(t,n)&&$i(e,n,t[n]);if(Xi)for(var n of Xi(t))Qi.call(t,n)&&$i(e,n,t[n]);return e},ta=(e,t)=>Ji(e,Yi(t)),na=(0,H.forwardRef)((e,t)=>H.createElement(B,ta(ea({ref:t},e),{weights:kn})));na.displayName=`FileXls`;var ra=Object.defineProperty,ia=Object.defineProperties,aa=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,sa=Object.prototype.hasOwnProperty,ca=Object.prototype.propertyIsEnumerable,la=(e,t,n)=>t in e?ra(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ua=(e,t)=>{for(var n in t||={})sa.call(t,n)&&la(e,n,t[n]);if(oa)for(var n of oa(t))ca.call(t,n)&&la(e,n,t[n]);return e},da=(e,t)=>ia(e,aa(t)),fa=(0,H.forwardRef)((e,t)=>H.createElement(B,da(ua({ref:t},e),{weights:An})));fa.displayName=`Folder`;var pa=Object.defineProperty,ma=Object.defineProperties,ha=Object.getOwnPropertyDescriptors,ga=Object.getOwnPropertySymbols,_a=Object.prototype.hasOwnProperty,va=Object.prototype.propertyIsEnumerable,ya=(e,t,n)=>t in e?pa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ba=(e,t)=>{for(var n in t||={})_a.call(t,n)&&ya(e,n,t[n]);if(ga)for(var n of ga(t))va.call(t,n)&&ya(e,n,t[n]);return e},xa=(e,t)=>ma(e,ha(t)),Sa=(0,H.forwardRef)((e,t)=>H.createElement(B,xa(ba({ref:t},e),{weights:jn})));Sa.displayName=`Image`;var Ca=Object.defineProperty,wa=Object.defineProperties,Ta=Object.getOwnPropertyDescriptors,Ea=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,Oa=Object.prototype.propertyIsEnumerable,ka=(e,t,n)=>t in e?Ca(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Aa=(e,t)=>{for(var n in t||={})Da.call(t,n)&&ka(e,n,t[n]);if(Ea)for(var n of Ea(t))Oa.call(t,n)&&ka(e,n,t[n]);return e},ja=(e,t)=>wa(e,Ta(t)),Ma=(0,H.forwardRef)((e,t)=>H.createElement(B,ja(Aa({ref:t},e),{weights:Mn})));Ma.displayName=`Lightbulb`;var Na=Object.defineProperty,Pa=Object.defineProperties,Fa=Object.getOwnPropertyDescriptors,Ia=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,Ra=Object.prototype.propertyIsEnumerable,za=(e,t,n)=>t in e?Na(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ba=(e,t)=>{for(var n in t||={})La.call(t,n)&&za(e,n,t[n]);if(Ia)for(var n of Ia(t))Ra.call(t,n)&&za(e,n,t[n]);return e},Va=(e,t)=>Pa(e,Fa(t)),Ha=(0,H.forwardRef)((e,t)=>H.createElement(B,Va(Ba({ref:t},e),{weights:Nn})));Ha.displayName=`Sparkle`;var Ua=Object.defineProperty,Wa=Object.defineProperties,Ga=Object.getOwnPropertyDescriptors,Ka=Object.getOwnPropertySymbols,qa=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,Ya=(e,t,n)=>t in e?Ua(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xa=(e,t)=>{for(var n in t||={})qa.call(t,n)&&Ya(e,n,t[n]);if(Ka)for(var n of Ka(t))Ja.call(t,n)&&Ya(e,n,t[n]);return e},Za=(e,t)=>Wa(e,Ga(t)),Qa=(0,H.forwardRef)((e,t)=>H.createElement(B,Za(Xa({ref:t},e),{weights:Pn})));Qa.displayName=`WarningOctagon`;var U=_(),W=b(),$a=class extends i(`BrowserPreviewUnavailableError`){};async function eo(e){return me(await e.openPreview({environmentId:e.threadRef.environmentId,input:{threadId:e.threadRef.threadId,url:e.url}}),t=>{Mt(e.threadRef,t),Et(e.threadRef,e.url),Rt.getState().openBrowser(e.threadRef,t.tabId)})}async function to(e){if(!Dt())return ye(m(new $a({message:`The integrated browser is unavailable in this runtime.`})));let t=await e.createAssetUrl({environmentId:e.threadRef.environmentId,input:{resource:{_tag:`workspace-file`,threadId:e.threadRef.threadId,path:e.filePath}}});if(t._tag===`Failure`)return ye(t.cause);let n=en(e.httpBaseUrl,t.value.relativeUrl);return n===null?ye(r(Error(`The environment returned an invalid asset URL.`))):eo({threadRef:e.threadRef,url:n,openPreview:e.openPreview})}var no=new Map(p.map(e=>[e.id,e.label]));function ro(e,t){return e===`file-manager`?se(t):no.get(e)??`Editor`}function io(e){return e===null||e===`file-manager`?`Open in editor`:`Open in ${no.get(e)??`Editor`}`}var ao={mode:`local-exec`},oo={mode:`remote-unavailable`},so={state:ao,isResolved:!1};function co(e){try{return new URL(e).hostname}catch{return null}}function lo(e){let{target:t}=e;if(t===null)return ao;if(t._tag===`PrimaryConnectionTarget`){if(e.isDesktopRenderer)return ao;let n=co(t.httpBaseUrl);if(n!==null&&pe(n))return ao}else if(ee(t))return ao;if(e.sshAlias!==null&&e.sshAlias.length>0)return{mode:`remote-links`,host:{kind:`ssh-alias`,host:e.sshAlias}};let n=e.remoteOpenTargets?.[0];return n===void 0?oo:{mode:`remote-links`,host:n}}function uo(e){let t=(0,U.c)(6),{presentation:n}=Ke(e),r;bb0:{if(n===null){r=so;break bb0}let e;if(t[0]!==n.entry.profile||t[1]!==n.entry.target||t[2]!==n.serverConfig?.remoteOpenTargets){let r=l(n.entry.profile),i=r!==null&&r._tag===`SshConnectionProfile`?r.target.alias:null;e=lo({target:n.entry.target,sshAlias:i,remoteOpenTargets:n.serverConfig?.remoteOpenTargets,isDesktopRenderer:window.desktopBridge!==void 0}),t[0]=n.entry.profile,t[1]=n.entry.target,t[2]=n.serverConfig?.remoteOpenTargets,t[3]=e}else e=t[3];let i;t[4]===e?i=t[5]:(i={state:e,isResolved:!0},t[4]=e,t[5]=i),r=i}return r}function fo(e){return uo(e).state}var po=[`vscode`],mo=null;function ho(){let e=(0,U.c)(2),[t,n]=(0,H.useState)(vo),r,i;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=()=>{if(mo!==null)return;let e=window.desktopBridge?.probeRemoteEditors;if(e===void 0){mo=po;return}let t=!1;return e().then(e=>{let r=e.filter(_o);mo=r.length>0?r:po,t||n(mo)},go),()=>{t=!0}},i=[],e[0]=r,e[1]=i):(r=e[0],i=e[1]),(0,H.useEffect)(r,i),t}function go(){mo=po}function _o(e){return h.includes(e)}function vo(){return mo??po}async function yo(e){let t=window.desktopBridge;if(t!==void 0)try{return await t.openExternal(e)}catch{return!1}return window.location.assign(e),!0}var bo=`borgcode:remote-open-hint-seen`;function xo(){let e=(0,U.c)(5),[t,n]=d(bo,!1,o),r;e[0]===n?r=e[1]:(r=()=>n(!0),e[0]=n,e[1]=r);let i;return e[2]!==t||e[3]!==r?(i=[t,r],e[2]=t,e[3]=r,e[4]=i):i=e[4],i}var So=`<svg data-icon-sprite aria-hidden="true" width="0" height="0">
|
|
2
|
+
<symbol id="file-tree-icon-chevron" viewBox="0 0 16 16">
|
|
3
|
+
<path d="M12.4697 5.46973C12.7626 5.17684 13.2374 5.17684 13.5303 5.46973C13.8232 5.76262 13.8232 6.23738 13.5303 6.53028L8.53028 11.5303C8.23738 11.8232 7.76262 11.8232 7.46973 11.5303L2.46973 6.53028C2.17684 6.23738 2.17684 5.76262 2.46973 5.46973C2.76262 5.17684 3.23738 5.17684 3.53028 5.46973L8 9.93946L12.4697 5.46973Z" fill="currentcolor"/>
|
|
4
|
+
</symbol>
|
|
5
|
+
<symbol id="file-tree-icon-dot" viewBox="0 0 6 6">
|
|
6
|
+
<circle cx="3" cy="3" r="3" />
|
|
7
|
+
</symbol>
|
|
8
|
+
<symbol id="file-tree-icon-file" viewBox="0 0 16 16">
|
|
9
|
+
<path fill="currentColor" d="M8 1v3a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1z" class="bg" opacity=".5"/>
|
|
10
|
+
<path fill="currentColor" d="M9.5 1a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z" class="fg"/>
|
|
11
|
+
</symbol>
|
|
12
|
+
<symbol id="file-tree-icon-lock" viewBox="0 0 16 16">
|
|
13
|
+
<path fill="currentcolor" d="M4 5.336V4a4 4 0 1 1 8 0v1.336c1.586.54 2 1.843 2 4.664v1c0 4.118-.883 5-5 5H7c-4.117 0-5-.883-5-5v-1c0-2.821.414-4.124 2-4.664M5.5 4v1.054Q6.166 4.998 7 5h2q.834-.002 1.5.054V4a2.5 2.5 0 0 0-5 0m-2 6v1c0 .995.055 1.692.167 2.193.107.483.246.686.35.79s.307.243.79.35c.5.112 1.198.167 2.193.167h2c.995 0 1.692-.055 2.193-.166.483-.108.686-.247.79-.35.104-.105.243-.308.35-.791.112-.5.167-1.198.167-2.193v-1c0-.995-.055-1.692-.166-2.193-.108-.483-.247-.686-.35-.79-.105-.104-.308-.243-.791-.35C10.693 6.555 9.995 6.5 9 6.5H7c-.995 0-1.692.055-2.193.167-.483.107-.686.246-.79.35s-.243.307-.35.79C3.555 8.307 3.5 9.005 3.5 10" />
|
|
14
|
+
</symbol>
|
|
15
|
+
<symbol id="file-tree-icon-ellipsis" viewBox="0 0 16 16">
|
|
16
|
+
<path d="M5 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M9.5 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M14 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0" />
|
|
17
|
+
</symbol>
|
|
18
|
+
</svg>`,Co=`<symbol id="file-tree-builtin-astro" viewBox="0 0 16 16">
|
|
19
|
+
<path fill="currentColor" d="M6.08 13.92c-.63-.57-.81-1.79-.55-2.67.45.56 1.08.73 1.73.83 1 .15 1.99.1 2.92-.37l.32-.19q.13.38.08.78a2.1 2.1 0 0 1-.9 1.5q-.3.24-.61.43c-.64.44-.81.95-.57 1.69l.02.08a1.7 1.7 0 0 1-.74-.64 2 2 0 0 1-.3-.98q0-.27-.02-.52-.07-.61-.61-.62a.7.7 0 0 0-.75.6z" class="bg" opacity=".6"/>
|
|
20
|
+
<path fill="currentColor" d="M2.5 11.1s1.86-.9 3.72-.9l1.4-4.39c.05-.21.2-.36.38-.36s.33.15.38.36l1.4 4.38c2.2 0 3.72.92 3.72.92l-3.16-8.69q-.13-.4-.45-.42H6.11q-.3.02-.45.42z" class="fg"/>
|
|
21
|
+
</symbol>`,wo=`<symbol id="file-tree-builtin-babel" viewBox="0 0 16 16">
|
|
22
|
+
<path fill="currentColor" fill-rule="evenodd" d="M9.49.5q1.92.05 2.66.54 1.27.6 1.35 1.52v.23a4 4 0 0 1-.53 1.9l-1.38 1.24q-.74.38-.72.63c.77.82 1.33 1.29.85 2.42q-.47 1.1-2.04 2.28c-.5.32-1.88 1.35-2.96 1.86-1.64.77-3.1 1.4-4.65 1.89-.51.16-1.5.16-1.5.16L.5 15A76 76 0 0 0 5.76 3.49q-.1-.08-.1-.2.1 0 .32-.35l-.03-.09q-1.17.39-2.38 1.3l-.13.03q0-.1-.21-.16-.46.31-.82.7l-.13-.19.16-.06-.03-.16-.34.29L2 4.5q.36-.48.72-.54l.04-.1V3.8q.16 0 .15-.06l.13-.06a6 6 0 0 0 1.13-.9v-.03H4.1l-.12.07q0-.1-.1-.1l-.15.07-.04-.1q.93-.52 1.63-1.05Q7.89.65 9.5.5M8.46 7.83l-.32.04c-1.31.54-2.31.82-2.91.88a71 71 0 0 0-2.2 4.54h.07q.58-.04 3.04-1.42.13 0 1.66-1.05L9.18 9.7v.03q.45-.2.81-1.3v-.2q-.5-.46-1.53-.4m.28-5.75c-.5.1-.75.19-.72.38l-1.16 2.6q-.17.1-.34.95-.3.48-.25.77v.1l.22.05A15 15 0 0 1 8.86 6c1.1-.71 2.12-1.38 2.8-2.54q.24-.33.21-.54-.02-.33-.4-.54c-.54 0-1.07-.34-1.63-.28l-.94-.03z" clip-rule="evenodd"/>
|
|
23
|
+
</symbol>`,To=`<symbol id="file-tree-builtin-bash" viewBox="0 0 16 16">
|
|
24
|
+
<path fill="currentColor" d="M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7" class="bg" opacity=".2"/>
|
|
25
|
+
<path fill="currentColor" d="M11.5 11a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1zM7 6.75C7 6.42 6.64 6 6 6s-1 .42-1 .75q-.01.25.22.41.26.21.89.35.74.14 1.28.53c.37.29.61.7.61 1.21 0 .87-.68 1.5-1.5 1.7v.55a.5.5 0 0 1-1 0v-.56c-.82-.18-1.5-.82-1.5-1.69a.5.5 0 0 1 1 0c0 .33.36.75 1 .75s1-.42 1-.75q.01-.25-.22-.41a2 2 0 0 0-.89-.35q-.74-.14-1.28-.53A1.5 1.5 0 0 1 4 6.75c0-.87.68-1.5 1.5-1.7V4.5a.5.5 0 0 1 1 0v.56c.82.18 1.5.82 1.5 1.69a.5.5 0 0 1-1 0" class="fg-stroke"/>
|
|
26
|
+
</symbol>`,Eo=`<symbol id="file-tree-builtin-biome" viewBox="0 0 16 16">
|
|
27
|
+
<path fill="currentColor" d="M8 2 4.88 7.35a7 7 0 0 1 3.7-.13l1.04.25-.99 4.16-1.05-.25a2.7 2.7 0 0 0-3.07 1.45l-.98-.47a4 4 0 0 1 1.07-1.31 3.8 3.8 0 0 1 3.23-.71l.5-2.08a6 6 0 0 0-5.07 1.12A5.9 5.9 0 0 0 1 14h14z"/>
|
|
28
|
+
</symbol>`,Do=`<symbol id="file-tree-builtin-bootstrap" viewBox="0 0 16 16">
|
|
29
|
+
<path fill="currentColor" fill-rule="evenodd" d="M11.72 1.5A2.5 2.5 0 0 1 14.2 4q.02 1.08.3 2.09c.22.73.56 1.24 1.08 1.45.22.08.4.27.4.5s-.18.43-.4.51q-.76.34-1.08 1.45c-.2.65-.27 1.32-.3 2a2.5 2.5 0 0 1-2.48 2.5H4.25A2.6 2.6 0 0 1 1.7 12c-.04-.85-.1-1.68-.22-2.04C1.26 9.23.92 8.7.4 8.5.18 8.42 0 8.23 0 8s.18-.42.4-.5q.77-.35 1.09-1.46c.1-.36.17-1.19.2-2.04a2.6 2.6 0 0 1 2.56-2.5z" class="bg" clip-rule="evenodd" opacity=".2"/>
|
|
30
|
+
<path fill="currentColor" fill-rule="evenodd" d="M8.47 4.54c1.23 0 2.04.68 2.04 1.73 0 .73-.55 1.39-1.24 1.5v.04c.94.1 1.58.77 1.58 1.7 0 1.2-.9 1.95-2.37 1.95H5.97a.3.3 0 0 1-.2-.08.3.3 0 0 1-.08-.2V4.82a.3.3 0 0 1 .08-.2.3.3 0 0 1 .2-.08zm-1.7 6.04h1.49q1.47-.01 1.49-1.15Q9.74 8.31 8.2 8.3H6.77zm0-5.16v2.06h1.21c.93 0 1.45-.38 1.45-1.06 0-.65-.44-1-1.22-1z" class="fg" clip-rule="evenodd"/>
|
|
31
|
+
</symbol>`,Oo=`<symbol id="file-tree-builtin-browserslist" viewBox="0 0 16 16">
|
|
32
|
+
<path fill="currentColor" d="M8.88 6.96c0 3.82 3.72 4.7 5.7 3.74-.23.9-1.04 1.67-2.35 1.93-.02.4.42 1.28.82 1.63-.9.35-1.94-.12-2.51-.48a5 5 0 0 0-.32 1.87c-.68 0-1.57-1-1.8-1.37-.3.18-.85 1.15-.96 1.72a2.4 2.4 0 0 1-.81-.86 2.4 2.4 0 0 1-.3-1.15c-.38.27-1.48.95-1.99 1.18-.25-.58-.15-1.3 0-2.06-.21.12-1.8.27-2.43.12.32-.36.75-1.19.94-1.57A4.5 4.5 0 0 1 .44 10.6c.48-.22.97-.53 1.49-1.06C1.26 9.17.24 8.64 0 7.7a6 6 0 0 0 1.79-.32C1.28 7.08.44 6.15.6 5.01c.42.21 1.3.37 1.73.3a3.4 3.4 0 0 1-.25-2.75 5 5 0 0 0 1.48 1c-.08-.8.3-2.31.8-2.71.2.46.73 1.21 1.08 1.4.09-.61.87-2.06 1.57-2.25 0 .5.27 1.4.5 1.67.51-.54 2.25-1.44 3.64-1.13-.43.45-.75.61-.86.98 1.05 0 2.78.34 4.27 1.93-2.34-.89-5.69.56-5.69 3.5" class="bg" opacity=".5"/>
|
|
33
|
+
<path fill="currentColor" d="M11.21 3.59a4.1 4.1 0 0 0 2.47 2.89c.24-.22.61-.38.95-.19.76.44.2 1.26-.34 1.66l-.07.06a13 13 0 0 1-4.49 1.61l-.3-.43a10.5 10.5 0 0 0 4.13-1.31 1 1 0 0 0 .23-.25.5.5 0 0 0-.21-.69l-.15-.06a4.5 4.5 0 0 1-1.77-1.31 4.5 4.5 0 0 1-.88-1.77q.2-.12.43-.21"/>
|
|
34
|
+
<path fill="currentColor" d="M10.36 5.18a.4.4 0 0 0-.03.38c.09.2.3.3.46.23s.24-.3.15-.5l-.01-.02q.23.13.34.39a.83.83 0 0 1-.43 1.08.8.8 0 0 1-1.08-.43.83.83 0 0 1 .6-1.13"/>
|
|
35
|
+
</symbol>`,ko=`<symbol id="file-tree-builtin-bun" viewBox="0 0 16 16">
|
|
36
|
+
<path fill="currentColor" d="M8 14c3.87 0 7-2.46 7-5.49 0-1.88-1.2-3.53-3.04-4.52q-1.1-.61-1.84-1.07C9.2 2.35 8.64 2 8 2s-1.36.45-2.31 1.03A29 29 0 0 1 4.04 4C2.2 4.98 1 6.63 1 8.51 1 11.54 4.13 14 8 14M7.18 3.88q.3-.66.3-1.37c0-.08.11-.1.13-.01.38 1.57-.53 2.35-1.2 2.61-.08.03-.12-.07-.06-.12a3 3 0 0 0 .83-1.12m1.2-.05a3 3 0 0 0-.45-1.3V2.5c-.04-.07.05-.15.1-.1 1.15 1.2.77 2.3.33 2.87-.05.05-.13 0-.11-.08q.21-.67.13-1.37m1.04-.32a3 3 0 0 0-.94-1.02v-.01c-.06-.05-.01-.16.07-.12 1.51.61 1.61 1.8 1.43 2.5l-.03.03a.07.07 0 0 1-.1-.06 3 3 0 0 0-.43-1.32m-2.97.32c-.36.3-.74.43-1.2.56q-.11 0-.1-.1a3.5 3.5 0 0 0 1.76-1.57s.09-.07.1.04c0 .18-.2.76-.56 1.07m2.89 6.36q-.13.52-.55.88a1.3 1.3 0 0 1-.75.35 1.3 1.3 0 0 1-.77-.35 1.7 1.7 0 0 1-.54-.88.13.13 0 0 1 .15-.15h2.31a.14.14 0 0 1 .15.15M6.15 8.95a1.1 1.1 0 0 1-1.39-.14A1.1 1.1 0 0 1 5.12 7a1.1 1.1 0 0 1 1.2.25 1.1 1.1 0 0 1-.17 1.69m4.96 0a1.1 1.1 0 0 1-1.4-.14 1.1 1.1 0 0 1 .37-1.8 1.1 1.1 0 0 1 1.2.25 1.1 1.1 0 0 1 .24 1.2 1 1 0 0 1-.41.5"/>
|
|
37
|
+
</symbol>`,Ao=`<symbol id="file-tree-builtin-c" viewBox="0 0 16 16">
|
|
38
|
+
<path fill="currentColor" fill-rule="evenodd" d="M8 1q.084 0 .166.021.098.023.186.075c1.055.624 4.22 2.486 5.277 3.11.085.05.15.112.209.192h-.002l.028.037a.5.5 0 0 1 .103.21q.031.102.033.21v6.29a.71.71 0 0 1-.347.616l-5.307 3.144a.68.68 0 0 1-.693 0l-5.307-3.144A.72.72 0 0 1 2 11.145V4.832a.71.71 0 0 1 .346-.612l5.288-3.126A.7.7 0 0 1 7.992 1zm2.901 4.349a3.75 3.75 0 1 0 0 5.302l-1.06-1.06a2.25 2.25 0 1 1 0-3.182z" clip-rule="evenodd"/>
|
|
39
|
+
</symbol>`,jo=`<symbol id="file-tree-builtin-claude" viewBox="0 0 16 16">
|
|
40
|
+
<path fill="currentColor" d="M3.75 10.31 6.5 8.77l.04-.14-.04-.07h-.14l-.46-.03-1.57-.04-1.38-.07-1.33-.07-.34-.07L1 7.86l.03-.21.28-.18.4.03.89.07 1.33.08.97.06 1.43.16h.22l.03-.1-.07-.05-.06-.06-1.39-.92-1.48-.98-.79-.57-.42-.28-.2-.28-.1-.6.39-.41.52.04.12.03.52.4 1.12.86L6.2 6.04l.2.17.09-.06.01-.04-.1-.15-.76-1.46-.85-1.46-.37-.6-.1-.36a1 1 0 0 1-.06-.42l.42-.59.25-.07.6.08.22.2.36.84.58 1.3.9 1.77.29.53.14.47.04.14h.1v-.07l.07-1 .14-1.22.14-1.57.04-.45.23-.53.42-.28.36.15.28.41-.04.25-.16 1.08-.36 1.7-.21 1.14h.12l.14-.15.58-.76.97-1.2.42-.5.5-.51.32-.25h.6l.44.66-.2.68-.61.79-.52.65-.74 1-.45.8.04.05h.1l1.68-.36.9-.16 1.06-.18.5.23.05.22-.2.48-1.15.28-1.34.28-2 .46-.04.01.03.04.9.09.4.03h.94l1.77.14.46.28.27.37-.04.28-.72.37-.95-.23-2.24-.53-.76-.18h-.11v.06l.64.63L12 10.86l1.48 1.35.07.34-.18.28-.2-.03-1.29-.98-.5-.42-1.12-.95h-.07v.1l.25.38 1.37 2.05.07.63-.1.2-.36.14-.38-.08-.8-1.12-.85-1.26-.66-1.15-.07.05-.4 4.23-.19.21-.42.17-.35-.28-.2-.42.2-.87.23-1.12.18-.9.17-1.1.1-.36v-.03h-.1l-.84 1.16-1.27 1.72-1 1.07-.24.1-.42-.22.04-.39.22-.32 1.4-1.8.84-1.1.57-.64-.02-.07h-.04l-3.7 2.4-.66.09-.28-.28.03-.42.14-.14 1.12-.77z"/>
|
|
41
|
+
</symbol>`,Mo=`<symbol id="file-tree-builtin-cpp" viewBox="0 0 16 16">
|
|
42
|
+
<path fill="currentColor" fill-rule="evenodd" d="M8 1q.084 0 .166.021.098.023.186.075c1.055.624 4.22 2.486 5.277 3.11.085.05.15.112.209.192h-.002l.028.037a.5.5 0 0 1 .103.21q.031.102.033.21v6.29a.71.71 0 0 1-.347.616l-5.307 3.144a.68.68 0 0 1-.693 0l-5.307-3.144A.72.72 0 0 1 2 11.145V4.832a.71.71 0 0 1 .346-.612l5.288-3.126A.7.7 0 0 1 7.992 1zm2.901 4.349a3.75 3.75 0 1 0 0 5.302l-1.06-1.06a2.25 2.25 0 1 1 0-3.182z" clip-rule="evenodd"/>
|
|
43
|
+
</symbol>`,No=`<symbol id="file-tree-builtin-css" viewBox="0 0 16 16">
|
|
44
|
+
<path fill="currentColor" d="M8 15c-5.76 0-7-1.24-7-7V2a1 1 0 0 1 1-1h6c5.77 0 7 1.24 7 7s-1.24 7-7 7" class="vector" opacity=".2"/>
|
|
45
|
+
<path fill="currentColor" d="M10.1 9.19h.73c.03.49.22.6 1 .6.76 0 .93-.12.93-.68 0-.52-.17-.67-.94-.85-1.38-.3-1.68-.56-1.68-1.47 0-1.05.3-1.29 1.67-1.29 1.29 0 1.57.2 1.6 1.13h-.74c-.01-.34-.17-.42-.85-.42-.77 0-.94.1-.94.58 0 .42.17.55.96.73 1.36.3 1.66.58 1.66 1.59 0 1.14-.31 1.39-1.73 1.39-1.39 0-1.69-.24-1.67-1.31m-3.9 0h.74c.03.49.21.6.99.6.76 0 .93-.12.93-.68 0-.52-.17-.67-.93-.85-1.39-.3-1.69-.56-1.69-1.47 0-1.05.3-1.29 1.67-1.29 1.3 0 1.58.2 1.6 1.13h-.73c-.02-.34-.18-.42-.85-.42-.78 0-.95.1-.95.58 0 .42.17.55.96.73 1.37.3 1.67.58 1.67 1.59 0 1.14-.32 1.39-1.74 1.39-1.38 0-1.68-.24-1.66-1.31m-1.22 0h.75c-.09 1.07-.37 1.31-1.56 1.31-1.37 0-1.68-.45-1.68-2.5 0-1.96.36-2.5 1.68-2.5 1.16 0 1.44.25 1.52 1.35h-.76c-.08-.52-.22-.64-.76-.64-.74 0-.9.33-.9 1.78 0 1.47.16 1.8.9 1.8.58 0 .74-.11.8-.6"/>
|
|
46
|
+
</symbol>`,Po=`<symbol id="file-tree-builtin-database" viewBox="0 0 16 16">
|
|
47
|
+
<path fill="currentColor" d="M14.953 9.733a12.4 12.4 0 0 1-.244 1.936c-.207.933-.532 1.58-.996 2.044s-1.11.789-2.044.996C10.73 14.918 9.533 15 8 15s-2.73-.082-3.669-.291c-.933-.207-1.58-.532-2.044-.996s-.789-1.11-.996-2.044c-.122-.547-.2-1.182-.244-1.92q.23.364.532.667c.64.639 1.482 1.031 2.533 1.265 1.046.232 2.33.315 3.884.315 1.555 0 2.838-.083 3.884-.315 1.051-.234 1.893-.626 2.532-1.265a4 4 0 0 0 .541-.683"/>
|
|
48
|
+
<path fill="currentColor" d="M14.93 5.924c-.046.663-.118 1.24-.23 1.743-.207.932-.532 1.579-.995 2.042s-1.11.789-2.042.996c-.938.209-2.135.291-3.667.291-1.531 0-2.729-.082-3.667-.29-.932-.208-1.579-.534-2.042-.997s-.789-1.11-.996-2.042a12 12 0 0 1-.227-1.683l.016-.188a4 4 0 0 0 .5.62c.638.639 1.48 1.031 2.532 1.265 1.046.232 2.33.315 3.884.315 1.555 0 2.838-.083 3.884-.315 1.051-.234 1.893-.626 2.532-1.265.192-.192.357-.404.506-.633z"/>
|
|
49
|
+
<path fill="currentColor" d="M8 1c1.533 0 2.73.082 3.669.291.933.207 1.58.533 2.044.996.403.404.904.944.91 1.695.004.764-.509 1.318-.918 1.727-.463.463-1.11.789-2.042.996-.938.209-2.135.291-3.667.291-1.531 0-2.729-.082-3.667-.29-.932-.208-1.579-.534-2.042-.997-.406-.406-.915-.953-.915-1.71 0-.758.509-1.305.915-1.712.464-.463 1.11-.789 2.044-.996C5.27 1.082 6.467 1 8 1"/>
|
|
50
|
+
</symbol>`,Fo=`<symbol id="file-tree-builtin-default" viewBox="0 0 16 16">
|
|
51
|
+
<path fill="currentColor" d="M8 1v3a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1z" class="bg" opacity=".4"/>
|
|
52
|
+
<path fill="currentColor" d="M9.5 1a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z" class="fg"/>
|
|
53
|
+
</symbol>`,Io=`<symbol id="file-tree-builtin-docker" viewBox="0 0 16 16">
|
|
54
|
+
<path fill="currentColor" d="M15.85 6.54c-.05-.04-.45-.36-1.31-.36q-.34 0-.68.06a2.7 2.7 0 0 0-1.14-1.79l-.23-.14-.15.23a3 3 0 0 0-.4 1q-.24 1.01.26 1.84c-.4.24-1.03.3-1.17.3H.5a.5.5 0 0 0-.5.52q-.01 1.46.46 2.83.55 1.5 1.6 2.18c.79.5 2.08.79 3.54.79q.96 0 1.94-.18a8 8 0 0 0 2.55-.97 7 7 0 0 0 1.73-1.5 10 10 0 0 0 1.7-3.06h.15a2.4 2.4 0 0 0 1.8-.7 2 2 0 0 0 .47-.74l.06-.2z"/>
|
|
55
|
+
<path fill="currentColor" d="M1.48 7.36h1.4a.14.14 0 0 0 .14-.13V5.91q-.01-.12-.13-.14H1.48a.13.13 0 0 0-.13.14v1.32q.02.13.13.13m1.94 0h1.41a.14.14 0 0 0 .13-.13V5.91q-.01-.12-.13-.14h-1.4a.13.13 0 0 0-.13.14v1.32q0 .13.12.13m1.98 0h1.4q.13 0 .14-.13V5.91a.13.13 0 0 0-.14-.14H5.4q-.1.01-.12.14v1.32q0 .13.12.13m1.95 0h1.42q.1 0 .12-.13V5.91q0-.12-.12-.14H7.35q-.1.01-.12.14v1.32q.01.13.12.13M3.42 5.5h1.41c.07 0 .13-.08.13-.15V4.03a.13.13 0 0 0-.13-.14h-1.4q-.12 0-.13.14v1.31q0 .13.12.15m1.98 0h1.4c.08 0 .14-.08.14-.15V4.03q0-.13-.14-.14H5.4q-.1 0-.12.14v1.31q0 .13.12.15m1.95 0h1.42c.06 0 .12-.08.12-.15V4.03q-.01-.13-.12-.14H7.35q-.1 0-.12.14v1.31q.01.13.12.15m0-1.9h1.42q.1-.02.12-.14v-1.3Q8.88 2 8.77 2H7.35q-.1 0-.12.14v1.3q.01.13.12.14m1.97 3.78h1.4a.13.13 0 0 0 .14-.13V5.91q-.01-.12-.13-.14H9.32q-.1.01-.12.14v1.32q.01.13.12.13" opacity=".5"/>
|
|
56
|
+
</symbol>`,Lo=`<symbol id="file-tree-builtin-eslint" viewBox="0 0 16 16">
|
|
57
|
+
<path fill="currentColor" d="M11.16 6.1 8.12 4.35a.3.3 0 0 0-.24 0L4.84 6.1a.3.3 0 0 0-.12.2v3.5q0 .14.12.22l3.04 1.74q.12.08.24 0l3.04-1.74a.2.2 0 0 0 .13-.22V6.3a.3.3 0 0 0-.13-.2" opacity=".5"/>
|
|
58
|
+
<path fill="currentColor" d="m.1 7.69 3.63-6.3A.8.8 0 0 1 4.37 1h7.26c.26 0 .5.17.64.4l3.63 6.27a.8.8 0 0 1 0 .75l-3.63 6.24a.7.7 0 0 1-.64.34H4.37a.7.7 0 0 1-.64-.34L.1 8.41a.7.7 0 0 1 0-.72m3 3.02q.01.15.14.23l4.63 2.66q.13.06.26 0l4.63-2.66a.3.3 0 0 0 .14-.23V5.4a.3.3 0 0 0-.14-.23L8.13 2.52a.3.3 0 0 0-.26 0L3.24 5.17a.3.3 0 0 0-.14.23z"/>
|
|
59
|
+
</symbol>`,Ro=`<symbol id="file-tree-builtin-font" viewBox="0 0 16 16">
|
|
60
|
+
<path fill="currentColor" d="M12.3 13c-1.59 0-2.68-.99-2.68-2.5 0-1.43 1-2.34 2.88-2.35h2.16v-.83c0-1.08-.62-1.68-1.73-1.68-1.05 0-1.66.54-1.73 1.36H9.93c.09-1.43 1.06-2.48 3.05-2.48 1.75 0 3.02.95 3.02 2.68v5.66h-1.29v-1.02h-.04c-.41.66-1.16 1.16-2.37 1.16m.36-1.12c1.14 0 2-.72 2-1.74v-.96H12.6c-1.12 0-1.6.54-1.6 1.28 0 .97.8 1.42 1.66 1.42m-11.24.98H0L3.8 2h1.39l3.8 10.86H7.54l-1.08-3.2H2.5zm3.09-9.25h-.04l-1.6 4.95H6.1z"/>
|
|
61
|
+
</symbol>`,zo=`<symbol id="file-tree-builtin-git" viewBox="0 0 16 16">
|
|
62
|
+
<path fill="currentColor" d="M14.74 7.38 8.62 1.26a.9.9 0 0 0-1.27 0L6.08 2.53l1.61 1.61a1.07 1.07 0 0 1 1.36 1.37l1.55 1.55a1.07 1.07 0 0 1 1.1 1.77 1.07 1.07 0 0 1-1.74-1.16L8.5 6.22v3.8a1.07 1.07 0 1 1-.89-.02V6.15a1.07 1.07 0 0 1-.58-1.4l-1.58-1.6-4.2 4.2a.9.9 0 0 0 0 1.27l6.12 6.12a.9.9 0 0 0 1.27 0l6.09-6.09a.9.9 0 0 0 0-1.27"/>
|
|
63
|
+
</symbol>`,Bo=`<symbol id="file-tree-builtin-go" viewBox="0 0 16 16">
|
|
64
|
+
<path fill="currentColor" fill-rule="evenodd" d="M4.41 4.57A3.2 3.2 0 0 1 6.87 5q.74.49 1.08 1.29.08.12-.1.16l-1.55.4c-.14.03-.15.04-.27-.1a1 1 0 0 0-.44-.34 1.6 1.6 0 0 0-1.68.14q-.95.61-.94 1.73c0 .73.52 1.33 1.25 1.43q.95.1 1.58-.6l.25-.34h-1.8c-.19 0-.24-.12-.17-.27.12-.28.34-.76.47-1a.3.3 0 0 1 .24-.14h2.98a4 4 0 0 1 .64-1.19 4 4 0 0 1 2.6-1.52 3.5 3.5 0 0 1 2.64.46q1.13.73 1.31 2.04a3.5 3.5 0 0 1-1.06 3.09q-.93.92-2.23 1.17l-.74.08a3.5 3.5 0 0 1-2.27-.8 3 3 0 0 1-.93-1.42 4 4 0 0 1-.39.61 4 4 0 0 1-2.64 1.56 3.3 3.3 0 0 1-2.5-.6 3 3 0 0 1-1.18-2.03 3.5 3.5 0 0 1 .8-2.67 4 4 0 0 1 2.6-1.58M13.1 7.5a1.53 1.53 0 0 0-1.9-1.21q-1.3.3-1.62 1.59a1.5 1.5 0 0 0 .85 1.72q.77.33 1.52-.05a2 2 0 0 0 1.18-1.74q0-.17-.03-.3" clip-rule="evenodd"/>
|
|
65
|
+
</symbol>`,Vo=`<symbol id="file-tree-builtin-graphql" viewBox="0 0 16 16">
|
|
66
|
+
<path fill="currentColor" fill-rule="evenodd" d="M8 1a1.25 1.25 0 0 1 1.18 1.65l2.8 1.61q.33-.25.77-.26a1.25 1.25 0 0 1 .48 2.4v3.2a1.25 1.25 0 1 1-1.25 2.13l-2.8 1.62A1.25 1.25 0 0 1 8 15a1.25 1.25 0 0 1-1.18-1.65l-2.8-1.62q-.33.26-.77.27a1.25 1.25 0 0 1-.48-2.4V6.4a1.25 1.25 0 1 1 1.25-2.14l2.8-1.61A1.25 1.25 0 0 1 8 1M4.44 11.14l-.06.13 2.75 1.58a1.25 1.25 0 0 1 1.74 0l2.74-1.58-.05-.13zm3.89-7.68a1.3 1.3 0 0 1-.66 0L4.03 9.77q.37.3.45.78h7.04q.08-.48.45-.78zM4.38 4.73a1.24 1.24 0 0 1-1.02 1.76v3.02l.13.01 3.67-6.35-.03-.02zm4.46-1.56 3.67 6.35.13-.01V6.49a1.25 1.25 0 0 1-1.03-1.76L8.87 3.15z" clip-rule="evenodd"/>
|
|
67
|
+
</symbol>`,Ho=`<symbol id="file-tree-builtin-html" viewBox="0 0 16 16">
|
|
68
|
+
<path fill="currentColor" d="M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7" class="bg" opacity=".2"/>
|
|
69
|
+
<path fill="currentColor" d="M10.48 3.76a.5.5 0 0 1 .4.58L10.6 5.8h1.14a.5.5 0 0 1 0 1h-1.32L10 9.2h1.08a.5.5 0 0 1 0 1H9.8l-.3 1.64a.5.5 0 1 1-.98-.18l.27-1.46H6.4l-.3 1.64a.5.5 0 1 1-.98-.18l.27-1.46H4.25a.5.5 0 0 1 0-1h1.32L6 6.8H4.93a.5.5 0 0 1 0-1H6.2l.3-1.64a.5.5 0 1 1 .98.18L7.2 5.8h2.4l.3-1.64a.5.5 0 0 1 .58-.4M6.58 9.2h2.4l.44-2.4h-2.4z" class="fg"/>
|
|
70
|
+
</symbol>`,Uo=`<symbol id="file-tree-builtin-image" viewBox="0 0 16 16">
|
|
71
|
+
<path fill="currentColor" d="M12.5 2A2.5 2.5 0 0 1 15 4.5v4.67l-4.05-3.54-4.08 4.08-3-2L1 10.6V4.5A2.5 2.5 0 0 1 3.5 2z" opacity=".3"/>
|
|
72
|
+
<path fill="currentColor" d="M15 10.5v1a2.5 2.5 0 0 1-2.5 2.5h-9a2.5 2.5 0 0 1-2.46-2.04L4 9l3 2 4-4zm-7-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"/>
|
|
73
|
+
</symbol>`,Wo=`<symbol id="file-tree-builtin-javascript" viewBox="0 0 16 16">
|
|
74
|
+
<path fill="currentColor" d="M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7" class="bg" opacity=".2"/>
|
|
75
|
+
<path fill="currentColor" d="M8.1 9.64h.95c.04.62.28.76 1.28.76s1.2-.14 1.2-.85c0-.66-.2-.85-1.2-1.07-1.79-.38-2.18-.7-2.18-1.86C8.15 5.3 8.54 5 10.31 5c1.67 0 2.04.26 2.07 1.42h-.95c-.02-.43-.23-.53-1.1-.53-1 0-1.22.14-1.22.74 0 .52.22.7 1.24.92 1.76.38 2.15.73 2.15 2 0 1.44-.4 1.75-2.24 1.75-1.8 0-2.18-.3-2.15-1.66M3.5 9.5h.98c0 .76.15.92.85.92.77 0 .94-.18.94-1.02V5.1h1v4.34c0 1.54-.35 1.87-1.92 1.87-1.55 0-1.89-.32-1.86-1.8"/>
|
|
76
|
+
</symbol>`,Go=`<symbol id="file-tree-builtin-json" viewBox="0 0 16 16">
|
|
77
|
+
<path fill="currentColor" d="M13.25 11.5V9.75a.5.5 0 0 1 .36-.48l.55-.15a1.16 1.16 0 0 0 0-2.24l-.55-.15a.5.5 0 0 1-.36-.48V4.5a2.5 2.5 0 0 0-2.5-2.5h-.25a.5.5 0 0 0 0 1h.25a1.5 1.5 0 0 1 1.5 1.5v1.75a1.5 1.5 0 0 0 1.09 1.44l.54.15a.16.16 0 0 1 0 .32l-.54.15a1.5 1.5 0 0 0-1.09 1.44v1.75a1.5 1.5 0 0 1-1.5 1.5h-.25a.5.5 0 0 0 0 1h.25a2.5 2.5 0 0 0 2.5-2.5m-10.5 0V9.75a.5.5 0 0 0-.36-.48l-.55-.15a1.16 1.16 0 0 1 0-2.24l.55-.15a.5.5 0 0 0 .36-.48V4.5A2.5 2.5 0 0 1 5.25 2h.25a.5.5 0 0 1 0 1h-.25a1.5 1.5 0 0 0-1.5 1.5v1.75a1.5 1.5 0 0 1-1.09 1.44l-.54.15a.16.16 0 0 0 0 .32l.54.15a1.5 1.5 0 0 1 1.09 1.45v1.74a1.5 1.5 0 0 0 1.5 1.5h.25a.5.5 0 0 1 0 1h-.25a2.5 2.5 0 0 1-2.5-2.5"/>
|
|
78
|
+
</symbol>`,Ko=`<symbol id="file-tree-builtin-markdown" viewBox="0 0 16 16">
|
|
79
|
+
<path fill="currentColor" d="M1 12V4h2l2 2.5L7 4h2v8H7V7.5l-2 2-2-2V12zm9-3 3 3.5L16 9h-2V4h-2v5z"/>
|
|
80
|
+
</symbol>`,qo=`<symbol id="file-tree-builtin-mcp" viewBox="0 0 16 16">
|
|
81
|
+
<path fill="currentColor" d="M9.26-.04a3 3 0 0 1 2 .82 2.8 2.8 0 0 1 .8 2.35 2.9 2.9 0 0 1 2.41.8l.03.02a2.74 2.74 0 0 1 0 3.94l-5.8 5.69-.04.06-.02.07q0 .04.02.07.01.04.04.06l1.2 1.17a.55.55 0 0 1 0 .79.6.6 0 0 1-.81 0l-1.2-1.17a1.3 1.3 0 0 1 0-1.84L13.7 7.1a1.65 1.65 0 0 0 .37-1.82 2 2 0 0 0-.37-.54l-.03-.03a1.73 1.73 0 0 0-2.4 0L6.47 9.4l-.07.06a.58.58 0 0 1-.92-.18.6.6 0 0 1 .12-.6l4.85-4.76a1.65 1.65 0 0 0 0-2.36 1.73 1.73 0 0 0-2.4 0l-6.43 6.3a.6.6 0 0 1-.8 0 .55.55 0 0 1 0-.8L7.25.79a3 3 0 0 1 2-.82"/>
|
|
82
|
+
<path fill="currentColor" d="M9.26 2.19a.6.6 0 0 1 .52.34.6.6 0 0 1 0 .43l-.12.18L4.9 7.79a1.65 1.65 0 0 0 0 2.36 1.73 1.73 0 0 0 2.4 0l4.75-4.66a.58.58 0 0 1 .93.18.6.6 0 0 1-.12.61l-4.75 4.66a2.9 2.9 0 0 1-4.01 0 2.75 2.75 0 0 1-.62-3.04A3 3 0 0 1 4.1 7l4.74-4.65a.6.6 0 0 1 .4-.16"/>
|
|
83
|
+
</symbol>`,Jo=`<symbol id="file-tree-builtin-nextjs" viewBox="0 0 16 16">
|
|
84
|
+
<defs>
|
|
85
|
+
<linearGradient id="a" x1="4.522" x2="14" y1="3.943" y2="16" gradientUnits="userSpaceOnUse">
|
|
86
|
+
<stop stop-color="currentColor"/>
|
|
87
|
+
<stop offset="1" stop-color="currentColor" stop-opacity="0"/>
|
|
88
|
+
</linearGradient>
|
|
89
|
+
</defs>
|
|
90
|
+
<path fill="currentColor" d="M3 2h1.522v9.09H3z"/>
|
|
91
|
+
<path fill="url(#a)" d="M4.903 2 15 15.075q-.565.5-1.195.925L4.522 3.943z"/>
|
|
92
|
+
<path fill="currentColor" d="M12.172 2h-1.508v9.094h1.508z"/>
|
|
93
|
+
</symbol>`,Yo=`<symbol id="file-tree-builtin-npm" viewBox="0 0 16 16">
|
|
94
|
+
<path fill="currentColor" d="M2 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1z" class="vector" opacity=".2"/>
|
|
95
|
+
<path fill="currentColor" d="M10.5 13H13V3H3v10h5V5.5h2.5z"/>
|
|
96
|
+
</symbol>`,Xo=`<symbol id="file-tree-builtin-oxc" viewBox="0 0 16 16">
|
|
97
|
+
<path fill="currentColor" d="M9.5 1a.5.5 0 0 1 .5.5V3h3.5a.5.5 0 0 1 .38.83L10.5 7.69v1.44q.41.04.95-.16a4 4 0 0 0 .72-.35l.04-.03h.01a.5.5 0 0 1 .67.1l2 2.5a.5.5 0 0 1 0 .62c-.76.96-3.14 2.69-6.89 2.69s-6.13-1.73-6.89-2.69a.5.5 0 0 1 0-.62l2-2.5a.5.5 0 0 1 .67-.1l.05.03.16.09q.22.13.56.26.54.2.95.16V7.69L2.12 3.83A.5.5 0 0 1 2.5 3H6V1.5a.5.5 0 0 1 .5-.5zM7 3.5a.5.5 0 0 1-.5.5H3.6l2.78 3.17a.5.5 0 0 1 .12.33v2a.5.5 0 0 1-.28.45c-.7.35-1.5.15-2.02-.05a5 5 0 0 1-.58-.26l-1.46 1.84c.82.78 2.8 2.02 5.84 2.02s5.02-1.24 5.84-2.02l-1.46-1.83a5 5 0 0 1-.58.26c-.52.2-1.33.39-2.02.04a.5.5 0 0 1-.28-.45v-2a.5.5 0 0 1 .12-.33L12.4 4H9.5a.5.5 0 0 1-.5-.5V2H7z"/>
|
|
98
|
+
</symbol>`,Zo=`<symbol id="file-tree-builtin-postcss" viewBox="0 0 16 16">
|
|
99
|
+
<path fill="currentColor" d="M14.5 8a6.5 6.5 0 0 0-5.9-6.47l5.42 8.93A7 7 0 0 0 14.5 8M2.88 12A6.5 6.5 0 0 0 8 14.5c2.08 0 3.93-.98 5.12-2.5zm8.62-1h1.68L11.5 8.24zm-1-.55a4 4 0 0 1-.7.55h.7zM8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M5.5 11h.7a4 4 0 0 1-.7-.55zm-2.68 0H4.5V8.24zm3.76-6.2A4 4 0 0 1 8 4.5q.76 0 1.42.3L8 2.46zM1.5 8q0 1.31.48 2.46L7.4 1.53A6.5 6.5 0 0 0 1.5 8m14 0a7.5 7.5 0 0 1-.99 3.72l-.01.03-.02.03A7.5 7.5 0 0 1 8 15.5a7.5 7.5 0 0 1-6.5-3.75l-.01-.03A7.5 7.5 0 1 1 15.5 8"/>
|
|
100
|
+
</symbol>`,Qo=`<symbol id="file-tree-builtin-prettier" viewBox="0 0 16 16">
|
|
101
|
+
<path fill="currentColor" d="M6 12v1H4.93v-1zm1-2v1H2v-1zm6-4v1h-3V6zm-1-4v1H9V2z"/>
|
|
102
|
+
<path fill="currentColor" d="M11.5 10v1H8v-1zM5 6v1H2V6zm5-2v1H9V4z" opacity=".8"/>
|
|
103
|
+
<path fill="currentColor" d="M6 14v1H2v-1zm-.5-6v1H2V8zM13 4v1h-3V4zM4.93 2v1H2V2z" opacity=".6"/>
|
|
104
|
+
<path fill="currentColor" d="M4.93 12v1H2v-1zM13 8v1H9V8zM5.5 4v1H2V4zM9 2v1H4.93V2z" opacity=".4"/>
|
|
105
|
+
</symbol>`,$o=`<symbol id="file-tree-builtin-python" viewBox="0 0 16 16">
|
|
106
|
+
<path fill="currentColor" d="M8.33 8.4H10c1.16 0 1.9-.73 1.9-1.86V5.08q0-.24.25-.24h.74c.75 0 1.33.32 1.66.97q.4.73.41 1.46c.09.9.09 1.78-.24 2.67-.25.73-.75 1.3-1.58 1.46h-4.8c-.08 0-.25 0-.25.08v.4s.17.09.25.09h2.82q.34-.02.33.32v1.06c0 .56-.25.97-.75 1.13-.41.16-.83.33-1.24.4a7 7 0 0 1-2.98-.07 3 3 0 0 1-1.16-.49c-.33-.32-.58-.65-.5-1.14v-2.91c0-1.13.67-1.78 1.82-1.78q.89-.1 1.66-.08m2.32 4.86a.65.65 0 0 0-.66-.65c-.34 0-.67.33-.67.65s.33.57.67.65a.65.65 0 0 0 .66-.65" class="bg" opacity=".8"/>
|
|
107
|
+
<path fill="currentColor" d="M7.67 7.6H6c-1.16 0-1.9.73-1.9 1.86v1.46q0 .24-.25.24h-.74c-.75 0-1.33-.32-1.66-.97a3 3 0 0 1-.41-1.46 6 6 0 0 1 .24-2.67c.25-.73.75-1.3 1.58-1.46h4.8c.08 0 .25 0 .25-.08v-.4s-.17-.09-.25-.09H4.85c-.24 0-.33-.08-.33-.32V2.65c0-.56.25-.97.75-1.13.41-.16.83-.33 1.24-.4a7 7 0 0 1 2.98.07c.41.09.83.25 1.16.49.33.32.58.65.5 1.13v2.92c0 1.14-.67 1.78-1.82 1.78-.58.08-1.16.08-1.66.08M5.35 2.73c0 .33.25.65.66.65.33 0 .66-.32.66-.65 0-.32-.33-.56-.66-.64a.65.65 0 0 0-.66.64" class="fg"/>
|
|
108
|
+
</symbol>`,es=`<symbol id="file-tree-builtin-react" viewBox="0 0 16 16">
|
|
109
|
+
<path fill="currentColor" d="M8 6.65c.73 0 1.31.6 1.31 1.35S8.73 9.35 8 9.35 6.69 8.75 6.69 8 7.27 6.65 8 6.65"/>
|
|
110
|
+
<path fill="currentColor" fill-rule="evenodd" d="M8 2.55c1.3-.99 2.59-1.34 3.5-.8.92.55 1.27 1.87 1.08 3.53C14.06 5.94 15 6.9 15 8s-.94 2.06-2.42 2.72c.19 1.65-.16 2.98-1.08 3.52-.91.55-2.2.2-3.5-.8-1.3 1-2.58 1.35-3.5.8-.91-.54-1.27-1.87-1.08-3.52C1.94 10.06 1 9.1 1 8s.94-2.06 2.42-2.72c-.19-1.66.17-2.98 1.08-3.52s2.2-.2 3.5.8M4.26 11.2c-.08 1.34.28 2.03.68 2.26s1.15.22 2.25-.52l.11-.09a12 12 0 0 1-1.24-1.39 11 11 0 0 1-1.8-.41zm7.47-.15q-.83.27-1.79.41-.6.8-1.24 1.4l.11.08c1.1.74 1.86.76 2.25.52.4-.23.76-.92.68-2.26zm-3.04.54a14 14 0 0 1-1.38 0q.34.38.69.7.35-.32.7-.7M8 5.29q-.76 0-1.47.1A13 13 0 0 0 5.07 8a14 14 0 0 0 1.46 2.62 13 13 0 0 0 2.94 0A13 13 0 0 0 10.93 8a14 14 0 0 0-1.46-2.62A13 13 0 0 0 8 5.3M4.64 9.18q-.15.5-.25.96.44.16.94.27a15 15 0 0 1-.7-1.23m6.73 0a15 15 0 0 1-.7 1.23q.5-.11.95-.27a10 10 0 0 0-.25-.96M3.44 6.26C2.27 6.86 1.87 7.53 1.87 8s.4 1.14 1.57 1.74l.13.07q.18-.88.55-1.81a12 12 0 0 1-.55-1.8q-.07.02-.13.06m8.99-.07A12 12 0 0 1 11.88 8q.36.94.55 1.8l.13-.06c1.17-.6 1.56-1.27 1.56-1.74s-.39-1.14-1.56-1.74zm-7.1-.6q-.5.11-.94.27.1.46.25.96a15 15 0 0 1 .69-1.23m5.34 0a15 15 0 0 1 .7 1.23q.14-.5.24-.96-.44-.15-.94-.27M7.18 3.06c-1.09-.74-1.85-.76-2.24-.52s-.76.92-.69 2.26l.01.15a11 11 0 0 1 1.8-.41q.6-.8 1.24-1.4zm3.88-.52c-.4-.24-1.15-.22-2.25.52l-.12.08q.65.6 1.25 1.4.96.15 1.8.41v-.14c.08-1.35-.28-2.04-.68-2.27M8 3.7a10 10 0 0 0-.7.7 14 14 0 0 1 1.4 0 10 10 0 0 0-.7-.7" clip-rule="evenodd"/>
|
|
111
|
+
</symbol>`,ts=`<symbol id="file-tree-builtin-ruby" viewBox="0 0 16 16">
|
|
112
|
+
<path fill="currentColor" fill-rule="evenodd" d="M11.04 2c.48 0 .92.23 1.18.6l2.54 3.65c.37.52.3 1.23-.15 1.69l-5.58 5.64a1.47 1.47 0 0 1-2.06 0L1.39 7.94a1.3 1.3 0 0 1-.15-1.7l2.54-3.63q.2-.3.5-.45.33-.16.68-.16zm.84 2.17a.5.5 0 0 0-.7-.05L8 6.84 4.83 4.12a.5.5 0 0 0-.65.76L6.65 7H3.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H9.35l2.48-2.12a.5.5 0 0 0 .05-.7" clip-rule="evenodd"/>
|
|
113
|
+
</symbol>`,ns=`<symbol id="file-tree-builtin-rust" viewBox="0 0 16 16">
|
|
114
|
+
<path fill="currentColor" fill-rule="evenodd" d="M8 .8a.2.2 0 0 1 .18.1l.38.6.16.02.5-.53.01-.01a.2.2 0 0 1 .33.08l.25.68.16.05.59-.43h.02a.2.2 0 0 1 .3.14l.12.71.15.08.65-.3a.2.2 0 0 1 .2.02.2.2 0 0 1 .1.18l-.03.72.12.1.71-.16a.2.2 0 0 1 .25.25l-.17.7q.06.06.1.13l.73-.03A.2.2 0 0 1 14 4a.2.2 0 0 1 .02.2l-.3.66.08.14.71.12a.2.2 0 0 1 .14.32l-.43.59.05.16.68.25a.2.2 0 0 1 .07.35l-.53.49.01.16.62.38a.2.2 0 0 1 0 .36l-.62.38-.01.16.53.5a.2.2 0 0 1-.07.34l-.68.25-.05.16.43.59a.2.2 0 0 1-.14.32l-.72.12-.07.15.3.65a.2.2 0 0 1-.02.2.2.2 0 0 1-.18.1l-.72-.03-.1.13.16.7a.2.2 0 0 1-.25.25l-.7-.17-.13.1.03.73a.2.2 0 0 1-.1.18.2.2 0 0 1-.2.02l-.66-.3-.14.08-.12.71a.2.2 0 0 1-.32.14l-.59-.43-.16.05-.25.68a.2.2 0 0 1-.34.07l-.5-.53-.16.01-.38.62a.2.2 0 0 1-.36 0l-.38-.62-.16-.01-.5.53a.2.2 0 0 1-.34-.07l-.25-.68-.16-.05-.59.43a.2.2 0 0 1-.32-.14L5 13.78l-.15-.07-.65.3a.2.2 0 0 1-.2-.02.2.2 0 0 1-.1-.18l.03-.72-.13-.1-.7.16a.2.2 0 0 1-.25-.25l.17-.7-.1-.13-.73.03a.2.2 0 0 1-.2-.3l.3-.66-.08-.14-.71-.12a.2.2 0 0 1-.14-.32l.43-.59-.05-.16-.68-.25A.2.2 0 0 1 1 9.22l.53-.5-.02-.16-.6-.38A.2.2 0 0 1 .8 8a.2.2 0 0 1 .1-.18l.6-.38.02-.16-.53-.5a.2.2 0 0 1 .07-.34l.68-.25.05-.16-.43-.59a.2.2 0 0 1 .14-.32L2.2 5l.08-.15L2 4.2a.2.2 0 0 1 .2-.3l.72.03.1-.13-.16-.7a.2.2 0 0 1 .25-.25l.7.16.13-.1-.03-.72A.2.2 0 0 1 4 2a.2.2 0 0 1 .2-.02l.65.3L5 2.2l.12-.71v-.03a.2.2 0 0 1 .32-.1l.59.41.16-.04.25-.68.01-.02A.2.2 0 0 1 6.8.99l.49.53.16-.02.38-.61.02-.02A.2.2 0 0 1 8 .79M6.8 9.45h1.26l.06.01q.03.01.03.05v1.52q0 .07-.09.06h-4.5A5.4 5.4 0 0 0 8 13.42a5.4 5.4 0 0 0 4.45-2.33h-2.42c-.36 0-.68-.5-.77-.75-.08-.22-.2-.91-.25-1.12-.15-.61-.59-.71-.78-.73H6.8zM8 2.58a5.4 5.4 0 0 0-4.07 1.85h5.74l.17.02c.23.03.6.12.96.35.34.23.83.68.83 1.4 0 .66-.55 1.16-1.08 1.5.42.33.7.53.86 1.44.04.17.34.32.62.29.29-.03.62-.16.62-.75v-.24q0-.1.07-.1h.68A5.43 5.43 0 0 0 8 2.59M2.96 6.03a5.4 5.4 0 0 0-.19 3.37h1.66V6.03zM6.8 7.06h1.66c.35 0 .77-.12.77-.47 0-.42-.55-.53-.65-.53H6.8z" clip-rule="evenodd"/>
|
|
115
|
+
</symbol>`,rs=`<symbol id="file-tree-builtin-sass" viewBox="0 0 16 16">
|
|
116
|
+
<path fill="currentColor" fill-rule="evenodd" d="M8.08 1.44c2.41-.91 4.96-.37 5.35 1.27.39 1.62-.92 3.56-2.6 4.25a5 5 0 0 1-3.26.35c-.58-.2-.92-.62-1-.85-.03-.09-.09-.24 0-.3.05-.03.08-.02.22.15s.7.6 1.75.48c2.78-.34 4.45-2.64 3.92-3.88-.37-.87-2.5-1.26-5.18.16C4.03 4.81 3.85 6.24 3.82 6.8c-.08 1.5 1.73 2.28 2.7 3.4q.04.03.07.08c.3-.12.7-.19 1.35-.2 1.58-.03 2.47 1.08 2.43 2.08-.03.78-.7 1.1-.82 1.13-.1.01-.14.02-.15-.06q-.03-.06.13-.15c.16-.09.42-.3.48-.72.05-.43-.24-1.44-1.76-1.63a3 3 0 0 0-1.33.08c.27.62.32 1.87-.29 2.83-.63 1-1.8 1.61-2.93 1.27-.37-.1-.93-.92-.45-2.05.46-1.07 2.4-2.12 2.66-2.26-.9-.83-3.08-1.95-3.4-3.65-.08-.49.13-1.65 1.46-2.98a12 12 0 0 1 4.11-2.52m-1.88 9.7c-.01.01-.9.47-1.52 1.17-.59.66-.75 1.48-.43 1.69.3.18 1-.04 1.51-.62a3 3 0 0 0 .5-.9q.2-.64.02-1.39z" clip-rule="evenodd"/>
|
|
117
|
+
</symbol>`,is=`<symbol id="file-tree-builtin-stylelint" viewBox="0 0 16 16">
|
|
118
|
+
<path fill="currentColor" d="M4 3v3.5l1.5-1L7 15 .5 6l1-1.5L0 3l2.5-2h1zm12 0-1.5 1.5 1 1.5L9 15l1.5-9.5 1.5 1V3l.5-2h1zm-8 8.5a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1m0-3a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1m0-3a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1"/>
|
|
119
|
+
<path fill="currentColor" d="M6.5 2.5V4l-2 1.5v-4zm5 3L9.5 4V2.5l2-1zM9 4H7V2.5h2z"/>
|
|
120
|
+
</symbol>`,as=`<symbol id="file-tree-builtin-svelte" viewBox="0 0 16 16">
|
|
121
|
+
<path fill="currentColor" d="m3.98 3.7 3.36-2.08a4.5 4.5 0 0 1 5.9 1.23 4 4 0 0 1 .7 3.02q-.16.75-.58 1.4c.42.77.56 1.66.4 2.52a3.7 3.7 0 0 1-1.57 2.4l-.17.1-3.36 2.09a4.5 4.5 0 0 1-5.9-1.23 4 4 0 0 1-.66-1.44 4 4 0 0 1-.04-1.58 4 4 0 0 1 .58-1.4 4 4 0 0 1-.4-2.52 3.7 3.7 0 0 1 1.57-2.4zl3.36-2.08zm7.87 0a2.7 2.7 0 0 0-1.26-.95 2.7 2.7 0 0 0-1.6-.07 3 3 0 0 0-.52.2l-.16.09-3.36 2.08a2 2 0 0 0-.69.64 2 2 0 0 0-.36.86 2.3 2.3 0 0 0 .42 1.81A2.7 2.7 0 0 0 7.18 9.4q.28-.06.53-.2l.16-.09 1.28-.79.2-.09a.8.8 0 0 1 .87.31.7.7 0 0 1 .13.55.7.7 0 0 1-.24.4l-.08.05-3.36 2.08-.2.09a1 1 0 0 1-.49-.02 1 1 0 0 1-.38-.3 1 1 0 0 1-.13-.37v-.1l.01-.13-.13-.03a4 4 0 0 1-1.1-.5l-.2-.14-.18-.12-.07.18-.08.3a2.3 2.3 0 0 0 .43 1.82q.45.64 1.19.93.73.28 1.51.14l.16-.04q.27-.07.52-.2l.16-.09 3.36-2.08q.4-.25.69-.64.27-.4.36-.86a2.3 2.3 0 0 0-.42-1.82 2.7 2.7 0 0 0-1.27-.95 2.7 2.7 0 0 0-1.6-.08q-.27.07-.52.2l-.16.1-1.28.79-.2.09a1 1 0 0 1-.49-.03 1 1 0 0 1-.38-.29.7.7 0 0 1-.13-.54.7.7 0 0 1 .24-.4l.08-.06L9.33 4.4l.2-.1a.8.8 0 0 1 .87.32 1 1 0 0 1 .13.38v.22l.11.04q.6.18 1.12.5l.2.14.17.12.06-.19.08-.3a2.3 2.3 0 0 0-.42-1.81z"/>
|
|
122
|
+
</symbol>`,os=`<symbol id="file-tree-builtin-svg" viewBox="0 0 16 16">
|
|
123
|
+
<path fill="currentColor" d="M5 7a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z"/>
|
|
124
|
+
<path fill="currentColor" d="M6 1a5 5 0 0 1 4.58 3H7a3 3 0 0 0-3 3v3.58A5 5 0 0 1 6 1" opacity=".5"/>
|
|
125
|
+
</symbol>`,ss=`<symbol id="file-tree-builtin-svgo" viewBox="0 0 16 16">
|
|
126
|
+
<path fill="currentColor" d="M9.43 4.8A.6.6 0 1 1 9.19 6l-.56.96a1.2 1.2 0 0 1 .32 1.58l.7.53a.89.89 0 1 1-.17.22l-.7-.52a1.2 1.2 0 0 1-1.4.25l-.56.87a.75.75 0 1 1-.57-.2 1 1 0 0 1 .32.05l.56-.87a1.2 1.2 0 0 1-.4-1.24l-1.2-.47a.56.56 0 1 1 .1-.28v.02l1.2.47a1.2 1.2 0 0 1 1.56-.55l.56-.97a.6.6 0 0 1-.15-.64.6.6 0 0 1 .63-.4"/>
|
|
127
|
+
<path fill="currentColor" fill-rule="evenodd" d="M9.17 1q.16.63.27 1.26a6 6 0 0 1 1.61.67q.52-.38 1.08-.71l1.65 1.64q-.32.56-.68 1.05.48.78.72 1.67.6.09 1.18.25v2.32q-.55.15-1.11.24a6 6 0 0 1-.7 1.82q.31.44.59.91l-1.65 1.65-.85-.55a6 6 0 0 1-1.9.83q-.08.47-.2.95H6.84q-.12-.46-.2-.93a6 6 0 0 1-1.96-.81q-.39.27-.8.51l-1.65-1.65q.25-.43.53-.84a6 6 0 0 1-.75-1.9L1 9.16V6.83q.54-.14 1.09-.24a6 6 0 0 1 .77-1.74q-.33-.47-.63-.98l1.65-1.65q.54.32 1.03.68a6 6 0 0 1 1.66-.66q.1-.61.26-1.24zM7.96 3.73a4 4 0 0 0-1.74.36 4.5 4.5 0 0 0-2.3 2.3 4.4 4.4 0 0 0-.1 3.29l.03.06a4.4 4.4 0 0 0 2.4 2.47 4.4 4.4 0 0 0 3.48-.02l.03-.02a4.4 4.4 0 0 0 2.3-2.42l.06-.14a4.4 4.4 0 0 0-.2-3.4 4.4 4.4 0 0 0-2.13-2.07L9.47 4a4 4 0 0 0-1.51-.27" clip-rule="evenodd"/>
|
|
128
|
+
</symbol>`,cs=`<symbol id="file-tree-builtin-swift" viewBox="0 0 16 16">
|
|
129
|
+
<path fill="currentColor" d="M9.63 1c6.15 4.35 4.16 9.15 4.16 9.15s1.75 2.05 1.04 3.85c0 0-.72-1.26-1.93-1.26-1.17 0-1.85 1.26-4.2 1.26C3.47 14 1 9.46 1 9.46c4.71 3.22 7.93.94 7.93.94C6.8 9.12 2.29 3 2.29 3c3.93 3.47 5.63 4.39 5.63 4.39-1.01-.87-3.86-5.13-3.86-5.13C6.34 4.66 10.86 8 10.86 8c1.28-3.7-1.23-7-1.23-7"/>
|
|
130
|
+
</symbol>`,ls=`<symbol id="file-tree-builtin-table" viewBox="0 0 16 16">
|
|
131
|
+
<path fill="currentColor" d="M8 4a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1H8z" class="bg" opacity=".4"/>
|
|
132
|
+
<path fill="currentColor" d="M11.5 8a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5zM5 12h2.5v-1H5zm3.5 0H11v-1H8.5zM5 10h2.5V9H5zm3.5 0H11V9H8.5zm1-9a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z" class="fg"/>
|
|
133
|
+
</symbol>`,us=`<symbol id="file-tree-builtin-tailwind" viewBox="0 0 16 16">
|
|
134
|
+
<path fill="currentColor" fill-rule="evenodd" d="M8 4Q5.2 4 4.5 6.67q1.05-1.34 2.45-1c.53.12.91.5 1.33.9C8.98 7.23 9.77 8 11.5 8q2.8 0 3.5-2.67-1.05 1.34-2.45 1c-.53-.12-.91-.5-1.33-.9C10.52 4.77 9.73 4 8 4M4.5 8Q1.7 8 1 10.67q1.05-1.34 2.45-1c.53.12.91.5 1.33.9C5.48 11.23 6.26 12 8 12q2.8 0 3.5-2.67-1.05 1.34-2.45 1c-.53-.12-.91-.5-1.33-.9C7.02 8.77 6.24 8 4.5 8" clip-rule="evenodd"/>
|
|
135
|
+
</symbol>`,ds=`<symbol id="file-tree-builtin-terraform" viewBox="0 0 16 16">
|
|
136
|
+
<path fill="currentColor" d="M1 0v5.05l4.35 2.53V2.53zm9.18 5.34L5.83 2.82v5.05l4.35 2.53zm.47 5.06V5.34L15 2.82v5.05zm-.48 5.6-4.35-2.53V8.42l4.35 2.53z"/>
|
|
137
|
+
</symbol>`,fs=`<symbol id="file-tree-builtin-text" viewBox="0 0 16 16">
|
|
138
|
+
<path fill="currentColor" fill-rule="evenodd" d="M8 4a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1H8z" class="bg" clip-rule="evenodd" opacity=".4"/>
|
|
139
|
+
<path fill="currentColor" d="M8.5 11a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1zm2-2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1zm-1-8a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z"/>
|
|
140
|
+
</symbol>`,ps=`<symbol id="file-tree-builtin-typescript" viewBox="0 0 16 16">
|
|
141
|
+
<path fill="currentColor" d="M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7" class="bg" opacity=".2"/>
|
|
142
|
+
<path fill="currentColor" d="M8.1 9.64h.95c.04.62.28.76 1.28.76s1.2-.14 1.2-.85c0-.66-.2-.85-1.2-1.07-1.79-.38-2.18-.7-2.18-1.86C8.15 5.3 8.54 5 10.31 5c1.67 0 2.04.26 2.07 1.42h-.95c-.02-.43-.23-.53-1.1-.53-1 0-1.22.14-1.22.74 0 .52.22.7 1.24.92 1.76.38 2.15.73 2.15 2 0 1.44-.4 1.75-2.24 1.75-1.8 0-2.18-.3-2.15-1.66m-3 1.57V5.99H3.5v-.9h4.21v.9H6.1v5.22z"/>
|
|
143
|
+
</symbol>`,ms=`<symbol id="file-tree-builtin-vite" viewBox="0 0 16 16">
|
|
144
|
+
<path fill="currentColor" d="M8.57 14.87c-.18.26-.55.11-.55-.22v-3.18l-.05-.27-.13-.22-.2-.15-.24-.06H4.29c-.26 0-.4-.32-.26-.55L6.08 7c.3-.46 0-1.1-.5-1.1H1.8c-.25 0-.4-.32-.25-.56l2.65-4.2A.3.3 0 0 1 4.46 1h7.9c.26 0 .4.32.26.55l-2.05 3.23c-.29.46 0 1.1.5 1.1h3.12c.26 0 .4.34.24.57z"/>
|
|
145
|
+
</symbol>`,hs=`<symbol id="file-tree-builtin-vscode" viewBox="0 0 16 16">
|
|
146
|
+
<path fill="currentColor" d="m5.11 9.68-2.4 1.84a.6.6 0 0 1-.75-.04l-.77-.7a.6.6 0 0 1 0-.87L3.28 8zm5.52-8.42a.51.51 0 0 1 .87.36V4.8L7.32 8 5.1 6.32z" opacity=".75"/>
|
|
147
|
+
<path fill="currentColor" d="M11.1 14.99h.03zM1.96 4.52a.6.6 0 0 1 .75-.04l8.8 6.71v3.19a.51.51 0 0 1-.88.36L1.19 6.1a.6.6 0 0 1 0-.87z" opacity=".65"/>
|
|
148
|
+
<path fill="currentColor" d="M11.62 14.91a.9.9 0 0 1-1-.17.51.51 0 0 0 .88-.36V1.62a.51.51 0 0 0-.87-.36.9.9 0 0 1 1-.17l2.87 1.39a.9.9 0 0 1 .5.8v9.44a.9.9 0 0 1-.5.8z"/>
|
|
149
|
+
</symbol>`,gs=`<symbol id="file-tree-builtin-vue" viewBox="0 0 16 16">
|
|
150
|
+
<path fill="currentColor" d="M9.62 2.25 8 5.02 6.38 2.25H1l7 12 7-12z" opacity=".5"/>
|
|
151
|
+
<path fill="currentColor" d="M9.54 2.25 8 4.95l-1.54-2.7H4l4 7 4-7z"/>
|
|
152
|
+
</symbol>`,_s=`<symbol id="file-tree-builtin-wasm" viewBox="0 0 16 16">
|
|
153
|
+
<path fill="currentColor" d="M13 1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h3a2 2 0 1 0 4 0z" class="subtract" opacity=".2"/>
|
|
154
|
+
<path fill="currentColor" d="M4.64 11.4h.02l.8-3.4h.91l.73 3.45L7.88 8h.96l-1.25 5h-.97L5.9 9.6 5.1 13h-1L3 8h.98z"/>
|
|
155
|
+
<path fill="currentColor" fill-rule="evenodd" d="M13 13h-1.02l-.33-1.11H9.9L9.64 13h-.97l1.26-5h1.54zm-2.49-3.77-.42 1.84h1.32l-.49-1.84z" clip-rule="evenodd"/>
|
|
156
|
+
</symbol>`,vs=`<symbol id="file-tree-builtin-webpack" viewBox="0 0 16 16">
|
|
157
|
+
<path fill="currentColor" d="M14.1 11.79 8.26 15v-2.5l3.64-1.94zm.4-.35V4.73l-2.14 1.2v4.3zm-12.6.35L7.74 15v-2.5L4.1 10.56zm-.4-.35V4.73l2.14 1.2v4.3zm.25-7.15 6-3.29v2.42L3.9 5.47l-.03.01zm12.5 0L8.25 1v2.42l3.85 2.05.03.01z" class="bg" opacity=".4"/>
|
|
158
|
+
<path fill="currentColor" d="m7.74 11.93-3.59-1.92v-3.8l3.6 2.02zm.52 0 3.59-1.92v-3.8l-3.6 2.02zM4.4 5.77 8 3.85l3.6 1.93L8 7.8z" class="fg"/>
|
|
159
|
+
</symbol>`,ys=`<symbol id="file-tree-builtin-yml" viewBox="0 0 16 16">
|
|
160
|
+
<path fill="currentColor" d="M7.5 2A1.5 1.5 0 0 1 9 3.5v3A1.5 1.5 0 0 1 7.5 8h-2v2A1.5 1.5 0 0 0 7 11.5v-1A1.5 1.5 0 0 1 8.5 9h5a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 7 13.5v-1A2.5 2.5 0 0 1 4.5 10V8h-2A1.5 1.5 0 0 1 1 6.5v-3A1.5 1.5 0 0 1 2.5 2zm1 8a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zm-6-7a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z"/>
|
|
161
|
+
</symbol>`,bs=`<symbol id="file-tree-builtin-zig" viewBox="0 0 16 16">
|
|
162
|
+
<path fill="currentColor" d="m14.73 1.5-7.29 8.82h4.17l-1.73 2.04H5.76L1.27 14.5l7.3-8.91H4.39l1.73-2.05h4.12z"/>
|
|
163
|
+
<path fill="currentColor" d="M5.21 3.54 3.56 5.6h-.55v4.73h.83L2.1 12.36H1V3.54zm9.79 0v8.82h-4.3l1.74-2.04h.55V5.68h-.83l1.74-2.14z"/>
|
|
164
|
+
</symbol>`,xs=[To,Ao,Mo,No,Po,Fo,Ro,zo,Bo,Ho,Uo,Wo,Go,Ko,qo,$o,ts,ns,cs,ls,fs,ps,`<symbol id="file-tree-builtin-zip" viewBox="0 0 16 16">
|
|
165
|
+
<path fill="currentColor" d="M4.585 2a2 2 0 0 1 1.028.285l1.788 1.072a1 1 0 0 0 .514.143H12A2 2 0 0 1 13.935 5H0V4a2 2 0 0 1 2-2z" class="bg" opacity=".5"/>
|
|
166
|
+
<path fill="currentColor" fill-rule="evenodd" d="M14 12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-1.25h1v-1H0V6h14zM9.9 8.25c-.883 0-1.9.5-1.9.5H7v1h1v1s1.017.5 1.9.5c.884 0 1.6-.672 1.6-1.5s-.716-1.5-1.6-1.5M2 9.75v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1zm-5-1v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1z" class="fg" clip-rule="evenodd"/>
|
|
167
|
+
</symbol>`],Ss=[Co,wo,Eo,Do,Oo,ko,jo,Io,Lo,Vo,Jo,Yo,Xo,Zo,Qo,es,rs,is,as,os,ss,us,ds,ms,hs,gs,_s,vs,ys,bs];function Cs(e,t){return t.length===0?e:e.replace(`</svg>`,`\n ${t.join(`
|
|
168
|
+
`)}\n</svg>`)}var ws=Cs(So,xs),Ts={minimal:So,standard:ws,complete:Cs(ws,Ss)},Es={".babelrc":`babel`,".babelrc.json":`babel`,".bash_profile":`bash`,".bashrc":`bash`,".browserslistrc":`browserslist`,".dockerignore":`docker`,".eslintignore":`eslint`,".eslintrc":`eslint`,".eslintrc.cjs":`eslint`,".eslintrc.js":`eslint`,".eslintrc.json":`eslint`,".eslintrc.yaml":`eslint`,".eslintrc.yml":`eslint`,".gitattributes":`git`,".gitignore":`git`,".gitkeep":`git`,".gitmodules":`git`,".oxlintrc.json":`oxc`,".postcssrc":`postcss`,".postcssrc.json":`postcss`,".postcssrc.yaml":`postcss`,".postcssrc.yml":`postcss`,".prettierignore":`prettier`,".prettierrc":`prettier`,".prettierrc.cjs":`prettier`,".prettierrc.js":`prettier`,".prettierrc.json":`prettier`,".prettierrc.mjs":`prettier`,".prettierrc.toml":`prettier`,".prettierrc.yaml":`prettier`,".prettierrc.yml":`prettier`,".stylelintignore":`stylelint`,".stylelintrc":`stylelint`,".stylelintrc.cjs":`stylelint`,".stylelintrc.js":`stylelint`,".stylelintrc.json":`stylelint`,".stylelintrc.mjs":`stylelint`,".stylelintrc.yaml":`stylelint`,".stylelintrc.yml":`stylelint`,".terraform.lock.hcl":`terraform`,".zprofile":`bash`,".zshenv":`bash`,".zshrc":`bash`,"babel.config.cjs":`babel`,"babel.config.js":`babel`,"babel.config.json":`babel`,"babel.config.mjs":`babel`,"biome.json":`biome`,"biome.jsonc":`biome`,"bootstrap.bundle.js":`bootstrap`,"bootstrap.bundle.min.js":`bootstrap`,"bootstrap.css":`bootstrap`,"bootstrap.js":`bootstrap`,"bootstrap.min.css":`bootstrap`,"bootstrap.min.js":`bootstrap`,"bun.lock":`bun`,"bun.lockb":`bun`,"bunfig.toml":`bun`,"claude.md":`claude`,"compose.yaml":`docker`,"compose.yml":`docker`,"docker-compose.override.yml":`docker`,"docker-compose.yaml":`docker`,"docker-compose.yml":`docker`,dockerfile:`docker`,"eslint.config.cjs":`eslint`,"eslint.config.js":`eslint`,"eslint.config.mjs":`eslint`,"eslint.config.mts":`eslint`,"eslint.config.ts":`eslint`,gemfile:`ruby`,"next.config.js":`nextjs`,"next.config.mjs":`nextjs`,"next.config.mts":`nextjs`,"next.config.ts":`nextjs`,"postcss.config.cjs":`postcss`,"postcss.config.js":`postcss`,"postcss.config.mjs":`postcss`,"postcss.config.ts":`postcss`,"prettier.config.cjs":`prettier`,"prettier.config.js":`prettier`,"prettier.config.mjs":`prettier`,rakefile:`ruby`,"readme.md":`markdown`,"stylelint.config.cjs":`stylelint`,"stylelint.config.js":`stylelint`,"stylelint.config.mjs":`stylelint`,"svgo.config.cjs":`svgo`,"svgo.config.js":`svgo`,"svgo.config.mjs":`svgo`,"svgo.config.ts":`svgo`,"tailwind.config.cjs":`tailwind`,"tailwind.config.js":`tailwind`,"tailwind.config.mjs":`tailwind`,"tailwind.config.ts":`tailwind`,"vite.config.js":`vite`,"vite.config.mjs":`vite`,"vite.config.mts":`vite`,"vite.config.ts":`vite`,"webpack.config.babel.js":`webpack`,"webpack.config.cjs":`webpack`,"webpack.config.js":`webpack`,"webpack.config.mjs":`webpack`,"webpack.config.ts":`webpack`},Ds={"7z":`zip`,astro:`astro`,AUTHORS:`text`,avif:`image`,bash:`bash`,bmp:`image`,bz2:`zip`,c:`c`,cc:`cpp`,cfg:`text`,CHANGELOG:`text`,cjs:`javascript`,"code-workspace":`vscode`,conf:`text`,CONTRIBUTORS:`text`,cpp:`cpp`,csh:`bash`,css:`css`,csv:`table`,cts:`typescript`,cxx:`cpp`,db:`database`,editorconfig:`text`,env:`text`,"env.development":`text`,"env.local":`text`,"env.production":`text`,eot:`font`,erb:`ruby`,fish:`bash`,gemspec:`ruby`,gif:`image`,go:`go`,gql:`graphql`,graphql:`graphql`,gz:`zip`,h:`c`,hh:`cpp`,hpp:`cpp`,htm:`html`,html:`html`,hxx:`cpp`,icns:`image`,ico:`image`,ini:`text`,inl:`cpp`,jar:`zip`,jpeg:`image`,jpg:`image`,js:`javascript`,json:`json`,json5:`json`,jsonc:`json`,jsonl:`json`,jsx:`javascript`,ksh:`bash`,less:`css`,LICENSE:`text`,log:`text`,markdown:`markdown`,mcp:`mcp`,md:`markdown`,mdx:`markdown`,"mdx.tsx":`markdown`,mjs:`javascript`,mm:`cpp`,mts:`typescript`,ods:`table`,otf:`font`,png:`image`,postcss:`css`,py:`python`,pyi:`python`,pyw:`python`,pyx:`python`,rake:`ruby`,rar:`zip`,rb:`ruby`,rs:`rust`,rst:`text`,rtf:`text`,sass:`css`,scss:`css`,sh:`bash`,sql:`database`,sqlite:`database`,sqlite3:`database`,styl:`css`,svelte:`svelte`,svg:`svg`,swift:`swift`,tar:`zip`,tf:`terraform`,tfstate:`terraform`,tfvars:`terraform`,tgz:`zip`,tif:`image`,tiff:`image`,ts:`typescript`,tsv:`table`,tsx:`typescript`,ttf:`font`,txt:`text`,vue:`vue`,war:`zip`,wasm:`wasm`,wast:`wasm`,wat:`wasm`,webp:`image`,woff:`font`,woff2:`font`,xhtml:`html`,xls:`table`,xlsx:`table`,xz:`zip`,yaml:`yml`,yml:`yml`,zig:`zig`,zip:`zip`,zsh:`bash`},Os={jsx:`react`,sass:`sass`,scss:`sass`,tsx:`react`},ks=new Set([`bash`,`c`,`cpp`,`css`,`database`,`default`,`font`,`git`,`go`,`html`,`image`,`javascript`,`json`,`markdown`,`mcp`,`python`,`ruby`,`rust`,`swift`,`table`,`text`,`typescript`,`zip`]),As=new Set([`complete`]);function js(e){return Ts[e===`none`?`minimal`:e]}function Ms(e){return`file-tree-builtin-${e}`}function Ns(e){return e!==`none`&&As.has(e)}function Ps(e,t,n){if(e===`minimal`||e===`none`)return;let r=e===`complete`,i=Es[t.toLowerCase()];if(i!=null&&(r||ks.has(i)))return i;for(let e of n){if(r){let t=Os[e];if(t!=null)return t}let t=Ds[e];if(t!=null&&(r||ks.has(t)))return t}return`default`}function Fs(e){return e.spriteSheet!=null||e.remap!=null||e.byFileName!=null||e.byFileExtension!=null||e.byFileNameContains!=null}function Is(e){return e==null?{set:`complete`,colored:!0}:typeof e==`string`?{set:e,colored:!0}:{...e,set:e.set??(Fs(e)?`none`:`complete`),colored:e.colored??!0}}var Ls=e=>e.trim().toLowerCase(),Rs=e=>e.split(`/`).at(-1)??e,zs=e=>{let t=e.toLowerCase().split(`.`),n=[];for(let e=1;e<t.length;e+=1)n.push(t.slice(e).join(`.`));return n};function Bs(e,t){return typeof e==`string`?{name:e,remappedFrom:t}:{...e,remappedFrom:t}}function Vs(e){let t=Is(e),n=t.remap,r=new Map;for(let[e,n]of Object.entries(t.byFileName??{}))r.set(e.toLowerCase(),n);let i=new Map;for(let[e,n]of Object.entries(t.byFileExtension??{}))i.set(Ls(e),n);let a=Object.entries(t.byFileNameContains??{}).map(([e,t])=>[e.toLowerCase(),t]);return{resolveIcon:(e,o)=>{if(e===`file-tree-icon-file`&&o!=null){let n=Rs(o),s=n.toLowerCase(),c=r.get(s);if(c!=null)return Bs(c,e);for(let[t,n]of a)if(s.includes(t))return Bs(n,e);let l=zs(n);for(let t of l){let n=i.get(t);if(n!=null)return Bs(n,e)}let u=Ps(t.set,n,l);if(u!=null&&t.set!==`none`)return{name:Ms(u),remappedFrom:e,token:u}}let s=n?.[e];return s==null?{name:e}:Bs(s,e)}}}var Hs=`borgcode-pierre-file-icon-sprite`,Us=`
|
|
169
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" aria-hidden="true">
|
|
170
|
+
<symbol id="borg-file-icon-package-json" viewBox="0 0 32 32">
|
|
171
|
+
<path d="M2 2H30V30H2" fill="#c12127" />
|
|
172
|
+
<path d="M7.25 7.25h17.5v17.5h-3.5v-14H16v14H7.25" fill="#fff" />
|
|
173
|
+
</symbol>
|
|
174
|
+
<symbol id="borg-file-icon-tsconfig" viewBox="0 0 32 32">
|
|
175
|
+
<path d="M23.827 8.243a4.424 4.424 0 0 1 2.223 1.281 5.853 5.853 0 0 1 .852 1.143c.011.045-1.534 1.083-2.471 1.662-.034.023-.169-.124-.322-.35a2.014 2.014 0 0 0-1.67-1c-1.077-.074-1.771.49-1.766 1.433a1.3 1.3 0 0 0 .153.666c.237.49.677.784 2.059 1.383 2.544 1.1 3.636 1.817 4.31 2.843a5.158 5.158 0 0 1 .416 4.333 4.764 4.764 0 0 1-3.932 2.815 10.9 10.9 0 0 1-2.708-.028 6.531 6.531 0 0 1-3.616-1.884 6.278 6.278 0 0 1-.926-1.371 2.655 2.655 0 0 1 .327-.208c.158-.09.756-.434 1.32-.761l1.024-.6.214.312a4.771 4.771 0 0 0 1.35 1.292 3.3 3.3 0 0 0 3.458-.175 1.545 1.545 0 0 0 .2-1.974c-.276-.4-.84-.727-2.443-1.422a8.8 8.8 0 0 1-3.349-2.055 4.687 4.687 0 0 1-.976-1.777 7.116 7.116 0 0 1-.062-2.268 4.332 4.332 0 0 1 3.644-3.374 9 9 0 0 1 2.71.01ZM15.484 9.726l.011 1.454h-4.63v13.148H7.6V11.183H2.97V9.755a13.986 13.986 0 0 1 .04-1.466c.017-.023 2.832-.034 6.245-.028l6.211.017Z" fill="#007acc" />
|
|
176
|
+
<path d="m27.075 25.107.363-.361c1.68.055 1.706 0 1.78-.177l.462-1.124.034-.107-.038-.093c-.02-.049-.081-.2-1.13-1.2v-.526c1.211-1.166 1.185-1.226 1.116-1.4l-.46-1.136c-.069-.17-.1-.237-1.763-.191l-.364-.367a8.138 8.138 0 0 0-.057-1.657l-.047-.106-1.2-.525c-.177-.081-.239-.11-1.372 1.124l-.509-.008c-1.167-1.245-1.222-1.223-1.4-1.152l-1.115.452c-.175.071-.236.1-.169 1.79l-.36.359c-1.68-.055-1.7 0-1.778.177L18.606 20l-.036.108.038.094c.02.048.078.194 1.13 1.2v.525c-1.211 1.166-1.184 1.226-1.115 1.4l.459 1.137c.07.174.1.236 1.763.192l.363.377a8.169 8.169 0 0 0 .055 1.654l.047.107 1.208.528c.176.073.236.1 1.366-1.13l.509.006c1.168 1.247 1.228 1.223 1.4 1.154l1.113-.45c.176-.075.237-.102.169-1.795Zm-4.788-2.632a2 2 0 1 1 2.618 1.14 2.023 2.023 0 0 1-2.618-1.14Z" fill="#99b8c4" />
|
|
177
|
+
</symbol>
|
|
178
|
+
<symbol id="borg-file-icon-agents" viewBox="0 0 32 32">
|
|
179
|
+
<path fill="currentColor" d="M27.2 16c0-6.19-5.01-11.2-11.2-11.2C9.81 4.8 4.8 9.81 4.8 16S9.81 27.2 16 27.2c6.19 0 11.2-5.01 11.2-11.2Zm-5.6 2.1a1.4 1.4 0 1 1 0 2.8h-4.2a1.4 1.4 0 1 1 0-2.8Zm-11.2-6.8c.622-.373 1.42-.208 1.84.361l.079.119 2.1 3.5.088.171c.15.351.15.748 0 1.1l-.088.171-2.1 3.5a1.4 1.4 0 0 1-2.4-1.44L11.59 16l-1.67-2.78-.067-.127c-.302-.642-.075-1.42.547-1.79ZM30 16c0 7.73-6.27 14-14 14S2 23.73 2 16 8.27 2 16 2s14 6.27 14 14Z" />
|
|
180
|
+
</symbol>
|
|
181
|
+
<symbol id="borg-file-icon-claude" viewBox="0 0 32 32">
|
|
182
|
+
<path fill="#d97757" d="m7.5 20.61 5.5-3.08.1-.27-.1-.15h-.27l-.92-.06a234.2 234.2 0 0 1-8.51-.34l-.67-.14-.62-.82.06-.41.56-.38.8.07c3.08.2 6.15.4 9.21.72h.46l.06-.19-.16-.1-.12-.12-2.74-1.86c-2.04-1.3-3.55-2.43-5.38-3.68l-.43-.54-.18-1.18.76-.84 1.03.07.26.07c2.03 1.6 4.1 3.14 6.17 4.66l.43.36.17-.12.02-.09-.2-.32c-1.43-2.6-2.55-4.62-4-6.96l-.2-.72c-.08-.3-.13-.55-.13-.85l.87-1.18.49-.16 1.16.16.49.42c1.4 3.31 2.76 5.93 4.23 8.83l.29.97.1.3h.19v-.17c.65-3.42 0-6.57 1.22-9.53l.87-.57.68.33.56.8-.08.51c-.37 2.62-.92 5.22-1.4 7.82h.24l.29-.29a68.66 68.66 0 0 1 4.91-5.94l.64-.5h1.2l.89 1.32-.4 1.36a53.45 53.45 0 0 0-4.66 6.47l.09.13.22-.02c2.4-.57 4.84-.99 7.27-1.4l.97.45.1.46-.37.94c-3 .72-6 1.34-9 2.05l-.05.04.06.07c2.7.26 5.62.3 7.99.47l.92.61.55.75-.1.56-1.4.73c-2.93-.7-5.19-1.22-7.91-1.9h-.22v.13c2.18 2.12 4.6 4.27 6.54 6.07l.15.68-.38.53-.4-.06c-2.04-1.43-3.9-3.09-5.8-4.7h-.15v.2l.52.76c1.14 1.79 2.64 3.25 2.87 5.37l-.2.41-.7.25-.78-.14a73.16 73.16 0 0 1-4.58-7.04l-.17.09-.78 8.46-.37.43-.85.33-.71-.54-.38-.87a114 114 0 0 0 1.53-7.97l.2-.73-.01-.05-.16.02a76.67 76.67 0 0 1-6.23 7.88l-.48.2-.84-.44.08-.77.47-.69c2.07-2.57 3.54-4.66 5.54-7v-.19h-.07l-7.4 4.8-1.31.17-.57-.53.07-.87.27-.28 2.23-1.53Z" />
|
|
183
|
+
</symbol>
|
|
184
|
+
<symbol id="borg-file-icon-readme" viewBox="0 0 32 32">
|
|
185
|
+
<rect x="2.5" y="7.955" width="27" height="16.091" fill="none" stroke="#b48a5a" />
|
|
186
|
+
<path fill="#b48a5a" d="M5.909 20.636v-9.272h2.727l2.728 3.409 2.727-3.409h2.727v9.272h-2.727v-5.318l-2.727 3.409-2.728-3.409v5.318H5.91Zm17.046 0-4.091-4.5h2.727v-4.772h2.727v4.772h2.727l-4.09 4.5Z" />
|
|
187
|
+
</symbol>
|
|
188
|
+
<symbol id="borg-file-icon-pnpm" viewBox="0 0 32 32">
|
|
189
|
+
<path fill="#f9ad00" d="M30 10.75h-8.749V2H30Zm-9.626 0h-8.75V2h8.75Zm-9.625 0H2V2h8.749ZM30 20.375h-8.749v-8.75H30Z" />
|
|
190
|
+
<path fill="currentColor" d="M20.374 20.375h-8.75v-8.75h8.75Zm0 9.625h-8.75v-8.75h8.75ZM30 30h-8.749v-8.75H30Zm-19.251 0H2v-8.75h8.749Z" />
|
|
191
|
+
</symbol>
|
|
192
|
+
</svg>`,Ws={set:`complete`,colored:!0,spriteSheet:Us,byFileName:{"package.json":`borg-file-icon-package-json`,"tsconfig.json":`borg-file-icon-tsconfig`,"agents.md":`borg-file-icon-agents`,"claude.md":`borg-file-icon-claude`,"readme.md":`borg-file-icon-readme`,"pnpm-lock.yaml":`borg-file-icon-pnpm`,"pnpm-workspace.yaml":`borg-file-icon-pnpm`}},Gs=Vs(Ws),Ks={bash:`sh`,csharp:`cs`,javascript:`js`,jsx:`jsx`,markdown:`md`,mdx:`mdx`,plaintext:`txt`,python:`py`,ruby:`rb`,rust:`rs`,shell:`sh`,shellscript:`sh`,swift:`swift`,typescript:`ts`,tsx:`tsx`,yaml:`yml`};function qs(e){let t=e.lastIndexOf(`/`);return t===-1?e:e.slice(t+1)}function Js(e){let t=qs(e);return t.startsWith(`.`)&&!t.slice(1).includes(`.`)?`directory`:t.includes(`.`)?`file`:`directory`}var Ys={dockerfile:`Dockerfile`};function Xs(e){let t=e.toLowerCase();return Ys[t]??`file.${Ks[t]??t}`}function Zs(e,t){return t===`directory`?null:Gs.resolveIcon(`file-tree-icon-file`,e)}function Qs(e){return Zs(e,`file`)?.token!=="default"}function $s(){if(typeof document>`u`||document.getElementById(Hs))return;let e=document.createElement(`div`);e.id=Hs,e.setAttribute(`aria-hidden`,`true`),e.style.position=`absolute`,e.style.width=`0`,e.style.height=`0`,e.style.overflow=`hidden`,e.style.pointerEvents=`none`,e.innerHTML=`${js(`complete`)}${Us}`,document.body.prepend(e)}var ec=[`document`,`presentation`,`spreadsheet`,`site`,`google-docs`,`google-slides`,`google-sheets`,`image`,`email`,`slack`],tc=[`imagegen`,`product-design`],nc={document:`Document template`,presentation:`Presentation template`,spreadsheet:`Spreadsheet template`,site:`Site template`,"google-docs":`Google Doc template`,"google-slides":`Google Slides template`,"google-sheets":`Google Sheet template`,image:`Image template`,email:`Email template`,slack:`Slack template`},rc=/^[A-Za-z]:[\\/]/,ic=/^(?:\\\\[^\\]+\\[^\\]+|\/\/[^/]+\/[^/]+)/;function ac(e){return ec.some(t=>t===e)}function oc(e){return tc.some(t=>t===e)}function sc(e){return e.startsWith(`/`)&&!e.startsWith(`//`)||rc.test(e)||ic.test(e)}function cc(e){let t=e?.artifact_kind,n=e?.display_name,r=typeof n==`string`?n.trim():void 0,i=e?.gallery_kind,a=e?.skill_directory,o=e?.skill_name;return!ac(t)||!r||typeof a!=`string`||!sc(a)||typeof o!=`string`||!o.startsWith(`artifact-template-`)||i!==void 0&&!oc(i)?null:{artifactKind:t,displayName:r,...i===void 0?{}:{galleryKind:i},skillDirectory:a,skillName:o}}var lc={document:e=>`Create a document using this ${e} about…`,presentation:e=>`Create a presentation using the ${e} template about…`,spreadsheet:e=>`Create a spreadsheet using this ${e} about…`,site:e=>`Create a Site using this ${e} about…`,"google-docs":e=>`Create a Google Doc using this ${e} about…`,"google-slides":e=>`Create a Google Slides presentation using this ${e} about…`,"google-sheets":e=>`Create a Google Sheet using this ${e} about…`,image:e=>`Create an image using this ${e} of…`,email:e=>`Draft an email using this ${e} about…`,slack:e=>`Draft a Slack message using this ${e} about…`};function uc(e){return lc[e.artifactKind](`$${e.skillName}`)}function dc(e){return nc[e]}function fc(e,t){let n=uc(t),r=e.trimEnd(),i=r.length-n.length;return i>=0&&r.slice(i)===n&&(i===0||/\s/.test(r[i-1]??``))?e:`${e}${e.length>0&&!/\s$/.test(e)?` `:``}${n}`}var pc=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,mc=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,hc={};function gc(e,t){return((t||hc).jsx?mc:pc).test(e)}var _c=n(((e,t)=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,l=/^\s+|\s+$/g;function u(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t||={};var l=1,u=1;function f(e){var t=e.match(r);t&&(l+=t.length);var n=e.lastIndexOf(`
|
|
193
|
+
`);u=~n?e.length-n:u+e.length}function p(){var e={line:l,column:u};return function(t){return t.position=new m(e),_(),t}}function m(e){this.start=e,this.end={line:l,column:u},this.source=t.source}m.prototype.content=e;function h(n){var r=Error(t.source+`:`+l+`:`+u+`: `+n);if(r.reason=n,r.filename=t.source,r.line=l,r.column=u,r.source=e,!t.silent)throw r}function g(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function _(){g(i)}function v(e){var t;for(e||=[];t=y();)t!==!1&&e.push(t);return e}function y(){var t=p();if(!(e.charAt(0)!=`/`||e.charAt(1)!=`*`)){for(var n=2;e.charAt(n)!=``&&(e.charAt(n)!=`*`||e.charAt(n+1)!=`/`);)++n;if(n+=2,e.charAt(n-1)===``)return h(`End of comment missing`);var r=e.slice(2,n-2);return u+=2,f(r),e=e.slice(n),u+=2,t({type:`comment`,comment:r})}}function b(){var e=p(),t=g(a);if(t){if(y(),!g(o))return h(`property missing ':'`);var r=g(s),i=e({type:`declaration`,property:d(t[0].replace(n,``)),value:r?d(r[0].replace(n,``)):``});return g(c),i}}function x(){var e=[];v(e);for(var t;t=b();)t!==!1&&(e.push(t),v(e));return e}return _(),x()}function d(e){return e?e.replace(l,``):``}t.exports=u})),vc=n((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var n=t(_c());function r(e,t){let r=null;if(!e||typeof e!=`string`)return r;let i=(0,n.default)(e),a=typeof t==`function`;return i.forEach(e=>{if(e.type!==`declaration`)return;let{property:n,value:i}=e;a?t(n,i,e):i&&(r||={},r[n]=i)}),r}})),yc=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,o=function(e){return!e||r.test(e)||t.test(e)},s=function(e,t){return t.toUpperCase()},c=function(e,t){return`${t}-`};e.camelCase=function(e,t){return t===void 0&&(t={}),o(e)?e:(e=e.toLowerCase(),e=t.reactCompat?e.replace(a,c):e.replace(i,c),e.replace(n,s))}})),bc=e(n(((e,t)=>{var n=(e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(vc()),r=yc();function i(e,t){var i={};return!e||typeof e!=`string`||(0,n.default)(e,function(e,n){e&&n&&(i[(0,r.camelCase)(e,t)]=n)}),i}i.default=i,t.exports=i}))(),1),xc={}.hasOwnProperty,Sc=new Map,Cc=/[A-Z]/g,wc=new Set([`table`,`tbody`,`thead`,`tfoot`,`tr`]),Tc=new Set([`td`,`th`]);function Ec(e,t){if(!t||t.Fragment===void 0)throw TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,r;if(t.development){if(typeof t.jsxDEV!=`function`)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=Lc(n,t.jsxDEV)}else{if(typeof t.jsx!=`function`)throw TypeError("Expected `jsx` in production options");if(typeof t.jsxs!=`function`)throw TypeError("Expected `jsxs` in production options");r=Ic(n,t.jsx,t.jsxs)}let i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||`react`,evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space===`svg`?Vt:Xt,stylePropertyNameCase:t.stylePropertyNameCase||`dom`,tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=Dc(i,e,void 0);return a&&typeof a!=`string`?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function Dc(e,t,n){if(t.type===`element`)return Oc(e,t,n);if(t.type===`mdxFlowExpression`||t.type===`mdxTextExpression`)return kc(e,t);if(t.type===`mdxJsxFlowElement`||t.type===`mdxJsxTextElement`)return jc(e,t,n);if(t.type===`mdxjsEsm`)return Ac(e,t);if(t.type===`root`)return Mc(e,t,n);if(t.type===`text`)return Nc(e,t)}function Oc(e,t,n){let r=e.schema,i=r;t.tagName.toLowerCase()===`svg`&&r.space===`html`&&(i=Vt,e.schema=i),e.ancestors.push(t);let a=Uc(e,t.tagName,!1),o=Rc(e,t),s=Bc(e,t);return wc.has(t.tagName)&&(s=s.filter(function(e){return typeof e==`string`?!Kt(e):!0})),Pc(e,o,a,t),Fc(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function kc(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}Wc(e,t.position)}function Ac(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Wc(e,t.position)}function jc(e,t,n){let r=e.schema,i=r;t.name===`svg`&&r.space===`html`&&(i=Vt,e.schema=i),e.ancestors.push(t);let a=t.name===null?e.Fragment:Uc(e,t.name,!0),o=zc(e,t),s=Bc(e,t);return Pc(e,o,a,t),Fc(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function Mc(e,t,n){let r={};return Fc(r,Bc(e,t)),e.create(t,e.Fragment,r,n)}function Nc(e,t){return t.value}function Pc(e,t,n,r){typeof n!=`string`&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Fc(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function Ic(e,t,n){return r;function r(e,r,i,a){let o=Array.isArray(i.children)?n:t;return a?o(r,i,a):o(r,i)}}function Lc(e,t){return n;function n(n,r,i,a){let o=Array.isArray(i.children),s=cn(n);return t(r,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function Rc(e,t){let n={},r,i;for(i in t.properties)if(i!==`children`&&xc.call(t.properties,i)){let a=Vc(e,i,t.properties[i]);if(a){let[i,o]=a;e.tableCellAlignToStyle&&i===`align`&&typeof o==`string`&&Tc.has(t.tagName)?r=o:n[i]=o}}if(r){let t=n.style||={};t[e.stylePropertyNameCase===`css`?`text-align`:`textAlign`]=r}return n}function zc(e,t){let n={};for(let r of t.attributes)if(r.type===`mdxJsxExpressionAttribute`)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let a=i.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else Wc(e,t.position);else{let i=r.name,a;if(r.value&&typeof r.value==`object`)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,a=e.evaluater.evaluateExpression(t.expression)}else Wc(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function Bc(e,t){let n=[],r=-1,i=e.passKeys?new Map:Sc;for(;++r<t.children.length;){let a=t.children[r],o;if(e.passKeys){let e=a.type===`element`?a.tagName:a.type===`mdxJsxFlowElement`||a.type===`mdxJsxTextElement`?a.name:void 0;if(e){let t=i.get(e)||0;o=e+`-`+t,i.set(e,t+1)}}let s=Dc(e,a,o);s!==void 0&&n.push(s)}return n}function Vc(e,t,n){let r=Ht(e.schema,t);if(!(n==null||typeof n==`number`&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?qt(n):Wt(n)),r.property===`style`){let t=typeof n==`object`?n:Hc(e,String(n));return e.stylePropertyNameCase===`css`&&(t=Gc(t)),[`style`,t]}return[e.elementAttributeNameCase===`react`&&r.space?Jt[r.property]||r.property:r.attribute,n]}}function Hc(e,t){try{return(0,bc.default)(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};let n=t,r=new rn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:`style`,source:`hast-util-to-jsx-runtime`});throw r.file=e.filePath||void 0,r.url=`https://github.com/syntax-tree/hast-util-to-jsx-runtime#cannot-parse-style-attribute`,r}}function Uc(e,t,n){let r;if(!n)r={type:`Literal`,value:t};else if(t.includes(`.`)){let e=t.split(`.`),n=-1,i;for(;++n<e.length;){let t=gc(e[n])?{type:`Identifier`,name:e[n]}:{type:`Literal`,value:e[n]};i=i?{type:`MemberExpression`,object:i,property:t,computed:!!(n&&t.type===`Literal`),optional:!1}:t}r=i}else r=gc(t)&&!/^[a-z]/.test(t)?{type:`Identifier`,name:t}:{type:`Literal`,value:t};if(r.type===`Literal`){let t=r.value;return xc.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);Wc(e)}function Wc(e,t){let n=new rn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:`mdx-estree`,source:`hast-util-to-jsx-runtime`});throw n.file=e.filePath||void 0,n.url=`https://github.com/syntax-tree/hast-util-to-jsx-runtime#cannot-handle-mdx-estrees-without-createevaluater`,n}function Gc(e){let t={},n;for(n in e)xc.call(e,n)&&(t[Kc(n)]=e[n]);return t}function Kc(e){let t=e.replace(Cc,qc);return t.slice(0,3)===`ms-`&&(t=`-`+t),t}function qc(e){return`-`+e.toLowerCase()}var Jc={action:[`form`],cite:[`blockquote`,`del`,`ins`,`q`],data:[`object`],formAction:[`button`,`input`],href:[`a`,`area`,`base`,`link`],icon:[`menuitem`],itemId:null,manifest:[`html`],ping:[`a`,`area`],poster:[`video`],src:[`audio`,`embed`,`iframe`,`img`,`input`,`script`,`source`,`track`,`video`]},Yc={};function Xc(e,t){let n=t||Yc;return Zc(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function Zc(e,t,n){if($c(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return Qc(e.children,t,n)}return Array.isArray(e)?Qc(e,t,n):``}function Qc(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=Zc(e[i],t,n);return r.join(``)}function $c(e){return!!(e&&typeof e==`object`)}var el=document.createElement(`i`);function tl(e){let t=`&`+e+`;`;el.innerHTML=t;let n=el.textContent;return n.charCodeAt(n.length-1)===59&&e!==`semi`||n===t?!1:n}function G(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function nl(e,t){return e.length>0?(G(e,e.length,0,t),e):t}var rl={}.hasOwnProperty;function il(e){let t={},n=-1;for(;++n<e.length;)al(t,e[n]);return t}function al(e,t){let n;for(n in t){let r=(rl.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){rl.call(r,a)||(r[a]=[]);let e=i[a];ol(r[a],Array.isArray(e)?e:e?[e]:[])}}}function ol(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);G(e,0,0,r)}function sl(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}function cl(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}var K=gl(/[A-Za-z]/),q=gl(/[\dA-Za-z]/),ll=gl(/[#-'*+\--9=?A-Z^-~]/);function ul(e){return e!==null&&(e<32||e===127)}var dl=gl(/\d/),fl=gl(/[\dA-Fa-f]/),pl=gl(/[!-/:-@[-`{-~]/);function J(e){return e!==null&&e<-2}function Y(e){return e!==null&&(e<0||e===32)}function X(e){return e===-2||e===-1||e===32}var ml=gl(/\p{P}|\p{S}/u),hl=gl(/\s/);function gl(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function _l(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&q(e.charCodeAt(n+1))&&q(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}else o=String.fromCharCode(a);o&&=(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,``),i&&=(n+=i,0)}return t.join(``)+e.slice(r)}function Z(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return X(r)?(e.enter(n),s(r)):t(r)}function s(r){return X(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var vl={tokenize:yl};function yl(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Z(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return J(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var bl={tokenize:Sl},xl={tokenize:Cl};function Sl(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end={...o},s++;return G(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(xl,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(xl,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{_tokenizer:i,contentType:`flow`,previous:a}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return J(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end={...c},e++;G(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-->r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Cl(e,t,n){return Z(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}function wl(e){if(e===null||Y(e)||hl(e))return 1;if(ml(e))return 2}function Tl(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var El={name:`attention`,resolveAll:Dl,tokenize:Ol};function Dl(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};kl(d,-c),kl(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:{...e[r][1].end}},s={type:c>1?`strongSequence`:`emphasisSequence`,start:{...e[n][1].start},end:f},a={type:c>1?`strongText`:`emphasisText`,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?`strong`:`emphasis`,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=nl(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=nl(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=nl(l,Tl(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=nl(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=nl(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,G(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function Ol(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=wl(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=wl(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function kl(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Al={name:`autolink`,tokenize:jl};function jl(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return K(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||q(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||q(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||ul(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):ll(t)?(e.consume(t),l):n(t)}function u(e){return q(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||q(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}var Ml={partial:!0,tokenize:Nl};function Nl(e,t,n){return r;function r(t){return X(t)?Z(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||J(e)?t(e):n(e)}}var Pl={continuation:{tokenize:Il},exit:Ll,name:`blockQuote`,tokenize:Fl};function Fl(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return X(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function Il(e,t,n){let r=this;return i;function i(t){return X(t)?Z(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(Pl,t,n)(r)}}function Ll(e){e.exit(`blockQuote`)}var Rl={name:`characterEscape`,tokenize:zl};function zl(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return pl(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var Bl={name:`characterReference`,tokenize:Vl};function Vl(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=q,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=fl,u):(e.enter(`characterReferenceValue`),a=7,o=dl,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===q&&!tl(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var Hl={partial:!0,tokenize:Gl},Ul={concrete:!0,name:`codeFenced`,tokenize:Wl};function Wl(e,t,n){let r=this,i={partial:!0,tokenize:x},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),X(t)?Z(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||J(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(Hl,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||J(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):X(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),Z(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||J(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||J(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&X(t)?Z(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||J(t)?e.check(Hl,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||J(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function x(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),X(t)?Z(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),X(t)?Z(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||J(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function Gl(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var Kl={name:`codeIndented`,tokenize:Jl},ql={partial:!0,tokenize:Yl};function Jl(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),Z(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):J(t)?e.attempt(ql,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||J(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function Yl(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):J(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):Z(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):J(e)?i(e):n(e)}}var Xl={name:`codeText`,previous:Ql,resolve:Zl,tokenize:$l};function Zl(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Ql(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function $l(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):J(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||J(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var eu=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&tu(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),tu(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),tu(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);tu(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);tu(this.left,t.reverse())}}};function tu(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function nu(e){let t={},n=-1,r,i,a,o,s,c,l,u=new eu(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,ru(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);else if(!(o[1].type===`linePrefix`||o[1].type===`listItemIndent`))break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return G(e,0,1/0,u.slice(0)),!l}function ru(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var iu={resolve:ou,tokenize:su},au={partial:!0,tokenize:cu};function ou(e){return nu(e),e}function su(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):J(t)?e.check(au,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function cu(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Z(e,a,`linePrefix`)}function a(i){if(i===null||J(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function lu(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||ul(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||J(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||Y(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||ul(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}function uu(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):J(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||J(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!X(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function du(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):J(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Z(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||J(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}function fu(e,t){let n;return r;function r(i){return J(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):X(i)?Z(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var pu={name:`definition`,tokenize:hu},mu={partial:!0,tokenize:gu};function hu(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return uu.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=cl(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return Y(t)?fu(e,l)(t):l(t)}function l(t){return lu(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(mu,d,d)(t)}function d(t){return X(t)?Z(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||J(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function gu(e,t,n){return r;function r(t){return Y(t)?fu(e,i)(t):n(t)}function i(t){return du(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return X(t)?Z(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||J(e)?t(e):n(e)}}var _u={name:`hardBreakEscape`,tokenize:vu};function vu(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return J(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var yu={name:`headingAtx`,resolve:bu,tokenize:xu};function bu(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},G(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function xu(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||Y(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||J(n)?(e.exit(`atxHeading`),t(n)):X(n)?Z(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||Y(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var Su=`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`.split(`.`),Cu=[`pre`,`script`,`style`,`textarea`],wu={concrete:!0,name:`htmlFlow`,resolveTo:Du,tokenize:Ou},Tu={partial:!0,tokenize:Au},Eu={partial:!0,tokenize:ku};function Du(e){let t=e.length;for(;t--&&!(e[t][0]===`enter`&&e[t][1].type===`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Ou(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:I):K(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):K(a)?(e.consume(a),i=4,r.interrupt?t:I):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:I):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:O:m):n(i)}function h(t){return K(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||Y(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&Cu.includes(l)?(i=1,r.interrupt?t(s):O(s)):Su.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):O(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||q(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:O):n(i)}function v(t){return X(t)?(e.consume(t),v):E(t)}function y(t){return t===47?(e.consume(t),E):t===58||t===95||K(t)?(e.consume(t),b):X(t)?(e.consume(t),y):E(t)}function b(t){return t===45||t===46||t===58||t===95||q(t)?(e.consume(t),b):x(t)}function x(t){return t===61?(e.consume(t),S):X(t)?(e.consume(t),x):y(t)}function S(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,C):X(t)?(e.consume(t),S):w(t)}function C(t){return t===c?(e.consume(t),c=null,T):t===null||J(t)?n(t):(e.consume(t),C)}function w(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||Y(t)?x(t):(e.consume(t),w)}function T(e){return e===47||e===62||X(e)?y(e):n(e)}function E(t){return t===62?(e.consume(t),D):n(t)}function D(t){return t===null||J(t)?O(t):X(t)?(e.consume(t),D):n(t)}function O(t){return t===45&&i===2?(e.consume(t),M):t===60&&i===1?(e.consume(t),N):t===62&&i===4?(e.consume(t),L):t===63&&i===3?(e.consume(t),I):t===93&&i===5?(e.consume(t),F):J(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(Tu,R,k)(t)):t===null||J(t)?(e.exit(`htmlFlowData`),k(t)):(e.consume(t),O)}function k(t){return e.check(Eu,A,R)(t)}function A(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),j}function j(t){return t===null||J(t)?k(t):(e.enter(`htmlFlowData`),O(t))}function M(t){return t===45?(e.consume(t),I):O(t)}function N(t){return t===47?(e.consume(t),o=``,P):O(t)}function P(t){if(t===62){let n=o.toLowerCase();return Cu.includes(n)?(e.consume(t),L):O(t)}return K(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),P):O(t)}function F(t){return t===93?(e.consume(t),I):O(t)}function I(t){return t===62?(e.consume(t),L):t===45&&i===2?(e.consume(t),I):O(t)}function L(t){return t===null||J(t)?(e.exit(`htmlFlowData`),R(t)):(e.consume(t),L)}function R(n){return e.exit(`htmlFlow`),t(n)}}function ku(e,t,n){let r=this;return i;function i(t){return J(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function Au(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(Ml,t,n)}}var ju={name:`htmlText`,tokenize:Mu};function Mu(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),x):t===63?(e.consume(t),y):K(t)?(e.consume(t),w):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):K(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):J(t)?(o=d,N(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?M(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):J(t)?(o=h,N(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?M(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?M(t):J(t)?(o=v,N(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):J(t)?(o=y,N(t)):(e.consume(t),y)}function b(e){return e===62?M(e):y(e)}function x(t){return K(t)?(e.consume(t),S):n(t)}function S(t){return t===45||q(t)?(e.consume(t),S):C(t)}function C(t){return J(t)?(o=C,N(t)):X(t)?(e.consume(t),C):M(t)}function w(t){return t===45||q(t)?(e.consume(t),w):t===47||t===62||Y(t)?T(t):n(t)}function T(t){return t===47?(e.consume(t),M):t===58||t===95||K(t)?(e.consume(t),E):J(t)?(o=T,N(t)):X(t)?(e.consume(t),T):M(t)}function E(t){return t===45||t===46||t===58||t===95||q(t)?(e.consume(t),E):D(t)}function D(t){return t===61?(e.consume(t),O):J(t)?(o=D,N(t)):X(t)?(e.consume(t),D):T(t)}function O(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,k):J(t)?(o=O,N(t)):X(t)?(e.consume(t),O):(e.consume(t),A)}function k(t){return t===i?(e.consume(t),i=void 0,j):t===null?n(t):J(t)?(o=k,N(t)):(e.consume(t),k)}function A(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||Y(t)?T(t):(e.consume(t),A)}function j(e){return e===47||e===62||Y(e)?T(e):n(e)}function M(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function N(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),P}function P(t){return X(t)?Z(e,F,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):F(t)}function F(t){return e.enter(`htmlTextData`),o(t)}}var Nu={name:`labelEnd`,resolveAll:Lu,resolveTo:Ru,tokenize:zu},Pu={tokenize:Bu},Fu={tokenize:Vu},Iu={tokenize:Hu};function Lu(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type===`labelImage`||r.type===`labelLink`||r.type===`labelEnd`){let e=r.type===`labelImage`?4:2;r.type=`data`,t+=e}}return e.length!==n.length&&G(e,0,e.length,n),e}function Ru(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:`label`,start:{...e[a][1].start},end:{...e[o][1].end}},u={type:`labelText`,start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[[`enter`,c,t],[`enter`,l,t]],s=nl(s,e.slice(a+1,a+r+3)),s=nl(s,[[`enter`,u,t]]),s=nl(s,Tl(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=nl(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=nl(s,e.slice(o+1)),s=nl(s,[[`exit`,c,t]]),G(e,a,e.length,s),e}function zu(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(cl(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(Pu,u,o?u:d)(t):t===91?e.attempt(Fu,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(Iu,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function Bu(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return Y(t)?fu(e,a)(t):a(t)}function a(t){return t===41?u(t):lu(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return Y(t)?fu(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?du(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return Y(t)?fu(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function Vu(e,t,n){let r=this;return i;function i(t){return uu.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(cl(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function Hu(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var Uu={name:`labelStartImage`,resolveAll:Nu.resolveAll,tokenize:Wu};function Wu(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var Gu={name:`labelStartLink`,resolveAll:Nu.resolveAll,tokenize:Ku};function Ku(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var qu={name:`lineEnding`,tokenize:Ju};function Ju(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Z(e,t,`linePrefix`)}}var Yu={name:`thematicBreak`,tokenize:Xu};function Xu(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||J(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),X(t)?Z(e,s,`whitespace`)(t):s(t))}}var Q={continuation:{tokenize:ed},exit:nd,name:`list`,tokenize:$u},Zu={partial:!0,tokenize:rd},Qu={partial:!0,tokenize:td};function $u(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:dl(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(Yu,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return dl(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(Ml,r.interrupt?n:u,e.attempt(Zu,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return X(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function ed(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(Ml,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Z(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!X(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Qu,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Z(e,e.attempt(Q,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function td(e,t,n){let r=this;return Z(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function nd(e){e.exit(this.containerState.type)}function rd(e,t,n){let r=this;return Z(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!X(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var id={name:`setextUnderline`,resolveTo:ad,tokenize:od};function ad(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push([`exit`,o,t]),e}function od(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),X(t)?Z(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||J(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var sd={tokenize:cd};function cd(e){let t=this,n=e.attempt(Ml,r,e.attempt(this.parser.constructs.flowInitial,i,Z(e,e.attempt(this.parser.constructs.flow,i,e.attempt(iu,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var ld={resolveAll:pd()},ud=fd(`string`),dd=fd(`text`);function fd(e){return{resolveAll:pd(e===`text`?md:void 0),tokenize:t};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function pd(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function md(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var hd=t({attentionMarkers:()=>Cd,contentInitial:()=>_d,disable:()=>wd,document:()=>gd,flow:()=>yd,flowInitial:()=>vd,insideSpan:()=>Sd,string:()=>bd,text:()=>xd}),gd={42:Q,43:Q,45:Q,48:Q,49:Q,50:Q,51:Q,52:Q,53:Q,54:Q,55:Q,56:Q,57:Q,62:Pl},_d={91:pu},vd={[-2]:Kl,[-1]:Kl,32:Kl},yd={35:yu,42:Yu,45:[id,Yu],60:wu,61:id,95:Yu,96:Ul,126:Ul},bd={38:Bl,92:Rl},xd={[-5]:qu,[-4]:qu,[-3]:qu,33:Uu,38:Bl,42:El,60:[Al,ju],91:Gu,92:[_u,Rl],93:Nu,95:El,96:Xl},Sd={null:[El,ld]},Cd={null:[42,95]},wd={null:[]};function Td(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],c={attempt:C(x),check:C(S),consume:v,enter:y,exit:b,interrupt:C(S,{interrupt:!0})},l={code:null,containerState:{},defineSkip:h,events:[],now:m,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=nl(o,e),g(),o[o.length-1]===null?(w(t,0),l.events=Tl(a,l.events,l),l.events):[]}function f(e,t){return Dd(p(e),t)}function p(e){return Ed(o,e)}function m(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function h(e){i[e.line]=e.column,E()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){J(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,E()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function x(e,t){w(e,t.from)}function S(e,t){t.restore()}function C(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=T(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function w(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&G(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function T(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{from:i,restore:o};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,E()}}function E(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Ed(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Dd(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
|
|
194
|
+
`;break;case-3:o=`\r
|
|
195
|
+
`;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}function Od(e){let t={constructs:il([hd,...(e||{}).extensions||[]]),content:n(vl),defined:[],document:n(bl),flow:n(sd),lazy:{},string:n(ud),text:n(dd)};return t;function n(e){return n;function n(n){return Td(t,e,n)}}}function kd(e){for(;!nu(e););return e}var Ad=/[\0\t\n\r]/g;function jd(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(Ad.lastIndex=u,c=Ad.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}var Md=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Nd(e){return e.replace(Md,Pd)}function Pd(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return sl(n.slice(t?2:1),t?16:10)}return tl(n)||e}var Fd={}.hasOwnProperty;function Id(e,t,n){return t&&typeof t==`object`&&(n=t,t=void 0),Ld(n)(kd(Od(n).document().write(jd()(e,t,!0))))}function Ld(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(me),autolinkProtocol:T,autolinkEmail:T,atxHeading:a(z),blockQuote:a(se),characterEscape:T,characterReference:T,codeFenced:a(ce),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(ce,o),codeText:a(le,o),codeTextData:T,data:T,codeFlowValue:T,definition:a(ue),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(de),hardBreakEscape:a(fe),hardBreakTrailing:a(fe),htmlFlow:a(B,o),htmlFlowData:T,htmlText:a(B,o),htmlTextData:T,image:a(pe),label:o,link:a(me),listItem:a(ge),listItemValue:f,listOrdered:a(he,d),listUnordered:a(he),paragraph:a(_e),reference:ee,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(z),strong:a(ve),thematicBreak:a(be)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:oe,autolinkProtocol:ae,blockQuote:c(),characterEscapeValue:E,characterReferenceMarkerHexadecimal:ne,characterReferenceMarkerNumeric:ne,characterReferenceValue:re,characterReference:ie,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:E,codeIndented:c(_),codeText:c(j),codeTextData:E,data:E,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(O),hardBreakTrailing:c(O),htmlFlow:c(k),htmlFlowData:E,htmlText:c(A),htmlTextData:E,image:c(N),label:F,labelText:P,lineEnding:D,link:c(M),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:te,resourceDestinationString:I,resourceTitleString:L,resource:R,setextHeading:c(w),setextHeadingLineSequence:C,setextHeadingText:S,strong:c(),thematicBreak:c()}};zd(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];Fd.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||Vd).call(a,void 0,e[0])}for(r.position={start:Rd(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Rd(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:Rd(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Vd).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+ln({start:e.start,end:e.end})+`): it’s not open`);n.position.end=Rd(e.end)}function u(){return Xc(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=cl(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function w(){this.data.setextHeadingSlurpLineEnding=void 0}function T(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=ye(),n.position={start:Rd(e.start),end:void 0},t.push(n)),this.stack.push(n)}function E(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=Rd(e.end)}function D(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=Rd(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(T.call(this,e),E.call(this,e))}function O(){this.data.atHardBreak=!0}function k(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function A(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function j(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function M(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function N(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function P(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=Nd(t),n.identifier=cl(t).toLowerCase()}function F(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function I(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function L(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function R(){this.data.inReference=void 0}function ee(){this.data.referenceType=`collapsed`}function te(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=cl(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function ne(e){this.data.characterReferenceType=e.type}function re(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=sl(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=tl(t);let i=this.stack[this.stack.length-1];i.value+=r}function ie(e){let t=this.stack.pop();t.position.end=Rd(e.end)}function ae(e){E.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function oe(e){E.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function se(){return{type:`blockquote`,children:[]}}function ce(){return{type:`code`,lang:null,meta:null,value:``}}function le(){return{type:`inlineCode`,value:``}}function ue(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function de(){return{type:`emphasis`,children:[]}}function z(){return{type:`heading`,depth:0,children:[]}}function fe(){return{type:`break`}}function B(){return{type:`html`,value:``}}function pe(){return{type:`image`,title:null,url:``,alt:null}}function me(){return{type:`link`,title:null,url:``,children:[]}}function he(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function ge(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function _e(){return{type:`paragraph`,children:[]}}function ve(){return{type:`strong`,children:[]}}function ye(){return{type:`text`,value:``}}function be(){return{type:`thematicBreak`}}}function Rd(e){return{line:e.line,column:e.column,offset:e.offset}}function zd(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?zd(e,r):Bd(e,r)}}function Bd(e,t){let n;for(n in t)if(Fd.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function Vd(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+ln({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ln({start:t.start,end:t.end})+`) is open`:"Cannot close document, a token (`"+t.type+"`, "+ln({start:t.start,end:t.end})+`) is still open`)}function Hd(e){let t=this;t.parser=n;function n(n){return Id(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function Ud(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Wd(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
|
|
196
|
+
`}]}function Gd(e,t){let n=t.value?t.value+`
|
|
197
|
+
`:``,r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=[`language-`+i[0]]);let a={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:`element`,tagName:`pre`,properties:{},children:[a]},e.patch(t,a),a}function Kd(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function qd(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Jd(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=_l(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}function Yd(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Xd(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Zd(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}function Qd(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Zd(e,t);let i={src:_l(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function $d(e,t){let n={src:_l(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function ef(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function tf(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Zd(e,t);let i={href:_l(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function nf(e,t){let n={href:_l(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function rf(e,t,n){let r=e.all(t),i=n?af(n):of(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:`
|
|
198
|
+
`}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:`
|
|
199
|
+
`});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function af(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=of(n[r])}return t}function of(e){return e.spread??e.children.length>1}function sf(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function cf(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function lf(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function uf(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function df(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=cn(t.children[1]),o=mn(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function ff(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}function pf(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var mf=9,hf=32;function gf(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(_f(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(_f(t.slice(i),i>0,!1)),a.join(``)}function _f(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===mf||t===hf;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===mf||t===hf;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}function vf(e,t){let n={type:`text`,value:gf(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function yf(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var bf={blockquote:Ud,break:Wd,code:Gd,delete:Kd,emphasis:qd,footnoteReference:Jd,heading:Yd,html:Xd,imageReference:Qd,image:$d,inlineCode:ef,linkReference:tf,link:nf,listItem:rf,list:sf,paragraph:cf,root:lf,strong:uf,table:df,tableCell:pf,tableRow:ff,text:vf,thematicBreak:yf,toml:xf,yaml:xf,definition:xf,footnoteDefinition:xf};function xf(){}function Sf(e,t){let n=[{type:`text`,value:`↩`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function Cf(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function wf(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||Sf,r=e.options.footnoteBackLabel||Cf,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=_l(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{...fn(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
|
|
200
|
+
`},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
|
|
201
|
+
`}]}}var Tf=(function(e){if(e==null)return Af;if(typeof e==`function`)return kf(e);if(typeof e==`object`)return Array.isArray(e)?Ef(e):Df(e);if(typeof e==`string`)return Of(e);throw Error(`Expected function, string, or object as test`)});function Ef(e){let t=[],n=-1;for(;++n<e.length;)t[n]=Tf(e[n]);return kf(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function Df(e){let t=e;return kf(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function Of(e){return kf(t);function t(t){return t&&t.type===e}}function kf(e){return t;function t(t,n,r){return!!(jf(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function Af(){return!0}function jf(e){return typeof e==`object`&&!!e&&`type`in e}function Mf(e){return e}var Nf=[];function Pf(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=Tf(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,"name",{value:`node (`+Mf(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=Nf,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=Ff(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function Ff(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?Nf:[e]}function If(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),Pf(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var Lf={}.hasOwnProperty,Rf={};function zf(e,t){let n=t||Rf,r=new Map,i=new Map,a={all:s,applyData:Vf,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...bf,...n.handlers},one:o,options:n,patch:Bf,wrap:Uf};return If(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if(Lf.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=fn(n);return r.children=a.all(e),r}return fn(e)}return(a.options.unknownHandler||Hf)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=Wf(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=Wf(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function Bf(e,t){e.position&&(t.position=nn(e))}function Vf(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,fn(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function Hf(e,t){let n=t.data||{},r=`value`in t&&!(Lf.call(n,`hProperties`)||Lf.call(n,`hChildren`))?{type:`text`,value:t.value}:{type:`element`,tagName:`div`,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Uf(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
|
|
202
|
+
`});++r<e.length;)r&&n.push({type:`text`,value:`
|
|
203
|
+
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
|
|
204
|
+
`}),n}function Wf(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Gf(e,t){let n=zf(e,t),r=n.one(e,void 0),i=wf(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:`
|
|
205
|
+
`},i)),a}function Kf(e,t){return e&&`run`in e?async function(n,r){let i=Gf(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Gf(n,{file:r,...e||t})}}function qf(e){if(e)throw e}var Jf=e(n(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}))(),1);function Yf(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Xf(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?Zf(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function Zf(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var Qf=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),$f={}.hasOwnProperty,ep=new class e extends Qf{constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Xf()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,Jf.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(rp(`data`,this.frozen),this.namespace[e]=t,this):$f.call(this.namespace,e)&&this.namespace[e]||void 0:e?(rp(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=op(e),n=this.parser||this.Parser;return tp(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),tp(`process`,this.parser||this.Parser),np(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=op(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);cp(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),tp(`processSync`,this.parser||this.Parser),np(`processSync`,this.compiler||this.Compiler),this.process(e,r),ap(`processSync`,`process`,t),n;function r(e,r){t=!0,qf(e),n=r}}run(e,t,n){ip(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=op(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),ap(`runSync`,`run`,n),r;function i(e,t){qf(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=op(t),r=this.compiler||this.Compiler;return np(`stringify`,r),ip(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(rp(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,Jf.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];Yf(o)&&Yf(r)&&(r=(0,Jf.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function tp(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function np(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function rp(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ip(e){if(!Yf(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function ap(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function op(e){return sp(e)?e:new hn(e)}function sp(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function cp(e){return typeof e==`string`||lp(e)}function lp(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var up=[],dp={allowDangerousHtml:!0},fp=/^(https?|ircs?|mailto|xmpp)$/i,pp=[{from:`astPlugins`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowDangerousHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowNode`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowElement`},{from:`allowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowedElements`},{from:`className`,id:`remove-classname`},{from:`disallowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`disallowedElements`},{from:`escapeHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`includeElementIndex`,id:`#remove-includeelementindex`},{from:`includeNodeIndex`,id:`change-includenodeindex-to-includeelementindex`},{from:`linkTarget`,id:`remove-linktarget`},{from:`plugins`,id:`change-plugins-to-remarkplugins`,to:`remarkPlugins`},{from:`rawSourcePos`,id:`#remove-rawsourcepos`},{from:`renderers`,id:`change-renderers-to-components`,to:`components`},{from:`source`,id:`change-source-to-children`,to:`children`},{from:`sourcePos`,id:`#remove-sourcepos`},{from:`transformImageUri`,id:`#add-urltransform`,to:`urlTransform`},{from:`transformLinkUri`,id:`#add-urltransform`,to:`urlTransform`}];function mp(e){let t=hp(e),n=gp(e);return _p(t.runSync(t.parse(n),n),e)}function hp(e){let t=e.rehypePlugins||up,n=e.remarkPlugins||up,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...dp}:dp;return ep().use(Hd).use(n).use(Kf,r).use(t)}function gp(e){let t=e.children||``,n=new hn;return typeof t==`string`?n.value=t:``+t,n}function _p(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,c=t.urlTransform||vp;for(let e of pp)Object.hasOwn(t,e.from)&&``+e.from+(e.to?"use `"+e.to+"` instead":`remove it`)+e.id;return If(e,l),Ec(e,{Fragment:W.Fragment,components:i,ignoreInvalidStyle:!0,jsx:W.jsx,jsxs:W.jsxs,passKeys:!0,passNode:!0});function l(e,t,i){if(e.type===`raw`&&i&&typeof t==`number`)return o?i.children.splice(t,1):i.children[t]={type:`text`,value:e.value},t;if(e.type===`element`){let t;for(t in Jc)if(Object.hasOwn(Jc,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=Jc[t];(r===null||r.includes(e.tagName))&&(e.properties[t]=c(String(n||``),t,e))}}if(e.type===`element`){let o=n?!n.includes(e.tagName):a?a.includes(e.tagName):!1;if(!o&&r&&typeof t==`number`&&(o=!r(e,t,i)),o&&i&&typeof t==`number`)return s&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}}function vp(e){let t=e.indexOf(`:`),n=e.indexOf(`?`),r=e.indexOf(`#`),i=e.indexOf(`/`);return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||fp.test(e.slice(0,t))?e:``}var yp={0:`�`,128:`€`,130:`‚`,131:`ƒ`,132:`„`,133:`…`,134:`†`,135:`‡`,136:`ˆ`,137:`‰`,138:`Š`,139:`‹`,140:`Œ`,142:`Ž`,145:`‘`,146:`’`,147:`“`,148:`”`,149:`•`,150:`–`,151:`—`,152:`˜`,153:`™`,154:`š`,155:`›`,156:`œ`,158:`ž`,159:`Ÿ`};function bp(e){let t=typeof e==`string`?e.charCodeAt(0):e;return t>=48&&t<=57}function xp(e){let t=typeof e==`string`?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Sp(e){let t=typeof e==`string`?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Cp(e){return Sp(e)||bp(e)}var wp=[``,`Named character references must be terminated by a semicolon`,`Numeric character references must be terminated by a semicolon`,`Named character references cannot be empty`,`Numeric character references cannot be empty`,`Named character references must be known`,`Numeric character references cannot be disallowed`,`Numeric character references cannot be outside the permissible Unicode range`];function Tp(e,t){let n=t||{},r=typeof n.additional==`string`?n.additional.charCodeAt(0):n.additional,i=[],a=0,o=-1,s=``,c,l;n.position&&(`start`in n.position||`indent`in n.position?(l=n.position.indent,c=n.position.start):c=n.position);let u=(c?c.line:0)||1,d=(c?c.column:0)||1,f=m(),p;for(a--;++a<=e.length;)if(p===10&&(d=(l?l[o]:0)||1),p=e.charCodeAt(a),p===38){let t=e.charCodeAt(a+1);if(t===9||t===10||t===12||t===32||t===38||t===60||Number.isNaN(t)||r&&t===r){s+=String.fromCharCode(p),d++;continue}let o=a+1,c=o,l=o,u;if(t===35){l=++c;let t=e.charCodeAt(l);t===88||t===120?(u=`hexadecimal`,l=++c):u=`decimal`}else u=`named`;let _=``,v=``,y=``,b=u===`named`?Cp:u===`decimal`?bp:xp;for(l--;++l<=e.length;){let t=e.charCodeAt(l);if(!b(t))break;y+=String.fromCharCode(t),u===`named`&&Bt.includes(y)&&(_=y,v=tl(y))}let x=e.charCodeAt(l)===59;if(x){l++;let e=u===`named`?tl(y):!1;e&&(_=y,v=e)}let S=1+l-o,C=``;if(!(!x&&n.nonTerminated===!1))if(!y)u!==`named`&&h(4,S);else if(u===`named`){if(x&&!v)h(5,1);else if(_!==y&&(l=c+_.length,S=1+l-c,x=!1),!x){let t=_?1:3;if(n.attribute){let n=e.charCodeAt(l);n===61?(h(t,S),v=``):Cp(n)?v=``:h(t,S)}else h(t,S)}C=v}else{x||h(2,S);let e=Number.parseInt(y,u===`hexadecimal`?16:10);if(Ep(e))h(7,S),C=`�`;else if(e in yp)h(6,S),C=yp[e];else{let t=``;Dp(e)&&h(6,S),e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|e&1023),C=t+String.fromCharCode(e)}}if(C){g(),f=m(),a=l-1,d+=l-o+1,i.push(C);let t=m();t.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,C,{start:f,end:t},e.slice(o-1,l)),f=t}else y=e.slice(o-1,l),s+=y,d+=y.length,a=l-1}else p===10&&(u++,o++,d=0),Number.isNaN(p)?g():(s+=String.fromCharCode(p),d++);return i.join(``);function m(){return{line:u,column:d,offset:a+((c?c.offset:0)||0)}}function h(e,t){let r;n.warning&&(r=m(),r.column+=t,r.offset+=t,n.warning.call(n.warningContext||void 0,wp[e],r,e))}function g(){s&&=(i.push(s),n.text&&n.text.call(n.textContext||void 0,s,{start:f,end:m()}),``)}}function Ep(e){return e>=55296&&e<=57343||e>1114111}function Dp(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)==65535||(e&65535)==65534}({}).hasOwnProperty;function Op(){return{canContainEols:[`textDirective`],enter:{directiveContainer:kp,directiveContainerAttributes:Ip,directiveContainerLabel:Pp,directiveLeaf:Ap,directiveLeafAttributes:Ip,directiveText:jp,directiveTextAttributes:Ip},exit:{directiveContainer:Hp,directiveContainerAttributeClassValue:Rp,directiveContainerAttributeIdValue:Lp,directiveContainerAttributeName:Bp,directiveContainerAttributeValue:zp,directiveContainerAttributes:Vp,directiveContainerLabel:Fp,directiveContainerName:Np,directiveLeaf:Hp,directiveLeafAttributeClassValue:Rp,directiveLeafAttributeIdValue:Lp,directiveLeafAttributeName:Bp,directiveLeafAttributeValue:zp,directiveLeafAttributes:Vp,directiveLeafName:Np,directiveText:Hp,directiveTextAttributeClassValue:Rp,directiveTextAttributeIdValue:Lp,directiveTextAttributeName:Bp,directiveTextAttributeValue:zp,directiveTextAttributes:Vp,directiveTextName:Np}}}function kp(e){Mp.call(this,`containerDirective`,e)}function Ap(e){Mp.call(this,`leafDirective`,e)}function jp(e){Mp.call(this,`textDirective`,e)}function Mp(e,t){this.enter({type:e,name:``,attributes:{},children:[]},t)}function Np(e){let t=this.stack[this.stack.length-1];t.type===`containerDirective`||t.type===`leafDirective`||t.type,t.name=this.sliceSerialize(e)}function Pp(e){this.enter({type:`paragraph`,data:{directiveLabel:!0},children:[]},e)}function Fp(e){this.exit(e)}function Ip(){this.data.directiveAttributes=[],this.buffer()}function Lp(e){this.data.directiveAttributes.push([`id`,Tp(this.sliceSerialize(e),{attribute:!0})])}function Rp(e){this.data.directiveAttributes.push([`class`,Tp(this.sliceSerialize(e),{attribute:!0})])}function zp(e){let t=this.data.directiveAttributes;t[t.length-1][1]=Tp(this.sliceSerialize(e),{attribute:!0})}function Bp(e){this.data.directiveAttributes.push([this.sliceSerialize(e),``])}function Vp(){let e=this.data.directiveAttributes,t={},n=-1;for(;++n<e.length;){let r=e[n];r[0]===`class`&&t.class?t.class+=` `+r[1]:t[r[0]]=r[1]}this.data.directiveAttributes=void 0,this.resume();let r=this.stack[this.stack.length-1];r.type===`containerDirective`||r.type===`leafDirective`||r.type,r.attributes=t}function Hp(e){this.exit(e)}function Up(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){let h,g;return _;function _(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),v}function v(t){return t===35?(h=o,y(t)):t===46?(h=s,y(t)):m&&X(t)?Z(e,v,`whitespace`)(t):!m&&Y(t)?fu(e,v)(t):t===null||J(t)||hl(t)||ml(t)&&t!==45&&t!==95?A(t):(e.enter(a),e.enter(c),e.consume(t),S)}function y(t){let n=h+`Marker`;return e.enter(a),e.enter(h),e.enter(n),e.consume(t),e.exit(n),b}function b(t){if(t===null||t===34||t===35||t===39||t===46||t===60||t===61||t===62||t===96||t===125||Y(t))return n(t);let r=h+`Value`;return e.enter(r),e.consume(t),x}function x(t){if(t===null||t===34||t===39||t===60||t===61||t===62||t===96)return n(t);if(t===35||t===46||t===125||Y(t)){let n=h+`Value`;return e.exit(n),e.exit(h),e.exit(a),v(t)}return e.consume(t),x}function S(t){return t===null||J(t)||hl(t)||ml(t)&&t!==45&&t!==46&&t!==58&&t!==95?(e.exit(c),m&&X(t)?Z(e,C,`whitespace`)(t):!m&&Y(t)?fu(e,C)(t):C(t)):(e.consume(t),S)}function C(t){return t===61?(e.enter(l),e.consume(t),e.exit(l),w):(e.exit(a),v(t))}function w(t){return t===null||t===60||t===61||t===62||t===96||t===125||m&&J(t)?n(t):t===34||t===39?(e.enter(u),e.enter(f),e.consume(t),e.exit(f),g=t,E):m&&X(t)?Z(e,w,`whitespace`)(t):!m&&Y(t)?fu(e,w)(t):(e.enter(d),e.enter(p),e.consume(t),g=void 0,T)}function T(t){return t===null||t===34||t===39||t===60||t===61||t===62||t===96?n(t):t===125||Y(t)?(e.exit(p),e.exit(d),e.exit(a),v(t)):(e.consume(t),T)}function E(t){return t===g?(e.enter(f),e.consume(t),e.exit(f),e.exit(u),e.exit(a),k):(e.enter(d),D(t))}function D(t){return t===g?(e.exit(d),E(t)):t===null?n(t):J(t)?m?n(t):fu(e,D)(t):(e.enter(p),e.consume(t),O)}function O(t){return t===g||t===null||J(t)?(e.exit(p),D(t)):(e.consume(t),O)}function k(e){return e===125||Y(e)?v(e):A(e)}function A(a){return a===125?(e.enter(i),e.consume(a),e.exit(i),e.exit(r),t):n(a)}}function Wp(e,t,n,r,i,a,o){let s=0,c=0,l;return u;function u(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),d}function d(n){return n===93?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),f(n))}function f(t){if(t===93&&!c)return h(t);let n=e.enter(`chunkText`,{_contentTypeTextTrailing:!0,contentType:`text`,previous:l});return l&&(l.next=n),l=n,p(t)}function p(t){return t===null||s>999||t===91&&++c>32?n(t):t===93&&!c--?(e.exit(`chunkText`),h(t)):J(t)?o?n(t):(e.consume(t),e.exit(`chunkText`),f):(e.consume(t),t===92?m:p)}function m(t){return t===91||t===92||t===93?(e.consume(t),s++,p):p(t)}function h(n){return e.exit(a),e.enter(i),e.consume(n),e.exit(i),e.exit(r),t}}function Gp(e,t,n,r){let i=this;return a;function a(t){return t===null||J(t)||ml(t)||hl(t)?n(t):(e.enter(r),e.consume(t),o)}function o(a){return a===null||J(a)||hl(a)||ml(a)&&a!==45&&a!==95?(e.exit(r),i.previous===45||i.previous===95?n(a):t(a)):(e.consume(a),o)}}var Kp={tokenize:Xp,concrete:!0},qp={tokenize:Zp,partial:!0},Jp={tokenize:Qp,partial:!0},Yp={tokenize:$p,partial:!0};function Xp(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0,s;return c;function c(t){return e.enter(`directiveContainer`),e.enter(`directiveContainerFence`),e.enter(`directiveContainerSequence`),l(t)}function l(t){return t===58?(e.consume(t),o++,l):o<3?n(t):(e.exit(`directiveContainerSequence`),Gp.call(r,e,u,n,`directiveContainerName`)(t))}function u(t){return t===91?e.attempt(qp,d,d)(t):d(t)}function d(t){return t===123?e.attempt(Jp,f,f)(t):f(t)}function f(t){return Z(e,p,`whitespace`)(t)}function p(i){return e.exit(`directiveContainerFence`),i===null?C(i):J(i)?r.interrupt?t(i):e.attempt(Yp,m,C)(i):n(i)}function m(t){return t===null?C(t):J(t)?e.check(Yp,y,C)(t):(e.enter(`directiveContainerContent`),h(t))}function h(t){return e.attempt({tokenize:w,partial:!0},S,a?Z(e,g,`linePrefix`,a+1):g)(t)}function g(t){return t===null?S(t):J(t)?e.check(Yp,v,S)(t):v(t)}function _(t){if(t===null){let n=e.exit(`chunkDocument`);return r.parser.lazy[n.start.line]=!1,S(t)}return J(t)?e.check(Yp,b,x)(t):(e.consume(t),_)}function v(t){let n=e.enter(`chunkDocument`,{contentType:`document`,previous:s});return s&&(s.next=n),s=n,_(t)}function y(t){return e.enter(`directiveContainerContent`),h(t)}function b(t){e.consume(t);let n=e.exit(`chunkDocument`);return r.parser.lazy[n.start.line]=!1,h}function x(t){let n=e.exit(`chunkDocument`);return r.parser.lazy[n.start.line]=!1,S(t)}function S(t){return e.exit(`directiveContainerContent`),C(t)}function C(n){return e.exit(`directiveContainer`),t(n)}function w(e,t,n){let i=0;return Z(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4);function a(t){return e.enter(`directiveContainerFence`),e.enter(`directiveContainerSequence`),s(t)}function s(t){return t===58?(e.consume(t),i++,s):i<o?n(t):(e.exit(`directiveContainerSequence`),Z(e,c,`whitespace`)(t))}function c(r){return r===null||J(r)?(e.exit(`directiveContainerFence`),t(r)):n(r)}}}function Zp(e,t,n){return Wp(e,t,n,`directiveContainerLabel`,`directiveContainerLabelMarker`,`directiveContainerLabelString`,!0)}function Qp(e,t,n){return Up(e,t,n,`directiveContainerAttributes`,`directiveContainerAttributesMarker`,`directiveContainerAttribute`,`directiveContainerAttributeId`,`directiveContainerAttributeClass`,`directiveContainerAttributeName`,`directiveContainerAttributeInitializerMarker`,`directiveContainerAttributeValueLiteral`,`directiveContainerAttributeValue`,`directiveContainerAttributeValueMarker`,`directiveContainerAttributeValueData`,!0)}function $p(e,t,n){let r=this;return i;function i(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var em={tokenize:rm},tm={tokenize:im,partial:!0},nm={tokenize:am,partial:!0};function rm(e,t,n){let r=this;return i;function i(t){return e.enter(`directiveLeaf`),e.enter(`directiveLeafSequence`),e.consume(t),a}function a(t){return t===58?(e.consume(t),e.exit(`directiveLeafSequence`),Gp.call(r,e,o,n,`directiveLeafName`)):n(t)}function o(t){return t===91?e.attempt(tm,s,s)(t):s(t)}function s(t){return t===123?e.attempt(nm,c,c)(t):c(t)}function c(t){return Z(e,l,`whitespace`)(t)}function l(r){return r===null||J(r)?(e.exit(`directiveLeaf`),t(r)):n(r)}}function im(e,t,n){return Wp(e,t,n,`directiveLeafLabel`,`directiveLeafLabelMarker`,`directiveLeafLabelString`,!0)}function am(e,t,n){return Up(e,t,n,`directiveLeafAttributes`,`directiveLeafAttributesMarker`,`directiveLeafAttribute`,`directiveLeafAttributeId`,`directiveLeafAttributeClass`,`directiveLeafAttributeName`,`directiveLeafAttributeInitializerMarker`,`directiveLeafAttributeValueLiteral`,`directiveLeafAttributeValue`,`directiveLeafAttributeValueMarker`,`directiveLeafAttributeValueData`,!0)}var om={tokenize:um,previous:lm},sm={tokenize:dm,partial:!0},cm={tokenize:fm,partial:!0};function lm(e){return e!==58||this.events[this.events.length-1][1].type===`characterEscape`}function um(e,t,n){let r=this;return i;function i(t){return e.enter(`directiveText`),e.enter(`directiveTextMarker`),e.consume(t),e.exit(`directiveTextMarker`),Gp.call(r,e,a,n,`directiveTextName`)}function a(t){return t===58?n(t):t===91?e.attempt(sm,o,o)(t):o(t)}function o(t){return t===123?e.attempt(cm,s,s)(t):s(t)}function s(n){return e.exit(`directiveText`),t(n)}}function dm(e,t,n){return Wp(e,t,n,`directiveTextLabel`,`directiveTextLabelMarker`,`directiveTextLabelString`)}function fm(e,t,n){return Up(e,t,n,`directiveTextAttributes`,`directiveTextAttributesMarker`,`directiveTextAttribute`,`directiveTextAttributeId`,`directiveTextAttributeClass`,`directiveTextAttributeName`,`directiveTextAttributeInitializerMarker`,`directiveTextAttributeValueLiteral`,`directiveTextAttributeValue`,`directiveTextAttributeValueMarker`,`directiveTextAttributeValueData`)}function pm(){return{text:{58:om},flow:{58:[Kp,em]}}}function mm(e){if(e==null||e.trim().length===0)return;let t=Number(e);return Number.isSafeInteger(t)&&t>0?t:void 0}function hm(e){let t=e.replaceAll(`\\`,`/`).replace(/\/+$/,``);return t.slice(t.lastIndexOf(`/`)+1)||t||`File`}function gm(e){return e.replaceAll(`%`,`%25`).replaceAll(`#`,`%23`).replaceAll(`?`,`%3F`)}function _m(e){let t=e?.path?.trim();if(!t)return null;let n=mm(e?.line_range_start),r=gm(t);return{path:t,href:n===void 0?r:`${r}#L${n}`,label:hm(t),...n===void 0?{}:{lineRangeStart:n}}}function vm(e){return e.replace(/[\\[\]*_`<&]/g,`\\$&`)}function ym(e){return e.replaceAll(`<`,`%3C`).replaceAll(`>`,`%3E`).replaceAll(`\r`,`%0D`).replaceAll(`
|
|
206
|
+
`,`%0A`)}function bm(e){return`[${vm(e.label)}](<${ym(e.href)}>)`}var xm=58,Sm=45,Cm=95,wm=`codex-file-citation`,Tm=`artifact-template`,Em=[`dataCodexArtifactTemplate`,`dataArtifactKind`,`dataDisplayName`,`dataGalleryKind`,`dataSkillDirectory`,`dataSkillName`];function Dm(e,t){let n=Array.isArray(e)?e[0]:e;if(!n)throw Error(`Missing ${t} directive construct`);return n}function Om(e){return e===null||J(e)||hl(e)||ml(e)&&e!==Sm&&e!==Cm}function km(e,t){return{partial:!0,tokenize:(n,r,i)=>{let a=0,o=0;return s;function s(t){return t===xm?(a===0&&n.enter(`data`),n.consume(t),a+=1,a===e?c:s):i(t)}function c(e){return e===t.charCodeAt(o)?(n.consume(e),o+=1,o===t.length?l:c):i(e)}function l(e){return n.exit(`data`),Om(e)?r(e):i(e)}}}}function Am(e,t,n){let r=km(t,n);return{...e,tokenize(t,n,i){return t.check(r,e.tokenize.call(this,t,n,i),i)}}}function jm(){let e=pm(),t=Dm(e.text?.[xm],wm),n=e.flow?.[xm],r=Array.isArray(n)?n.find(e=>e.concrete!==!0):n;if(!r)throw Error(`Missing ${Tm} directive construct`);return{text:{[xm]:Am(t,1,wm)},flow:{[xm]:Am(r,2,Tm)}}}var Mm=jm(),Nm=Op();function Pm(e,t){let n=e.position?.start.offset,r=e.position?.end.offset;return n===void 0||r===void 0?``:t.slice(n,r)}function Fm(e,t,n){let r=`${n}${e.name??``}`,i=Pm(e,t);if(i.startsWith(r))return i;let a=Object.entries(e.attributes??{}).map(([e,t])=>t===null?e:`${e}=${JSON.stringify(t)}`);return`${r}${a.length===0?``:`{${a.join(` `)}}`}`}function Im(e,t){e.type=`text`,e.value=Fm(e,t,`:`),delete e.name,delete e.attributes,delete e.url,delete e.data,delete e.children}function Lm(e,t){let n=Fm(e,t,`::`);e.type=`paragraph`,e.children=[{type:`text`,value:n,...e.position===void 0?{}:{position:e.position}}],delete e.name,delete e.attributes,delete e.value,delete e.url,delete e.data}function Rm(e,t,n){let r=_m(e.attributes);if(!r||n){Im(e,t);return}e.type=`link`,e.url=r.href,e.children=[{type:`text`,value:r.label}],e.data={codexFileCitationMarkdown:bm(r)},delete e.name,delete e.attributes,delete e.value}function zm(e,t){let n=cc(e.attributes);if(!n){Lm(e,t);return}e.type=`paragraph`,e.children=[],e.data={codexArtifactTemplate:n,hName:`div`,hProperties:{dataCodexArtifactTemplate:`true`,dataArtifactKind:n.artifactKind,dataDisplayName:n.displayName,...n.galleryKind===void 0?{}:{dataGalleryKind:n.galleryKind},dataSkillDirectory:n.skillDirectory,dataSkillName:n.skillName}},delete e.name,delete e.attributes,delete e.value,delete e.url}function Bm(e,t,n=!1){if(e.type===`textDirective`&&e.name===wm){Rm(e,t,n);return}if(e.type===`leafDirective`&&e.name===Tm){zm(e,t);return}let r=n||e.type===`link`||e.type===`linkReference`;for(let n of e.children??[])Bm(n,t,r)}function Vm(){let e=this.data(),t=e.micromarkExtensions??=[],n=e.fromMarkdownExtensions??=[];return t.push(Mm),n.push(Nm),(e,t)=>{Bm(e,String(t.value))}}var Hm=Vm,Um=ep().use(Hd).use(Hm).freeze();function Wm(e){return Um.runSync(Um.parse(e),{value:e})}function Gm(e,t){let n=e.position?.start.offset,r=e.position?.end.offset;if(n!==void 0&&r!==void 0){if(e.data?.codexFileCitationMarkdown!==void 0){t.push({start:n,end:r,markdown:e.data.codexFileCitationMarkdown});return}if(e.data?.codexArtifactTemplate!==void 0){t.push({start:n,end:r,template:e.data.codexArtifactTemplate});return}}for(let n of e.children??[])Gm(n,t)}function Km(e,t){let n=[];Gm(Wm(e),n);let r=e;for(let e of n.sort((e,t)=>t.start-e.start)){let n=t(e);n!==void 0&&(r=r.slice(0,e.start)+n+r.slice(e.end))}return r}function qm(e){return e.includes(`:${wm}`)?Km(e,e=>e.markdown):e}function Jm(e){return!e.includes(`:${wm}`)&&!e.includes(`::${Tm}`)?e:Km(e,e=>{if(e.markdown!==void 0)return e.markdown;if(e.template!==void 0)return`${e.template.displayName} (${dc(e.template.artifactKind)})`})}function Ym(e){if(e?.dataCodexArtifactTemplate!==`true`)return null;let t=t=>{let n=e[t];return typeof n==`string`?n:void 0};return cc({artifact_kind:t(`dataArtifactKind`),display_name:t(`dataDisplayName`),gallery_kind:t(`dataGalleryKind`),skill_directory:t(`dataSkillDirectory`),skill_name:t(`dataSkillName`)})}var Xm=`borg-cloud:`;function Zm(e){return`${Xm}${e}`}var Qm={system:`system`,customer:`customer`,user:`personal`};function $m(e){return e.tier===`customer`&&(e.customerDecision??null)===null}function eh(e){return{name:e.slug,displayName:e.name,path:Zm(e.id),enabled:e.enabled,...e.shortDescription===void 0?{}:{shortDescription:e.shortDescription},...e.description===void 0?{}:{description:e.description},...Qm[e.tier]===void 0?{}:{scope:Qm[e.tier]}}}function th(e){return e.filter(e=>!$m(e)).map(eh)}function nh(e){let t=[];for(let n of e.split(/[\s:_-]+/))n.length!==0&&t.push(n.charAt(0).toUpperCase()+n.slice(1));return t.join(` `)}function rh(e){return e.replaceAll(`\\`,`/`)}function ih(e){return e.displayName?.trim()||nh(e.name)}function ah(e){let t=new Set;return e.filter(e=>{let n=e.name.trim().toLowerCase();return t.has(n)?!1:(t.add(n),!0)})}function oh(e,t){return t?ah(e.filter(e=>e.enabled)):[]}function sh(e,t){let n=new Set(t.map(e=>e.name.trim().toLowerCase()));return e.filter(e=>!n.has(e.name.trim().toLowerCase()))}function ch(e){let t=rh(e.path);if(t.startsWith(`borg-cloud:`)){let t=e.scope?.trim().toLowerCase();return t===`customer`?`customer`:t===`system`?`system`:t===`personal`||t===`user`?`personal`:`other`}if(t.includes(`/.codex/plugins/`)||t.includes(`/.agents/plugins/`))return`app`;switch(e.scope?.trim().toLowerCase()){case`repo`:case`repository`:return`repo`;case`project`:case`workspace`:case`local`:return`project`;case`user`:case`personal`:return`personal`;case`system`:return`system`;case`customer`:return`customer`;case void 0:case``:return`other`;default:return`other`}}var lh=`inline-flex h-[1.41em] max-w-full items-center gap-[0.33em] rounded-[0.5em] px-[0.5em] font-medium leading-none align-middle`,uh=`${lh} border border-border/70 bg-accent/40 text-foreground`,dh=`${uh} text-[12px]`,fh=`${uh} text-[0.86em] select-none`,ph=`relative inline-flex align-[-0.125em] leading-none data-[composer-chip-selected]:after:pointer-events-none data-[composer-chip-selected]:after:absolute data-[composer-chip-selected]:after:inset-0 data-[composer-chip-selected]:after:rounded-[6px] data-[composer-chip-selected]:after:bg-[Highlight] data-[composer-chip-selected]:after:opacity-30 data-[composer-chip-selected]:after:content-['']`,mh=`block size-[1.17em] shrink-0 self-center opacity-85 [&>svg]:block`,hh=`truncate leading-tight`,gh=`block self-center truncate leading-tight select-none`,_h=`${lh} select-none border border-fuchsia-500/25 bg-fuchsia-500/12 text-[0.86em] text-fuchsia-700 dark:text-fuchsia-300`,vh=`<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round"><path d="M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z"/><path d="m3.3 7 8.7 5 8.7-5"/><path d="M12 22V12"/></svg>`,yh=`ml-[0.17em] inline-flex size-[1.17em] shrink-0 cursor-pointer items-center justify-center rounded-sm text-muted-foreground/72 transition-colors hover:bg-foreground/6 hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring`,bh=/(^|\s)\$([a-zA-Z][a-zA-Z0-9:_-]*)(?=\s|$)/g;function xh(e){let t=(0,U.c)(9),n,r;if(t[0]!==e.skills||t[1]!==e.text){r=Symbol.for(`react.early_return_sentinel`);bb0:{let i=[],a=0;for(let t of e.text.matchAll(bh)){let n=t[1]??``,r=t[2]??``,o=(t.index??0)+n.length,s=`$${r}`,c=e.skills.find(e=>e.name===r);c&&(o>a&&i.push(e.text.slice(a,o)),i.push((0,W.jsx)(Ch,{skill:c,rawText:s},`${o}:${r}`)),a=o+s.length)}if(a===0){let n;t[4]===e.text?n=t[5]:(n=(0,W.jsx)(W.Fragment,{children:e.text}),t[4]=e.text,t[5]=n),r=n;break bb0}if(a<e.text.length){let n;t[6]!==a||t[7]!==e.text?(n=e.text.slice(a),t[6]=a,t[7]=e.text,t[8]=n):n=t[8],i.push(n)}n=(0,W.jsx)(W.Fragment,{children:i})}t[0]=e.skills,t[1]=e.text,t[2]=n,t[3]=r}else n=t[2],r=t[3];return r===Symbol.for(`react.early_return_sentinel`)?n:r}function Sh(e,t){return H.Children.map(e,e=>{if(typeof e==`string`)return(0,W.jsx)(xh,{text:e,skills:t});if(!(0,H.isValidElement)(e))return e;let n=typeof e.type==`string`?e.type:e.props.node?.tagName;return n===`code`||n===`a`||!(`children`in e.props)?e:(0,H.cloneElement)(e,void 0,Sh(e.props.children,t))})}function Ch(e){let t=(0,U.c)(9),n=e.rawText,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=z(dh,`border-fuchsia-500/25 bg-fuchsia-500/12 text-fuchsia-700 dark:text-fuchsia-300`),t[0]=r):r=t[0];let i;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,W.jsx)(`span`,{"aria-hidden":`true`,className:mh,dangerouslySetInnerHTML:{__html:vh}}),t[1]=i):i=t[1];let a;t[2]===e.skill?a=t[3]:(a=ih(e.skill),t[2]=e.skill,t[3]=a);let o;t[4]===a?o=t[5]:(o=(0,W.jsxs)(`span`,{className:r,children:[i,(0,W.jsx)(`span`,{className:hh,children:a})]}),t[4]=a,t[5]=o);let s;return t[6]!==e.rawText||t[7]!==o?(s=(0,W.jsx)(`span`,{className:`inline-flex align-middle leading-none`,"data-markdown-copy":n,children:o}),t[6]=e.rawText,t[7]=o,t[8]=s):s=t[8],s}function wh(e){let t=e.match(/^\s{0,3}#{1,6}\s+(.+)$/m)?.[1]?.trim();return t&&t.length>0?t:null}function Th(e){let t=e.trimEnd().split(/\r?\n/),n=t[0]&&/^\s{0,3}#{1,6}\s+/.test(t[0])?t.slice(1):[...t];for(;n[0]?.trim().length===0;)n.shift();if((n[0]?.match(/^\s{0,3}#{1,6}\s+(.+)$/))?.[1]?.trim().toLowerCase()===`summary`)for(n.shift();n[0]?.trim().length===0;)n.shift();return n.join(`
|
|
207
|
+
`)}function Eh(e,t){let n=t?.maxLines??8,r=Th(e).trimEnd().split(/\r?\n/).map(e=>e.trimEnd()),i=[],a=0,o=!1;for(let e of r){let t=e.trim().length>0;if(t&&a>=n){o=!0;break}i.push(e),t&&(a+=1)}for(;i.length>0&&i.at(-1)?.trim().length===0;)i.pop();return i.length===0?wh(e)??`Plan preview unavailable.`:(o&&i.push(``,`...`),i.join(`
|
|
208
|
+
`))}function Dh(e){let t=e.toLowerCase().replace(/[`'".,!?()[\]{}]+/g,``).replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``);return t.length>0?t:`plan`}function Oh(e){return`PLEASE IMPLEMENT THIS PLAN:\n${e.trim()}`}function kh(e){let t=e.draftText.trim();return t.length>0?{text:t,runtimeMode:`plan`}:{text:Oh(e.planMarkdown),runtimeMode:e.implementRuntimeMode}}function Ah(e){let t=wh(e);return t?`Implement ${t}`:`Implement plan`}function jh(e){return`${Dh(wh(e)??`plan`)}.md`}function Mh(e){return`${e.trimEnd()}\n`}function Nh(e,t){let n=new Blob([t],{type:`text/markdown;charset=utf-8`}),r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=e,i.click(),window.setTimeout(()=>{URL.revokeObjectURL(r)},0)}var Ph={},Fh={}.hasOwnProperty,Ih=Gt(`type`,{handlers:{root:Rh,element:Uh,text:Vh,comment:Hh,doctype:Bh}});function Lh(e,t){let n=(t||Ph).space;return Ih(e,n===`svg`?Vt:Xt)}function Rh(e,t){let n={nodeName:`#document`,mode:(e.data||{}).quirksMode?`quirks`:`no-quirks`,childNodes:[]};return n.childNodes=Gh(e.children,n,t),Kh(e,n),n}function zh(e,t){let n={nodeName:`#document-fragment`,childNodes:[]};return n.childNodes=Gh(e.children,n,t),Kh(e,n),n}function Bh(e){let t={nodeName:`#documentType`,name:`html`,publicId:``,systemId:``,parentNode:null};return Kh(e,t),t}function Vh(e){let t={nodeName:`#text`,value:e.value,parentNode:null};return Kh(e,t),t}function Hh(e){let t={nodeName:`#comment`,data:e.value,parentNode:null};return Kh(e,t),t}function Uh(e,t){let n=t,r=n;e.type===`element`&&e.tagName.toLowerCase()===`svg`&&n.space===`html`&&(r=Vt);let i=[],a;if(e.properties){for(a in e.properties)if(a!==`children`&&Fh.call(e.properties,a)){let t=Wh(r,a,e.properties[a]);t&&i.push(t)}}let o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:tn[o],childNodes:[],parentNode:null};return s.childNodes=Gh(e.children,s,r),Kh(e,s),e.tagName===`template`&&e.content&&(s.content=zh(e.content,r)),s}function Wh(e,t,n){let r=Ht(e,t);if(n===!1||n==null||typeof n==`number`&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?qt(n):Wt(n));let i={name:r.attribute,value:n===!0?``:String(n)};if(r.space&&r.space!==`html`&&r.space!==`svg`){let e=i.name.indexOf(`:`);e<0?i.prefix=``:(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=tn[r.space]}return i}function Gh(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=Ih(e[r],n);a.parentNode=t,i.push(a)}return i}function Kh(e,t){let n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}var qh=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Jh=new Set([`mdxFlowExpression`,`mdxJsxFlowElement`,`mdxJsxTextElement`,`mdxTextExpression`,`mdxjsEsm`]),Yh={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Xh(e,t){let n=ug(e),r=Gt(`type`,{handlers:{root:Qh,element:$h,text:eg,comment:rg,doctype:tg,raw:ig},unknown:ag}),i={parser:n?new an(Yh):an.getFragmentParser(void 0,Yh),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),og(i,cn());let a=on(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&If(a,`comment`,function(e,t,n){let r=e;if(r.value.stitch&&n&&t!==void 0){let e=n.children;return e[t]=r.value.stitch,t}}),a.type===`root`&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function Zh(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Qh(e,t){Zh(e.children,t)}function $h(e,t){cg(e,t),Zh(e.children,t),lg(e,t)}function eg(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let n={type:sn.CHARACTER,chars:e.value,location:dg(e)};og(t,cn(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tg(e,t){let n={type:sn.DOCTYPE,name:`html`,forceQuirks:!1,publicId:``,systemId:``,location:dg(e)};og(t,cn(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function ng(e,t){t.stitches=!0;let n=fg(e);`children`in e&&`children`in n&&(n.children=Xh({type:`root`,children:e.children},t.options).children),rg({type:`comment`,value:{stitch:n}},t)}function rg(e,t){let n=e.value,r={type:sn.COMMENT,data:n,location:dg(e)};og(t,cn(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function ig(e,t){if(t.parser.tokenizer.preprocessor.html=``,t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,sg(t,cn(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(qh,`<$1$2`):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function ag(e,t){let n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))ng(n,t);else{let e=``;throw Jh.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+n.type+"` node"+e)}}function og(e,t){sg(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=pn.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:``,value:``}}function sg(e,t){if(t&&t.offset!==void 0){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function cg(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===pn.PLAINTEXT)return;og(t,cn(e));let r=t.parser.openElements.current,i=`namespaceURI`in r?r.namespaceURI:tn.html;i===tn.html&&n===`svg`&&(i=tn.svg);let a=Lh({...e,children:[]},{space:i===tn.svg?`svg`:`html`}),o={type:sn.START_TAG,tagName:n,tagID:un(n),selfClosing:!1,ackSelfClosing:!1,attrs:`attrs`in a?a.attrs:[],location:dg(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function lg(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Ut.includes(n)||t.parser.tokenizer.state===pn.PLAINTEXT)return;og(t,mn(e));let r={type:sn.END_TAG,tagName:n,tagID:un(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:dg(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===pn.RCDATA||t.parser.tokenizer.state===pn.RAWTEXT||t.parser.tokenizer.state===pn.SCRIPT_DATA)&&(t.parser.tokenizer.state=pn.DATA)}function ug(e){let t=e.type===`root`?e.children[0]:e;return!!(t&&(t.type===`doctype`||t.type===`element`&&t.tagName.toLowerCase()===`html`))}function dg(e){let t=cn(e)||{line:void 0,column:void 0,offset:void 0},n=mn(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function fg(e){return`children`in e?fn({...e,children:[]}):fn(e)}function pg(e){return function(t,n){return Xh(t,{...e,file:n})}}function mg(e){return function(t){return gn(t,e)}}function hg(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function gg(e,t,n){let r=Tf((n||{}).ignore||[]),i=_g(t),a=-1;for(;++a<i.length;)Pf(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function _g(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([vg(e[0]),yg(e[1])])}return t}function vg(e){return typeof e==`string`?new RegExp(hg(e),`g`):e}function yg(e){return typeof e==`function`?e:function(){return e}}function bg(e){gg(e,[/\r?\n|\r/g,xg])}function xg(){return{type:`break`}}function Sg(){return function(e){bg(e)}}var Cg=`phrasing`,wg=[`autolink`,`link`,`image`,`label`];function Tg(){return{transforms:[Ng],enter:{literalAutolink:Dg,literalAutolinkEmail:Og,literalAutolinkHttp:Og,literalAutolinkWww:Og},exit:{literalAutolink:Mg,literalAutolinkEmail:jg,literalAutolinkHttp:kg,literalAutolinkWww:Ag}}}function Eg(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:Cg,notInConstruct:wg},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:Cg,notInConstruct:wg},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:Cg,notInConstruct:wg}]}}function Dg(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function Og(e){this.config.enter.autolinkProtocol.call(this,e)}function kg(e){this.config.exit.autolinkProtocol.call(this,e)}function Ag(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function jg(e){this.config.exit.autolinkEmail.call(this,e)}function Mg(e){this.exit(e)}function Ng(e){gg(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Pg],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,Fg]],{ignore:[`link`,`linkReference`]})}function Pg(e,t,n,r,i){let a=``;if(!Rg(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!Ig(n)))return!1;let o=Lg(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function Fg(e,t,n,r){return!Rg(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function Ig(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Lg(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=Yt(e,`(`),a=Yt(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function Rg(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||hl(n)||ml(n))&&(!t||n!==47)}Jg.peek=qg;function zg(){this.buffer()}function Bg(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function Vg(){this.buffer()}function Hg(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function Ug(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=cl(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Wg(e){this.exit(e)}function Gg(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=cl(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Kg(e){this.exit(e)}function qg(){return`[`}function Jg(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{after:`]`,before:a})),s(),o(),a+=i.move(`]`),a}function Yg(){return{enter:{gfmFootnoteCallString:zg,gfmFootnoteCall:Bg,gfmFootnoteDefinitionLabelString:Vg,gfmFootnoteDefinition:Hg},exit:{gfmFootnoteCallString:Ug,gfmFootnoteCall:Wg,gfmFootnoteDefinitionLabelString:Gg,gfmFootnoteDefinition:Kg}}}function Xg(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Jg},unsafe:[{character:`[`,inConstruct:[`label`,`phrasing`,`reference`]}]};function n(e,n,r,i){let a=r.createTracker(i),o=a.move(`[^`),s=r.enter(`footnoteDefinition`),c=r.enter(`label`);return o+=a.move(r.safe(r.associationId(e),{before:o,after:`]`})),c(),o+=a.move(`]:`),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?`
|
|
209
|
+
`:` `)+r.indentLines(r.containerFlow(e,a.current()),t?Qg:Zg))),s(),o}}function Zg(e,t,n){return t===0?e:Qg(e,t,n)}function Qg(e,t,n){return(n?``:` `)+e}var $g=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];i_.peek=a_;function e_(){return{canContainEols:[`delete`],enter:{strikethrough:n_},exit:{strikethrough:r_}}}function t_(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:$g}],handlers:{delete:i_}}}function n_(e){this.enter({type:`delete`,children:[]},e)}function r_(e){this.exit(e)}function i_(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function a_(){return`~`}function o_(e){return e.length}function s_(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||o_,a=[],o=[],s=[],c=[],l=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>l&&(l=e[u].length);++a<e[u].length;){let o=c_(e[u][a]);if(n.alignDelimiters!==!1){let e=i(o);r[a]=e,(c[a]===void 0||e>c[a])&&(c[a]=e)}t.push(o)}o[u]=t,s[u]=r}let d=-1;if(typeof r==`object`&&`length`in r)for(;++d<l;)a[d]=l_(r[d]);else{let e=l_(r);for(;++d<l;)a[d]=e}d=-1;let f=[],p=[];for(;++d<l;){let e=a[d],t=``,r=``;e===99?(t=`:`,r=`:`):e===108?t=`:`:e===114&&(r=`:`);let i=n.alignDelimiters===!1?1:Math.max(1,c[d]-t.length-r.length),o=t+`-`.repeat(i)+r;n.alignDelimiters!==!1&&(i=t.length+i+r.length,i>c[d]&&(c[d]=i),p[d]=i),f[d]=o}o.splice(1,0,f),s.splice(1,0,p),u=-1;let m=[];for(;++u<o.length;){let e=o[u],t=s[u];d=-1;let r=[];for(;++d<l;){let i=e[d]||``,o=``,s=``;if(n.alignDelimiters!==!1){let e=c[d]-(t[d]||0),n=a[d];n===114?o=` `.repeat(e):n===99?e%2?(o=` `.repeat(e/2+.5),s=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),s=o):s=` `.repeat(e)}n.delimiterStart!==!1&&!d&&r.push(`|`),n.padding!==!1&&!(n.alignDelimiters===!1&&i===``)&&(n.delimiterStart!==!1||d)&&r.push(` `),n.alignDelimiters!==!1&&r.push(o),r.push(i),n.alignDelimiters!==!1&&r.push(s),n.padding!==!1&&r.push(` `),(n.delimiterEnd!==!1||d!==l-1)&&r.push(`|`)}m.push(n.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return m.join(`
|
|
210
|
+
`)}function c_(e){return e==null?``:String(e)}function l_(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function u_(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),d_);return i(),o}function d_(e,t,n){return`>`+(n?``:` `)+e}function f_(e,t){return p_(e,t.inConstruct,!0)&&!p_(e,t.notInConstruct,!1)}function p_(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function m_(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
211
|
+
`&&f_(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
|
|
212
|
+
`}function h_(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function g_(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function __(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function v_(e,t,n,r){let i=__(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(g_(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,y_);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(h_(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
|
|
213
|
+
`,encode:["`"],...s.current()})),t()}return u+=s.move(`
|
|
214
|
+
`),a&&(u+=s.move(a+`
|
|
215
|
+
`)),u+=s.move(c),l(),u}function y_(e,t,n){return(n?``:` `)+e}function b_(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function x_(e,t,n,r){let i=b_(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
|
|
216
|
+
`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function S_(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function C_(e){return`&#x`+e.toString(16).toUpperCase()+`;`}function w_(e,t,n){let r=wl(e),i=wl(t);return r===void 0?i===void 0?n===`_`?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}T_.peek=E_;function T_(e,t,n,r){let i=S_(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=w_(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=C_(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=w_(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+C_(d));let p=o.move(i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function E_(e,t,n){return n.options.emphasis||`*`}function D_(e,t){let n=!1;return If(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&Xc(e)&&(t.options.setext||n))}function O_(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(D_(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
|
|
217
|
+
`,after:`
|
|
218
|
+
`});return r(),t(),o+`
|
|
219
|
+
`+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
|
|
220
|
+
`))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
|
|
221
|
+
`,...a.current()});return/^[\t ]/.test(l)&&(l=C_(l.charCodeAt(0))+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}k_.peek=A_;function k_(e){return e.value||``}function A_(){return`<`}j_.peek=M_;function j_(e,t,n,r){let i=b_(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function M_(){return`!`}N_.peek=P_;function N_(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function P_(){return`!`}F_.peek=I_;function F_(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function I_(){return"`"}function L_(e,t){let n=Xc(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===`text`&&(n===e.url||`mailto:`+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}R_.peek=z_;function R_(e,t,n,r){let i=b_(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(L_(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function z_(e,t,n){return L_(e,n)?`<`:`[`}B_.peek=V_;function B_(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function V_(){return`[`}function H_(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function U_(e){let t=H_(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function W_(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function G_(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function K_(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?W_(n):H_(n),s=e.ordered?o===`.`?`)`:`.`:U_(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),G_(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function q_(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function J_(e,t,n,r){let i=q_(n),a=n.bulletCurrent||H_(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function Y_(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var X_=Tf([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function Z_(e,t,n,r){return(e.children.some(function(e){return X_(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Q_(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}$_.peek=ev;function $_(e,t,n,r){let i=Q_(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=w_(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=C_(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=w_(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+C_(d));let p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function ev(e,t,n){return n.options.strong||`*`}function tv(e,t,n,r){return n.safe(e.value,r)}function nv(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function rv(e,t,n){let r=(G_(n)+(n.options.ruleSpaces?` `:``)).repeat(nv(n));return n.options.ruleSpaces?r.slice(0,-1):r}var iv={blockquote:u_,break:m_,code:v_,definition:x_,emphasis:T_,hardBreak:m_,heading:O_,html:k_,image:j_,imageReference:N_,inlineCode:F_,link:R_,linkReference:B_,list:K_,listItem:J_,paragraph:Y_,root:Z_,strong:$_,text:tv,thematicBreak:rv};function av(){return{enter:{table:ov,tableData:uv,tableHeader:uv,tableRow:cv},exit:{codeText:dv,table:sv,tableData:lv,tableHeader:lv,tableRow:lv}}}function ov(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function sv(e){this.exit(e),this.data.inTable=void 0}function cv(e){this.enter({type:`tableRow`,children:[]},e)}function lv(e){this.exit(e)}function uv(e){this.enter({type:`tableCell`,children:[]},e)}function dv(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,fv));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function fv(e,t){return t===`|`?t:e}function pv(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
|
|
222
|
+
`,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
|
|
223
|
+
`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return s_(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=iv.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function mv(){return{exit:{taskListCheckValueChecked:gv,taskListCheckValueUnchecked:gv,paragraph:_v}}}function hv(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:vv}}}function gv(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function _v(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function vv(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=iv.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function yv(){return[Tg(),Yg(),e_(),av(),mv()]}function bv(e){return{extensions:[Eg(),Xg(e),t_(),pv(e),hv()]}}var xv={tokenize:Fv,partial:!0},Sv={tokenize:Iv,partial:!0},Cv={tokenize:Lv,partial:!0},wv={tokenize:Rv,partial:!0},Tv={tokenize:zv,partial:!0},Ev={name:`wwwAutolink`,tokenize:Nv,previous:Bv},Dv={name:`protocolAutolink`,tokenize:Pv,previous:Vv},Ov={name:`emailAutolink`,tokenize:Mv,previous:Hv},kv={};function Av(){return{text:kv}}for(var jv=48;jv<123;)kv[jv]=Ov,jv++,jv===58?jv=65:jv===91&&(jv=97);kv[43]=Ov,kv[45]=Ov,kv[46]=Ov,kv[95]=Ov,kv[72]=[Ov,Dv],kv[104]=[Ov,Dv],kv[87]=[Ov,Ev],kv[119]=[Ov,Ev];function Mv(e,t,n){let r=this,i,a;return o;function o(t){return!Uv(t)||!Hv.call(r,r.previous)||Wv(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return Uv(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(Tv,u,l)(t):t===45||t===95||q(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&K(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function Nv(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!Bv.call(r,r.previous)||Wv(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(xv,e.attempt(Sv,e.attempt(Cv,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function Pv(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&Vv.call(r,r.previous)&&!Wv(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(K(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||ul(t)||Y(t)||hl(t)||ml(t)?n(t):e.attempt(Sv,e.attempt(Cv,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function Fv(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function Iv(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(wv,c,s)(t):t===null||Y(t)||hl(t)||t!==45&&ml(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function Lv(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(wv,t,a)(o):o===null||Y(o)||hl(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function Rv(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||Y(o)||hl(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||Y(e)||hl(e)?t(e):r(e)}function a(e){return K(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):K(t)?(e.consume(t),o):n(t)}}function zv(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return q(e)?n(e):t(e)}}function Bv(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Y(e)}function Vv(e){return!K(e)}function Hv(e){return!(e===47||Uv(e))}function Uv(e){return e===43||e===45||e===46||e===95||q(e)}function Wv(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var Gv={tokenize:$v,partial:!0};function Kv(){return{document:{91:{name:`gfmFootnoteDefinition`,tokenize:Xv,continuation:{tokenize:Zv},exit:Qv}},text:{91:{name:`gfmFootnoteCall`,tokenize:Yv},93:{name:`gfmPotentialFootnoteCall`,add:`after`,tokenize:qv,resolveTo:Jv}}}}function qv(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=cl(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function Jv(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function Yv(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||Y(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(cl(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return Y(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function Xv(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||Y(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=cl(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return Y(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),Z(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function Zv(e,t,n){return e.check(Ml,t,e.attempt(Gv,t,n))}function Qv(e){e.exit(`gfmFootnoteDefinition`)}function $v(e,t,n){let r=this;return Z(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function ey(e){let t=(e||{}).singleTilde,n={name:`strikethrough`,tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&G(o,o.length,0,Tl(s,e.slice(r+1,n),t)),G(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),G(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=wl(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=wl(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var ty=class{constructor(){this.map=[]}add(e,t,n){ny(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}};function ny(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function ry(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function iy(){return{flow:{null:{name:`table`,tokenize:ay,resolveAll:oy}}}}function ay(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?S:c;return a===S&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):J(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):X(t)?Z(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||Y(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,X(t)?Z(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):x(t)}function h(t){return X(t)?Z(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||J(t)?b(t):x(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):x(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return X(t)?Z(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||J(n)?!o||i!==a?x(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):x(n)}function x(e){return n(e)}function S(t){return e.enter(`tableRow`),C(t)}function C(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),C):n===null||J(n)?(e.exit(`tableRow`),t(n)):X(n)?Z(e,C,`whitespace`)(n):(e.enter(`data`),w(n))}function w(t){return t===null||t===124||Y(t)?(e.exit(`data`),C(t)):(e.consume(t),t===92?T:w)}function T(t){return t===92||t===124?(e.consume(t),w):w(t)}}function oy(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new ty;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(cy(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=sy(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=sy(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=sy(f,t,o,i,n,d)):(o[0]=o[1],d=sy(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&cy(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=ry(t.events,n))}return e}function sy(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},ly(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=ly(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=ly(t.events,n[2]),a=ly(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},ly(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function cy(e,t,n,r,i){let a=[],o=ly(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function ly(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var uy={name:`tasklistCheck`,tokenize:fy};function dy(){return{text:{91:uy}}}function fy(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return Y(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return J(r)?t(r):X(r)?e.check({tokenize:py},t,n)(r):n(r)}}function py(e,t,n){return Z(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function my(e){return il([Av(),Kv(),ey(e),iy(),dy()])}var hy={};function gy(e){let t=this,n=e||hy,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(my(n)),a.push(yv()),o.push(bv(n))}var _y=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\](?:\r?\n|$)/i;function vy(e){if(e.type!==`blockquote`)return;let t=e.children?.[0],n=t?.children?.[0];if(t?.type!==`paragraph`||n?.type!==`text`||typeof n.value!=`string`)return;let r=_y.exec(n.value);if(!r?.[1])return;let i=n.value.slice(r[0].length),a=r[0].endsWith(`
|
|
224
|
+
`);if(i.length>0)n.value=i;else if(a||t.children?.length===1)t.children?.shift(),t.children?.length===0&&e.children?.shift();else return;e.data={...e.data,hProperties:{...e.data?.hProperties,dataAlert:r[1].toLowerCase()}}}function yy(){return e=>{let t=e=>{e.children?.forEach(t),vy(e)};t(e)}}var by=`borg-markdown-inline-prefix:`;function xy(e,t,n){if(e.type!==`code`||t?.type!==`listItem`||typeof e.value!=`string`||!/^[\t ]/.test(e.value))return!1;let r=e.position?.start,i=t.position?.start;if(r?.line===void 0||r.offset===void 0||i?.line===void 0||r.line!==i.line)return!1;let a=n[r.offset];return a!=="`"&&a!==`~`}function Sy(e,t){let n=`${by}${e}`,r=t.parse(n).children,i=r?.[0],a=i?.type===`paragraph`?i.children:void 0,o=a?.[0];if(!r||!a||o?.type!==`text`||typeof o.value!=`string`||!o.value.startsWith(by))return{blocks:[{type:`text`,value:e}],source:n};let s=o.value.slice(28);return{blocks:[{...i,type:`paragraph`,children:[...s?[{...o,value:s}]:[],...a.slice(1)]},...r.slice(1)],source:n}}function Cy(e,t){let n=Sy(typeof e.value==`string`?e.value.trim():``,t),r=n.blocks[0];return{...n,blocks:r&&e.position?[{...r,position:e.position},...n.blocks.slice(1)]:n.blocks}}function wy(){return(e,t)=>{if(typeof t.value!=`string`)return;let n=t.value,r=(e,t)=>{e.children&&=e.children.flatMap(n=>{if(xy(n,e,t)){let e=Cy(n,this);for(let t of e.blocks)r(t,e.source);return e.blocks}return r(n,t),[n]})};r(e,n)}}var Ty=wy;function Ey(e){return e.replaceAll(`\\`,`/`)}function Dy(e){return/^\/[A-Za-z]:\//.test(e)?e.slice(1):e}function Oy(e){return e.replace(/[\\/]+$/,``)}function ky(e){let t=Math.max(e.lastIndexOf(`/`),e.lastIndexOf(`\\`));return t>=0?e.slice(t+1):e}function Ay(e){return e.replace(/^\.\/+/,``).replace(/^\/+/,``)}function jy(e,t){let{path:n,line:r,column:i}=Xe(e),a=Dy(Ey(n)),o=a;if(t){let e=Dy(Ey(Oy(t))),n=ky(e),r=a.toLowerCase(),i=e.toLowerCase(),s=`${i}/`,c=`${n.toLowerCase()}/`;if(r===i)o=n;else if(r.startsWith(s))o=`${n}/${a.slice(e.length+1)}`;else if(!a.startsWith(`/`)){let e=Ay(a);o=r.startsWith(c)?a:`${n}/${e}`}}return r?`${o}:${r}${i?`:${i}`:``}`:o}var My=/^[A-Za-z]:[\\/]/,Ny=/^\\\\/,Py=/^([A-Za-z][A-Za-z0-9+.-]*):(.*)$/,Fy=/^(~\/|\.{1,2}\/)/,Iy=/^(?:[A-Za-z0-9._-]+(?: +[A-Za-z0-9._-]+)*\/)+[A-Za-z0-9._-]+(?: +[A-Za-z0-9._-]+)*(?::\d+){0,2}$/,Ly=/^[A-Za-z0-9._-]+(?: +[A-Za-z0-9._-]+)*\.[A-Za-z0-9_-]+(?::\d+){0,2}$/,Ry=/:\d+(?::\d+)?$/,zy=/^\d+(?::\d+)?$/,By=[`/Users/`,`/home/`,`/tmp/`,`/var/`,`/etc/`,`/opt/`,`/mnt/`,`/Volumes/`,`/private/`,`/root/`,`/usr/`,`/bin/`,`/sbin/`,`/lib/`,`/lib64/`,`/srv/`,`/dev/`,`/proc/`,`/sys/`,`/run/`,`/boot/`,`/media/`,`/workspace/`,`/workspaces/`],Vy=/\[[^\]]*]\(\s*(?:<([^>\n]+)>|([^\s)]+))(?:\s+["'][^"']*["'])?\s*\)/g;function Hy(e){let t=[],n=e.split(/(```[\s\S]*?(?:```|$))/);for(let e=0;e<n.length;e+=2)for(let r of(n[e]??``).matchAll(/`([^`\n]+)`/g)){let e=r[1]?.trim();e&&t.push(e)}return t}function Uy(e){let t=[];for(let n of e.matchAll(Vy)){let e=(n[1]??n[2])?.trim();e&&t.push(e)}return t}function Wy(e,t){return Tt(e,t)}function Gy(e){return/\.pdf$/i.test(e.split(/[?#]/,1)[0]??``)}function Ky(e){try{return decodeURIComponent(e)}catch{return e}}function qy(e){return My.test(Ky(e))}function Jy(e){return e.startsWith(`<`)&&e.endsWith(`>`)?e.slice(1,-1):e}function Yy(e){let t=Jy(e.trim());return/^sandbox:\/(?!\/)/i.test(t)?t.slice(8):t}function Xy(e){let t=e.indexOf(`#`),n=t>=0?e.slice(0,t):e,r=t>=0?e.slice(t):``,i=n.indexOf(`?`);return{path:i>=0?n.slice(0,i):n,hash:r}}function Zy(e){return/^\/[A-Za-z]:[\\/]/.test(e)?e.slice(1):e}function Qy(e,t){try{let n=new URL(e);if(n.protocol.toLowerCase()!==`file:`)return null;let r=n.hostname.toLowerCase()===`localhost`?``:n.hostname,i=r?`\\\\${r}${n.pathname.replaceAll(`/`,`\\`)}`:n.pathname;if(i.length===0)return null;let a=Zy(i);return{path:t?.decodePath===!1?a:Ky(a),hash:n.hash}}catch{return null}}function $y(e){if(!e)return null;let t=Yy(e);if(/^sandbox:\/(?!\/)/i.test(Jy(e.trim())))return t;let n=Qy(t,{decodePath:!1});return n?`${n.path}${n.hash}`:null}function eb(e){if(!e.startsWith(`/`))return!1;if(By.some(t=>e.startsWith(t))||Ry.test(e))return!0;let t=e.slice(e.lastIndexOf(`/`)+1);return/\.[A-Za-z0-9_-]+$/.test(t)}function tb(e,t){if(!t||Ry.test(e))return e;let n=t.match(/^#L(\d+)(?:C(\d+))?$/i);if(!n?.[1])return e;let r=n[1],i=n[2];return`${e}:${r}${i?`:${i}`:``}`}function nb(e){return My.test(e)||Ny.test(e)||Fy.test(e)?!0:e.startsWith(`/`)?eb(e):Iy.test(e)||Ly.test(e)}function rb(e){return Fy.test(e)||!e.startsWith(`/`)&&!My.test(e)&&!Ny.test(e)}function ib(e){let t=e.match(Py);if(!t)return!1;let n=t[2]??``;return n.startsWith(`//`)?!0:!zy.test(n)}function ab(e,t){if(!e)return null;let n=Yy(e);if(n.length===0||n.startsWith(`#`))return null;let r=n.toLowerCase().startsWith(`file:`)?Qy(n):null,i=r??Xy(n),a=Zy(r?i.path.trim():Ky(i.path.trim())),o=Ky(i.hash.trim());if(a.length===0||!My.test(a)&&!Ny.test(a)&&ib(a)||!nb(a))return null;let s=tb(a,o);return rb(s)?t?$e(s,t):null:s}var ob=/[\s`]/,sb=/[\\/]/,cb=/\.[A-Za-z0-9_-]+$/,lb=/^\d+(?:\.\d+)+$/,ub=/^[A-Za-z0-9_-]+(?::\d+){1,2}$/,db=new Set(`Makefile.makefile.GNUmakefile.Dockerfile.Containerfile.Justfile.justfile.Rakefile.Gemfile.Procfile.Brewfile.Caddyfile.Vagrantfile.Jenkinsfile.Podfile.Fastfile.BUILD.WORKSPACE.LICENSE.LICENCE.COPYING.NOTICE.AUTHORS.CONTRIBUTORS.CHANGELOG.README.CODEOWNERS`.split(`.`)),fb=new Set([`localhost`]),pb=new Set([`com`,`net`,`org`,`io`,`dev`,`app`,`ai`,`co`,`edu`,`gov`,`mil`,`info`,`biz`,`xyz`,`me`,`tv`,`cc`,`gg`,`chat`,`cloud`,`site`,`online`,`tech`,`store`,`link`]),mb=new Set(`uk.de.fr.nl.se.no.fi.dk.pl.ch.at.be.es.it.pt.eu.us.ca.au.nz.jp.kr.cn.br.ru.mx.ie.cz.tr.sg.hk`.split(`.`));function hb(e,t){if(e.startsWith(`.`))return!1;let n=e.toLowerCase();if(fb.has(n)||lb.test(e))return!0;let r=n.split(`.`),i=r[r.length-1];return r.length<2||i===void 0?!1:pb.has(i)?!0:!t&&mb.has(i)}function gb(e,t){let n=e.trim();if(n.length===0||ob.test(n))return null;let r=My.test(n)||Ny.test(n)?n:n.replaceAll(`\\`,`/`),i=Ry.test(r);if(!i&&!sb.test(r)&&st(r)===`text`)return null;if(!(Fy.test(r)||r.startsWith(`/`)||My.test(r)||Ny.test(r))){let e=r.replace(Ry,``);if(hb(e.split(`/`)[0]??e,i)||!i&&!cb.test(_b(e)))return null}return yb(r,t)||(t&&ub.test(r)&&db.has(r.replace(Ry,``))?bb($e(r,t),t):null)}function _b(e){let t=e.replace(/[/\\]+$/,``)||e,n=Math.max(t.lastIndexOf(`/`),t.lastIndexOf(`\\`));return n>=0?t.slice(n+1):t}function vb(e,t){if(!t)return null;let n=Zy(e.replaceAll(`\\`,`/`)),r=Zy(t.replaceAll(`\\`,`/`)).replace(/\/+$/,``),i=n.toLowerCase(),a=r.toLowerCase();return i.startsWith(`${a}/`)?n.slice(r.length+1):null}function yb(e,t){let n=ab(e,t);return n?bb(n,t):null}function bb(e,t){let{path:n,line:r,column:i}=Xe(e),a=r?Number.parseInt(r,10):NaN,o=i?Number.parseInt(i,10):NaN,s=Number.isFinite(a)?a:void 0,c=Number.isFinite(o)?o:void 0;return{filePath:n,targetPath:e,displayPath:jy(e,t),workspaceRelativePath:vb(n,t),basename:_b(n),...s===void 0?{}:{line:s},...c===void 0?{}:{column:c}}}var xb=/^[A-Za-z]:[\\/]/;function Sb(){return e=>{let t=e=>{let n=e.properties?.src,r=e.properties?.title;e.type===`element`&&e.tagName===`img`&&(e.properties={...e.properties,...typeof n==`string`&&qy(n)?{dataLocalSrc:n}:{},...typeof r==`string`?{dataMarkdownTitle:r}:{}}),e.children?.forEach(t)};t(e)}}var Cb={...dn,attributes:{...dn.attributes,"*":(dn.attributes?.[`*`]??[]).filter(e=>e!==`title`),code:[...dn.attributes?.code??[],`dataCodeMeta`,`dataInlineCode`],blockquote:[...dn.attributes?.blockquote??[],`dataAlert`],div:[...dn.attributes?.div??[],...Em],a:[...dn.attributes?.a??[],`dataPullRequestAutolink`],img:[...dn.attributes?.img??[],`dataLocalSrc`,`dataMarkdownTitle`]},protocols:{...dn.protocols,href:[...dn.protocols?.href??[],`file`,`sandbox`],src:[...dn.protocols?.src??[],`file`,`sandbox`]}},wb=[gy,yy,Ty,Hm,Db,Ob],Tb=[gy,yy,Ty,Hm,Sg,Db,Ob],Eb=[pg,Sb,[mg,Cb]];function Db(){return e=>{let t=e=>{e.type===`code`&&typeof e.meta==`string`&&e.meta.trim().length>0&&(e.data={...e.data,hProperties:{...e.data?.hProperties,dataCodeMeta:e.meta.trim()}}),e.children?.forEach(t)};t(e)}}function Ob(){return e=>{let t=(e,n)=>{(e.type===`link`||e.type===`definition`)&&typeof e.url==`string`&&xb.test(e.url)&&(e.url=`file:///${e.url.replaceAll(`\\`,`/`)}`),e.type===`inlineCode`&&!n&&(e.data={...e.data,hProperties:{...e.data?.hProperties,dataInlineCode:``}});let r=n||e.type===`link`||e.type===`linkReference`;e.children?.forEach(e=>t(e,r))};t(e,!1)}}function kb(e,t){e.type===`text`||e.type===`raw`?t.push(e.value??``):e.children?.forEach(e=>kb(e,t))}function Ab(e,t){let n=[],r=()=>e=>(kb(e,n),{type:`root`,children:[]});return mp({children:e,remarkPlugins:t.lineBreaks?Tb:wb,rehypePlugins:[...t.parseRawHtml?Eb:[],r],skipHtml:!1}),n.join(``)}function jb(e){if(e.failed)return`failed`;if((e.workingSubagents??0)>0)return`parallel`;let t=e.entry;if(!t)return e.fallback;if(t.reasoning!==void 0)return`thinking`;switch(dt(t)){case`read`:return`read`;case`edit`:return`edit`;case`command`:return`command`;case`code-search`:case`search`:return`search`;default:return t.taskId!==void 0||t.itemType===`collab_agent_tool_call`?`parallel`:e.fallback}}function Mb(e,t){let n=e??[];if(!t)return n;let r=n.filter(e=>e.turnId!==t.turnId),i=t.state;return i===`interrupted`||i===`error`?[...r,{turnId:t.turnId,state:i}]:r}function Nb(e,t){let n=new Map,r=(e,t)=>{if(!e||!t)return;let r=Date.parse(t);if(!Number.isFinite(r))return;let i=n.get(e);(i===void 0||r>i)&&n.set(e,r)};for(let t of e)r(t.turnId,t.at);return t&&(r(t.turnId,t.startedAt),r(t.turnId,t.completedAt)),n}function Pb(e,t,n,r=new Map){let i=new Map,a=new Map;for(let t of e)t.role!==`assistant`||!t.turnId||(i.has(t.turnId)||i.set(t.turnId,t.id),a.set(t.turnId,t.id));let o=new Map((n??[]).map(e=>[e.turnId,e.state])),s=new Set,c=new Map,l=!1,u=new Set;for(let n of e){if(n.role===`user`){l=!1,u.clear(),s.add(n.id);continue}if(n.role!==`assistant`)continue;let e=n.turnId??null,r=e!==null&&e!==t&&a.get(e)===n.id,d=r?o.get(e):void 0;d&&c.set(n.id,d);let f=n.text.trim(),p=!l&&e!==null&&i.get(e)===n.id;!n.streaming&&f.length>0&&(e===null||p||r&&!d)&&(e===null||!u.has(f))&&(s.add(n.id),l=!0,e===null&&u.add(f)),r&&u.clear()}for(let[n,i]of o){if(n===t||a.has(n))continue;let o=r.get(n);if(o===void 0)continue;let s=e.findLast(e=>{let t=e.createdAt?Date.parse(e.createdAt):NaN;return Number.isFinite(t)&&t<=o});s&&!c.has(s.id)&&c.set(s.id,i)}return{shownIds:s,unfinishedAfter:c}}function Fb(e){return e===`interrupted`?`Stopped before finishing`:`Couldn't finish`}function Ib(e,t){return e===null||t-e>=9e5||new Date(t).toDateString()!==new Date(e).toDateString()}var Lb=`calc(100vh - 18rem)`;function Rb(e,t=!1){return t&&(e.toolLifecycleStatus===`inProgress`||e.sourceActivityKind===`task.progress`)||!St(e)}function zb(e,t=0){if(!e)return;if(e.isAtEnd)return!0;let{contentLength:n,scroll:r,scrollLength:i}=e;return n===void 0||r===void 0||i===void 0?e.isAtEnd:n-r-i-t<=40}function Bb(e){return/^★ Insight(?:\s|─)/mu.test(e)}function Vb(e){return`min(${Math.max(1,(e-1)*8)}px, ${Lb})`}function Hb(e,t){return t<=1?0:Math.max(0,Math.min(e,t-1))/(t-1)*100}function Ub(e){if(e.itemCount<=0||e.railHeight<=0)return null;if(e.itemCount===1)return 0;let t=Math.max(0,Math.min(1,(e.pointerY-e.railTop)/e.railHeight));return Math.max(0,Math.min(e.itemCount-1,Math.round(t*(e.itemCount-1))))}function Wb(e){return!Number.isFinite(e)||e<=0?!1:Math.max(0,(e-Math.min(e,768))/2)>=48}var Gb=`22rem`;function Kb(e){if(!Number.isFinite(e)||e<=0)return 0;let t=Math.max(0,(e-Math.min(e,768))/2);return Math.max(0,Math.min(40,Math.floor(t)-12))}function qb(e,t){return t?Gb:e}function Jb(e,t){let n=Date.parse(e),r=Date.parse(t);return!Number.isFinite(n)||!Number.isFinite(r)?null:Math.max(0,r-n)}function Yb(e,t){if(e===null)return t;if(t===null)return e;let n=Date.parse(e),r=Date.parse(t);return Number.isFinite(n)?Number.isFinite(r)&&r>n?t:e:t}function Xb(e){let t=new Map,n=null;for(let r of e)r.role===`user`&&(n=r.createdAt),t.set(r.id,n??r.createdAt),r.role===`assistant`&&!r.streaming&&(n=r.updatedAt);return t}function Zb(e,t){return t.toolCallId?`tool:${t.turnId??`no-turn`}:${t.toolCallId}`:e}function Qb(e,t){return`work-group:${Zb(e,t)}`}function $b({text:e,showCopyButton:t,streaming:n}){let r=e!==null&&e.trim().length>0,i=t&&r&&!n;return{text:r?i?Jm(e):e:null,visible:i}}function ex(e){let t=new Map,n=0;for(let r of e){if(r.kind!==`message`)continue;let{message:e}=r;if(e.role===`user`){n+=1;continue}if(e.role!==`assistant`)continue;let i=e.turnId?`turn:${e.turnId}`:`unkeyed:${n}`;t.set(i,e.id)}return new Set(t.values())}function tx(e,t){return t===null?e?e.completedAt!==null&&e.state!==`running`?null:e.turnId:null:t}function nx(e){return e.findLastIndex(e=>e.kind===`message`&&e.message.role===`user`)}function rx(e){return e.kind===`message`?e.message.role===`assistant`?e.message.turnId??null:null:e.kind===`proposed-plan`?e.proposedPlan.turnId:e.kind===`html-render`?e.turnId:e.kind===`work`?e.entry.turnId??null:null}function ix(e){for(let t=e.length-1;t>=0;--t){let n=e[t];if(n?.kind===`message`)return!1;if(n?.kind===`work`&&n.entry.toolCallId!==void 0)return n.entry.toolLifecycleStatus===`declined`}return!1}function ax(e){return e.toolLifecycleStatus===`inProgress`||e.sourceActivityKind===`task.progress`||e.toolLifecycleStatus===void 0&&bt(e)}function ox(e){let t=new Map,n=null;for(let r of e.timelineEntries){if(r.kind===`message`&&r.message.role===`user`){n=r.message.createdAt;continue}let i=r.kind===`message`&&r.message.role===`assistant`?r.message.turnId??null:r.kind===`work`?r.entry.turnId??null:r.kind===`html-render`?r.turnId:null;if(!i)continue;let a=t.get(i);a||(a={entries:[],terminalEntry:null,hasStreamingMessage:!1,startBoundary:n},n=null,t.set(i,a)),a.entries.push(r),r.kind===`message`&&(e.terminalAssistantMessageIds.has(r.message.id)&&(a.terminalEntry=r),r.message.streaming&&(a.hasStreamingMessage=!0))}let r=new Map;for(let[n,i]of t){if(n===e.unsettledTurnId||i.hasStreamingMessage)continue;let t=new Set;for(let e of i.entries)e.id!==i.terminalEntry?.id&&(e.kind===`work`&&e.entry.agentSpawn!==void 0||e.kind!==`html-render`&&t.add(e.id));if(t.size===0)continue;let a=i.entries[0],o=i.entries.find(e=>t.has(e.id)||e.id===i.terminalEntry?.id),s=i.entries.at(-1);if(!a||!o||!s)continue;let c=e.latestTurn?.turnId===n&&e.latestTurn.state===`interrupted`,l=s.kind===`message`?s.message.updatedAt:s.createdAt,u=e.latestTurn?.turnId===n&&e.latestTurn.startedAt&&e.latestTurn.completedAt?Jb(e.latestTurn.startedAt,e.latestTurn.completedAt):Jb(i.startBoundary??a.createdAt,Yb(i.terminalEntry?.message.updatedAt??null,l)??l),d=u===null?null:pt(u),f=c?d?`You stopped after ${d}`:`You stopped this response`:ix(i.entries)?d?`You declined after ${d}`:`You declined a step`:d?`Worked for ${d}`:`Worked`;r.set(o.id,{turnId:n,anchorEntryId:o.id,createdAt:o.createdAt,hiddenEntryIds:t,label:f})}return r}function sx(e){return ox({timelineEntries:e.timelineEntries,terminalAssistantMessageIds:ex(e.timelineEntries),latestTurn:e.latestTurn??null,unsettledTurnId:tx(e.latestTurn??null,e.runningTurnId??null)})}function cx(e){if(e.conversation)return fx(e,e.conversation);let t=new Set(e.expandedTurnIds),n=!1;for(let r of sx(e).values())t.has(r.turnId)||(t.add(r.turnId),n=!0);return ux(n?{...e,expandedTurnIds:t}:e)}function lx(e,t){if(e.conversation)return null;for(let n of sx(e).values())if(!e.expandedTurnIds?.has(n.turnId)&&n.hiddenEntryIds.has(t))return n.turnId;return null}function ux(e){if(e.conversation)return fx(e,e.conversation);let t=[],n=Xb(e.timelineEntries.flatMap(e=>e.kind===`message`?[e.message]:[])),r=ex(e.timelineEntries),i=tx(e.latestTurn??null,e.runningTurnId??null),a=ox({timelineEntries:e.timelineEntries,terminalAssistantMessageIds:r,latestTurn:e.latestTurn??null,unsettledTurnId:i}),o=new Set;for(let t of a.values())if(!e.expandedTurnIds?.has(t.turnId))for(let e of t.hiddenEntryIds)o.add(e);let s=e.timelineEntries.length;if(e.isWorking){let t=nx(e.timelineEntries),n=i===null?-1:e.timelineEntries.findIndex((e,n)=>n>t&&rx(e)===i);s=n>=0?n:t+1}let c=(t,n)=>e.isWorking&&n>=s&&(i===null||rx(t)===i),l=e.timelineEntries.filter(c),u=ht({hasStarted:e.latestTurn?.startedAt!=null||l.some(e=>e.kind===`work`),hasCompletedWork:l.some(e=>e.kind===`work`&&e.entry.reasoning===void 0&&e.entry.toolLifecycleStatus===`completed`),hasAssistantText:l.some(e=>e.kind===`message`&&e.message.role===`assistant`&&e.message.streaming&&e.message.text.trim().length>0)}),d=t=>e.isWorking&&i!==null&&t.toolLifecycleStatus===`inProgress`&&t.turnId===i,f=[];for(let t=e.timelineEntries.length-1;t>=s;--t){let n=e.timelineEntries[t];if(!c(n,t)||n.kind!==`work`||n.entry.agentSpawn!==void 0||n.entry.tone===`error`)break;f.unshift(n)}let p=Ct(f.filter(e=>Rb(e.entry,!0)),e=>e.entry),m=f[0],h=p.at(-1),g=p.filter(e=>ax(e.entry)),_=g.findLast(e=>e.entry.reasoning===void 0)??g.at(-1),v=_??h,y=h?.id,b=m&&v?(()=>{let t=Qb(m.id,m.entry),n=p.map(e=>e.entry);return{kind:`work-live`,fallback:u,id:`work-live:${Zb(m.id,m.entry)}`,createdAt:m.createdAt,entry:v.entry,groupedEntries:n,groupId:t,expanded:e.expandedWorkGroupIds?.has(t)??!1,active:_!==void 0,current:!0,summary:Ye(n),summaryKind:Qe(n)}})():null,x=new Set(b===null?[]:f.map(e=>e.id)),S=ut(e.timelineEntries.flatMap((e,t)=>e.kind===`work`&&c(e,t)?[e.entry]:[])),C=()=>{t.push({kind:`working`,id:`working-indicator-row`,createdAt:e.activeTurnStartedAt,summary:S})},w=e=>{for(let[n,r]of e.entries())t.push({kind:`work`,id:r.id,createdAt:r.createdAt,groupedEntries:[r],isExpandedToolGroupEntry:!0,isLastExpandedToolGroupEntry:n===e.length-1})},T=(n,r)=>{let i=Qb(n.id,n.entry),a=e.expandedWorkGroupIds?.has(i)??!1,o=r.findLast(bt);t.push({kind:`work-toggle`,id:`work-toggle:${n.id}`,createdAt:n.createdAt,groupId:i,hiddenCount:r.length,expanded:a,summary:r.length===1&&!bt(r[0])?r[0].label:Ye(r),summaryKind:Qe(r),hasFailure:o!==void 0&&mt(o)}),a&&w(r)},E=!1,D=()=>{if(!(b===null||m===void 0)){if(!b.active&&E){T(m,b.groupedEntries);return}t.push(b),E||=b.active,b.expanded&&w(b.groupedEntries)}};for(let c=0;c<e.timelineEntries.length;c+=1){let l=e.timelineEntries[c];if(!l)continue;e.isWorking&&c===s&&C(),l.id===y&&D();let f=a.get(l.id);if(f&&t.push({kind:`turn-fold`,id:`turn-fold:${f.turnId}`,createdAt:f.createdAt,turnId:f.turnId,label:f.label,expanded:e.expandedTurnIds?.has(f.turnId)??!1}),o.has(l.id)||x.has(l.id))continue;if(l.kind===`work`){if(l.entry.agentSpawn!==void 0||l.entry.tone===`error`){t.push({kind:`work`,id:l.id,createdAt:l.createdAt,groupedEntries:[l.entry],isExpandedToolGroupEntry:!1,isLastExpandedToolGroupEntry:!1});continue}let n=[l.entry],r=c+1;for(;r<e.timelineEntries.length;){let t=e.timelineEntries[r];if(!t||t.kind!==`work`||t.entry.agentSpawn!==void 0||t.entry.tone===`error`||x.has(t.id)||o.has(t.id)||a.has(t.id))break;n.push(t.entry),r+=1}let i=Ct(n.filter(e=>Rb(e,d(e))),e=>e);if(i.length>0){let n=i.filter(e=>d(e)&&e.reasoning===void 0);if(n.length>0){let r=Qb(l.id,l.entry),a=e.expandedWorkGroupIds?.has(r)??!1,o=n.findLast(e=>e.reasoning===void 0)??n.at(-1);t.push({kind:`work-live`,fallback:u,id:`work-live:${Zb(l.id,l.entry)}`,createdAt:l.createdAt,entry:o,groupedEntries:i,groupId:r,expanded:a,active:!0,current:!0,summary:Ye(i),summaryKind:Qe(i)}),E=!0,a&&w(i)}else T(l,i)}c=r-1;continue}if(l.kind===`proposed-plan`){t.push({kind:`proposed-plan`,id:l.id,createdAt:l.createdAt,proposedPlan:l.proposedPlan});continue}if(l.kind===`html-render`){t.push({kind:`html-render`,id:l.id,createdAt:l.createdAt,htmlRender:l.htmlRender});continue}if(l.kind===`app-connection`){t.push({kind:`app-connection`,id:l.id,createdAt:l.createdAt,request:l.request});continue}if(l.kind===`user-input`){t.push({kind:`user-input`,id:l.id,createdAt:l.createdAt,request:l.request});continue}let p=l.message.role===`assistant`&&i!==null&&l.message.turnId===i,m=n.get(l.message.id)??l.message.createdAt,h=l.message.role===`assistant`&&r.has(l.message.id)&&!p;t.push({kind:`message`,id:l.id,createdAt:l.createdAt,message:l.message,durationStart:m,showAssistantMeta:h,showAssistantCopyButton:h,assistantCopyStreaming:l.message.streaming||p,assistantTurnDiffSummary:l.message.role===`assistant`?e.turnDiffSummaryByAssistantMessageId.get(l.message.id):void 0,revertTurnCount:l.message.role===`user`?e.revertTurnCountByUserMessageId.get(l.message.id):void 0})}e.isWorking&&s===e.timelineEntries.length&&C();let O=dx(e.timelineEntries,i);return e.isWorking&&!E&&b===null&&!O&&t.push({kind:`thinking`,fallback:u,id:`thinking-indicator-row`,createdAt:e.activeTurnStartedAt}),mx(t)}function dx(e,t){let n={runningTurnId:t,latestUserMessageAt:e.findLast(e=>e.kind===`message`&&e.message.role===`user`)?.createdAt??null};return e.some(e=>e.kind===`user-input`&&e.request.status===`pending`&&ct(e.request,n))}function fx(e,t){let n=tx(e.latestTurn??null,e.runningTurnId??null),{shownIds:r,unfinishedAfter:i}=Pb(e.timelineEntries.flatMap(e=>e.kind===`message`?[e.message]:[]),n,Mb(t.unfinishedTurns,e.latestTurn),Nb(e.timelineEntries.flatMap(e=>e.kind===`work`?[{turnId:e.entry.turnId,at:e.createdAt}]:[]),e.latestTurn)),a=[],o=null,s=0,c=e=>{for(;s<t.births.length;){let n=t.births[s];if(e!==null&&n.createdAt>e)return;a.push({kind:`borg-born`,id:`borg-born:${n.id}`,createdAt:n.createdAt,borgId:n.borgId,name:n.name}),s+=1}};for(let t of e.timelineEntries){if(t.kind===`work`)continue;if(c(t.createdAt),t.kind===`proposed-plan`){a.push({kind:`proposed-plan`,id:t.id,createdAt:t.createdAt,proposedPlan:t.proposedPlan});continue}if(t.kind===`html-render`){a.push({kind:`html-render`,id:t.id,createdAt:t.createdAt,htmlRender:t.htmlRender});continue}if(t.kind===`app-connection`){a.push({kind:`app-connection`,id:t.id,createdAt:t.createdAt,request:t.request});continue}if(t.kind===`user-input`){a.push({kind:`user-input`,id:t.id,createdAt:t.createdAt,request:t.request});continue}let{message:n}=t,s=i.get(n.id),l=s?{kind:`unfinished`,id:`unfinished:${t.id}`,createdAt:n.updatedAt,label:Fb(s)}:null;if(!r.has(n.id)){l&&a.push(l);continue}let u=Date.parse(n.createdAt);Number.isFinite(u)&&(Ib(o,u)&&a.push({kind:`time`,id:`time:${t.id}`,createdAt:n.createdAt}),o=u),a.push({kind:`message`,id:t.id,createdAt:t.createdAt,message:n,durationStart:n.createdAt,showAssistantMeta:n.role===`assistant`,showAssistantCopyButton:n.role===`assistant`,assistantCopyStreaming:!1,assistantTurnDiffSummary:n.role===`assistant`?e.turnDiffSummaryByAssistantMessageId.get(n.id):void 0,bubble:{first:!0,last:!0}}),l&&a.push(l)}c(null),e.isWorking&&!t.awaitingPerson&&a.push({kind:`typing`,id:`typing-indicator-row`,createdAt:e.activeTurnStartedAt,...px(e.timelineEntries,n),avatar:t.avatar});let l=e=>e?.kind===`message`?e.message.role:null;return a.map((e,t)=>{if(e.kind!==`message`)return e;let n=e.message.role;return{...e,bubble:{first:l(a[t-1])!==n,last:l(a[t+1])!==n}}})}function px(e,t){for(let n=e.length-1;n>=0;--n){let r=e[n];if(r.kind===`message`){if(r.message.role===`user`)break;if(r.message.streaming&&r.message.turnId!=null)return{label:`Writing`,phase:`responding`,step:r.id};continue}if(r.kind!==`work`||t!==null&&r.entry.turnId!==t)continue;let i=jb({fallback:`continuing`,entry:r.entry});if(r.entry.reasoning!==void 0)return{label:`Thinking`,phase:i,step:r.id};let a=dt(r.entry);return a===`read`||a===`edit`||a===`command`||a===`code-search`||a===`search`?{label:wt(a),phase:i,step:r.id}:{label:`Working`,phase:i,step:r.id}}return{label:`Thinking`,phase:`starting`,step:`start`}}function mx(e){let t=e.findLastIndex(e=>e.kind===`work-live`);return e.findIndex(e=>e.kind===`work-live`)===t?e:e.map((e,n)=>e.kind===`work-live`&&n!==t?{...e,current:!1}:e)}function hx(e,t){let n=new Map,r=e.length!==t.byId.size,i=e.map((e,i)=>{let a=t.byId.get(e.id),o=a&&vx(a,e)?a:e;return n.set(e.id,o),!r&&t.result[i]!==o&&(r=!0),o});return r?{byId:n,result:i}:t}var gx={threadKey:null,rows:[],leaving:[],entering:[]};function _x(e,t,n,r){if(e!==n.threadKey)return{state:{...gx,threadKey:e,rows:t},rows:t,until:null};let i=new Set(t.map(e=>e.id)),a=n.leaving.filter(e=>e.until>r&&!i.has(e.row.id)),o=n.entering.filter(e=>e.until>r&&i.has(e.id)),s=new Set(n.rows.map(e=>e.id)),c=t.filter(e=>e.kind===`turn-fold`&&!s.has(e.id)),l=n.rows.some(e=>e.kind===`message`);if(c.length>0&&l){let e=[],t=null;for(let o=n.rows.length-1;o>=0;--o){let s=n.rows[o];i.has(s.id)?t=s.id:a.some(e=>e.row.id===s.id)||e.unshift({row:{...s,motion:`leaving`},before:t,until:r+320})}e.length>0&&(a=[...a,...e],o=[...o,...c.map(e=>({id:e.id,until:r+320}))])}let u={threadKey:e,rows:t,leaving:a,entering:o};if(a.length===0&&o.length===0)return{state:u,rows:t,until:null};let d=new Set(o.map(e=>e.id)),f=[];for(let e of t){for(let t of a)t.before===e.id&&f.push(t.row);f.push(d.has(e.id)?{...e,motion:`entering`}:e)}for(let e of a)(e.before===null||!i.has(e.before))&&f.push(e.row);let p=[...a.map(e=>e.until),...o.map(e=>e.until)];return{state:u,rows:f,until:Math.min(...p)}}function vx(e,t){if(e.kind!==t.kind||e.id!==t.id)return!1;switch(e.kind){case`time`:return e.createdAt===t.createdAt;case`unfinished`:return e.label===t.label;case`borg-born`:{let n=t;return e.borgId===n.borgId&&e.name===n.name&&e.createdAt===n.createdAt}case`typing`:{let n=t;return e.createdAt===n.createdAt&&e.label===n.label&&e.phase===n.phase&&e.step===n.step&&e.avatar===n.avatar}case`working`:return e.createdAt===t.createdAt&&e.summary===t.summary;case`thinking`:return e.createdAt===t.createdAt&&e.fallback.label===t.fallback.label;case`turn-fold`:{let n=t;return e.createdAt===n.createdAt&&e.label===n.label&&e.expanded===n.expanded}case`proposed-plan`:return e.proposedPlan===t.proposedPlan;case`html-render`:{let n=t;return e.createdAt===n.createdAt&&yt(e.htmlRender,n.htmlRender)}case`user-input`:{let n=e.request,r=t.request;return n.requestId===r.requestId&&n.createdAt===r.createdAt&&n.status===r.status&&n.questions.length===r.questions.length&&n.questions.every((e,t)=>e.id===r.questions[t]?.id&&r.answers[e.id]===n.answers[e.id])}case`app-connection`:{let n=e.request,r=t.request;return n.requestId===r.requestId&&n.status===r.status&&n.url===r.url&&n.name===r.name&&n.description===r.description&&n.logo===r.logo&&n.reauth===r.reauth}case`work`:{let n=t;return e.isExpandedToolGroupEntry===n.isExpandedToolGroupEntry&&e.isLastExpandedToolGroupEntry===n.isLastExpandedToolGroupEntry&&u(e.groupedEntries,n.groupedEntries)}case`work-live`:{let n=t;return e.createdAt===n.createdAt&&e.groupId===n.groupId&&e.expanded===n.expanded&&e.active===n.active&&e.current===n.current&&e.fallback.label===n.fallback.label&&e.summary===n.summary&&e.summaryKind===n.summaryKind&&u(e.entry,n.entry)&&u(e.groupedEntries,n.groupedEntries)}case`work-toggle`:{let n=t;return e.createdAt===n.createdAt&&e.groupId===n.groupId&&e.hiddenCount===n.hiddenCount&&e.expanded===n.expanded&&e.summary===n.summary&&e.summaryKind===n.summaryKind&&e.hasFailure===n.hasFailure}case`message`:{let n=t;return e.message===n.message&&e.durationStart===n.durationStart&&e.showAssistantMeta===n.showAssistantMeta&&e.showAssistantCopyButton===n.showAssistantCopyButton&&e.assistantCopyStreaming===n.assistantCopyStreaming&&e.assistantTurnDiffSummary===n.assistantTurnDiffSummary&&e.revertTurnCount===n.revertTurnCount&&e.bubble?.first===n.bubble?.first&&e.bubble?.last===n.bubble?.last}}}var yx=/[.*+?^${}()|[\]\\]/g;function bx(e,t){if(t.length===0||e.length<t.length)return[];let n=new RegExp(t.replace(yx,`\\$&`),`giu`),r=[];for(let t of e.matchAll(n))r.push({start:t.index,end:t.index+t[0].length});return r}function xx(e){let t=fe(e).visibleText;for(;;){let e=Pt(t);if(!e.annotation)break;t=e.promptText}return D(t).promptText}function Sx(e){if(e.kind===`proposed-plan`)return{markdown:Th(e.proposedPlan.planMarkdown),lineBreaks:!1,parseRawHtml:!0};if(e.kind!==`message`)return null;if(e.message.role===`user`)return{markdown:xx(e.message.text),lineBreaks:!0,parseRawHtml:!1};if(e.message.role!==`assistant`)return null;let t=e.message.text;return{markdown:t,lineBreaks:Bb(t),parseRawHtml:!0}}function Cx(e,t=[]){let n=new Map(t.map(e=>[e.rowId,e])),r=[];return e.forEach((e,t)=>{let i=Sx(e);if(!i||i.markdown.trim().length===0)return;let a=n.get(e.id),o=a&&a.markdown===i.markdown&&a.lineBreaks===i.lineBreaks&&a.parseRawHtml===i.parseRawHtml?a.text:Ab(i.markdown,i);o.length>0&&r.push({rowId:e.id,rowIndex:t,...i,text:o})}),r}var wx=new Map;function Tx(e,t,n=wx){if(t.trim().length===0)return{matches:[],cache:wx};let r=[],i=new Map;for(let a of e){let e=n.get(a.rowId),o=e&&e.query===t&&e.text===a.text?e:{text:a.text,query:t,ranges:bx(a.text,t)};i.set(a.rowId,o),o.ranges.forEach((e,t)=>{r.push({rowId:a.rowId,rowIndex:a.rowIndex,start:e.start,end:e.end,ordinalInRow:t})})}return{matches:r,cache:i}}function Ex(e,t,n){return t===0?-1:e<0?n===`next`?0:t-1:(e+(n===`next`?1:t-1))%t}function Dx(e,t){return e===t?!0:e===null||t===null?!1:e.rowId===t.rowId&&e.rowIndex===t.rowIndex&&e.start===t.start&&e.end===t.end&&e.ordinalInRow===t.ordinalInRow}function Ox(e,t){return t===null?-1:e.findIndex(e=>e.rowId===t.rowId&&e.start===t.start)}function kx(e,t,n){if(t.length===0)return-1;if(e===null)return 0;let r=n(e.rowId)??e.rowIndex,i=t.findIndex(t=>t.rowIndex>r||t.rowIndex===r&&t.start>=e.start);return i===-1?0:i}function Ax(e,t){let n=null;return{schedule(){n===null&&(n=setTimeout(()=>{n=null,e()},t))},cancel(){n!==null&&(clearTimeout(n),n=null)}}}function jx(e,t){return t===0?`No results`:`${e+1} of ${t}`}var Mx=`[data-timeline-root][data-timeline-row-id]`,Nx=`.chat-markdown`,Px=`button, [aria-hidden='true'], .sr-only, .chat-markdown-codeblock-header, [data-chat-find-skip]`,Fx=`[data-markdown-details-summary]`;function Ix(e){let t=e.parentElement;if(!t?.closest(Nx))return!1;let n=t.closest(Px);return n?n.matches(Fx)&&n.parentElement?.closest(Px)==null:!0}function Lx(e,t){let n=[],r=[],i=``,a=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode:e=>Ix(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT});for(let e=a.nextNode();e;e=a.nextNode())n.push(e),r.push(i.length),i+=e.nodeValue??``;if(n.length===0)return[];let o=0,s=(e,t)=>{for(;o<n.length-1;){let n=r[o+1];if(e>n||e===n&&!t)o+=1;else break}return{node:n[o],offset:e-r[o]}};return bx(i,t).map(e=>{let t=document.createRange(),n=s(e.start,!1);t.setStart(n.node,n.offset);let r=s(e.end,!0);return t.setEnd(r.node,r.offset),t})}function Rx(e,t){let n=e.closest(Mx);if(!n)return!1;let r=Lx(n,t.query)[t.ordinalInRow];return r!==void 0&&e.contains(r.startContainer)}var zx=(0,H.createContext)(null),Bx=(0,H.createContext)(null);function Vx(e,t){return{...t,generation:(e?.generation??0)+1}}function Hx(e,t){return e!==null&&t?.rowId===e?t.generation:null}function Ux(e,t){let n=Hx(e,t);return{expanded:n!==null,seenGeneration:n}}function Wx(e,t,n,r=()=>!0){let i=Hx(t,n);return i===e.seenGeneration?e:{expanded:i!==null&&n!==null&&r(n)||e.expanded,seenGeneration:i}}function Gx(){let e=(0,U.c)(10),t=(0,H.use)(Bx),n=(0,H.use)(zx),r;e[0]!==n||e[1]!==t?(r=()=>Ux(t,n),e[0]=n,e[1]=t,e[2]=r):r=e[2];let[i,a]=(0,H.useState)(r),o;e[3]!==n||e[4]!==t||e[5]!==i?(o=Wx(i,t,n),e[3]=n,e[4]=t,e[5]=i,e[6]=o):o=e[6];let s=o;s!==i&&a(s);let c;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=e=>a(t=>({...t,expanded:typeof e==`function`?e(t.expanded):e})),e[7]=c):c=e[7];let l=c,u;return e[8]===s.expanded?u=e[9]:(u=[s.expanded,l],e[8]=s.expanded,e[9]=u),u}function Kx(e){let t=(0,U.c)(9),n=(0,H.use)(Bx),r=(0,H.use)(zx),i=(0,H.useRef)(null),a;t[0]===e?a=t[1]:(a={expanded:e,seenGeneration:null},t[0]=e,t[1]=a);let[o,s]=(0,H.useState)(a),c,l;t[2]!==r||t[3]!==n?(c=()=>{let e=i.current;s(t=>Wx(t,n,r,t=>e!==null&&Rx(e,t)))},l=[n,r],t[2]=r,t[3]=n,t[4]=c,t[5]=l):(c=t[4],l=t[5]),(0,H.useLayoutEffect)(c,l);let u;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(u=e=>s(t=>({...t,expanded:e})),t[6]=u):u=t[6];let d=u,f;return t[7]===o.expanded?f=t[8]:(f=[i,o.expanded,d],t[7]=o.expanded,t[8]=f),f}var qx=(0,H.createContext)(!0);function Jx(){let e=(0,H.use)(qx),[t,n]=(0,H.useState)(e);return e&&!t&&n(!0),e||t}var Yx={astro:[`#a631be`,`#d568ea`],babel:[`#d5a910`,`#ffd452`],bash:[`#199f43`,`#5ecc71`],biome:[`#1a85d4`,`#69b1ff`],bootstrap:[`#693acf`,`#9d6afb`],browserslist:[`#d5a910`,`#ffd452`],bun:[`#594c5b`,`#79697b`],c:[`#1a85d4`,`#69b1ff`],claude:[`#d47628`,`#ffa359`],cpp:[`#1a85d4`,`#69b1ff`],css:[`#693acf`,`#9d6afb`],database:[`#a631be`,`#d568ea`],default:[`#84848a`,`#adadb1`],docker:[`#1a85d4`,`#69b1ff`],eslint:[`#693acf`,`#9d6afb`],git:[`#ff8c5b`,`#d5512f`],go:[`#1ca1c7`,`#68cdf2`],graphql:[`#d32a61`,`#ff678d`],html:[`#d47628`,`#ffa359`],image:[`#d32a61`,`#ff678d`],javascript:[`#d5a910`,`#ffd452`],json:[`#d47628`,`#ffa359`],markdown:[`#199f43`,`#5ecc71`],mcp:[`#17a5af`,`#64d1db`],nextjs:[`#84848a`,`#adadb1`],npm:[`#d52c36`,`#ff6762`],oxc:[`#1ca1c7`,`#68cdf2`],postcss:[`#d52c36`,`#ff6762`],prettier:[`#17a5af`,`#64d1db`],python:[`#1a85d4`,`#69b1ff`],react:[`#1ca1c7`,`#68cdf2`],ruby:[`#d52c36`,`#ff6762`],rust:[`#d47628`,`#ffa359`],sass:[`#d32a61`,`#ff678d`],stylelint:[`#84848a`,`#adadb1`],svelte:[`#d52c36`,`#ff6762`],svg:[`#d47628`,`#ffa359`],svgo:[`#199f43`,`#5ecc71`],swift:[`#d47628`,`#ffa359`],table:[`#17a5af`,`#64d1db`],tailwind:[`#1ca1c7`,`#68cdf2`],terraform:[`#693acf`,`#9d6afb`],text:[`#84848a`,`#adadb1`],typescript:[`#1a85d4`,`#69b1ff`],vite:[`#a631be`,`#d568ea`],vscode:[`#1a85d4`,`#69b1ff`],vue:[`#199f43`,`#5ecc71`],wasm:[`#693acf`,`#9d6afb`],webpack:[`#1a85d4`,`#69b1ff`],yml:[`#d52c36`,`#ff6762`],zig:[`#d47628`,`#ffa359`],zip:[`#d47628`,`#ffa359`]},Xx=(0,H.memo)(function(e){let t=(0,U.c)(19),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=[],t[0]=n):n=t[0],(0,H.useInsertionEffect)($s,n);let r;t[1]!==e.kind||t[2]!==e.pathValue?(r=Zs(e.pathValue,e.kind),t[1]=e.kind,t[2]=e.pathValue,t[3]=r):r=t[3];let i=r;if(!i){let n;return t[4]!==e.className||t[5]!==e.kind?(n=e.kind===`directory`?(0,W.jsx)(fa,{className:z(`size-4 text-icon-muted`,e.className)}):(0,W.jsx)(Xr,{className:z(`size-4 text-icon-muted`,e.className)}),t[4]=e.className,t[5]=e.kind,t[6]=n):n=t[6],n}let a=Yx[i.token??`default`]??Yx.default,o=i.name,s=i.token,c;t[7]===e.className?c=t[8]:(c=z(`size-4 shrink-0`,e.className),t[7]=e.className,t[8]=c);let l=a?.[e.theme===`light`?0:1],u;t[9]===l?u=t[10]:(u={color:l},t[9]=l,t[10]=u);let d=`#${i.name}`,f;t[11]===d?f=t[12]:(f=(0,W.jsx)(`use`,{href:d}),t[11]=d,t[12]=f);let p;return t[13]!==i.name||t[14]!==i.token||t[15]!==c||t[16]!==u||t[17]!==f?(p=(0,W.jsx)(`svg`,{"aria-hidden":`true`,"data-pierre-icon":o,"data-icon-token":s,className:c,style:u,viewBox:`0 0 16 16`,children:f}),t[13]=i.name,t[14]=i.token,t[15]=c,t[16]=u,t[17]=f,t[18]=p):p=t[18],p}),Zx=fh,Qx=dh;function $x(e){let t=(0,U.c)(12),n=e.path,r;t[0]===e.path?r=t[1]:(r=Js(e.path),t[0]=e.path,t[1]=r);let i;t[2]!==e.path||t[3]!==e.theme||t[4]!==r?(i=(0,W.jsx)(Xx,{pathValue:n,kind:r,theme:e.theme,className:mh}),t[2]=e.path,t[3]=e.theme,t[4]=r,t[5]=i):i=t[5];let a=e.selectable?hh:gh,o;t[6]!==e.label||t[7]!==a?(o=(0,W.jsx)(`span`,{className:a,children:e.label}),t[6]=e.label,t[7]=a,t[8]=o):o=t[8];let s;return t[9]!==i||t[10]!==o?(s=(0,W.jsxs)(W.Fragment,{children:[i,o]}),t[9]=i,t[10]=o,t[11]=s):s=t[11],s}var eS={"open-in-preview":`open-link-in-preview`,"open-external":`open-link-external`,"copy-link":`copy-link`,"link-to-thread":`link-pull-request-to-thread`,"unlink-from-thread":`unlink-pull-request-from-thread`},tS=[{id:`open-in-preview`,label:`Open in integrated browser`},{id:`open-external`,label:`Open in system browser`},{id:`copy-link`,label:`Copy Link`}];function nS(e){let t=e.canOpenInPreview?tS:tS.filter(e=>e.id!==`open-in-preview`);return e.threadLinkAction===void 0?t:[{id:e.threadLinkAction,label:e.threadLinkAction===`link-to-thread`?`Link to thread`:`Unlink from thread`},...t]}function rS(e){if(!e)return null;try{let t=new URL(e);return t.protocol!==`http:`&&t.protocol!==`https:`?null:t.hostname||null}catch{return null}}async function iS({href:e,position:t,canOpenInPreview:n=!0,threadLinkAction:r,showContextMenu:i,openInPreview:a,openExternal:o,copyLink:s,updateThreadLink:c,reportFailure:l}){let u;try{u=await i(nS({canOpenInPreview:n,threadLinkAction:r}),t)}catch(e){l(`show-link-context-menu`,e);return}try{u===`open-in-preview`?await a(e):u===`open-external`?await o(e):u===`copy-link`?await s(e):(u===`link-to-thread`||u===`unlink-from-thread`)&&await c?.(e,u===`link-to-thread`)}catch(e){u&&l(eS[u],e)}}function aS(e){let{open:t,defaultOpen:n,onOpenChange:r,disabled:i}=e,[a,o]=ne({controlled:t,default:n,name:`Collapsible`,state:`open`}),{mounted:s,setMounted:c,transitionStatus:l}=j(a,!0,!0),u=F(),[d,f]=H.useState(),p=d??u,m=ce(e=>{let t=!a,n=ue(T,e.nativeEvent);r(t,n),!n.isCanceled&&o(t)});return H.useMemo(()=>({disabled:i,handleTrigger:m,mounted:s,open:a,panelId:p,setMounted:c,setOpen:o,setPanelIdState:f,transitionStatus:l}),[i,m,s,a,p,c,o,f,l])}var oS=H.createContext(void 0);function sS(){let e=H.useContext(oS);if(e===void 0)throw Error(y(15));return e}var cS=function(e){return e.open=`data-open`,e.closed=`data-closed`,e[e.startingStyle=A.startingStyle]=`startingStyle`,e[e.endingStyle=A.endingStyle]=`endingStyle`,e}({}),lS=function(e){return e.panelOpen=`data-panel-open`,e}({}),uS={[cS.open]:``},dS={[cS.closed]:``},fS={open(e){return e?{[lS.panelOpen]:``}:null}},pS={open(e){return e?uS:dS},...N},mS=H.forwardRef(function(e,t){let{render:n,className:r,defaultOpen:i=!1,disabled:a=!1,onOpenChange:o,open:s,style:c,...l}=e,u=ce(o),d=aS({open:s,defaultOpen:i,onOpenChange:u,disabled:a}),f=H.useMemo(()=>({open:d.open,disabled:d.disabled,transitionStatus:d.transitionStatus}),[d.open,d.disabled,d.transitionStatus]),p=H.useMemo(()=>({...d,onOpenChange:u,state:f}),[d,u,f]),m=S(`div`,e,{state:f,ref:t,props:l,stateAttributesMapping:pS});return(0,W.jsx)(oS.Provider,{value:p,children:m})}),hS={...fS,...N},gS=H.forwardRef(function(e,t){let{panelId:n,open:r,handleTrigger:i,state:a,disabled:o}=sS(),{className:s,disabled:c=o,id:l,render:u,nativeButton:d=!0,style:f,...p}=e,{getButtonProps:m,buttonRef:h}=de({disabled:c,focusableWhenDisabled:!0,native:d});return S(`button`,e,{state:a,ref:[t,h],props:[{"aria-controls":r?n:void 0,"aria-expanded":r,onClick:i},p,m],stateAttributesMapping:hS})}),_S={height:void 0,width:void 0};function vS(e){let{externalRef:t,hiddenUntilFound:n,id:r,keepMounted:i,mounted:a,onOpenChange:o,open:s,setMounted:c,setOpen:l,transitionStatus:u}=e,d=H.useRef(null),f=H.useRef(null),[p,m]=H.useState(_S),h=H.useRef(_S),g=H.useRef(!1),_=H.useRef(s),v=H.useRef(!1),[y,b]=H.useState(!1),S=H.useRef(null),w=I(t,d),T=x({mounted:a,open:s}),E=C(d,!1,!1),D=!s&&!a,O=y?`idle`:u,k=s&&(_.current||v.current),A=!s&&a&&f.current===`css-animation`&&p.height===void 0&&p.width===void 0?h.current:p,j=n&&D&&f.current!==`css-animation`,N=ce((e,t=!0)=>{t&&(h.current=e),m(e)}),F=ce(()=>{S.current?.(),S.current=null}),L=ce(e=>{F(),S.current=()=>{S.current=null,e()}}),ee=ce(()=>{s&&a&&f.current===`css-animation`&&(v.current=!0)});R(()=>{!y||u===`starting`||b(!1)},[y,u]),H.useEffect(()=>()=>{ee(),F()},[ee,F]),R(()=>{let e=d.current;if(!e)return;!s&&S.current&&F();let t=bS(e,k);if(f.current=t,s&&u===`idle`&&_.current&&t===`css-animation`){h.current=yS(e);return}if(s&&u===`starting`){let n=g.current;if(g.current=!1,t===`none`){N(yS(e)),b(!0);return}if(t===`css-transition`){let t=CS(e);if(N(yS(e)),!n)return t;let r=SS(e,`transition-duration`,`0s`);return L(r),b(!0),t}if(t===`css-animation`){if(N(yS(e)),!n){SS(e,`animation-name`,`none`)();return}let t=SS(e,`animation-name`,`none`),r=SS(e,`animation-duration`,`0s`);t(),L(r),b(!0);return}}if(!s&&a&&(u===`idle`||u===`starting`)){if(t===`none`){N(_S,!1),c(!1);return}t===`css-animation`&&(_.current=!1,v.current=!1),N(yS(e));return}if(u!==`ending`)return;if(t===`none`){c(!1);return}let n=yS(e);if(!((n.height??0)>0||(n.width??0)>0)){c(!1);return}N(n),t===`css-animation`&&SS(e,`animation-name`,`none`)()},[a,s,F,N,c,L,k,u]),M({enabled:s&&a&&O===`idle`,open:!0,ref:d,onComplete(){s&&N(_S,!1)}}),H.useEffect(()=>{if(s||!a||O!==`ending`||!d.current)return;let e=new AbortController,t=-1;function n(){T.current.open||(c(!1),N(_S,!1))}return t=P.request(()=>{e.signal.aborted||E(n,e.signal)}),()=>{P.cancel(t),e.abort()}},[T,a,s,O,E,N,c]),R(()=>{let e=d.current;!e||!n||!D||e.setAttribute(`hidden`,`until-found`)},[D,n]),H.useEffect(function(){let e=d.current;if(!e)return;function t(e){g.current=!0,l(!0),o(!0,ue(ie,e))}return ae(e,`beforematch`,t)},[o,l]);let te=i||n||a||s;return{height:A.height,props:{...j?{[cS.startingStyle]:``}:void 0,hidden:D,id:r},ref:w,shouldPreventOpenAnimation:k,shouldRender:te,transitionStatus:O,width:A.width}}function yS(e){return{height:e.scrollHeight,width:e.scrollWidth}}function bS(e,t=!1){let n=te(e).getComputedStyle(e),r=(n.animationName.split(`,`).map(e=>e.trim()).some(e=>e!==``&&e!==`none`)||t)&&xS(n.animationDuration),i=xS(n.transitionDuration);return r&&i||i?`css-transition`:r?`css-animation`:`none`}function xS(e){return e.split(`,`).map(e=>e.trim()).some(e=>e!==``&&Number.parseFloat(e)>0)}function SS(e,t,n){let r=e.style.getPropertyValue(t),i=e.style.getPropertyPriority(t);return e.style.setProperty(t,n),()=>{if(r===``){e.style.removeProperty(t);return}e.style.setProperty(t,r,i)}}function CS(e){let t={"justify-content":e.style.justifyContent,"align-items":e.style.alignItems,"align-content":e.style.alignContent,"justify-items":e.style.justifyItems};Object.keys(t).forEach(t=>{e.style.setProperty(t,`initial`,`important`)});function n(){Object.entries(t).forEach(([t,n])=>{if(n===``){e.style.removeProperty(t);return}e.style.setProperty(t,n)})}let r=P.request(n);return()=>{P.cancel(r),n()}}var wS=function(e){return e.collapsiblePanelHeight=`--collapsible-panel-height`,e.collapsiblePanelWidth=`--collapsible-panel-width`,e}({}),TS=H.forwardRef(function(e,t){let{className:n,hiddenUntilFound:r,keepMounted:i,render:a,id:o,style:s,...c}=e,{mounted:l,onOpenChange:u,open:d,panelId:f,setMounted:p,setPanelIdState:m,setOpen:h,state:g,transitionStatus:_}=sS(),v=r??!1,y=i??!1;R(()=>{if(o)return m(o),()=>{m(void 0)}},[o,m]);let{height:b,props:x,ref:C,shouldPreventOpenAnimation:w,shouldRender:T,transitionStatus:E,width:D}=vS({externalRef:t,hiddenUntilFound:v,id:f,keepMounted:y,mounted:l,onOpenChange:u,open:d,setMounted:p,setOpen:h,transitionStatus:_}),O={...g,transitionStatus:E},k=le(s,O),A=S(`div`,{...e,style:void 0},{state:O,ref:C,props:[x,{style:{[wS.collapsiblePanelHeight]:b===void 0?`auto`:`${b}px`,[wS.collapsiblePanelWidth]:D===void 0?`auto`:`${D}px`}},c,k?{style:k}:void 0,w?{style:{animationName:`none`}}:void 0],stateAttributesMapping:pS});return T?A:null});function ES(e){let t=(0,U.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,W.jsx)(mS,{"data-slot":`collapsible`,...n}),t[2]=n,t[3]=r),r}function DS(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=z(`cursor-pointer`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,W.jsx)(gS,{className:i,"data-slot":`collapsible-trigger`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function OS(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=z(`h-(--collapsible-panel-height) overflow-hidden transition-[height] duration-200 motion-reduce:transition-none data-ending-style:h-0 data-starting-style:h-0 data-open:data-ending-style:[height:var(--collapsible-panel-height)]`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,W.jsx)(TS,{className:i,"data-slot":`collapsible-panel`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var kS=class{maxEntries;maxMemoryBytes;cache=new Map;totalSize=0;constructor(e,t){this.maxEntries=e,this.maxMemoryBytes=t}get(e){let t=this.cache.get(e);return t?(this.promote(e,t),t.value):null}set(e,t,n){if(n>this.maxMemoryBytes)return;let r=this.cache.get(e);r&&(this.totalSize-=r.approximateSize,this.cache.delete(e)),this.evictIfNeeded(n),this.cache.set(e,{value:t,approximateSize:n}),this.totalSize+=n}clear(){this.cache.clear(),this.totalSize=0}promote(e,t){this.cache.delete(e),this.cache.set(e,t)}evictIfNeeded(e){for(;(this.cache.size>=this.maxEntries||this.totalSize+e>this.maxMemoryBytes)&&this.cache.size>0;){let e=this.cache.keys().next().value;if(e===void 0)break;let t=this.cache.get(e);t&&(this.totalSize-=t.approximateSize),this.cache.delete(e)}}},AS=new Map;function jS(e){let t=AS.get(e);if(t)return t;let n=Ze({themes:[rt(`dark`),rt(`light`)],langs:[e],preferredHighlighter:`shiki-js`}).catch(t=>{if(e===`text`)throw AS.delete(e),t;return jS(`text`)});return AS.set(e,n),n}var MS=class extends H.Component{state={failed:!1};static getDerivedStateFromError(){return{failed:!0}}render(){return this.state.failed?this.props.fallback:this.props.children}},NS=new Set([`BUTTON`,`INPUT`,`SCRIPT`,`STYLE`,`TEMPLATE`]),PS=[`select-none`,`sr-only`],FS=[`button`,`input`,`script`,`style`,`svg`,`[aria-hidden="true"]`,...PS.map(e=>`.${e}`)].join(`, `);function IS(e){return NS.has(e.tagName)||e.localName===`svg`||e.getAttribute(`aria-hidden`)===`true`?!0:PS.some(t=>e.classList.contains(t))}function LS(e,t){let n=/^(\s*)([\s\S]*?)(\s*)$/.exec(e),r=n?.[2]??``;return r?`${n?.[1]??``}${t}${r}${t}${n?.[3]??``}`:e}function RS(e,t){if(t.includes(`
|
|
225
|
+
`))return!0;for(let t of e.childNodes)if(t.nodeType===Node.ELEMENT_NODE&&t.classList.contains(`line`))return!0;return!1}function zS(e){let t=[...e.match(/`+/g)??[]].reduce((e,t)=>Math.max(e,t.length),0),n="`".repeat(Math.max(1,t+ +(t>0))),r=e.startsWith("`")||e.endsWith("`")?` `:``;return`${n}${r}${e}${r}${n}`}function BS(e){let t=[...e.match(/`{3,}/g)??[]].reduce((e,t)=>Math.max(e,t.length),0);return"`".repeat(Math.max(3,t+1))}function VS(e){let t=e.closest(`[data-language]`)?.getAttribute(`data-language`)??/(?:^|\s)language-(\S+)/.exec(e.querySelector(`code`)?.className??``)?.[1]??null;return t&&t!==`text`?t:null}function HS(e){let t=(e.textContent??``).replace(/\n$/,``),n=BS(t);return`${n}${VS(e)??``}\n${t}\n${n}\n\n`}function US(e){return $(e).replace(/\n+/g,` `).trim().replaceAll(`|`,`\\|`)}function WS(e){return`| ${e.map(e=>{let t=e.style?.textAlign??e.getAttribute(`align`)??``;return t===`center`?`:---:`:t===`right`?`---:`:`---`}).join(` | `)} |`}function GS(e){let t=[...e.querySelectorAll(`:scope > thead > tr, :scope > tbody > tr, :scope > tr`)];if(t.length===0)return``;let n=[],r=!1;for(let e of t){let t=[...e.children].filter(e=>e.tagName===`TH`||e.tagName===`TD`);t.length!==0&&(n.push(`| ${t.map(e=>US(e)).join(` | `)} |`),r||=(n.push(WS(t)),!0))}return`${n.join(`
|
|
226
|
+
`)}\n\n`}function KS(e,t,n){let r=e.querySelector(`input[type="checkbox"]`),i=r?`[${r.checked?`x`:` `}] `:``,a=t?`${n}. ${i}`:`- ${i}`,o=$(e).replace(/\n{3,}/g,`
|
|
227
|
+
|
|
228
|
+
`).trim();e.querySelector(`:scope > p`)||(o=o.replace(/\n{2,}/g,`
|
|
229
|
+
`));let s=` `.repeat(a.length),[c=``,...l]=o.split(`
|
|
230
|
+
`);return[`${a}${c}`,...l.map(e=>e.length>0?`${s}${e}`:e)].join(`
|
|
231
|
+
`)}function qS(e,t){let n=Number.parseInt(e.getAttribute(`start`)??`1`,10)||1,r=[...e.children].filter(e=>e.tagName===`LI`);return r.length===0?``:`${r.map((e,r)=>KS(e,t,n+r)).join(`
|
|
232
|
+
`)}\n\n`}function JS(e){let t=$(e).replace(/\n{3,}/g,`
|
|
233
|
+
|
|
234
|
+
`).trim();return t?`${t.split(`
|
|
235
|
+
`).map(e=>e.length>0?`> ${e}`:`>`).join(`
|
|
236
|
+
`)}\n\n`:``}function YS(e){let t=e.querySelector(`:scope > [data-markdown-details-summary]`)?.textContent?.trim()??`Details`,n=e.querySelector(`:scope > * [data-markdown-details-content]`),r=n?$(n).trim():``;return`<details${e.getAttribute(`data-markdown-details-open`)===`true`?` open`:``}>\n<summary>${t}</summary>${r?`\n\n${r}`:``}\n</details>\n\n`}function XS(e){let t=e.getAttribute(`data-markdown-copy`);if(t!==null)return t;let n=$(e),r=e.getAttribute(`href`)??``;if(!/^https?:\/\//i.test(r))return n;let i=n.trim();return i?i===r?r:`[${i}](${r})`:``}function $(e){let t=``;for(let n of e.childNodes)t+=ZS(n);return t}function ZS(e){if(e.nodeType===Node.TEXT_NODE){let t=e.textContent??``;return t.includes(`
|
|
237
|
+
`)&&t.trim().length===0?`
|
|
238
|
+
`:t}if(e.nodeType!==Node.ELEMENT_NODE)return``;let t=e;if(t.hasAttribute(`data-markdown-details`))return YS(t);let n=t.getAttribute(`data-markdown-copy`);if(n!==null)return n;if(IS(t))return``;let r=/^H([1-6])$/.exec(t.tagName)?.[1];if(r)return`${`#`.repeat(Number(r))} ${$(t).trim()}\n\n`;switch(t.tagName){case`BR`:return`
|
|
239
|
+
`;case`HR`:return`---
|
|
240
|
+
|
|
241
|
+
`;case`P`:return`${$(t).trim()}\n\n`;case`PRE`:return HS(t);case`CODE`:{let e=t.textContent??``;return RS(t,e)?e:zS(e)}case`STRONG`:case`B`:return LS($(t),`**`);case`EM`:case`I`:return LS($(t),`*`);case`DEL`:case`S`:return LS($(t),`~~`);case`A`:return XS(t);case`IMG`:{let e=t.getAttribute(`alt`)??``,n=t.getAttribute(`src`)??``;return e&&n?``:``}case`UL`:return qS(t,!1);case`OL`:return qS(t,!0);case`BLOCKQUOTE`:return JS(t);case`TABLE`:return GS(t);case`DIV`:case`SECTION`:case`ARTICLE`:{let e=$(t);return e&&!e.endsWith(`
|
|
242
|
+
`)?`${e}\n`:e}default:return $(t)}}function QS(e,t){for(let n of e.childNodes){if(t.other)return;if(n.nodeType===Node.TEXT_NODE){(n.textContent??``).trim().length>0&&(t.other=!0);continue}if(n.nodeType!==Node.ELEMENT_NODE)continue;let e=n;if(e.hasAttribute(`data-markdown-details`)){t.other=!0;continue}let r=e.getAttribute(`data-markdown-copy`);if(r!==null){r.trim().length>0&&(t.other=!0);continue}if(!IS(e)){if(e.tagName===`PRE`){t.pre?t.other=!0:t.pre=e;continue}if(e.tagName===`IMG`||e.tagName===`HR`){t.other=!0;continue}if(e.tagName===`LI`){let n=t.pre;QS(e,t),!t.other&&t.pre===n&&(t.other=!0);continue}QS(e,t)}}}function $S(e){let t={pre:null,other:!1};return QS(e,t),t.other?null:t.pre}function eC(e){return e.split(/(```[\s\S]*?(?:```|$))/).map((e,t)=>t%2==1?e:e.replace(/[ \t]+(?=\n)/g,``).replace(/\n{3,}/g,`
|
|
243
|
+
|
|
244
|
+
`)).join(``).trim()}function tC(e){let t=$S(e);return t?(t.textContent??``).replace(/\n$/,``):eC($(e))}function nC(e){return GS(e).trim()}function rC(e){let t=e.replace(/\s+/g,` `).trim();return/[",\n]/.test(t)?`"${t.replaceAll(`"`,`""`)}"`:t}function iC(e){let t=[...e.querySelectorAll(`:scope > thead > tr, :scope > tbody > tr, :scope > tr`)],n=[];for(let e of t){let t=[...e.children].filter(e=>e.tagName===`TH`||e.tagName===`TD`);t.length!==0&&n.push(t.map(e=>rC(e.textContent??``)).join(`,`))}return n.join(`
|
|
245
|
+
`)}function aC(e){for(let t of e.querySelectorAll(FS)){if(t.classList.contains(`chat-markdown-file-link`)||t.closest(`.chat-markdown-file-link`)){(t.getAttribute(`aria-hidden`)===`true`||t.localName===`svg`)&&t.remove();continue}t.remove()}return`<meta charset="utf-8">${e.innerHTML}`}function oC(e){let t=[],n=[];for(let r=0;r<e.rangeCount;r+=1){let i=e.getRangeAt(r);if(i.collapsed)continue;let a=document.createElement(`div`);a.appendChild(i.cloneContents());let o=i.commonAncestorContainer;if((o.nodeType===Node.ELEMENT_NODE?o:o.parentElement)?.closest(`pre`)){let e=i.toString();e&&(t.push(e),n.push(aC(a)));continue}let s=tC(a);s&&(t.push(s),n.push(aC(a)))}return t.length===0?null:{text:t.join(`
|
|
246
|
+
|
|
247
|
+
`),html:n.join(``)}}var sC={avif:`image`,gif:`image`,ico:`image`,jpeg:`image`,jpg:`image`,png:`image`,svg:`image`,webp:`image`,htm:`page`,html:`page`,pdf:`pdf`,csv:`sheet`,xlsx:`sheet`,docx:`doc`,pptx:`slides`,md:`text`,mdx:`text`,txt:`text`,css:`code`,js:`code`,json:`code`,jsx:`code`,py:`code`,ts:`code`,tsx:`code`},cC={image:`Image`,page:`Web page`,pdf:`PDF`,sheet:`Spreadsheet`,doc:`Word document`,slides:`Presentation`,text:`Text`,code:`Code`,other:`File`},lC={image:[`#d32a61`,`#ff678d`],page:[`#693acf`,`#9d6afb`],pdf:[`#d52c36`,`#ff6762`],sheet:[`#199f43`,`#5ecc71`],doc:[`#1a85d4`,`#69b1ff`],slides:[`#d47628`,`#ffa359`],text:[`#84848a`,`#adadb1`],code:[`#84848a`,`#adadb1`],other:[`#84848a`,`#adadb1`]};function uC(e){return e.replaceAll(`\\`,`/`).split(`/`).filter(e=>e.length>0)}function dC(e){return uC(e).at(-1)??e}function fC(e){let t=uC(e);return t.length>1?`${t.slice(0,-1).join(`/`)}/`:null}function pC(e){let t=dC(e),n=t.lastIndexOf(`.`);return n>0?t.slice(n+1).toLowerCase():``}function mC(e){return sC[pC(e)]??`other`}function hC(e){let t=mC(e),n=pC(e);return t===`image`?`${n.toUpperCase()} image`:n===`csv`?`CSV spreadsheet`:cC[t]}function gC(e){switch(e){case`added`:case`new`:case`A`:return`New`;case`deleted`:case`delete`:case`D`:return`Deleted`;case`renamed`:case`R`:return`Renamed`;default:return`Edited`}}function _C(e,t=3){let n=e.map(dC);if(n.length<=1)return n.join(``);if(n.length<=t)return`${n.slice(0,-1).join(`, `)} and ${n.at(-1)}`;let r=n.slice(0,t-1);return`${r.join(`, `)} and ${n.length-r.length} more`}function vC(e,t){let n=e.filter(e=>!e.embedded),r=new Set(n.map(e=>e.path));return{deliverables:n.map(e=>({result:e,file:t.find(t=>t.path===e.path)})),others:t.filter(e=>!r.has(e.path))}}var yC={image:Sa,page:Ot,pdf:be,sheet:na,doc:Ei,slides:Ii,text:Ki,code:oi,other:Xr};function bC(e){let t=mC(e);return{icon:/\.csv$/i.test(e)?gi:yC[t],family:t}}function xC(e){let t=(0,U.c)(10),n;t[0]===e.pathValue?n=t[1]:(n=bC(e.pathValue),t[0]=e.pathValue,t[1]=n);let{icon:r,family:i}=n,[a,o]=lC[i],s=e.theme===`light`?a:o,c=`color-mix(in srgb, ${s} 12%, transparent)`,l;t[2]!==s||t[3]!==c?(l={color:s,background:c},t[2]=s,t[3]=c,t[4]=l):l=t[4];let u;t[5]===r?u=t[6]:(u=(0,W.jsx)(r,{className:`size-4`}),t[5]=r,t[6]=u);let d;return t[7]!==l||t[8]!==u?(d=(0,W.jsx)(`span`,{"aria-hidden":`true`,className:`flex size-7 shrink-0 items-center justify-center rounded-lg`,style:l,children:u}),t[7]=l,t[8]=u,t[9]=d):d=t[9],d}function SC(e){let t=(0,U.c)(10),n;t[0]===e.pathValue?n=t[1]:(n=bC(e.pathValue),t[0]=e.pathValue,t[1]=n);let{icon:r,family:i}=n,[a,o]=lC[i],s;t[2]===e.className?s=t[3]:(s=z(`size-3.5 shrink-0`,e.className),t[2]=e.className,t[3]=s);let c=e.theme===`light`?a:o,l;t[4]===c?l=t[5]:(l={color:c},t[4]=c,t[5]=l);let u;return t[6]!==r||t[7]!==s||t[8]!==l?(u=(0,W.jsx)(r,{"aria-hidden":`true`,className:s,style:l}),t[6]=r,t[7]=s,t[8]=l,t[9]=u):u=t[9],u}function CC(e){let t=(0,U.c)(7),{result:n,threadRef:r,version:i,copyMarkdown:a}=e,o;t[0]!==n||t[1]!==r||t[2]!==i?(o=(0,W.jsx)(TC,{result:n,file:void 0,threadRef:r,version:i}),t[0]=n,t[1]=r,t[2]=i,t[3]=o):o=t[3];let s;return t[4]!==a||t[5]!==o?(s=(0,W.jsx)(`span`,{className:`mt-4 block overflow-hidden rounded-tile border border-border/60 bg-canvas-quiet`,"data-markdown-copy":a,children:o}),t[4]=a,t[5]=o,t[6]=s):s=t[6],s}function wC(e){let t=(0,U.c)(15),n=e.icon,r;t[0]!==e.disabled||t[1]!==e.expanded||t[2]!==e.label||t[3]!==e.onClick?(r=(0,W.jsx)(re,{type:`button`,size:`icon-xs`,variant:`ghost`,"aria-label":e.label,"aria-expanded":e.expanded,disabled:e.disabled,onClick:e.onClick}),t[0]=e.disabled,t[1]=e.expanded,t[2]=e.label,t[3]=e.onClick,t[4]=r):r=t[4];let i;t[5]===n?i=t[6]:(i=(0,W.jsx)(n,{className:`size-4`}),t[5]=n,t[6]=i);let a;t[7]!==r||t[8]!==i?(a=(0,W.jsx)(Me,{render:r,children:i}),t[7]=r,t[8]=i,t[9]=a):a=t[9];let o;t[10]===e.tooltip?o=t[11]:(o=(0,W.jsx)(Ve,{side:`top`,children:e.tooltip}),t[10]=e.tooltip,t[11]=o);let s;return t[12]!==a||t[13]!==o?(s=(0,W.jsxs)(Le,{children:[a,o]}),t[12]=a,t[13]=o,t[14]=s):s=t[14],s}function TC({result:e,file:t,threadRef:n,version:r,divided:i=!1,reserveToggle:a=!1}){let o=Ge(),{resolvedTheme:s}=De(),[c,l]=(0,H.useState)(e.image&&!e.embedded),[u,d]=(0,H.useState)(null),[f,p]=(0,H.useState)(!1),m=$t(n.environmentId,{_tag:`workspace-file`,threadId:n.threadId,path:e.path}),h=dC(e.path),g=m._tag===`Success`?`${m.url}?v=${encodeURIComponent(r)}`:null,_=g!==null&&u===g,v=e.image&&!e.embedded,y=[o?fC(e.path):null,hC(e.path),t?gC(t.kind):null].filter(e=>e!==null).join(` · `),b=Ce(),x=()=>{if(b){b(m._tag===`Success`?m.sourcePath??e.path:e.path);return}m._tag===`Success`&&Rt.getState().openFile(n,m.sourcePath??e.path)},S=b!==null||m._tag===`Success`,C=async()=>{if(g){p(!1);try{let e=await fetch(g,{credentials:`omit`});if(!e.ok)throw Error(`Download failed`);let t=URL.createObjectURL(await e.blob()),n=document.createElement(`a`);n.href=t,n.download=h,n.click(),setTimeout(()=>URL.revokeObjectURL(t),3e4)}catch{p(!0)}}};return(0,W.jsxs)(`span`,{className:z(`block`,i&&`border-t border-border/60`),"data-result-path":e.path,children:[c&&v?(0,W.jsx)(`span`,{className:`block bg-card p-3`,children:g&&!_?(0,W.jsx)(`button`,{type:`button`,className:`block w-full cursor-zoom-in rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring`,onClick:x,"aria-label":`Open preview of ${h}`,children:(0,W.jsx)(`img`,{src:g,alt:h,className:`mx-auto max-h-80 max-w-full rounded-md object-contain`,onError:()=>d(g)})}):(0,W.jsx)(`span`,{className:`block p-6 text-center text-sm text-muted-foreground`,children:_||m._tag===`Failure`?`Preview unavailable`:`Loading preview…`})}):null,(0,W.jsxs)(`span`,{className:`flex items-center gap-3 py-2 pr-2 pl-3`,children:[(0,W.jsx)(xC,{pathValue:e.path,theme:s}),(0,W.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,W.jsx)(`button`,{type:`button`,disabled:!S,onClick:x,className:`block max-w-full truncate text-left text-sm text-foreground hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:no-underline`,children:h}),(0,W.jsx)(`span`,{className:`block truncate text-xs text-muted-foreground`,children:y})]}),o&&t&<(t)?(0,W.jsx)(`span`,{className:`shrink-0 font-mono text-[11px] tabular-nums`,children:(0,W.jsx)(it,{additions:t.additions,deletions:t.deletions,layout:`inline`})}):null,(0,W.jsxs)(`span`,{className:`flex shrink-0 items-center gap-0.5`,children:[(0,W.jsx)(wC,{label:`Download ${h}`,tooltip:`Download`,icon:we,disabled:!g,onClick:()=>void C()}),v?(0,W.jsx)(wC,{label:`${c?`Hide`:`Show`} preview of ${h}`,tooltip:c?`Hide preview`:`Show preview`,icon:c?Br:Ar,expanded:c,onClick:()=>l(e=>!e)}):a?(0,W.jsx)(`span`,{"aria-hidden":`true`,className:`size-7 sm:size-6`}):null,(0,W.jsx)(wC,{label:b?`Show ${h} on the canvas`:`Open ${h}`,tooltip:b?`Show on canvas`:`Open`,icon:b?xe:L,disabled:!S,onClick:x})]})]}),f?(0,W.jsx)(`span`,{role:`alert`,className:`block px-3 pb-2 text-sm text-destructive`,children:`Couldn’t download this file. Try again.`}):null]})}function EC(e,t,n){if(e?.tagName!==`p`)return!1;let r=e.children?.filter(e=>e.type!==`text`||e.value?.trim());if(r?.length!==1||r[0]?.tagName!==`a`)return!1;let i=r[0];if(i.children?.some(e=>e.type!==`text`))return!1;let a=i.children?.map(e=>e.value??``).join(``).trim()??``;if(!/^(download|open|preview|view)\b/i.test(a))return!1;let o=i.properties?.href;if(typeof o!=`string`)return!1;let s=yb(o,t),c=s?.workspaceRelativePath??s?.filePath;return c!==void 0&&n.includes(c)}function DC(e,t,n){let r=n.filter(e=>![`deleted`,`delete`,`D`].includes(e.kind)&&at(e.path)&&!e.path.split(/[\\/]/u).some(e=>e.startsWith(`.`))),i=new Set(n.filter(e=>[`deleted`,`delete`,`D`].includes(e.kind)).map(e=>e.path)),a=[...Uy(e).map(e=>yb(e,t)),...Hy(e).map(e=>gb(e,t)??(at(e)?yb(e,t):null))],o=new Set([...e.matchAll(/!\[[^\]]*\]\([^\n]*?\)/gu)].flatMap(e=>Uy(e[0])).map(e=>{let n=yb(e,t);return n?.workspaceRelativePath??n?.filePath})),s=new Set;for(let e of a){let t=e?.workspaceRelativePath??e?.filePath;if(!(!t||!at(t)||i.has(t))){if(!t.includes(`/`)){let e=r.filter(e=>e.path.split(`/`).at(-1)===t);e.length===1&&(t=e[0].path)}s.add(t)}}if(s.size===0){let e=r.filter(e=>qe(e.path));e.length===1?s.add(e[0].path):r.length===1&&s.add(r[0].path)}return[...s].map(e=>({path:e,image:gt(e),embedded:o.has(e)}))}var OC=0;function kC(){OC+=1;let e=OC;return()=>e===OC}function AC(e){let t=Math.max(e.lastIndexOf(`/`),e.lastIndexOf(`\\`));return t>=0?e.slice(t+1):e}function jC(e){let t=e.trim();return t.length>0&&!t.includes(`/`)&&!t.includes(`\\`)}function MC(e,t){let n=e.trim();if(!n)return null;let r=t.filter(e=>e.kind===`file`),i=r.find(e=>AC(e.path)===n);if(i)return i.path;let a=n.toLowerCase(),o=r.filter(e=>AC(e.path).toLowerCase()===a);return o.length===1?o[0]?.path??null:null}var NC=class e extends f()(`PullRequestLinkOpenError`,{targetOrigin:c(g),cause:a()}){static fromCause(t,n){let r=null;try{r=new URL(t).origin}catch{}return new e({targetOrigin:r,cause:n})}get message(){return this.targetOrigin===null?`Unable to open pull request link.`:`Unable to open pull request link at ${this.targetOrigin}.`}};async function PC(e,t){try{await e.openExternal(t)}catch(e){throw NC.fromCause(t,e)}}function FC(e,t,n){if(e?.provider!==`github`||!Number.isSafeInteger(n)||n<1)return null;let r=t.split(`/`);if(r.length!==2||r.some(e=>e.length===0||e===`.`||e===`..`))return null;let i=null;try{let t=new URL(e.locator.remoteUrl.trim());(t.protocol===`http:`||t.protocol===`https:`)&&(i=t.origin)}catch{}let a=e.canonicalKey.split(`/`)[0];if(i===null&&!a)return null;try{let e=new URL(i??`https://${a}`);return e.pathname=`/${r.join(`/`)}/pull/${n}`,e.toString()}catch{return null}}function IC(e,t,n){return e===t||e.endsWith(`.${t}`)?!0:n!==void 0&&e.startsWith(`${n}.`)}function LC(e){let t;try{t=new URL(e)}catch{return null}if(t.protocol!==`https:`&&t.protocol!==`http:`)return null;let n=t.hostname.toLowerCase();if(IC(n,`github.com`,`github`))return BC(n,/^\/([^/]+\/[^/]+)\/pull\/(\d+)(?:\/|$)/u.exec(t.pathname));let r=/^\/([^/]+(?:\/[^/]+)+)\/-\/merge_requests\/(\d+)(?:\/|$)/u.exec(t.pathname);return r?BC(n,r):IC(n,`bitbucket.org`,`bitbucket`)?BC(n,/^\/([^/]+\/[^/]+)\/pull-requests\/(\d+)(?:\/|$)/u.exec(t.pathname)):IC(n,`dev.azure.com`)||n.endsWith(`.visualstudio.com`)?BC(n,/^\/((?:[^/]+\/)*_git\/[^/]+)\/pullrequest\/(\d+)(?:\/|$)/u.exec(t.pathname)):null}function RC(e,t){let n=LC(e.url),r=LC(t);return n!==null&&r!==null&&n.host===r.host&&n.repository===r.repository&&n.number===r.number}function zC(e){if(LC(e)===null)return null;let t=new URL(e),n=/^(.*?)\/-\/merge_requests\/\d+(?:\/|$)/iu.exec(t.pathname)?.[1]??/^(.*?)(?:\/pull\/\d+|\/-\/merge_requests\/\d+|\/pull-requests\/\d+|\/pullrequest\/\d+)(?:\/|$)/iu.exec(t.pathname)?.[1];return n?(t.pathname=n,t.search=``,t.hash=``,t.toString()):null}function BC(e,t){let n=t?.[1],r=Number(t?.[2]);return n&&Number.isSafeInteger(r)&&r>0?{host:e,repository:n.toLowerCase(),number:r}:null}function VC(e,t){return e.find(e=>{let n=e.repositoryIdentity;if(!n)return!1;let r=n.provider;if(r===void 0)return!1;let i=n.displayName??(n.owner&&n.name?`${n.owner}/${n.name}`:null);return i!==null&&i.toLowerCase()===t.repository.toLowerCase()&&s(n,r)===t.host.toLowerCase()})}function HC(e){return e.metaKey||e.ctrlKey}function UC(e,t){return!HC(e)&&Ft(`pull-request`,t)}function WC(e){let t=(0,U.c)(7),n=Se(),r=Lt(),i=It(),a=ke(),o=Ge(),s;return t[0]!==r||t[1]!==o||t[2]!==n||t[3]!==a||t[4]!==i||t[5]!==e?(s=(t,s,c)=>{if(!UC(t,o))return!1;let l=c??e,u=LC(s);if(u===null)return!1;let d=e=>i.get(e)?.environment.capabilities.pullRequests===!0,f=VC(l?r.filter(e=>e.environmentId===l.environmentId):r.filter(e=>d(e.environmentId)).toSorted((e,t)=>Number(t.environmentId===a)-Number(e.environmentId===a)),u);return f===void 0||!d(f.environmentId)?!1:(t.preventDefault(),t.stopPropagation(),l?(Rt.getState().openPullRequest(l,{projectId:f.id,repository:f.repositoryIdentity?.displayName??u.repository,number:u.number}),!0):(n({to:`/pull-requests`,search:{involvement:`all`,state:`all`,repository:u.repository,number:u.number,selectedProjectId:f.id,selectedEnvironmentId:f.environmentId}}),!0))},t[0]=r,t[1]=o,t[2]=n,t[3]=a,t[4]=i,t[5]=e,t[6]=s):s=t[6],s}function GC(e){let t=(0,U.c)(2),n=WC(e),r;return t[0]===n?r=t[1]:(r=(e,t,r)=>{e.stopPropagation();let i=HC(e),a=e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href.length>0;if(i&&a)return!1;if(e.preventDefault(),!i&&n(e,t,r))return!0;let o=Ae();return o?(PC(o.shell,t).catch(KC),!1):(V.add({type:`error`,title:`Link opening is unavailable.`}),!1)},t[0]=n,t[1]=r),r}function KC(e){console.error(e),V.add(je({type:`error`,title:`Unable to open pull request link`,description:e instanceof Error?e.message:`An error occurred.`}))}function qC(e,t,n){return e!==null&&n&&t===`local-exec`}function JC(e){return e.canOpenInEditor||e.canOpenInBrowser||e.canOpenInPanel}function YC(e){return e.canOpenInBrowser&&(Gy(e.iconPath)||!e.canOpenInEditor&&!e.canOpenInPanel)}var XC=[],ZC=[],QC={document:Ki,presentation:Te,spreadsheet:na,site:Ot,"google-docs":Ki,"google-slides":Te,"google-sheets":na,image:Sa,email:br,slack:er};function $C(e){let t=(0,U.c)(26),n=QC[e.template.artifactKind],r;t[0]===e.template.artifactKind?r=t[1]:(r=dc(e.template.artifactKind),t[0]=e.template.artifactKind,t[1]=r);let i=r,a=`${e.template.displayName} template`,o=`${e.template.displayName} (${i})\n\n`,s;t[2]===n?s=t[3]:(s=(0,W.jsx)(n,{"aria-hidden":!0,className:`size-5`}),t[2]=n,t[3]=s);let c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,W.jsx)(`span`,{className:`absolute -right-1 -bottom-1 flex size-4 items-center justify-center rounded-full border border-background bg-fuchsia-500 text-white shadow-xs`,children:(0,W.jsx)(Ha,{"aria-hidden":!0,className:`size-2.5`})}),t[4]=c):c=t[4];let l;t[5]===s?l=t[6]:(l=(0,W.jsxs)(`span`,{className:`relative flex size-9 shrink-0 items-center justify-center rounded-lg border border-border/70 bg-background text-muted-foreground shadow-xs`,children:[s,c]}),t[5]=s,t[6]=l);let u;t[7]===e.template.displayName?u=t[8]:(u=(0,W.jsx)(`span`,{className:`block truncate text-sm font-medium text-foreground`,children:e.template.displayName}),t[7]=e.template.displayName,t[8]=u);let d;t[9]===i?d=t[10]:(d=(0,W.jsx)(`span`,{className:`block text-xs text-muted-foreground`,children:i}),t[9]=i,t[10]=d);let f;t[11]!==u||t[12]!==d?(f=(0,W.jsxs)(`span`,{className:`min-w-0`,children:[u,d]}),t[11]=u,t[12]=d,t[13]=f):f=t[13];let p;t[14]!==l||t[15]!==f?(p=(0,W.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-3`,children:[l,f]}),t[14]=l,t[15]=f,t[16]=p):p=t[16];let m;t[17]===e?m=t[18]:(m=e.onUse?(0,W.jsx)(re,{type:`button`,size:`sm`,variant:`outline`,className:`shrink-0`,onClick:()=>e.onUse?.(e.template),children:`Use template`}):null,t[17]=e,t[18]=m);let h;return t[19]!==e.template.artifactKind||t[20]!==e.template.skillName||t[21]!==a||t[22]!==m||t[23]!==o||t[24]!==p?(h=(0,W.jsxs)(`div`,{role:`group`,"aria-label":a,className:`chat-markdown-artifact-template my-[0.65rem] flex w-full min-w-0 items-center gap-3 rounded-xl border border-border/70 bg-card/60 px-3 py-2.5 text-foreground shadow-xs`,"data-artifact-kind":e.template.artifactKind,"data-markdown-copy":o,"data-skill-name":e.template.skillName,children:[p,m]}),t[19]=e.template.artifactKind,t[20]=e.template.skillName,t[21]=a,t[22]=m,t[23]=o,t[24]=p,t[25]=h):h=t[25],h}var ew=/(?:^|\s)language-([^\s]+)/,tw=500,nw=50*1024*1024;function rw(e,t){console.error(`[chat-markdown] action failed`,e,t)}var iw=new kS(tw,nw);function aw(e,t){let n=e.indexOf(`
|
|
248
|
+
`,t),r=e.slice(t,n===-1?e.length:n),i=r.match(/^(?:\s*(?:[-+*]|\d+[.)])\s+)(\[[ xX]\])/);return i?.[1]?t+r.indexOf(i[1]):null}function ow(e,t){let n=Number.parseInt(String(t??1),10),r=Number.isNaN(n)?1:n,i=r+Math.max(e-1,0),a=Math.max(String(r).length,String(i).length);if(!(a<=1))return{"--list-gutter":`${a+1}ch`}}var sw={note:{label:`Note`,Icon:Fe,borderClassName:`border-blue-500/70`,titleClassName:`text-blue-600 dark:text-blue-400`},tip:{label:`Tip`,Icon:Ma,borderClassName:`border-emerald-500/70`,titleClassName:`text-emerald-600 dark:text-emerald-400`},important:{label:`Important`,Icon:ur,borderClassName:`border-purple-500/70`,titleClassName:`text-purple-600 dark:text-purple-400`},warning:{label:`Warning`,Icon:Re,borderClassName:`border-amber-500/70`,titleClassName:`text-amber-600 dark:text-amber-500`},caution:{label:`Caution`,Icon:Qa,borderClassName:`border-red-500/70`,titleClassName:`text-red-600 dark:text-red-400`}};function cw(e){let t=e?.match(ew)?.[1]??`text`;return t===`gitignore`?`ini`:t}var lw=/(?:^|\s)(?:title|file(?:name)?)=(?:"([^"]+)"|'([^']+)'|(\S+))/i,uw=/^[\w@][\w@./-]*\.[A-Za-z0-9]+$/;function dw(e){if(!e)return null;let t=lw.exec(e);return(t?.[1]??t?.[2]??t?.[3])||(e.split(/\s+/).find(e=>uw.test(e))??null)}function fw(e){let t=(e?.children)?.find(e=>e?.type===`element`&&e.tagName===`code`),n=t?.properties?.dataCodeMeta??t?.data?.meta;return typeof n==`string`&&n.trim().length>0?n.trim():void 0}function pw(e){return typeof e==`string`||typeof e==`number`?String(e):Array.isArray(e)?e.map(e=>pw(e)).join(``):(0,H.isValidElement)(e)?pw(e.props.children):``}function mw(e){let t=H.Children.toArray(e);if(t.length!==1)return null;let n=t[0];return!(0,H.isValidElement)(n)||n.type!==`code`&&n.props.node?.tagName!==`code`?null:{className:n.props.className,code:pw(n.props.children)}}function hw(e,t,n){return`${ft(e).toString(36)}:${e.length}:${t}:${n}`}function gw(e,t){return Math.max(e.length*2,t.length*3)}function _w(){return Ue().wordWrap}function vw(e){let t=(0,U.c)(48),n,r;t[0]===e?(n=t[1],r=t[2]):({children:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i=(0,H.useRef)(null),a=(0,H.useRef)(null),[o,s]=(0,H.useState)(_w),[c,l]=(0,H.useState)(!1),u=(0,H.useRef)(null),d=o?`Collapse table cells`:`Expand table cells`,f=c?`Copied`:`Copy table`,p;t[3]===o?p=t[4]:(p=function(){let e=a.current;if(e){if(!o){let t=[...e.rows].reduce(bw,[]);[...e.tHead?.rows[0]?.cells??[]].forEach((e,n)=>{e.style.minWidth=`${t[n]??e.getBoundingClientRect().width}px`})}s(yw)}},t[3]=o,t[4]=p);let m=p,h;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(h=e=>{let t=i.current?.querySelector(`table`);if(!t||typeof navigator>`u`||navigator.clipboard==null)return;let n=e===`markdown`?nC(t):iC(t);navigator.clipboard.writeText(n).then(()=>{u.current!=null&&clearTimeout(u.current),l(!0),u.current=setTimeout(()=>{l(!1),u.current=null},1200)}).catch(t=>{rw({operation:`copy-table`,format:e},t)})},t[5]=h):h=t[5];let g=h,_,v;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(_=()=>()=>{u.current!=null&&(clearTimeout(u.current),u.current=null)},v=[],t[6]=_,t[7]=v):(_=t[6],v=t[7]),(0,H.useEffect)(_,v);let y=o?`true`:`false`,b;t[8]!==n||t[9]!==r?(b=(0,W.jsx)(xt,{chainVerticalScroll:!0,scrollFade:!0,className:`w-full max-w-full rounded-none`,children:(0,W.jsx)(`table`,{ref:a,...r,children:n})}),t[8]=n,t[9]=r,t[10]=b):b=t[10];let x;t[11]!==d||t[12]!==o||t[13]!==m?(x=(0,W.jsx)(re,{type:`button`,variant:`ghost`,size:`icon-xs`,className:`chat-markdown-chrome-action`,"aria-pressed":o,onClick:m,"aria-label":d}),t[11]=d,t[12]=o,t[13]=m,t[14]=x):x=t[14];let S;t[15]===o?S=t[16]:(S=o?(0,W.jsx)(Wn,{className:`size-3`}):(0,W.jsx)(Ee,{className:`size-3`}),t[15]=o,t[16]=S);let C;t[17]!==x||t[18]!==S?(C=(0,W.jsx)(Me,{render:x,children:S}),t[17]=x,t[18]=S,t[19]=C):C=t[19];let T;t[20]===d?T=t[21]:(T=(0,W.jsx)(Ve,{side:`top`,children:d}),t[20]=d,t[21]=T);let D;t[22]!==T||t[23]!==C?(D=(0,W.jsxs)(Le,{children:[C,T]}),t[22]=T,t[23]=C,t[24]=D):D=t[24];let k;t[25]===f?k=t[26]:(k=(0,W.jsx)(w,{render:(0,W.jsx)(re,{type:`button`,variant:`ghost`,size:`icon-xs`,className:`chat-markdown-chrome-action`,"aria-label":f})}),t[25]=f,t[26]=k);let A;t[27]===c?A=t[28]:(A=c?(0,W.jsx)(We,{className:`size-3`}):(0,W.jsx)(Pe,{className:`size-3`}),t[27]=c,t[28]=A);let j;t[29]!==k||t[30]!==A?(j=(0,W.jsx)(Me,{render:k,children:A}),t[29]=k,t[30]=A,t[31]=j):j=t[31];let M;t[32]===f?M=t[33]:(M=(0,W.jsx)(Ve,{side:`top`,children:f}),t[32]=f,t[33]=M);let N;t[34]!==j||t[35]!==M?(N=(0,W.jsxs)(Le,{children:[j,M]}),t[34]=j,t[35]=M,t[36]=N):N=t[36];let P;t[37]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,W.jsx)(E,{onClick:()=>g(`markdown`),children:`Copy as Markdown`}),t[37]=P):P=t[37];let F;t[38]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,W.jsxs)(O,{align:`end`,children:[P,(0,W.jsx)(E,{onClick:()=>g(`csv`),children:`Copy as CSV`})]}),t[38]=F):F=t[38];let I;t[39]===N?I=t[40]:(I=(0,W.jsxs)(oe,{children:[N,F]}),t[39]=N,t[40]=I);let L;t[41]!==D||t[42]!==I?(L=(0,W.jsxs)(`div`,{className:`mt-0.5 flex items-center justify-between select-none`,children:[D,I]}),t[41]=D,t[42]=I,t[43]=L):L=t[43];let R;return t[44]!==L||t[45]!==y||t[46]!==b?(R=(0,W.jsxs)(`div`,{ref:i,className:`chat-markdown-table-container`,"data-expanded":y,children:[b,L]}),t[44]=L,t[45]=y,t[46]=b,t[47]=R):R=t[47],R}function yw(e){return!e}function bw(e,t){return[...t.cells].forEach((t,n)=>{e[n]=Math.max(e[n]??0,t.getBoundingClientRect().width)}),e}function xw(e){let t=(0,U.c)(18),{children:n,open:r}=e,[i,a,o]=Kx(r===void 0?!1:r),s=(0,H.use)(qx),c,l;if(t[0]!==n){let e=H.Children.toArray(n),r=e.findIndex(Sw),i=r>=0?e[r]:null;c=(0,H.isValidElement)(i)&&i.props.children?i.props.children:(0,W.jsx)(`span`,{"data-chat-find-skip":!0,children:`Details`});let a;t[3]===r?a=t[4]:(a=(e,t)=>t!==r,t[3]=r,t[4]=a),l=e.filter(a),t[0]=n,t[1]=c,t[2]=l}else c=t[1],l=t[2];let u=l,d=a?`true`:`false`,f;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,W.jsx)(k,{className:`size-4 shrink-0 text-muted-foreground transition-transform`,"aria-hidden":!0}),t[5]=f):f=t[5];let p;t[6]===c?p=t[7]:(p=(0,W.jsxs)(DS,{className:`flex w-full items-center gap-2 py-2 text-left text-sm font-medium text-foreground data-panel-open:[&_svg]:rotate-90`,"data-markdown-details-summary":``,children:[f,(0,W.jsx)(`span`,{children:c})]}),t[6]=c,t[7]=p);let m=s&&a,h;t[8]!==u||t[9]!==m?(h=(0,W.jsx)(OS,{keepMounted:!0,children:(0,W.jsx)(`div`,{className:`pb-3 ps-6 text-foreground/80`,"data-markdown-details-content":``,children:(0,W.jsx)(qx,{value:m,children:u})})}),t[8]=u,t[9]=m,t[10]=h):h=t[10];let g;return t[11]!==a||t[12]!==i||t[13]!==o||t[14]!==d||t[15]!==p||t[16]!==h?(g=(0,W.jsxs)(ES,{ref:i,open:a,onOpenChange:o,className:`chat-markdown-details my-2 border-y border-border/60`,"data-markdown-details":``,"data-markdown-details-open":d,children:[p,h]}),t[11]=a,t[12]=i,t[13]=o,t[14]=d,t[15]=p,t[16]=h,t[17]=g):g=t[17],g}function Sw(e){return(0,H.isValidElement)(e)&&e.type===`summary`}function Cw(e){let t=(0,U.c)(26),{fenceTitle:n,language:r,theme:i}=e;if(n){let e;t[0]!==n||t[1]!==i?(e=(0,W.jsx)(Xx,{pathValue:n,kind:`file`,theme:i,className:`size-3.5`}),t[0]=n,t[1]=i,t[2]=e):e=t[2];let r;t[3]===n?r=t[4]:(r=(0,W.jsx)(`span`,{className:`truncate`,children:n}),t[3]=n,t[4]=r);let a;return t[5]!==e||t[6]!==r?(a=(0,W.jsxs)(W.Fragment,{children:[e,r]}),t[5]=e,t[6]=r,t[7]=a):a=t[7],a}let a,o;if(t[8]===r?(a=t[9],o=t[10]):(a=Xs(r),o=Qs(a),t[8]=r,t[9]=a,t[10]=o),!o){let e;return t[11]===r?e=t[12]:(e=(0,W.jsx)(`span`,{className:`truncate`,children:r}),t[11]=r,t[12]=e),e}let s=`Language: ${r}`,c;t[13]===s?c=t[14]:(c=(0,W.jsx)(`span`,{className:`inline-flex shrink-0 rounded-sm`,"aria-label":s}),t[13]=s,t[14]=c);let l;t[15]!==a||t[16]!==i?(l=(0,W.jsx)(Xx,{pathValue:a,kind:`file`,theme:i,className:`size-3.5`}),t[15]=a,t[16]=i,t[17]=l):l=t[17];let u;t[18]!==c||t[19]!==l?(u=(0,W.jsx)(Me,{render:c,children:l}),t[18]=c,t[19]=l,t[20]=u):u=t[20];let d;t[21]===r?d=t[22]:(d=(0,W.jsx)(Ve,{side:`top`,children:r}),t[21]=r,t[22]=d);let f;return t[23]!==u||t[24]!==d?(f=(0,W.jsxs)(Le,{children:[u,d]}),t[23]=u,t[24]=d,t[25]=f):f=t[25],f}function ww(e){let t=(0,U.c)(46),{code:n,language:r,fenceTitle:i,theme:a,children:o}=e,[s,c]=(0,H.useState)(!1),[l,u]=(0,H.useState)(_w),d=(0,H.useRef)(null),f=l?`Disable line wrap`:`Wrap lines`,p=s?`Copied`:`Copy code`,m;t[0]!==n||t[1]!==i||t[2]!==r?(m=()=>{typeof navigator>`u`||navigator.clipboard==null||navigator.clipboard.writeText(n).then(()=>{d.current!=null&&clearTimeout(d.current),c(!0),d.current=setTimeout(()=>{c(!1),d.current=null},1200)}).catch(e=>{rw({operation:`copy-code-block`,language:r,...i?{fenceTitle:i}:{}},e)})},t[0]=n,t[1]=i,t[2]=r,t[3]=m):m=t[3];let h=m,g,_;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(g=()=>()=>{d.current!=null&&(clearTimeout(d.current),d.current=null)},_=[],t[4]=g,t[5]=_):(g=t[4],_=t[5]),(0,H.useEffect)(g,_);let v=l?`true`:`false`,y;t[6]!==i||t[7]!==r||t[8]!==a?(y=(0,W.jsx)(`span`,{className:`inline-flex min-w-0 items-center gap-[0.4rem] [font-family:var(--font-mono,ui-monospace,SFMono-Regular,monospace)] [font-size:0.6875rem]`,children:(0,W.jsx)(Cw,{fenceTitle:i,language:r,theme:a})}),t[6]=i,t[7]=r,t[8]=a,t[9]=y):y=t[9];let b;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(b=()=>u(Tw),t[10]=b):b=t[10];let x;t[11]!==f||t[12]!==l?(x=(0,W.jsx)(re,{type:`button`,variant:`ghost`,size:`icon-xs`,className:`chat-markdown-chrome-action`,"aria-pressed":l,onClick:b,"aria-label":f}),t[11]=f,t[12]=l,t[13]=x):x=t[13];let S;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,W.jsx)(tt,{className:`size-3`}),t[14]=S):S=t[14];let C;t[15]===x?C=t[16]:(C=(0,W.jsx)(Me,{render:x,children:S}),t[15]=x,t[16]=C);let w;t[17]===f?w=t[18]:(w=(0,W.jsx)(Ve,{side:`top`,children:f}),t[17]=f,t[18]=w);let T;t[19]!==w||t[20]!==C?(T=(0,W.jsxs)(Le,{children:[C,w]}),t[19]=w,t[20]=C,t[21]=T):T=t[21];let E;t[22]!==p||t[23]!==h?(E=(0,W.jsx)(re,{type:`button`,variant:`ghost`,size:`icon-xs`,className:`chat-markdown-chrome-action`,onClick:h,"aria-label":p}),t[22]=p,t[23]=h,t[24]=E):E=t[24];let D;t[25]===s?D=t[26]:(D=s?(0,W.jsx)(We,{className:`size-3`}):(0,W.jsx)(Pe,{className:`size-3`}),t[25]=s,t[26]=D);let O;t[27]!==E||t[28]!==D?(O=(0,W.jsx)(Me,{render:E,children:D}),t[27]=E,t[28]=D,t[29]=O):O=t[29];let k;t[30]===p?k=t[31]:(k=(0,W.jsx)(Ve,{side:`top`,children:p}),t[30]=p,t[31]=k);let A;t[32]!==O||t[33]!==k?(A=(0,W.jsxs)(Le,{children:[O,k]}),t[32]=O,t[33]=k,t[34]=A):A=t[34];let j;t[35]!==T||t[36]!==A?(j=(0,W.jsxs)(`span`,{className:`flex items-center gap-0.5`,role:`toolbar`,"aria-label":`Code block actions`,children:[T,A]}),t[35]=T,t[36]=A,t[37]=j):j=t[37];let M;t[38]!==j||t[39]!==y?(M=(0,W.jsxs)(`div`,{className:`chat-markdown-codeblock-header flex items-center justify-between gap-2 pt-1.5 pr-1.5 pb-0 pl-3 select-none`,children:[y,j]}),t[38]=j,t[39]=y,t[40]=M):M=t[40];let N;return t[41]!==o||t[42]!==r||t[43]!==M||t[44]!==v?(N=(0,W.jsxs)(`div`,{className:`chat-markdown-codeblock my-[0.65rem] overflow-hidden rounded-[var(--radius)] border border-border/70 bg-secondary leading-snug dark:border-transparent dark:bg-input/32`,"data-language":r,"data-wrap":v,children:[M,o]}),t[41]=o,t[42]=r,t[43]=M,t[44]=v,t[45]=N):N=t[45],N}function Tw(e){return!e}function Ew(e){let t=(0,U.c)(15),{className:n,code:r,themeName:i,isStreaming:a}=e,o,s,c;t[0]!==n||t[1]!==r||t[2]!==a||t[3]!==i?(s=cw(n),o=hw(r,s,i),c=a?null:iw.get(o),t[0]=n,t[1]=r,t[2]=a,t[3]=i,t[4]=o,t[5]=s,t[6]=c):(o=t[4],s=t[5],c=t[6]);let l=c;if(l!=null){let e;return t[7]===l?e=t[8]:(e=(0,W.jsx)(`div`,{className:`chat-markdown-shiki`,dangerouslySetInnerHTML:{__html:l}}),t[7]=l,t[8]=e),e}let u;return t[9]!==o||t[10]!==r||t[11]!==a||t[12]!==s||t[13]!==i?(u=(0,W.jsx)(Dw,{code:r,language:s,themeName:i,cacheKey:o,isStreaming:a}),t[9]=o,t[10]=r,t[11]=a,t[12]=s,t[13]=i,t[14]=u):u=t[14],u}function Dw(e){let t=(0,U.c)(19),{code:n,language:r,themeName:i,cacheKey:a,isStreaming:o}=e,s;t[0]===r?s=t[1]:(s=jS(r),t[0]=r,t[1]=s);let c=(0,H.use)(s),l;try{let e;t[2]!==n||t[3]!==c||t[4]!==r||t[5]!==i?(e=c.codeToHtml(n,{lang:r,theme:i}),t[2]=n,t[3]=c,t[4]=r,t[5]=i,t[6]=e):e=t[6],l=e}catch(e){let a=e;console.warn(`Code highlighting failed for language "${r}", falling back to plain text.`,a instanceof Error?a.message:a);let o;t[7]!==n||t[8]!==c||t[9]!==i?(o=c.codeToHtml(n,{lang:`text`,theme:i}),t[7]=n,t[8]=c,t[9]=i,t[10]=o):o=t[10],l=o}let u=l,d,f;t[11]!==a||t[12]!==n||t[13]!==u||t[14]!==o?(d=()=>{o||iw.set(a,u,gw(u,n))},f=[a,n,u,o],t[11]=a,t[12]=n,t[13]=u,t[14]=o,t[15]=d,t[16]=f):(d=t[15],f=t[16]),(0,H.useEffect)(d,f);let p;return t[17]===u?p=t[18]:(p=(0,W.jsx)(`div`,{className:`chat-markdown-shiki`,dangerouslySetInnerHTML:{__html:u}}),t[17]=u,t[18]=p),p}var Ow=`chat-markdown-file-link cursor-pointer transition-colors hover:bg-accent/70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/70`;function kw(e){return e.replaceAll(`\\`,`/`).split(`/`).filter(e=>e.length>0).slice(0,-1)}function Aw(e){let t=new Map;for(let n of e){let e=n.replaceAll(`\\`,`/`),r=e.split(`/`).filter(e=>e.length>0),i=r[r.length-1];if(!i)continue;let a=t.get(i)??new Set;a.add(e),t.set(i,a)}let n=new Map;for(let e of t.values()){let t=[...e];if(t.length<2)continue;let r=new Map(t.map(e=>[e,kw(e)])),i=new Map;for(let e of t){let n=r.get(e)??[],a=n.length;for(let i=1;i<=n.length;i+=1){let o=n.slice(-i).join(`/`);if(!t.some(t=>t===e?!1:(r.get(t)??[]).slice(-i).join(`/`)===o)){a=i;break}}i.set(e,a)}for(let e of t){let t=r.get(e)??[];if(t.length===0)continue;let a=i.get(e)??1,o=Math.min(t.length,Math.max(a,2));n.set(e,t.slice(-o).join(`/`))}}return n}function jw(e){let t=Yy(e),n=$y(t)??t;return xb.test(n)?n.replaceAll(`\\`,`/`):n}var Mw=`block size-full shrink-0 select-none`,Nw=new Set,Pw=(0,H.memo)(function(e){let t=(0,U.c)(3),{host:n}=e,[r,i]=(0,H.useState)(null),a;return t[0]!==r||t[1]!==n?(a=(0,W.jsx)(`span`,{className:`ms-[0.25em] me-[0.2em] inline-flex size-[14px] [vertical-align:-0.125em]`,"aria-hidden":!0,children:r===n||Nw.has(n)?(0,W.jsx)(Ot,{className:Mw}):(0,W.jsx)(`img`,{src:`https://www.google.com/s2/favicons?domain=${encodeURIComponent(n)}&sz=32`,alt:``,loading:`lazy`,draggable:!1,className:z(Mw,`rounded-sm`),onError:()=>{Nw.add(n),i(n)}})}),t[0]=r,t[1]=n,t[2]=a):a=t[2],a}),Fw=`max-h-[30rem] max-w-[min(100%,30rem)]`,Iw=z(`h-auto w-auto object-contain`,Fw);function Lw(e,t,n){return`![${e.replaceAll(`\\`,`\\\\`).replaceAll(`[`,`\\[`).replaceAll(`]`,`\\]`)}](${t}${n===void 0?``:` "${n.replaceAll(`\\`,`\\\\`).replaceAll(`"`,`\\"`)}"`})`}function Rw(e,t){let n=Number(e),r=Number(t),i=Number.isFinite(n)&&n>0,a=Number.isFinite(r)&&r>0;if(i&&a)return{width:n,height:`auto`,aspectRatio:`${n} / ${r}`,maxWidth:`min(100%, 30rem, ${30*n/r}rem)`};if(i)return{maxWidth:`min(100%, 30rem, ${n}px)`};if(a)return{maxHeight:`min(30rem, ${r}px)`}}var zw=`inline-block!`,Bw=z(Iw,zw,`rounded-lg border border-border/40`),Vw=H.createContext(!1);function Hw(e,t,n){if(!e)return{};let r=n.trim()||`image`,i=n=>{n.currentTarget.closest(`a`)||(n.preventDefault(),n.stopPropagation(),e({images:[{src:t,name:r}],index:0}))};return{role:`button`,tabIndex:0,"aria-label":`Preview ${r}`,onClick:i,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&i(e)}}}function Uw(e){let t=(0,U.c)(7),n=e.copyMarkdown,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=z(zw,`rounded-md border border-border/40 bg-muted/40 px-2 py-1 text-xs text-muted-foreground`),t[0]=r):r=t[0];let i;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,W.jsx)(Re,{"aria-hidden":!0,className:`size-3.5 shrink-0`}),t[1]=i):i=t[1];let a=e.alt.length>0?`Image unavailable · ${e.alt}`:`Image unavailable`,o;t[2]===a?o=t[3]:(o=(0,W.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[i,a]}),t[2]=a,t[3]=o);let s;return t[4]!==e.copyMarkdown||t[5]!==o?(s=(0,W.jsx)(`span`,{"data-markdown-copy":n,className:r,children:o}),t[4]=e.copyMarkdown,t[5]=o,t[6]=s):s=t[6],s}var Ww=(0,H.memo)(function(e){let t=(0,U.c)(23),n=$t(e.environmentId,e.resource),[r,i]=(0,H.useState)(null);if(n._tag===`Failure`||n._tag===`Success`&&r===n.url){let n;return t[0]!==e.alt||t[1]!==e.copyMarkdown?(n=(0,W.jsx)(Uw,{alt:e.alt,copyMarkdown:e.copyMarkdown}),t[0]=e.alt,t[1]=e.copyMarkdown,t[2]=n):n=t[2],n}if(n._tag!==`Success`){let n=e.copyMarkdown,r;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(r=z(zw,`aspect-video w-64 max-w-full rounded-lg bg-muted/60`,Fw),t[3]=r):r=t[3];let i;return t[4]!==e.copyMarkdown||t[5]!==e.style?(i=(0,W.jsx)(`span`,{"data-markdown-copy":n,role:`status`,"aria-label":`Loading image`,className:r,style:e.style}),t[4]=e.copyMarkdown,t[5]=e.style,t[6]=i):i=t[6],i}let a=n.url+(e.srcFragment??``),o=e.alt,s=e.copyMarkdown,c=e.onImageExpand&&`cursor-zoom-in`,l;t[7]===c?l=t[8]:(l=z(Bw,c),t[7]=c,t[8]=l);let u=e.style,d;t[9]!==e.alt||t[10]!==e.onImageExpand||t[11]!==a?(d=Hw(e.onImageExpand,a,e.alt),t[9]=e.alt,t[10]=e.onImageExpand,t[11]=a,t[12]=d):d=t[12];let f;t[13]===n.url?f=t[14]:(f=()=>i(n.url),t[13]=n.url,t[14]=f);let p;return t[15]!==e.alt||t[16]!==e.copyMarkdown||t[17]!==e.style||t[18]!==a||t[19]!==l||t[20]!==d||t[21]!==f?(p=(0,W.jsx)(`img`,{src:a,alt:o,"data-markdown-copy":s,loading:`lazy`,draggable:!1,className:l,style:u,...d,onError:f}),t[15]=e.alt,t[16]=e.copyMarkdown,t[17]=e.style,t[18]=a,t[19]=l,t[20]=d,t[21]=f,t[22]=p):p=t[22],p});function Gw(e){let t=/^(?:https?:\/\/)/i.exec(e)?.[0];return t?t.length:Math.min(e.length,1)}function Kw(e){return Array.from(e,(e,t)=>(0,W.jsxs)(H.Fragment,{children:[e,(0,W.jsx)(`wbr`,{})]},`${t}:${e}`))}function qw(e){if(!e||typeof e!=`object`||!(`children`in e)||!Array.isArray(e.children))return null;let t=e.children.map(e=>e&&typeof e==`object`&&`type`in e&&e.type===`text`&&`value`in e&&typeof e.value==`string`?e.value:null);return t.every(e=>e!==null)?t.join(``):null}function Jw(e){return!e||typeof e!=`object`?!1:`type`in e&&e.type===`text`&&`value`in e&&typeof e.value==`string`&&e.value.trim().length>0?!0:`children`in e&&Array.isArray(e.children)&&e.children.some(Jw)}var Yw=`user-content-`;function Xw(e){let t=e.slice(1);try{return decodeURIComponent(t)}catch{return t}}function Zw(e){let t=e;for(;t.startsWith(Yw);)t=t.slice(13);return t}function Qw(e,t){let n=Xw(t),r=Zw(n),i=e=>e.id===n||Zw(e.id)===r,a=e.closest(`.chat-markdown`);if(a){let e=Array.from(a.querySelectorAll(`[id]`)).find(i);if(e)return e}return document.getElementById(n)??Array.from(document.querySelectorAll(`[id]`)).find(i)??null}function $w(e,t){if(e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;let n=Qw(e.currentTarget,t);if(!n)return;e.preventDefault();let r=new URL(window.location.href);r.hash=t.slice(1),window.history.pushState(window.history.state,``,r),n.scrollIntoView({block:`nearest`})}function eT(e){let t=(0,U.c)(13),{host:n,plainText:r,children:i}=e;if(r){let e;if(t[0]!==n||t[1]!==r){let i=Gw(r),a;t[3]===n?a=t[4]:(a=(0,W.jsx)(Pw,{host:n}),t[3]=n,t[4]=a),e=(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)(`span`,{className:`whitespace-nowrap`,children:[a,r.slice(0,i)]}),Kw(r.slice(i))]}),t[0]=n,t[1]=r,t[2]=e}else e=t[2];return e}let a,o;if(t[5]!==i||t[6]!==n){o=Symbol.for(`react.early_return_sentinel`);bb0:{let e=H.Children.toArray(i),r=e[0];if(typeof r==`string`&&r.length>0){let i=Gw(r),a;t[9]===n?a=t[10]:(a=(0,W.jsx)(Pw,{host:n}),t[9]=n,t[10]=a),o=(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)(`span`,{className:`whitespace-nowrap`,children:[a,r.slice(0,i)]}),Kw(r.slice(i)),e.slice(1)]});break bb0}let s;t[11]===n?s=t[12]:(s=(0,W.jsx)(Pw,{host:n}),t[11]=n,t[12]=s),a=(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)(`span`,{className:`whitespace-nowrap`,children:[s,r]}),e.slice(1)]})}t[5]=i,t[6]=n,t[7]=a,t[8]=o}else a=t[7],o=t[8];return o===Symbol.for(`react.early_return_sentinel`)?a:o}var tT=(0,H.memo)(function({href:e,targetPath:t,iconPath:n,displayPath:r,workspaceRelativePath:i,line:a,label:o,copyMarkdown:s,theme:c,threadRef:l,onOpen:u,onOpenInPanel:d,openInEditorMenuLabel:f,onOpenInBrowser:p,onReveal:m,revealLabel:h,className:g}){let _=(0,H.useCallback)(()=>{u&&(async()=>{try{let e=await u(t);if(e._tag===`Success`||he(e))return;rw({operation:`open-file-in-editor`,target:t},e.cause);let n=ge(e);V.add(je({type:`error`,title:`Unable to open file`,description:n instanceof Error?n.message:`An error occurred.`}))}catch(e){rw({operation:`open-file-in-editor`,target:t},e),V.add(je({type:`error`,title:`Unable to open file`,description:e instanceof Error?e.message:`An error occurred.`}))}})()},[u,t]),v=(0,H.useCallback)(()=>{if(!l||!i){_();return}d(i,a)},[_,a,d,l,i]),y=(0,H.useCallback)(()=>{p&&(async()=>{try{let e=await p();if(e._tag===`Success`||he(e))return;rw({operation:`open-file-in-browser`,target:t},e.cause);let n=ge(e);V.add(je({type:`error`,title:`Unable to open file in browser`,description:n instanceof Error?n.message:`An error occurred.`}))}catch(e){rw({operation:`open-file-in-browser`,target:t},e),V.add(je({type:`error`,title:`Unable to open file in browser`,description:e instanceof Error?e.message:`An error occurred.`}))}})()},[p,t]),b=(0,H.useCallback)(()=>{m&&(async()=>{try{let e=await m();if(e._tag===`Success`||he(e))return;rw({operation:`reveal-file-in-file-manager`,target:t},e.cause);let n=ge(e);V.add(je({type:`error`,title:`Unable to reveal file`,description:n instanceof Error?n.message:`An error occurred.`}))}catch(e){rw({operation:`reveal-file-in-file-manager`,target:t},e),V.add(je({type:`error`,title:`Unable to reveal file`,description:e instanceof Error?e.message:`An error occurred.`}))}})()},[m,t]),x=(0,H.useCallback)((e,n)=>{if(typeof window>`u`||!navigator.clipboard?.writeText){V.add(je({type:`error`,title:`Failed to copy ${n.toLowerCase()}`,description:`Clipboard API unavailable.`}));return}navigator.clipboard.writeText(e).then(()=>{V.add({type:`success`,title:`${n} copied`,description:e})},e=>{rw({operation:`copy-file-path`,target:t,copyTarget:n},e),V.add(je({type:`error`,title:`Failed to copy ${n.toLowerCase()}`,description:e instanceof Error?e.message:`An error occurred.`}))})},[t]),S=(0,H.useCallback)(async e=>{let n=Ae();if(n)try{let i=await n.contextMenu.show([...u?[{id:`open`,label:f}]:[],...p?[{id:`open-in-browser`,label:`Open in integrated browser`}]:[],...m&&h?[{id:`reveal`,label:h}]:[],{id:`copy-relative`,label:`Copy relative path`},{id:`copy-full`,label:`Copy full path`}],e);if(i===`open`){_();return}if(i===`open-in-browser`){y();return}if(i===`reveal`){b();return}if(i===`copy-relative`){x(r,`Relative path`);return}i===`copy-full`&&x(t,`Full path`)}catch(e){rw({operation:`show-file-context-menu`,target:t},e)}},[r,x,y,_,b,p,u,m,f,h,t]),C=(0,H.useCallback)(e=>{e.preventDefault(),e.stopPropagation();let t=e.clientX===0&&e.clientY===0?(()=>{let t=e.currentTarget.getBoundingClientRect();return{x:t.left,y:t.bottom}})():{x:e.clientX,y:e.clientY};S(t)},[S]),w=u!==void 0,T=p!==void 0,E=l!==void 0&&!!i,D=JC({canOpenInEditor:w,canOpenInBrowser:T,canOpenInPanel:E}),O=YC({iconPath:n,canOpenInEditor:w,canOpenInBrowser:T,canOpenInPanel:E});return(0,W.jsxs)(Le,{children:[(0,W.jsx)(Me,{render:D?(0,W.jsx)(`a`,{href:e,className:z(Qx,Ow,g),"data-markdown-copy":s,onClick:e=>{if(e.preventDefault(),e.stopPropagation(),u&&Wy(e)){_();return}if(O){y();return}v()},onContextMenu:C,children:(0,W.jsx)($x,{path:n,label:o,theme:c,selectable:!0})}):(0,W.jsx)(`button`,{type:`button`,"aria-label":`File options for ${o}`,"aria-haspopup":`menu`,className:z(Qx,Ow,`select-text`,g),"data-markdown-copy":s,onClick:C,onContextMenu:C,children:(0,W.jsx)($x,{path:n,label:o,theme:c,selectable:!0})})}),(0,W.jsx)(Ve,{side:`top`,className:`max-w-[min(40rem,calc(100vw-2rem))] font-mono text-[11px] leading-tight`,children:(0,W.jsx)(`div`,{className:`overflow-x-auto whitespace-nowrap [scrollbar-color:color-mix(in_srgb,var(--contrast-border)_78%,transparent)_transparent] [scrollbar-width:thin] [&::-webkit-scrollbar]:h-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-[color-mix(in_srgb,var(--contrast-border)_78%,transparent)] [&::-webkit-scrollbar-track]:bg-transparent`,children:t})})]})},nT);function nT(e,t){return e.href===t.href&&e.targetPath===t.targetPath&&e.iconPath===t.iconPath&&e.displayPath===t.displayPath&&e.workspaceRelativePath===t.workspaceRelativePath&&e.line===t.line&&e.label===t.label&&e.copyMarkdown===t.copyMarkdown&&e.theme===t.theme&&e.threadRef===t.threadRef&&e.onOpen===t.onOpen&&e.onOpenInPanel===t.onOpenInPanel&&e.openInEditorMenuLabel===t.openInEditorMenuLabel&&e.onOpenInBrowser===t.onOpenInBrowser&&e.onReveal===t.onReveal&&e.revealLabel===t.revealLabel&&e.className===t.className}function rT({text:e,cwd:t,threadRef:n,environmentId:r,onTaskListChange:i,isStreaming:a=!1,skills:o=XC,className:s,lineBreaks:c=!1,parseRawHtml:l=!0,onUseArtifactTemplate:u,imageBaseDir:d,onImageExpand:f,resultVersion:p,resultPaths:h,extraRemarkPlugins:g=ZC}){let{resolvedTheme:_}=De(),v=Zt(Qt.createUrl,{reportFailure:!1}),y=Zt(Oe.searchEntries,{reportFailure:!1}),b=Ie(Nt.open,{reportFailure:!1}),x=Ie(He.updateMetadata,{reportFailure:!1}),S=n?.environmentId??r??null,C=uo(S),w=qC(S,C.state.mode,C.isResolved),T=ve(S),E=_e(ze.configValueAtom(S)),D=_e(ze.configValueAtom(n?.environmentId??S)),O=Lt(),k=E?.availableEditors??[],[A]=_t(k),j=io(A),M=Je(S,k),N=Ie(Be.openInEditor,{reportFailure:!1}),P=S!==null&&E?.shellRevealInFileManager===!0&&E.availableEditors.includes(`file-manager`)?E.shellRevealInFileManagerKind===void 0?kt(E.environment.platform.os):At(E.shellRevealInFileManagerKind):void 0,F=(0,H.useCallback)(e=>S===null?Promise.resolve(ye(m(new ot({targetPath:e})))):N({environmentId:S,input:{cwd:e,editor:`file-manager`,reveal:!0}}),[S,N]),I=rt(_),L=(0,H.useMemo)(()=>{let n=new Map;for(let r of Uy(qm(e))){let e=jw(r);if(n.has(e))continue;let i=yb(e,t);i&&n.set(e,i)}return n},[t,e]),R=(0,H.useMemo)(()=>{let n=new Map;for(let r of Hy(e)){if(n.has(r))continue;let e=gb(r,t);e&&n.set(r,e)}return n},[t,e]),ee=(0,H.useMemo)(()=>Aw([...[...L.values()].map(e=>e.filePath),...[...R.values()].map(e=>e.filePath)]),[R,L]),te=(0,H.useCallback)(e=>qy(e)?e:$y(e)??vp(e),[]),ne=(0,H.useCallback)(e=>{let t=window.getSelection();if(!t||t.isCollapsed||!e.clipboardData)return;let n=oC(t);n&&(e.preventDefault(),e.clipboardData.setData(`text/plain`,n.text),e.clipboardData.setData(`text/html`,n.html))},[]),re=WC(n),ie=Ge(),ae=(0,H.useCallback)(e=>{if(n===void 0||zt(n)===null||D?.environment.capabilities.threadPullRequestLinking!==!0)return null;let t=LC(e);if(t===null)return null;let r=VC(O.filter(e=>e.environmentId===n.environmentId),t);return r===void 0?null:{projectId:r.id,repository:r.repositoryIdentity?.displayName??t.repository,number:t.number,url:e}},[O,n,D]),oe=(0,H.useCallback)(async(e,t)=>{if(n===void 0)return;let r=t?ae(e):null;if(t&&r===null)throw Error(`The pull request is not available in this environment.`);if(!t){let t=zt(n)?.linkedPullRequest;if(t==null||!RC(t,e))return}let i=await x({environmentId:n.environmentId,input:{threadId:n.threadId,linkedPullRequest:r}});if(i._tag===`Failure`&&!he(i))throw ge(i)},[ae,n,x]),se=(0,H.useCallback)(e=>n?eo({threadRef:n,url:e,openPreview:b}).then(t=>(t._tag===`Success`&&jt(n,e),t)):Promise.resolve(ye(m(new $a({message:`Thread context is unavailable.`})))),[b,n]),ce=(0,H.useCallback)(e=>!n||T._tag===`None`?Promise.resolve(ye(m(new $a({message:`Environment is not connected.`})))):to({threadRef:n,filePath:e,httpBaseUrl:T.value.httpBaseUrl,createAssetUrl:v,openPreview:b}),[v,b,T,n]),le=(0,H.useCallback)(async e=>{if(!t||S===null||!jC(e))return null;let n=await y({environmentId:S,input:{cwd:t,query:e,limit:25,kind:`file`}});return n._tag===`Success`?MC(e,n.value.entries):null},[t,S,y]),ue=Ce(),de=(0,H.useCallback)((e,r)=>{if(!n)return;let i=kC(),a=e=>ue?ue(e):Rt.getState().openFile(n,e,r);if(!t||!jC(e)){a(e);return}(async()=>{let t=await le(e);i()&&a(t??e)})()},[t,le,ue,n]),fe=(0,H.useCallback)(async e=>{let n=e.workspaceRelativePath,r=n?await le(n):null,i=r&&t?$e(r,t):e.filePath;return F(i)},[t,le,F]),B=(0,H.useMemo)(()=>{let r=(e,t,r)=>{let i=ee.get(e.filePath.replaceAll(`\\`,`/`)),a=[e.basename];return typeof i==`string`&&i.length>0&&a.push(i),e.line&&a.push(`L${e.line}${e.column?`:C${e.column}`:``}`),(0,W.jsx)(tT,{href:e.targetPath,targetPath:e.targetPath,iconPath:e.filePath,displayPath:e.displayPath,workspaceRelativePath:e.workspaceRelativePath,line:e.line,label:a.join(` · `),copyMarkdown:t,theme:_,threadRef:n,...w?{onOpen:M}:{},onOpenInPanel:de,openInEditorMenuLabel:j,onReveal:w&&P!==void 0?()=>fe(e):void 0,revealLabel:P,onOpenInBrowser:n&&Dt()&&vt(e.filePath)?()=>ce(e.filePath):void 0,className:r})};return{div({node:e,children:t,...n}){let r=Ym(e?.properties);return r?(0,W.jsx)($C,{template:r,onUse:u}):(0,W.jsx)(`div`,{...n,children:t})},p({node:e,children:n,...r}){return h&&EC(e,t,h)?null:(0,W.jsx)(`p`,{...r,children:Sh(n,o)})},blockquote({node:e,children:t,...n}){let r=sw[String(n[`data-alert`]??``)];return r?(0,W.jsxs)(`div`,{role:`note`,className:z(`my-1 border-l-2 pl-3`,r.borderClassName),children:[(0,W.jsxs)(`p`,{className:z(`flex items-center gap-1.5 font-medium`,r.titleClassName),"data-chat-find-skip":!0,children:[(0,W.jsx)(r.Icon,{"aria-hidden":!0,className:`size-3.5 shrink-0`}),r.label]}),t]}):(0,W.jsx)(`blockquote`,{...n,children:t})},ol({node:e,start:t,style:n,...r}){let i=ow(e?.children?.filter(e=>e.type===`element`&&e.tagName===`li`).length??0,t);return(0,W.jsx)(`ol`,{...r,start:t,style:i?{...n,...i}:n})},li({node:t,children:n,...r}){let i=t?.position?.start.offset,a=typeof i==`number`?aw(e,i):null;return(0,W.jsx)(`li`,{...r,"data-task-marker-offset":a??void 0,children:Sh(n,o)})},input({node:e,type:t,checked:n,disabled:r,...a}){return t!==`checkbox`||!i?(0,W.jsx)(`input`,{...a,type:t,checked:n,disabled:r,readOnly:t===`checkbox`}):(0,W.jsx)(`input`,{...a,type:`checkbox`,name:`markdown-task`,"aria-label":`Toggle task`,checked:n,onChange:e=>{let t=Number(e.currentTarget.closest(`li`)?.dataset.taskMarkerOffset);Number.isSafeInteger(t)&&i({markerOffset:t,checked:e.currentTarget.checked})}})},a({node:e,href:i,children:a,title:o,...s}){let c=i?jw(i):``,l=c?L.get(c)??yb(c,t):null;if(!l){let t=rS(i),r=String(s[`data-pull-request-autolink`]??``),o=r===`commit`?/\/commit\/([0-9a-f]{40})$/iu.exec(i??``)?.[1]:r===`reference`?qw(e):void 0,c=o!==void 0,l=i?.startsWith(`#`)??!1,u=s.onClick,d=!!n&&Dt(),f=(0,W.jsx)(Vw,{value:!0,children:a}),p=(0,W.jsx)(`a`,{...s,className:z(s.className,r===`commit`&&`font-mono`),"data-markdown-copy":o,href:i,target:l?void 0:`_blank`,rel:l?void 0:`noopener noreferrer`,onClick:e=>{if(u?.(e),l&&i){$w(e,i);return}i&&re(e,i)},onContextMenu:e=>{if(!i||!t)return;e.preventDefault(),e.stopPropagation();let r=Ae();if(!r)return;let a=ae(i),o=n===void 0?null:zt(n)?.linkedPullRequest,s=ie?o!=null&&RC(o,i)?`unlink-from-thread`:a===null?void 0:`link-to-thread`:void 0;iS({href:i,canOpenInPreview:d,threadLinkAction:s,position:{x:e.clientX,y:e.clientY},showContextMenu:(e,t)=>r.contextMenu.show(e,t),openInPreview:async e=>{let t=await se(e);t._tag===`Failure`&&!he(t)&&rw({operation:`open-link-in-preview`,target:e},t.cause)},openExternal:e=>r.shell.openExternal(e),copyLink:e=>Ne(e,`link`),updateThreadLink:oe,reportFailure:(e,t)=>{rw({operation:e,target:i},t),(e===`link-pull-request-to-thread`||e===`unlink-pull-request-from-thread`)&&V.add(je({type:`error`,title:e===`link-pull-request-to-thread`?`Unable to link pull request`:`Unable to unlink pull request`,description:t instanceof Error?t.message:`The request failed.`}))}})},children:t&&Jw(e)&&!c?(0,W.jsx)(eT,{host:t,plainText:qw(e),children:f}):f});return!t||!i?p:(0,W.jsxs)(Le,{children:[(0,W.jsx)(Me,{render:p}),(0,W.jsx)(Ve,{side:`top`,className:`max-w-[min(36rem,calc(100vw-2rem))] whitespace-normal leading-tight wrap-anywhere`,children:i})]})}return r(l,`[${l.basename}](${c})`,s.className)},code({node:e,children:n,className:i,...a}){if(e?.properties?.dataInlineCode!=null){let e=pw(n),i=R.get(e.trim())??gb(e,t);if(i)return r(i,`\`${e}\``)}return(0,W.jsx)(`code`,{...a,className:i,children:n})},img:function({node:e,title:r,src:i,alt:a,...o}){let s=(0,H.use)(Vw),c=Jx(),l=s?void 0:f,u=e?.properties?.dataLocalSrc,m=e?.properties?.dataMarkdownTitle,h=typeof u==`string`?u:i,g=typeof m==`string`?m:r,_=typeof h==`string`?Yy(h):``,v=typeof u==`string`?_.replaceAll(`\\`,`/`):_,y=a??``,b=Lw(y,_,g),x=Rw(o.width,o.height);if(!c)return(0,W.jsx)(`span`,{"data-markdown-copy":b});let S=et(v,d??t);return S._tag===`Direct`?(0,W.jsx)(`img`,{...o,src:S.uri,alt:y,loading:`lazy`,className:z(o.className,Iw,l&&`cursor-zoom-in`),style:x,...Hw(l,S.uri,y)}):S._tag===`WorkspaceFile`&&n?p&&!s?(0,W.jsx)(CC,{result:{path:yb(S.path,t)?.workspaceRelativePath??S.path,image:!0,embedded:!1},threadRef:n,version:p,copyMarkdown:b}):(0,W.jsx)(Ww,{environmentId:n.environmentId,resource:{_tag:`workspace-file`,threadId:n.threadId,path:S.path},alt:y,copyMarkdown:b,srcFragment:nt(v),style:x,onImageExpand:l}):(0,W.jsx)(Uw,{alt:y,copyMarkdown:b})},table({node:e,...t}){return(0,W.jsx)(vw,{...t})},details({node:e,children:t,open:n}){return(0,W.jsx)(xw,{open:n,children:t})},pre({node:e,children:t,...n}){let r=mw(t);if(!r)return(0,W.jsx)(`pre`,{...n,children:t});let i=cw(r.className),o=dw(fw(e));return(0,W.jsx)(ww,{code:r.code,language:i,fenceTitle:o,theme:_,children:(0,W.jsx)(MS,{fallback:(0,W.jsx)(`pre`,{...n,children:t}),children:(0,W.jsx)(H.Suspense,{fallback:(0,W.jsx)(`pre`,{...n,children:t}),children:(0,W.jsx)(Ew,{className:r.className,code:r.code,themeName:I,isStreaming:a})})})})}}},[w,t,ie,I,ee,R,d,a,L,i,u,f,p,h,de,M,re,se,ce,j,ae,_,fe,P,o,e,n,oe]),pe=(0,H.useMemo)(()=>[...c?Tb:wb,...g],[g,c]);return(0,W.jsx)(`div`,{className:z(`chat-markdown w-full min-w-0 text-sm leading-relaxed text-foreground/80 [overflow-wrap:anywhere] [word-break:break-word]`,s),onCopy:ne,children:(0,W.jsx)(mp,{remarkPlugins:pe,rehypePlugins:l?Eb:void 0,skipHtml:!1,components:B,urlTransform:te,children:e})})}var iT=(0,H.memo)(rT);export{jb as $,Ax as A,Vs as At,cx as B,to as Bt,Bx as C,sh as Ct,Lx as D,uc as Dt,Mx as E,fc as Et,kx as F,ho as Ft,Wb as G,oi as Gt,lx as H,fa as Ht,Ex as I,xo as It,Ub as J,Ar as Jt,Vb as K,Xr as Kt,gx as L,uo as Lt,jx as M,js as Mt,Ox as N,Ns as Nt,wx as O,Ws as Ot,Dx as P,yo as Pt,Rb as Q,_x as R,fo as Rt,zx as S,oh as St,Gx as T,mp as Tt,$b as U,na as Ut,ux as V,Ha as Vt,zb as W,Ki as Wt,Hb as X,er as Xt,qb as Y,br as Yt,Bb as Z,Wn as Zt,OS as _,_h as _t,PC as a,jh as at,$x as b,ah as bt,TC as c,wh as ct,gC as d,xh as dt,jy as et,_C as f,fh as ft,ES as g,gh as gt,jS as h,mh as ht,FC as i,Ah as it,Tx as j,Is as jt,Cx as k,qs as kt,SC as l,kh as lt,MS as m,yh as mt,iT as n,Eh as nt,GC as o,Nh as ot,vC as p,ph as pt,Kb as q,Br as qt,zC as r,Oh as rt,DC as s,Mh as st,Ww as t,gy as tt,dC as u,Th as ut,DS as v,vh as vt,Vx as w,ch as wt,Xx as x,ih as xt,Zx as y,th as yt,hx as z,ro as zt};
|
|
249
|
+
//# sourceMappingURL=ChatMarkdown-BGNgYyxf.js.map
|