1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/basic-shape-diamond.svg-D0Ad5T6y.js","assets/main.web-DhIbts-V.js","assets/main-Dwxw6F7C.css","assets/basic-shape-hexagon.svg-CHtT9Rkl.js","assets/basic-shape-primary-circle-ellipse-round.svg-CRItoBcI.js","assets/basic-shape-primary-square-rectangle.svg-DAxXMUmH.js","assets/basic-shape-shield.svg-9UHRT9Tn.js","assets/computer-device-desktop-monitor.svg-wiYmwUOK.js","assets/computer-device-desktop.svg-sBzZDa5u.js","assets/computer-device-laptop.svg-DbrunKjq.js","assets/computer-device-mobile-phone-android-samsung-back.svg-BKN9ci8s.js","assets/computer-device-mobile-phone-android-samsung.svg-DMbVA27F.js","assets/computer-device-mobile-phone-iphone-x-back.svg-CQboPXKi.js","assets/computer-device-mobile-phone-iphone-x.svg-C0wSSyBH.js","assets/computer-device-mobile-tablet-touch.svg-BnlOp-Mi.js","assets/computer-device-mobile-tablet.svg-DaSPM5PK.js","assets/computer-device-network-ethernet-cat6.svg-BDu7qIKE.js","assets/computer-device-network-lan-www.svg-lTI2yA9j.js","assets/computer-device-network-wifi-connection.svg-BO4lVBfo.js","assets/computer-device-network-wifi-router.svg-XwvsmfVR.js","assets/ecology-science-erlenmeyer-flask.svg-DhqmSkqG.js","assets/image-flash-lightning.svg-X4ulwJ3a.js","assets/image-picture-flower.svg-BQ-ax8YH.js","assets/interface-alert-exclamation-diamond.svg-bsiC6jjO.js","assets/interface-alert-exclamation-triangle-warning.svg-DPo51CIU.js","assets/interface-alert-information-circle.svg-fYnRYRxY.js","assets/interface-award-crown.svg-Cw3-r4x1.js","assets/interface-bookmark-tag.svg-yuHIcDtW.js","assets/interface-bookmark.svg-DUa-JX4q.js","assets/interface-calendar-date-one.svg-W9xIhK07.js","assets/interface-content-book-open-pages.svg-C75Bv6z9.js","assets/interface-content-book-page.svg-D9dMYAzm.js","assets/interface-content-file.svg-DFgnAxWR.js","assets/interface-copy-clipboard.svg-B4nUSk3V.js","assets/interface-edit-attachment.svg-DvViBakt.js","assets/interface-edit-binocular.svg-Bdk0NX69.js","assets/interface-edit-magic-wand.svg-6oO0M-hY.js","assets/interface-edit-tool-paint-roller.svg-BoIZJeiU.js","assets/interface-edit-tool-pencil.svg-CZi97QId.js","assets/interface-favorite-award.svg-BDZ-L-lE.js","assets/interface-favorite-flag.svg-Bvt29l67.js","assets/interface-favorite-heart.svg-BRFEIcNn.js","assets/interface-favorite-star.svg-FWF4VIha.js","assets/interface-favorite-stars-sparkles.svg-dW-g2n6e.js","assets/interface-hierarchy-flowchart.svg-uflG1sUR.js","assets/interface-home-house.svg-lM2xUsSa.js","assets/interface-hyperlink.svg-CIIwunXb.js","assets/interface-lighting-brightness.svg-MSeT2v5n.js","assets/interface-lock-closed.svg-CNAizSoe.js","assets/interface-lock-open-unlock.svg-Betp9h5a.js","assets/interface-login-key.svg-obMOR5Oi.js","assets/interface-search.svg-Dsg2xHCV.js","assets/interface-setting-cog.svg-CkAT75PK.js","assets/interface-share-megaphone-bullhorn.svg-2rsOnotQ.js","assets/interface-share-rocket.svg-BjVfHTlT.js","assets/interface-share-satellite.svg-Db0nNDKz.js","assets/interface-share-space-ship.svg-DOSeu_B3.js","assets/interface-share.svg-CahQLjbl.js","assets/interface-signal-square.svg-9fVw6AAY.js","assets/interface-time-clock-circle.svg-DjNOuQex.js","assets/interface-time-hour-glass.svg-r25uAcV4.js","assets/interface-users-multiple.svg-Cs7ttK0c.js","assets/interface-weather-moon.svg-CZ_bJs9c.js","assets/mail-chat-bubble-square.svg-BWlgwKJ-.js","assets/mail-send-email-paper-airplane.svg-RGg9jIm-.js","assets/mail-send-envelope.svg-NeIeNk21.js","assets/money-cashier-receipt.svg-CVNLKKRR.js","assets/money-currency-dollar-pay.svg-fEFWTD6y.js","assets/money-graph-arrow-increase.svg-CHl9U-50.js","assets/money-graph-bar-chart-increase.svg-j7rHVCT8.js","assets/nature-ecology-leaf.svg-Cm6C9_pZ.js","assets/phone-telephone.svg-BI_2IdyD.js","assets/programming-bug.svg-DMySBbk6.js","assets/programming-cloud.svg-D0bDzt12.js","assets/programming-computer-database-server.svg-CeZlK0p-.js","assets/programming-computer-database.svg-H2wi1Hl4.js","assets/programming-module-four-layout.svg-DeecnKT2.js","assets/programming-module-three.svg-C_dY4WHh.js","assets/programming-module.svg-BFHWhjqx.js","assets/programming-script-code.svg-P5n43X9t.js","assets/shopping-cart.svg-CG7hN5pa.js","assets/shopping-gift-present.svg-DnUhO3sF.js","assets/shopping-shipping-box-parcel-package.svg-CwpLhZOB.js","assets/tag-ne
1w-circle.svg-CTPOsGoN.js","assets/travel-map-earth-globe.svg-mrZVD9rz.js","assets/AgentScalarChatInterface.vue-BEMVE0OG.js","assets/index-C2L2Cw64.js","assets/index-JCMhhTSd.js"])))=>i.map(i=>d[i]); 2import{aa as Rn,v as I,Q as pt,ba as In,T as Mi,r as K,d as Q,o as g,c as L,w as P,k as H,e as J,t as V,ao as kr,E as Yt,dN as f8,i as S,j as m,a as w,l as B,y as Ae,C as Se,q as it,F as le,cR as Rt,dO as Ft,aw as Vc,dP as kX,b as N,H as yn,M as qe,U as Mt,af as Aa,a4 as p8,G as lr,J as xn,dQ as AX,dR as TX,dS as Vs,dT as Xg,dU as N9,dV as Of,dW as t1,dX as bS,dY as EX,dZ as _X,d_ as CX,d$ as $X,e0 as PX,e1 as IX,e2 as NX,a8 as R9,a9 as h8,N as Su,O as yi,aA as vi,m as M9,ai as Be,W as cr,aC as m8,x as Pb,c9 as tO,bF as vn,S as Nn,bG as RX,b9 as Pn,cy as L9,V as g8,R as hs,z as ti,K as ld,B as jt,ax as Sa,av as to,A as fm,c7 as Wg,e3 as MX,a5 as D9,a6 as LX,a7 as DX,e4 as BX,e5 as B9,aT as yS,e6 as UX,e7 as jX,e8 as U9,I as QX,e9 as j9,X as FX,ea as zX,eb as VX,ec as HX,au as qX}from"./main.web-DhIbts-V.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3017aa88a4972036a74b722ca9d58e00aafd4aa3"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b72a3339-21f1-4a66-955d-2df5643c69f9",e._sentryDebugIdIdentifier="sentry-dbid-b72a3339-21f1-4a66-955d-2df5643c69f9")}catch{}})();const Ge=e=>{if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null},Wu=e=>typeof e=="object"&&e!==null,ZX=e=>e["$ref-value"],Qr=e=>{const{"$ref-value":t,...n}=e;return Ge(t)?{...t,...n}:n},ke=(e,t=ZX)=>typeof e=="object"&&e!==null&&"$ref"in e?t(e):e,b8=e=>"type"in e&&(e.type==="object"||Array.isArray(e.type)&&e.type.includes("object")),er=e=>"type"in e&&(e.type==="array"||Array.isArray(e.type)&&e.type.includes("array")),n1=e=>"type"in e&&(e.type==="string"||Array.isArray(e.type)&&e.type.includes("string")),vk=e=>"type"in e&&(e.type==="number"||e.type==="integer"||Array.isArray(e.type)&&e.type.includes("number")||Array.isArray(e.type)&&e.type.includes("integer")),XX=e=>e!==void 0&&"type"in e,t2t=e=>"content"in e&&e.content!==void 0;var WX=e=>typeof e=="object"&&e!==null;function Ok(e){return typeof e=="object"&&e!==null&&"$ref"in e?WX(e["$ref-value"])?e["$ref-value"]:void 0:e}function bp(e,t){t&&(e.includes(t)||e.push(t))}function pm(e,t,n=0){!e||t.visited.has(e)||(t.visited.add(e),[...e.oneOf??[],...e.anyOf??[],...e.allOf??[]].forEach(r=>{pm(Ok(r),t,n)}),b8(e)&&e.properties&&Object.entries(e.properties).forEach(([r,a])=>{const i=Ok(a);t.visit(r,i),n+1<t.maxPropertyDepth&&pm(i,t,n+1)}))}function Q9(e,t){const n=ke(e?.requestBody)?.content;if(!n)return;const r=new Set;Object.values(n).forEach(a=>{pm(ke(ke(a)?.schema),{visit:t,visited:r,maxPropertyDepth:2})})}function YX(e){const t=[];return e.forEach(n=>{const r=ke(n);bp(t,r?.name)}),t}function GX(e){const t=[];return e.forEach(n=>{const r=ke(n);bp(t,r?.description)}),t}function KX(e){const t=[];return Q9(e,n=>{bp(t,n)}),t}function JX(e){const t=[];return Q9(e,(n,r)=>{r&&"description"in r&&typeof r.description=="string"&&bp(t,r.description)}),t}function eW(e){const t=[];return pm(e,{visit:n=>bp(t,n),visited:new Set,maxPropertyDepth:2}),t}function tW(e){const t=[];return pm(e,{visit:(n,r)=>{r&&"description"in r&&typeof r.description=="string"&&bp(t,r.description)},visited:new Set,maxPropertyDepth:2}),t}var ct=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},nW={common:{additionalProperties:"خصائص إضاÙÙØ©",const:"ثابت",deprecated:"Ù ÙÙ Ù",description:"اÙÙØµÙ",discriminator:"اÙÙ Ù ÙÙØ²",enum:"تعداد",format:"Ø§ÙØªÙسÙÙ",greaterThan:"Ø£ÙØ¨Ø± Ù Ù",httpMethod:"طرÙÙØ© HTTP",keys:"اÙÙ ÙØ§ØªÙØ",lessThan:"Ø£ÙÙ Ù Ù",max:"Ø§ÙØØ¯ Ø§ÙØ£ÙصÙ",min:"Ø§ÙØØ¯ Ø§ÙØ£Ø¯ÙÙ",maxLength:"Ø£ÙØµÙ Ø·ÙÙ",minLength:"أدÙÙ Ø·ÙÙ",multipleOf:"٠ضاع٠ÙÙ",nullable:"ÙÙØ¨Ù null",path:"اÙ٠سار",propertyNames:"أس٠اء Ø§ÙØ®ØµØ§Ø¦Øµ",pattern:"اÙÙÙ Ø·",copyPattern:"ÙØ³Ø® اÙÙÙ Ø·",readOnly:"ÙØ±Ø§Ø¡Ø© ÙÙØ·",required:"Ù Ø·ÙÙØ¨",hideValues:"Ø¥Ø®ÙØ§Ø¡ اÙÙÙÙ ",showAllValues:"عرض Ù٠اÙÙÙÙ ",type:"اÙÙÙØ¹",unique:"ÙØ±Ùد",values:"اÙÙÙÙ ",writeOnly:"ÙØªØ§Ø¨Ø© ÙÙØ·"},search:{label:"Ø¨ØØ«",inputLabel:"Ø£Ø¯Ø®Ù Ø§Ø³ØªØ¹ÙØ§Ù Ø§ÙØ¨ØØ«",open:"ÙØªØ Ø§ÙØ¨ØØ«",placeholder:"Ø¨ØØ«...",clear:"Ù Ø³Ø Ø§ÙØ¨ØØ«",ke
2yboardShortcut:"اختصار ÙÙØØ© اÙÙ
ÙØ§ØªÙØ:",command:"Ù
ÙØªØ§Ø Ø§ÙØ£ÙاÙ
ر",control:"Ù
ÙØªØ§Ø Ø§ÙØªØÙÙ
",results:"ÙØªØ§Ø¦Ø¬ Ø§ÙØ¨ØØ« Ù٠اÙÙ
رجع",navigate:"تÙÙÙÙ",select:"Ø§Ø®ØªÙØ§Ø±",instructions:"اضغط Ø§ÙØ³ÙÙ
ÙÙØ£Ø¹Ù٠أ٠ÙÙØ£Ø³ÙÙ ÙÙØªÙÙÙØ Enter ÙÙØ§Ø®ØªÙØ§Ø±Ø ÙØ§Ùتب ÙØªØµÙÙØ© اÙÙØªØ§Ø¦Ø¬",entryHeading:"عÙÙØ§Ù",entryOperation:"عÙ
ÙÙØ©",entryTag:"ÙØ³Ù
",entryTagGroup:"Ù
جÙ
ÙØ¹Ø© ÙØ³ÙÙ
",entryWebhook:"خطا٠ÙÙØ¨"},navigation:{introduction:"اÙÙ
ÙØ¯Ù
Ø©",closeGroup:"Ø¥ØºÙØ§Ù اÙÙ
جÙ
ÙØ¹Ø©",closeMenu:"Ø¥ØºÙØ§Ù اÙÙØ§Ø¦Ù
Ø©",openGroup:"ÙØªØ اÙÙ
جÙ
ÙØ¹Ø©",openMenu:"ÙØªØ اÙÙØ§Ø¦Ù
Ø©",operations:"Ø§ÙØ¹Ù
ÙÙØ§Øª",endpoints:"ÙÙØ§Ø· ÙÙØ§ÙØ© {name}",showAllEndpoints:"Ø¥Ø¸ÙØ§Ø± ÙÙ ÙÙØ§Ø· ÙÙØ§ÙØ© {name}",sidebarFor:"Ø§ÙØ´Ø±ÙØ· Ø§ÙØ¬Ø§Ùب٠ÙÙ {name}",mainContent:"ÙØ«Ø§Ø¦Ù ÙØ§Ø¬ÙØ© برÙ
جة Ø§ÙØªØ·Ø¨ÙÙØ§Øª ÙÙ {name}",collapsed:"Ù
Ø·ÙÙ",webhooks:"Ø®Ø·Ø§ÙØ§Øª اÙÙÙØ¨",channels:"اÙÙÙÙØ§Øª"},server:{label:"Ø§ÙØ®Ø§Ø¯Ù
",select:"اختر خادÙ
اÙ"},info:{termsOfService:"Ø´Ø±ÙØ· Ø§ÙØ®Ø¯Ù
Ø©"},asyncapi:{servers:"Ø§ÙØ®ÙادÙ
",protocols:"Ø§ÙØ¨Ø±ÙتÙÙÙÙØ§Øª"},clientLibraries:{heading:"Ù
ÙØªØ¨Ø§Øª Ø§ÙØ¹Ù
ÙØ§Ø¡",more:"اÙÙ
Ø²ÙØ¯",selectAll:"اختر Ù
٠جÙ
ÙØ¹ Ø§ÙØ¹Ù
ÙØ§Ø¡"},operation:{body:"Ø§ÙØ¬Ø³Ù
",cookies:"Ù
ÙÙØ§Øª تعرÙÙ Ø§ÙØ§Ø±ØªØ¨Ø§Ø·",headers:"Ø§ÙØ±Ø¤Ùس",pathParameters:"Ù
عاÙ
ÙØ§Øª اÙÙ
سار",queryParameters:"Ù
عاÙ
ÙØ§Øª Ø§ÙØ§Ø³ØªØ¹ÙاÙ
",requestBody:"جسÙ
Ø§ÙØ·Ùب",responses:"Ø§ÙØ§Ø³ØªØ¬Ø§Ø¨Ø§Øª",testRequest:"اختبار Ø§ÙØ·Ùب",webhook:"خطا٠ÙÙØ¨",selectedContentType:"ÙÙØ¹ اÙÙ
ØØªÙ٠اÙÙ
ØØ¯Ø¯",hideHeaders:"Ø¥Ø®ÙØ§Ø¡ Ø§ÙØ±Ø¤Ùس",showHeaders:"Ø¥Ø¸ÙØ§Ø± Ø§ÙØ±Ø¤Ùس",callbacks:"عÙ
ÙÙØ§Øª Ø§ÙØ§Ø³ØªØ¯Ø¹Ø§Ø¡"},response:{exampleResponses:"Ø£Ù
Ø«ÙØ© Ø§ÙØ§Ø³ØªØ¬Ø§Ø¨Ø§Øª",noBody:"ÙØ§ ÙÙØ¬Ø¯ جسÙ
",showSchema:"عرض اÙÙ
خطط",status:"Ø§ÙØØ§ÙØ©"},schema:{example:"Ù
ثاÙ",examples:"Ø£Ù
Ø«ÙØ©",default:"Ø§ÙØ§ÙتراضÙ",schema:"اÙÙ
خطط",emptyObject:"ÙØ§Ø¦Ù ÙØ§Ø±Øº",showAdditionalProperties:"Ø¥Ø¸ÙØ§Ø± Ø§ÙØ®ØµØ§Ø¦Øµ Ø§ÙØ¥Ø¶Ø§ÙÙØ©",childAttributes:"Ø§ÙØ³Ù
ات اÙÙØ±Ø¹ÙØ©",hideChildAttributes:"Ø¥Ø®ÙØ§Ø¡ {name}",showChildAttributes:"Ø¥Ø¸ÙØ§Ø± {name}",forName:"ÙÙ {name}",showSchemaDetails:"Ø¥Ø¸ÙØ§Ø± ØªÙØ§ØµÙ٠اÙÙ
خطط",oneOf:"ÙØ§ØØ¯ Ù
Ù",anyOf:"Ø£Ù Ù
Ù",allOf:"ÙÙ Ù
Ù",not:"ÙÙØ³",unknownType:"ÙÙØ¹ ØºÙØ± Ù
عرÙÙ"},download:{openapi:"ØªÙØ²ÙÙ Ù
Ø³ØªÙØ¯ OpenAPI",asyncapi:"ØªÙØ²ÙÙ Ù
Ø³ØªÙØ¯ AsyncAPI"},models:{label:"اÙÙÙ
اذج"},actions:{copyLink:"ÙØ³Ø® Ø§ÙØ±Ø§Ø¨Ø·",copyLinkTo:"ÙØ³Ø® Ø§ÙØ±Ø§Ø¨Ø· Ø¥ÙÙ {name}",copyToClipboard:"ÙØ³Ø® Ø§ÙØ±Ø§Ø¨Ø· Ø¥ÙÙ Ø§ÙØØ§ÙØ¸Ø©",copyEndpointUrl:"ÙØ³Ø® رابط endpoint",showMore:"عرض اÙÙ
Ø²ÙØ¯"},agent:{askAi:"Ø§Ø³Ø£Ù Ø§ÙØ°Ùاء Ø§ÙØ§ØµØ·ÙاعÙ",askAiAgent:"اسأ٠ÙÙÙÙ Ø§ÙØ°Ùاء Ø§ÙØ§ØµØ·ÙاعÙ",close:"Ø¥ØºÙØ§Ù Ø§ÙØ¹Ù
ÙÙ"},mcp:{generate:"Ø¥ÙØ´Ø§Ø¡ MCP",connect:"ربط MCP"},developerTools:{title:"Ø£Ø¯ÙØ§Øª اÙÙ
Ø·ÙØ±ÙÙ",configure:"Ø§ÙØ¥Ø¹Ø¯Ø§Ø¯",share:"Ù
Ø´Ø§Ø±ÙØ©",deploy:"ÙØ´Ø±",scalarConfiguration:"إعدادات Scalar",theme:"Ø§ÙØ³Ù
Ø©",layout:"Ø§ÙØªØ®Ø·ÙØ·",layoutOptions:"Ø®ÙØ§Ø±Ø§Øª Ø§ÙØªØ®Ø·ÙØ·",intro:"ØªØªÙØ ÙÙ Ø£Ø¯ÙØ§Øª اÙÙ
Ø·ÙØ±ÙÙ ØªØ®ØµÙØµ Ù
Ø¸ÙØ± اÙÙØ«Ø§Ø¦Ù ÙØ³ÙÙÙÙØ§. ÙÙ
ÙÙÙ Ø£ÙØ¶Ùا Ù
Ø´Ø§Ø±ÙØ© ÙØ«Ø§Ø¦Ù٠باستخداÙ
Scalar Registry.",disableToolbarBefore:"ÙØªØ¹Ø·ÙÙ Ø´Ø±ÙØ· Ø§ÙØ£Ø¯ÙØ§ØªØ Ø¹ÙÙÙ",disableToolbarAfter:"ÙÙ Ø§ÙØ¥Ø¹Ø¯Ø§Ø¯Ø§Øª.",localhostOnly:"ÙÙ ØªØ¸ÙØ± Ø£Ø¯ÙØ§Øª اÙÙ
Ø·ÙØ±ÙÙ Ø¥ÙØ§ Ø¹ÙØ¯ Ø§ÙØªØ´ØºÙ٠عÙÙ localhost.",layoutModern:"ØØ¯ÙØ«",layoutClassic:"ÙÙØ§Ø³ÙÙÙ",showSidebar:"Ø¥Ø¸ÙØ§Ø± Ø§ÙØ´Ø±ÙØ· Ø§ÙØ¬Ø§ÙبÙ",defaultOpenFirstTag:"ÙØªØ Ø£ÙÙ ÙØ³Ù
Ø§ÙØªØ±Ø§Ø¶ÙÙØ§",defaultOpenAllTags:"ÙØªØ Ù٠اÙÙØ³ÙÙ
Ø§ÙØªØ±Ø§Ø¶ÙÙØ§",expandAll:"ØªÙØ³Ùع ÙÙ {label}",expandAllResponses:"ØªÙØ³Ùع ÙÙ Ø§ÙØ§Ø³ØªØ¬Ø§Ø¨Ø§Øª",hideClientButton:"Ø¥Ø®ÙØ§Ø¡ زر Ø§ÙØ¹Ù
ÙÙ",hideDarkModeToggle:"Ø¥Ø®ÙØ§Ø¡ Ù
ÙØªØ§Ø اÙÙØ¶Ø¹ Ø§ÙØ¯Ø§ÙÙ",hideModels:"Ø¥Ø®ÙØ§Ø¡ {label}",hideSearch:"Ø¥Ø®ÙØ§Ø¡ Ø§ÙØ¨ØØ«",showOperationId:"Ø¥Ø¸ÙØ§Ø± Ù
عرÙÙ Ø§ÙØ¹Ù
ÙÙØ©",hideTestRequestButton:"Ø¥Ø®ÙØ§Ø¡ زر Ø·ÙØ¨ Ø§ÙØ§Ø®ØªØ¨Ø§Ø±",scalarDocs:"Scalar Docs",deployDescription:"Ø§ÙØ´Ø± ÙØ«Ø§Ø¦Ù٠عÙÙ ScalarØ Ù
ÙØµØ© اÙÙØ«Ø§Ø¦Ù Ø§ÙØØ¯ÙØ«Ø© ÙÙØ§Ø¬ÙØ© API Ø§ÙØ®Ø§ØµØ© ب٠ÙÙÙ Ø´ÙØ¡ آخر.",shareTitle:"Ù
Ø´Ø§Ø±ÙØ© API Reference",shareDescription:"ØÙ
ÙÙ Ù
Ø³ØªÙØ¯ OpenAPI ÙÙ
Ø´Ø§Ø±ÙØ© API Reference Ù
ع Ø§ÙØ¢Ø®Ø±ÙÙ. Ø§ÙØ£Ù
ر Ø¨Ø³ÙØ· ÙØ¶ØºØ· زر.",uploadDocument:"تØÙ
Ù٠اÙÙ
Ø³ØªÙØ¯",temporaryLinkExpiration:"Ø³ÙØªÙ
ØØ°Ù اÙÙ
Ø³ØªÙØ¯ تÙÙØ§Ø¦ÙÙØ§ بعد 7 Ø£ÙØ§Ù
.",deployOnScalar:"اÙÙØ´Ø± عÙÙ Scalar",deployFree:"Ø§ÙØ´Ø± ÙØ«Ø§Ø¦ÙÙ Ù
جاÙÙØ§.",additionalFeaturesMightRequire:"ÙØ¯ ØªØªØ·ÙØ¨ اÙÙ
ÙØ²Ø§Øª Ø§ÙØ¥Ø¶Ø§ÙÙØ©",generate:"Ø¥ÙØ´Ø§Ø¡",passwordProtection:"Ø§ÙØÙ
Ø§ÙØ© بÙÙÙ
Ø© Ù
Ø±ÙØ±",customDomains:"ÙØ·Ø§Ùات Ù
خصصة",freeFormContent:"Ù
ØØªÙÙ ØØ±",cdnInfrastru
2cture:"بÙÙØ© CDN Ø§ÙØªØØªÙØ©",pullFromGitHub:"Ø§ÙØ³ØØ¨ Ù
Ù GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"ÙØØµ Spectral",jsonSchemaHosting:"Ø§Ø³ØªØ¶Ø§ÙØ© JSON Schema",askAi:"Ø§Ø³Ø£Ù Ø§ÙØ°Ùاء Ø§ÙØ§ØµØ·ÙاعÙ",mcpServers:"Ø®ÙØ§Ø¯Ù
MCP",unableToExportDocument:"تعذر ØªØµØ¯ÙØ± اÙÙ
Ø³ØªÙØ¯ اÙÙØ´Ø·",unknownError:"ØØ¯Ø« خطأ ØºÙØ± Ù
عرÙÙ"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Ù
Ø±ØØ¨Ùا ب٠ÙÙ Scalar API References + Swagger EditorØ Ø£Ø¯Ø§Ø© Ù
جاÙÙØ© ÙÙ
ÙØªÙØØ© اÙÙ
صدر تأخذ Ù
ÙÙ Swagger/OAS Ø§ÙØ®Ø§Øµ Ø¨Ù ÙØªÙشئ API References جÙ
ÙÙØ©.",showExample:"Ø¥Ø¸ÙØ§Ø± Ù
ثاÙ",uploadFile:"تØÙ
ÙÙ Ù
ÙÙ",integrations:"Ø§ÙØªÙاÙ
ÙØ§Øª",theming:"Ø§ÙØ³Ù
ات",features:"اÙÙ
ÙØ²Ø§Øª",customize:"Ø§ÙØªØ®ØµÙص",customizeDescription:"استخدÙ
Ø§ÙØ®Ø·ÙØ· ÙÙÙØØ§Øª Ø§ÙØ£ÙÙØ§Ù Ø§ÙØ®Ø§ØµØ© Ø¨ÙØ أ٠استخدÙ
سÙ
Ø§ØªÙØ§!",testing:"Ø§ÙØ§Ø®ØªØ¨Ø§Ø±",testingDescription:"REST API Client Ù
دÙ
ج بعÙ
Ù (Ù
جاÙÙ ÙÙ
ÙØªÙØ Ø§ÙÙ
صدر Ø£ÙØ¶Ùا)",search:"Ø§ÙØ¨ØØ«",searchDescription:"Ø¨ØØ« Ù
دÙ
ج باÙÙØ§Ù
Ù (باستخداÙ
fuse.js)",hosting:"Ø§ÙØ§Ø³ØªØ¶Ø§ÙØ©",hostingDescription:"Ø§Ø³ØªØ¶Ø§ÙØ© Ù
جاÙÙØ© ÙÙØ·Ø§Ù ÙØ±Ø¹Ù عÙÙ https://apidocumentation.com",openApiSwagger:"OpenAPI Ù Swagger",openApiSwaggerDescription:"دعÙ
OpenAPI 3.1 Ù OpenAPI 3.0 Ù Swagger 2.0",codeSamples:"Ø£Ù
Ø«ÙØ© Ø§ÙØªØ¹ÙÙÙ
ات Ø§ÙØ¨Ø±Ù
Ø¬ÙØ©",codeSamplesDescription:"Ø£Ù
Ø«ÙØ© تعÙÙÙ
ات برÙ
Ø¬ÙØ© ÙØ¹Ø±Ø¶ API Ø§ÙØ®Ø§Øµ Ø¨Ù Ø¨Ø£Ø´ÙØ± اÙÙØºØ§Øª"},footer:{poweredByScalar:"Ù
دعÙÙ
Ù
Ù Scalar"},authentication:{title:"اÙÙ
ØµØ§Ø¯ÙØ©",accepts:"ÙÙØ¨Ù",allOf:"ÙÙ Ù
ا ÙÙÙ:",authentication:"اÙÙ
ØµØ§Ø¯ÙØ©",optional:"اÙÙ
ØµØ§Ø¯ÙØ© Ø§Ø®ØªÙØ§Ø±ÙØ©",oneOf:"ÙØ§ØØ¯ Ù
Ù:",required:"اÙÙ
ØµØ§Ø¯ÙØ© Ù
Ø·ÙÙØ¨Ø©",requires:"ÙØªØ·Ùب",scopes:"ÙØ·Ø§Ùات OAuth"}},rW={common:{additionalProperties:"zusätzliche Eigenschaften",const:"Konstante",deprecated:"veraltet",description:"Beschreibung",discriminator:"Diskriminator",enum:"enum",format:"Format",greaterThan:"gröÃer als",httpMethod:"HTTP-Methode",keys:"Schlüssel",lessThan:"kleiner als",max:"max.",min:"min.",maxLength:"max. Länge",minLength:"min. Länge",multipleOf:"Vielfaches von",nullable:"nullable",path:"Pfad",propertyNames:"Eigenschaftsnamen",pattern:"Muster",copyPattern:"Muster kopieren",readOnly:"nur lesbar",required:"erforderlich",hideValues:"Werte ausblenden",showAllValues:"Alle Werte anzeigen",type:"Typ",unique:"eindeutig",values:"Werte",writeOnly:"nur schreibbar"},search:{label:"Suchen",inputLabel:"Suchbegriff eingeben",open:"Suche öffnen",placeholder:"Suchen...",clear:"Suche löschen",keyboardShortcut:"Tastenkürzel:",command:"Befehl",control:"Steuerung",results:"Suchergebnisse der Referenz",navigate:"Navigieren",select:"Auswählen",instructions:"Drücken Sie Pfeil nach oben oder unten zum Navigieren, Enter zum Auswählen und tippen Sie zum Filtern der Ergebnisse",entryHeading:"Ãberschrift",entryOperation:"Operation",entryTag:"Tag",entryTagGroup:"Tag-Gruppe",entryWebhook:"Webhook"},navigation:{introduction:"Einführung",closeGroup:"Gruppe schlieÃen",closeMenu:"Menü schlieÃen",openGroup:"Gruppe öffnen",openMenu:"Menü öffnen",operations:"Operationen",endpoints:"{name}-Endpunkte",showAllEndpoints:"Alle {name}-Endpunkte anzeigen",sidebarFor:"Seitenleiste für {name}",mainContent:"API-Dokumentation für {name}",collapsed:"Eingeklappt",webhooks:"Webhooks",channels:"Kanäle"},server:{label:"Server",select:"Server auswählen"},info:{termsOfService:"Nutzungsbedingungen"},asyncapi:{servers:"Server",protocols:"Protokolle"},clientLibraries:{heading:"Client-Bibliotheken",more:"Mehr",selectAll:"Aus allen Clients auswählen"},operation:{body:"Body",cookies:"Cookies",headers:"Header",pathParameters:"Pfadparameter",queryParameters:"Query-Parameter",requestBody:"Request Body",responses:"Antworten",testRequest:"Request testen",webhook:"Webhook",selectedContentType:"Ausgewählter Inhaltstyp",hideHeaders:"Header ausblenden",showHeaders:"Header anzeigen",callbacks:"Callbacks"},response:{exampleResponses:"Beispielantworten",noBody:"Kein Body",showSchema:"Schema anzeigen",status:"Status"},schema:{example:"Beispiel",examples:"Beispiele",default:"Standard",schema:"Schema",emptyObject:"Leeres Objekt",showAdditionalProperties:"Zusätzliche Eigenschaften anzeigen",childAttributes:"Untergeordnete Attribute",hideChildAttributes:"{name} ausblenden",showChildAttributes:"{name} anzeigen",forName:"für {name}
2",showSchemaDetails:"Schema-Details anzeigen",oneOf:"Eines von",anyOf:"Beliebiges von",allOf:"Alle von",not:"Nicht",unknownType:"unbekannter Typ"},download:{openapi:"OpenAPI-Dokument herunterladen",asyncapi:"AsyncAPI-Dokument herunterladen"},models:{label:"Modelle"},actions:{copyLink:"Link kopieren",copyLinkTo:"Link zu {name} kopieren",copyToClipboard:"Link in die Zwischenablage kopieren",copyEndpointUrl:"Endpoint-URL kopieren",showMore:"Mehr anzeigen"},agent:{askAi:"KI fragen",askAiAgent:"KI-Agent fragen",close:"Client schlieÃen"},mcp:{generate:"MCP generieren",connect:"MCP verbinden"},developerTools:{title:"Entwicklertools",configure:"Konfigurieren",share:"Teilen",deploy:"Bereitstellen",scalarConfiguration:"Scalar-Konfiguration",theme:"Theme",layout:"Layout",layoutOptions:"Layout-Optionen",intro:"Mit den Entwicklertools kannst du das Aussehen und Verhalten deiner Dokumentation anpassen. Du kannst deine Dokumentation auch über Scalar Registry teilen.",disableToolbarBefore:"Um die Toolbar zu deaktivieren, setze",disableToolbarAfter:"in deiner Konfiguration.",localhostOnly:"Die Entwicklertools werden nur angezeigt, wenn sie auf localhost ausgeführt werden.",layoutModern:"Modern",layoutClassic:"Klassisch",showSidebar:"Seitenleiste anzeigen",defaultOpenFirstTag:"Ersten Tag standardmäÃig öffnen",defaultOpenAllTags:"Alle Tags standardmäÃig öffnen",expandAll:"Alle {label} erweitern",expandAllResponses:"Alle Antworten erweitern",hideClientButton:"Client-Schaltfläche ausblenden",hideDarkModeToggle:"Dark-Mode-Umschalter ausblenden",hideModels:"{label} ausblenden",hideSearch:"Suche ausblenden",showOperationId:"Operation-ID anzeigen",hideTestRequestButton:"Test-Request-Schaltfläche ausblenden",scalarDocs:"Scalar Docs",deployDescription:"Veröffentliche deine Dokumentation auf Scalar, der modernen Dokumentationsplattform für deine API und alles Weitere.",shareTitle:"API Reference teilen",shareDescription:"Lade dein OpenAPI-Dokument hoch, um deine API Reference mit anderen zu teilen. So einfach wie ein Klick.",uploadDocument:"Dokument hochladen",temporaryLinkExpiration:"Dein Dokument wird nach 7 Tagen automatisch gelöscht.",deployOnScalar:"Auf Scalar veröffentlichen",deployFree:"Veröffentliche deine Dokumentation kostenlos.",additionalFeaturesMightRequire:"Zusätzliche Funktionen erfordern möglicherweise",generate:"Generieren",passwordProtection:"Passwortschutz",customDomains:"Eigene Domains",freeFormContent:"Freiform-Inhalte",cdnInfrastructure:"CDN-Infrastruktur",pullFromGitHub:"Von GitHub laden",markdownMdx:"Markdown/MDX",spectralLinting:"Spectral-Linting",jsonSchemaHosting:"JSON-Schema-Hosting",askAi:"KI fragen",mcpServers:"MCP-Server",unableToExportDocument:"Aktives Dokument konnte nicht exportiert werden",unknownError:"Ein unbekannter Fehler ist aufgetreten"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Willkommen bei Scalar API References + Swagger Editor, einem kostenlosen Open-Source-Tool, das deine Swagger/OAS-Datei in schöne API References verwandelt.",showExample:"Beispiel anzeigen",uploadFile:"Datei hochladen",integrations:"INTEGRATIONEN",theming:"THEMES",features:"Funktionen",customize:"Anpassen",customizeDescription:"Nutze deine Typografie und Farbpaletten oder unsere Themes!",testing:"Testen",testingDescription:"Ein tief integrierter REST API Client (ebenfalls kostenlos und Open Source)",search:"Suche",searchDescription:"Vollständig integrierte Suche (mit fuse.js)",hosting:"Hosting",hostingDescription:"Kostenloses Subdomain-Hosting auf https://apidocumentation.com",openApiSwagger:"OpenAPI und Swagger",openApiSwaggerDescription:"Unterstützung für OpenAPI 3.1, OpenAPI 3.0 und Swagger 2.0",codeSamples:"Codebeispiele",codeSamplesDescription:"Codebeispiele, um deine API in den beliebtesten Sprachen zu präsentieren"},footer:{poweredByScalar:"Bereitgestellt von Scalar"},authentication:{title:"Authentifizierung",accepts:"Akzeptiert",allOf:"alle von:",authentication:"Authentifizierung",optional:"Authentifizierung optional",oneOf:"eines von:",required:"Authentifizierung erforderlich",requires:"Erfordert",scopes:"OAuth-Scopes"}},aW={common:{additionalProperties:"additional properties",const:"const",deprecated:"deprecated",description:"Description",discriminator:"Discriminator",enum:"enum",format:"Format",greaterThan:"greater than",httpMethod:"HTTP Method",keys:"keys",lessThan:"less than",max:"max",min:"min",maxLength:"max length",minLength:"min length",multipleOf:"multiple of",nullable:"nullable",path:"Path",propertyNames:"property names",pattern:"Pattern",copyPattern:"Copy pattern",readOnly:"read-only",required:"required",hideValues:"Hide values",showAllValues:"Show all values",type:"Type",unique:"unique",values:"values",writeOnly:"write-only"}
2,search:{label:"Search",inputLabel:"Enter search query",open:"Open Search",placeholder:"Search...",clear:"Clear Search",keyboardShortcut:"Keyboard Shortcut:",command:"Command",control:"Control",results:"Reference Search Results",navigate:"Navigate",select:"Select",instructions:"Press up arrow / down arrow to navigate, enter to select, type to filter results",entryHeading:"Heading",entryOperation:"Operation",entryTag:"Tag",entryTagGroup:"Tag Group",entryWebhook:"Webhook"},navigation:{introduction:"Introduction",closeGroup:"Close Group",closeMenu:"Close Menu",openGroup:"Open Group",openMenu:"Open Menu",operations:"Operations",endpoints:"{name} endpoints",showAllEndpoints:"Show all {name} endpoints",sidebarFor:"Sidebar for {name}",mainContent:"API documentation for {name}",collapsed:"Collapsed",webhooks:"Webhooks",channels:"Channels"},server:{label:"Server",select:"Select a server"},info:{termsOfService:"Terms of Service"},asyncapi:{servers:"Servers",protocols:"Protocols"},clientLibraries:{heading:"Client Libraries",more:"More",selectAll:"Select from all clients"},operation:{body:"Body",cookies:"Cookies",headers:"Headers",pathParameters:"Path Parameters",queryParameters:"Query Parameters",requestBody:"Request Body",responses:"Responses",testRequest:"Test Request",webhook:"Webhook",selectedContentType:"Selected Content Type",hideHeaders:"Hide Headers",showHeaders:"Show Headers",callbacks:"Callbacks"},response:{exampleResponses:"Example Responses",noBody:"No Body",showSchema:"Show Schema",status:"Status"},schema:{example:"Example",examples:"Examples",default:"Default",schema:"Schema",emptyObject:"Empty object",showAdditionalProperties:"Show additional properties",childAttributes:"Child Attributes",hideChildAttributes:"Hide {name}",showChildAttributes:"Show {name}",forName:"for {name}",showSchemaDetails:"Show Schema Details",oneOf:"One of",anyOf:"Any of",allOf:"All of",not:"Not",unknownType:"unknown type"},download:{openapi:"Download OpenAPI Document",asyncapi:"Download AsyncAPI Document"},models:{label:"Models"},actions:{copyLink:"Copy link",copyLinkTo:"Copy link to {name}",copyToClipboard:"Copy link to clipboard",copyEndpointUrl:"Copy endpoint URL",showMore:"Show More"},agent:{askAi:"Ask AI",askAiAgent:"Ask AI Agent",close:"Close Client"},mcp:{generate:"Generate MCP",connect:"Connect MCP"},developerTools:{title:"Developer Tools",configure:"Configure",share:"Share",deploy:"Deploy",scalarConfiguration:"Scalar Configuration",theme:"Theme",layout:"Layout",layoutOptions:"Layout Options",intro:"The developer tools allow you to customize the appearance and behavior of your documentation. You can also share your documentation using the Scalar Registry.",disableToolbarBefore:"To disable the toolbar, set",disableToolbarAfter:"in your configuration.",localhostOnly:"The developer tools will only appear when running on localhost.",layoutModern:"Modern",layoutClassic:"Classic",showSidebar:"Show Sidebar",defaultOpenFirstTag:"Default Open First Tag",defaultOpenAllTags:"Default Open All Tags",expandAll:"Expand All {label}",expandAllResponses:"Expand All Responses",hideClientButton:"Hide Client Button",hideDarkModeToggle:"Hide Dark Mode Toggle",hideModels:"Hide {label}",hideSearch:"Hide Search",showOperationId:"Show Operation ID",hideTestRequestButton:"Hide Test Request Button",scalarDocs:"Scalar Docs",deployDescription:"Deploy your documentation on Scalar, the modern documentation platform for your API and everything else.",shareTitle:"Share your API Reference",shareDescription:"Upload your OpenAPI document to share your API Reference with others. As easy as pressing a button.",uploadDocument:"Upload Document",temporaryLinkExpiration:"Your document will automatically be deleted after 7 days.",deployOnScalar:"Deploy on Scalar",deployFree:"Deploy your documentation for free.",additionalFeaturesMightRequire:"Additional features might require",generate:"Generate",passwordProtection:"Password Protection",customDomains:"Custom Domains",freeFormContent:"Free-form content",cdnInfrastructure:"CDN Infrastructure",pullFromGitHub:"Pull from GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Spectral Linting",jsonSchemaHosting:"JSON Schema Hosting",askAi:"Ask AI",mcpServers:"MCP Servers",unableToExportDocument:"Unable to export active document",unknownError:"An unknown error occurred"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS f
2ile and generates Beautiful API references.",showExample:"Show Example",uploadFile:"Upload File",integrations:"INTEGRATIONS",theming:"THEMING",features:"Features",customize:"Customize",customizeDescription:"Bring your typography & color palettes, or use our themes!",testing:"Testing",testingDescription:"A deeply integrated Rest API Client (Also Free & Open-Source)",search:"Search",searchDescription:"Fully integrated Search (Using fuse.js)",hosting:"Hosting",hostingDescription:"Free subdomain hosting on https://apidocumentation.com",openApiSwagger:"OpenAPI & Swagger",openApiSwaggerDescription:"Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0",codeSamples:"Code Samples",codeSamplesDescription:"Code samples to show off your API in most popular languages"},footer:{poweredByScalar:"Powered by Scalar"},authentication:{title:"Authentication",accepts:"Accepts",allOf:"all of:",authentication:"authentication",optional:"Auth Optional",oneOf:"one of:",required:"Auth Required",requires:"Requires",scopes:"OAuth scopes"}},iW={common:{additionalProperties:"propiedades adicionales",const:"constante",deprecated:"obsoleto",description:"Descripción",discriminator:"Discriminador",enum:"enum",format:"Formato",greaterThan:"mayor que",httpMethod:"Método HTTP",keys:"claves",lessThan:"menor que",max:"máx.",min:"mÃn.",maxLength:"longitud máx.",minLength:"longitud mÃn.",multipleOf:"múltiplo de",nullable:"admite null",path:"Ruta",propertyNames:"nombres de propiedades",pattern:"Patrón",copyPattern:"Copiar patrón",readOnly:"solo lectura",required:"obligatorio",hideValues:"Ocultar valores",showAllValues:"Mostrar todos los valores",type:"Tipo",unique:"único",values:"valores",writeOnly:"solo escritura"},search:{label:"Buscar",inputLabel:"Introduce tu consulta de búsqueda",open:"Abrir búsqueda",placeholder:"Buscar...",clear:"Borrar búsqueda",keyboardShortcut:"Atajo de teclado:",command:"Comando",control:"Control",results:"Resultados de búsqueda de la referencia",navigate:"Navegar",select:"Seleccionar",instructions:"Pulsa flecha arriba o abajo para navegar, Enter para seleccionar y escribe para filtrar resultados",entryHeading:"Encabezado",entryOperation:"Operación",entryTag:"Etiqueta",entryTagGroup:"Grupo de etiquetas",entryWebhook:"Webhook"},navigation:{introduction:"Introducción",closeGroup:"Cerrar grupo",closeMenu:"Cerrar menú",openGroup:"Abrir grupo",openMenu:"Abrir menú",operations:"Operaciones",endpoints:"Endpoints de {name}",showAllEndpoints:"Mostrar todos los endpoints de {name}",sidebarFor:"Barra lateral de {name}",mainContent:"Documentación de la API de {name}",collapsed:"ContraÃdo",webhooks:"Webhooks",channels:"Canales"},server:{label:"Servidor",select:"Seleccionar un servidor"},info:{termsOfService:"Términos del servicio"},asyncapi:{servers:"Servidores",protocols:"Protocolos"},clientLibraries:{heading:"Bibliotecas cliente",more:"Más",selectAll:"Seleccionar entre todos los clientes"},operation:{body:"Cuerpo",cookies:"Cookies",headers:"Encabezados",pathParameters:"Parámetros de ruta",queryParameters:"Parámetros de consulta",requestBody:"Cuerpo de la solicitud",responses:"Respuestas",testRequest:"Probar solicitud",webhook:"Webhook",selectedContentType:"Tipo de contenido seleccionado",hideHeaders:"Ocultar encabezados",showHeaders:"Mostrar encabezados",callbacks:"Callbacks"},response:{exampleResponses:"Ejemplos de respuesta",noBody:"Sin cuerpo",showSchema:"Mostrar esquema",status:"Estado"},schema:{example:"Ejemplo",examples:"Ejemplos",default:"Predeterminado",schema:"Esquema",emptyObject:"Objeto vacÃo",showAdditionalProperties:"Mostrar propiedades adicionales",childAttributes:"Atributos secundarios",hideChildAttributes:"Ocultar {name}",showChildAttributes:"Mostrar {name}",forName:"para {name}",showSchemaDetails:"Mostrar detalles del esquema",oneOf:"Uno de",anyOf:"Cualquiera de",allOf:"Todos de",not:"No",unknownType:"tipo desconocido"},download:{openapi:"Descargar documento OpenAPI",asyncapi:"Descargar documento AsyncAPI"},models:{label:"Modelos"},actions:{copyLink:"Copiar enlace",copyLinkTo:"Copiar enlace a {name}",copyToClipboard:"Copiar enlace al portapapeles",copyEndpointUrl:"Copiar URL del endpoint",showMore:"Mostrar más"},agent:{askAi:"Preguntar a IA",askAiAgent:"Preguntar al agente de IA",close:"Cerrar cliente"},mcp:{generate:"Generar MCP",connect:"Conectar MCP"},developerTools:{title:"Herramientas de desarrollo",configure:"Configurar",share:"Compartir",deploy:"Desplegar",scalarConfiguration:"Configuración de Scalar",theme:"Tema",layout:"Diseño",layoutOptions:"Opciones de diseño",intro:"Las herramientas de desarrollo te permiten personalizar la apariencia
2y el comportamiento de tu documentación. También puedes compartir tu documentación con Scalar Registry.",disableToolbarBefore:"Para desactivar la barra de herramientas, configura",disableToolbarAfter:"en tu configuración.",localhostOnly:"Las herramientas de desarrollo solo aparecerán al ejecutarse en localhost.",layoutModern:"Moderno",layoutClassic:"Clásico",showSidebar:"Mostrar barra lateral",defaultOpenFirstTag:"Abrir la primera etiqueta por defecto",defaultOpenAllTags:"Abrir todas las etiquetas por defecto",expandAll:"Expandir todo {label}",expandAllResponses:"Expandir todas las respuestas",hideClientButton:"Ocultar botón del cliente",hideDarkModeToggle:"Ocultar selector de modo oscuro",hideModels:"Ocultar {label}",hideSearch:"Ocultar búsqueda",showOperationId:"Mostrar ID de operación",hideTestRequestButton:"Ocultar botón de solicitud de prueba",scalarDocs:"Scalar Docs",deployDescription:"Despliega tu documentación en Scalar, la plataforma moderna de documentación para tu API y mucho más.",shareTitle:"Comparte tu API Reference",shareDescription:"Sube tu documento OpenAPI para compartir tu API Reference con otras personas. Tan fácil como pulsar un botón.",uploadDocument:"Subir documento",temporaryLinkExpiration:"Tu documento se eliminará automáticamente después de 7 dÃas.",deployOnScalar:"Desplegar en Scalar",deployFree:"Despliega tu documentación gratis.",additionalFeaturesMightRequire:"Las funciones adicionales pueden requerir",generate:"Generar",passwordProtection:"Protección con contraseña",customDomains:"Dominios personalizados",freeFormContent:"Contenido libre",cdnInfrastructure:"Infraestructura CDN",pullFromGitHub:"Importar desde GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Linting de Spectral",jsonSchemaHosting:"Alojamiento de JSON Schema",askAi:"Preguntar a IA",mcpServers:"Servidores MCP",unableToExportDocument:"No se pudo exportar el documento activo",unknownError:"Se produjo un error desconocido"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Bienvenido a Scalar API References + Swagger Editor, una herramienta gratuita y de código abierto que toma tu archivo Swagger/OAS y genera API References elegantes.",showExample:"Mostrar ejemplo",uploadFile:"Subir archivo",integrations:"INTEGRACIONES",theming:"TEMAS",features:"Funciones",customize:"Personalizar",customizeDescription:"Usa tu tipografÃa y paletas de colores, o nuestros temas.",testing:"Pruebas",testingDescription:"Un REST API Client profundamente integrado (también gratuito y de código abierto)",search:"Búsqueda",searchDescription:"Búsqueda completamente integrada (con fuse.js)",hosting:"Hosting",hostingDescription:"Hosting gratuito en un subdominio de https://apidocumentation.com",openApiSwagger:"OpenAPI y Swagger",openApiSwaggerDescription:"Compatibilidad con OpenAPI 3.1, OpenAPI 3.0 y Swagger 2.0",codeSamples:"Ejemplos de código",codeSamplesDescription:"Ejemplos de código para mostrar tu API en los lenguajes más populares"},footer:{poweredByScalar:"Desarrollado por Scalar"},authentication:{title:"Autenticación",accepts:"Acepta",allOf:"todo lo siguiente:",authentication:"autenticación",optional:"Autenticación opcional",oneOf:"uno de:",required:"Autenticación requerida",requires:"Requiere",scopes:"Ãmbitos de OAuth"}},oW={common:{additionalProperties:"propriétés supplémentaires",const:"constante",deprecated:"obsolète",description:"Description",discriminator:"Discriminateur",enum:"enum",format:"Format",greaterThan:"supérieur à ",httpMethod:"Méthode HTTP",keys:"clés",lessThan:"inférieur à ",max:"max.",min:"min.",maxLength:"longueur max.",minLength:"longueur min.",multipleOf:"multiple de",nullable:"nullable",path:"Chemin",propertyNames:"noms des propriétés",pattern:"Motif",copyPattern:"Copier le motif",readOnly:"lecture seule",required:"obligatoire",hideValues:"Masquer les valeurs",showAllValues:"Afficher toutes les valeurs",type:"Type",unique:"unique",values:"valeurs",writeOnly:"écriture seule"},search:{label:"Rechercher",inputLabel:"Saisissez votre recherche",open:"Ouvrir la recherche",placeholder:"Rechercher...",clear:"Effacer la recherche",keyboardShortcut:"Raccourci clavier :",command:"Commande",control:"Contrôle",results:"Résultats de recherche de la référence",navigate:"Naviguer",select:"Sélectionner",instructions:"Appuyez sur flèche haut ou bas pour naviguer, Entrée pour sélectionner, saisissez du texte pour filtrer les résultats",entryHeading:"Titre",entryOperation:"Opération",entryTag:"Balise",entryTagGroup:"Groupe de balises",entryWebhook:"Webhook"},navigation:{introduction:"Introduction",closeGroup:"Fermer le groupe",closeMenu:"Fermer le menu",openGroup:"Ouvrir le groupe",openMenu:"Ouvrir le menu",operations:"Opérations",endpoints:"Endpoints de {name}",showAllEndpoints:"Afficher tous les endpoints de {name}",sidebarFor:"Barre latérale pour {name}",mainContent:"Documentation de lâAPI pour {name}",collapsed:"Réduit",webhooks:"Webhooks",channels:"Canaux"},server:{label:"Serveur",select:"Sélectionner un serveur"},info:{termsOfService:"Conditions dâutilisation"},asyncapi:{servers:"Serveurs",protocols:"Protocoles"},clientLibraries:{heading:"Bibliothèques clientes",more:"Plus",selectAll:"Sélectionner parmi tous les clients"},operation:{body:"Corps",cookies:"Cookies",headers:"En-têtes",pathParameters:"Paramètres de chemin",queryParameters:"Paramètres de requête",requestBody:"Corps de la requête",responses:"Réponses",testRequest:"Tester la requête",webhook:"Webhook",selectedContentType:"Type de contenu sélectionné",hideHeaders:"Masquer les en-têtes",showHeaders:"Afficher les en-têtes",callbacks:"Callbacks"},response:{exampleResponses:"Exemples de réponses",noBody:"Aucun corps",showSchema:"Afficher le schéma",status:"Statut"},schema:{example:"Exemple",examples:"Exemples",default:"Par défaut",schema:"Schéma",emptyObject:"Objet vide",showAdditionalProperties:"Afficher les propriétés supplémentaires",childAttributes:"Attributs enfants",hideChildAttributes:"Masquer {name}",showChildAttributes:"Afficher {name}",forName:"pour {name}
2",showSchemaDetails:"Afficher les détails du schéma",oneOf:"Un parmi",anyOf:"Nâimporte lequel parmi",allOf:"Tous parmi",not:"Non",unknownType:"type inconnu"},download:{openapi:"Télécharger le document OpenAPI",asyncapi:"Télécharger le document AsyncAPI"},models:{label:"Modèles"},actions:{copyLink:"Copier le lien",copyLinkTo:"Copier le lien vers {name}",copyToClipboard:"Copier le lien dans le presse-papiers",copyEndpointUrl:"Copier lâURL de lâendpoint",showMore:"Afficher plus"},agent:{askAi:"Demander à lâIA",askAiAgent:"Demander à lâagent IA",close:"Fermer le client"},mcp:{generate:"Générer MCP",connect:"Connecter MCP"},developerTools:{title:"Outils de développement",configure:"Configurer",share:"Partager",deploy:"Déployer",scalarConfiguration:"Configuration Scalar",theme:"Thème",layout:"Mise en page",layoutOptions:"Options de mise en page",intro:"Les outils de développement vous permettent de personnaliser lâapparence et le comportement de votre documentation. Vous pouvez aussi partager votre documentation avec Scalar Registry.",disableToolbarBefore:"Pour désactiver la barre dâoutils, définissez",disableToolbarAfter:"dans votre configuration.",localhostOnly:"Les outils de développement apparaissent uniquement lors dâune exécution sur localhost.",layoutModern:"Moderne",layoutClassic:"Classique",showSidebar:"Afficher la barre latérale",defaultOpenFirstTag:"Ouvrir le premier tag par défaut",defaultOpenAllTags:"Ouvrir tous les tags par défaut",expandAll:"Tout développer pour {label}",expandAllResponses:"Développer toutes les réponses",hideClientButton:"Masquer le bouton client",hideDarkModeToggle:"Masquer le sélecteur de mode sombre",hideModels:"Masquer {label}",hideSearch:"Masquer la recherche",showOperationId:"Afficher lâID dâopération",hideTestRequestButton:"Masquer le bouton de requête de test",scalarDocs:"Scalar Docs",deployDescription:"Déployez votre documentation sur Scalar, la plateforme moderne de documentation pour votre API et bien plus encore.",shareTitle:"Partager votre API Reference",shareDescription:"Téléversez votre document OpenAPI pour partager votre API Reference avec dâautres personnes. Aussi simple quâun clic.",uploadDocument:"Téléverser le document",temporaryLinkExpiration:"Votre document sera automatiquement supprimé après 7 jours.",deployOnScalar:"Déployer sur Scalar",deployFree:"Déployez votre documentation gratuitement.",additionalFeaturesMightRequire:"Les fonctionnalités supplémentaires peuvent nécessiter",generate:"Générer",passwordProtection:"Protection par mot de passe",customDomains:"Domaines personnalisés",freeFormContent:"Contenu libre",cdnInfrastructure:"Infrastructure CDN",pullFromGitHub:"Import depuis GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Linting Spectral",jsonSchemaHosting:"Hébergement JSON Schema",askAi:"Demander à lâIA",mcpServers:"Serveurs MCP",unableToExportDocument:"Impossible dâexporter le document actif",unknownError:"Une erreur inconnue est survenue"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Bienvenue dans Scalar API References + Swagger Editor, un outil gratuit et open source qui transforme votre fichier Swagger/OAS en belles API References.",showExample:"Afficher lâexemple",uploadFile:"Téléverser un fichier",integrations:"INTÃGRATIONS",theming:"THÃMES",features:"Fonctionnalités",customize:"Personnaliser",customizeDescription:"Utilisez votre typographie et vos palettes de couleurs, ou nos thèmes !",testing:"Tests",testingDescription:"Un REST API Client profondément intégré (également gratuit et open source)",search:"Recherche",searchDescription:"Recherche entièrement intégrée (avec fuse.js)",hosting:"Hébergement",hostingDescription:"Hébergement gratuit sur un sous-domaine de https://apidocumentation.com",openApiSwagger:"OpenAPI et Swagger",openApiSwaggerDescription:"Prise en charge dâOpenAPI 3.1, OpenAPI 3.0 et Swagger 2.0",codeSamples:"Exemples de code",codeSamplesDescription:"Des exemples de code pour présenter votre API dans les langages les plus populaires"},footer:{poweredByScalar:"Propulsé par Scalar"},authentication:{title:"Authentification",accepts:"Accepte",allOf:"tous les éléments :",authentication:"authentification",optional:"Authentification optionnelle",oneOf:"lâun des éléments :",required:"Authentification requise",requires:"Requiert",scopes:"Portées OAuth"}},sW={common:{additionalProperties:"propriedades adicionais",const:"const",deprecated:"obsoleto",description:"Descrição",discriminator:"Discriminador",enum:"enum",format:"Formato",greaterThan:"maior que",httpMethod:"Método HTTP",keys:"chaves",lessThan:"menor que",max:"máx",min:"mÃn",maxLength:"tamanho máximo",minLength:"tamanho mÃnimo",multipleOf:"múltiplo de",nullable:"aceita nulo",path:"Caminho",propertyNames:"nomes de propriedades",pattern:"Padrão",copyPattern:"Copiar padrão",readOnly:"somente leitura",required:"obrigatório",hideValues:"Ocultar valores",showAllValues:"Mostrar todos os valores",type:"Tipo",unique:"único",values:"valores",writeOnly:"somente escrita"},search:{label:"Buscar",inputLabel:"Digite o termo de busca",open:"Abrir Busca",placeholder:"Buscar...",clear:"Limpar Busca",keyboardShortcut:"Atalho de Teclado:",command:"Command",control:"Control",results:"Resultados da Busca de Referência",navigate:"Navegar",select:"Selecionar",instructions:"Pressione seta para cima / seta para baixo para navegar, enter para selecionar, digite para filtrar resultados",entryHeading:"TÃtulo",entryOperation:"Operação",entryTag:"Tag",entryTagGroup:"Grupo de Tags",entryWebhook:"Webhook"},navigation:{introduction:"Introdução",closeGroup:"Fechar Grupo",closeMenu:"Fechar Menu",openGroup:"Abrir Grupo",openMenu:"Abrir Menu",operations:"Operações",endpoints:"Endpoints de {name}",showAllEndpoints:"Mostrar todos os endpoints de {name}",sidebarFor:"Barra lateral de {name}",mainContent:"Documentação da API para {name}",collapsed:"Recolhido",webhooks:"Webhooks",channels:"Canais"},server:{label:"Servidor",select:"Selecione um servidor"},info:{termsOfService:"Termos de Serviço"},asyncapi:{servers:"Servidores",protocols:"Protocolos"},clientLibraries:{heading:"Bibliotecas Cliente",more:"Mais",selectAll:"Selecionar de todos os clientes"},operation:{body:"Corpo",cookies:"Cookies",headers:"Cabeçalhos",pathParameters:"Parâmetros de Caminho",queryParameters:"Parâmetros de Consulta",requestBody:"Corpo da Requisição",responses:"Respostas",testRequest:"Testar Requisição",webhook:"Webhook",selectedContentType:"Tipo de Conteúdo Selecionado",hideHeaders:"Ocultar Cabeçalhos",showHeaders:"Mostrar Cabeçalhos",callbacks:"Callbacks"},response:{exampleResponses:"Exemplos de Respostas",noBody:"Sem Corpo",showSchema:"Mostrar Schema",status:"Status"},schema:{example:"Exemplo",examples:"Exemplos",default:"Padrão",schema:"Schema",emptyObject:"Objeto vazio",showAdditionalProperties:"Mostrar propriedades adicionais",childAttributes:"Atributos Filhos",hideChildAttributes:"Ocultar {name}",showChildAttributes:"Mostrar {name}",forName:"para {name}
2",showSchemaDetails:"Mostrar Detalhes do Schema",oneOf:"Um de",anyOf:"Qualquer um de",allOf:"Todos de",not:"Não",unknownType:"tipo desconhecido"},download:{openapi:"Baixar Documento OpenAPI",asyncapi:"Baixar Documento AsyncAPI"},models:{label:"Modelos"},actions:{copyLink:"Copiar link",copyLinkTo:"Copiar link para {name}",copyToClipboard:"Copiar link para a área de transferência",copyEndpointUrl:"Copiar URL do endpoint",showMore:"Mostrar Mais"},agent:{askAi:"Perguntar à IA",askAiAgent:"Perguntar ao Agente de IA",close:"Fechar Cliente"},mcp:{generate:"Gerar MCP",connect:"Conectar MCP"},developerTools:{title:"Ferramentas de Desenvolvedor",configure:"Configurar",share:"Compartilhar",deploy:"Implantar",scalarConfiguration:"Configuração do Scalar",theme:"Tema",layout:"Layout",layoutOptions:"Opções de Layout",intro:"As ferramentas de desenvolvedor permitem personalizar a aparência e o comportamento da sua documentação. Você também pode compartilhar sua documentação usando o Scalar Registry.",disableToolbarBefore:"Para desativar a barra de ferramentas, defina",disableToolbarAfter:"na sua configuração.",localhostOnly:"As ferramentas de desenvolvedor só aparecerão ao rodar em localhost.",layoutModern:"Moderno",layoutClassic:"Clássico",showSidebar:"Mostrar Barra Lateral",defaultOpenFirstTag:"Abrir Primeira Tag por Padrão",defaultOpenAllTags:"Abrir Todas as Tags por Padrão",expandAll:"Expandir Todos {label}",expandAllResponses:"Expandir Todas as Respostas",hideClientButton:"Ocultar Botão do Cliente",hideDarkModeToggle:"Ocultar Alternador de Modo Escuro",hideModels:"Ocultar {label}",hideSearch:"Ocultar Busca",showOperationId:"Mostrar ID da Operação",hideTestRequestButton:"Ocultar Botão de Testar Requisição",scalarDocs:"Documentação do Scalar",deployDescription:"Implante sua documentação no Scalar, a plataforma de documentação moderna para sua API e tudo mais.",shareTitle:"Compartilhe sua Referência de API",shareDescription:"Envie seu documento OpenAPI para compartilhar sua Referência de API com outras pessoas. Tão fácil quanto apertar um botão.",uploadDocument:"Enviar Documento",temporaryLinkExpiration:"Seu documento será excluÃdo automaticamente após 7 dias.",deployOnScalar:"Implantar no Scalar",deployFree:"Implante sua documentação gratuitamente.",additionalFeaturesMightRequire:"Recursos adicionais podem exigir",generate:"Gerar",passwordProtection:"Proteção por Senha",customDomains:"DomÃnios Personalizados",freeFormContent:"Conteúdo de formato livre",cdnInfrastructure:"Infraestrutura de CDN",pullFromGitHub:"Importar do GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Linting com Spectral",jsonSchemaHosting:"Hospedagem de JSON Schema",askAi:"Perguntar à IA",mcpServers:"Servidores MCP",unableToExportDocument:"Não foi possÃvel exportar o documento ativo",unknownError:"Ocorreu um erro desconhecido"},gettingStarted:{swaggerEditor:"Editor Swagger",description:"Bem-vindo à s Referências de API Scalar + Editor Swagger, uma ferramenta gratuita e de código aberto que transforma seu arquivo Swagger/OAS em belas referências de API.",showExample:"Mostrar Exemplo",uploadFile:"Enviar Arquivo",integrations:"INTEGRAÃÃES",theming:"TEMAS",features:"Recursos",customize:"Personalizar",customizeDescription:"Traga sua tipografia e paletas de cores, ou use nossos temas!",testing:"Testes",testingDescription:"Um Cliente de API REST profundamente integrado (Também gratuito e de código aberto)",search:"Busca",searchDescription:"Busca totalmente integrada (usando fuse.js)",hosting:"Hospedagem",hostingDescription:"Hospedagem gratuita de subdomÃnio em https://apidocumentation.com",openApiSwagger:"OpenAPI e Swagger",openApiSwaggerDescription:"Suporte para OpenAPI 3.1, OpenAPI 3.0 e Swagger 2.0",codeSamples:"Exemplos de Código",codeSamplesDescription:"Exemplos de código para mostrar sua API nas linguagens mais populares"},footer:{poweredByScalar:"Desenvolvido com Scalar"},authentication:{title:"Autenticação",accepts:"Aceita",allOf:"todos de:",authentication:"autenticação",optional:"Autenticação Opcional",oneOf:"um de:",required:"Autenticação Obrigatória",requires:"Requer",scopes:"Escopos OAuth"}},lW={common:{additionalProperties:"дополниÑелÑнÑе ÑвойÑÑва",const:"конÑÑанÑа",deprecated:"ÑÑÑаÑело",description:"ÐпиÑание",discriminator:"ÐиÑкÑиминаÑоÑ",enum:"enum",format:"ФоÑмаÑ",greaterThan:"болÑÑе Ñем",httpMethod:"HTTP-меÑод",keys:"клÑÑи",lessThan:"менÑÑе Ñем",max:"макÑ.",min:"мин.",maxLength:"макÑ. длина",minLength:"мин. длина",multipleOf:"кÑаÑно",nullable:"Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ null",path:"ÐÑÑÑ",propertyNames:"имена ÑвойÑÑв",pattern:"Шаблон",copyPattern:"СкопиÑоваÑÑ Ñаблон",readOnly:"ÑолÑко ÑÑение",required:"обÑзаÑелÑно",hideValues:"СкÑÑÑÑ Ð·Ð½Ð°ÑениÑ",showAllValues:"ÐоказаÑÑ Ð²Ñе знаÑениÑ",type:"Тип",unique:"ÑникалÑно",values:"знаÑениÑ",writeOnly:"ÑолÑко запиÑÑ"}
2,search:{label:"ÐоиÑк",inputLabel:"ÐведиÑе поиÑковÑй запÑоÑ",open:"ÐÑкÑÑÑÑ Ð¿Ð¾Ð¸Ñк",placeholder:"ÐоиÑк...",clear:"ÐÑиÑÑиÑÑ Ð¿Ð¾Ð¸Ñк",keyboardShortcut:"СоÑеÑание клавиÑ:",command:"Command",control:"Control",results:"РезÑлÑÑаÑÑ Ð¿Ð¾Ð¸Ñка по докÑменÑаÑии",navigate:"ÐавигаÑиÑ",select:"ÐÑбÑаÑÑ",instructions:"ÐажмиÑе ÑÑÑÐµÐ»ÐºÑ Ð²Ð²ÐµÑÑ
или вниз Ð´Ð»Ñ Ð½Ð°Ð²Ð¸Ð³Ð°Ñии, Enter Ð´Ð»Ñ Ð²ÑбоÑа, вводиÑе ÑекÑÑ Ð´Ð»Ñ ÑилÑÑÑаÑии ÑезÑлÑÑаÑов",entryHeading:"Ðаголовок",entryOperation:"ÐпеÑаÑиÑ",entryTag:"Тег",entryTagGroup:"ÐÑÑппа Ñегов",entryWebhook:"ÐебÑ
Ñк"},navigation:{introduction:"Ðведение",closeGroup:"ÐакÑÑÑÑ Ð³ÑÑппÑ",closeMenu:"ÐакÑÑÑÑ Ð¼ÐµÐ½Ñ",openGroup:"ÐÑкÑÑÑÑ Ð³ÑÑппÑ",openMenu:"ÐÑкÑÑÑÑ Ð¼ÐµÐ½Ñ",operations:"ÐпеÑаÑии",endpoints:"ÐндпоинÑÑ {name}",showAllEndpoints:"ÐоказаÑÑ Ð²Ñе ÑндпоинÑÑ {name}",sidebarFor:"ÐÐ¾ÐºÐ¾Ð²Ð°Ñ Ð¿Ð°Ð½ÐµÐ»Ñ Ð´Ð»Ñ {name}",mainContent:"ÐокÑменÑаÑÐ¸Ñ API Ð´Ð»Ñ {name}",collapsed:"СвеÑнÑÑо",webhooks:"ÐебÑ
Ñки",channels:"ÐаналÑ"},server:{label:"СеÑвеÑ",select:"ÐÑбеÑиÑе ÑеÑвеÑ"},info:{termsOfService:"УÑÐ»Ð¾Ð²Ð¸Ñ Ð¸ÑполÑзованиÑ"},asyncapi:{servers:"СеÑвеÑÑ",protocols:"ÐÑоÑоколÑ"},clientLibraries:{heading:"ÐлиенÑÑкие библиоÑеки",more:"ÐÑÑ",selectAll:"ÐÑбÑаÑÑ Ð¸Ð· вÑеÑ
клиенÑов"},operation:{body:"Тело",cookies:"Cookie",headers:"Ðаголовки",pathParameters:"ÐаÑамеÑÑÑ Ð¿ÑÑи",queryParameters:"Query-паÑамеÑÑÑ",requestBody:"Тело запÑоÑа",responses:"ÐÑвеÑÑ",testRequest:"ÐÑовеÑиÑÑ Ð·Ð°Ð¿ÑоÑ",webhook:"ÐебÑ
Ñк",selectedContentType:"ÐÑбÑаннÑй Ñип ÑодеÑжимого",hideHeaders:"СкÑÑÑÑ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¸",showHeaders:"ÐоказаÑÑ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¸",callbacks:"ÐбÑаÑнÑе вÑзовÑ"},response:{exampleResponses:"ÐÑимеÑÑ Ð¾ÑвеÑов",noBody:"ÐÐµÑ Ñела",showSchema:"ÐоказаÑÑ ÑÑ
емÑ",status:"СÑаÑÑÑ"},schema:{example:"ÐÑимеÑ",examples:"ÐÑимеÑÑ",default:"ÐнаÑение по ÑмолÑаниÑ",schema:"СÑ
ема",emptyObject:"ÐÑÑÑой обÑекÑ",showAdditionalProperties:"ÐоказаÑÑ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸ÑелÑнÑе ÑвойÑÑва",childAttributes:"ÐоÑеÑние аÑÑибÑÑÑ",hideChildAttributes:"СкÑÑÑÑ {name}",showChildAttributes:"ÐоказаÑÑ {name}",forName:"Ð´Ð»Ñ {name}",showSchemaDetails:"ÐоказаÑÑ Ð´ÐµÑали ÑÑ
емÑ",oneOf:"Ðдин из",anyOf:"ÐÑбой из",allOf:"ÐÑе из",not:"Ðе",unknownType:"неизвеÑÑнÑй Ñип"},download:{openapi:"СкаÑаÑÑ OpenAPI-докÑменÑ",asyncapi:"СкаÑаÑÑ AsyncAPI-докÑменÑ"},models:{label:"Ðодели"},actions:{copyLink:"СкопиÑоваÑÑ ÑÑÑлкÑ",copyLinkTo:"СкопиÑоваÑÑ ÑÑÑÐ»ÐºÑ Ð½Ð° {name}",copyToClipboard:"СкопиÑоваÑÑ ÑÑÑÐ»ÐºÑ Ð² бÑÑÐµÑ Ð¾Ð±Ð¼ÐµÐ½Ð°",copyEndpointUrl:"СкопиÑоваÑÑ URL endpoint-а",showMore:"ÐоказаÑÑ ÐµÑÑ"},agent:{askAi:"СпÑоÑиÑÑ AI",askAiAgent:"СпÑоÑиÑÑ AI-агенÑа",close:"ÐакÑÑÑÑ ÐºÐ»Ð¸ÐµÐ½Ñ"},mcp:{generate:"СоздаÑÑ MCP",connect:"ÐодклÑÑиÑÑ MCP"},developerTools:{title:"ÐнÑÑÑÑменÑÑ ÑазÑабоÑÑика",configure:"ÐаÑÑÑоиÑÑ",share:"ÐоделиÑÑÑÑ",deploy:"ÐпÑбликоваÑÑ",scalarConfiguration:"ÐонÑигÑÑаÑÐ¸Ñ Scalar",theme:"Тема",layout:"ÐакеÑ",layoutOptions:"ÐаÑамеÑÑÑ Ð¼Ð°ÐºÐµÑа",intro:"ÐнÑÑÑÑменÑÑ ÑазÑабоÑÑика позволÑÑÑ Ð½Ð°ÑÑÑоиÑÑ Ð²Ð½ÐµÑний вид и поведение докÑменÑаÑии. Также можно поделиÑÑÑÑ Ð´Ð¾ÐºÑменÑаÑией ÑеÑез Scalar Registry.",disableToolbarBefore:"ЧÑÐ¾Ð±Ñ Ð¾ÑклÑÑиÑÑ Ð¿Ð°Ð½ÐµÐ»Ñ, ÑÑÑановиÑе",disableToolbarAfter:"в конÑигÑÑаÑии.",localhostOnly:"ÐнÑÑÑÑменÑÑ ÑазÑабоÑÑика оÑобÑажаÑÑÑÑ ÑолÑко пÑи запÑÑке на localhost.",layoutModern:"СовÑеменнÑй",layoutClassic:"ÐлаÑÑиÑеÑкий",showSidebar:"ÐоказаÑÑ Ð±Ð¾ÐºÐ¾Ð²ÑÑ Ð¿Ð°Ð½ÐµÐ»Ñ",defaultOpenFirstTag:"ÐÑкÑÑваÑÑ Ð¿ÐµÑвÑй Ñег по ÑмолÑаниÑ",defaultOpenAllTags:"ÐÑкÑÑваÑÑ Ð²Ñе Ñеги по ÑмолÑаниÑ",expandAll:"РазвеÑнÑÑÑ Ð²Ñе {label}",expandAllResponses:"РазвеÑнÑÑÑ Ð²Ñе оÑвеÑÑ",hideClientButton:"СкÑÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ ÐºÐ»Ð¸ÐµÐ½Ñа",hideDarkModeToggle:"СкÑÑÑÑ Ð¿ÐµÑеклÑÑаÑÐµÐ»Ñ ÑÑмной ÑемÑ",hideModels:"СкÑÑÑÑ {label}",hideSearch:"СкÑÑÑÑ Ð¿Ð¾Ð¸Ñк",showOperationId:"ÐоказаÑÑ ID опеÑаÑии",hideTestRequestButton:"СкÑÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ ÑеÑÑового запÑоÑа",scalarDocs:"Scalar Docs",deployDescription:"ÐпÑбликÑйÑе док
2ÑменÑаÑÐ¸Ñ Ð½Ð° Scalar â ÑовÑеменной плаÑÑоÑме докÑменÑаÑии Ð´Ð»Ñ Ð²Ð°Ñего API и не ÑолÑко.",shareTitle:"ÐоделиÑÑÑÑ API Reference",shareDescription:"ÐагÑÑзиÑе докÑÐ¼ÐµÐ½Ñ OpenAPI, ÑÑÐ¾Ð±Ñ Ð¿Ð¾Ð´ÐµÐ»Ð¸ÑÑÑÑ API Reference Ñ Ð´ÑÑгими. Так же пÑоÑÑо, как нажаÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ.",uploadDocument:"ÐагÑÑзиÑÑ Ð´Ð¾ÐºÑменÑ",temporaryLinkExpiration:"ÐокÑÐ¼ÐµÐ½Ñ Ð±ÑÐ´ÐµÑ Ð°Ð²ÑомаÑиÑеÑки ÑдалÑн ÑеÑез 7 дней.",deployOnScalar:"ÐпÑбликоваÑÑ Ð½Ð° Scalar",deployFree:"ÐпÑбликÑйÑе докÑменÑаÑÐ¸Ñ Ð±ÐµÑплаÑно.",additionalFeaturesMightRequire:"ÐÐ»Ñ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸ÑелÑнÑÑ
возможноÑÑей Ð¼Ð¾Ð¶ÐµÑ Ð¿Ð¾ÑÑебоваÑÑÑÑ",generate:"СоздаÑÑ",passwordProtection:"ÐаÑиÑа паÑолем",customDomains:"ÐолÑзоваÑелÑÑкие доменÑ",freeFormContent:"ÐÑоизволÑнÑй конÑенÑ",cdnInfrastructure:"CDN-инÑÑаÑÑÑÑкÑÑÑа",pullFromGitHub:"ÐагÑÑзка из GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"ÐинÑинг Spectral",jsonSchemaHosting:"ХоÑÑинг JSON Schema",askAi:"СпÑоÑиÑÑ AI",mcpServers:"MCP-ÑеÑвеÑÑ",unableToExportDocument:"Ðе ÑдалоÑÑ ÑкÑпоÑÑиÑоваÑÑ Ð°ÐºÑивнÑй докÑменÑ",unknownError:"ÐÑоизоÑла неизвеÑÑÐ½Ð°Ñ Ð¾Ñибка"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"ÐобÑо пожаловаÑÑ Ð² Scalar API References + Swagger Editor â беÑплаÑнÑй инÑÑÑÑÐ¼ÐµÐ½Ñ Ñ Ð¾ÑкÑÑÑÑм иÑÑ
однÑм кодом, коÑоÑÑй пÑÐ¸Ð½Ð¸Ð¼Ð°ÐµÑ Ñайл Swagger/OAS и ÑоздаÑÑ ÐºÑаÑивÑе API Reference.",showExample:"ÐоказаÑÑ Ð¿ÑимеÑ",uploadFile:"ÐагÑÑзиÑÑ Ñайл",integrations:"ÐÐТÐÐÐ ÐЦÐÐ",theming:"ТÐÐЫ",features:"ÐозможноÑÑи",customize:"ÐаÑÑÑойка",customizeDescription:"ÐÑполÑзÑйÑе ÑÐ²Ð¾Ñ ÑипогÑаÑÐ¸ÐºÑ Ð¸ ÑвеÑовÑе палиÑÑÑ Ð¸Ð»Ð¸ наÑи ÑемÑ!",testing:"ТеÑÑиÑование",testingDescription:"ÐлÑбоко инÑегÑиÑованнÑй REST API Client (Ñоже беÑплаÑнÑй и Ñ Ð¾ÑкÑÑÑÑм иÑÑ
однÑм кодом)",search:"ÐоиÑк",searchDescription:"ÐолноÑÑÑÑ Ð¸Ð½ÑегÑиÑованнÑй поиÑк (Ñ Ð¸ÑполÑзованием fuse.js)",hosting:"ХоÑÑинг",hostingDescription:"ÐеÑплаÑнÑй Ñ
оÑÑинг на поддомене https://apidocumentation.com",openApiSwagger:"OpenAPI и Swagger",openApiSwaggerDescription:"ÐоддеÑжка OpenAPI 3.1, OpenAPI 3.0 и Swagger 2.0",codeSamples:"ÐÑимеÑÑ ÐºÐ¾Ð´Ð°",codeSamplesDescription:"ÐÑимеÑÑ ÐºÐ¾Ð´Ð° Ð´Ð»Ñ Ð´ÐµÐ¼Ð¾Ð½ÑÑÑаÑии ваÑего API на ÑамÑÑ
попÑлÑÑнÑÑ
ÑзÑкаÑ
"},footer:{poweredByScalar:"РабоÑÐ°ÐµÑ Ð½Ð° Scalar"},authentication:{title:"ÐÑÑенÑиÑикаÑиÑ",accepts:"ÐÑинимаеÑ",allOf:"вÑе из:",authentication:"аÑÑенÑиÑикаÑиÑ",optional:"ÐÑÑенÑиÑикаÑÐ¸Ñ Ð½ÐµÐ¾Ð±ÑзаÑелÑна",oneOf:"одно из:",required:"ТÑебÑеÑÑÑ Ð°ÑÑенÑиÑикаÑиÑ",requires:"ТÑебÑеÑÑÑ",scopes:"ÐблаÑÑи OAuth"}},cW={common:{additionalProperties:"éå 屿§",const:"常é",deprecated:"å·²å¼ç¨",description:"æè¿°",discriminator:"é´å«å¨",enum:"æä¸¾",format:"æ ¼å¼",greaterThan:"大äº",httpMethod:"HTTP æ¹æ³",keys:"é®",lessThan:"å°äº",max:"æå¤§å¼",min:"æå°å¼",maxLength:"æå¤§é¿åº¦",minLength:"æå°é¿åº¦",multipleOf:"åæ°",nullable:"å¯ä¸º null",path:"è·¯å¾",propertyNames:"屿§åç§°",pattern:"模å¼",copyPattern:"å¤å¶æ¨¡å¼",readOnly:"åªè¯»",required:"å¿
å¡«",hideValues:"éèå¼",showAllValues:"æ¾ç¤ºææå¼",type:"ç±»å",unique:"å¯ä¸",values:"å¼",writeOnly:"åªå"},search:{label:"æç´¢",inputLabel:"è¾å
¥æç´¢æ¥è¯¢",open:"æå¼æç´¢",placeholder:"æç´¢...",clear:"æ¸
é¤æç´¢",keyboardShortcut:"é®çå¿«æ·é®ï¼",command:"Command é®",control:"Control é®",results:"åèææ¡£æç´¢ç»æ",navigate:"导èª",select:"éæ©",instructions:"æä¸/ä¸ç®å¤´å¯¼èªï¼æ Enter éæ©ï¼è¾å
¥å
容çéç»æ",entryHeading:"æ é¢",entryOperation:"æä½",entryTag:"æ ç¾",entryTagGroup:"æ ç¾ç»",entryWebhook:"Webhook"},navigation:{introduction:"ç®ä»",closeGroup:"å
³éåç»",closeMenu:"å
³éèå",openGroup:"æå¼åç»",openMenu:"æå¼èå",operations:"æä½",endpoints:"{name} 端ç¹",showAllEndpoints:"æ¾ç¤º {name} çææç«¯ç¹",sidebarFor:"{name} çä¾§è¾¹æ ",mainContent:"{name} ç API ææ¡£",collapsed:"å·²æå ",webhooks:"Webhooks",channels:"é¢é"},server:{label:"æå¡å¨",select:"éæ©æå¡å¨"},info:{termsOfService:"æå¡æ¡æ¬¾"},asyncapi:{servers:"æå¡å¨",protocols:"åè®®"},clientLibraries:{heading:"客æ·ç«¯åº",more:"æ´å¤",selectAll:"仿æå®¢æ·ç«¯ä¸éæ©"},operation:{body:"请æ±ä½",cookies:"Cookie",headers:"请æ±å¤´",pathParameters:"è·¯å¾åæ°",queryParameters:"æ¥è¯¢åæ°",requestBody:"请æ±ä½",responses:"ååº",testRequest:"æµè¯è¯·æ±",webhook:"Webhook",selectedContentType:"å·²éå
容类å",hideHeaders:"éèæ å¤´",showHeaders:"æ¾ç¤ºæ 头",callbacks:"åè°"},response:{exampleResponses:"ååºç¤ºä¾",noBody:"æ å
容",showSchema:"æ¾ç¤º Schema",status:"ç¶æ"},schema:{example:"示ä¾",examples:"示ä¾",default:"é»è®¤å¼",schema:"æ¶æ",emptyObject:"空对象",showAdditionalProperties:"æ¾ç¤ºéå 屿§",childAttributes:"å屿§",hideChildAttributes:"éè {name}",showChildAttributes:"æ¾ç¤º {name}",forName:"å¯¹äº {name}
2",showSchemaDetails:"æ¾ç¤ºæ¶æè¯¦æ
",oneOf:"å
¶ä¸ä¸ä¸ª",anyOf:"ä»»æä¸ä¸ª",allOf:"å
¨é¨",not:"é",unknownType:"æªç¥ç±»å"},download:{openapi:"ä¸è½½ OpenAPI ææ¡£",asyncapi:"ä¸è½½ AsyncAPI ææ¡£"},models:{label:"模å"},actions:{copyLink:"å¤å¶é¾æ¥",copyLinkTo:"å¤å¶æå {name} ç龿¥",copyToClipboard:"å¤å¶é¾æ¥å°åªè´´æ¿",copyEndpointUrl:"å¤å¶ç«¯ç¹ URL",showMore:"æ¾ç¤ºæ´å¤"},agent:{askAi:"è¯¢é® AI",askAiAgent:"è¯¢é® AI 婿",close:"å
³é客æ·ç«¯"},mcp:{generate:"çæ MCP",connect:"è¿æ¥ MCP"},developerTools:{title:"å¼åè
å·¥å
·",configure:"é
ç½®",share:"å享",deploy:"é¨ç½²",scalarConfiguration:"Scalar é
ç½®",theme:"主é¢",layout:"å¸å±",layoutOptions:"å¸å±é项",intro:"å¼åè
å·¥å
·å¯ç¨äºèªå®ä¹ææ¡£çå¤è§åè¡ä¸ºãä½ ä¹å¯ä»¥éè¿ Scalar Registry åäº«ææ¡£ã",disableToolbarBefore:"è¦ç¦ç¨å·¥å
·æ ï¼è¯·å¨é
ç½®ä¸è®¾ç½®",disableToolbarAfter:"ã",localhostOnly:"å¼åè
å·¥å
·åªä¼å¨ localhost ä¸è¿è¡æ¶æ¾ç¤ºã",layoutModern:"ç°ä»£",layoutClassic:"ç»å
¸",showSidebar:"æ¾ç¤ºä¾§è¾¹æ ",defaultOpenFirstTag:"é»è®¤æå¼ç¬¬ä¸ä¸ªæ ç¾",defaultOpenAllTags:"é»è®¤æå¼æææ ç¾",expandAll:"å±å¼ææ {label}",expandAllResponses:"å±å¼ææååº",hideClientButton:"éè客æ·ç«¯æé®",hideDarkModeToggle:"éèæ·±è²æ¨¡å¼å¼å
³",hideModels:"éè {label}",hideSearch:"éèæç´¢",showOperationId:"æ¾ç¤ºæä½ ID",hideTestRequestButton:"éèæµè¯è¯·æ±æé®",scalarDocs:"Scalar Docs",deployDescription:"å°ä½ çææ¡£é¨ç½²å° Scalarï¼è¿æ¯éç¨äº API çå
容çç°ä»£ææ¡£å¹³å°ã",shareTitle:"åäº«ä½ ç API Reference",shareDescription:"ä¸ä¼ OpenAPI ææ¡£ï¼ä¸å
¶ä»äººåäº«ä½ ç API Referenceãåªéç¹å»æé®å³å¯ã",uploadDocument:"ä¸ä¼ ææ¡£",temporaryLinkExpiration:"ä½ çææ¡£å°å¨ 7 天åèªå¨å é¤ã",deployOnScalar:"é¨ç½²å° Scalar",deployFree:"å
è´¹é¨ç½²ä½ çææ¡£ã",additionalFeaturesMightRequire:"å
¶ä»åè½å¯è½éè¦",generate:"çæ",passwordProtection:"å¯ç ä¿æ¤",customDomains:"èªå®ä¹åå",freeFormContent:"èªç±å
容",cdnInfrastructure:"CDN åºç¡è®¾æ½",pullFromGitHub:"ä» GitHub æå",markdownMdx:"Markdown/MDX",spectralLinting:"Spectral Linting",jsonSchemaHosting:"JSON Schema æç®¡",askAi:"è¯¢é® AI",mcpServers:"MCP æå¡å¨",unableToExportDocument:"æ æ³å¯¼åºå½åææ¡£",unknownError:"åçæªç¥é误"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"欢è¿ä½¿ç¨ Scalar API References + Swagger Editorï¼è¿æ¯ä¸æ¬¾å
è´¹å¼æºå·¥å
·ï¼å¯å°ä½ ç Swagger/OAS æä»¶çæç²¾ç¾ç API Referencesã",showExample:"æ¾ç¤ºç¤ºä¾",uploadFile:"ä¸ä¼ æä»¶",integrations:"éæ",theming:"主é¢",features:"åè½",customize:"èªå®ä¹",customizeDescription:"使ç¨ä½ çæçåè°è²æ¿ï¼æä½¿ç¨æä»¬ç主é¢ï¼",testing:"æµè¯",testingDescription:"深度éæç REST API Clientï¼åæ ·å
è´¹ä¸å¼æºï¼",search:"æç´¢",searchDescription:"宿´éæçæç´¢ï¼ä½¿ç¨ fuse.jsï¼",hosting:"æç®¡",hostingDescription:"å¨ https://apidocumentation.com ä¸å
è´¹æç®¡ååå",openApiSwagger:"OpenAPI å Swagger",openApiSwaggerDescription:"æ¯æ OpenAPI 3.1ãOpenAPI 3.0 å Swagger 2.0",codeSamples:"代ç 示ä¾",codeSamplesDescription:"ç¨ææµè¡è¯è¨å±ç¤ºä½ ç API ç代ç 示ä¾"},footer:{poweredByScalar:"ç± Scalar æä¾æ¯æ"},authentication:{title:"身份éªè¯",accepts:"æ¥å",allOf:"å
¨é¨ï¼",authentication:"身份认è¯",optional:"身份认è¯å¯é",oneOf:"å
¶ä¸ä¹ä¸ï¼",required:"éè¦èº«ä»½è®¤è¯",requires:"éè¦",scopes:"OAuth ä½ç¨å"}},Yg={en:aW,ru:lW,es:iW,fr:oW,de:rW,"zh-CN":cW,ar:nW,pt:sW},uW=new Set(["ar","fa","he","ur"]);const vS=(e,t)=>{if(!t||!Ge(t))return{...e};const n={...e};for(const[r,a]of Object.entries(t)){if(a===void 0)continue;const i=n[r];n[r]=Ge(i)&&Ge(a)?vS(i,a):a}return n};var F9=Symbol("LOCALIZATION"),dW=e=>{if(!e)return"en";if(e in Yg)return e;const t=e.replace("_","-").toLowerCase();if(t.startsWith("zh"))return"zh-CN";const n=t.split("-")[0];return Object.keys(Yg).find(r=>r.toLowerCase()===n)??"en"},fW=e=>{if(e?.direction&&e.direction!=="auto")return e.direction;const t=(e?.locale??"en").replace("_","-").split("-")[0]?.toLowerCase();return t&&uW.has(t)?"rtl":"ltr"},z9=e=>{const t=e?.locale??"en",n=dW(t),r=vS(vS(Yg.en,Yg[n]),e?.translations);return{locale:t,direction:fW(e),translations:r}},pW=(e,t)=>
2t.split(".").reduce((n,r)=>{if(Ge(n))return n[r]},e),hW=(e,t,n)=>{const r=pW(e,t),a=typeof r=="string"?r:t;return n?Object.entries(n).reduce((i,[o,s])=>i.replaceAll(`{${o}}`,String(s)),a):a},V9=e=>{const t=I(()=>z9(pt(e)));return{locale:I(()=>t.value.locale),direction:I(()=>t.value.direction),translations:I(()=>t.value.translations),translate:(n,r)=>hW(t.value.translations,n,r)}},mW=e=>{const t=V9(e);return In(F9,t),t},Ot=()=>Rn(F9,V9(void 0));function Hc(e){return Array.isArray?Array.isArray(e):q9(e)==="[object Array]"}function gW(e){if(typeof e=="string")return e;if(typeof e=="bigint")return e.toString();const t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function OS(e){return e==null?"":gW(e)}function Na(e){return typeof e=="string"}function yg(e){return typeof e=="number"}function bW(e){return e===!0||e===!1||yW(e)&&q9(e)=="[object Boolean]"}function H9(e){return typeof e=="object"}function yW(e){return H9(e)&&e!==null}function Di(e){return e!=null}function r1(e){return!e.trim().length}function q9(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const vW="Incorrect 'index' type",SS="Invalid doc index: must be a non-negative integer within the bounds of the docs array",OW=e=>`Invalid value for key ${e}`,SW=e=>`Pattern length exceeds max of ${e}.`,wW=e=>`Missing ${e} property in key`,xW=e=>`Property 'weight' in key '${e}' must be a positive integer`,kW="Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.",Sk=Object.prototype.hasOwnProperty;var AW=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(n=>{const r=Z9(n);this._keys.push(r),this._keyMap[r.id]=r,t+=r.weight}),this._keys.forEach(n=>{n.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function Z9(e){let t=null,n=null,r=null,a=1,i=null;if(Na(e)||Hc(e))r=e,t=wk(e),n=vg(e);else{if(!Sk.call(e,"name"))throw new Error(wW("name"));const o=e.name;if(r=o,Sk.call(e,"weight")&&e.weight!==void 0&&(a=e.weight,a<=0))throw new Error(xW(vg(o)));t=wk(o),n=vg(o),i=e.getFn??null}return{path:t,id:n,weight:a,src:r,getFn:i}}function wk(e){return Hc(e)?e:e.split(".")}function vg(e){return Hc(e)?e.join("."):e}function TW(e,t){const n=[];let r=!1;const a=(i,o,s,l)=>{if(Di(i))if(!o[s])n.push(l!==void 0?{v:i,i:l}:i);else{const c=i[o[s]];if(!Di(c))return;if(s===o.length-1&&(Na(c)||yg(c)||bW(c)||typeof c=="bigint"))n.push(l!==void 0?{v:OS(c),i:l}:OS(c));else if(Hc(c)){r=!0;for(let u=0,d=c.length;u<d;u+=1)a(c[u],o,s+1,u)}else o.length&&a(c,o,s+1,l)}};return a(e,Na(t)?t.split("."):t,0),r?n:n[0]}const EW={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},_W={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},CW={location:0,threshold:.6,distance:100},$W={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:"any",getFn:TW,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},Nt=Object.freeze({..._W,...EW,...CW,...$W});function PW(e){return e>=9&&e<=13||e===32||e===160}function IW(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(a){let i=0,o=!1;for(let l=0;l<a.length;l++)PW(a.charCodeAt(l))?o=!1:o||(i++,o=!0);if(i===0&&(i=1),n.has(i))return n.get(i);const s=Math.round(r/Math.pow(i,.5*e))/r;return n.set(i,s),s},clear(){n.clear()}}}var y8=class{constructor({getFn:e=Nt.getFn,fieldNormWeight:t=Nt.fieldNormWeight}={}){this.norm=IW(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((t,n)=>{this._keysMap[t.id]=n})}create(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;const e=this.docs.length;this.records=new Array(e);let t=0;if(Na(this.docs[0]))for(let n=0;n<e;n++){const r=this._createStringRecord(this.docs[n],n);r&&(this.records[t++]=r)}else for(let n=0;n<e;n++)this.records[t++]=this._createObjectRecord(this.docs[n],n);this.records.length=t,this.norm.clear()}add(e,t){if(!Number.isInteger(t)||t<0)throw new Error(SS);if(Na(e)){const r=this._createStringRecord(e,t);return r&&this.records.push(r),r}const n=this._createObjectRecord(e,t);return this.records.push(n),n}removeAt(e){if(!Number.isInteger(e)||e<0)throw new Error(SS);for(let t=0,n=this.records.length;t<n;t+=1)if(this.records[t].i===e){this.records.splice(t,1);break}for(let t=0,n=this.records.length;t<n;t+=1)this.records[t].i>e&&(this.records[t].i-=1)}removeAll(e){const t=new Set;for(const r of e)Number.isInteger(r)&&r>=0&&t.add(r);if(t.size===0)return;this.records=this.records.filter(r=>!t.has(r.i));const n=Array.from(t).sort((r,a)=>r-a);for(const r of this.records){let a=0,i=n.length;for(;a<i;){const o=a+i>>>1;n[o]<r.i?a=o+1:i=o}r.i-=a}}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_createStringRecord(e,t){return!Di(e)||r1(e)?null:{v:e,i:t,n:this.norm.get(e)}}_createObjectRecord(e,t){const n={i:t,$:{}};for(let r=0,a=this.keys.length;r<a;r++){const i=this.keys[r],o=i.getFn?i.getFn(e):this.getFn(e,i.path);if(Di(o)){if(Hc(o)){const s=[];for(let l=0,c=o.length;l<c;l+=1){const u=o[l];if(Di(u)){if(Na(u)){if(!r1(u)){const d={v:u,i:l,n:this.norm.get(u)};s.push(d)}}else if(Di(u.v)){const d=Na(u.v)?u.v:OS(u.v);if(!r1(d)){const f={v:d,i:u.i,n:this.norm.get(d)};s.push(f)}}}}n.$[r]=s}else if(Na(o)&&!r1(o)){const s={v:o,n:this.norm.get(o)};n.$[r]=s}}}return n}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}};function X9(e,t,{getFn:n=Nt.getFn,fieldNormWeight:r=Nt.fieldNormWeight}={}){const a=new y8({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(Z9)),a.setSources(t),a.create(),a}function NW(e,{getFn:t=Nt.getFn,fieldNormWeight:n=Nt.fieldNormWeight}={}){const{keys:r,records:a}=e,i=new y8({getFn:t,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(a),i}function RW(e=[],t=Nt.minMatchCharLength){const n=[];let r=-1,a=-1,i=0;for(let o=e.length;i<o;i+=1){const s=e[i];s&&r===-1?r=i:!s&&r!==-1&&(a=i-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}function MW(e,t,n,{location:r=Nt.location,distance:a=Nt.distance,threshold:i=Nt.threshold,findAllMatches:o=Nt.findAllMatches,minMatchCharLength:s=Nt.minMatchCharLength,includeMatches:l=Nt.includeMatches,ignoreLocation:c=Nt.ignoreLocation}={}){if(t.length>32)throw new Error(SW(32));const u=t.length,d=e.length,f=Math.max(0,Math.min(r,d));let p=i,h=f;const b=(j,U)=>{const Y=j/u;if(c)return Y;const W=Math.abs(f-U);return a?Y+W/a:W?1:Y},y=s>1||l,O=y?Array(d):[];let A;for(;(A=e.indexOf(t,h))>-1;){const j=b(0,A);if(p=Math.min(j,p),h=A+u,y){let U=0;for(;U<u;)O[A+U]=1,U+=1}}h=-1;let x=[],T=1,E=0,C=u+d;const $=1<<u-1;for(let j=0;j<u;j+=1){let U=0,Y=C;for(;
vendor: 6,925 bytes, line 2
2U<Y;)b(j,f+Y)<=p?U=Y:C=Y,Y=Math.floor((C-U)/2+U);C=Y;let W=Math.max(1,f-Y+1);const pe=o?d:Math.min(f+Y,d)+u,ee=Array(pe+2);ee[pe+1]=(1<<j)-1;for(let ae=pe;ae>=W;ae-=1){const de=ae-1,ue=n[e[de]];if(ee[ae]=(ee[ae+1]<<1|1)&ue,j&&(ee[ae]|=(x[ae+1]|x[ae])<<1|1|x[ae+1]),ee[ae]&$&&(T=b(j,de),T<=p)){if(p=T,h=de,E=j,h<=f)break;W=Math.max(1,2*f-h)}}if(b(j+1,f)>p)break;x=ee}if(y&&h>=0){const j=Math.min(d-1,h+u-1+E);for(let U=h;U<=j;U+=1)n[e[U]]&&(O[U]=1)}const R={isMatch:h>=0,score:Math.max(.001,T)};if(y){const j=RW(O,s);j.length?l&&(R.indices=j):R.isMatch=!1}return R}function LW(e){const t={};for(let n=0,r=e.length;n<r;n+=1){const a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}return t}function v8(e){if(e.length<=1)return e;e.sort((n,r)=>n[0]-r[0]||n[1]-r[1]);const t=[e[0]];for(let n=1,r=e.length;n<r;n+=1){const a=t[t.length-1],i=e[n];i[0]<=a[1]+1?a[1]=Math.max(a[1],i[1]):t.push(i)}return t}const W9={Å:"l",Å:"L",Ä:"d",Ä:"D",ø:"o",Ã:"O",ħ:"h",Ħ:"H",ŧ:"t",Ŧ:"T",ı:"i",Ã:"ss"},DW=new RegExp("["+Object.keys(W9).join("")+"]","g"),hm=typeof String.prototype.normalize=="function"?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"").replace(DW,t=>W9[t]):e=>e;var O8=class{constructor(e,{location:t=Nt.location,threshold:n=Nt.threshold,distance:r=Nt.distance,includeMatches:a=Nt.includeMatches,findAllMatches:i=Nt.findAllMatches,minMatchCharLength:o=Nt.minMatchCharLength,isCaseSensitive:s=Nt.isCaseSensitive,ignoreDiacritics:l=Nt.ignoreDiacritics,ignoreLocation:c=Nt.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:i,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:l,ignoreLocation:c},e=s?e:e.toLowerCase(),e=l?hm(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const u=(f,p)=>{this.chunks.push({pattern:f,alphabet:LW(f),startIndex:p})},d=this.pattern.length;if(d>32){let f=0;const p=d%32,h=d-p;for(;f<h;)u(this.pattern.substr(f,32),f),f+=32;if(p){const b=d-32;u(this.pattern.substr(b),b)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?hm(e):e,this.pattern===e){if(e.length<this.options.minMatchCharLength)return{isMatch:!1,score:1};const h={isMatch:!0,score:0};return r&&(h.indices=[[0,e.length-1]]),h}const{location:a,distance:i,threshold:o,findAllMatches:s,minMatchCharLength:l,ignoreLocation:c}=this.options,u=[];let d=0,f=!1;this.chunks.forEach(({pattern:h,alphabet:b,startIndex:y})=>{const{isMatch:O,score:A,indices:x}=MW(e,h,b,{location:a+y,distance:i,threshold:o,findAllMatches:s,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});O&&(f=!0),d+=A,O&&x&&u.push(...x)});const p={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(p.indices=v8(u)),p}};const BW=new Set(["fuzzy","include"]);function UW(e){return e.startsWith("inverse")}const wS=[{type:"exact",multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:e=>({type:"exact",search(t){const n=t===e;return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}})},{type:"include",multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:e=>({type:"include",search(t){let n=0,r;const a=[],i=e.length;for(;(r=t.indexOf(e,n))>-1;)n=r+i,a.push([r,n-1]);const o=!!a.length;return{isMatch:o,score:o?0:1,indices:a}}})},{type:"prefix-exact",multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:e=>({type:"prefix-exact",search(t){const n=t.startsWith(e);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}})},{type:"inverse-prefix-exact",multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:e=>({type:"inverse-prefix-exact",search(t){const n=!t.startsWith(e);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}})},{type:"inverse-suffix-exact",multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:e=>({type:"inverse-suffix-exact",search(t){const n=!t.endsWith(e);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}})},{type:"suffix-exact",multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:e=>({type:"suffix-exact",search(t){const n=t.endsWith(e);return{isMatch:n,score:n?0:1,indices:[t.length-e.length,t.length-1]}}})},{type:"inverse-exact",multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:e=>({type:"inverse-exact",search(t){const n=t.indexOf(e)===-1;return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}})},{type:"fuzzy",multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(e,t={})=>{const n=new O8(e,{location:t.location??Nt.location,threshold:t.threshold??Nt.threshold,distance:t.distance??Nt.distance,includeMatches:t.includeMatches??Nt.includeMatches,findAllMatches:t.findAllMatches??Nt.findAllMatches,minMatchCharLength:t.minMatchCharLength??Nt.minMatchCharLength,isCaseSensitive:t.isCaseSensitive??Nt.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics??Nt.ignoreDiacritics,ignoreLocation:t.ignoreLocation??Nt.ignoreLocation});return{type:"fuzzy",search(r){return n.searchIn(r)}
2}}}],xk=wS.length,jW="\0",QW="|";function FW(e){const t=[],n=e.length;let r=0;for(;r<n;){for(;r<n&&e[r]===" ";)r++;if(r>=n)break;let a=r;for(;a<n&&e[a]!==" "&&e[a]!=='"';)a++;if(a<n&&e[a]==='"'){for(a++;a<n;){if(e[a]==='"'){const i=a+1;if(i>=n||e[i]===" "){a++;break}if(e[i]==="$"&&(i+1>=n||e[i+1]===" ")){a+=2;break}}a++}t.push(e.substring(r,a)),r=a}else{for(;a<n&&e[a]!==" ";)a++;t.push(e.substring(r,a)),r=a}}return t}function kk(e,t){const n=e.match(t);return n?n[1]:null}function zW(e,t={}){return e.replace(/\\\|/g,jW).split(QW).map(n=>{const r=FW(n.replace(/\u0000/g,"|").trim()).filter(i=>i&&!!i.trim()),a=[];for(let i=0,o=r.length;i<o;i+=1){const s=r[i];let l=!1,c=-1;for(;!l&&++c<xk;){const u=wS[c],d=kk(s,u.multiRegex);d&&(a.push(u.create(d,t)),l=!0)}if(!l)for(c=-1;++c<xk;){const u=wS[c],d=kk(s,u.singleRegex);if(d){a.push(u.create(d,t));break}}}return a})}var VW=class{constructor(e,{isCaseSensitive:t=Nt.isCaseSensitive,ignoreDiacritics:n=Nt.ignoreDiacritics,includeMatches:r=Nt.includeMatches,minMatchCharLength:a=Nt.minMatchCharLength,ignoreLocation:i=Nt.ignoreLocation,findAllMatches:o=Nt.findAllMatches,location:s=Nt.location,threshold:l=Nt.threshold,distance:c=Nt.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:a,findAllMatches:o,ignoreLocation:i,location:s,threshold:l,distance:c},e=t?e:e.toLowerCase(),e=n?hm(e):e,this.pattern=e,this.query=zW(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:a}=this.options;e=r?e:e.toLowerCase(),e=a?hm(e):e;let i=0;const o=[];let s=0,l=!1;for(let c=0,u=t.length;c<u;c+=1){const d=t[c];o.length=0,i=0,l=!1;for(let f=0,p=d.length;f<p;f+=1){const h=d[f],{isMatch:b,indices:y,score:O}=h.search(e);if(b)i+=1,s+=O,UW(h.type)&&(l=!0),n&&(BW.has(h.type)?o.push(...y):o.push(y));else{s=0,i=0,o.length=0,l=!1;break}}if(i){const f={isMatch:!0,score:s/i};return l&&(f.hasInverse=!0),n&&(f.indices=v8(o)),f}}return{isMatch:!1,score:1}}};const xS=[];function S8(...e){xS.push(...e)}function Gg(e,t){for(let n=0,r=xS.length;n<r;n+=1){const a=xS[n];if(a.condition(e,t))return new a(e,t)}return new O8(e,t)}const Kg={AND:"$and",OR:"$or"},kS={PATH:"$path",PATTERN:"$val"},AS=e=>!!(e[Kg.AND]||e[Kg.OR]),HW=e=>!!e[kS.PATH],qW=e=>!Hc(e)&&H9(e)&&!AS(e),Ak=e=>({[Kg.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Y9(e,t,{auto:n=!0}={}){const r=a=>{if(Na(a)){const l={keyId:null,pattern:a};return n&&(l.searcher=Gg(a,t)),l}const i=Object.keys(a),o=HW(a);if(!o&&i.length>1&&!AS(a))return r(Ak(a));if(qW(a)){const l=o?a[kS.PATH]:i[0],c=o?a[kS.PATTERN]:a[l];if(!Na(c))throw new Error(OW(l));const u={keyId:vg(l),pattern:c};return n&&(u.searcher=Gg(c,t)),u}const s={children:[],operator:i[0]};return i.forEach(l=>{const c=a[l];Hc(c)&&c.forEach(u=>
2{s.children.push(r(u))})}),s};return AS(e)||(e=Ak(e)),r(e)}function TS(e,{ignoreFieldNorm:t=Nt.ignoreFieldNorm}){let n=1;return e.forEach(({key:r,norm:a,score:i})=>{const o=r?r.weight:null;n*=Math.pow(i===0&&o?Number.EPSILON:i,(o||1)*(t?1:a))}),n}function ZW(e,{ignoreFieldNorm:t=Nt.ignoreFieldNorm}){e.forEach(n=>{n.score=TS(n.matches,{ignoreFieldNorm:t})})}var XW=class{constructor(e,t){this.limit=e,this.heap=[],this.comparator=t}get size(){return this.heap.length}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):this.comparator(e,this.heap[0])<0&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(){return this.heap.sort(this.comparator)}_bubbleUp(e){const t=this.heap;for(;e>0;){const n=e-1>>1;if(this.comparator(t[e],t[n])<=0)break;const r=t[e];t[e]=t[n],t[n]=r,e=n}}_sinkDown(e){const t=this.heap,n=t.length;let r=e;do{e=r;const a=2*e+1,i=2*e+2;if(a<n&&this.comparator(t[a],t[r])>0&&(r=a),i<n&&this.comparator(t[i],t[r])>0&&(r=i),r!==e){const o=t[e];t[e]=t[r],t[r]=o}}while(r!==e)}};function WW(e){const t=[];return e.matches.forEach(n=>{if(!Di(n.indices)||!n.indices.length)return;const r={indices:n.indices,value:n.value};n.key&&(r.key=n.key.id),n.idx>-1&&(r.refIndex=n.idx),t.push(r)}),t}function YW(e,t,{includeMatches:n=Nt.includeMatches,includeScore:r=Nt.includeScore}={}){return e.map(a=>{const{idx:i}=a,o={item:t[i],refIndex:i};return n&&(o.matches=WW(a)),r&&(o.score=a.score),o})}const GW=/[\p{L}\p{M}\p{N}_]+/gu,Tk=new WeakSet;function KW(e){Tk.has(e)||(Tk.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))}function JW(e){if(typeof e=="function"){let t=!1;return n=>{const r=e(n);if(!t&&(t=!0,!Array.isArray(r)||r.some(a=>typeof a!="string")))throw new Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(r)?"array containing non-strings":typeof r}.`);return r}}return e instanceof RegExp?(e.global||KW(e),t=>t.match(e)||[]):t=>t.match(GW)||[]}function ES({isCaseSensitive:e=!1,ignoreDiacritics:t=!1,tokenize:n}={}){const r=JW(n);return{tokenize(a){return e||(a=a.toLowerCase()),t&&(a=hm(a)),r(a)}}}var eY=class{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=ES({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,tokenize:t.tokenize});const n=this.analyzer.tokenize(e),{df:r,fieldCount:a}=t._invertedIndex;this.termSearchers=[],this.idfWeights=[];for(const i of n){this.termSearchers.push(new O8(i,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));const o=r.get(i)||0,s=Math.log(1+(a-o+.5)/(o+.5));this.idfWeights.push(s)}this.combineAll=t.tokenMatch==="all",this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};const t=[];let n=0,r=0,a=0,i=0;const o=this.combineAll&&!this.useMask?new Set:null;for(let c=0;c<this.termSearchers.length;c++){const u=this.termSearchers[c].searchIn(e),d=this.idfWeights[c];r+=d,u.isMatch&&(a++,n+=d*(1-u.score),u.indices&&t.push(...u.indices),this.combineAll&&(this.useMask?i|=1<<c:o.add(c)))}if(a===0)return{isMatch:!1,score:1};const s=r>0?1-n/r:0,l={isMatch:!0,score:Math.max(.001,s)};return this.options.includeMatches&&t.length&&(l.indices=v8(t)),this.combineAll&&(this.useMask?l.matchedMask=i:l.matchedTerms=o,l.termCount=this.numTerms),l}};function nO(e,t,n,r){const a=r.tokenize(t);if(!a.length)return;e.fieldCount++,e.docFieldCount.set(n,(e.docFieldCount.get(n)||0)+1);const i=new Set(a);let o=e.docTermFieldHits.get(n);o||(o=new Map,e.docTermFieldHits.set(n,o));for(const s of i)o.set(s,(o.get(s)||0)+1),e.df.set(s,(e.df.get(s)||0)+1)}function G9(e,t,n,r){const{i:a,v:i,$:o}=t;if(i!==void 0){nO(e,i,a,r);return}if(o)for(let s=0;s<n;s++){const l=o[s];if(l)if(Array.isArray(l))for(const c of l)nO(e,c.v,a,r);else nO(e,l.v,a,r)}}function tY(e,t,n){const r={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(const a of e)G9(r,a,t,n);return r}function nY(e,t,n,r){G9(e,t,n,r)}function rY(e,t){const n=e.docFieldCount.get(t);if(n===void 0)return;e.fieldCount-=n,e.docFieldCount.delete(t);const r=e.docTermFieldHits.get(t);if(r){for(const[a,i]of r){const o=(e.df.get(a)||0)-i;o<=0?e.df.delete(a):e.df.set(a,o)}e.docTermFieldHits.delete(t)}}function Ek(e,t){if(t.length===0)return;const n=Array.from(new Set(t)).sort((s,l)=>s-l);for(const s of n)rY(e,s);const r=s=>{let l=0,c=n.length;for(;l<c;){const u=l+c>>>1;n[u]<s?l=u+1:c=u}return s-l},a=n[0],i=new Map;for(const[s,l]of e.docFieldCount)i.set(s>a?r(s):s,l);e.docFieldCount=i;const o=new Map;for(const[s,l]of e.docTermFieldHits)o.set(s>a?r(s):s,l);e.docTermFieldHits=o}var qc=class{constructor(e,t,n){this.options={...Nt,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new AW(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,n),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;const t=Gg(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof y8))throw new Error(vW);if(this._myIndex=t||X9(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){const n=ES({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=tY(this._myIndex.records,this._myIndex.keys.length,n)}this._invalidateSearcherCache()}add(e){if(!Di(e))return;this._docs.push(e);const t=this._myIndex.add(e,this._docs.length-1);if(this._invertedIndex&&t){const n=ES({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});nY(this._invertedIndex,t,this._myIndex.keys.length,n)}this._invalidateSearcherCache()}remove(e=()=>!1){const t=[],n=[];for(let r=0,a=this._docs.length;r<a;r+=1)e(this._docs[r],r)&&(t.push(this._docs[r]),n.push(r));if(n.length){this._invertedIndex&&Ek(this._invertedIndex,n);const r=new Set(n);this._docs=this._docs.filter((a,i)=>!r.has(i)),this._myIndex.removeAll(n),this._invalidateSearcherCache()}return t}removeAt(e){if(!Number.isInteger(e)||e<0||e>=this._docs.length)throw new Error(SS);this._invertedIndex&&Ek(this._invertedIndex,[e]);const t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),this._invalidateSearcherCache(),t}
2_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}_normalizedKeys(){return this._myIndex.keys.map(e=>this._keyStore.get(e.id)||e)}search(e,t){const{limit:n=-1}=t||{},{includeMatches:r,includeScore:a,shouldSort:i,sortFn:o,ignoreFieldNorm:s}=this.options;if(Na(e)&&!e.trim()){let f=this._docs.map((p,h)=>({item:p,refIndex:h}));return yg(n)&&n>-1&&(f=f.slice(0,n)),f}const l=i&&yg(n)&&n>0&&Na(e),c=o,u=(f,p)=>c(f,p)||f.idx-p.idx;let d;if(l){const f=new XW(n,u);Na(this._docs[0])?this._searchStringList(e,{heap:f,ignoreFieldNorm:s}):this._searchObjectList(e,{heap:f,ignoreFieldNorm:s}),d=f.extractSorted()}else d=Na(e)?Na(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),ZW(d,{ignoreFieldNorm:s}),i&&d.sort(Na(e)?u:c),yg(n)&&n>-1&&(d=d.slice(0,n));return YW(d,this._docs,{includeMatches:r,includeScore:a})}_searchStringList(e,{heap:t,ignoreFieldNorm:n}={}){const r=this._getSearcher(e),a=this.options.useTokenSearch&&this.options.tokenMatch==="all",{records:i}=this._myIndex,o=t?null:[];return i.forEach(({v:s,i:l,n:c})=>{if(!Di(s))return;const u=r.searchIn(s);if(u.isMatch){const d={score:u.score,value:s,norm:c,indices:u.indices};a&&(d.matchedMask=u.matchedMask,d.matchedTerms=u.matchedTerms,d.termCount=u.termCount);const f=[d];if(!a||this._coversAllTokens(f)){const p={item:s,idx:l,matches:f};t?(p.score=TS(p.matches,{ignoreFieldNorm:n}),t.insert(p)):o.push(p)}}}),o}_searchLogical(e){const t=Y9(e,this.options),n=this._normalizedKeys(),r=(s,l,c)=>{if(!("children"in s)){const{keyId:p,searcher:h}=s;let b;return p===null?(b=[],n.forEach((y,O)=>{b.push(...this._findMatches({key:y,value:l[O],searcher:h}))})):b=this._findMatches({key:this._keyStore.get(p),value:this._myIndex.getValueForItemAtKeyId(l,p),searcher:h}),b&&b.length?[{idx:c,item:l,matches:b}]:[]}const{children:u,operator:d}=s,f=[];for(let p=0,h=u.length;p<h;p+=1){const b=u[p],y=r(b,l,c);if(y.length)f.push(...y);else if(d===Kg.AND)return[]}return f},a=this._myIndex.records,i=new Map,o=[];return a.forEach(({$:s,i:l})=>{if(Di(s)){const c=r(t,s,l);c.length&&(i.has(l)||(i.set(l,{idx:l,item:s,matches:[]}),o.push(i.get(l))),c.forEach(({matches:u})=>{i.get(l).matches.push(...u)}))}}),o}_searchObjectList(e,{heap:t,ignoreFieldNorm:n}={}){const r=this._getSearcher(e),a=this.options.useTokenSearch&&this.options.tokenMatch==="all",{records:i}=this._myIndex,o=this._normalizedKeys(),s=t?null:[];return i.forEach(({$:l,i:c})=>{if(!Di(l))return;const u=[];let d=!1,f=!1;if(o.forEach((p,h)=>{const b=this._findMatches({key:p,value:l[h],searcher:r});b.length?(u.push(...b),b[0].hasInverse&&(f=!0)):d=!0}),!(f&&d)&&u.length&&(!a||this._coversAllTokens(u))){const p={idx:c,item:l,matches:u};t?(p.score=TS(p.matches,{ignoreFieldNorm:n}),t.insert(p)):s.push(p)}}),s}_findMatches({key:e,value:t,searcher:n}){if(!Di(t))return[];const r=[];if(Hc(t))t.forEach(({v:a,i,n:o})=>{if(!Di(a))return;const s=n.searchIn(a);if(s.isMatch){const l={score:s.score,key:e,value:a,idx:i,norm:o,indices:s.indices,hasInverse:s.hasInverse};s.termCount!==void 0&&(l.matchedMask=s.matchedMask,l.matchedTerms=s.matchedTerms,l.termCount=s.termCount),r.push(l)}});else{const{v:a,n:i}=t,o=n.searchIn(a);if(o.isMatch){const s={score:o.score,key:e,value:a,norm:i,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(s.matchedMask=o.matchedMask,s.matchedTerms=o.matchedTerms,s.termCount=o.termCount),r.push(s)}}return r}_coversAllTokens(e){const t=e.length?e[0].termCount:void 0;if(t===void 0)return!0;if(t<=31){let r=0;for(let a=0;a<e.length;a++)r|=e[a].matchedMask||0;return r===2**t-1}const n=new Set;for(let r=0;r<e.length;r++){const a=e[r].matchedTerms;if(a)for(const i of a)n.add(i)}return n.size===t}};qc.version="7.5.0";qc.createIndex=X9;qc.parseIndex=NW;qc.config=Nt;qc.match=function(e,t,n){if(n&&n.useTokenSearch)throw new Error(kW);return Gg(e,{...Nt,...n}).searchIn(t)};qc.parseQuery=Y9;S8(VW);S8(eY);qc.use=function(...e){e.forEach(t=>S8(t))};var _S=qc;function aY(){return new _S([],{keys:[{name:"title",weight:.7},{name:"operationId",weight:.6},{name:"parameters",weight:.55},{name:"body",weight:.55},{name:"path",weight:.5},{name:"tag",weight:.4},{name:"description",weight:.3}
2,{name:"method",weight:.3},{name:"responseExamples",weight:.25},{name:"parameterDescriptions",weight:.2},{name:"bodyDescriptions",weight:.2}],threshold:.3,distance:100,includeScore:!0,includeMatches:!0,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0})}var iY=e=>Ge(e),w8=e=>{if(e===void 0)return;const t=ke(e),n=Ge(t)&&"schemaFormat"in t?ke(t.schema):t;return iY(n)?n:void 0},oY=e=>w8(e.payload),sY=e=>w8(e.headers),K9=(e,t)=>{if(!e.components)return;const n=ke(e.components,Qr).schemas?.[t];return w8(n)},CS=e=>e.type==="text"&&typeof e.id=="string"&&e.id.endsWith("/description/introduction");const di="Models",lY=e=>!!(!Array.isArray(e)&&e&&"sources"in e&&Array.isArray(e.sources)),cY=e=>decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~")),$S=e=>e.split("/").slice(1).map(cY),PS=(e,t,n)=>{const[r,a]=e.split("#",2);if(r)return n.has(r)?a?a.startsWith("/")?`${n.get(r)}${a}`:n.get(`${r}#${a}`):n.get(r):void 0;if(a)return a.startsWith("/")?a.slice(1):n.get(`${t}#${a}`)},Df=e=>{if(e&&typeof e=="object"&&e.$id&&typeof e.$id=="string")return e.$id},_k=e=>e.join("/"),x8=(e,t="",n=[],r=new Map,a=new WeakSet)=>{if(typeof e!="object"||e===null||a.has(e))return r;a.add(e);const i=Df(e);i&&r.set(i,_k(n));const o=i??t;e.$anchor&&typeof e.$anchor=="string"&&r.set(`${o}#${e.$anchor}`,_k(n));for(const s in e)typeof e[s]=="object"&&e[s]!==null&&x8(e[s],o,[...n,s],r,a);return r};function mm(e,t){return t.reduce((n,r)=>n.value===void 0?{context:"",value:void 0}:typeof n.value!="object"||n.value===null?{context:"",value:void 0}:{context:Df(n.value)??n.context,value:n.value?.[r]},{context:"",value:e})}function uY(e,t){return t.reduce((n,r)=>(n[r]===void 0&&(isNaN(Number(r))?n[r]={}:n[r]=[]),n[r]),e)}const k8=Symbol("isMagicProxy"),J9=Symbol("magicProxyTarget"),zd="$ref-value",ah="$ref",af=(e,t,n={root:e,proxyCache:new WeakMap,cache:new Map,schemas:x8(e),currentContext:""})=>{if(!Ge(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);const r={get(i,o,s){if(o===k8)return!0;if(o===J9)return i;if(typeof o=="string"&&o.startsWith("__scalar_")&&!t?.showInternal)return;const l=Reflect.get(i,ah,s),c=Df(i);if(o===zd&&typeof l=="string"){if(n.cache.has(l))return n.cache.get(l);const d=PS(l,c??n.currentContext,n.schemas);if(d===void 0)return;const f=mm(n.root,$S(`/${d}`));if(Ck(f.value))return f.value;const p=af(f.value,t,{...n,currentContext:f.context});return n.cache.set(l,p),p}const u=Reflect.get(i,o,s);return Ck(u)?u:af(u,t,{...n,currentContext:c??n.currentContext})},set(i,o,s,l){const c=Reflect.get(i,ah,l);if(typeof o=="string"&&o.startsWith("__scalar_")&&!t?.showInternal)return!0;if(o===zd&&typeof c=="string"){const u=Df(i),d=PS(c,u??n.currentContext,n.schemas);if(d===void 0)return;const f=$S(`/${d}`);if(f.length===0)return!1;const p=()=>mm(n.root,f.slice(0,-1)).value;return p()===void 0&&(uY(n.root,f.slice(0,-1)),console.warn(`Trying to set $ref-value for invalid reference: ${c} 3 4Please fix your input file to fix this issue.`)),p()[f.at(-1)]=s,!0}return Reflect.set(i,o,s,l)},deleteProperty(i,o){return Reflect.deleteProperty(i,o)},has(i,o){return typeof o=="string"&&o.startsWith("__scalar_")&&!t?.showInternal?!1:o===zd&&ah in i?!0:Reflect.has(i,o)},ownKeys(i){const s=Reflect.ownKeys(i).filter(l=>typeof l!="string"||!(l.startsWith("__scalar_")&&!t?.showInternal));return ah in i&&!s.includes(zd)&&s.push(zd),s},getOwnPropertyDescriptor(i,o){if(typeof o=="string"&&o.startsWith("__scalar_")&&!t?.showInternal)return;const s=Reflect.get(i,ah);return o===zd&&typeof s=="string"?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(i,o)}},a=new Proxy(e,r);return n.proxyCache.set(e,a),a},Ck=e=>typeof e=="object"&&e!==null&&e[k8]===!0;function $u(e){return typeof e!="object"||e===null?e:e[k8]?e[J9]:e}const A8=Symbol("isDetectChangesProxy"),eP=Symbol("detectChangesProxyTarget"),IS=(e,t,n={proxyCache:new WeakMap,path:[]})=>{if(!Ge(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);const r=new Proxy(e,{get(a,i,o){if(i===A8)return!0;if(i===eP)return a;const s=Reflect.get(a,i,o);return dY(s)?s:IS(s,t,{...n,path:[...n.path,String(i)]})},set(a,i,o,s){const l=[...n.path,String(i)];t?.hooks?.onBeforeChange?.(l,o);const c=Reflect.set(a,i,o,s);return t?.hooks?.onAfterChange?.(l,o),c},deleteProperty(a,i){const o=[...n.path,String(i)];
4t?.hooks?.onBeforeChange?.(o);const s=Reflect.deleteProperty(a,i);return t?.hooks?.onAfterChange?.(o),s}});return n.proxyCache.set(e,r),r},dY=e=>typeof e=="object"&&e!==null&&e[A8]===!0,fY=e=>typeof e!="object"||e===null?e:e[A8]?e[eP]:e,Jg=Symbol("isOverridesProxy"),NS=Symbol("getOverridesTarget"),Og=(e,t,n={cache:new WeakMap})=>{if(!e||typeof e!="object")return e;if(n.cache.has(e))return n.cache.get(e);const{overrides:r}=t??{},a={get(o,s,l){if(s===Jg)return!0;if(s===NS)return o;const c=Reflect.get(o,s,l);return pY(c)?c:Ge(c)?Og(c,{overrides:Reflect.get(r??{},s)},n):Reflect.get(r??{},s)??c},set(o,s,l,c){return s===Jg||s===NS?!1:r&&Reflect.has(r,s)&&r&&typeof r=="object"?(r[s]=l,!0):Reflect.set(o,s,l,c)}},i=new Proxy(e,a);return n.cache.set(e,i),i},pY=e=>typeof e=="object"&&e!==null&&e[Jg]===!0;function hY(e){return typeof e=="object"&&e!==null&&e[Jg]?e[NS]:e}const Qt=(e,{depth:t=0}={})=>{const n=(r,a=0)=>{if(typeof r!="object"||r===null)return r;const i=fY(Mi($u(hY(r))));return t!==null&&a>=t||(a!==0&&i!==r&&(console.warn(`%câ Warning:%c You tried to assign a proxied object (depth: %d). 5%cð¡ Tip:%c Pass a plain object instead â wrapping a proxy inside another proxy may cause weird bugs. 6%cð Debug Info:%c The problematic value is shown below:`,"background: #fdd835; color: #000; font-weight: bold; padding: 2px 4px; border-radius: 3px;","color: inherit;",a,"color: #00bfa5; font-weight: bold;","color: inherit;","color: #03a9f4; font-weight: bold;","color: inherit;",r,e),console.groupCollapsed("%cð Proxy assignment trace","color: #9c27b0; font-weight: bold;"),console.trace({value:r,raw:i}),console.groupEnd()),Object.entries(i).forEach(([o,s])=>{const l=n(s,a+1);Reflect.set(i,o,l)||console.warn(`%cð« Readonly Property Error:%c Failed to set property "%s" on object. 7%cð¡ Tip:%c This property is readonly or non-configurable. You cannot unpack a readonly property â the value was not updated. 8%cð Debug Info:%c Property: %s | Value: %o | Object: %o`,"background: #f44336; color: #fff; font-weight: bold; padding: 2px 4px; border-radius: 3px;","color: inherit;",o,"color: #00bfa5; font-weight: bold;","color: inherit;","color: #03a9f4; font-weight: bold;","color: inherit;",o,l,i)})),i};return n(e)},e2=e=>{const t=new WeakSet,n=new WeakMap,r=a=>{if(!Ge(a)&&!Array.isArray(a))return a;const i=Qt(a,{depth:1});if(n.has(i))return n.get(i);if(t.has(i))return"[circular]";if(t.add(i),"$ref"in a){const s=ke(a),l=r(s),c=Object.entries(a).filter(([u])=>u!=="$ref"&&u!=="$ref-value");if(c.length>0&&Ge(l)){const u={...l};for(const[d,f]of c)u[d]=r(f);return n.set(i,u),u}return n.set(i,l),l}if(Array.isArray(a)){const s=a.map(r);return n.set(i,s),s}const o=Object.fromEntries(Object.entries(a).map(([s,l])=>[s,r(l)]));return n.set(i,o),o};return r(e)},$k=(e,t,n)=>{if(!e&&!t)return;const r=!!e&&Object.keys(e).length>0,a=n||Object.keys(e??{})[0]||"",i=ke(e?.[a]);if(i!==void 0)return i;if((!r||!n)&&t!==void 0)return{value:ke(t)}},T8=(e,t,n)=>{if("content"in e){const a=e.content?.[n??Object.keys(e.content)[0]??""],i=$k(a?.examples,a?.example,t);if(i!==void 0)return i}if("examples"in e||"example"in e){const a=$k(e.examples,e.example,t);if(a!==void 0)return a}const r=ke(e);if("schema"in r&&r.schema){const a=r.schema;if("default"in a&&a.default!==void 0)return{value:a.default};if("enum"in a&&a.enum?.[0]!==void 0)return{value:a.enum[0]};if("examples"in a&&a.examples?.[0]!==void 0)return{value:a.examples[0]};if("example"in a&&a.example!==void 0)return{value:a.example}}},Bi=e=>e!=null,Ib=e=>typeof e=="object"&&e!==null&&"$dynamicRef"in e&&typeof e.$dynamicRef=="string",mY=e=>"$dynamicAnchor"in e||"$id"in e||"$defs"in e,Pk=new WeakMap,gY=e=>{const t=Qt(e,{depth:1}),n=Pk.get(t);if(n)return n;const r=new Map,a=o=>{if(!o||typeof o!="object")return;const s=o.$dynamicAnchor;typeof s=="string"&&!r.has(s)&&r.set(s,ke(o,Qr))};a(e);const i=e.$defs;if(i&&typeof i=="object")for(const o of Object.keys(i))a(i[o]);return Pk.set(t,r),r},Nb=(e,t)=>mY(t)?[...e,t]:e,Rb=(e,t)=>{const n=e.startsWith("#")?e.slice(1):void 0;if(!(!n||n.startsWith("/")))for(const r of t){const a=gY(r).get(n);if(a)return a}};function bY(e){return Fr(e)&&!Ai(e)&&!t0(e)&&Symbol.asyncIterator in e}function Ai(e){return Array.isArray(e)}function tP(e){return typeof e=="bigint"}function e0(e){return typeof e=="boolean"}function E8(e){return e instanceof globalThis.Date}function yY(e){return typeof e=="function"}function vY(e){return Fr(e)&&!Ai(e)&&!t0(e)&&Symbol.iterator in e}function OY(e){return e===null}function Ks(e){return typeof e=="number"}function Fr(e){return typeof e=="object"&&e!==null}function nP(e){return e instanceof globalThis.RegExp}function Pr(e){return typeof e=="string"}function SY(e){return typeof e=="symbol"}function t0(e){return e instanceof globalThis.Uint8Array}function Br(e){return e===void 0}function wY(e){return e.map(t=>t2(t))}function xY(e){return new Date(e.getTime())}function kY(e){return new Uint8Array(e)}function AY(e){return new RegExp(e.source,e.flags)}function TY(e){const t={};for(const n of Object.getOwnPropertyNames(e))t[n]=t2(e[n]);for(const n of Object.getOwnPropertySymbols(e))t[n]=t2(e[n]);return t}function t2(e){return Ai(e)?wY(e):E8(e)?xY(e):t0(e)?kY(e):nP(e)?AY(e):Fr(e)?TY(e):e}function Xi(e){return t2(e)}function _8(e,t){return Xi(t===void 0?e:{...t,...e})}function rP(e){return Fo(e)&&globalThis.Symbol.asyncIterator in e}function aP(e){return Fo(e)&&globalThis.Symbol.iterator in e}function iP(e){return e instanceof globalThis.Promise}function Mb(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function EY(e){return e instanceof globalThis.Map}function _Y(e){return e instanceof globalThis.Set}function CY(e){return globalThis.ArrayBuffer.isView(e)}function C8(e){return e instanceof globalThis.Uint8Array}function fn(e,t){return t in e}function Fo(e){return e!==null&&typeof e=="object"}function Hl(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function n0(e){return e===void 0}function r0(e){return e===null}
8function Lb(e){return typeof e=="boolean"}function Xo(e){return typeof e=="number"}function oP(e){return globalThis.Number.isInteger(e)}function Db(e){return typeof e=="bigint"}function es(e){return typeof e=="string"}function $8(e){return typeof e=="function"}function Bb(e){return typeof e=="symbol"}function $Y(e){return Db(e)||Lb(e)||r0(e)||Xo(e)||es(e)||Bb(e)||n0(e)}var Wi;(function(e){e.InstanceMode="default",e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1;function t(o,s){return e.ExactOptionalPropertyTypes?s in o:o[s]!==void 0}e.IsExactOptionalProperty=t;function n(o){const s=Fo(o);return e.AllowArrayObject?s:s&&!Hl(o)}e.IsObjectLike=n;function r(o){return n(o)&&!(o instanceof Date)&&!(o instanceof Uint8Array)}e.IsRecordLike=r;function a(o){return e.AllowNaN?Xo(o):Number.isFinite(o)}e.IsNumberLike=a;function i(o){const s=n0(o);return e.AllowNullVoid?s||o===null:s}e.IsVoidLike=i})(Wi||(Wi={}));function PY(e){return globalThis.Object.freeze(e).map(t=>n2(t))}function IY(e){const t={};for(const n of Object.getOwnPropertyNames(e))t[n]=n2(e[n]);for(const n of Object.getOwnPropertySymbols(e))t[n]=n2(e[n]);return globalThis.Object.freeze(t)}function n2(e){return Ai(e)?PY(e):E8(e)?e:t0(e)?e:nP(e)?e:Fr(e)?IY(e):e}function Ve(e,t){const n=t!==void 0?{...t,...e}:e;switch(Wi.InstanceMode){case"freeze":return n2(n);case"clone":return Xi(n);default:return n}}class no extends Error{constructor(t){super(t)}}const ho=Symbol.for("TypeBox.Transform"),a0=Symbol.for("TypeBox.Readonly"),ql=Symbol.for("TypeBox.Optional"),Ub=Symbol.for("TypeBox.Hint"),We=Symbol.for("TypeBox.Kind");function P8(e){return Fr(e)&&e[a0]==="Readonly"}function Zc(e){return Fr(e)&&e[ql]==="Optional"}function sP(e){return on(e,"Any")}function lP(e){return on(e,"Argument")}function yp(e){return on(e,"Array")}function jb(e){return on(e,"AsyncIterator")}function Qb(e){return on(e,"BigInt")}function i0(e){return on(e,"Boolean")}function vp(e){return on(e,"Computed")}function Op(e){return on(e,"Constructor")}function NY(e){return on(e,"Date")}function Sp(e){return on(e,"Function")}function wp(e){return on(e,"Integer")}function $o(e){return on(e,"Intersect")}function Fb(e){return on(e,"Iterator")}function on(e,t){return Fr(e)&&We in e&&e[We]===t}function cP(e){return e0(e)||Ks(e)||Pr(e)}function cd(e){return on(e,"Literal")}function ud(e){return on(e,"MappedKey")}function ro(e){return on(e,"MappedResult")}function o0(e){return on(e,"Never")}function RY(e){return on(e,"Not")}function I8(e){return on(e,"Null")}function xp(e){return on(e,"Number")}function ms(e){return on(e,"Object")}function zb(e){return on(e,"Promise")}function Vb(e){return on(e,"Record")}function Oi(e){return on(e,"Ref")}function uP(e){return on(e,"RegExp")}function s0(e){return on(e,"String")}function N8(e){return on(e,"Symbol")}function dd(e){return on(e,"TemplateLiteral")}function MY(e){return on(e,"This")}function Hb(e){return Fr(e)&&ho in e}function fd(e){return on(e,"Tuple")}function R8(e){return on(e,"Undefined")}function ga(e){return on(e,"Union")}function LY(e){return on(e,"Uint8Array")}function DY(e){return on(e,"Unknown")}function BY(e){return on(e,"Unsafe")}function UY(e){return on(e,"Void")}function jY(e){return Fr(e)&&We in e&&Pr(e[We])}function Tl(e){return sP(e)||lP(e)||yp(e)||i0(e)||Qb(e)||jb(e)||vp(e)||Op(e)||NY(e)||Sp(e)||wp(e)||$o(e)||Fb(e)||cd(e)||ud(e)||ro(e)||o0(e)||RY(e)||I8(e)||xp(e)||ms(e)||zb(e)||Vb(e)||Oi(e)||uP(e)||s0(e)||N8(e)||dd(e)||MY(e)||fd(e)||R8(e)||ga(e)||LY(e)||DY(e)||BY(e)||UY(e)||jY(e)}const QY=["Argument","Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function dP(e){try{return new RegExp(e),!0}catch{return!1}}function M8(e){if(!Pr(e))return!1;for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n>=7&&n<=13||n===27||n===127)return!1}return!0}function fP(e){return L8(e)||Ea(e)}function ih(e){return Br(e)||tP(e)}function Fn(e){return Br(e)||Ks(e)}function L8(e){return Br(e)||e0(e)}function Dn(e){return Br(e)||Pr(e)}function FY(e){return Br(e)||Pr(e)&&M8(e)&&dP(e)}function zY(e){return Br(e)||Pr(e)&&M8(e)}function pP(e){return Br(e)||Ea(e)}function r2(e){return Fr(e)&&e[ql]==="Optional"}
vendor: 2,798 bytes, line 8
8function rs(e){return sn(e,"Any")&&Dn(e.$id)}function VY(e){return sn(e,"Argument")&&Ks(e.index)}function pd(e){return sn(e,"Array")&&e.type==="array"&&Dn(e.$id)&&Ea(e.items)&&Fn(e.minItems)&&Fn(e.maxItems)&&L8(e.uniqueItems)&&pP(e.contains)&&Fn(e.minContains)&&Fn(e.maxContains)}function D8(e){return sn(e,"AsyncIterator")&&e.type==="AsyncIterator"&&Dn(e.$id)&&Ea(e.items)}function qb(e){return sn(e,"BigInt")&&e.type==="bigint"&&Dn(e.$id)&&ih(e.exclusiveMaximum)&&ih(e.exclusiveMinimum)&&ih(e.maximum)&&ih(e.minimum)&&ih(e.multipleOf)}function hd(e){return sn(e,"Boolean")&&e.type==="boolean"&&Dn(e.$id)}function HY(e){return sn(e,"Computed")&&Pr(e.target)&&Ai(e.parameters)&&e.parameters.every(t=>Ea(t))}function Zb(e){return sn(e,"Constructor")&&e.type==="Constructor"&&Dn(e.$id)&&Ai(e.parameters)&&e.parameters.every(t=>Ea(t))&&Ea(e.returns)}function Xb(e){return sn(e,"Date")&&e.type==="Date"&&Dn(e.$id)&&Fn(e.exclusiveMaximumTimestamp)&&Fn(e.exclusiveMinimumTimestamp)&&Fn(e.maximumTimestamp)&&Fn(e.minimumTimestamp)&&Fn(e.multipleOfTimestamp)}function Wb(e){return sn(e,"Function")&&e.type==="Function"&&Dn(e.$id)&&Ai(e.parameters)&&e.parameters.every(t=>Ea(t))&&Ea(e.returns)}function Zl(e){return sn(e,"Integer")&&e.type==="integer"&&Dn(e.$id)&&Fn(e.exclusiveMaximum)&&Fn(e.exclusiveMinimum)&&Fn(e.maximum)&&Fn(e.minimum)&&Fn(e.multipleOf)}function hP(e){return Fr(e)&&Object.entries(e).every(([t,n])=>M8(t)&&Ea(n))}function md(e){return sn(e,"Intersect")&&!(Pr(e.type)&&e.type!=="object")&&Ai(e.allOf)&&e.allOf.every(t=>Ea(t)&&!GY(t))&&Dn(e.type)&&(L8(e.unevaluatedProperties)||pP(e.unevaluatedProperties))&&Dn(e.$id)}function B8(e){return sn(e,"Iterator")&&e.type==="Iterator"&&Dn(e.$id)&&Ea(e.items)}function sn(e,t){return Fr(e)&&We in e&&e[We]===t}function mP(e){return Xc(e)&&Pr(e.const)}function gP(e){return Xc(e)&&Ks(e.const)}function bP(e){return Xc(e)&&e0(e.const)}function Xc(e){return sn(e,"Literal")&&Dn(e.$id)&&qY(e.const)}function qY(e){return e0(e)||Ks(e)||Pr(e)}function ZY(e){return sn(e,"MappedKey")&&Ai(e.keys)&&e.keys.every(t=>Ks(t)||Pr(t))}function XY(e){return sn(e,"MappedResult")&&hP(e.properties)}function Wc(e){return sn(e,"Never")&&Fr(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function Bf(e){return sn(e,"Not")&&Ea(e.not)}function U8(e){return sn(e,"Null")&&e.type==="null"&&Dn(e.$id)}function pi(e){return sn(e,"Number")&&e.type==="number"&&Dn(e.$id)&&Fn(e.exclusiveMaximum)&&Fn(e.exclusiveMinimum)&&Fn(e.maximum)&&Fn(e.minimum)&&Fn(e.multipleOf)}function Sr(e){return sn(e,"Object")&&e.type==="object"&&Dn(e.$id)&&hP(e.properties)&&fP(e.additionalProperties)&&Fn(e.minProperties)&&Fn(e.maxProperties)}function j8(e){return sn(e,"Promise")&&e.type==="Promise"&&Dn(e.$id)&&Ea(e.item)}function Ta(e){return sn(e,"Record")&&e.type==="object"&&Dn(e.$i
8d)&&fP(e.additionalProperties)&&Fr(e.patternProperties)&&(t=>{const n=Object.getOwnPropertyNames(t.patternProperties);return n.length===1&&dP(n[0])&&Fr(t.patternProperties)&&Ea(t.patternProperties[n[0]])})(e)}function WY(e){return sn(e,"Ref")&&Dn(e.$id)&&Pr(e.$ref)}function gm(e){return sn(e,"RegExp")&&Dn(e.$id)&&Pr(e.source)&&Pr(e.flags)&&Fn(e.maxLength)&&Fn(e.minLength)}function as(e){return sn(e,"String")&&e.type==="string"&&Dn(e.$id)&&Fn(e.minLength)&&Fn(e.maxLength)&&FY(e.pattern)&&zY(e.format)}function bm(e){return sn(e,"Symbol")&&e.type==="symbol"&&Dn(e.$id)}function ym(e){return sn(e,"TemplateLiteral")&&e.type==="string"&&Pr(e.pattern)&&e.pattern[0]==="^"&&e.pattern[e.pattern.length-1]==="$"}function YY(e){return sn(e,"This")&&Dn(e.$id)&&Pr(e.$ref)}function GY(e){return Fr(e)&&ho in e}function Yb(e){return sn(e,"Tuple")&&e.type==="array"&&Dn(e.$id)&&Ks(e.minItems)&&Ks(e.maxItems)&&e.minItems===e.maxItems&&(Br(e.items)&&Br(e.additionalItems)&&e.minItems===0||Ai(e.items)&&e.items.every(t=>Ea(t)))}function Yu(e){return sn(e,"Undefined")&&e.type==="undefined"&&Dn(e.$id)}function Pl(e){return sn(e,"Union")&&Dn(e.$id)&&Fr(e)&&Ai(e.anyOf)&&e.anyOf.every(t=>Ea(t))}function l0(e){return sn(e,"Uint8Array")&&e.type==="Uint8Array"&&Dn(e.$id)&&Fn(e.minByteLength)&&Fn(e.maxByteLength)}function is(e){return sn(e,"Unknown")&&Dn(e.$id)}function KY(e){return sn(e,"Unsafe")}function Gb(e){return sn(e,"Void")&&e.type==="void"&&Dn(e.$id)}function JY(e){return Fr(e)&&We in e&&Pr(e[We])&&!QY.includes(e[We])}function Ea(e){return Fr(e)&&(rs(e)||VY(e)||pd(e)||hd(e)||qb(e)||D8(e)||HY(e)||Zb(e)||Xb(e)||Wb(e)||Zl(e)||md(e)||B8(e)||Xc(e)||ZY(e)||XY(e)||Wc(e)||Bf(e)||U8(e)||pi(e)||Sr(e)||j8(e)||Ta(e)||WY(e)||gm(e)||as(e)||bm(e)||ym(e)||YY(e)||Yb(e)||Yu(e)||Pl(e)||l0(e)||is(e)||KY(e)||Gb(e)||JY(e))}const eG="(true|false)",Sg="(0|[1-9][0-9]*)",yP="(.*)",tG="(?!.*)",Uf=`^${Sg}$`,jf=`^${yP}$`,nG=`^${tG}$`,vP=new Map;function OP(e){return vP.has(e)}function SP(e){return vP.get(e)}const wP=new Map;function Kb(e){return wP.has(e)}function xP(e){return wP.get(e)}function rG(e,t){return e.includes(t)}function aG(e){return[...new Set(e)]}function iG(e,t){return e.filter(n=>t.includes(n))}function oG(e,t){return e.reduce((n,r)=>iG(n,r),t)}function sG(e){return e.length===1?e[0]:e.length>1?oG(e.slice(1),e[0]):[]}function lG(e){const t=[];for(const n of e)t.push(...n);return t}function vm(e){return Ve({[We]:"Any"},e)}function Q8(e,t){return Ve({[We]:"Array",type:"array",items:e},t)}function cG(e){return Ve({[We]:"Argument",index:e})}function F8(e,t){return Ve({[We]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function Gr(e,t,n){return Ve({[We]:"Computed",target:e,parameters:t},n)}function uG(e,t){const{[t]:n,...r}=e;return r}function Yi(e,t){return t.reduce((n,r)=>uG(n,r),e)}function Tr(e){return Ve({[We]:"Never",not:{}},e)}function _a(e){return Ve({[We]:"MappedResult",properties:e})}function z8(e,t,n){return Ve({[We]:"Constructor",type:"Constructor",parameters:e,returns:t},n)}function c0(e,t,n){return Ve({[We]:"Function",type:"Function",parameters:e,returns:t},n)}function RS(e,t){return Ve({[We]:"Union",anyOf:e},t)}function dG(e){return e.some(t=>Zc(t))}function Ik(e){return e.map(t=>Zc(t)?fG(t):t)}function fG(e){return Yi(e,[ql])}function pG(e,t){return dG(e)?Kc(RS(Ik(e),t)):RS(Ik(e),t)}function kp(e,t){return e.length===1?Ve(e[0],t):e.length===0?Tr(t):pG(e,t)}function Ca(e,t){return e.length===0?Tr(t):e.length===1?Ve(e[0],t):RS(e,t)}class Nk extends no{}function hG(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function V8(e,t,n){return e[t]===n&&e.charCodeAt(t-1)!==92}function Sl(e,t){return V8(e,t,"(")}function Om(e,t){return V8(e,t,")")}function kP(e,t){return V8(e,t,"|")}function mG(e){if(!(Sl(e,0)&&Om(e,e.length-1)))return!1;let t=0;for(let n=0;n<e.length;n++)if(Sl(e,n)&&(t+=1),Om(e,n)&&(t-=1),t===0&&n!==e.length-1)return!1;return!0}function gG(e){return e.slice(1,e.length-1)}function bG(e){let t=0;for(let n=0;n<e.length;n++)if(Sl(e,n)&&(t+=1),Om(e,n)&&(t-=1),kP(e,n)&&t===0)return!0;return!1}function yG(e){for(let t=0;t<e.length;t++)if(Sl(e,t))return!0;return!1}function vG(e){let[t,n]=[0,0];const r=[];for(let i=0;i<e.length;i++)if(Sl(e,i)&&(t+=1),Om(e,i)&&(t-=1),kP(e,i)&&t===0){const o=e.slice(n,i);o.length>0&&r.push(Qf(o)),n=i+1}const a=e.slice(n);return a.length>0&&r.push(Qf(a)),r.length===0?{type:"const",const:""}:r.length===1?r[0]:{type:"or",expr:r}}function OG(e){function t(a,i){if(!Sl(a,i))throw new Nk("TemplateLiteralParser: Index must point to open parens");let o=0;for(let s=i;s<a.length;s++)if(Sl(a,s)&&(o+=1),Om(a,s)&&(o-=1),o===0)return[i,s];throw new Nk("TemplateLiteralParser: Unclosed group parens in expression")}function n(a,i){for(let o=i;o<a.length;o++)if(Sl(a,o))return[i,o];return[i,a.length]}const r=[];for(let a=0;a<e.length;a++)if(Sl(e,a)){const[i,o]=t(e,a),s=e.slice(i,o+1);
8r.push(Qf(s)),a=o}else{const[i,o]=n(e,a),s=e.slice(i,o);s.length>0&&r.push(Qf(s)),a=o-1}return r.length===0?{type:"const",const:""}:r.length===1?r[0]:{type:"and",expr:r}}function Qf(e){return mG(e)?Qf(gG(e)):bG(e)?vG(e):yG(e)?OG(e):{type:"const",const:hG(e)}}function H8(e){return Qf(e.slice(1,e.length-1))}class SG extends no{}function wG(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="0"&&e.expr[1].type==="const"&&e.expr[1].const==="[1-9][0-9]*"}function xG(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="true"&&e.expr[1].type==="const"&&e.expr[1].const==="false"}function kG(e){return e.type==="const"&&e.const===".*"}function Sm(e){return wG(e)||kG(e)?!1:xG(e)?!0:e.type==="and"?e.expr.every(t=>Sm(t)):e.type==="or"?e.expr.every(t=>Sm(t)):e.type==="const"?!0:(()=>{throw new SG("Unknown expression type")})()}function AP(e){const t=H8(e.pattern);return Sm(t)}class AG extends no{}function*TP(e){if(e.length===1)return yield*e[0];for(const t of e[0])for(const n of TP(e.slice(1)))yield`${t}${n}`}function*TG(e){return yield*TP(e.expr.map(t=>[...Jb(t)]))}function*EG(e){for(const t of e.expr)yield*Jb(t)}function*_G(e){return yield e.const}function*Jb(e){return e.type==="and"?yield*TG(e):e.type==="or"?yield*EG(e):e.type==="const"?yield*_G(e):(()=>{throw new AG("Unknown expression")})()}function q8(e){const t=H8(e.pattern);return Sm(t)?[...Jb(t)]:[]}function jr(e,t){return Ve({[We]:"Literal",const:e,type:typeof e},t)}function EP(e){return Ve({[We]:"Boolean",type:"boolean"},e)}function Z8(e){return Ve({[We]:"BigInt",type:"bigint"},e)}function gd(e){return Ve({[We]:"Number",type:"number"},e)}function Gu(e){return Ve({[We]:"String",type:"string"},e)}function*CG(e){const t=e.trim().replace(/"|'/g,"");return t==="boolean"?yield EP():t==="number"?yield gd():t==="bigint"?yield Z8():t==="string"?yield Gu():yield(()=>{const n=t.split("|").map(r=>jr(r.trim()));return n.length===0?Tr():n.length===1?n[0]:kp(n)})()}function*$G(e){if(e[1]!=="{"){const t=jr("$"),n=MS(e.slice(1));return yield*[t,...n]}for(let t=2;t<e.length;t++)if(e[t]==="}"){const n=CG(e.slice(2,t)),r=MS(e.slice(t+1));return yield*[...n,...r]}yield jr(e)}function*MS(e){for(let t=0;t<e.length;t++)if(e[t]==="$"){const n=jr(e.slice(0,t)),r=$G(e.slice(t));return yield*[n,...r]}yield jr(e)}function PG(e){return[...MS(e)]}class IG extends no{}function NG(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _P(e,t){return dd(e)?e.pattern.slice(1,e.pattern.length-1):ga(e)?`(${e.anyOf.map(n=>_P(n,t)).join("|")})`:xp(e)?`${t}${Sg}`:wp(e)?`${t}${Sg}`:Qb(e)?`${t}${Sg}`:s0(e)?`${t}${yP}`:cd(e)?`${t}${NG(e.const.toString())}`:i0(e)?`${t}${eG}`:(()=>{throw new IG(`Unexpected Kind '${e[We]}'`)})()}function Rk(e){return`^${e.map(t=>_P(t,"")).join("")}$`}function a2(e){const n=q8(e).map(r=>jr(r));return kp(n)}function CP(e,t){const n=Pr(e)?Rk(PG(e)):Rk(e);return Ve({[We]:"TemplateLiteral",type:"string",pattern:n},t)}function RG(e){return q8(e).map(n=>n.toString())}function MG(e){const t=[];for(const n of e)t.push(...Yc(n));return t}function LG(e){return[e.toString()]}function Yc(e){return[...new Set(dd(e)?RG(e):ga(e)?MG(e.anyOf):cd(e)?LG(e.const):xp(e)?["[number]"]:wp(e)?["[number]"]:[])]}function DG(e,t,n){const r={};for(const a of Object.getOwnPropertyNames(t))r[a]=ey(e,Yc(t[a]),n);return r}function BG(e,t,n){return DG(e,t.properties,n)}function UG(e,t,n){const r=BG(e,t,n);return _a(r)}function $P(e,t){return e.map(n=>PP(n,t))}function jG(e){return e.filter(t=>!o0(t))}function QG(e,t){return MP(jG($P(e,t)))}function FG(e){return e.some(t=>o0(t))?[]:e}function zG(e,t){return kp(FG($P(e,t)))}function VG(e,t){return t in e?e[t]:t==="[number]"?kp(e):Tr()}function HG(e,t){return t==="[number]"?e:Tr()}function qG(e,t){return t in e?e[t]:Tr()}function PP(e,t){return $o(e)?QG(e.allOf,t):ga(e)?zG(e.anyOf,t):fd(e)?VG(e.items??[],t):yp(e)?HG(e.items,t):ms(e)?qG(e.properties,t):Tr()}function IP(e,t){return t.map(n=>PP(e,n))}function Mk(e,t){return kp(IP(e,t))}function ey(e,t,n){if(Oi(e)||Oi(t)){const r="Index types using Ref parameters require both Type and Key to be of TSchema";if(!Tl(e)||!Tl(t))throw new no(r);return Gr("Index",[e,t])}return ro(t)?UG(e,t,n):ud(t)?YG(e,t,n):Ve(Tl(t)?Mk(e,Yc(t)):Mk(e,t),n)}function ZG(e,t,n){return{[t]:ey(e,[t],Xi(n))}}
8function XG(e,t,n){return t.reduce((r,a)=>({...r,...ZG(e,a,n)}),{})}function WG(e,t,n){return XG(e,t.keys,n)}function YG(e,t,n){const r=WG(e,t,n);return _a(r)}function X8(e,t){return Ve({[We]:"Iterator",type:"Iterator",items:e},t)}function GG(e){const t=[];for(let n in e)Zc(e[n])||t.push(n);return t}function KG(e,t){const n=GG(e),r=n.length>0?{[We]:"Object",type:"object",properties:e,required:n}:{[We]:"Object",type:"object",properties:e};return Ve(r,t)}var ma=KG;function NP(e,t){return Ve({[We]:"Promise",type:"Promise",item:e},t)}function JG(e){return Ve(Yi(e,[a0]))}function eK(e){return Ve({...e,[a0]:"Readonly"})}function tK(e,t){return t===!1?JG(e):eK(e)}function Gc(e,t){const n=t??!0;return ro(e)?aK(e,n):tK(e,n)}function nK(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=Gc(e[r],t);return n}function rK(e,t){return nK(e.properties,t)}function aK(e,t){const n=rK(e,t);return _a(n)}function Ap(e,t){return Ve(e.length>0?{[We]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[We]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function RP(e,t){return e in t?lo(e,t[e]):_a(t)}function iK(e){return{[e]:jr(e)}}function oK(e){const t={};for(const n of e)t[n]=jr(n);return t}function sK(e,t){return rG(t,e)?iK(e):oK(t)}function lK(e,t){const n=sK(e,t);return RP(e,n)}function oh(e,t){return t.map(n=>lo(e,n))}function cK(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(t))n[r]=lo(e,t[r]);return n}function lo(e,t){const n={...t};return Zc(t)?Kc(lo(e,Yi(t,[ql]))):P8(t)?Gc(lo(e,Yi(t,[a0]))):ro(t)?RP(e,t.properties):ud(t)?lK(e,t.keys):Op(t)?z8(oh(e,t.parameters),lo(e,t.returns),n):Sp(t)?c0(oh(e,t.parameters),lo(e,t.returns),n):jb(t)?F8(lo(e,t.items),n):Fb(t)?X8(lo(e,t.items),n):$o(t)?Jc(oh(e,t.allOf),n):ga(t)?Ca(oh(e,t.anyOf),n):fd(t)?Ap(oh(e,t.items??[]),n):ms(t)?ma(cK(e,t.properties),n):yp(t)?Q8(lo(e,t.items),n):zb(t)?NP(lo(e,t.item),n):t}function uK(e,t){const n={};for(const r of e)n[r]=lo(r,t);return n}function dK(e,t,n){const r=Tl(e)?Yc(e):e,a=t({[We]:"MappedKey",keys:r}),i=uK(r,a);return ma(i,n)}function fK(e){return Ve(Yi(e,[ql]))}function pK(e){return Ve({...e,[ql]:"Optional"})}function hK(e,t){return t===!1?fK(e):pK(e)}function Kc(e,t){const n=t??!0;return ro(e)?bK(e,n):hK(e,n)}function mK(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=Kc(e[r],t);return n}function gK(e,t){return mK(e.properties,t)}function bK(e,t){const n=gK(e,t);return _a(n)}function LS(e,t={}){const n=e.every(a=>ms(a)),r=Tl(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return Ve(t.unevaluatedProperties===!1||Tl(t.unevaluatedProperties)||n?{...r,[We]:"Intersect",type:"object",allOf:e}:{...r,[We]:"Intersect",allOf:e},t)}function yK(e){return e.every(t=>Zc(t))}function vK(e){return Yi(e,[ql])}function Lk(e){return e.map(t=>Zc(t)?vK(t):t)}function OK(e,t){return yK(e)?Kc(LS(Lk(e),t)):LS(Lk(e),t)}function MP(e,t={}){if(e.length===1)return Ve(e[0],t);if(e.length===0)return Tr(t);if(e.some(n=>Hb(n)))throw new Error("Cannot intersect transform types");return OK(e,t)}function Jc(e,t){if(e.length===1)return Ve(e[0],t);if(e.length===0)return Tr(t);if(e.some(n=>Hb(n)))throw new Error("Cannot intersect transform types");return LS(e,t)}function u0(...e){const[t,n]=typeof e[0]=="string"?[e[0],e[1]]:[e[0].$id,e[1]];if(typeof t!="string")throw new no("Ref: $ref must be a string");return Ve({[We]:"Ref",$ref:t},n)}function SK(e,t){return Gr("Awaited",[Gr(e,t)])}function wK(e){return Gr("Awaited",[u0(e)])}function xK(e){return Jc(LP(e))}function kK(e){return Ca(LP(e))}function AK(e){return ty(e)}function LP(e){return e.map(t=>ty(t))}function ty(e,t){return Ve(vp(e)?SK(e.target,e.parameters):$o(e)?xK(e.allOf):ga(e)?kK(e.anyOf):zb(e)?AK(e.item):Oi(e)?wK(e.$ref):e,t)}function DP(e){const t=[];for(const n of e)t.push(ny(n));return t}function TK(e){const t=DP(e);return lG(t)}function EK(e){const t=DP(e);return sG(t)}function _K(e){return e.map((t,n)=>n.toString())}function CK(e){return["[number]"]}function $K(e){return globalThis.Object.getOwnPropertyNames(e)}function PK(e){return DS?globalThis.Object.getOwnPropertyNames(e).map(n=>n[0]==="^"&&n[n.length-1]==="$"?n.slice(1,n.length-1):n):[]}function ny(e){return $o(e)?TK(e.allOf):ga(e)?EK(e.anyOf):fd(e)?_K(e.items??[]):yp(e)?CK(e.items):ms(e)?$K(e.properties):Vb(e)?PK(e.patternProperties):[]}let DS=!1;function i2(e){DS=!0;const t=ny(e);return DS=!1,`^(${t.map(r=>`(${r})`).join("|")})$`}function IK(e,t){return Gr("KeyOf",[Gr(e,t)])}function NK(e){return Gr("KeyOf",[u0(e)])}function RK(e,t){const n=ny(e),r=MK(n),a=kp(r);return Ve(a,t)}function MK(e){return e.map(t=>t==="[number]"?gd():jr(t))}function W8(e,t){return vp(e)?IK(e.target,e.parameters):Oi(e)?NK(e.$ref):ro(e)?BK(e,t):RK(e,t)}function LK(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=W8(e[r],Xi(t));return n}function DK(e,t){return LK(e.properties,t)}function BK(e,t){const n=DK(e,t);return _a(n)}function UK(e){const t=[];for(const n of e)t.push(...ny(n));return aG(t)}function jK(e){return e.filter(t=>!o0(t))}function QK(e,t){const n=[];for(const r of e)n.push(...IP(r,[t]));return jK(n)}function FK(e,t){const n={};for(const r of t)n[r]=MP(QK(e,r));return n}function zK(e,t){const n=UK(e),r=FK(e,n);return ma(r,t)}function BP(e){return Ve({[We]:"Date",type:"Date"},e)}function UP(e){return Ve({[We]:"Null",type:"null"},e)}function jP(e){return Ve({[We]:"Symbol",type:"symbol"},e)}function QP(e){return Ve({[We]:"Undefined",type:"undefined"},e)}function FP(e){return Ve({[We]:"Uint8Array",type:"Uint8Array"},e)}function ry(e){return Ve({[We]:"Unknown"},e)}function VK(e){return e.map(t=>Y8(t,!1))}function HK(e){const t={};for(const n of globalThis.Object.getOwnPropertyNames(e))t[n]=Gc(Y8(e[n],!1));return t}function a1(e,t){return t===!0?e:Gc(e)}function Y8(e,t){return bY(e)||vY(e)?a1(vm(),t):Ai(e)?Gc(Ap(VK(e))):t0(e)?FP():E8(e)?BP():Fr(e)?a1(ma(HK(e)),t):yY(e)?a1(c0([],ry()),t):Br(e)?QP():OY(e)?UP():SY(e)?jP():tP(e)?Z8():Ks(e)||e0(e)||Pr(e)?jr(e):ma({})}function qK(e,t){return Ve(Y8(e,!0),t)}function ZK(e,t){return Op(e)?Ap(e.parameters,t):Tr(t)}function XK(e,t){if(Br(e))throw new Error("Enum undefined or empty");const n=globalThis.Object.getOwnPropertyNames(e).filter(i=>isNaN(i)).map(i=>e[i]),a=[...new Set(n)].map(i=>jr(i));return Ca(a,{...t,[Ub]:"Enum"})}class WK extends no{}var ve;(function(e){e[e.Union=0]="Union",e[e.True=1]="True",e[e.False=2]="False"})(ve||(ve={}));function Ao(e){return e===ve.False?e:ve.True}function Tp(e){throw new WK(e)}function zr(e){return Wc(e)||md(e)||Pl(e)||is(e)||rs(e)}function Vr(e,t){return Wc(t)?HP():md(t)?ay(e,t):Pl(t)?K8(e,t):is(t)?WP():rs(t)?G8():Tp("StructuralRight")}function G8(e,t){return ve.True}function YK(e,t){return md(t)?ay(e,t):Pl(t)&&t.anyOf.some(n=>rs(n)||is(n))?ve.True:Pl(t)?ve.Union:is(t)||rs(t)?ve.True:ve.Union}function GK(e,t){return is(e)?ve.False:rs(e)?ve.Union:Wc(e)?ve.True:ve.False}function KK(e,t){return Sr(t)&&iy(t)?ve.True:zr(t)?Vr(e,t):pd(t)?Ao(Mn(e.items,t.items)):ve.False}function JK(e,t){return zr(t)?Vr(e,t):D8(t)?Ao(Mn(e.items,t.items)):ve.False}function eJ(e,t){return zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Ta(t)?Po(e,t):qb(t)?ve.True:ve.False}function zP(e,t){return bP(e)||hd(e)?ve.True:ve.False}function tJ(e,t){return zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Ta(t)?Po(e,t):hd(t)?ve.True:ve.False}function nJ(e,t){return zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Zb(t)?e.parameters.length>t.parameters.length?ve.False:e.parameters.every((n,r)=>Ao(Mn(t.parameters[r],n))===ve.True)?Ao(Mn(e.returns,t.returns)):ve.False:ve.False}function rJ(e,t){return zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Ta(t)?Po(e,t):Xb(t)?ve.True:ve.False}function aJ(e,t){return zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Wb(t)?e.parameters.length>t.parameters.length?ve.False:e.parameters.every((n,r)=>Ao(Mn(t.parameters[r],n))===ve.True)?Ao(Mn(e.returns,t.returns)):ve.False:ve.False}function VP(e,t){return Xc(e)&&Ks(e.const)||pi(e)||Zl(e)?ve.True:ve.False}function iJ(e,t){return Zl(t)||pi(t)?ve.True:zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Ta(t)?Po(e,t):ve.False}function ay(e,t){return t.allOf.every(n=>Mn(e,n)===ve.True)?ve.True:ve.False}function oJ(e,t){return e.allOf.some(n=>Mn(n,t)===ve.True)?ve.True:ve.False}function sJ(e,t){return zr(t)?Vr(e,t):B8(t)?Ao(Mn(e.items,t.items)):ve.False}function lJ(e,t){return Xc(t)&&t.const===e.const?ve.True:zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Ta(t)?Po(e,t):as(t)?XP(e):pi(t)?qP(e):Zl(t)?VP(e):hd(t)?zP(e):ve.False}function HP(e,t){return ve.False}function cJ(e,t){return ve.True}function Dk(e){let[t,n]=[e,0];for(;Bf(t);
vendor: 4,549 bytes, line 8
8)t=t.not,n+=1;return n%2===0?t:ry()}function uJ(e,t){return Bf(e)?Mn(Dk(e),t):Bf(t)?Mn(e,Dk(t)):Tp("Invalid fallthrough for Not")}function dJ(e,t){return zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Ta(t)?Po(e,t):U8(t)?ve.True:ve.False}function qP(e,t){return gP(e)||pi(e)||Zl(e)?ve.True:ve.False}function fJ(e,t){return zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Ta(t)?Po(e,t):Zl(t)||pi(t)?ve.True:ve.False}function Si(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function Bk(e){return iy(e)}function Uk(e){return Si(e,0)||Si(e,1)&&"description"in e.properties&&Pl(e.properties.description)&&e.properties.description.anyOf.length===2&&(as(e.properties.description.anyOf[0])&&Yu(e.properties.description.anyOf[1])||as(e.properties.description.anyOf[1])&&Yu(e.properties.description.anyOf[0]))}function rO(e){return Si(e,0)}function jk(e){return Si(e,0)}function pJ(e){return Si(e,0)}function hJ(e){return Si(e,0)}function mJ(e){return iy(e)}function gJ(e){const t=gd();return Si(e,0)||Si(e,1)&&"length"in e.properties&&Ao(Mn(e.properties.length,t))===ve.True}function bJ(e){return Si(e,0)}function iy(e){const t=gd();return Si(e,0)||Si(e,1)&&"length"in e.properties&&Ao(Mn(e.properties.length,t))===ve.True}function yJ(e){const t=c0([vm()],vm());return Si(e,0)||Si(e,1)&&"then"in e.properties&&Ao(Mn(e.properties.then,t))===ve.True}function ZP(e,t){return Mn(e,t)===ve.False||r2(e)&&!r2(t)?ve.False:ve.True}function Fa(e,t){return is(e)?ve.False:rs(e)?ve.Union:Wc(e)||mP(e)&&Bk(t)||gP(e)&&rO(t)||bP(e)&&jk(t)||bm(e)&&Uk(t)||qb(e)&&pJ(t)||as(e)&&Bk(t)||bm(e)&&Uk(t)||pi(e)&&rO(t)||Zl(e)&&rO(t)||hd(e)&&jk(t)||l0(e)&&mJ(t)||Xb(e)&&hJ(t)||Zb(e)&&bJ(t)||Wb(e)&&gJ(t)?ve.True:Ta(e)&&as(BS(e))?t[Ub]==="Record"?ve.True:ve.False:Ta(e)&&pi(BS(e))&&Si(t,0)?ve.True:ve.False}function vJ(e,t){return zr(t)?Vr(e,t):Ta(t)?Po(e,t):Sr(t)?(()=>{for(const n of Object.getOwnPropertyNames(t.properties)){if(!(n in e.properties)&&!r2(t.properties[n]))return ve.False;if(r2(t.properties[n]))return ve.True;if(ZP(e.properties[n],t.properties[n])===ve.False)return ve.False}return ve.True})():ve.False}function OJ(e,t){return zr(t)?Vr(e,t):Sr(t)&&yJ(t)?ve.True:j8(t)?Ao(Mn(e.item,t.item)):ve.False}function BS(e){return Uf in e.patternProperties?gd():jf in e.patternProperties?Gu():Tp("Unknown record key pattern")}function US(e){return Uf in e.patternProperties?e.patternProperties[Uf]:jf in e.patternProperties?e.patternProperties[jf]:Tp("Unable to get record value schema")}function Po(e,t){const[n,r]=[BS(t),US(t)];return mP(e)&&pi(n)&&Ao(Mn(e,r))===ve.True?ve.True:l0(e)&&pi(n)||as(e)&&pi(n)||pd(e)&&pi(n)?Mn(e,r):Sr(e)?(()=>{for(const a of Object.getOwnPropertyNames(e.properties))if(ZP(r,e.properties[a])===ve.False)return ve.False;return ve.True})():ve.False}function SJ(e,t){return zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Ta(t)?Mn(US(e),US(t)):ve.False}function wJ(e,t){const n=gm(e)?Gu():e,r=gm(t)?Gu():t;return Mn(n,r)}function XP(e,t){return Xc(e)&&Pr(e.const)||as(e)?ve.True:ve.False}function xJ(e,t){return zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Ta(t)?Po(e,t):as(t)?ve.True:ve.False}function kJ(e,t){return zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Ta(t)?Po(e,t):bm(t)?ve.True:ve.False}function AJ(e,t){return ym(e)?Mn(a2(e),t):ym(t)?Mn(e,a2(t)):Tp("Invalid fallthrough for TemplateLiteral")}function TJ(e,t){return pd(t)&&e.items!==void 0&&e.items.every(n=>Mn(n,t.items)===ve.True)}function EJ(e,t){return Wc(e)?ve.True:is(e)?ve.False:rs(e)?ve.Union:ve.False}function _J(e,t){return zr(t)?Vr(e,t):Sr(t)&&iy(t)||pd(t)&&TJ(e,t)?ve.True:Yb(t)?Br(e.items)&&!Br(t.items)||!Br(e.items)&&Br(t.items)?ve.False:Br(e.items)&&!Br(t.items)||e.items.every((n,r)=>Mn(n,t.items[r])===ve.True)?ve.True:ve.False:ve.False}function CJ(e,t){return zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Ta(t)?Po(e,t):l0(t)?ve.True:ve.False}function $J(e,t){return zr(t)?Vr(e,t):Sr(t)?Fa(e,t):Ta(t)?Po(e,t):Gb(t)?NJ(e):Yu(t)?ve.True:ve.False}function K8(e,t){return t.anyOf.some(n=>Mn(e,n)===ve.True)?ve.True:ve.False}function PJ(e,t){return e.anyOf.every(n=>Mn(n,t)===ve.True)?ve.True:ve.False}function WP(e,t){return ve.True}function IJ(e,t){return Wc(t)?HP():md(t)?ay(e,t):Pl(t)?K8(e,t):rs(t)?G8():as(t)?XP(e):pi(t)?qP(e):Zl(t)?VP(e):hd(t)?zP(e):pd(t)?GK(e):Yb(t)?EJ(e):Sr(t)?Fa(e,t):is(t)?ve.True:ve.False}function NJ(e,t){return Yu(e)||Yu(e)?ve.True:ve.False}function RJ(e,t){return md(t)?ay(e,t):Pl(t)?K8(e,t):is(t)?WP():rs(t)?G8():Sr(t)?Fa(e,t):Gb(t)?ve.True:ve.False}function Mn(e,t){return ym(e)||ym(t)?AJ(e,t):gm(e)||gm(t)?wJ(e,t):Bf(e)||Bf(t)?uJ(e,t):rs(e)?YK(e,t):pd(e)?KK(e,t):qb(e)?eJ(e,t):hd(e)?tJ(e,t):D8(e)?JK(e,t):Zb(e)?nJ(e,t):Xb(e)?rJ
8(e,t):Wb(e)?aJ(e,t):Zl(e)?iJ(e,t):md(e)?oJ(e,t):B8(e)?sJ(e,t):Xc(e)?lJ(e,t):Wc(e)?cJ():U8(e)?dJ(e,t):pi(e)?fJ(e,t):Sr(e)?vJ(e,t):Ta(e)?SJ(e,t):as(e)?xJ(e,t):bm(e)?kJ(e,t):Yb(e)?_J(e,t):j8(e)?OJ(e,t):l0(e)?CJ(e,t):Yu(e)?$J(e,t):Pl(e)?PJ(e,t):is(e)?IJ(e,t):Gb(e)?RJ(e,t):Tp(`Unknown left type operand '${e[We]}'`)}function d0(e,t){return Mn(e,t)}function MJ(e,t,n,r,a){const i={};for(const o of globalThis.Object.getOwnPropertyNames(e))i[o]=J8(e[o],t,n,r,Xi(a));return i}function LJ(e,t,n,r,a){return MJ(e.properties,t,n,r,a)}function DJ(e,t,n,r,a){const i=LJ(e,t,n,r,a);return _a(i)}function BJ(e,t,n,r){const a=d0(e,t);return a===ve.Union?Ca([n,r]):a===ve.True?n:r}function J8(e,t,n,r,a){return ro(e)?DJ(e,t,n,r,a):ud(e)?Ve(FJ(e,t,n,r,a)):Ve(BJ(e,t,n,r),a)}function UJ(e,t,n,r,a){return{[e]:J8(jr(e),t,n,r,Xi(a))}}function jJ(e,t,n,r,a){return e.reduce((i,o)=>({...i,...UJ(o,t,n,r,a)}),{})}function QJ(e,t,n,r,a){return jJ(e.keys,t,n,r,a)}function FJ(e,t,n,r,a){const i=QJ(e,t,n,r,a);return _a(i)}function zJ(e){return e.allOf.every(t=>f0(t))}function VJ(e){return e.anyOf.some(t=>f0(t))}function HJ(e){return!f0(e.not)}function f0(e){return e[We]==="Intersect"?zJ(e):e[We]==="Union"?VJ(e):e[We]==="Not"?HJ(e):e[We]==="Undefined"}function qJ(e,t){return ex(a2(e),t)}function ZJ(e,t){const n=e.filter(r=>d0(r,t)===ve.False);return n.length===1?n[0]:Ca(n)}function ex(e,t,n={}){return dd(e)?Ve(qJ(e,t),n):ro(e)?Ve(YJ(e,t),n):Ve(ga(e)?ZJ(e.anyOf,t):d0(e,t)!==ve.False?Tr():e,n)}function XJ(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=ex(e[r],t);return n}function WJ(e,t){return XJ(e.properties,t)}function YJ(e,t){const n=WJ(e,t);return _a(n)}function GJ(e,t){return tx(a2(e),t)}function KJ(e,t){const n=e.filter(r=>d0(r,t)!==ve.False);return n.length===1?n[0]:Ca(n)}function tx(e,t,n){return dd(e)?Ve(GJ(e,t),n):ro(e)?Ve(tee(e,t),n):Ve(ga(e)?KJ(e.anyOf,t):d0(e,t)!==ve.False?e:Tr(),n)}function JJ(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=tx(e[r],t);return n}function eee(e,t){return JJ(e.properties,t)}function tee(e,t){const n=eee(e,t);return _a(n)}function nee(e,t){return Op(e)?Ve(e.returns,t):Tr(t)}function YP(e){return Gc(Kc(e))}function bd(e,t,n){return Ve({[We]:"Record",type:"object",patternProperties:{[e]:t}},n)}function nx(e,t,n){const r={};for(const a of e)r[a]=t;return ma(r,{...n,[Ub]:"Record"})}function ree(e,t,n){return AP(e)?nx(Yc(e),t,n):bd(e.pattern,t,n)}function aee(e,t,n){return nx(Yc(Ca(e)),t,n)}function iee(e,t,n){return nx([e.toString()],t,n)}function oee(e,t,n){return bd(e.source,t,n)}function see(e,t,n){const r=Br(e.pattern)?jf:e.pattern;return bd(r,t,n)}function lee(e,t,n){return bd(jf,t,n)}function cee(e,t,n){return bd(nG,t,n)}function uee(e,t,n){return ma({true:t,false:t},n)}function dee(e,t,n){return bd(Uf,t,n)}function fee(e,t,n){return bd(Uf,t,n)}function GP(e,t,n={}){return ga(e)?aee(e.anyOf,t,n):dd(e)?ree(e,t,n):cd(e)?iee(e.const,t,n):i0(e)?uee(e,t,n):wp(e)?dee(e,t,n):xp(e)?fee(e,t,n):uP(e)?oee(e,t,n):s0(e)?see(e,t,n):sP(e)?lee(e,t,n):o0(e)?cee(e,t,n):Tr(n)}function rx(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function pee(e){const t=rx(e);return t===jf?Gu():t===Uf?gd():Gu({pattern:t})}function KP(e){return e.patternProperties[rx(e)]}function hee(e,t){return t.parameters=p0(e,t.parameters),t.returns=os(e,t.returns),t}function mee(e,t){return t.parameters=p0(e,t.parameters),t.returns=os(e,t.returns),t}function gee(e,t){return t.allOf=p0(e,t.allOf),t}function bee(e,t){return t.anyOf=p0(e,t.anyOf),t}function yee(e,t){return Br(t.items)||(t.items=p0(e,t.items)),t}function vee(e,t){return t.items=os(e,t.items),t}function Oee(e,t){return t.items=os(e,t.items),t}function See(e,t){return t.items=os(e,t.items),t}function wee(e,t){return t.item=os(e,t.item),t}function xee(e,t){const n=Eee(e,t.properties);return{...t,...ma(n)}}function kee(e,t){const n=os(e,pee(t)),r=os(e,KP(t)),a=GP(n,r);return{...t,...a}}function Aee(e,t){return t.index in e?e[t.index]:ry()}function Tee(e,t){const n=P8(t),r=Zc(t),a=os(e,t);return n&&r?YP(a):n&&!r?Gc(a):!n&&r?Kc(a):a}function Eee(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((n,r)=>({...n,[r]:Tee(e,t[r])}),{})}function p0(e,t){return t.map(n=>os(e,n))}function os(e,t){return Op(t)?hee(e,t):Sp(t)?mee(e,t):$o(t)?gee(e,t):ga(t)?bee(e,t):fd(t)?yee(e,t):yp(t)?vee(e,t):jb(t)?Oee(e,t):Fb(t)?See(e,t):zb(t)?wee(e,t):ms(t)?xee(e,t):Vb(t)?kee(e,t):lP(t)?Aee(e,t):t}function _ee(e,t){return os(t,_8(e))}function Cee(e){return Ve({[We]:"Integer",type:"integer"},e)}function $ee(e,t,n){return{[e]:Ep(jr(e),t,Xi(n))}}function Pee(e,t,n){return e.reduce((a,i)=>({...a,...$ee(i,t,n)}),{})}function Iee(e,t,n){return Pee(e.keys,t,n)}function Nee(e,t,n){const r=Iee(e,t,n);return _a(r)}function Ree(e){const[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join("")}function Mee(e){const[t,n]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),n].join("")}function Lee(e){return e.toUpperCase()}function Dee(e){return e.toLowerCase()}function Bee(e,t,n){const r=H8(e.pattern);if(!Sm(r))return{...e,pattern:JP(e.pattern,t)};const o=[...Jb(r)].map(c=>jr(c)),s=eI(o,t),l=Ca(s);return CP([l],n)}function JP(e,t){return typeof e=="string"?t==="Uncapitalize"?Ree(e):t==="Capitalize"?Mee(e):t==="Uppercase"?Lee(e):t==="Lowercase"?Dee(e):e:e.toString()}function eI(e,t){return e.map(n=>Ep(n,t))}function Ep(e,t,n={}){return ud(e)?Nee(e,t,n):dd(e)?Bee(e,t,n):ga(e)?Ca(eI(e.anyOf,t),n):cd(e)?
8jr(JP(e.const,t),n):Ve(e,n)}function Uee(e,t={}){return Ep(e,"Capitalize",t)}function jee(e,t={}){return Ep(e,"Lowercase",t)}function Qee(e,t={}){return Ep(e,"Uncapitalize",t)}function Fee(e,t={}){return Ep(e,"Uppercase",t)}function zee(e,t,n){const r={};for(const a of globalThis.Object.getOwnPropertyNames(e))r[a]=oy(e[a],t,Xi(n));return r}function Vee(e,t,n){return zee(e.properties,t,n)}function Hee(e,t,n){const r=Vee(e,t,n);return _a(r)}function qee(e,t){return e.map(n=>ax(n,t))}function Zee(e,t){return e.map(n=>ax(n,t))}function Xee(e,t){const{[t]:n,...r}=e;return r}function Wee(e,t){return t.reduce((n,r)=>Xee(n,r),e)}function Yee(e,t){const n=Yi(e,[ho,"$id","required","properties"]),r=Wee(e.properties,t);return ma(r,n)}function Gee(e){const t=e.reduce((n,r)=>cP(r)?[...n,jr(r)]:n,[]);return Ca(t)}function ax(e,t){return $o(e)?Jc(qee(e.allOf,t)):ga(e)?Ca(Zee(e.anyOf,t)):ms(e)?Yee(e,t):ma({})}function oy(e,t,n){const r=Ai(t)?Gee(t):t,a=Tl(t)?Yc(t):t,i=Oi(e),o=Oi(t);return ro(e)?Hee(e,a,n):ud(t)?tte(e,t,n):i&&o?Gr("Omit",[e,r],n):!i&&o?Gr("Omit",[e,r],n):i&&!o?Gr("Omit",[e,r],n):Ve({...ax(e,a),...n})}function Kee(e,t,n){return{[t]:oy(e,[t],Xi(n))}}function Jee(e,t,n){return t.reduce((r,a)=>({...r,...Kee(e,a,n)}),{})}function ete(e,t,n){return Jee(e,t.keys,n)}function tte(e,t,n){const r=ete(e,t,n);return _a(r)}function nte(e,t,n){const r={};for(const a of globalThis.Object.getOwnPropertyNames(e))r[a]=sy(e[a],t,Xi(n));return r}function rte(e,t,n){return nte(e.properties,t,n)}function ate(e,t,n){const r=rte(e,t,n);return _a(r)}function ite(e,t){return e.map(n=>ix(n,t))}function ote(e,t){return e.map(n=>ix(n,t))}function ste(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function lte(e,t){const n=Yi(e,[ho,"$id","required","properties"]),r=ste(e.properties,t);return ma(r,n)}function cte(e){const t=e.reduce((n,r)=>cP(r)?[...n,jr(r)]:n,[]);return Ca(t)}function ix(e,t){return $o(e)?Jc(ite(e.allOf,t)):ga(e)?Ca(ote(e.anyOf,t)):ms(e)?lte(e,t):ma({})}function sy(e,t,n){const r=Ai(t)?cte(t):t,a=Tl(t)?Yc(t):t,i=Oi(e),o=Oi(t);return ro(e)?ate(e,a,n):ud(t)?pte(e,t,n):i&&o?Gr("Pick",[e,r],n):!i&&o?Gr("Pick",[e,r],n):i&&!o?Gr("Pick",[e,r],n):Ve({...ix(e,a),...n})}function ute(e,t,n){return{[t]:sy(e,[t],Xi(n))}}function dte(e,t,n){return t.reduce((r,a)=>({...r,...ute(e,a,n)}),{})}function fte(e,t,n){return dte(e,t.keys,n)}function pte(e,t,n){const r=fte(e,t,n);return _a(r)}function hte(e,t){return Gr("Partial",[Gr(e,t)])}function mte(e){return Gr("Partial",[u0(e)])}function gte(e){const t={};for(const n of globalThis.Object.getOwnPropertyNames(e))t[n]=Kc(e[n]);return t}function bte(e){const t=Yi(e,[ho,"$id","required","properties"]),n=gte(e.properties);return ma(n,t)}function Qk(e){return e.map(t=>tI(t))}function tI(e){return vp(e)?hte(e.target,e.parameters):Oi(e)?mte(e.$ref):$o(e)?Jc(Qk(e.allOf)):ga(e)?Ca(Qk(e.anyOf)):ms(e)?bte(e):Qb(e)||i0(e)||wp(e)||cd(e)||I8(e)||xp(e)||s0(e)||N8(e)||R8(e)?e:ma({})}function ox(e,t){return ro(e)?Ote(e,t):Ve({...tI(e),...t})}function yte(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=ox(e[r],Xi(t));return n}function vte(e,t){return yte(e.properties,t)}function Ote(e,t){const n=vte(e,t);return _a(n)}function Ste(e,t){return Gr("Required",[Gr(e,t)])}function wte(e){return Gr("Required",[u0(e)])}function xte(e){const t={};for(const n of globalThis.Object.getOwnPropertyNames(e))t[n]=Yi(e[n],[ql]);return t}function kte(e){const t=Yi(e,[ho,"$id","required","properties"]),n=xte(e.properties);return ma(n,t)}function Fk(e){return e.map(t=>nI(t))}function nI(e){return vp(e)?Ste(e.target,e.parameters):Oi(e)?wte(e.$ref):$o(e)?Jc(Fk(e.allOf)):ga(e)?Ca(Fk(e.anyOf)):ms(e)?kte(e):Qb(e)||i0(e)||wp(e)||cd(e)||I8(e)||xp(e)||s0(e)||N8(e)||R8(e)?e:ma({})}function sx(e,t){return ro(e)?Ete(e,t):Ve({...nI(e),...t})}function Ate(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=sx(e[r],t);return n}function Tte(e,t){return Ate(e.properties,t)}function Ete(e,t){const n=Tte(e,t);return _a(n)}function _te(e,t){return t.map(n=>Oi(n)?lx(e,n.$ref):Gi(e,n))}function lx(e,t){return t in e?Oi(e[t])?lx(e,e[t].$ref):Gi(e,e[t]):Tr()}function Cte(e){return ty(e[0])}function $te(e){return ey(e[0],e[1])}function Pte(e){return W8(e[0])}function Ite(e){return ox(e[0])}function Nte(e){return oy(e[0],e[1])}function Rte(e){return sy(e[0],e[1])}function Mte(e){return sx(e[0])}function Lte(e,t,n){const r=_te(e,n);return t==="Awaited"?Cte(r):t==="Index"?$te(r):t==="KeyOf"?Pte(r):t==="Parti
8al"?Ite(r):t==="Omit"?Nte(r):t==="Pick"?Rte(r):t==="Required"?Mte(r):Tr()}function Dte(e,t){return Q8(Gi(e,t))}function Bte(e,t){return F8(Gi(e,t))}function Ute(e,t,n){return z8(h0(e,t),Gi(e,n))}function jte(e,t,n){return c0(h0(e,t),Gi(e,n))}function Qte(e,t){return Jc(h0(e,t))}function Fte(e,t){return X8(Gi(e,t))}function zte(e,t){return ma(globalThis.Object.keys(t).reduce((n,r)=>({...n,[r]:Gi(e,t[r])}),{}))}function Vte(e,t){const[n,r]=[Gi(e,KP(t)),rx(t)],a=_8(t);return a.patternProperties[r]=n,a}function Hte(e,t){return Oi(t)?{...lx(e,t.$ref),[ho]:t[ho]}:t}function qte(e,t){return Ap(h0(e,t))}function Zte(e,t){return Ca(h0(e,t))}function h0(e,t){return t.map(n=>Gi(e,n))}function Gi(e,t){return Zc(t)?Ve(Gi(e,Yi(t,[ql])),t):P8(t)?Ve(Gi(e,Yi(t,[a0])),t):Hb(t)?Ve(Hte(e,t),t):yp(t)?Ve(Dte(e,t.items),t):jb(t)?Ve(Bte(e,t.items),t):vp(t)?Ve(Lte(e,t.target,t.parameters)):Op(t)?Ve(Ute(e,t.parameters,t.returns),t):Sp(t)?Ve(jte(e,t.parameters,t.returns),t):$o(t)?Ve(Qte(e,t.allOf),t):Fb(t)?Ve(Fte(e,t.items),t):ms(t)?Ve(zte(e,t.properties),t):Vb(t)?Ve(Vte(e,t)):fd(t)?Ve(qte(e,t.items||[]),t):ga(t)?Ve(Zte(e,t.anyOf),t):t}function Xte(e,t){return t in e?Gi(e,e[t]):Tr()}function Wte(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:Xte(e,n)}),{})}class Yte{constructor(t){const n=Wte(t),r=this.WithIdentifiers(n);this.$defs=r}Import(t,n){const r={...this.$defs,[t]:Ve(this.$defs[t],n)};return Ve({[We]:"Import",$defs:r,$ref:t})}WithIdentifiers(t){return globalThis.Object.getOwnPropertyNames(t).reduce((n,r)=>({...n,[r]:{...t[r],$id:r}}),{})}}function Gte(e){return new Yte(e)}function Kte(e,t){return Ve({[We]:"Not",not:e},t)}function Jte(e,t){return Sp(e)?Ap(e.parameters,t):Tr()}let ene=0;function tne(e,t={}){Br(t.$id)&&(t.$id=`T${ene++}`);const n=_8(e({[We]:"This",$ref:`${t.$id}`}));return n.$id=t.$id,Ve({[Ub]:"Recursive",...n},t)}function nne(e,t){const n=Pr(e)?new globalThis.RegExp(e):e;return Ve({[We]:"RegExp",type:"RegExp",source:n.source,flags:n.flags},t)}function rne(e){return $o(e)?e.allOf:ga(e)?e.anyOf:fd(e)?e.items??[]:[]}function ane(e){return rne(e)}function ine(e,t){return Sp(e)?Ve(e.returns,t):Tr(t)}class one{constructor(t){this.schema=t}Decode(t){return new sne(this.schema,t)}}class sne{constructor(t,n){this.schema=t,this.decode=n}EncodeTransform(t,n){const i={Encode:o=>n[ho].Encode(t(o)),Decode:o=>this.decode(n[ho].Decode(o))};return{...n,[ho]:i}}EncodeSchema(t,n){const r={Decode:this.decode,Encode:t};return{...n,[ho]:r}}Encode(t){return Hb(this.schema)?this.EncodeTransform(t,this.schema):this.EncodeSchema(t,this.schema)}}function lne(e){return new one(e)}function cne(e={}){return Ve({[We]:e[We]??"Unsafe"},e)}function une(e){return Ve({[We]:"Void",type:"void"},e)}const dne=Object.freeze(Object.defineProperty({__proto__:null,Any:vm,Argument:cG,Array:Q8,AsyncIterator:F8,Awaited:ty,BigInt:Z8,Boolean:EP,Capitalize:Uee,Composite:zK,Const:qK,Constructor:z8,ConstructorParameters:ZK,Date:BP,Enum:XK,Exclude:ex,Extends:J8,Extract:tx,Function:c0,Index:ey,InstanceType:nee,Instantiate:_ee,Integer:Cee,Intersect:Jc,Iterator:X8,KeyOf:W8,Literal:jr,Lowercase:jee,Mapped:dK,Module:Gte,Never:Tr,Not:Kte,Null:UP,Number:gd,Object:ma,Omit:oy,Optional:Kc,Parameters:Jte,Partial:ox,Pick:sy,Promise:NP,Readonly:Gc,ReadonlyOptional:YP,Record:GP,Recursive:tne,Ref:u0,RegExp:nne,Required:sx,Rest:ane,ReturnType:ine,String:Gu,Symbol:jP,TemplateLiteral:CP,Transform:lne,Tuple:Ap,Uint8Array:FP,Uncapitalize:Qee,Undefined:QP,Union:Ca,Unknown:ry,Unsafe:cne,Uppercase:Fee,Void:une},Symbol.toStringTag,{value:"Module"})),v=dne,at=(...e)=>v.Composite(e);function fne(e){switch(e.errorType){case he.ArrayContains:return"Expected array to contain at least one matching value";case he.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case he.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case he.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case he.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case he.ArrayUniqueItems:return"Expected array elements to be unique";case he.Array:return"Expected array";case he.AsyncIterator:return"Expected AsyncIterator";case he.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case he.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case he.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case he.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case he.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case he.BigInt:return"Expected bigint";case he.Boolean:return"Expected boolean";
8case he.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case he.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case he.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case he.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case he.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case he.Date:return"Expected Date";case he.Function:return"Expected function";case he.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case he.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case he.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case he.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case he.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case he.Integer:return"Expected integer";case he.IntersectUnevaluatedProperties:return"Unexpected property";case he.Intersect:return"Expected all values to match";case he.Iterator:return"Expected Iterator";case he.Literal:return`Expected ${typeof e.schema.const=="string"?`'${e.schema.const}'`:e.schema.const}`;case he.Never:return"Never";case he.Not:return"Value should not match";case he.Null:return"Expected null";case he.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case he.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case he.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case he.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case he.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case he.Number:return"Expected number";case he.Object:return"Expected object";case he.ObjectAdditionalProperties:return"Unexpected property";case he.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case he.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case he.ObjectRequiredProperty:return"Expected required property";case he.Promise:return"Expected Promise";case he.RegExp:return"Expected string to match regular expression";case he.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case he.StringFormat:return`Expected string to match '${e.schema.format}' format`;case he.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case he.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case he.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case he.String:return"Expected string";case he.Symbol:return"Expected symbol";case he.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case he.Tuple:return"Expected tuple";case he.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case he.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case he.Uint8Array:return"Expected Uint8Array";case he.Undefined:return"Expected undefined";case he.Union:return"Expected union value";case he.Void:return"Expected void";case he.Kind:return`Expected kind '${e.schema[We]}'`;default:return"Unknown error type"}}let pne=fne;function hne(){return pne}class mne extends no{constructor(t){super(`Unable to dereference schema with $id '${t.$ref}'`),this.schema=t}}function gne(e,t){const n=t.find(r=>r.$id===e.$ref);if(n===void 0)throw new mne(e);return gs(n,t)}function cx(e,t){return!es(e.$id)||t.some(n=>n.$id===e.$id)||t.push(e),t}function gs(e,t){return e[We]==="This"||e[We]==="Ref"?gne(e,t):e}class bne extends no{constructor(t){super("Unable to hash value"),this.value=t}}var Ki;
8(function(e){e[e.Undefined=0]="Undefined",e[e.Null=1]="Null",e[e.Boolean=2]="Boolean",e[e.Number=3]="Number",e[e.String=4]="String",e[e.Object=5]="Object",e[e.Array=6]="Array",e[e.Date=7]="Date",e[e.Uint8Array=8]="Uint8Array",e[e.Symbol=9]="Symbol",e[e.BigInt=10]="BigInt"})(Ki||(Ki={}));let of=BigInt("14695981039346656037");const[yne,vne]=[BigInt("1099511628211"),BigInt("18446744073709551616")],One=Array.from({length:256}).map((e,t)=>BigInt(t)),rI=new Float64Array(1),aI=new DataView(rI.buffer),iI=new Uint8Array(rI.buffer);function*Sne(e){const t=e===0?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let n=0;n<t;n++)yield e>>8*(t-1-n)&255}function wne(e){ja(Ki.Array);for(const t of e)Ff(t)}function xne(e){ja(Ki.Boolean),ja(e?1:0)}function kne(e){ja(Ki.BigInt),aI.setBigInt64(0,e);for(const t of iI)ja(t)}function Ane(e){ja(Ki.Date),Ff(e.getTime())}function Tne(e){ja(Ki.Null)}function Ene(e){ja(Ki.Number),aI.setFloat64(0,e);for(const t of iI)ja(t)}function _ne(e){ja(Ki.Object);for(const t of globalThis.Object.getOwnPropertyNames(e).sort())Ff(t),Ff(e[t])}function Cne(e){ja(Ki.String);for(let t=0;t<e.length;t++)for(const n of Sne(e.charCodeAt(t)))ja(n)}function $ne(e){ja(Ki.Symbol),Ff(e.description)}function Pne(e){ja(Ki.Uint8Array);for(let t=0;t<e.length;t++)ja(e[t])}function Ine(e){return ja(Ki.Undefined)}function Ff(e){if(Hl(e))return wne(e);if(Lb(e))return xne(e);if(Db(e))return kne(e);if(Mb(e))return Ane(e);if(r0(e))return Tne();if(Xo(e))return Ene(e);if(Fo(e))return _ne(e);if(es(e))return Cne(e);if(Bb(e))return $ne(e);if(C8(e))return Pne(e);if(n0(e))return Ine();throw new bne(e)}function ja(e){of=of^One[e],of=of*yne%vne}function oI(e){return of=BigInt("14695981039346656037"),Ff(e),of}class Nne extends no{constructor(t){super("Unknown type"),this.schema=t}}function sI(e,t,n){const r=e.get(t);if(r&&r.has(n))return!1;if(r)return r.add(n),!0;e.set(t,new WeakSet([n]))}function Rne(e){return e[We]==="Any"||e[We]==="Unknown"}function nn(e){return e!==void 0}function Mne(e,t,n){return!0}function Lne(e,t,n){return!0}function Dne(e,t,n,r){if(!Hl(n)||nn(e.minItems)&&!(n.length>=e.minItems)||nn(e.maxItems)&&!(n.length<=e.maxItems))return!1;if(sI(r,n,e)===!1)return!0;if(!n.every(o=>pa(e.items,t,o,r))||e.uniqueItems===!0&&!(function(){const o=new Set;for(const s of n){const l=oI(s);if(o.has(l))return!1;o.add(l)}return!0})())return!1;if(!(nn(e.contains)||Xo(e.minContains)||Xo(e.maxContains)))return!0;const a=nn(e.contains)?e.contains:Tr(),i=n.reduce((o,s)=>pa(a,t,s,r)?o+1:o,0);return!(i===0||Xo(e.minContains)&&i<e.minContains||Xo(e.maxContains)&&i>e.maxContains)}function Bne(e,t,n){return rP(n)}function Une(e,t,n){return!(!Db(n)||nn(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||nn(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||nn(e.maximum)&&!(n<=e.maximum)||nn(e.minimum)&&!(n>=e.minimum)||nn(e.multipleOf)&&n%e.multipleOf!==BigInt(0))}function jne(e,t,n){return Lb(n)}function Qne(e,t,n,r){return pa(e.returns,t,n.prototype,r)}function Fne(e,t,n){return!(!Mb(n)||nn(e.exclusiveMaximumTimestamp)&&!(n.getTime()<e.exclusiveMaximumTimestamp)||nn(e.exclusiveMinimumTimestamp)&&!(n.getTime()>e.exclusiveMinimumTimestamp)||nn(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)||nn(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)||nn(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!==0)}function zne(e,t,n){return $8(n)}function Vne(e,t,n,r){const a=globalThis.Object.values(e.$defs),i=e.$defs[e.$ref];return pa(i,[...t,...a],n,r)}function Hne(e,t,n){return!(!oP(n)||nn(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||nn(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||nn(e.maximum)&&!(n<=e.maximum)||nn(e.minimum)&&!(n>=e.minimum)||nn(e.multipleOf)&&n%e.multipleOf!==0)}function qne(e,t,n,r){const a=e.allOf.every(i=>pa(i,t,n,r));if(e.unevaluatedProperties===!1){const i=new RegExp(i2(e)),o=Object.getOwnPropertyNames(n).every(s=>i.test(s));return a&&o}else if(Tl(e.unevaluatedProperties)){const i=new RegExp(i2(e)),o=Object.getOwnPropertyNames(n).every(s=>i.test(s)||pa(e.unevaluatedProperties,t,n[s],r));return a&&o}else return a}function Zne(e,t,n){return aP(n)}function Xne(e,t,n){return n===e.const}function Wne(e,t,n){return!1}function Yne(e,t,n,r){return!pa(e.not,t,n,r)}function Gne(e,t,n){return r0(n)}function Kne(e,t,n){return!(!Wi.IsNumberLike(n)||nn(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||nn(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||nn(e.minimum)&&!(n>=e.minimum)||nn(e.maximum)&&!(n<=e.maximum)||nn(e.multipleOf)&&n%e.multipleOf!==0)}function Jne(e,t,n,r){if(!Wi.IsObjectLike(n)||nn(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>
8=e.minProperties)||nn(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;if(sI(r,n,e)===!1)return!0;const a=Object.getOwnPropertyNames(e.properties);for(const i of a){const o=e.properties[i];if(e.required&&e.required.includes(i)){if(!pa(o,t,n[i],r)||(f0(o)||Rne(o))&&!(i in n))return!1}else if(Wi.IsExactOptionalProperty(n,i)&&!pa(o,t,n[i],r))return!1}if(e.additionalProperties===!1){const i=Object.getOwnPropertyNames(n);return e.required&&e.required.length===a.length&&i.length===a.length?!0:i.every(o=>a.includes(o))}else return typeof e.additionalProperties=="object"?Object.getOwnPropertyNames(n).every(s=>a.includes(s)||pa(e.additionalProperties,t,n[s],r)):!0}function ere(e,t,n){return iP(n)}function tre(e,t,n,r){if(!Wi.IsRecordLike(n)||nn(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||nn(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;const[a,i]=Object.entries(e.patternProperties)[0],o=new RegExp(a),s=Object.entries(n).every(([u,d])=>o.test(u)?pa(i,t,d,r):!0),l=typeof e.additionalProperties=="object"?Object.entries(n).every(([u,d])=>o.test(u)?!0:pa(e.additionalProperties,t,d,r)):!0,c=e.additionalProperties===!1?Object.getOwnPropertyNames(n).every(u=>o.test(u)):!0;return s&&l&&c}function nre(e,t,n,r){return pa(gs(e,t),t,n,r)}function rre(e,t,n){const r=new RegExp(e.source,e.flags);return nn(e.minLength)&&!(n.length>=e.minLength)||nn(e.maxLength)&&!(n.length<=e.maxLength)?!1:r.test(n)}function are(e,t,n){return!es(n)||nn(e.minLength)&&!(n.length>=e.minLength)||nn(e.maxLength)&&!(n.length<=e.maxLength)||nn(e.pattern)&&!new RegExp(e.pattern).test(n)?!1:nn(e.format)?OP(e.format)?SP(e.format)(n):!1:!0}function ire(e,t,n){return Bb(n)}function ore(e,t,n){return es(n)&&new RegExp(e.pattern).test(n)}function sre(e,t,n,r){return pa(gs(e,t),t,n,r)}function lre(e,t,n,r){if(!Hl(n)||e.items===void 0&&n.length!==0||n.length!==e.maxItems)return!1;if(!e.items)return!0;for(let a=0;a<e.items.length;a++)if(!pa(e.items[a],t,n[a],r))return!1;return!0}function cre(e,t,n){return n0(n)}function ure(e,t,n,r){return e.anyOf.some(a=>pa(a,t,n,r))}function dre(e,t,n){return!(!C8(n)||nn(e.maxByteLength)&&!(n.length<=e.maxByteLength)||nn(e.minByteLength)&&!(n.length>=e.minByteLength))}function fre(e,t,n){return!0}function pre(e,t,n){return Wi.IsVoidLike(n)}function hre(e,t,n){return Kb(e[We])?xP(e[We])(e,n):!1}function pa(e,t,n,r){const a=nn(e.$id)?cx(e,t):t,i=e;switch(i[We]){case"Any":return Mne();case"Argument":return Lne();case"Array":return Dne(i,a,n,r);case"AsyncIterator":return Bne(i,a,n);case"BigInt":return Une(i,a,n);case"Boolean":return jne(i,a,n);case"Constructor":return Qne(i,a,n,r);case"Date":return Fne(i,a,n);case"Function":return zne(i,a,n);case"Import":return Vne(i,a,n,r);case"Integer":return Hne(i,a,n);case"Intersect":return qne(i,a,n,r);case"Iterator":return Zne(i,a,n);case"Literal":return Xne(i,a,n);case"Never":return Wne();case"Not":return Yne(i,a,n,r);case"Null":return Gne(i,a,n);case"Number":return Kne(i,a,n);case"Object":return Jne(i,a,n,r);case"Promise":return ere(i,a,n);case"Record":return tre(i,a,n,r);case"Ref":return nre(i,a,n,r);case"RegExp":return rre(i,a,n);case"String":return are(i,a,n);case"Symbol":return ire(i,a,n);case"TemplateLiteral":return ore(i,a,n);case"This":return sre(i,a,n,r);case"Tuple":return lre(i,a,n,r);case"Undefined":return cre(i,a,n);case"Union":return ure(i,a,n,r);case"Uint8Array":return dre(i,a,n);case"Unknown":return fre();case"Void":return pre(i,a,n);default:if(!Kb(i[We]))throw new Nne(i);return hre(i,a,n)}}function Qa(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?pa(e[0],[],e[1],e[2]??new WeakMap):pa(e[0],e[1],e[2],e[3]??new WeakMap)}var he;(function(e){e[e.ArrayContains=0]="ArrayContains",e[e.ArrayMaxContains=1]="ArrayMaxContains",e[e.ArrayMaxItems=2]="ArrayMaxItems",e[e.ArrayMinContains=3]="ArrayMinContains",e[e.ArrayMinItems=4]="ArrayMinItems",e[e.ArrayUniqueItems=5]="ArrayUniqueItems",e[e.Array=6]="Array",e[e.AsyncIterator=7]="AsyncIterator",e[e.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",e[e.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",e[e.BigIntMaximum=10]="BigIntMaximum",e[e.BigIntMinimum=11]="BigIntMinimum",e[e.BigIntMultipleOf=12]="BigIntMultipleOf",e[e.BigInt=13]="BigInt",e[e.Boolean=14]="Boolean",e[e.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",e[e.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",e[e.DateMaximumTimestamp=17]="DateMaximumTimestamp",e[e.DateMinimumTimestamp=18]="DateMinimumTimestamp",e[e.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",e[e.Date=20]="Date",e[e.Fu
8nction=21]="Function",e[e.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",e[e.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",e[e.IntegerMaximum=24]="IntegerMaximum",e[e.IntegerMinimum=25]="IntegerMinimum",e[e.IntegerMultipleOf=26]="IntegerMultipleOf",e[e.Integer=27]="Integer",e[e.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",e[e.Intersect=29]="Intersect",e[e.Iterator=30]="Iterator",e[e.Kind=31]="Kind",e[e.Literal=32]="Literal",e[e.Never=33]="Never",e[e.Not=34]="Not",e[e.Null=35]="Null",e[e.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",e[e.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",e[e.NumberMaximum=38]="NumberMaximum",e[e.NumberMinimum=39]="NumberMinimum",e[e.NumberMultipleOf=40]="NumberMultipleOf",e[e.Number=41]="Number",e[e.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",e[e.ObjectMaxProperties=43]="ObjectMaxProperties",e[e.ObjectMinProperties=44]="ObjectMinProperties",e[e.ObjectRequiredProperty=45]="ObjectRequiredProperty",e[e.Object=46]="Object",e[e.Promise=47]="Promise",e[e.RegExp=48]="RegExp",e[e.StringFormatUnknown=49]="StringFormatUnknown",e[e.StringFormat=50]="StringFormat",e[e.StringMaxLength=51]="StringMaxLength",e[e.StringMinLength=52]="StringMinLength",e[e.StringPattern=53]="StringPattern",e[e.String=54]="String",e[e.Symbol=55]="Symbol",e[e.TupleLength=56]="TupleLength",e[e.Tuple=57]="Tuple",e[e.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",e[e.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",e[e.Uint8Array=60]="Uint8Array",e[e.Undefined=61]="Undefined",e[e.Union=62]="Union",e[e.Void=63]="Void"})(he||(he={}));class mre extends no{constructor(t){super("Unknown type"),this.schema=t}}function hl(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function en(e){return e!==void 0}class lI{constructor(t){this.iterator=t}[Symbol.iterator](){return this.iterator}First(){const t=this.iterator.next();return t.done?void 0:t.value}}function Ze(e,t,n,r,a=[]){return{type:e,schema:t,path:n,value:r,message:hne()({errorType:e,path:n,schema:t,value:r,errors:a}),errors:a}}function*gre(e,t,n,r){}function*bre(e,t,n,r){}function*yre(e,t,n,r){if(!Hl(r))return yield Ze(he.Array,e,n,r);en(e.minItems)&&!(r.length>=e.minItems)&&(yield Ze(he.ArrayMinItems,e,n,r)),en(e.maxItems)&&!(r.length<=e.maxItems)&&(yield Ze(he.ArrayMaxItems,e,n,r));for(let o=0;o<r.length;o++)yield*ha(e.items,t,`${n}/${o}`,r[o]);if(e.uniqueItems===!0&&!(function(){const o=new Set;for(const s of r){const l=oI(s);if(o.has(l))return!1;o.add(l)}return!0})()&&(yield Ze(he.ArrayUniqueItems,e,n,r)),!(en(e.contains)||en(e.minContains)||en(e.maxContains)))return;const a=en(e.contains)?e.contains:Tr(),i=r.reduce((o,s,l)=>ha(a,t,`${n}${l}`,s).next().done===!0?o+1:o,0);i===0&&(yield Ze(he.ArrayContains,e,n,r)),Xo(e.minContains)&&i<e.minContains&&(yield Ze(he.ArrayMinContains,e,n,r)),Xo(e.maxContains)&&i>e.maxContains&&(yield Ze(he.ArrayMaxContains,e,n,r))}function*vre(e,t,n,r){rP(r)||(yield Ze(he.AsyncIterator,e,n,r))}function*Ore(e,t,n,r){if(!Db(r))return yield Ze(he.BigInt,e,n,r);en(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield Ze(he.BigIntExclusiveMaximum,e,n,r)),en(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield Ze(he.BigIntExclusiveMinimum,e,n,r)),en(e.maximum)&&!(r<=e.maximum)&&(yield Ze(he.BigIntMaximum,e,n,r)),en(e.minimum)&&!(r>=e.minimum)&&(yield Ze(he.BigIntMinimum,e,n,r)),en(e.multipleOf)&&r%e.multipleOf!==BigInt(0)&&(yield Ze(he.BigIntMultipleOf,e,n,r))}function*Sre(e,t,n,r){Lb(r)||(yield Ze(he.Boolean,e,n,r))}function*wre(e,t,n,r){yield*ha(e.returns,t,n,r.prototype)}function*xre(e,t,n,r){if(!Mb(r))return yield Ze(he.Date,e,n,r);en(e.exclusiveMaximumTimestamp)&&!(r.getTime()<e.exclusiveMaximumTimestamp)&&(yield Ze(he.DateExclusiveMaximumTimestamp,e,n,r)),en(e.exclusiveMinimumTimestamp)&&!(r.getTime()>e.exclusiveMinimumTimestamp)&&(yield Ze(he.DateExclusiveMinimumTimestamp,e,n,r)),en(e.maximumTimestamp)&&!(r.getTime()<=e.maximumTimestamp)&&(yield Ze(he.DateMaximumTimestamp,e,n,r)),en(e.minimumTimestamp)&&!(r.getTime()>=e.minimumTimestamp)&&(yield Ze(he.DateMinimumTimestamp,e,n,r)),en(e.multipleOfTimestamp)&&r.getTime()%e.multipleOfTimestamp!==0&&(yield Ze(he.DateMultipleOfTimestamp,e,n,r))}function*kre(e,t,n,r){$8(r)||(yield Ze(he.Function,e,n,r))}function*Are(e,t,n,r){const a=globalThis.Object.values(e.$defs),i=e.$defs[e.$ref];yield*ha(i,[...t,...a],n,r)}function*Tre(e,t,n,r){if(!oP(r))return yield Ze(he.Integer,e,n,r);en(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield Ze(he.IntegerExclusiveMaximum,e,n,r)),en(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield Ze(he.IntegerExclusiveMinimum,e,n,r)),en(e.maximum)&&!(r<=e.maximum)&&(yield Ze(he.IntegerMaximum,e,n,r)),en(e.minimum)&&!(r>=e.minimum)&&(yield Ze(he.IntegerMinimum,e,n,r)),en(e.multipleOf)&&r%e.multipleOf!==0&&(yield Ze(he.IntegerMultipleOf,e,n,r))}function*Ere(e,t,n,r){let a=!1;for(const i of e.allOf)for(const o of ha(i,t,n,r))a=!0,yield o;if(a)return yield Ze(he.Intersect,e,n,r);if(e.unevaluatedProperties===!1){const i=new RegExp(i2(e));for(const o of Object.getOwnPropertyNames(r))i.test(o)||(yield Ze(he.IntersectUnevaluatedProperties,e,`${n}/${o}`,r))}if(typeof e.unevaluatedProperties=="object"){const i=new RegExp(i2(e));for(const o of Object.getOwnPropertyNames(r))if(!i.test(o)){const s=ha(e.unevaluatedProperties,t,`${n}/${o}`,r[o]).next();s.done||(yield s.value)}}}function*_re(e,t,n,r){aP(r)||(yield Ze(he.Iterator,e,n,r))}function*Cre(e,t,n,r){r!==e.const&&(yield Ze(he.Literal,e,n,r))}
8function*$re(e,t,n,r){yield Ze(he.Never,e,n,r)}function*Pre(e,t,n,r){ha(e.not,t,n,r).next().done===!0&&(yield Ze(he.Not,e,n,r))}function*Ire(e,t,n,r){r0(r)||(yield Ze(he.Null,e,n,r))}function*Nre(e,t,n,r){if(!Wi.IsNumberLike(r))return yield Ze(he.Number,e,n,r);en(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield Ze(he.NumberExclusiveMaximum,e,n,r)),en(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield Ze(he.NumberExclusiveMinimum,e,n,r)),en(e.maximum)&&!(r<=e.maximum)&&(yield Ze(he.NumberMaximum,e,n,r)),en(e.minimum)&&!(r>=e.minimum)&&(yield Ze(he.NumberMinimum,e,n,r)),en(e.multipleOf)&&r%e.multipleOf!==0&&(yield Ze(he.NumberMultipleOf,e,n,r))}function*Rre(e,t,n,r){if(!Wi.IsObjectLike(r))return yield Ze(he.Object,e,n,r);en(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield Ze(he.ObjectMinProperties,e,n,r)),en(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield Ze(he.ObjectMaxProperties,e,n,r));const a=Array.isArray(e.required)?e.required:[],i=Object.getOwnPropertyNames(e.properties),o=Object.getOwnPropertyNames(r);for(const s of a)o.includes(s)||(yield Ze(he.ObjectRequiredProperty,e.properties[s],`${n}/${hl(s)}`,void 0));if(e.additionalProperties===!1)for(const s of o)i.includes(s)||(yield Ze(he.ObjectAdditionalProperties,e,`${n}/${hl(s)}`,r[s]));if(typeof e.additionalProperties=="object")for(const s of o)i.includes(s)||(yield*ha(e.additionalProperties,t,`${n}/${hl(s)}`,r[s]));for(const s of i){const l=e.properties[s];e.required&&e.required.includes(s)?(yield*ha(l,t,`${n}/${hl(s)}`,r[s]),f0(e)&&!(s in r)&&(yield Ze(he.ObjectRequiredProperty,l,`${n}/${hl(s)}`,void 0))):Wi.IsExactOptionalProperty(r,s)&&(yield*ha(l,t,`${n}/${hl(s)}`,r[s]))}}function*Mre(e,t,n,r){iP(r)||(yield Ze(he.Promise,e,n,r))}function*Lre(e,t,n,r){if(!Wi.IsRecordLike(r))return yield Ze(he.Object,e,n,r);en(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield Ze(he.ObjectMinProperties,e,n,r)),en(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield Ze(he.ObjectMaxProperties,e,n,r));const[a,i]=Object.entries(e.patternProperties)[0],o=new RegExp(a);for(const[s,l]of Object.entries(r))o.test(s)&&(yield*ha(i,t,`${n}/${hl(s)}`,l));if(typeof e.additionalProperties=="object")for(const[s,l]of Object.entries(r))o.test(s)||(yield*ha(e.additionalProperties,t,`${n}/${hl(s)}`,l));if(e.additionalProperties===!1){for(const[s,l]of Object.entries(r))if(!o.test(s))return yield Ze(he.ObjectAdditionalProperties,e,`${n}/${hl(s)}`,l)}}function*Dre(e,t,n,r){yield*ha(gs(e,t),t,n,r)}function*Bre(e,t,n,r){if(!es(r))return yield Ze(he.String,e,n,r);if(en(e.minLength)&&!(r.length>=e.minLength)&&(yield Ze(he.StringMinLength,e,n,r)),en(e.maxLength)&&!(r.length<=e.maxLength)&&(yield Ze(he.StringMaxLength,e,n,r)),!new RegExp(e.source,e.flags).test(r))return yield Ze(he.RegExp,e,n,r)}function*Ure(e,t,n,r){if(!es(r))return yield Ze(he.String,e,n,r);en(e.minLength)&&!(r.length>=e.minLength)&&(yield Ze(he.StringMinLength,e,n,r)),en(e.maxLength)&&!(r.length<=e.maxLength)&&(yield Ze(he.StringMaxLength,e,n,r)),es(e.pattern)&&(new RegExp(e.pattern).test(r)||(yield Ze(he.StringPattern,e,n,r))),es(e.format)&&(OP(e.format)?SP(e.format)(r)||(yield Ze(he.StringFormat,e,n,r)):yield Ze(he.StringFormatUnknown,e,n,r))}function*jre(e,t,n,r){Bb(r)||(yield Ze(he.Symbol,e,n,r))}function*Qre(e,t,n,r){if(!es(r))return yield Ze(he.String,e,n,r);new RegExp(e.pattern).test(r)||(yield Ze(he.StringPattern,e,n,r))}function*Fre(e,t,n,r){yield*ha(gs(e,t),t,n,r)}function*zre(e,t,n,r){if(!Hl(r))return yield Ze(he.Tuple,e,n,r);if(e.items===void 0&&r.length!==0)return yield Ze(he.TupleLength,e,n,r);if(r.length!==e.maxItems)return yield Ze(he.TupleLength,e,n,r);if(e.items)for(let a=0;a<e.items.length;a++)yield*ha(e.items[a],t,`${n}/${a}`,r[a])}function*Vre(e,t,n,r){n0(r)||(yield Ze(he.Undefined,e,n,r))}function*Hre(e,t,n,r){if(Qa(e,t,r))return;const a=e.anyOf.map(i=>new lI(ha(i,t,n,r)));yield Ze(he.Union,e,n,r,a)}function*qre(e,t,n,r){if(!C8(r))return yield Ze(he.Uint8Array,e,n,r);en(e.maxByteLength)&&!(r.length<=e.maxByteLength)&&(yield Ze(he.Uint8ArrayMaxByteLength,e,n,r)),en(e.minByteLength)&&!(r.length>=e.minByteLength)&&(yield Ze(he.Uint8ArrayMinByteLength,e,n,r))}function*Zre(e,t,n,r){}function*Xre(e,t,n,r){Wi.IsVoidLike(r)||(yield Ze(he.Void,e,n,r))}function*Wre(e,t,n,r){xP(e[We])(e,r)||(yield Ze(he.Kind,e,n,r))}function*ha(e,t,n,r){const a=en(e.$id)?[...t,e]:t,i=e;switch(i[We]){case"Any":return yield*gre();case"Argument":return yield*bre();case"Array":return yield*yre(i,a,n,r);case"AsyncIterator":return yield*vre(i,a,n,r);case"BigInt":return yield*Ore(i,a,n,r);case"Boolean":return yield*Sre(i,a,n,r);case"Constructor":return yield*wre(i,a,n,r);case"Date":return yield*xre(i,a,n,r);
8case"Function":return yield*kre(i,a,n,r);case"Import":return yield*Are(i,a,n,r);case"Integer":return yield*Tre(i,a,n,r);case"Intersect":return yield*Ere(i,a,n,r);case"Iterator":return yield*_re(i,a,n,r);case"Literal":return yield*Cre(i,a,n,r);case"Never":return yield*$re(i,a,n,r);case"Not":return yield*Pre(i,a,n,r);case"Null":return yield*Ire(i,a,n,r);case"Number":return yield*Nre(i,a,n,r);case"Object":return yield*Rre(i,a,n,r);case"Promise":return yield*Mre(i,a,n,r);case"Record":return yield*Lre(i,a,n,r);case"Ref":return yield*Dre(i,a,n,r);case"RegExp":return yield*Bre(i,a,n,r);case"String":return yield*Ure(i,a,n,r);case"Symbol":return yield*jre(i,a,n,r);case"TemplateLiteral":return yield*Qre(i,a,n,r);case"This":return yield*Fre(i,a,n,r);case"Tuple":return yield*zre(i,a,n,r);case"Undefined":return yield*Vre(i,a,n,r);case"Union":return yield*Hre(i,a,n,r);case"Uint8Array":return yield*qre(i,a,n,r);case"Unknown":return yield*Zre();case"Void":return yield*Xre(i,a,n,r);default:if(!Kb(i[We]))throw new mre(e);return yield*Wre(i,a,n,r)}}function Yre(...e){const t=e.length===3?ha(e[0],e[1],"",e[2]):ha(e[0],[],"",e[1]);return new lI(t)}function Gre(e,t){if(t.has(e))return t.get(e);const n={};t.set(e,n);for(const r of Object.getOwnPropertyNames(e))n[r]=To(e[r],t);for(const r of Object.getOwnPropertySymbols(e))n[r]=To(e[r],t);return n}function Kre(e,t){if(t.has(e))return t.get(e);const n=[];t.set(e,n);for(let r=0;r<e.length;r++)n.push(To(e[r],t));return n}function Jre(e){return e.slice()}function eae(e){return new Map(To([...e.entries()]))}function tae(e){return new Set(To([...e.entries()]))}function nae(e){return new Date(e.toISOString())}function To(e,t=new WeakMap){if(Hl(e))return Kre(e,t);if(Mb(e))return nae(e);if(CY(e))return Jre(e);if(EY(e))return eae(e);if(_Y(e))return tae(e);if(Fo(e))return Gre(e,t);if($Y(e))return e;throw new Error("ValueClone: Unable to clone value")}class ss extends no{constructor(t,n){super(n),this.schema=t}}function bn(e){return $8(e)?e():To(e)}function rae(e,t){return fn(e,"default")?bn(e.default):{}}function aae(e,t){return{}}function iae(e,t){if(e.uniqueItems===!0&&!fn(e,"default"))throw new ss(e,"Array with the uniqueItems constraint requires a default value");if("contains"in e&&!fn(e,"default"))throw new ss(e,"Array with the contains constraint requires a default value");return"default"in e?bn(e.default):e.minItems!==void 0?Array.from({length:e.minItems}).map(n=>Ji(e.items,t)):[]}function oae(e,t){return fn(e,"default")?bn(e.default):(async function*(){})()}function sae(e,t){return fn(e,"default")?bn(e.default):BigInt(0)}function lae(e,t){return fn(e,"default")?bn(e.default):!1}function cae(e,t){if(fn(e,"default"))return bn(e.default);{const n=Ji(e.returns,t);return typeof n=="object"&&!Array.isArray(n)?class{constructor(){for(const[r,a]of Object.entries(n)){const i=this;i[r]=a}}}:class{}}}function uae(e,t){return fn(e,"default")?bn(e.default):e.minimumTimestamp!==void 0?new Date(e.minimumTimestamp):new Date}function dae(e,t){return fn(e,"default")?bn(e.default):()=>Ji(e.returns,t)}function fae(e,t){const n=globalThis.Object.values(e.$defs),r=e.$defs[e.$ref];return Ji(r,[...t,...n])}function pae(e,t){return fn(e,"default")?bn(e.default):e.minimum!==void 0?e.minimum:0}function hae(e,t){if(fn(e,"default"))return bn(e.default);{const n=e.allOf.reduce((r,a)=>{const i=Ji(a,t);return typeof i=="object"?{...r,...i}:i},{});if(!Qa(e,t,n))throw new ss(e,"Intersect produced invalid value. Consider using a default value.");return n}}function mae(e,t){return fn(e,"default")?bn(e.default):(function*(){})()}function gae(e,t){return fn(e,"default")?bn(e.default):e.const}function bae(e,t){if(fn(e,"default"))return bn(e.default);throw new ss(e,"Never types cannot be created. Consider using a default value.")}function yae(e,t){if(fn(e,"default"))return bn(e.default);throw new ss(e,"Not types must have a default value")}function vae(e,t){return fn(e,"default")?bn(e.default):null}function Oae(e,t){return fn(e,"default")?bn(e.default):e.minimum!==void 0?e.minimum:0}function Sae(e,t){if(fn(e,"default"))return bn(e.default);{const n=new Set(e.required),r={};for(const[a,i]of Object.entries(e.properties))n.has(a)&&(r[a]=Ji(i,t));return r}}function wae(e,t){return fn(e,"default")?bn(e.default):Promise.resolve(Ji(e.item,t))}function xae(e,t){return fn(e,"default")?bn(e.default):{}}function kae(e,t){return fn(e,"default")?bn(e.default):Ji(gs(e,t),t)}function Aae(e,t){if(fn(e,"default"))return bn(e.default);throw new ss(e,"RegExp types cannot be created. Consider using a default value.")}function Tae(e,t){if(e.pattern!==void 0){if(fn(e,"default"))return bn(e.default);throw new ss(e,"String types with patterns must specify a default value")}else if(e.format!==void 0){if(fn(e,"default"))return bn(e.default);throw new ss(e,"String types with formats must specify a default value")}else return fn(e,"default")?bn(e.default):e.minLength!==void 0?Array.from({length:e.minLength}).map(()=>" ").join(""):""}function Eae(e,t){return fn(e,"default")?bn(e.default):"value"in e?Symbol.for(e.value):Symbol()}function _ae(e,t){if(fn(e,"default"))return bn(e.default);if(!AP(e))throw new ss(e,"Can only create template literals that produce a finite variants. Consider using a default value.");return q8(e)[0]}function Cae(e,t){if(cI++>Dae)throw new ss(e,"Cannot create recursive type as it appears possibly infinite. Consider using a default.");return fn(e,"default")?bn(e.default):Ji(gs(e,t),t)}function $ae(e,t){return fn(e,"default")?bn(e.default):e.items===void 0?[]:Array.from({length:e.minItems}).map((n,r)=>Ji(e.items[r],t))}function Pae(e,t){if(fn(e,"default"))return bn(e.default)}function Iae(e,t){if(fn(e,"default"))return bn(e.default);if(e.anyOf.length===0)throw new Error("ValueCreate.Union: Cannot create Union with zero variants");return Ji(e.anyOf[0],t)}function Nae(e,t){return fn(e,"default")?bn(e.default):e.minByteLength!==void 0?new Uint8Array(e.minByteLength):new Uint8Array(0)}function Rae(e,t){return fn(e,"default")?bn(e.default):{}}function Mae(e,t){if(fn(e,"default"))return bn(e.default)}function Lae(e,t){if(fn(e,"default"))return bn(e.default);throw new Error("User defined types must specify a default value")}function Ji(e,t){const n=cx(e,t),r=e;switch(r[We]){case"Any":return rae(r);case"Argument":return aae();case"Array":return iae(r,n);case"AsyncIterator":return oae(r);case"BigInt":return sae(r);case"Boolean":return lae(r);case"Constructor":return cae(r,n);case"Date":return uae(r);
8case"Function":return dae(r,n);case"Import":return fae(r,n);case"Integer":return pae(r);case"Intersect":return hae(r,n);case"Iterator":return mae(r);case"Literal":return gae(r);case"Never":return bae(r);case"Not":return yae(r);case"Null":return vae(r);case"Number":return Oae(r);case"Object":return Sae(r,n);case"Promise":return wae(r,n);case"Record":return xae(r);case"Ref":return kae(r,n);case"RegExp":return Aae(r);case"String":return Tae(r);case"Symbol":return Eae(r);case"TemplateLiteral":return _ae(r);case"This":return Cae(r,n);case"Tuple":return $ae(r,n);case"Undefined":return Pae(r);case"Union":return Iae(r,n);case"Uint8Array":return Nae(r);case"Unknown":return Rae(r);case"Void":return Mae(r);default:if(!Kb(r[We]))throw new ss(r,"Unknown type");return Lae(r)}}const Dae=512;let cI=0;function eu(...e){return cI=0,e.length===2?Ji(e[0],e[1]):Ji(e[0],[])}class uI extends no{constructor(t,n){super(n),this.schema=t}}function dI(e,t,n){if(e[We]==="Object"&&typeof n=="object"&&!r0(n)){const r=e,a=Object.getOwnPropertyNames(n);return Object.entries(r.properties).reduce((o,[s,l])=>{const c=l[We]==="Literal"&&l.const===n[s]?100:0,u=Qa(l,t,n[s])?10:0,d=a.includes(s)?1:0;return o+(c+u+d)},0)}else if(e[We]==="Union"){const a=e.anyOf.map(i=>gs(i,t)).map(i=>dI(i,t,n));return Math.max(...a)}else return Qa(e,t,n)?1:0}function Bae(e,t,n){const r=e.anyOf.map(o=>gs(o,t));let[a,i]=[r[0],0];for(const o of r){const s=dI(o,t,n);s>i&&(a=o,i=s)}return a}function Uae(e,t,n,r){if("default"in e)return typeof n=="function"?e.default:To(e.default);{const a=Bae(e,t,n);return pI(a,t,n,r)}}function jae(e,t,n){return Qa(e,t,n)?To(n):eu(e,t)}function Qae(e,t,n){return Qa(e,t,n)?n:eu(e,t)}function Fae(e,t,n,r){if(Qa(e,t,n))return To(n);const a=Hl(n)?n:eu(e,t),i=Xo(e.minItems)&&a.length<e.minItems?[...a,...Array.from({length:e.minItems-a.length},()=>null)]:a,s=(Xo(e.maxItems)&&i.length>e.maxItems?i.slice(0,e.maxItems):i).map(c=>ls(e.items,t,c,r));if(e.uniqueItems!==!0)return s;const l=[...new Set(s)];if(!Qa(e,t,l))throw new uI(e,"Array cast produced invalid data due to uniqueItems constraint");return l}function zae(e,t,n,r){if(Qa(e,t,n))return eu(e,t);const a=new Set(e.returns.required||[]),i=function(){};for(const[o,s]of Object.entries(e.returns.properties))!a.has(o)&&n.prototype[o]===void 0||(i.prototype[o]=ls(s,t,n.prototype[o],r));return i}function Vae(e,t,n,r){const a=globalThis.Object.values(e.$defs),i=e.$defs[e.$ref];return ls(i,[...t,...a],n,r)}function fI(e,t){return Fo(e)&&!Fo(t)||!Fo(e)&&Fo(t)?e:!Fo(e)||!Fo(t)?t:globalThis.Object.getOwnPropertyNames(e).reduce((n,r)=>{const a=r in t?fI(e[r],t[r]):e[r];return{...n,[r]:a}},{})}function Hae(e,t,n){if(Qa(e,t,n))return n;const r=eu(e,t),a=fI(r,n);return Qa(e,t,a)?a:r}function qae(e,t,n){throw new uI(e,"Never types cannot be cast")}function Zae(e,t,n,r){if(r.has(n))return r.get(n);if(Qa(e,t,n))return n;if(n===null||typeof n!="object")return eu(e,t);const a=new Set(e.required||[]),i={};r.set(n,i);for(const[o,s]of Object.entries(e.properties))!a.has(o)&&n[o]===void 0||(i[o]=ls(s,t,n[o],r));if(typeof e.additionalProperties=="object"){const o=Object.getOwnPropertyNames(e.properties);for(const s of Object.getOwnPropertyNames(n))o.includes(s)||(i[s]=ls(e.additionalProperties,t,n[s],r))}return i}function Xae(e,t,n,r){if(Qa(e,t,n))return To(n);if(n===null||typeof n!="object"||Array.isArray(n)||n instanceof Date)return eu(e,t);const a=Object.getOwnPropertyNames(e.patternProperties)[0],i=e.patternProperties[a],o={};for(const[s,l]of Object.entries(n))o[s]=ls(i,t,l,r);return o}function Wae(e,t,n,r){return ls(gs(e,t),t,n,r)}function Yae(e,t,n,r){return ls(gs(e,t),t,n,r)}function Gae(e,t,n,r){return Qa(e,t,n)?To(n):Hl(n)?e.items===void 0?[]:e.items.map((a,i)=>ls(a,t,n[i],r)):eu(e,t)}function Kae(e,t,n,r){return Qa(e,t,n)?To(n):Uae(e,t,n,r)}function ls(e,t,n,r){const a=es(e.$id)?cx(e,t):t,i=e;switch(e[We]){case"Array":return Fae(i,a,n,r);case"Constructor":return zae(i,a,n,r);case"Import":return Vae(i,a,n,r);case"Intersect":return Hae(i,a,n);case"Never":return qae(i);case"Object":return Zae(i,a,n,r);case"Record":return Xae(i,a,n,r);case"Ref":return Wae(i,a,n,r);case"This":return Yae(i,a,n,r);case"Tuple":return Gae(i,a,n,r);case"Union":return Kae(i,a,n,r);case"Date":case"Symbol":case"Uint8Array":return jae(e,t,n);default:return Qae(i,a,n)}}function pI(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?ls(e[0],[],e[1],e[2]??new WeakMap):ls(e[0],e[1],e[2],e[3]??new WeakMap)}const ts=(e,t)=>pI(e,t),Is={document:{navigation:"x-scalar-navigation"},workspace:{activeDocument:"x-scalar-active-document"}},mo=e=>{if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null},_s=(e,t,n)=>{if(!e)return!1;const r=mo(t)||Array.isArray(t);if(r&&n.get(t)?.has(e))return!0;
8if(r){const a=n.get(t)??new Set;a.add(e),n.set(t,a)}try{return e.type==="any"||e.type==="unknown"?!0:e.type==="function"?typeof t=="function":e.type==="number"?typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t):e.type==="string"?typeof t=="string":e.type==="boolean"?typeof t=="boolean":e.type==="nullable"?t===null:e.type==="notDefined"?t===void 0:e.type==="array"?Array.isArray(t)&&t.every(i=>_s(e.items,i,n)):e.type==="record"?mo(t)?Object.keys(t).every(o=>_s(e.key,o,n)&&_s(e.value,t[o],n)):!1:e.type==="object"?mo(t)?Object.keys(e.properties).every(o=>_s(e.properties[o],t[o],n)):!1:e.type==="optional"?t===void 0||_s(e.schema,t,n):e.type==="union"?e.schemas.some(i=>_s(i,t,n)):e.type==="intersection"?e.schemas.length===0?!0:mo(t)?e.schemas.every(i=>_s(i,t,n)):!1:e.type==="literal"?t===e.value:e.type==="lazy"?_s(e.schema(),t,n):e.type==="evaluate"?_s(e.schema,e.expression(t),n):(console.warn("Unknown schema type:",e),!1)}finally{r&&n.get(t)?.delete(e)}},Qh=(e,t,n=new WeakMap)=>_s(e,t,n),hI=(e,t)=>{const n=t.get(e);if(n)return n;const r=e.schema();return t.set(e,r),r},jS=e=>e.type==="optional"?jS(e.schema):e.type==="literal"?!0:e.type==="union"?e.schemas.length>0&&e.schemas.every(jS):!1,wu=(e,t,n,r=new WeakMap)=>{if(mo(t)&&r.get(t)?.has(e))return 1;const a=mo(t);if(a){const i=r.get(t)??new Set;i.add(e),r.set(t,i)}try{if(e.type==="object"){if(!mo(t))return 0;const i=Object.keys(e.properties);return i.length===0?1:i.reduce((o,s)=>{if(!(s in t))return o;const l=e.properties[s],c=t[s],u=wu(l,c,n,r);return jS(l)?o+(u>0?u*10:0):o+(u>0?u:1)},0)}return e.type==="array"?Array.isArray(t)?1:0:e.type==="record"?mo(t)?1:0:e.type==="optional"?t===void 0?1:wu(e.schema,t,n,r):e.type==="union"?Math.max(...e.schemas.map(i=>wu(i,t,n,r))):e.type==="intersection"?e.schemas.length===0?1:e.schemas.reduce((i,o)=>i+wu(o,t,n,r),0):e.type==="lazy"?wu(hI(e,n),t,n,r):e.type==="evaluate"?wu(e.schema,e.expression(t),n,r):Qh(e,t)?1:0}finally{a&&r.get(t)?.delete(e)}},aO=(e,t,n,r)=>{if(mo(e)||Array.isArray(e)){const a=r.get(e)||new Map;a.set(t,n),r.set(e,a)}},pl=(e,t,n,r)=>{if((mo(t)||Array.isArray(t))&&n.get(t)?.has(e))return n.get(t)?.get(e);if(!e||e.type==="any"||e.type==="unknown")return t;if(e.type==="function")return typeof t=="function"?t:()=>{};if(e.type==="number")return Qh(e,t)?t:e.default??0;if(e.type==="string")return Qh(e,t)?t:e.default??"";if(e.type==="boolean")return Qh(e,t)?t:e.default??!1;if(e.type==="nullable")return null;if(e.type==="notDefined")return;if(e.type==="optional")return t===void 0?void 0:pl(e.schema,t,n,r);if(e.type==="array"){if(!Array.isArray(t))return[];const i=new Array(t.length);aO(t,e,i,n);for(let o=0;o<t.length;o++)i[o]=pl(e.items,t[o],n,r);return i}if(e.type==="record"){if(!mo(t))return{};const i={};aO(t,e,i,n);for(const o of Object.keys(t))i[o]=pl(e.value,t[o],n,r);return i}if(e.type==="object"){const i=Object.keys(e.properties),o=mo(t)?t:null,s={};aO(t,e,s,n);for(const l of i){const c=e.properties[l],u=o?.[l];c.type==="optional"&&u===void 0||(s[l]=pl(c,u,n,r))}return s}if(e.type==="union"){const i=e.schemas.reduce((o,s)=>{const l=wu(s,t,r);return l>o.score?{schema:s,score:l}:o},{schema:e.schemas[0],score:0});return pl(i.schema,t,n,r)}return e.type==="intersection"?e.schemas.reduce((i,o)=>Object.assign(i,pl(o,t,n,r)),{}):e.type==="literal"?e.value:e.type==="lazy"?pl(hI(e,r),t,n,r):e.type==="evaluate"?pl(e.schema,e.expression(t),n,r):(console.warn("Unknown schema type:",e),t)},o2=(e,t,n=new WeakMap,r=new WeakMap)=>pl(e,t,n,r),mr=e=>({type:"number",default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),M=e=>({type:"string",default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),Ke=e=>({type:"boolean",default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),ux=e=>({type:"nullable",typeName:e?.typeName,typeComment:e?.typeComment}),Gn=e=>({type:"any",typeName:e?.typeName,typeComment:e?.typeComment}),Il=e=>({type:"unknown",typeName:e?.typeName,typeComment:e?.typeComment}),sr=e=>({type:"function",typeName:e?.typeName,typeComment:e?.typeComment}),He=(e,t)=>({type:"array",items:e,typeName:t?.typeName,typeComment:t?.typeComment}),Fe=(e,t,n)=>({type:"record",key:e,value:t,typeName:n?.typeName,typeComment:n?.typeComment}),ne=(e,t)=>({type:"object",properties:e,typeName:t?.typeName,typeComment:t?.typeComment}),xt=(e,t)=>
vendor: 21,336 bytes, line 8
8({type:"union",schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),wn=(e,t)=>({type:"intersection",schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),_=(e,t)=>({type:"optional",schema:e,typeName:t?.typeName,typeComment:t?.typeComment}),ie=e=>({type:"literal",value:e}),lt=e=>({type:"lazy",schema:e}),mI=(e,t)=>({type:"evaluate",expression:e,schema:t}),Jae=v.Object({name:v.String(),value:v.Union([v.Object({description:v.Optional(v.String()),default:v.String({default:""})}),v.String()])}),eie=ne({name:M(),value:xt([ne({description:_(M()),default:M()}),M()])},{typeName:"XScalarEnvVar"}),wg=v.Object({description:v.Optional(v.String()),color:v.String({default:"#FFFFFF"}),variables:v.Array(Jae)}),tie=ne({description:_(M()),color:M({typeComment:"Color for the environment"}),variables:He(eie,{typeComment:"An array of variables"})},{typeName:"XScalarEnvironment",typeComment:"A map of environments by name"}),nie=v.Object({"x-scalar-environments":v.Optional(v.Record(v.String(),wg))}),rie=ne({"x-scalar-environments":_(Fe(M(),tie))},{typeName:"XScalarEnvironments",typeComment:"A record of environments by name"}),aie=v.Object({"x-scalar-icon":v.Optional(v.String())}),iie=ne({"x-scalar-icon":_(M())},{typeName:"XScalarIcon",typeComment:"A custom icon representing the collection"}),oie=v.Object({"x-scalar-is-dirty":v.Optional(v.Boolean())}),sie=ne({"x-scalar-is-dirty":_(Ke({typeComment:"Whether the document state is dirty, this is used to track if the document has been modified since it was last saved"}))},{typeName:"XScalarIsDirty",typeComment:"Tracks whether the document has been modified since it was last saved"}),lie=v.Object({"x-scalar-original-document-hash":v.String()}),cie=ne({"x-scalar-original-document-hash":M({typeComment:"Original input document hash"})},{typeName:"XScalarOriginalDocumentHash",typeComment:"Original input document hash"}),uie=v.Partial(v.Object({"x-scalar-original-source-url":v.String()})),die=ne({"x-scalar-original-source-url":_(M({typeComment:"Original document source URL when loaded from an external source"}))},{typeName:"XScalarOriginalSourceUrl",typeComment:"Original document source URL when loaded from an external source."}),fie=v.Object({namespace:v.String(),slug:v.String(),version:v.String(),commitHash:v.Optional(v.String()),conflictCheckedAgainstHash:v.Optional(v.String()),hasConflict:v.Optional(v.Boolean())}),pie=v.Object({"x-scalar-registry-meta":v.Optional(fie)}),hie=ne({namespace:M({typeComment:"The namespace under which this registry meta is scoped."}),slug:M({typeComment:"A unique slug identifier for this registry meta within the namespace."}),version:M({typeComment:"The version of the registry meta."}),commitHash:_(M({typeComment:"Last known commit hash of this document. Is going to be used to track if the document has been modified since it was last saved."})),conflictCheckedAgainstHash:_(M({typeComment:"Registry commit hash that the cached hasConflict flag was computed against. The cache is invalid when this no longer matches the registry hash."})),hasConflict:_(Ke({typeComment:"Cached outcome of the last conflict check, valid only while conflictCheckedAgainstHash matches the registry hash."}))},{typeName:"XScalarRegistryMetaInner",typeComment:"Registry meta namespace and slug"}),mie=ne({"x-scalar-registry-meta":_(hie)},{typeName:"XScalarRegistryMeta",typeComment:"The registry meta for the document"}),gie=v.Object({"x-scalar-watch-mode":v.Optional(v.Boolean())}),bie=ne({"x-scalar-watch-mode":_(Ke({typeComment:"Whether the document is in watch mode"}))},{typeName:"XScalarWatchMode",typeComment:"Whether the document is in watch mode"}),gI=v.Object({"x-post-response":v.Optional(v.String())}),zk=ne({"x-post-response":_(M({typeComment:"Script to run after a response is received"}))},{typeName:"XPostResponse",typeComment:"Post-response script for an operation"}),bI=v.Object({"x-pre-request":v.Optional(v.String())}),Vk=ne({"x-pre-request":_(M())},{typeName:"XPreRequest",typeComment:"Pre-request script to run before the request is sent."}),yie=v.Object({"x-scalar-active-environment":v.Optional(v.String())}),vie=ne({"x-scalar-active-environment":_(M({typeComment:"The currently selected environment"}))},{typeName:"XScalarActiveEnvironment",typeComment:"The currently selected environment"}),Oie=v.Object({name:v.String(),value:v.String(),domain:v.Optional(v.String()),path:v.Optional(v.String()),isDisabled:v.Optional(v.Boolean())}),Sie=ne({name:M({typeComment:"Defines the cookie name and its value."}),value:M({typeComment:"Defines the cookie value."}),domain:_(M({typeComment:"Allows this domain and all subdomains."})),path:_(M({typeComment:"Restricts this cookie to requests that contain this path."})),isDisabled:_(Ke({typeComment:"Indicates if the cookie is disabled."}))},{typeName:"XScalarCookie",typeComment:"A persisted cookie definition for the workspace"}),wie=v.Object({"x-scalar-cookies":v.Optional(v.Array(Oie))}),xie=ne({"x-scalar-cookies":_(He(Sie,{typeComment:"Cookies persisted for the workspace"}))},{typeName:"XScalarCookies",typeComment:"Persisted workspace cookies"}),dx=v.Object({"x-scalar-order":v.Optional(v.Array(v.String()))}),QS=ne({"x-scalar-order":_(He(M()))},{typeName:"XScalarOrder",typeComment:"Custom order for elements in the Scalar UI"}),yI=v.Object({"x-scalar-selected-server":v.Optional(v.String())}),Hk=ne({"x-scalar-selected-server":_(M({typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}))},{typeName:"XScalarSelectedServer",typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}),kie=at(v.Object({name:v.String(),tags:v.Array(v.String())}),dx),Aie=wn([ne({name:M({typeComment:"The group name."}),tags:He(M(),{typeComment:"List of tags to include in this group."})},{typeName:"XTagGroupBase"}),QS],{typeName:"XTagGroup",typeComment:"A tag group with optional custom ordering"}),Tie=v.Object({"x-tagGroups":v.Optional(v.Array(kie))}),Eie=ne({"x-tagGroups":_(He(Aie,{typeComment:"Tag groups for organizing tags in the UI"}))},{typeName:"XTagGroups",typeComment:"Groups of tags for the OpenAPI document"}),ly=["delete","get","head","options","patch","post","put","trace"],_ie=Object.freeze(new Set(ly)),rt={ComponentsObject:"ComponentsObject",SecurityRequirementObject:"SecurityRequirementObject",TagObject:"TagObject",CallbackObject:"CallbackObject",PathsObject:"PathsObject",PathItemObject:"PathItemObject",OperationObject:"OperationObject",SchemaObject:"SchemaObject",EncodingObject:"EncodingObject",HeaderObject:"HeaderObject",MediaTypeObject:"MediaTypeObject",ServerObject:"ServerObject",ExternalDocumentationObject:"ExternalDocumentationObject",InfoObject:"InfoObject",ContactObject:"ContactObject",LicenseObject:"LicenseObject",ResponseObject:"ResponseObject",ResponsesObject:"ResponsesObject",ParameterObject:"ParameterObject",ExampleObject:"ExampleObject",RequestBodyObject:"RequestBodyObject",SecuritySchemeObject:"SecuritySchemeObject",SecuritySchemes:"SecuritySchemes",LinkObject:"LinkObject",XMLObject:"XMLObject",DiscriminatorObject:"DiscriminatorObject",OAuthFlowsObject:"OAuthFlowsObject",ServerVariableObject:"ServerVariableObject",TraversedDescriptionObject:"TraversedDescriptionObject",TraversedOperationObject:"TraversedOperationObject",TraversedAsyncApiOperationObject:"TraversedAsyncApiOperationObject",TraversedAsyncApiChannelObject:"TraversedAsyncApiChannelObject",TraversedAsyncApiMessageObject:"TraversedAsyncApiMessageObject",TraversedSchemaObject:"TraversedSchemaObject",TraversedWebhookObject:"TraversedWebhookObject",TraversedTagObject:"TraversedTagObject",TraversedEntryObject:"TraversedEntryObject",TraversedDocumentObject:"TraversedDocumentObject"},Cie=v.Ref(rt.ComponentsObject),vI=v.Ref(rt.SecurityRequirementObject),$ie=v.Ref(rt.TagObject),s2=v.Ref(rt.CallbackObject),zf=v.Ref(rt.PathItemObject),qk=v.Ref(rt.PathsObject),ra=v.Ref(rt.OperationObject),Nl=v.Ref(rt.SchemaObject),Pie=v.Ref(rt.EncodingObject),Vf=v.Ref(rt.HeaderObject),cy=v.Ref(rt.MediaTypeObject),uy=v.Ref(rt.ServerObject),dy=v.Ref(rt.ExternalDocumentationObject),Iie=v.Ref(rt.InfoObject),Nie=v.Ref(rt.ContactObject),Rie=v.Ref(rt.LicenseObject),l2=v.Ref(rt.ResponseObject),Mie=v.Ref(rt.ResponsesObject),Hf=v.Ref(rt.ParameterObject),Pc=v.Ref(rt.ExampleObject),c2=v.Ref(rt.RequestBodyObject),Zk=v.Ref(rt.SecuritySchemeObject),u2=v.Ref(rt.LinkObject),Lie=v.Ref(rt.XMLObject),Die=v.Ref(rt.DiscriminatorObject),Bie=v.Ref(rt.OAuthFlowsObject),Uie=v.Ref(rt.ServerVariableObject),yd=v.Ref(rt.TraversedEntryObject),jie=v.Ref(rt.TraversedDocumentObject),bs=v.Object({id:v.String(),title:v.String()}),OI=at(bs,v.Object({type:v.Literal("document"),name:v.String(),children:v.Optional(v.Array(yd)),icon:v.Optional(v.String())})),SI=at(bs,v.Object({type:v.Literal("text"),children:v.Optional(v.Array(yd))})),Qie=at(bs,v.Object({type:v.Literal("example"),name:v.String()})),wI=at(bs,v.Object({type:v.Literal("operation"),ref:v.String(),method:v.Union(ly.map(e=>v.Literal(e))),path:v.String(),isDeprecated:v.Optional(v.Boolean()),children:v.Optional(v.Array(yd))})),xI=at(bs,v.Object({type:v.Literal("asyncapi-operation"),operationName:v.String(),action:v.Union([v.Literal("send"),v.Literal("receive")]),channelName:v.String(),channelAddress:v.String(),children:v.Optional(v.Array(yd))})),kI=at(bs,v.Object({type:v.Literal("asyncapi-channel"),channelName:v.String(),channelAddress:v.String(),children:v.Optional(v.Array(yd))})),AI=at(bs,v.Object({type:v.Literal("asyncapi-message"),messageName:v.String(),channelName:v.String()})),TI=at(bs,v.Object({type:v.Literal("model"),ref:v.String(),name:v.String()})),EI=at(bs,v.Object({type:v.Literal("webhook"),ref:v.String(),method:v.Union(ly.map(e=>v.Literal(e))),name:v.String(),isDeprecated:v.Optional(v.Boolean())})),_I=at(bs,v.Object({type:v.Literal("tag"),name:v.String(),description:v.Optional(v.String()),children:v.Optional(v.Array(yd)),isGroup:v.Boolean(),isTagGroup:v.Optional(v.Boolean()),isWebhooks:v.Optional(v.Boolean()),xKeys:v.Optional(v.Record(v.String(),v.Unknown()))})),Fie=at(bs,v.Object({type:v.Literal("models"),name:v.String(),children:v.Optional(v.Array(yd))})),zie=v.Union([SI,wI,xI,kI,AI,TI,_I,EI,Qie,OI,Fie]),Vie=v.Object({$status:v.Optional(v.Union([v.Literal("loading"),v.Literal("error")])),$global:v.Optional(v.Boolean())}),CI=at(v.Object({$ref:v.String(),summary:v.Optional(v.String()),description:v.Optional(v.String())}),Vie),un=e=>at(CI,v.Object({"$ref-value":e})),Hie=v.Record(v.String(),v.Union([zf,un(zf)])),$I=v.Record(v.String(),v.Union([Zk,un(Zk)])),qie=v.Object({schemas:v.Optional(v.Record(v.String(),v.Union([Nl,un(Nl)]))),responses:v.Optional(v.Record(v.String(),v.Union([l2,un(l2)]))),parameters:v.Optional(v.Record(v.String(),v.Union([Hf,un(Hf)]))),examples:v.Optional(v.Record(v.String(),v.Union([Pc,un(Pc)]))),requestBodies:v.Optional(v.Record(v.String(),v.Union([c2,un(c2)]))),headers:v.Optional(v.Record(v.String(),v.Union([Vf,un(Vf)]))),securitySchemes:v.Optional($I),links:v.Optional(v.Record(v.String(),v.Union([u2,un(u2)]))),callbacks:v.Optional(v.Record(v.String(),v.Union([s2,un(s2)]))),pathItems:v.Optional(v.Record(v.String(),v.Union([zf,un(zf)])))}),Zie=v.Object({name:v.Optional(v.String()),url:v.Optional(v.String()),email:v.Optional(v.String())}),Xie=v.Object({propertyName:v.String(),mapping:v.Optional(v.Record(v.String(),v.String()))}),Wie=v.Object({contentType:v.Optional(v.String()),headers:v.Optional(v.Record(v.String(),v.Union([Vf,un(Vf)]))),style:v.Optional(v.Union([v.Literal("form"),v.Literal("spaceDelimited"),v.Literal("pipeDelimited"),v.Literal("deepObject")])),explode:v.Optional(v.Boolean()),allowReserved:v.Optional(v.Boolean())}),Yie=v.Object({"x-disabled":v.Optional(v.Boolean())}),Gie=ne({"x-disabled":_(Ke())},{typeName:"XDisabled",typeComment:"Whether a parameter example is disabled in the API client"}),Kie=at(v.Object({summary:v.Optional(v.String()),description:v.Optional(v.String()),value:v.Optional(v.Any()),externalValue:v.Optional(v.String())}),Yie),Jie=v.Object({url:v.String(),description:v.Optional(v.String())}),PI=v.Object({description:v.Optional(v.String()),required:v.Optional(v.Boolean()),deprecated:v.Optional(v.Boolean())}),eoe=at(PI,v.Object({style:v.Optional(v.String()),explode:v.Optional(v.Boolean()),schema:v.Optional(v.Union([Nl,un(Nl)])),example:v.Optional(v.Any()),examples:v.Optional(v.Record(v.String(),v.Union([Pc,un(Pc)])))})),toe=v.Union([eoe,at(PI,v.Object({content:v.Optional(v.Record(v.String(),cy))}))]),noe=v.Object({name:v.String(),url:v.String()}),roe=v.Object({"x-scalar-links":v.Optional(v.Array(noe))}),aoe=ne({name:M(),url:M()},{typeName:"XScalarLinkItem",typeComment:"A named link to display alongside the API info"}),ioe=ne({"x-scalar-links":_(He(aoe,{typeComment:"Additional named links to display alongside the API info (e.g. privacy policy, imprint)"}))},{typeName:"XScalarLinks",typeComment:"Additional named links to display alongside the API info"}),ooe=v.Object({lang:v.String(),description:v.Optional(v.String()),source:v.Optional(v.String())}),soe=v.Object({"x-scalar-sdk-installation":v.Optional(v.Array(ooe))}),loe=ne({lang:M(),description:_(M()),source:_(M())},{typeName:"XScalarSdkInstallationItem",typeComment:"Scalar SDK installation entry"}),coe=ne({"x-scalar-sdk-installation":_(He(loe,{typeComment:"Scalar SDK installation information"}))},{typeName:"XScalarSdkInstallation",typeComment:"Scalar SDK installation information"}),uoe=at(v.Object({title:v.String(),version:v.String(),summary:v.Optional(v.String()),description:v.Optional(v.String()),termsOfService:v.Optional(v.String()),contact:v.Optional(Nie),license:v.Optional(Rie)}),soe,roe),doe=v.Object({name:v.Optional(v.String()),identifier:v.Optional(v.String()),url:v.Optional(v.String())}),foe=v.Object({operationRef:v.Optional(v.String()),operationId:v.Optional(v.String()),parameters:v.Optional(v.Record(v.String(),v.Any())),requestBody:v.Optional(v.Any()),description:v.Optional(v.String()),server:v.Optional(uy)}),poe=v.Object({schema:v.Optional(v.Union([Nl,un(Nl)])),example:v.Optional(v.Any()),examples:v.Optional(v.Record(v.String(),v.Union([Pc,un(Pc)]))),encoding:v.Optional(v.Record(v.String(),Pie))}),_p=v.Object({"x-scalar-ignore":v.Optional(v.Boolean())}),$h=ne({"x-scalar-ignore":_(Ke())},{typeName:"XScalarIgnore",typeComment:"Internal extension to mark an entity as ignored"}),II=v.Object({"x-order":v.Optional(v.Number())}),hoe=ne({"x-order":_(mr())},{typeName:"XOrder",typeComment:"Display order for a schema property"}),El=v.Object({"x-scalar-credentials-location":v.Optional(v.Union([v.Literal("header"),v.Literal("body")]))}),iO=ne({"x-scalar-credentials-location":_(xt([ie("header"),ie("body")]))},{typeName:"XScalarCredentialsLocation",typeComment:"Where OAuth2 credentials are sent"}),moe=v.Object({"x-scalar-security-body":v.Optional(v.Record(v.String(),v.String()))}),goe=ne({"x-scalar-security-body":_(Fe(M(),M()))},{typeName:"XScalarSecurityBody",typeComment:"Additional OAuth token request body parameters"}),boe=v.Object({"x-scalar-security-query":v.Optional(v.Record(v.String(),v.String()))}),yoe=ne({"x-scalar-security-query":_(Fe(M(),M()))},{typeName:"XScalarSecurityQuery",typeComment:"Additional OAuth authorize query parameters"}),fy=v.Object({"x-scalar-secret-token":v.String()});ne({"x-scalar-secret-token":M()},{typeName:"XScalarSecretToken",typeComment:"Persisted OAuth access token (sensitive)"});const voe=v.Object({"x-scalar-secret-refresh-token":v.Optional(v.String())});ne({"x-scalar-secret-refresh-token":_(M())},{typeName:"XScalarSecretRefreshToken",typeComment:"Persisted OAuth refresh token (sensitive)"});const Ooe=v.Object({"x-scalar-secret-auth-url":v.Optional(v.String())}),Soe=ne({"x-scalar-secret-auth-url":_(M())},{typeName:"XScalarAuthUrl",typeComment:"Persisted OAuth authorization URL override"}),woe=v.Object({"x-scalar-secret-token-url":v.Optional(v.String())}),xoe=ne({"x-scalar-secret-token-url":_(M())},{typeName:"XScalarTokenUrl",typeComment:"Persisted OAuth token URL override"}),py=v.Object({"x-scalar-secret-username":v.String(),"x-scalar-secret-password":v.String()});ne({"x-scalar-secret-username":M(),"x-scalar-secret-password":M()},{typeName:"XScalarSecretHTTP",typeComment:"Persisted HTTP basic credentials (sensitive)"});const Sf=v.Object({"x-scalar-secret-client-secret":v.String()});ne({"x-scalar-secret-client-secret":M()},{typeName:"XScalarSecretClientSecret",typeComment:"Persisted OAuth client secret (sensitive)"});const koe=v.Object({"x-scalar-secret-client-id":v.String()});ne({"x-scalar-secret-client-id":M()},{typeName:"XScalarSecretClientId",typeComment:"Persisted OAuth client ID"});const d2=v.Object({"x-scalar-secret-redirect-uri":v.String()});ne({"x-scalar-secret-redirect-uri":M()},{typeName:"XScalarSecretRedirectUri",typeComment:"Persisted OAuth redirect URI"});const Aoe=v.Object({"x-scalar-secret-client-certificate":v.String()}),Toe=v.Object({"x-scalar-secret-private-key":v.String()}),Eoe=v.Object({"x-scalar-secret-service-name":v.String()}),_oe=v.Object({"x-tokenName":v.Optional(v.String())}),Coe=ne({"x-tokenName":_(M())},{typeName:"XTokenName",typeComment:"Custom OAuth2 access token field name"}),$oe=v.Object({"x-usePkce":v.Union([v.Literal("SHA-256"),v.Literal("plain"),v.Literal("no")],{default:"no"})}),Poe=ne({"x-usePkce":xt([ie("SHA-256"),ie("plain"),ie("no")],{typeComment:"PKCE mode for the OAuth2 authorization code flow"})},{typeName:"XusePkce",typeComment:"PKCE setting for OAuth2"}),hy=at(v.Object({refreshUrl:v.String(),scopes:v.Record(v.String(),v.String())}),boe,moe,_oe,Ooe,woe,II,_p),NI=at(hy,v.Object({authorizationUrl:v.String()})),RI=at(hy,v.Object({tokenUrl:v.String()}),El),MI=at(hy,v.Object({tokenUrl:v.String()}),El),LI=at(hy,v.Object({authorizationUrl:v.String(),tokenUrl:v.String()}),$oe,El),Ioe=v.Object({implicit:v.Optional(NI),password:v.Optional(RI),clientCredentials:v.Optional(MI),authorizationCode:v.Optional(LI)}),my=v.Object({"x-internal":v.Optional(v.Boolean())}),Ph=ne({"x-internal":_(Ke({typeComment:"Extension to mark an entity as internal"}))},{typeName:"XInternal",typeComment:"Extension to mark an entity as internal"}),Noe=v.Object({name:v.String({description:"The text that displays in the badge",minLength:1}),position:v.Optional(v.Union([v.Literal("before"),v.Literal("after")],{description:"The position of the badge in relation to the header",default:"after"})),color:v.Optional(v.String({description:"The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)",pattern:"^(#([0-9A-Fa-f]{3}){1,2}|rgb\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*\\)|rgba\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*[0-9.]*\\s*\\)|hsl\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*\\)|hsla\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*,\\s*[0-9.]*\\s*\\)|[a-zA-Z]+)$"}))},{description:"Configuration for a single badge in the x-badges extension"}),Roe=ne({name:M({typeComment:"The text that displays in the badge. This is required for all badges."}),position:_(xt([ie("before"),ie("after")],{typeComment:"The position of the badge in relation to the header"})),color:_(M({typeComment:"The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)"}))},{typeName:"XBadge",typeComment:"Configuration for a single badge in the x-badges extension"}),Moe=v.Object({"x-badges":v.Optional(v.Array(Noe))}),Loe=ne({"x-badges":_(He(Roe,{typeComment:"Badges displayed for this operation in documentation"}))},{typeName:"XBadges",typeComment:"Badges for an operation in the Scalar UI"}),i1=v.Object({lang:v.Optional(v.String()),label:v.Optional(v.String()),source:v.String()}),Doe=v.Object({language:v.Optional(v.String()),code:v.String(),name:v.Optional(v.String()),install:v.Optional(v.String()),correspondingExample:v.Optional(v.String())}),Boe=v.Object({"code-samples":v.Optional(v.Array(Doe)),"samples-languages":v.Optional(v.Array(v.String()))}),Xk=v.Object({title:v.Optional(v.String()),request:v.Optional(v.Record(v.String(),v.String())),response:v.Optional(v.Unknown())}),Uoe=v.Union([Xk,v.Array(Xk)]),joe=v.Object({"x-codeSamples":v.Optional(v.Array(i1)),"x-code-samples":v.Optional(v.Array(i1)),"x-custom-examples":v.Optional(v.Array(i1)),"x-readme":v.Optional(Boe),"x-stainless-snippets":v.Optional(v.Record(v.String(),v.String())),"x-stainless-examples":v.Optional(Uoe),"x-scalar-examples":v.Optional(v.Array(i1))}),o1=ne({lang:_(M()),label:_(M()),source:M()}),Qoe=ne({language:_(M()),code:M(),name:_(M()),install:_(M()),correspondingExample:_(M())}),Foe=ne({"code-samples":_(He(Qoe)),"samples-languages":_(He(M()))}),Wk=ne({title:_(M()),request:_(Fe(M(),M())),response:_(Il())}),zoe=xt([Wk,He(Wk)]),Voe=ne({"x-codeSamples":_(He(o1)),"x-code-samples":_(He(o1)),"x-custom-examples":_(He(o1)),"x-readme":_(Foe),"x-stainless-snippets":_(Fe(M(),M())),"x-stainless-examples":_(zoe),"x-scalar-examples":_(He(o1))}),Hoe=v.Object({"x-draft-examples":v.Optional(v.Array(v.String()))}),qoe=ne({"x-draft-examples":_(He(M()))},{typeName:"XDraftExamples",typeComment:"Draft example identifiers for an operation"}),Zoe=v.Record(v.String(),v.Boolean()),oO=v.Record(v.String(),Zoe),Xoe=v.Object({"x-scalar-disable-parameters":v.Optional(v.Object({"global-cookie
8s":v.Optional(oO),"global-headers":v.Optional(oO),"default-headers":v.Optional(oO)}))}),Woe=Fe(M(),Ke()),sO=Fe(M(),Woe),Yoe=ne({"global-cookies":_(sO),"global-headers":_(sO),"default-headers":_(sO)},{typeName:"DisableParametersConfig",typeComment:"Disabled parameter state by category and example"}),Goe=ne({"x-scalar-disable-parameters":_(Yoe)},{typeName:"XScalarDisableParameters",typeComment:"Tracks which parameters are disabled across examples"}),Koe={Deprecated:"deprecated"},Joe=v.Object({"x-scalar-stability":v.Optional(v.Union([v.Literal("deprecated"),v.Literal("experimental"),v.Literal("stable")]))}),ese=ne({"x-scalar-stability":_(xt([ie("deprecated"),ie("experimental"),ie("stable")],{typeComment:"Stability level of the operation"}))},{typeName:"XScalarStability",typeComment:"Stability of the operation in the Scalar UI"}),tse=at(v.Object({tags:v.Optional(v.Array(v.String())),summary:v.Optional(v.String()),description:v.Optional(v.String()),externalDocs:v.Optional(dy),operationId:v.Optional(v.String()),parameters:v.Optional(v.Array(v.Union([Hf,un(Hf)]))),requestBody:v.Optional(v.Union([c2,un(c2)])),responses:v.Optional(Mie),deprecated:v.Optional(v.Boolean()),security:v.Optional(v.Array(vI)),servers:v.Optional(v.Array(uy)),callbacks:v.Optional(v.Record(v.String(),v.Union([s2,un(s2)])))}),Moe,my,_p,joe,Joe,Xoe,gI,bI,Hoe,yI),nse=v.Object({"x-global":v.Optional(v.Boolean())}),Yk=ne({"x-global":_(Ke())},{typeName:"XGlobal",typeComment:"When true, the parameter is injected into every request for the workspace"}),DI=at(v.Object({name:v.String(),in:v.Union([v.Literal("query"),v.Literal("header"),v.Literal("path"),v.Literal("cookie")]),description:v.Optional(v.String()),required:v.Optional(v.Boolean()),deprecated:v.Optional(v.Boolean()),allowEmptyValue:v.Optional(v.Boolean()),allowReserved:v.Optional(v.Boolean())}),nse,my,_p),rse=at(DI,v.Object({style:v.Optional(v.String()),explode:v.Optional(v.Boolean()),schema:v.Optional(v.Union([Nl,un(Nl)])),example:v.Optional(v.Any()),examples:v.Optional(v.Record(v.String(),v.Union([Pc,un(Pc)])))})),ase=at(DI,v.Object({content:v.Optional(v.Record(v.String(),cy))})),ise=v.Union([rse,ase]),ose=v.Object({$ref:v.Optional(v.String()),summary:v.Optional(v.String()),description:v.Optional(v.String()),get:v.Optional(v.Union([ra,un(ra)])),put:v.Optional(v.Union([ra,un(ra)])),post:v.Optional(v.Union([ra,un(ra)])),delete:v.Optional(v.Union([ra,un(ra)])),patch:v.Optional(v.Union([ra,un(ra)])),connect:v.Optional(v.Union([ra,un(ra)])),options:v.Optional(v.Union([ra,un(ra)])),head:v.Optional(v.Union([ra,un(ra)])),trace:v.Optional(v.Union([ra,un(ra)])),servers:v.Optional(v.Array(uy)),parameters:v.Optional(v.Array(v.Union([Hf,un(Hf)])))}),sse=v.Record(v.String(),v.Union([zf,un(zf)])),lse=v.Object({"x-scalar-selected-content-type":v.Optional(v.Record(v.String(),v.String()))}),cse=ne({"x-scalar-selected-content-type":_(Fe(M(),M(),{typeComment:"Selected content type per example name"}))},{typeName:"XScalarSelectedContentType",typeComment:"Selected content type per example for request or response bodies"}),use=at(v.Object({description:v.Optional(v.String()),content:v.Record(v.String(),cy),required:v.Optional(v.Boolean())}),lse),dse=v.Object({description:v.String(),headers:v.Optional(v.Record(v.String(),v.Union([Vf,un(Vf)]))),content:v.Optional(v.Record(v.String(),cy)),links:v.Optional(v.Record(v.String(),v.Union([u2,un(u2)])))}),fse=v.Record(v.String(),v.Union([l2,un(l2)])),pse=v.Object({"x-tags":v.Optional(v.Array(v.String()))}),hse=ne({"x-tags":_(He(M()))},{typeName:"XTags",typeComment:"Custom tag ordering or grouping hints for schema objects"}),mse=v.Object({"x-additionalPropertiesName":v.Optional(v.String())}),gse=ne({"x-additionalPropertiesName":_(M())},{typeName:"XAdditionalPropertiesName",typeComment:"Display name for additional properties on a schema"}),bse=v.Object({"x-enumDescriptions":v.Optional(v.Union([v.Record(v.String(),v.String()),v.Array(v.String())])),"x-enum-descriptions":v.Optional(v.Union([v.Record(v.String(),v.String()),v.Array(v.String())]))}),Gk=xt([Fe(M(),M()),He(M())]),yse=ne({"x-enumDescriptions":_(Gk),"x-enum-descriptions":_(Gk)},{typeName:"XEnumDescriptions",typeComment:"Descriptions for enum values"}),vse=v.Object({"x-enum-varnames":v.Optional(v.Array(v.String())),"x-enumNames":v.Optional(v.Array(v.String()))}),Ose=ne({"x-enum-varnames":_(He(M())),"x-enumNames":_(He(M()))},{typeName:"XEnumVarNames",typeComment:"Display names for enum values"}),Sse=v.Object({"x-examples":v.Optional(v.Record(v.String(),v.Unknown()))}),wse=ne({"x-examples":_(Fe(M(),Gn()))},{typeName:"XExamples",typeComment:"Named examples attached to a schema"}),xse=v.Object({"x-variable":v.Optional(v.String())}),kse=ne({"x-variable":_(M())},{typeName:"XVariable",typeComment:"Variable reference for a schema property"}),Vo=v.Union([Nl,at(CI,v.Object({"$ref-value":v.Optional(v.Unknown())}))]),Ase=v.Union([v.Literal("null"),v.Literal("boolean"),v.Literal("string"),v.Literal("number"),v.Literal("integer"),v.Literal("object"),v.Literal("array")]),Tse=v.Object({type:v.Union([v.Literal("null"),v.Literal("boolean")])}),uu=at(_p,my,xse,Sse,bse,vse,mse,II,pse),du=v.Object({$id:v.Optional(v.String()),$anchor:v.Optional(v.String()),$dynamicAnchor:v.Optional(v.String()),$dynamicRef:v.Optional(v.String()),name:v.Optional(v.String()),title:v.Optional(v.String()),description:v.Optional(v.String()),default:v.Optional(v.Unknown()),enum:v.Optional(v.Array(v.Unknown())),const:v.Optional(v.Unknown()),contentMediaType:v.Optional(v.String()),contentEncoding:v.Optional(v.String()),contentSchema:v.Optional(Vo),deprecated:v.Optional(v.Boolean()),discriminator:v.Optional(Die),readOnly:v.Optional(v.Boolean()),writeOnly:v.Optional(v.Boolean()),xml:v.Optional(Lie),externalDocs:v.Optional(dy),example:v.Optional(v.Unknown()),examples:v.Optional(v.Array(v.Unknown())),allOf:v.Optional(v.Array(Vo)),oneOf:v.Optional(v.Array(Vo)),anyOf:v.Optional(v.Array(Vo)),not:v.Optional(Vo)}),BI=v.Object({multipleOf:v.Optional(v.Number()),maximum:v.Optional(v.Number()),exclusiveMaximum:v.Optional(v.Number({minimum:0})),minimum:v.Optional(v.Number()),exclusiveMinimum:v.Optional(v.Number({minimum:0}))}),Ese=at(v.Object({type:v.Union([v.Literal("number"),v.Literal("integer")]),format:v.Optional(v.String())}),BI),UI=v.Object({maxLength:v.Optional(v.Integer({minimum:0})),minLength:v.Optional(v.Integer({minimum:0})),pattern:v.Optional(v.String())}),_se=at(v.Object({type:v.Literal("string"),format:v.Optional(v.String())}),UI),jI=v.Object({maxItems:v.Optional(v.Integer({minimum:0})),minItems:v.Optional(v.Integer({minimum:0})),uniqueItems:v.Optional(v.Boolean()),items:v.Optional(Vo),prefixItems:v.Optional(v.Array(Vo))}),Cse=at(v.Object({type:v.Literal("array")}),jI),QI=v.Object({maxProperties:v.Optional(v.Integer({minimum:0})),minProperties:v.Optional(v.Integer({minimum:0})),required:v.Optional(v.Array(v.String())),properties:v.Optional(v.Record(v.String(),Vo)),additionalProperties:v.Optional(v.Union([v.Boolean(),Vo])),patternProperties:v.Optional(v.Record(v.String(),Vo)),propertyNames:v.Optional(Vo)}),$se=at(v.Object({type:v.Literal("object")}),QI),Pse=at(v.Object({type:v.Array(Ase),format:v.Optional(v.String())}
8),BI,UI,jI,QI),Ise=v.Union([at(v.Object({__scalar_:v.String()}),du,uu),at(Tse,du,uu),at(Ese,du,uu),at(_se,du,uu),at($se,du,uu),at(Cse,du,uu),at(Pse,du,uu)]),Nse=v.Partial(v.Record(v.String(),v.Array(v.String()))),Rse=v.Object({"x-default-scopes":v.Optional(v.Array(v.String()))}),Mse=ne({"x-default-scopes":_(He(M()))},{typeName:"XDefaultScopes",typeComment:"Default selected OAuth scopes"}),gy=at(v.Object({description:v.Optional(v.String())}),_p),Lse=at(gy,v.Object({type:v.Literal("apiKey"),name:v.String(),in:v.Union([v.Literal("query"),v.Literal("header"),v.Literal("cookie")])})),Dse=at(gy,v.Object({type:v.Literal("http"),scheme:v.Union([v.Literal("basic"),v.Literal("bearer")]),bearerFormat:v.Optional(v.String())})),Bse=at(gy,v.Object({type:v.Literal("oauth2"),flows:Bie}),Rse),Use=at(gy,v.Object({type:v.Literal("openIdConnect"),openIdConnectUrl:v.String()})),jse=v.Union([Lse,Dse,Bse,Use]),Qse=v.Object({url:v.String(),description:v.Optional(v.String()),variables:v.Optional(v.Record(v.String(),Uie))}),Fse=v.Object({enum:v.Optional(v.Array(v.String())),default:v.Optional(v.String()),description:v.Optional(v.String())}),zse=v.Object({"x-displayName":v.Optional(v.String())}),Vse=ne({"x-displayName":_(M())},{typeName:"XDisplayName",typeComment:"Display-friendly name for a tag"}),Hse=at(v.Object({name:v.String(),summary:v.Optional(v.String()),description:v.Optional(v.String()),parent:v.Optional(v.String()),kind:v.Optional(v.String()),externalDocs:v.Optional(dy)}),zse,my,_p,dx),qse=v.Object({name:v.Optional(v.String()),namespace:v.Optional(v.String()),prefix:v.Optional(v.String()),attribute:v.Optional(v.Boolean()),wrapped:v.Optional(v.Boolean())}),Zse=at(v.Partial(v.Object({"x-original-oas-version":v.String(),[Is.document.navigation]:jie})),uie,Tie,nie,yI,aie,dx,wie,lie,oie,yie,gie,pie,bI,gI),Xse=at(v.Object({openapi:v.String(),info:Iie,jsonSchemaDialect:v.Optional(v.String()),servers:v.Optional(v.Array(uy)),paths:v.Optional(qk),webhooks:v.Optional(qk),components:v.Optional(Cie),security:v.Optional(v.Array(vI)),tags:v.Optional(v.Array($ie)),externalDocs:v.Optional(dy)}),Zse),pn=v.Module({[rt.ComponentsObject]:qie,[rt.SecurityRequirementObject]:Nse,[rt.TagObject]:Hse,[rt.CallbackObject]:Hie,[rt.PathItemObject]:ose,[rt.PathsObject]:sse,[rt.OperationObject]:tse,[rt.SchemaObject]:Ise,[rt.EncodingObject]:Wie,[rt.MediaTypeObject]:poe,[rt.HeaderObject]:toe,[rt.ServerObject]:Qse,[rt.ExternalDocumentationObject]:Jie,[rt.InfoObject]:uoe,[rt.ContactObject]:Zie,[rt.LicenseObject]:doe,[rt.ResponseObject]:dse,[rt.ResponsesObject]:fse,[rt.ParameterObject]:ise,[rt.ExampleObject]:Kie,[rt.RequestBodyObject]:use,[rt.SecuritySchemes]:$I,[rt.SecuritySchemeObject]:jse,[rt.LinkObject]:foe,[rt.XMLObject]:qse,[rt.DiscriminatorObject]:Xie,[rt.OAuthFlowsObject]:Ioe,[rt.ServerVariableObject]:Fse,OpenApiDocument:Xse,[rt.TraversedDescriptionObject]:SI,[rt.TraversedOperationObject]:wI,[rt.TraversedAsyncApiOperationObject]:xI,[rt.TraversedAsyncApiChannelObject]:kI,[rt.TraversedAsyncApiMessageObject]:AI,[rt.TraversedSchemaObject]:TI,[rt.TraversedWebhookObject]:EI,[rt.TraversedTagObject]:_I,[rt.TraversedEntryObject]:zie,[rt.TraversedDocumentObject]:OI}),Kk=pn.Import("OpenApiDocument");pn.Import("ComponentsObject");const Wse=pn.Import("SecurityRequirementObject");pn.Import("TagObject");pn.Import("CallbackObject");pn.Import("PathItemObject");pn.Import("PathsObject");pn.Import("OperationObject");const Yse=pn.Import("SchemaObject");pn.Import("EncodingObject");pn.Import("MediaTypeObject");pn.Import("HeaderObject");const n2t=pn.Import("ServerObject");pn.Import("ExternalDocumentationObject");pn.Import("InfoObject");pn.Import("ContactObject");pn.Import("LicenseObject");pn.Import("ResponseObject");pn.Import("ResponsesObject");pn.Import("ParameterObject");pn.Import("ExampleObject");pn.Import("RequestBodyObject");pn.Import("SecuritySchemes");const Gse=pn.Import("SecuritySchemeObject");pn.Import("LinkObject");pn.Import("XMLObject");pn.Import("DiscriminatorObject");pn.Import("OAuthFlowsObject");pn.Import("ServerVariableObject");pn.Import("TraversedDescriptionObject");pn.Import("TraversedEntryObject");pn.Import("TraversedTagObject");pn.Import("TraversedOperationObject");pn.Import("TraversedSchemaObject");pn.Import("TraversedWebhookObject");const vt={schema:e=>{if(e===void 0)return;const t=ke(e,Qr);return ts(at(Yse,v.Object({$ref:v.Optional(v.String())})),t)}},FI=10,Kse="additionalProperty",fx=new Date().toISOString(),Jse=fx.split("T")[0],ele=fx.split("T")[1].split(".")[0],tle={"date-time":fx,date:Jse,email:"[email protected]",hostname:"example.com","idn-email":"[email protected]","idn-hostname":"example.com",ipv4:"127.0.0.1",ipv6:"51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998","iri-reference":"/entitiy/1",iri:"https://example.com/entity/123","json-pointer":"/nested/objects",password:"super-secret",regex:"/[a-z]/","relative-json-pointer":"1/nested/objects",time:ele,"uri-reference":"../folder","uri-template":"https://example.com/{id}",uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000","object-id":"6592008029c8c3e4dc76256c"},nle=e=>{if(!("propertyNames"in e)||!e.propertyNames)return;const t=vt.schema(e.propertyNames);if(t&&"enum"in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},zI=(e,t=!1,n="")=>"type"in e&&e.type==="string"&&"format"in e&&e.format==="binary"?"@filename":t&&"format"in e&&e.format?tle[e.format]??n:n,FS=new WeakMap,Jk=new WeakMap,by=e=>Qt(e,{depth:1}),rle=e=>{if(!e)return;const t=Jk.get(e);if(t)return t;if("required"in e){const n=e.required;if(Array.isArray(n)&&n.length>0){const r=new Set(n);return Jk.set(e,r),r}}},Er=(e,t,n,r=!1)=>
8{if(r||typeof t!="object"||t===null)return t;const a=by(e),i=FS.get(a)??new Map;return i&&i.set(n,t),FS.set(a,i),t},ale=e=>!!(e.allOf||e.oneOf||e.anyOf),ile=(e,t,n,r)=>{if(e.deprecated||r?.mode==="write"&&e.readOnly||r?.mode==="read"&&e.writeOnly)return!0;if(r?.omitEmptyAndOptionalProperties!==!0||"type"in e&&(e.type==="object"||e.type==="array")||ale(e)||"examples"in e&&Array.isArray(e.examples)&&e.examples.length>0||"example"in e&&e.example!==void 0||"default"in e&&e.default!==void 0||"const"in e&&e.const!==void 0||"enum"in e&&Array.isArray(e.enum)&&e.enum.length>0)return!1;const i=n??e.title??"",o=rle(t);return!(o?o.has(i):!1)},VI=(e,t)=>t==null?e:e==null?t:Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&typeof e=="object"&&t&&typeof t=="object"?{...e,...t}:t,ole=FI*5,lO=new WeakMap,eA=(e,t)=>{switch(t){case"string":return typeof e=="string";case"number":return typeof e=="number"&&!Number.isNaN(e);case"integer":return typeof e=="number"&&Number.isInteger(e);case"boolean":return typeof e=="boolean";case"object":return typeof e=="object"&&e!==null&&!Array.isArray(e);case"array":return Array.isArray(e);case"null":return e===null;default:return!1}},cO=e=>{const t=by(e);if(lO.has(t))return lO.get(t);const n="$ref"in e?vt.schema(e):e;return lO.set(t,n),n},xg=(e,t,n=new Set,r=0)=>{if(r>ole)return!0;const a=by(e);if(n.has(a))return!0;if(n.add(a),"type"in e&&e.type&&!(Array.isArray(e.type)?e.type:[e.type]).some(u=>u==="number"&&eA(t,"integer")?!0:eA(t,u)))return n.delete(a),!1;const i=e.anyOf;if(Array.isArray(i)&&i.length>0&&!i.some(c=>{const u=cO(c);return!!u&&xg(u,t,n,r+1)}))return n.delete(a),!1;const o=e.oneOf;if(Array.isArray(o)&&o.length>0&&!o.some(c=>{const u=cO(c);return!!u&&xg(u,t,n,r+1)}))return n.delete(a),!1;const s=e.allOf;return Array.isArray(s)&&s.length>0&&!s.every(c=>{const u=cO(c);return!u||xg(u,t,n,r+1)})?(n.delete(a),!1):(n.delete(a),!0)},HI=Symbol("INVALID_DEFAULT"),sle=e=>{const t=e.default;return xg(e,t)?t:HI},lle=(e,t)=>[...e,t].join("."),px=(e,t,n,r)=>{const a=n?.compositionSelection?.[lle(e,t)];if(!(typeof a!="number"||Number.isNaN(a)))return Math.max(0,Math.min(a,r-1))},tA=e=>{if(e&&typeof e=="object"&&"x-order"in e){const t=Number(e["x-order"]);return Number.isNaN(t)?void 0:t}},cle=e=>Object.keys(e).sort((t,n)=>{const r=tA(e[t]),a=tA(e[n]);return r!==void 0&&a!==void 0?r-a:r!==void 0?-1:a!==void 0?1:0}),ule=(e,t,n,r,a,i,o)=>{const s={},l=Nb(o,e),c=o.length>0;if("properties"in e&&e.properties){const f=e.properties,p=cle(f),h=p.length;for(let b=0;b<h;b++){const y=p[b],O=vt.schema(f[y]);if(!O)continue;const A=t?.xml&&"xml"in O?O.xml?.name:void 0,x=Ga(O,t,{level:n+1,parentSchema:e,name:y,schemaPath:[...i,y],seen:r,dynamicScope:l});typeof x<"u"&&(s[A??y]=x)}}if("patternProperties"in e&&e.patternProperties)for(const f of Object.keys(e.patternProperties)){const p=vt.schema(e.patternProperties[f]);p&&(s[f]=Ga(p,t,{level:n+1,parentSchema:e,name:f,schemaPath:[...i,f],seen:r,dynamicScope:l}))}if("additionalProperties"in e&&e.additionalProperties){const f=typeof e.additionalProperties=="boolean"?e.additionalProperties:vt.schema(e.additionalProperties),p=e.additionalProperties===!0||typeof e.additionalProperties=="object"&&Object.keys(e.additionalProperties).length===0,h=typeof f=="object"&&"x-additionalPropertiesName"in f&&typeof f["x-additionalPropertiesName"]=="string"&&f["x-additionalPropertiesName"].trim().length>0,b=h?void 0:nle(e),y=h?f["x-additionalPropertiesName"].trim():Kse,O=p?"anything":typeof f=="object"?Ga(f,t,{level:n+1,schemaPath:[...i,y],seen:r,dynamicScope:l}):"anything";b&&b.length>0?s[String(b[0])]=O:s[y]=O}const u=e.oneOf?"oneOf":e.anyOf?"anyOf":void 0,d=u?e[u]:void 0;if(u&&d?.length){const f=px(i,u,t,d.length)??0,p=vt.schema(d[f]);p&&Object.assign(s,Ga(p,t,{level:n+1,schemaPath:i,seen:r,dynamicScope:l}))}else if(Array.isArray(e.allOf)&&e.allOf.length>0){let f=s,p=0;for(const h of e.allOf){const b=vt.schema(h),O=!!b&&(Array.isArray(b.oneOf)||Array.isArray(b.anyOf))?[...i,String(p++)]:i,A=Ga(b,t,{level:n+1,parentSchema:e,seen:r,dynamicScope:l,schemaPath:O});f=VI(f,A)}f&&typeof f=="object"&&Object.assign(s,f)}if(t?.xml&&"xml"in e&&e.xml?.name&&n===0){const f={};return f[e.xml.name]=s,Er(e,f,a,c)}return Er(e,s,a,c)},dle=(e,t,n,r,a,i,o)=>{const s=Nb(o,e),l=o.length>0;let c="items"in e?vt.schema(e.items):void 0,u=r;if(c&&Ib(c)){const y=Rb(c.$dynamicRef,s);y&&(c=y,u=new WeakSet)}const d=[...i,"items"],f=c&&typeof c=="object"&&"xml"in c?c.xml?.name:void 0,p=!!(t?.xml&&"xml"in e&&e.xml?.wrapped&&f);if(e.example!==void 0)return Er(e,p?{[f]:e.example}:e.example,a,l);if(c&&typeof c=="object"){if(Array.isArray(c.allOf)&&c.allOf.length>0){const A=c.allOf.filter(Bi),x=vt.schema(A[0]);if(x&&typeof x=="object"&&"type"in x&&x.type==="object"){const C=Ga({type:"object",allOf:A},t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return Er(e,p?[{[f]:C}]:[C],a,l)}const T=A.map(E=>
8Ga(vt.schema(E),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s})).filter(Bi);return Er(e,p?T.map(E=>({[f]:E})):T,a,l)}const y=c.oneOf?"oneOf":c.anyOf?"anyOf":void 0,O=y?c[y]:void 0;if(y&&O&&O.length>0){const A=px(d,y,t,O.length)??0,x=O[A],T=Ga(vt.schema(x),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return Er(e,p?[{[f]:T}]:[T],a,l)}}const h=c&&typeof c=="object"&&("type"in c&&c.type==="object"||"properties"in c),b=c&&typeof c=="object"&&("type"in c&&c.type==="array"||"items"in c);if(c&&typeof c=="object"&&("type"in c&&c.type||h||b)){const y=Ga(c,t,{level:n+1,schemaPath:d,seen:u,dynamicScope:s});return Er(e,p?[{[f]:y}]:[y],a,l)}return Er(e,[],a,l)},fle=(e,t,n)=>{if("type"in e&&e.type&&!Array.isArray(e.type))switch(e.type){case"string":return zI(e,t,n??"");case"boolean":return!0;case"integer":return"minimum"in e&&typeof e.minimum=="number"?e.minimum:1;case"number":return"minimum"in e&&typeof e.minimum=="number"?e.minimum:1;case"array":return[];default:return}},ple=(e,t,n)=>{if("type"in e&&Array.isArray(e.type)){if(e.type.includes("null"))return null;const r=e.type[0];if(r)switch(r){case"string":return zI(e,t,n??"");case"boolean":return!0;case"integer":return"minimum"in e&&typeof e.minimum=="number"?e.minimum:1;case"number":return"minimum"in e&&typeof e.minimum=="number"?e.minimum:1;case"null":return null;default:return}}},hle=e=>JSON.stringify({emptyString:e?.emptyString,xml:e?.xml,mode:e?.mode,variables:e?.variables,omitEmptyAndOptionalProperties:e?.omitEmptyAndOptionalProperties,compositionSelection:e?.compositionSelection?Object.entries(e.compositionSelection).sort(([t],[n])=>t.localeCompare(n)):void 0}),Ga=(e,t,{level:n=0,parentSchema:r,name:a,seen:i=new WeakSet,schemaPath:o=[],dynamicScope:s=[]}={})=>{const l=vt.schema(e);if(!Bi(l))return;if(Ib(l)){const A=Rb(l.$dynamicRef,s);if(A)return Ga(A,t,{level:n+1,parentSchema:r,name:a,seen:new WeakSet,schemaPath:o,dynamicScope:s})}const c=Nb(s,l),u=s.length>0,d=by(l);if(i.has(d))return;i.add(d);const f=hle(t)+(o.length>0?`:path:${o.join(".")}`:"");if(!u){const A=FS.get(d)?.get(f);if(typeof A<"u")return i.delete(d),A}if(n>FI)return i.delete(d),"[Max Depth Exceeded]";const p=!!t?.emptyString;if(ile(l,r,a,t)){i.delete(d);return}if("x-variable"in l&&l["x-variable"]){const A=t?.variables?.[l["x-variable"]];if(A!==void 0)return"type"in l&&(l.type==="number"||l.type==="integer")?(i.delete(d),Er(l,Number(A),f,u)):(i.delete(d),Er(l,A,f,u))}if(Array.isArray(l.examples)&&l.examples.length>0)return i.delete(d),Er(l,l.examples[0],f,u);if(l.example!==void 0)return i.delete(d),Er(l,l.example,f,u);if(l.default!==void 0){const A=sle(l);if(A!==HI)return i.delete(d),Er(l,A,f,u)}if(l.const!==void 0)return i.delete(d),Er(l,l.const,f,u);if(Array.isArray(l.enum)&&l.enum.length>0)return i.delete(d),Er(l,l.enum[0],f,u);if("properties"in l||"type"in l&&l.type==="object"){const A=ule(l,t,n,i,f,o,s);return i.delete(d),A}if("type"in l&&l.type==="array"||"items"in l){const A=dle(l,t,n,i,f,o,s);return i.delete(d),A}const h=fle(l,p,t?.emptyString);if(h!==void 0)return i.delete(d),Er(l,h,f,u);const b=l.oneOf?"oneOf":l.anyOf?"anyOf":void 0,y=b?l[b]:void 0;if(b&&Array.isArray(y)&&y.length>0){const A=px(o,b,t,y.length),x=A!==void 0?y[A]:y.find(T=>{const E=vt.schema(T);return E&&(!("type"in E)||E.type!=="null")});if(x){const T=vt.schema(x);if(T)return i.delete(d),Er(l,Ga(T,t,{level:n+1,schemaPath:o,seen:i,dynamicScope:c}),f,u)}return i.delete(d),Er(l,null,f,u)}if(Array.isArray(l.allOf)&&l.allOf.length>0){let A;const x=l.allOf;let T=0;for(const E of x){const C=vt.schema(E),R=!!C&&(Array.isArray(C.oneOf)||Array.isArray(C.anyOf))?[...o,String(T++)]:o,j=Ga(E,t,{level:n+1,parentSchema:l,schemaPath:R,seen:i,dynamicScope:c});A===void 0?A=j:A&&typeof A=="object"&&j&&typeof j=="object"?A=VI(A,j):j!=null&&(A=j)}return i.delete(d),Er(l,A??null,f,u)}const O=ple(l,p,t?.emptyString);return O!==void 0?(i.delete(d),Er(l,O,f,u)):(i.delete(d),Er(l,null,f,u))},mle=(e,t)=>typeof e=="string"?e:t.includes("json")||typeof e=="object"&&e!==null&&!Array.isArray(e)?JSON.stringify(e):String(e),qI=(e,t)=>{if(Array.isArray(e))return e.join(",");if(typeof e=="object"&&e!==null){const n=Object.entries(e);return t?n.map(([r,a])=>`${r}=${a}`).join(","):n.map(([r,a])=>`${r},${a}`).join(",")}return e},f2=(e,t)=>Array.isArray(e)&&t?e.map(n=>({key:"",value:n})):Array.isArray(e)?e.join(","):typeof e=="object"&&e!==null&&t?Object.entries(e).map(([n,r])=>({key:n,value:r}
8)):typeof e=="object"&&e!==null?Object.entries(e).map(([n,r])=>`${n},${r}`).join(","):e,gle=(e,t)=>{if(Array.isArray(e)&&t)return e.map(n=>({key:"",value:n}));if(Array.isArray(e))return e.map(n=>n===null?"null":String(n)).join(",");if(typeof e=="object"&&e!==null&&t)return Object.entries(e).map(([n,r])=>({key:n,value:r}));if(typeof e=="object"&&e!==null){const n=r=>{const a=[];for(const[i,o]of Object.entries(r))typeof o=="object"&&o!==null&&!Array.isArray(o)?a.push(i,...n(o)):a.push(i,o===null?"null":String(o));return a};return n(e).join(",")}return e},ZI=e=>Array.isArray(e)?e.join(" "):typeof e=="object"&&e!==null?Object.entries(e).map(([t,n])=>`${t} ${n}`).join(" "):String(e),XI=e=>Array.isArray(e)?e.join("|"):typeof e=="object"&&e!==null?Object.entries(e).flat().join("|"):String(e),WI=(e,t)=>{const n=[],r=(i,o)=>{if(Array.isArray(o))for(const s of o)r(`${i}[]`,s);else typeof o=="object"&&o!==null?a(o,i):n.push({key:i,value:String(o)})},a=(i,o)=>{for(const[s,l]of Object.entries(i))r(`${o}[${s}]`,l)};return typeof t=="object"&&t!==null&&!Array.isArray(t)&&a(t,e),n},nA=e=>e!==null&&typeof e=="object"?JSON.stringify(e):String(e),ble=(e,t,n)=>{if(!(!!n&&(n.style!==void 0||n.explode!==void 0||n.allowReserved!==void 0))||typeof t!="object"||t===null||t instanceof File||Array.isArray(t)&&t.some(l=>l instanceof File))return null;const a=Qt(t),i=n?.style??"form",o=n?.explode??i==="form",s=[];if(i==="deepObject")if(Array.isArray(a)){const l=f2(a,!0);if(Array.isArray(l))for(const c of l)s.push({key:c.key||e,value:nA(c.value)});else s.push({key:e,value:String(l)})}else for(const l of WI(e,a))s.push({key:l.key,value:String(l.value)});else if(i==="spaceDelimited")s.push({key:e,value:String(ZI(a))});else if(i==="pipeDelimited")s.push({key:e,value:String(XI(a))});else{const l=f2(a,o);if(Array.isArray(l))for(const c of l)s.push({key:c.key||e,value:nA(c.value)});else s.push({key:e,value:String(l)})}return s},yle="x-scalar-cookie",r2t="x-scalar-set-cookie",vle="x-scalar-user-agent",Ole="x-scalar-date",Sle="x-scalar-dnt",wle="x-scalar-referer",wi={PROTOCOL:/^(?:https?|ftp|file|mailto|tel|data|wss?)*:\/\//,MULTIPLE_SLASHES:new RegExp("(?<!:)\\/{2,}","g"),VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g,REF_NAME:/\/([^\/]+)$/};function xle(e,t){const n=/{{\s*([\w.-]+)\s*}}/g,r=/{\s*([\w.-]+)\s*}/g,a=(i,o)=>typeof t=="function"?t(o):t[o]?.toString()||`{${o}}`;return e.replace(n,a).replace(r,a)}const p2=(e,t={})=>e.replace(wi.PATH,(n,r)=>t[r]??n),Dr=(e,t={})=>e.replace(wi.VARIABLES,(n,r)=>typeof t=="function"?t(r)??n:t[r]??n),h2=e=>({ok:!0,data:e}),Vu=(e,t)=>({ok:!1,error:e,message:t}),rA=e=>e instanceof Error?e.message:String(e);function m2(e){try{const t=e();return t instanceof Promise?t.then(n=>h2(n),n=>(console.error(n),Vu(rA(n)))):h2(t)}catch(t){return console.error(t),Vu(rA(t))}}const kle=["localhost","127.0.0.1","[::1]","0.0.0.0"],Ale=["test","example","invalid","localhost"];function qf(e){try{const{hostname:t}=new URL(e);if(kle.includes(t))return!0;const n=t.split(".").pop();return!!(n&&Ale.includes(n))}catch{return!0}}const Ic=e=>!(wi.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e)),yy=(e,t)=>{try{if(!vy(e,t))return t??"";const n=new URL(t),r=Ic(e)?`http://localhost${e}`:e;return n.href=r,n.searchParams.append("scalar_url",t),Ic(e)?n.toString().replace(/^http:\/\/localhost/,""):n.toString()}catch{return t??""}},vy=(e,t)=>{try{return!e||!t||Ic(t)?!1:Ic(e)||qf(e)?!0:!qf(t)}catch{return!1}};typeof TextDecoder=="function"&&new TextDecoder("utf-8",{ignoreBOM:!0});const aA=typeof TextEncoder=="function"?new TextEncoder:void 0,Tle="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ih=Array.prototype.slice.call(Tle);(e=>{let t={};return e.forEach((n,r)=>t[n]=r),t})(Ih);const Cs=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const YI=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),Ele=e=>{let t,n,r,a,i="";const o=e.length%3;for(let s=0;s<e.length;){if((n=e.charCodeAt(s++))>255||(r=e.charCodeAt(s++))>255||(a=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|a,i+=Ih[t>>18&63]+Ih[t>>12&63]+Ih[t>>6&63]+Ih[t&63]}return o?i.slice(0,o-3)+"===".substring(o):i},GI=typeof btoa=="function"?e=>btoa(e):Ele,zS=typeof Uint8Array.prototype.toBase64=="function"?e=>e.toBase64():e=>{let n=[];for(let r=0,a=e.length;r<a;r+=4096)n.push(Cs.apply(null,e.subarray(r,r+4096)));return GI(n.join(""))},KI=(e,t=!1)=>t?YI(zS(e)):zS(e),_le=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Cs(192|t>>>6)+Cs(128|t&63):Cs(224|t>>>12&15)+Cs(128|t>>>6&63)+Cs(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Cs(240|t>>>18&7)+Cs(128|t>>>12&63)+Cs(128|t>>>6&63)+Cs(128|t&63)}},Cle=/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\x00-\x7F]/g,$le=e=>e.replace(Cle,_le),iA=aA?e=>zS(aA.encode(e)):e=>GI($le(e)),vd=(e,t=!1)=>t?YI(iA(e)):iA(e),Ple=(e,t)=>
8{if(!e||!t)return!0;try{const n=e.startsWith("http")?e:`http://${e}`,r=new URL(n).hostname,a=!t,i=t===r,o=t.startsWith(".")&&t===`.${r}`,s=t.startsWith(".")&&r?.endsWith(t);return a||i||s||o}catch{return!1}},JI=({cookie:e,url:t,disabledGlobalCookies:n})=>{if(e.isDisabled||n[e.name.toLowerCase()]===!0||!e.name)return!1;const r=new URL(t,"https://example.com");return!(e.domain&&!Ple(t,e.domain)||e.path&&!r.pathname.startsWith(e.path))},Ile="We're using a `X-Scalar-Cookie` custom header to the request. The proxy will forward this as a `Cookie` header. We do this to avoid the browser omitting the `Cookie` header for cross-origin requests for security reasons.",Nle=`We're trying to add a Cookie header, but browsers often omit them for cross-origin requests for various security reasons. If it's not working, that's probably why. Here are the requirements for it to work: 9 10 - The browser URL must be on the same domain as the server URL. 11 - The connection must be made over HTTPS. 12 `,Rle=(e,t)=>{const n=e.map(r=>`${r.name}=${r.value}`).join("; ");return t&&n?`${t}; ${n}`:t||n||""},Mle=({cookies:e,originalCookieHeader:t,url:n,useCustomCookieHeader:r})=>{const a=Rle(e.filter(i=>JI({url:n,cookie:i,disabledGlobalCookies:{}})),t??void 0);return a?r?(console.warn(Ile),{name:yle,value:a}):(console.warn(Nle),{name:"Cookie",value:a}):null},Lle={21:"!",24:"$",27:"'",28:"(",29:")","2A":"*","2C":",","2F":"/","3A":":","3B":";",40:"@"},Dle=e=>e.replace(/%([0-9A-Fa-f]{2})/g,(t,n)=>Lle[n.toUpperCase()]??t),Ble=e=>{try{return decodeURIComponent(e.replaceAll("+","%20"))}catch{return e}},eN=(e,t)=>{if(t.size===0)return e;const n=e.indexOf("?");if(n===-1)return e;const r=e.indexOf("#",n),a=e.slice(0,n+1),i=r===-1?e.slice(n+1):e.slice(n+1,r),o=r===-1?"":e.slice(r);if(!i)return e;const s=i.split("&").map(l=>{if(!l)return l;const c=l.indexOf("="),u=c===-1?l:l.slice(0,c),d=Ble(u);if(!t.has(d)||c===-1)return l;const f=l.slice(c+1);return`${u}=${Dle(f)}`}).join("&");return`${a}${s}${o}`};function Ule(e){return wi.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,"")}`}const tN=(...e)=>{const t={};e.forEach(r=>{const a=Array.from(r.keys());
12new Set(a).forEach(o=>{const s=r.getAll(o),l=s.length>1?s:s[0]??"";t[o]=l})});const n=new URLSearchParams;return Object.entries(t).forEach(([r,a])=>{Array.isArray(a)?a.forEach(i=>n.append(r,i)):n.append(r,a)}),n},kc=(e,t)=>!t||e===t?e.trim():e?`${e.trim()}/${t.trim()}`.replace(wi.MULTIPLE_SLASHES,"/"):t.trim(),wm=(e,t,n=new URLSearchParams,r=!1)=>{if(e&&(!Ic(e)||typeof window<"u")){const a=r?e:Ic(e)?kc(window.location.origin,e):Ule(e),[i="",o]=a.split("?"),s=new URLSearchParams(o||""),[l="",c]=t.split("?"),u=new URLSearchParams(c||""),d=e===t?i:kc(i,l),p=tN(s,u,n).toString();return p?`${d}?${p}`:d}return t?kc(e,t):""},jle="MISSING_REQUEST_SERVER_BASE",oA="INVALID_REQUEST_FACTORY_URL",Qle="No server URL is configured for this request. Add a servers entry to your OpenAPI document (or set a server in the client) before sending.",nN=(e,t)=>{const n=t.envVariables,r=m2(()=>Object.fromEntries(Object.entries(e.path.variables).map(([b,y])=>[b,encodeURIComponent(Dr(y,n))])));if(!r.ok)return Vu(oA,"The request URL contains invalid characters in path parameters.");const a=r.data,i=Dr(e.baseUrl,n),o=Dr(e.path.raw,n),s=p2(o,a),l=wm(i,s);if(!t.allowMissingRequestServerBase&&Ic(l))return Vu(jle,Qle);const c=globalThis.window?.location?.origin,u=c&&c!=="null"?c:"http://localhost:3000",d=m2(()=>new URL(l,u));if(!d.ok)return Vu(oA,"The request URL could not be parsed. Check the server URL and path for invalid characters.");const f=d.data,p=new URLSearchParams;for(const[b,y]of e.query.entries())p.append(Dr(b,n),Dr(y,n));const h=new URLSearchParams;for(const[b,y]of t.securityQueryParams.entries())h.append(b,y);return f.search=tN(f.searchParams,p,h).toString(),h2(f.toString())},sA=["9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d","f47ac10b-58cc-4372-a567-0e02b2c3d479","1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed","6ba7b810-9dad-11d1-80b4-00c04fd430c8","a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11","3fa85f64-5717-4562-b3fc-2c963f66afa6","550e8400-e29b-41d4-a716-446655440000","c56a4180-65aa-42ec-a945-5fd21dec0538","7c9e6679-7425-40de-944b-e07fc1f90ae7","e4eaaaf2-d142-11e1-b3e4-080027620cdd","aab5d5fd-70c1-11e5-a4fb-b026b977eb28","2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d","d9428888-122b-11e1-b85c-61cd3cbed5a2","fb1a38e6-4be3-4e38-b8ec-c0c2c2d9e2a7","01234567-89ab-cdef-0123-456789abcdef"],g2="abcdefghijklmnopqrstuvwxyz0123456789",lA=["#e34f26","#3498db","#2ecc71","#9b59b6","#f1c40f","#1abc9c","#e74c3c","#2c3e50","#d35400","#8e44ad","#27ae60","#c0392b","#16a085","#f39c12","#7f8c8d"],Fle=["HTTP","SQL","TCP","JSON","XML","API","SSL","CSS","HTML","RAM","FTP","SSH","DNS","URL","USB"],zle=["192.168.1.42","10.0.0.134","172.16.254.1","203.0.113.50","198.51.100.23","100.24.56.78","54.239.28.85","13.107.42.14","151.101.1.140","216.58.214.206","93.184.216.34","104.16.249.249","172.217.14.206","185.199.108.153","140.82.121.4"],Vle=["2001:0db8:85a3:0000:0000:8a2e:0370:7334","fe80:0000:0000:0000:0202:b3ff:fe1e:8329","2607:f8b0:4004:0800:0000:0000:0000:200e","2001:4860:4860:0000:0000:0000:0000:8888","2a03:2880:f10c:0083:face:b00c:0000:25de","fd12:3456:789a:1000:0000:0000:0000:0001","2600:1f18:2489:8200:a953:2c7b:e7e0:d12f","2001:0db8:0000:0042:0000:8a2e:0370:7334","fe80:0000:0000:0000:4c5a:e8ff:fe7c:3d92","2001:0db8:aaaa:bbbb:cccc:dddd:eeee:0001"],Hle=["00:1A:2B:3C:4D:5E","A4:83:E7:2D:6B:9F","48:2C:6A:1E:59:3D","00:50:56:C0:00:08","D4:BE:D9:19:6F:F2","3C:22:FB:4A:88:C1","08:00:27:5B:8E:A4","F0:18:98:43:65:DA","5C:CF:7F:2B:1D:E3","00:0C:29:3E:71:BC","1C:6F:65:A2:8D:49","B8:27:EB:63:4F:78"],qle=["en","es","fr","de","it","pt","ja","zh","ko","ar","ru","nl","sv","pl","da","fi","nb","tr","hi","th"],Zle=["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Safari/605.1.15","Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0","Mozilla/5.0 (iPhone; CPU iPhone OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1","Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.43 Mobile Safari/537.36","Mozilla/5.0 (iPad; CPU OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1","Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0","Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"],Xle=["http","https"],Wle=["1.0.0","2.3.1","0.9.4","3.12.0","1.5.7","4.0.0-beta.
121","0.1.0","2.0.3","1.2.0","5.4.2","3.1.0","0.8.12","2.7.5","1.14.0","6.0.0"],cA=["Emma","Liam","Olivia","Noah","Ava","James","Sophia","Oliver","Isabella","Lucas","Mia","Ethan","Charlotte","Mason","Amelia"],uA=["Smith","Johnson","Williams","Brown","Jones","Garcia","Miller","Davis","Rodriguez","Martinez","Hernandez","Lopez","Gonzalez","Wilson","Anderson"],Yle=["Mr.","Mrs.","Ms.","Dr.","Prof.","Rev.","Sir","Mx."],Gle=["Jr.","Sr.","II","III","IV","PhD","MD","DDS","Esq."],Kle=["Marketing","Engineering","Finance","Operations","Human Resources","Sales","Research","Design","Legal","Product","Data","Support","Quality","Security","Communications"],Jle=["Senior","Lead","Junior","Principal","Chief","Associate","Global","Regional","Internal","Dynamic","Staff","Executive","National","Strategic","Corporate"],ece=["Software Engineer","Product Manager","Data Analyst","UX Designer","DevOps Engineer","Marketing Director","Sales Representative","Financial Analyst","Project Manager","QA Engineer","Technical Writer","System Administrator","Business Analyst","Account Executive","Operations Manager"],tce=["Full-time","Part-time","Contract","Freelance","Internship","Temporary","Remote","Hybrid","Consultant","Seasonal"],dA=["(555) 123-4567","(555) 987-6543","(555) 246-8135","(555) 369-2580","(555) 741-8520","(555) 852-9631","(555) 147-2583","(555) 963-8520","(555) 321-6540","(555) 654-9870","(555) 789-0123","(555) 234-5678","(555) 876-5432","(555) 468-1357","(555) 531-2468"],nce=["New York","London","Tokyo","Paris","Sydney","Toronto","Berlin","Singapore","Mumbai","São Paulo","Amsterdam","Seoul","Dublin","Barcelona","Melbourne"],rce=["Main Street","Oak Avenue","Park Boulevard","Cedar Lane","Elm Drive","Maple Court","Pine Road","Walnut Street","Birch Avenue","Cherry Lane","Willow Way","Spruce Circle","Aspen Drive","Hickory Place","Chestnut Road"],ace=["123 Main Street","456 Oak Avenue","789 Park Boulevard","321 Cedar Lane","654 Elm Drive","987 Maple Court","147 Pine Road","258 Walnut Street","369 Birch Avenue","741 Cherry Lane","852 Willow Way","963 Spruce Circle","159 Aspen Drive","357 Hickory Place","486 Chestnut Road"],ice=["United States","United Kingdom","Canada","Australia","Germany","France","Japan","Brazil","India","Netherlands","South Korea","Singapore","Ireland","Spain","Sweden"],oce=["US","GB","CA","AU","DE","FR","JP","BR","IN","NL","KR","SG","IE","ES","SE","IT","NO","DK","FI","CH"],sce=["40.7128","-33.8688","51.5074","35.6762","48.8566","-23.5505","19.4326","55.7558","1.3521","37.7749","52.3676","34.0522","41.9028","39.9042","25.2048"],lce=["-74.0060","151.2093","-0.1278","139.6503","2.3522","-46.6333","-99.1332","37.6173","103.8198","-122.4194","4.9041","-118.2437","12.4964","116.4074","55.2708"],cce=["https://avatars.githubusercontent.com/u/12345678","https://avatars.githubusercontent.com/u/23456789","https://avatars.githubusercontent.com/u/34567890","https://avatars.githubusercontent.com/u/45678901","https://avatars.githubusercontent.com/u/56789012","https://avatars.githubusercontent.com/u/67890123","https://avatars.githubusercontent.com/u/78901234","https://avatars.githubusercontent.com/u/89012345","https://avatars.githubusercontent.com/u/90123456","https://avatars.githubusercontent.com/u/10234567"],uce=["https://picsum.photos/seed/scalar1/640/480","https://picsum.photos/seed/scalar2/640/480","https://picsum.photos/seed/scalar3/640/480","https://picsum.photos/seed/scalar4/640/480","https://picsum.photos/seed/scalar5/640/480","https://picsum.photos/seed/scalar6/640/480","https://picsum.photos/seed/scalar7/640/480","https://picsum.photos/seed/scalar8/640/480","https://picsum.photos/seed/scalar9/640/480","https://picsum.photos/seed/scalar10/640/480"],Io="https://loremflickr.com/640/480",dce=Array.from({length:10},(e,t)=>`${Io}/abstract?lock=${t+1}`),fce=Array.from({length:10},(e,t)=>`${Io}/animals?lock=${t+1}`),pce=Array.from({length:10},(e,t)=>`${Io}/business?lock=${t+1}`),hce=Array.from({length:10},(e,t)=>`${Io}/cat?lock=${t+1}`),mce=Array.from({length:10},(e,t)=>`${Io}/city?lock=${t+1}`),gce=Array.from({length:10},(e,t)=>`${Io}/food?lock=${t+1}`),bce=Array.from({length:10},(e,t)=>`${Io}/nightlife?lock=${t+1}`),yce=Array.from({length:10},(e,t)=>`${Io}/fashion?lock=${t+1}`),vce=Array.from({length:10},(e,t)=>`${Io}/people?lock=${t+1}`),Oce=Array.from({length:10},(e,t)=>`${Io}/nature?lock=${t+1}`),Sce=Array.from({length:10},(e,t)=>`${Io}/sports?lock=${t+1}`),wce=Array.from({length:10},(e,t)=>`${Io}/transport?lock=${t+1}`),xce=["data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%233498db%22%20width%3D%2264%22%20height%3D%2264%22%2F%3
12E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23e74c3c%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%232ecc71%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%239b59b6%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23f1c40f%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E"],kce=["34042448","34102758","02997566","52631809","75412296","37762776","44117882","13865687","44377086","74440091"],Ace=["Personal Checking","Savings Account","Money Market","Home Loan","Auto Loan","Investment Account","Business Checking","Credit Card","Retirement Fund","College Savings"],Tce=["DEUTDEFF","BNPAFRPP","CHASUS33","HSBCGB2L","COBADEFF","SCBLSGSG","ANZBAU3M","CITIUS33","BOFAUS3N","NWBKGB2L"],Ece=["GB29NWBK60161331926819","DE89370400440532013000","FR7630006000011234567890189","ES9121000418450200051332","IT60X0542811101000000123456","NL91ABNA0417164300","CH9300762011623852957","BE68539007547034","AT611904300234573201","FI2112345600000785"],_ce=["deposit","withdrawal","payment","invoice","transfer"],Cce=["USD","EUR","GBP","JPY","AUD","CAD","CHF","CNY","INR","BRL","SEK","NOK","DKK","SGD","HKD"],$ce=["US Dollar","Euro","British Pound","Japanese Yen","Australian Dollar","Canadian Dollar","Swiss Franc","Chinese Yuan","Indian Rupee","Brazilian Real","Swedish Krona","Norwegian Krone","Danish Krone","Singapore Dollar","Hong Kong Dollar"],Pce=["$","â¬","£","Â¥","A$","C$","CHF","Â¥","â¹","R$"],Ice=["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa","3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy","bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4","1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2","3Kzh9qAqVWQhEsfQz7zEQL1EuSx5tyNLNS","1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF","bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh","3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5","1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ","bc1q42lja79elem0anu8q860g3milve2ycq5t8g3ux"],Nce=["Acme Corp","Globex","Initech","Umbrella Industries","Stark Enterprises","Wayne Corp","Cyberdyne Systems","Tyrell Corp","Soylent Corp","Aperture Science","Massive Dynamic","Oscorp","Abstergo","Weyland-Yutani","Hooli"],Rce=["Inc","LLC","Group","Ltd","PLC","Corp"],fA=["leverage agile frameworks","iterate revolutionary convergence","drive seamless solutions","enable viral e-services","synergize scalable supply-chains","harness real-time channels","orchestrate integrated experiences","deliver frictionless partnerships","transform dynamic mindshare","cultivate open-source communities"],Mce=["innovative","scalable","seamless","cutting-edge","robust","synergistic","dynamic","holistic","strategic","disruptive","frictionless","proactive","world-class","collaborative","granular"],Lce=["leverage","iterate","synergize","monetize","orchestrate","disintermediate","harness","incentivize","optimize","streamline","revolutionize","cultivate","empower","facilitate","aggregate"],Dce=["frameworks","paradigms","synergies","platforms","infrastructures","bandwidth","channels","communities","convergence","deliverables","e-markets","experiences","initiatives","interfaces","methodologies"],Bce=["Adaptive zero defect data-warehouse","Automated scalable protocol","Business-focused zero defect hub","Cloned responsive flexibility","Cross-group background collaboration","De-engineered stable conglomeration","Distributed actuating throughput","Enhanced client-server capability","Face to face explicit superstructure","Front-line multimedia interface"],Uce=["Adaptive","Advanced","Automated","Balanced","Business-focused","Centralized","Cloned","Configurable","Cross-group","Customizable","De-engineered","Decentralized","Digitized","Distributed","Enhanced"],jce=["24 hour","actuating","analyzing","asymmetric","asynchronous","background","bandwidth-monitored","bi-directional","bifurcated","bottom-line","clear-thinking","client-driven","client-server","coherent","cohesive"],Qce=["ability","access","algorithm","alliance","analyzer","application","approach","architecture","array","attitude","benchmark","budgetary management","capability","capacity","challenge"],Fce=["id","name","email","status","created_at","updated_at","description","amount","category","token","avatar","phone","address","comment","title"],zce=["int","varchar","text","boolean","date","timestamp","float","bigint","json","uuid","decimal","enum","blob","char","smallint"],Vce=["utf8_general_ci","utf8mb4_unicode_ci","ascii_general_ci","latin1_swedis
12h_ci","utf8_unicode_ci","utf8mb4_general_ci","utf8_bin","latin1_general_ci","utf8mb4_bin","ascii_bin"],Hce=["InnoDB","MyISAM","MEMORY","CSV","ARCHIVE","FEDERATED","NDB","MERGE","BLACKHOLE","EXAMPLE"],qce=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Zce=["January","February","March","April","May","June","July","August","September","October","November","December"],Xce=["example.com","test-site.org","my-app.io","dev-portal.net","api-hub.com","code-base.dev","data-flow.co","web-pulse.io","cloud-nest.org","tech-wave.net","open-source.dev","byte-craft.io","pixel-lab.co","node-spark.com","vue-forge.dev"],Wce=["com","org","net","io","dev","co","info","app","me","xyz"],Yce=["example","test-site","my-app","dev-portal","api-hub","code-base","data-flow","web-pulse","cloud-nest","tech-wave","open-source","byte-craft","pixel-lab","node-spark","vue-forge"],Gce=["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"],Kce=["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"],Jce=["emma_dev42","liam.codes","olivia_tech","noah_builds","ava.hacks","james_ops","sophia_data","oliver.api","isa_design","lucas_vue","mia_cloud","ethan.stack","char_pixel","mason_byte","amelia_net"],eue=["https://example.com","https://test-site.org","https://my-app.io","https://dev-portal.net","https://api-hub.com","https://code-base.dev","https://data-flow.co","https://web-pulse.io","https://cloud-nest.org","https://tech-wave.net","https://open-source.dev","https://byte-craft.io"],tue=["report.pdf","data.csv","image.png","backup.tar.gz","readme.md","config.yml","schema.json","styles.css","app.tsx","index.html","notes.txt","archive.zip","log.xml","script.sh","database.sql"],nue=["application","text","image","audio","video","font","model","multipart","message","chemical"],rue=["pdf","csv","png","json","md","yml","html","txt","xml","sql","tar","gz","wasm","webp"],aue=["report.pdf","photo.jpg","document.docx","spreadsheet.xlsx","presentation.pptx","image.png","video.mp4","audio.mp3","archive.zip","readme.txt"],iue=["text","application","image","audio","video"],oue=["pdf","jpg","png","gif","mp3","mp4","doc","xls","ppt","txt","zip","html","css","js","json"],sue=["/home/user/documents/report.pdf","/var/log/app/server.log","/tmp/upload/image.png","/opt/data/backup.tar.gz","/home/user/projects/app/src/index.ts","/etc/config/settings.yml","/usr/local/bin/script.sh","/home/user/downloads/archive.zip","/var/www/html/index.html","/home/user/.config/app.json"],lue=["/home/user/documents","/var/log/app","/tmp/uploads","/opt/data","/home/user/projects/app/src","/etc/config","/usr/local/bin","/home/user/downloads","/var/www/html","/home/user/.config"],cue=["application/json","text/html","image/png","application/pdf","text/plain","image/jpeg","application/xml","text/css","application/javascript","image/svg+xml","application/zip","audio/mpeg","video/mp4","font/woff2","application/octet-stream"],uue=["Chair","Computer","Keyboard","Mouse","Table","Phone","Shoes","Shirt","Pants","Hat","Bike","Towels","Gloves","Soap","Tuna"],due=["Refined","Elegant","Rustic","Gorgeous","Practical","Fantastic","Handcrafted","Incredible","Licensed","Sleek","Intelligent","Recycled","Modern","Bespoke","Ergonomic"],fue=["Cotton","Steel","Wooden","Concrete","Rubber","Granite","Plastic","Frozen","Soft","Metal","Bronze","Silk","Leather","Ceramic","Bamboo"],pue=["Refined Cotton Chair","Sleek Steel Computer","Elegant Wooden Table","Practical Rubber Keyboard","Gorgeous Granite Mouse","Rustic Metal Bike","Handcrafted Silk Shirt","Incredible Bamboo Towels","Modern Leather Shoes","Ergonomic Plastic Phone","Fantastic Ceramic Soap","Licensed Bronze Hat","Intelligent Soft Gloves","Bespoke Cotton Pants","Recycled Steel Tuna"],hue=["Electronics","Clothing","Books","Home","Garden","Sports","Toys","Automotive","Grocery","Health","Beauty","Music","Movies","Games","Outdoors"],mue=["server","database","network","protocol","system","algorithm","interface","module","component","function","framework","library","instance","variable","endpoint"],gue=["run","build","deploy","parse","fetch","render","compile","stream","cache","merge","sync","push","pull","test","debug"],bue=["running","building","deploying","parsing","fetching","rendering","compiling","streaming","caching","merging","syncing","pushing","pulling","testing","debugging"],yue=["fast","secure","scalable","robust","dynamic","modular","stable","lightweight","portable","resilient","efficie
12nt","responsive","concurrent","stateless","distributed"],pA=["pixel","quantum","cipher","matrix","vector","nexus","pulse","flux","forge","prism","vortex","helix","orbit","spark","nebula"],hA=["lorem","ipsum","dolor","sit","amet","consectetur","adipiscing","elit","sed","do","eiusmod","tempor","incididunt","ut","labore","et","dolore","magna","aliqua","enim"],uO=["Lorem ipsum dolor sit amet, consectetur adipiscing elit.","Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.","Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.","Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia.","Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.","Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.","Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit.","Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse.","At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis."],dO=["Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.","Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.","Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.","Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.","Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."],vue=["lorem-ipsum-dolor","sed-tempor-incididunt","amet-consectetur-adipiscing","eiusmod-labore-dolore","veniam-nostrud-exercitation","voluptate-velit-cillum","occaecat-cupidatat-proident","perspiciatis-omnis-natus","aspernatur-odit-fugit","dolorem-ipsum-amet"],_e=e=>e[Math.floor(Math.random()*e.length)],Nc=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,Oue=e=>Array.from({length:e},()=>Math.floor(Math.random()*10)).join(""),Sue=e=>Array.from({length:e},()=>g2[Math.floor(Math.random()*g2.length)]).join(""),wue=()=>{const e=Date.now()+Nc(1,365)*864e5;return new Date(e).toISOString()},xue=()=>{const e=Date.now()-Nc(1,365)*864e5;return new Date(e).toISOString()},kue=()=>{const e=Date.now()-Nc(1,3)*864e5;return new Date(e).toISOString()},mA=(e,t,n)=>{const r=Nc(t,n);return Array.from({length:r},()=>_e(e)).join(" ")},fO=(e,t,n)=>{const r=Nc(t,n);return Array.from({length:r},()=>_e(e)).join(" ")},Aue=(e,t,n)=>{const r=Nc(t,n);return Array.from({length:r},()=>_e(e)).join(` 13`)},Oy={$guid:{fn:()=>_e(sA),comment:"A uuid-v4 style guid"},$timestamp:{fn:()=>Math.floor(Date.now()/1e3).toString(),comment:"The current UNIX timestamp in seconds"},$isoTimestamp:{fn:()=>new Date().toISOString(),comment:"The current ISO timestamp at zero UTC"},$randomUUID:{fn:()=>_e(sA),comment:"A random 36-character UUID"},$randomAlphaNumeric:{fn:()=>g2[Math.floor(Math.random()*g2.length)]??"a",comment:"A random alpha-numeric character"},$randomBoolean:{fn:()=>Math.random()<.5?"true":"false",comment:"A random boolean value"},$randomInt:{fn:()=>Nc(0,1e3).toString(),comment:"A random integer between 0 and 1000"},$randomColor:{fn:()=>_e(lA),comment:"A random color in hex format"},$randomHexColor:{fn:()=>_e(lA),comment:"A random hex value"},$randomAbbreviation:{fn:()=>_e(Fle),comment:"A random abbreviation"},$randomIP:{fn:()=>_e(zle),comment:"A random IPv4 address"},$randomIPV6:{fn:()=>_e(Vle),comment:"A random IPv6 address"},$randomMACAddress:{fn:()=>_e(Hle),comment:"A random MAC address"},$randomPassword:{fn:()=>
13Sue(15),comment:"A random 15-character alpha-numeric password"},$randomLocale:{fn:()=>_e(qle),comment:"A random two-letter language code (ISO 639-1)"},$randomUserAgent:{fn:()=>_e(Zle),comment:"A random user agent"},$randomProtocol:{fn:()=>_e(Xle),comment:"A random internet protocol"},$randomSemver:{fn:()=>_e(Wle),comment:"A random semantic version number"},$randomFirstName:{fn:()=>_e(cA),comment:"A random first name"},$randomLastName:{fn:()=>_e(uA),comment:"A random last name"},$randomFullName:{fn:()=>`${_e(cA)} ${_e(uA)}`,comment:"A random first and last name"},$randomNamePrefix:{fn:()=>_e(Yle),comment:"A random name prefix"},$randomNameSuffix:{fn:()=>_e(Gle),comment:"A random name suffix"},$randomJobArea:{fn:()=>_e(Kle),comment:"A random job area"},$randomJobDescriptor:{fn:()=>_e(Jle),comment:"A random job descriptor"},$randomJobTitle:{fn:()=>_e(ece),comment:"A random job title"},$randomJobType:{fn:()=>_e(tce),comment:"A random job type"},$randomPhoneNumber:{fn:()=>_e(dA),comment:"A random ten-digit phone number"},$randomPhoneNumberExt:{fn:()=>`${Nc(10,99)}-${_e(dA)}`,comment:"A random phone number prefixed with a two-digit extension (10â99)"},$randomCity:{fn:()=>_e(nce),comment:"A random city name"},$randomStreetName:{fn:()=>_e(rce),comment:"A random street name"},$randomStreetAddress:{fn:()=>_e(ace),comment:"A random street address"},$randomCountry:{fn:()=>_e(ice),comment:"A random country"},$randomCountryCode:{fn:()=>_e(oce),comment:"A random two-letter country code (ISO 3166-1 alpha-2)"},$randomLatitude:{fn:()=>_e(sce),comment:"A random latitude coordinate"},$randomLongitude:{fn:()=>_e(lce),comment:"A random longitude coordinate"},$randomAvatarImage:{fn:()=>_e(cce),comment:"A random avatar image"},$randomImageUrl:{fn:()=>_e(uce),comment:"A URL of a random image"},$randomAbstractImage:{fn:()=>_e(dce),comment:"A URL of a random abstract image"},$randomAnimalsImage:{fn:()=>_e(fce),comment:"A URL of a random animal image"},$randomBusinessImage:{fn:()=>_e(pce),comment:"A URL of a random stock business image"},$randomCatsImage:{fn:()=>_e(hce),comment:"A URL of a random cat image"},$randomCityImage:{fn:()=>_e(mce),comment:"A URL of a random city image"},$randomFoodImage:{fn:()=>_e(gce),comment:"A URL of a random food image"},$randomNightlifeImage:{fn:()=>_e(bce),comment:"A URL of a random nightlife image"},$randomFashionImage:{fn:()=>_e(yce),comment:"A URL of a random fashion image"},$randomPeopleImage:{fn:()=>_e(vce),comment:"A URL of a random image of a person"},$randomNatureImage:{fn:()=>_e(Oce),comment:"A URL of a random nature image"},$randomSportsImage:{fn:()=>_e(Sce),comment:"A URL of a random sports image"},$randomTransportImage:{fn:()=>_e(wce),comment:"A URL of a random transportation image"},$randomImageDataUri:{fn:()=>_e(xce),comment:"A random image data URI"},$randomBankAccount:{fn:()=>_e(kce),comment:"A random 8-digit bank account number"},$randomBankAccountName:{fn:()=>_e(Ace),comment:"A random bank account name"},$randomCreditCardMask:{fn:()=>`**** **** **** ${Oue(4)}`,comment:"A random masked credit card number"},$randomBankAccountBic:{fn:()=>_e(Tce),comment:"A random BIC (Bank Identifier Code)"},$randomBankAccountIban:{fn:()=>_e(Ece),comment:"A random 15-31 character IBAN (International Bank Account Number)"},$randomTransactionType:{fn:()=>_e(_ce),comment:"A random transaction type"},$randomCurrencyCode:{fn:()=>_e(Cce),comment:"A random 3-letter currency code (ISO-4217)"},$randomCurrencyName:{fn:()=>_e($ce),comment:"A random currency name"},$randomCurrencySymbol:{fn:()=>_e(Pce),comment:"A random currency symbol"},$randomBitcoin:{fn:()=>_e(Ice),comment:"A random bitcoin address"},$randomCompanyName:{fn:()=>_e(Nce),comment:"A random company name"},$randomCompanySuffix:{fn:()=>_e(Rce),comment:"A random company suffix"},$randomBs:{fn:()=>_e(fA),comment:"A random phrase of business-speak"},$randomBsAdjective:{fn:()=>_e(Mce),comment:"A random business-speak adjective"},$randomBsBuzz:{fn:()=>_e(Lce),comment:"A random business-speak buzzword"},$randomBsNoun:{fn:()=>_e(Dce),comment:"A random business-speak noun"},$randomCatchPhrase:{fn:()=>_e(Bce),comment:"A random catchphrase"},$randomCatchPhraseAdjective:{fn:()=>_e(Uce),comment:"A random catchphrase adjective"},$randomCatchPhraseDescriptor:{fn:()=>_e(jce),comment:"A random catchphrase descriptor"},$randomCatchPhraseNoun:{fn:()=>_e(Qce),comment:"Randomly generates a catchphrase noun"},$randomDatabaseColumn:{fn:()=>_e(Fce),comment:"A random database column name"},$randomDatabaseType:{fn:()=>_e(zce),comment:"A random database type"},$randomDatabaseCollation:{fn:()=>_e(Vce),comment:"A random database collation"},$randomDatabaseEngine:{fn:()=>_e(Hce),comment:"A random database engine"},$randomDateFuture:{fn:wue,comment:"A random future datetime"},$randomDatePast:{fn:xue,comment:"A random past datetime"},$randomDateRecent:{fn:kue,comment:"A random recent datetime"},$randomWeekday:{fn:()=>_e(qce),comment:"A random weekday"},$randomMonth:{fn:()=>_e(Zce),comment:"A random month"},$randomDomainName:{fn:()=>_e(Xce),comment:"A random domain name"},$randomDomainSuffix:{fn:()=>_e(Wce),comment:"A random domain suffix"},$randomDomainWord:{fn:()=>_e(Yce),comment:"A random unqualified domain name"},$randomEmail:{fn:()=>_e(Gce),comment:"A random email address"},$randomExampleEmail:{fn:()=>_e(Kce),comment:"A random email address from an example domain"},$randomUserName:{fn:()=>_e(Jce),comment:"A random username"},$randomUrl:{fn:()=>_e(eue),comment:"A random URL"},$randomFileName:{fn:()=>_e(tue),comment:"A random file name (includes uncommon extensions)"},$randomFileType:{fn:()=>_e(nue),comment:"A random file type (includes uncommon file types)"},$randomFileExt:{fn:()=>_e(rue),comment:"A random file extension (includes uncommon extensions)"},$randomCommonFileName:{fn:()=>_e(aue),comment:"A random file name"},$randomCommonFileType:{fn:()=>_e(iue),comment:"A random, common file type"},$randomCommonFileExt:{fn:()=>_e(oue),comment:"A random, common file extension"},$randomFilePath:{fn:()=>_e(sue),comment:"A random file path"},$randomDirectoryPath:{fn:()=>_e(lue),comment:"A random directory path"},$randomMimeType:{fn:()=>_e(cue),comment:"A random MIME type"}
13,$randomPrice:{fn:()=>(Math.random()*1e3).toFixed(2),comment:"A random price between 0.00 and 1000.00"},$randomProduct:{fn:()=>_e(uue),comment:"A random product"},$randomProductAdjective:{fn:()=>_e(due),comment:"A random product adjective"},$randomProductMaterial:{fn:()=>_e(fue),comment:"A random product material"},$randomProductName:{fn:()=>_e(pue),comment:"A random product name"},$randomDepartment:{fn:()=>_e(hue),comment:"A random commerce department"},$randomNoun:{fn:()=>_e(mue),comment:"A random noun"},$randomVerb:{fn:()=>_e(gue),comment:"A random verb"},$randomIngverb:{fn:()=>_e(bue),comment:"A random verb ending in `-ing`"},$randomAdjective:{fn:()=>_e(yue),comment:"A random adjective"},$randomWord:{fn:()=>_e(pA),comment:"A random word"},$randomWords:{fn:()=>mA(pA,2,5),comment:"Some random words"},$randomPhrase:{fn:()=>_e(fA),comment:"A random phrase"},$randomLoremWord:{fn:()=>_e(hA),comment:"A random word of lorem ipsum text"},$randomLoremWords:{fn:()=>mA(hA,3,3),comment:"Some random words of lorem ipsum text"},$randomLoremSentence:{fn:()=>_e(uO),comment:"A random sentence of lorem ipsum text"},$randomLoremSentences:{fn:()=>fO(uO,2,6),comment:"A random 2 to 6 sentences of lorem ipsum text"},$randomLoremParagraph:{fn:()=>_e(dO),comment:"A random paragraph of lorem ipsum text"},$randomLoremParagraphs:{fn:()=>fO(dO,3,3),comment:"3 random paragraphs of lorem ipsum text"},$randomLoremText:{fn:()=>fO(dO,1,3),comment:"A random amount of lorem ipsum text"},$randomLoremSlug:{fn:()=>_e(vue),comment:"A random lorem ipsum URL slug"},$randomLoremLines:{fn:()=>Aue(uO,1,5),comment:"1 to 5 random lines of lorem ipsum"}},hx=e=>Oy[e].comment,Tue=["$guid","$timestamp","$isoTimestamp","$randomUUID","$randomEmail","$randomInt","$randomFirstName","$randomLastName"],Eue=Object.keys(Oy),mx=e=>Object.hasOwn(Oy,e),_ue=[{header:"date",scalarHeader:Ole},{header:"dnt",scalarHeader:Sle},{header:"referer",scalarHeader:wle},{header:"user-agent",scalarHeader:vle}],rN=(e,t)=>{const n=Dr(e.value,t);return e.format==="basic"?`Basic ${vd(n)}`:e.format==="bearer"?`Bearer ${n}`:n},aN=e=>t=>mx(t)?Oy[t].fn()??null:e[t]??null,a2t=(e,t,n)=>{const r=aN(t),a=new URLSearchParams;e.options?.disableSecurity||e.security.forEach(o=>{if(o.in!=="query")return;const s=Dr(o.name,r);a.append(s,rN(o,r))});const i=nN(e,{envVariables:r,securityQueryParams:a,allowMissingRequestServerBase:!0});if(!i.ok)throw new Error(i.message??i.error);return eN(i.data,e.allowedReservedQueryParameters??new Set)},Cue="BUILD_REQUEST_FAILED",$ue=(e,t)=>{const n=m2(()=>Pue(e,t));return n.ok?n.data:Vu(Cue,n.error)},Pue=(e,t)=>{const n=aN(t.envVariables),r=new AbortController,a=(()=>{const b=new Headers;return e.headers.forEach((y,O)=>{b.set(Dr(O,n),Dr(y,n))}),b})(),i=(()=>{if(e.body?.mode==="raw")return typeof e.body.value=="string"?Dr(e.body.value,n):e.body.value;if(e.body?.mode==="formdata"){const b=new FormData;return e.body.value.forEach(y=>{if(y.type==="text"){b.append(Dr(y.key,n),Dr(y.value,n));return}b.append(Dr(y.key,n),y.value)}),b}return e.body?.mode==="urlencoded"?new URLSearchParams(e.body.value.map(b=>[Dr(b.key,n),Dr(b.value,n)])):null})(),o=new URLSearchParams,s=[];e.options?.disableSecurity||e.security.forEach(b=>{const y=Dr(b.name,n),O=rN(b,n);if(b.in==="header"){a.append(y,O);return}if(b.in==="query"){o.append(y,O);return}b.in==="cookie"&&s.push({name:y,value:O,isDisabled:!1})});const l=nN(e,{envVariables:n,securityQueryParams:o,allowMissingRequestServerBase:t.allowMissingRequestServerBase});if(!l.ok)return Vu(l.error,l.message);const c=l.data,u=vy(e.proxyUrl,c),d=[...e.cookies,...s].map(b=>({...b,name:Dr(b.name,n),value:Dr(b.value,n)})),f=Mle({cookies:d,originalCookieHeader:a.get("cookie"),url:c,useCustomCookieHeader:(u||e.options?.isElectron)??!1});f&&a.set(f.name,f.value),(u||e.options?.isElectron)&&_ue.forEach(({header:b,scalarHeader:y})=>{const O=a.get(b);O&&(a.set(y,O),a.delete(b))});const p=eN(c,e.allowedReservedQueryParameters??new Set),h=u?yy(e.proxyUrl,p):p;return h2({requestPayload:[h,{method:e.method.toUpperCase(),headers:a,body:i,cache:e.cache,signal:r.signal}],controller:r,isUsingProxy:u})},Iue=(e,t)=>
13"content"in t?Nue(e,Object.keys(t.content??{})[0]??""):"schema"in t?Mue(e,t.schema):e,Nue=(e,t)=>{if(typeof e=="string"&&t.includes("json"))try{return JSON.parse(e)}catch{return e}return e},Rue=new Set(["array","object"]),iN=e=>{const t=ke(e);if(!(!t||typeof t!="object")){if("type"in t&&t.type){const n=Array.isArray(t.type)?t.type.find(r=>Rue.has(r)):t.type;if(n==="array"||n==="object")return n}for(const n of["anyOf","oneOf","allOf"]){const r=t[n];if(Array.isArray(r))for(const a of r){const i=iN(a);if(i)return i}}}},Mue=(e,t)=>{if(typeof e=="string"){const n=iN(t);if(n)try{return JSON.parse(e)}catch{if(n==="array")return e.split(/,\s?/).filter(r=>r!=="")}}return e},oN=(e,t,n=!0)=>{const r=t?.["x-disabled"];return typeof r=="boolean"?r:n?!e.required&&e.in!=="path":!1},xm=e=>e.variables.reduce((t,n)=>(t[n.name]=typeof n.value=="string"?n.value:n.value.default,t),{}),gi=e=>Object.entries(e),Lue=e=>e?gi(e?.variables??{}).reduce((t,[n,r])=>(r.default&&(t[n]=r.default),t),{}):{},sN=()=>typeof window<"u"&&"electron"in window,Due=new Set(["post","put","patch","delete"]),lN=(e,t=!1)=>{const n=e.toLowerCase();return sN()&&!t?!0:Due.has(n)},Bue=(e,t)=>new Request(e,{...t,body:lN(t.method??"GET",!0)?t.body:null}),Uue="*/*",jue={accept:"Accept","content-type":"Content-Type","user-agent":"User-Agent"},Que=e=>jue[e.toLowerCase()]??e,Fue=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[Que(t),n])),zue=(e,t)=>{const n=new Set;for(const r of e.parameters??[]){const a=ke(r);if(a.in!=="header")continue;const i="examples"in a&&a.examples?.[t]?a.examples[t]:void 0,o=i?ke(i):void 0;oN(a,o)||n.add(a.name.toLowerCase())}return n},cN=(e,t,n,r)=>{const a=r.hideOverriddenHeaders?zue(e,t):null,i=r.hideDisabledHeaders?e["x-scalar-disable-parameters"]?.["default-headers"]?.[t]??{}:null;return Object.fromEntries(Object.entries(n).filter(([o])=>{const s=o.toLowerCase();return!(a?.has(s)||i&&i[s]===!0)}))},i2t=(e,t,n)=>cN(e,t,n,{hideOverriddenHeaders:!1,hideDisabledHeaders:!0}),Vue=({method:e,operation:t,exampleName:n,hideDisabledHeaders:r=!1,hideOverriddenHeaders:a=!1,options:i={isElectron:!1,appVersion:"0.0.0"}})=>{const o=new Headers,s=ke(t.requestBody);if(lN(e)&&s){const f=s["x-scalar-selected-content-type"]?.[n]??Object.keys(s.content??{})[0];f&&f!=="none"&&f!=="other"&&o.set("Content-Type",f)}const l=Object.keys(t.responses??{}).find(f=>f.startsWith("2")),c=l?ke(t.responses[l]):null,u=Object.keys(c?.content??{}).join(", ")||Uue;o.set("Accept",u),i.isElectron&&i.appVersion&&o.set("User-Agent",`Scalar/${i.appVersion}`);const d=Object.fromEntries(o.entries());return a||r?cN(t,n,d,{hideOverriddenHeaders:a,hideDisabledHeaders:r}):d},uN=new Set(["__proto__","prototype","constructor"]),Pu=(e,t)=>{if(uN.has(e)){const n=`Prototype pollution key detected: "${e}"`;throw new Error(n)}},Sy=e=>uN.has(e),Hue=["userPassword","plain","scramSha256","scramSha512"],dN=e=>!!e&&Hue.includes(e),que=["symmetricEncryption","asymmetricEncryption"],fN=e=>!!e&&que.includes(e),Eo=e=>Ge(e)&&"openapi"in e&&typeof e.openapi=="string",So=e=>Ge(e)&&"asyncapi"in e&&typeof e.asyncapi=="string",pN=e=>{if(Eo(e))return"openapi";if(So(e))return"asyncapi"},hN=e=>e==="asyncapi"?"AsyncAPI":"OpenAPI",Zue=(e,t)=>{if(e===null)return{name:null,environment:ts(wg,{})};const n=e.workspace["x-scalar-active-environment"];if(!n)return{name:null,environment:ts(wg,{})};const r=e.workspace["x-scalar-environments"]?.[n]??{variables:[]},a=(Eo(t)?t["x-scalar-environments"]?.[n]:void 0)??{variables:[]};return{name:n,environment:ts(wg,{...r,...a,variables:[...r.variables,...a.variables]})}},gx=e=>e&&typeof e=="string"?_ie.has(e.toLowerCase()):!1,VS=10,Xue=e=>Wu(e)&&Object.hasOwn(e,"$ref-value"),Zf=e=>{if(!e||typeof e!="object")return;let t=ke(e,Qr);for(let n=1;Xue(t);n++){if(n>=VS){const{"$ref-value":r,...a}=t;return console.warn(`Stopped resolving "${t.$ref}" after ${VS} hops. 14 15This reference most likely points at itself, directly or through another reference.`),a}t=ke(t,Qr)}return t},gA=(e,t)=>{const n=Zf(e);
15if(n)return n[t]},o2t=(e,t,n)=>{if(!(!e||typeof e!="object")){if("$ref"in e&&"$ref-value"in e){const r=e["$ref-value"];if(r){r[t]=n;return}}e[t]=n}},Wue=e=>{const t=[];let n=e;for(;Wu(n)&&!t.includes(n)&&t.length<VS&&(t.push(n),!(!("$ref"in n)||!("$ref-value"in n)));)n=n["$ref-value"];return t},s2t=(e,t)=>{if(!(!e||typeof e!="object"))for(const n of Wue(e))delete n[t]},mN=(e,t)=>{const n=Zf(e);if(n)for(const[r,a]of Object.entries(n))!gx(r)||a===void 0||t(r,a)},l2t=e=>{const t=Zf(e);return!t||Object.keys(t).length===0},gN=(e=[],t=[])=>{const n=t.flatMap(i=>{const o=ke(i);return o?`${o.in}:${o.name}`:[]}),r=new Set(n);return[...e.filter(i=>{const o=ke(i);return o?!r.has(`${o.in}:${o.name}`):!1}),...t]},Yue=(e,t)=>JSON.stringify(t)==="[{}]"&&e?.length?!!e.find(r=>JSON.stringify(r)==="{}")?e:[...e,{}]:t??e??[],Od=e=>Object.keys(e),pO=(e,t)=>Od(t).flatMap(n=>{const r=ke(e?.[n]);return r||[]}),bN=e=>{const t=e.some(r=>Object.keys(r).length>1);return e.some(r=>Object.keys(r).length===0)&&!t},hO=e=>!e||e.type!=="oauth2"?[]:e["x-default-scopes"]??[],Gue=(e,t)=>Object.fromEntries(Object.entries(e).map(([n,r])=>{if(Array.isArray(r)&&r.length>0)return[n,[...r]];const a=ke(t[n]),i=a?.type==="oauth2"?a["x-default-scopes"]:void 0;return Array.isArray(i)&&i.length>0?[n,[...i]]:[n,Array.isArray(r)?[...r]:r]})),Kue=(e,t)=>{if(!Array.isArray(e)){const r=ke(t[e]);return{[e]:hO(r)}}const n={};for(const r of e)if(Array.isArray(r))for(const a of r){const i=ke(t[a]);n[a]=hO(i)}else{const a=ke(t[r]);n[r]=hO(a)}return n},yN=(e,t,n=[],r={},a)=>{if(t)return t;if(e)return e;if(bN(n)&&!a)return{selectedIndex:-1,selectedSchemes:[]};if(a)return{selectedIndex:0,selectedSchemes:[Kue(a,r)]};const o=n[0];return o?{selectedIndex:0,selectedSchemes:[Gue(o,r)]}:{selectedIndex:-1,selectedSchemes:[]}},sa=(e,t=new WeakMap)=>{if(typeof e!="object"||e===null)return e;if(t.has(e))return t.get(e);const n=Array.isArray(e)?[]:{};return t.set(e,n),Object.keys(e).forEach(r=>{n[r]=sa(e[r],t)}),n},b2=(e,t,n=!1,r=new Set)=>{for(const a in t)if(!(a in e))e[a]=t[a];else{const i=e[a],o=t[a],s=n&&(Array.isArray(i)||Array.isArray(o));if(typeof i=="object"&&i!==null&&typeof o=="object"&&o!==null&&!s){const l=$u(i),c=$u(o);if(r.has(l)||r.has(c))continue;r.add(l),r.add(c),b2(i,o,n,r)}else try{e[a]=o}catch(l){console.warn(`Issue setting ${a} on object`),console.warn(l)}}return e},bA={"x-scalar-secret-client-id":"x-scalar-client-id","x-scalar-secret-client-secret":"clientSecret","x-scalar-secret-password":"password","x-scalar-secret-redirect-uri":"x-scalar-redirect-uri","x-scalar-secret-token":"token","x-scalar-secret-username":"username","x-scalar-secret-auth-url":"authorizationUrl","x-scalar-secret-token-url":"tokenUrl"},s1=(e,t,n={},r)=>Object.fromEntries(e.map(a=>{const i=typeof n[a]=="string"?n[a]:void 0,o=typeof t[a]=="string"?t[a]:void 0,s=typeof t[bA[a]]=="string"?t[bA[a]]:void 0;return[a,a==="x-scalar-secret-redirect-uri"?i??o??s??r??"":i||o||s||""]})),l1=(e,t)=>{const n=e[t];return typeof n=="string"?n:""},c1=(e={})=>{const t=e["x-scalar-secret-refresh-token"];return typeof t=="string"?{"x-scalar-secret-refresh-token":t}:{}},mO=(e,t={})=>{const n=t["x-scalar-credentials-location"]??e["x-scalar-credentials-location"];return n?{"x-scalar-credentials-location":n}:{}},yA=(e,t,n)=>{const r=new Set;return{flows:gi(e??{}).reduce((i,[o,s])=>{if(!Ge(s))return i;const l=s.selectedScopes;return Array.isArray(l)&&l.forEach(c=>typeof c=="string"&&r.add(c)),o==="implicit"&&(i.implicit={...s,...s1(["x-scalar-secret-client-id","x-scalar-secret-redirect-uri","x-scalar-secret-token","x-scalar-secret-auth-url"],s,t?.implicit,n),...c1(t?.implicit)}),o==="password"&&(i[o]={...s,...s1(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-username","x-scalar-secret-password","x-scalar-secret-token","x-scalar-secret-token-url"],s,t?.password),...mO(s,t?.password),...c1(t?.password)}),o==="clientCredentials"&&(i[o]={...s,...s1(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-token","x-scalar-secret-token-url"],s,t?.clientCredentials),...mO(s,t?.clientCredentials),...c1(t?.clientCredentials)}),o==="authorizationCode"&&(i[o]={...s,...s1(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-redirect-uri","x-scalar-secret-token","x-scalar-secret-auth-url","x-scalar-secret-token-url"],s,t?.authorizationCode,n),...mO(s,t?.authorizationCode),...c1(t?.authorizationCode)}),i},{}),selectedScopes:Array.from(r)}},Jue=(e,t,n,r,a)=>{const i=t.getAuthSecrets(r,n),o=e;if(e.type==="apiKey"){const s=i?.type==="apiKey"?i:void 0;return{...e,"x-scalar-secret-token":s?.["x-scalar-secret-token"]||l1(e,"x-scalar-secret-token")||e.value||""}}if(e.type==="http"){const s=i?.type==="http"?i:void 0;return{...e,"x-scalar-secret-token":s?.["x-scalar-secret-token"]||l1(e,"x-scalar-secret-token")||e.token||"","x-scalar-secret-username":s?.["x-scalar-secret-username"]||l1(e,"x-scalar-secret-username")||e.username||"","x-scalar-secret-password":s?.["x-scalar-secret-password"]||l1(e,"x-scalar-secret-password")||e.password||""}}if(e.type==="oauth2"){const s=i?.type==="oauth2"?i:void 0,l=yA(e.flows,s,a),c=Array.isArray(e["x-default-scopes"])?e["x-default-scopes"].filter(d=>
15typeof d=="string"):[],u=Array.from(new Set([...c,...l.selectedScopes]));return{...e,flows:l.flows,"x-default-scopes":u}}if(e.type==="openIdConnect"){const s=i?.type==="openIdConnect"?i:void 0,l=yA({implicit:s?.implicit,password:s?.password,clientCredentials:s?.clientCredentials,authorizationCode:s?.authorizationCode},s,a);return{...e,...gi(l.flows).length?{flows:l.flows}:{}}}if(dN(o.type)){const s=i?.type===o.type?i:void 0;return{...o,"x-scalar-secret-username":s?.["x-scalar-secret-username"]||o.username||"","x-scalar-secret-password":s?.["x-scalar-secret-password"]||o.password||""}}if(o.type==="X509"){const s=i?.type==="X509"?i:void 0;return{...o,"x-scalar-secret-client-certificate":s?.["x-scalar-secret-client-certificate"]||"","x-scalar-secret-private-key":s?.["x-scalar-secret-private-key"]||""}}if(fN(o.type)){const s=i?.type===o.type?i:void 0;return{...o,"x-scalar-secret-token":s?.["x-scalar-secret-token"]||o.token||""}}if(o.type==="gssapi"){const s=i?.type==="gssapi"?i:void 0;return{...o,"x-scalar-secret-service-name":s?.["x-scalar-secret-service-name"]||""}}return e},vA=e=>{const t=ke(e);return!!t&&typeof t=="object"&&"availableScopes"in t},ede=e=>{const t=ke(e);if(!t||typeof t!="object")return e;const n=Object.entries(t);return n.some(([,r])=>vA(r))?Object.fromEntries(n.map(([r,a])=>{if(!vA(a))return[r,a];const{availableScopes:i,scopes:o,...s}=ke(a);return[r,{...s,scopes:o??i??{}}]})):e},tde=e=>{if(!(e&&typeof e=="object"&&"type"in e))return e;if(e.type==="httpApiKey")return{...e,type:"apiKey"};if(e.type==="oauth2"&&"flows"in e&&e.flows){const t=ede(e.flows);if(t!==e.flows)return{...e,flows:t}}return e},nde=(e={},t={},n,r,a)=>{const i=gi(e).reduce((s,[l,c])=>{const u=sa(ke(c));return u&&(s[l]=u),s},{}),o=b2(i,t)??{};return gi(o).reduce((s,[l,c])=>{const u=tde(c),f={...ts(Gse,u),...u};return s[l]=Jue(f,n,l,r,a),s},{})};function vN(e,t={}){return Array.isArray(e)?e.map(r=>ode(r,t)):[]}function rde(e){try{const t=new URL(e),n=t.port?`:${t.port}`:"";return`${t.protocol}//${t.hostname}${n}`}catch{return}}
15function ade(){if(!(typeof window>"u"||typeof window?.location?.origin!="string"))return window.location.origin}function ide(e,t){const{baseServerUrl:n,documentUrl:r}=t;if(n)return kc(n,e);if(r){const i=rde(r);if(i)return kc(i,e)}const a=ade();return a?kc(a,e):e}function ode(e,t){return e.url?.startsWith("/")&&(e.url=ide(e.url,t)),e}const sde=(e,t,n,r)=>{const a=Eo(e)?e["x-scalar-selected-server"]:void 0,i=n!=null?a:t?.["x-scalar-selected-server"]??a;return i==null?r[0]??null:r.find(({url:o})=>o===i)??null};function lde(e,t){if(Eo(e))return ke(e.components?.schemas?.[t]);if(So(e))return K9(e,t)}function OA(e){if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return""}}function cde(e){const t=Object.values(e.examples??{}).flatMap(r=>{const a=ke(r);return!a||!("value"in a)?[]:OA(a.value)}).filter(r=>r.length>0),n="example"in e&&e.example!==void 0?OA(e.example):"";return n?[n,...t]:t}function ude(e){return e?Object.values(e).flatMap(t=>{const n=ke(t);return n?.content?Object.values(n.content).flatMap(r=>{const a=ke(r);return a?cde(a):[]}):[]}).filter(t=>t.length>0):[]}var dde={heading:"Heading",tagGroup:"Tag Group",webhooks:"Webhooks",introduction:"Introduction"};function fde(e,t){const n=[],r=t?.modelsSectionLabel??di,a=t?.labels??dde;function i(o){o.forEach(s=>{pde(s,n,e,r,a),"children"in s&&s.children&&i(s.children)})}return i(e?.["x-scalar-navigation"]?.children??[]),n}function pde(e,t,n,r,a){const i=Eo(n)?n:void 0;if(e.type==="operation"){const o=Zf(i?.paths?.[e.path]),s=ke(gA(i?.paths?.[e.path],e.method))??{},l={...s,parameters:gN(o?.parameters,s.parameters)},c=YX(l.parameters??[]),u=GX(l.parameters??[]),d=KX(l),f=JX(l),p=ude(l.responses);t.push({type:"operation",title:e.title,id:e.id,description:l.description||"",method:e.method,path:e.path,body:d,bodyDescriptions:f,parameters:c,parameterDescriptions:u,responseExamples:p,operationId:l.operationId,entry:e});return}if(e.type==="webhook"){const o=ke(gA(i?.webhooks?.[e.name],e.method))??{},s=o.description||"";t.push({id:e.id,type:"webhook",title:e.title,description:"Webhook",method:e.method,body:"",bodyDescriptions:s?[s]:[],operationId:o.operationId,entry:e});return}if(e.type==="model"){const o=lde(n,e.name),s=o?.description??"",l=eW(o),c=tW(o);t.push({type:"model",title:e.title,description:r,id:e.id,body:l,bodyDescriptions:s?[s,...c]:c,entry:e});return}if(e.type==="models"){t.push({id:e.id,type:"heading",title:r,description:a.heading,body:"",entry:e});return}if(e.type==="tag"&&e.isWebhooks===!0){t.push({id:e.id,type:"heading",title:a.webhooks,description:a.heading,body:"",entry:e});return}if(e.type==="tag"&&e.isTagGroup!==!0){t.push({id:e.id,title:e.title,description:e.description||"",type:"tag",body:"",entry:e});return}if(e.type==="tag"&&e.isTagGroup===!0){t.push({id:e.id,title:e.title,description:a.tagGroup,type:"tag",body:"",entry:e});return}if(e.type==="text"){t.push({id:e.id,type:"heading",title:CS(e)?a.introduction:e.title??"",description:a.heading,body:"",entry:e});return}}var SA=25;function hde(e,t=di,n={heading:"Heading",tagGroup:"Tag Group",webhook:"Webhook",webhooks:"Webhooks",introduction:"Introduction"}){const r=I(()=>fde(pt(e),{labels:pt(n),modelsSectionLabel:pt(t)??di})),a=I(()=>{const o=aY();return o.setCollection(r.value),o}),i=K("");return{results:I(()=>i.value.length!==0?a.value.search(i.value,{limit:SA}):r.value.slice(0,SA).map((o,s)=>({item:o,refIndex:s}))),query:i}}const mde={get:{short:"GET",colorClass:"text-blue",colorVar:"var(--scalar-color-blue)",backgroundColor:"bg-blue/10"},post:{short:"POST",colorClass:"text-green",colorVar:"var(--scalar-color-green)",backgroundColor:"bg-green/10"},put:{short:"PUT",colorClass:"text-orange",colorVar:"var(--scalar-color-orange)",backgroundColor:"bg-orange/10"},patch:{short:"PATCH",colorClass:"text-yellow",colorVar:"var(--scalar-color-yellow)",backgroundColor:"bg-yellow/10"},delete:{short:"DEL",colorClass:"text-red",colorVar:"var(--scalar-color-red)",backgroundColor:"bg-red/10"},options:{short:"OPTS",colorClass:"text-purple",colorVar:"var(--scalar-color-purple)",backgroundColor:"bg-purple/10"},head:{short:"HEAD",colorClass:"text-c-2",colorVar:"var(--scalar-color-2)",backgroundColor:"bg-c-2/10"},trace:{short:"TRACE",colorClass:"text-c-2",colorVar:"var(--scalar-color-2)",backgroundColor:"bg-c-2/10"}},m0=e=>{const t=e.trim().toLowerCase();return mde[t]??{short:t,color:"text-c-2",backgroundColor:"bg-c-2"}},u1="get",bx=e=>{if(typeof e!="string")return console.warn(`Request method is not a string. Using ${u1} as the default.`),u1;const t=e.trim().toLowerCase();return gx(t)?t:(console.warn(`${e||"Request method"} is not a valid request method. Using ${u1} as the default.`),u1)};var gde=Q({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){const t=e,n=I(()=>m0(String(t.method||""))),r=I(()=>bx(t.method));return(a,i)=>(g(),L(Yt(e.as??"span"),{class:"uppercase",style:kr({[e.property||"color"]:n.value.color
15Var})},{default:P(()=>[H(a.$slots,"default"),J(" "+V(e.short?n.value.short:r.value),1)]),_:3},8,["style"]))}}),ON=gde,bde=new Set(["document","operation","example","tag"]),yx=(e,t,n)=>n&&t.length===1&&t[0]?.type==="example"&&t[0]?.name==="default"?[]:e==="reference"?t:t.filter(r=>bde.has(r.type));function SN(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=SN(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function gO(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=SN(e))&&(r&&(r+=" "),r+=t);return r}const wA=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,yde=e=>{const t=function(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];var s,l;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e?.hooks["cx:done"](gO(i)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e?.hooks.onComplete(gO(i)):gO(i)};return{compose:function(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return s=>{const l=Object.fromEntries(Object.entries(s||{}).filter(c=>{let[u]=c;return!["class","className"].includes(u)}));return t(i.map(c=>c(l)),s?.class,s?.className)}},cva:a=>i=>{var o;if(a?.variants==null)return t(a?.base,i?.class,i?.className);const{variants:s,defaultVariants:l}=a,c=Object.keys(s).map(f=>{const p=i?.[f],h=l?.[f],b=wA(p)||wA(h);return s[f][b]}),u={...l,...i&&Object.entries(i).reduce((f,p)=>{let[h,b]=p;return typeof b>"u"?f:{...f,[h]:b}},{})},d=a==null||(o=a.compoundVariants)===null||o===void 0?void 0:o.reduce((f,p)=>{let{class:h,className:b,...y}=p;return Object.entries(y).every(O=>{let[A,x]=O;const T=u[A];return Array.isArray(x)?x.includes(T):T===x})?[...f,h,b]:f},[]);return t(a?.base,c,d,i?.class,i?.className)},cx:t}},vde=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Ode=(e,t)=>({classGroupId:e,validator:t}),wN=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),y2="-",xA=[],Sde="arbitrary..",wde=e=>{const t=kde(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return xde(o);const s=o.split(y2),l=s[0]===""&&s.length>1?1:0;return xN(s,l,t)},getConflictingClassGroupIds:(o,s)=>{if(s){const l=r[o],c=n[o];return l?c?vde(c,l):l:c||xA}return n[o]||xA}}},xN=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const a=e[t],i=n.nextPart.get(a);if(i){const c=xN(e,t+1,i);if(c)return c}const o=n.validators;if(o===null)return;const s=t===0?e.join(y2):e.slice(t).join(y2),l=o.length;for(let c=0;c<l;c++){const u=o[c];if(u.validator(s))return u.classGroupId}},xde=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?Sde+r:void 0})(),kde=e=>{const{theme:t,classGroups:n}=e;return Ade(n,t)},Ade=(e,t)=>{const n=wN();for(const r in e){const a=e[r];vx(a,n,r,t)}return n},vx=(e,t,n,r)=>{const a=e.length;for(let i=0;i<a;i++){const o=e[i];Tde(o,t,n,r)}},Tde=(e,t,n,r)=>{if(typeof e=="string"){Ede(e,t,n);return}if(typeof e=="function"){_de(e,t,n,r);return}Cde(e,t,n,r)},Ede=(e,t,n)=>{const r=e===""?t:kN(t,e);r.classGroupId=n},_de=(e,t,n,r)=>{if($de(e)){vx(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Ode(n,e))},Cde=(e,t,n,r)=>{const a=Object.entries(e),i=a.length;for(let o=0;o<i;o++){const[s,l]=a[o];vx(l,kN(t,s),n,r)}},kN=(e,t)=>{let n=e;const r=t.split(y2),a=r.length;for(let i=0;i<a;i++){const o=r[i];let s=n.nextPart.get(o);s||(s=wN(),n.nextPart.set(o,s)),n=s}return n},$de=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Pde=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const a=(i,o)=>{n[i]=o,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(i){let o=n[i];if(o!==void 0)return o;if((o=r[i])!==void 0)return a(i,o),o},set(i,o){i in n?n[i]=o:a(i,o)}}},HS="!",kA=":",Ide=[],AA=(e,t,n,r,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:a}),Nde=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=a=>{const i=[];let o=0,s=0,l=0,c;const u=a.length;for(let b=0;b<u;b++){const y=a[b];if(o===0&&s===0){if(y===kA){i.push(a.slice(l,b)),l=b+1;continue}if(y==="/"){c=b;continue}}y==="["?o++:y==="]"?o--:y==="("?s++:y===")"&&s--}const d=i.length===0?a:a.slice(l);let f=d,p=!1;d.endsWith(HS)?(f=d.slice(0,-1),p=!0):d.startsWith(HS)&&(f=d.slice(1),p=!0);const h=c&&c>l?c-l:void 0;return AA(i,p,f,h)};if(t){const a=t+kA,i=r;r=o=>o.startsWith(a)?i(o.slice(a.length)):AA(Ide,!1,o,void 0,!0)}if(n){const a=r;r=i=>n({className:i,parseClassName:a})}return r},Rde=e=>{const t=new Map;
vendor: 5,508 bytes, line 15
15return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let a=[];for(let i=0;i<n.length;i++){const o=n[i],s=o[0]==="[",l=t.has(o);s||l?(a.length>0&&(a.sort(),r.push(...a),a=[]),r.push(o)):a.push(o)}return a.length>0&&(a.sort(),r.push(...a)),r}},Mde=e=>({cache:Pde(e.cacheSize),parseClassName:Nde(e),sortModifiers:Rde(e),...wde(e)}),Lde=/\s+/,Dde=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:i}=t,o=[],s=e.trim().split(Lde);let l="";for(let c=s.length-1;c>=0;c-=1){const u=s[c],{isExternal:d,modifiers:f,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:b}=n(u);if(d){l=u+(l.length>0?" "+l:l);continue}let y=!!b,O=r(y?h.substring(0,b):h);if(!O){if(!y){l=u+(l.length>0?" "+l:l);continue}if(O=r(h),!O){l=u+(l.length>0?" "+l:l);continue}y=!1}const A=f.length===0?"":f.length===1?f[0]:i(f).join(":"),x=p?A+HS:A,T=x+O;if(o.indexOf(T)>-1)continue;o.push(T);const E=a(O,y);for(let C=0;C<E.length;++C){const $=E[C];o.push(x+$)}l=u+(l.length>0?" "+l:l)}return l},Bde=(...e)=>{let t=0,n,r,a="";for(;t<e.length;)(n=e[t++])&&(r=AN(n))&&(a&&(a+=" "),a+=r);return a},AN=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=AN(e[r]))&&(n&&(n+=" "),n+=t);return n},TA=(e,...t)=>{let n,r,a,i;const o=l=>{const c=t.reduce((u,d)=>d(u),e());return n=Mde(c),r=n.cache.get,a=n.cache.set,i=s,s(l)},s=l=>{const c=r(l);if(c)return c;const u=Dde(l,n);return a(l,u),u};return i=o,(...l)=>i(Bde(...l))},Ude=[],Wr=e=>{const t=n=>n[e]||Ude;return t.isThemeGetter=!0,t},TN=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,EN=/^\((?:(\w[\w-]*):)?(.+)\)$/i,jde=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Qde=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Fde=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,zde=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Vde=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Hde=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rc=e=>jde.test(e),Wt=e=>!!e&&!Number.isNaN(Number(e)),ac=e=>!!e&&Number.isInteger(Number(e)),bO=e=>e.endsWith("%")&&Wt(e.slice(0,-1)),ll=e=>Qde.test(e),_N=()=>!0,qde=e=>Fde.test(e)&&!zde.test(e),Ox=()=>!1,Zde=e=>Vde.test(e),Xde=e=>Hde.test(e),Wde=e=>!ut(e)&&!dt(e),Yde=e=>tu(e,PN,Ox),ut=e=>TN.test(e),fu=e=>tu(e,IN,qde),EA=e=>tu(e,afe,Wt),Gde=e=>tu(e,RN,_N),Kde=e=>tu(e,NN,Ox),_A=e=>tu(e,CN,Ox),Jde=e=>tu(e,$N,Xde),d1=e=>tu(e,MN,Zde),dt=e=>EN.test(e),sh=e=>Sd(e,IN),efe=e=>Sd(e,NN),CA=e=>Sd(e,CN),tfe=e=>Sd(e,PN),nfe=e=>Sd(e,$N),f1=e=>Sd(e,MN,!0),rfe=e=>Sd(e,RN,!0),tu=(e,t,n)=>{const r=TN.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Sd=(e,t,n=!1)=>{const r=EN.exec(e);return r?r[1]?t(r[1]):n:!1},CN=e=>e==="position"||e==="percentage",$N=e=>e==="image"||e==="url",PN=e=>e==="length"||e==="size"||e==="bg-size",IN=e=>e==="length",afe=e=>e==="number",NN=e=>e==="family-name",RN=e=>e==="number"||e==="weight",MN=e=>e==="shadow",$A=()=>{const e=Wr("color"),t=Wr("font"),n=Wr("text"),r=Wr("font-weight"),a=Wr("tracking"),i=Wr("leading"),o=Wr("breakpoint"),s=Wr("container"),l=Wr("spacing"),c=Wr("radius"),u=Wr("shadow"),d=Wr("inset-shadow"),f=Wr("text-shadow"),p=Wr("drop-shadow"),h=Wr("blur"),b=Wr("perspective"),y=Wr("aspect"),O=Wr("ease"),A=Wr("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...T(),dt,ut],C=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],R=()=>[dt,ut,l],j=()=>[rc,"full","auto",...R()],U=()=>[ac,"none","subgrid",dt,ut],Y=()=>["auto",{span:["full",ac,dt,ut]},ac,dt,ut],W=()=>[ac,"auto",dt,ut],pe=()=>["auto","min","max","fr",dt,ut],ee=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ae=()=>["start","end","center","stretch","center-safe","end-safe"],de=()=>["auto",...R()],ue=()=>[rc,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...R()],Ee=()=>[rc,"screen","full","dvw","lvw","svw","min","max","fit",...R()],Te=()=>[rc,"screen","full","lh","dvh","lvh","svh","min","max","fit",...R()],D=()=>[e,dt,ut],oe=()=>[...T(),CA,_A,{position:[dt,ut]}],fe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",tfe,Yde,{size:[dt,ut]}],mt=()=>[bO,sh,fu],te=()=>["","none","full",c,dt,ut],Oe=()=>["",Wt,sh,fu],Et=()=>["solid","dashed","dotted","double"],Pt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],gt=()=>[Wt,bO,CA,_A],kn=()=>["","none",h,dt,ut],Nr=()=>["none",Wt,dt,ut],rr=()=>["none",Wt,dt,ut],qr=()=>[Wt,dt,ut],ge=()=>[rc,"full",...R()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ll],breakpoint:[ll],color:[_N],container:[ll],"drop-shadow":[ll],ease:["in","out","in-out"],font:[Wde],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ll],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ll],shadow:[ll],spacing:["px",Wt],text:[ll],"text-shadow":[ll],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",rc,ut,dt,y]}
vendor: 4,940 bytes, line 15
15],container:["container"],columns:[{columns:[Wt,ut,dt,s]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:j()}],"inset-x":[{"inset-x":j()}],"inset-y":[{"inset-y":j()}],start:[{"inset-s":j(),start:j()}],end:[{"inset-e":j(),end:j()}],"inset-bs":[{"inset-bs":j()}],"inset-be":[{"inset-be":j()}],top:[{top:j()}],right:[{right:j()}],bottom:[{bottom:j()}],left:[{left:j()}],visibility:["visible","invisible","collapse"],z:[{z:[ac,"auto",dt,ut]}],basis:[{basis:[rc,"full","auto",s,...R()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Wt,rc,"auto","initial","none",ut]}],grow:[{grow:["",Wt,dt,ut]}],shrink:[{shrink:["",Wt,dt,ut]}],order:[{order:[ac,"first","last","none",dt,ut]}],"grid-cols":[{"grid-cols":U()}],"col-start-end":[{col:Y()}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:Y()}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":pe()}],"auto-rows":[{"auto-rows":pe()}],gap:[{gap:R()}],"gap-x":[{"gap-x":R()}],"gap-y":[{"gap-y":R()}],"justify-content":[{justify:[...ee(),"normal"]}],"justify-items":[{"justify-items":[...ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...ae()]}],"align-content":[{content:["normal",...ee()]}],"align-items":[{items:[...ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":ee()}],"place-items":[{"place-items":[...ae(),"baseline"]}],"place-self":[{"place-self":["auto",...ae()]}],p:[{p:R()}],px:[{px:R()}],py:[{py:R()}],ps:[{ps:R()}],pe:[{pe:R()}],pbs:[{pbs:R()}],pbe:[{pbe:R()}],pt:[{pt:R()}],pr:[{pr:R()}],pb:[{pb:R()}],pl:[{pl:R()}],m:[{m:de()}],mx:[{mx:de()}],my:[{my:de()}],ms:[{ms:de()}],me:[{me:de()}],mbs:[{mbs:de()}],mbe:[{mbe:de()}],mt:[{mt:de()}],mr:[{mr:de()}],mb:[{mb:de()}],ml:[{ml:de()}],"space-x":[{"space-x":R()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":R()}],"space-y-reverse":["space-y-reverse"],size:[{size:ue()}],"inline-size":[{inline:["auto",...Ee()]}],"min-inline-size":[{"min-inline":["auto",...Ee()]}],"max-inline-size":[{"max-inline":["none",...Ee()]}],"block-size":[{block:["auto",...Te()]}],"min-block-size":[{"min-block":["auto",...Te()]}],"max-block-size":[{"max-block":["none",...Te()]}],w:[{w:[s,"screen",...ue()]}],"min-w":[{"min-w":[s,"screen","none",...ue()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...ue()]}],h:[{h:["screen","lh",...ue()]}],"min-h":[{"min-h":["screen","lh","none",...ue()]}],"max-h":[{"max-h":["screen","lh",...ue()]}],"font-size":[{text:["base",n,sh,fu]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,rfe,Gde]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",bO,ut]}],"font-family":[{font:[efe,Kde,t]}],"font-features":[{"font-features":[ut]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,dt,ut]}],"line-clamp":[{"line-clamp":[Wt,"none",dt,EA]}],leading:[{leading:[i,...R()]}],"list-image":[{"list-image":["none",dt,ut]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",dt,ut]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Et(),"w
15avy"]}],"text-decoration-thickness":[{decoration:[Wt,"from-font","auto",dt,fu]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[Wt,"auto",dt,ut]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",dt,ut]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",dt,ut]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:oe()}],"bg-repeat":[{bg:fe()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ac,dt,ut],radial:["",dt,ut],conic:[ac,dt,ut]},nfe,Jde]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:mt()}],"gradient-via-pos":[{via:mt()}],"gradient-to-pos":[{to:mt()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:te()}],"rounded-s":[{"rounded-s":te()}],"rounded-e":[{"rounded-e":te()}],"rounded-t":[{"rounded-t":te()}],"rounded-r":[{"rounded-r":te()}],"rounded-b":[{"rounded-b":te()}],"rounded-l":[{"rounded-l":te()}],"rounded-ss":[{"rounded-ss":te()}],"rounded-se":[{"rounded-se":te()}],"rounded-ee":[{"rounded-ee":te()}],"rounded-es":[{"rounded-es":te()}],"rounded-tl":[{"rounded-tl":te()}],"rounded-tr":[{"rounded-tr":te()}],"rounded-br":[{"rounded-br":te()}],"rounded-bl":[{"rounded-bl":te()}],"border-w":[{border:Oe()}],"border-w-x":[{"border-x":Oe()}],"border-w-y":[{"border-y":Oe()}],"border-w-s":[{"border-s":Oe()}],"border-w-e":[{"border-e":Oe()}],"border-w-bs":[{"border-bs":Oe()}],"border-w-be":[{"border-be":Oe()}],"border-w-t":[{"border-t":Oe()}],"border-w-r":[{"border-r":Oe()}],"border-w-b":[{"border-b":Oe()}],"border-w-l":[{"border-l":Oe()}],"divide-x":[{"divide-x":Oe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Oe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Et(),"hidden","none"]}],"divide-style":[{divide:[...Et(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}
vendor: 5,629 bytes, line 15
15],"divide-color":[{divide:D()}],"outline-style":[{outline:[...Et(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Wt,dt,ut]}],"outline-w":[{outline:["",Wt,sh,fu]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",u,f1,d1]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",d,f1,d1]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:Oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[Wt,fu]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":Oe()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",f,f1,d1]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[Wt,dt,ut]}],"mix-blend":[{"mix-blend":[...Pt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Pt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Wt]}],"mask-image-linear-from-pos":[{"mask-linear-from":gt()}],"mask-image-linear-to-pos":[{"mask-linear-to":gt()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":gt()}],"mask-image-t-to-pos":[{"mask-t-to":gt()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":gt()}],"mask-image-r-to-pos":[{"mask-r-to":gt()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":gt()}],"mask-image-b-to-pos":[{"mask-b-to":gt()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":gt()}],"mask-image-l-to-pos":[{"mask-l-to":gt()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":gt()}],"mask-image-x-to-pos":[{"mask-x-to":gt()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":gt()}],"mask-image-y-to-pos":[{"mask-y-to":gt()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[dt,ut]}],"mask-image-radial-from-pos":[{"mask-radial-from":gt()}],"mask-image-radial-to-pos":[{"mask-radial-to":gt()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[Wt]}],"mask-image-conic-from-pos":[{"mask-conic-from":gt()}],"mask-image-conic-to-pos":[{"mask-conic-to":gt()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:oe()}],"mask-repeat":[{mask:fe()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",dt,ut]}],filter:[{filter:["","none",dt,ut]}],blur:[{blur:kn()}],brightness:[{brightness:[Wt,dt,ut]}],contrast:[{contrast:[Wt,dt,ut]}],"drop-shadow":[{"drop-shadow":["","none",p,f1,d1]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",Wt,dt,ut]}],"hue-rotate":[{"hue-rotate":[Wt,dt,ut]}],invert:[{invert:["",Wt,dt,ut]}],saturate:[{saturate:[Wt,dt,ut]}],sepia:[{sepia:["",Wt,dt,ut]}],"backdrop-filter":[{"backdrop-filter":["","none",dt,ut]}],"backdrop-blur":[{"backdrop-blur":kn()}],"backdrop-brightness":[{"backdrop-brightness":[Wt,dt,ut]}],"backdrop-contrast":[{"backdrop-contrast":[Wt,dt,ut]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Wt,dt,ut]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Wt,dt,ut]}],"backdrop-invert":[{"backdrop-invert":["",Wt,dt,ut]}],"backdrop-opacity":[{"backdrop-opacity":[Wt,dt,ut]}],"backdrop-saturate":[{"backdrop-saturate":[Wt,dt,ut]}],"backdrop-sepia":[{"backdrop-sepia":["",Wt,dt,ut]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":R()}],"border-spacing-x":[{"border-spacing-x":R()}],"border-spacing-y":[{"border-spacing-y":R()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",dt,ut]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Wt,"initial",dt,ut]}],ease:[{ease:["linear","initial",O,dt,ut]}],delay:[{delay:[Wt,dt,ut]}],animate:[{animate:["none",A,dt,ut]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,dt,ut]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:Nr()}],"rotate-x":[{"rotate-x":Nr()}],"rotate-y":[{"rotate-y":Nr()}],"rotate-z":[{"rotate-z":Nr()}],scale:[{scale:rr()}],"scale-x":[{"scale-x":rr()}],"scale-y":[{"scale-y":rr()}],"scale-z":[{"scale-z":rr()}],"scale-3d":["scale-3d"],skew:[{skew:qr()}],"skew-x":[{"skew-x":qr()}],"skew-y":[{"skew-y":qr()}],transform:[{transform:[dt,ut,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ge()}],"translate-x":[{"translate-x":ge()}],"translate-y":[{"translate-y":ge()}],"translate-z":[{"translate-z":ge()}
vendor: 5,505 bytes, line 15
15],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",dt,ut]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mbs":[{"scroll-mbs":R()}],"scroll-mbe":[{"scroll-mbe":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pbs":[{"scroll-pbs":R()}],"scroll-pbe":[{"scroll-pbe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",dt,ut]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[Wt,sh,fu,EA]}],stroke:[{stroke:["none",...D()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ife=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:a={},override:i={}})=>(Nh(e,"cacheSize",t),Nh(e,"prefix",n),Nh(e,"experimentalParseClassName",r),p1(e.theme,i.theme),p1(e.classGroups,i.classGroups),p1(e.conflictingClassGroups,i.conflictingClassGroups),p1(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Nh(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),h1(e.theme,a.theme),h1(e.classGroups,a.classGroups),h1(e.conflictingClassGroups,a.conflictingClassGroups),h1(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),LN(e,a,"orderSensitiveModifiers"),e),Nh=(e,t,n)=>{n!==void 0&&(e[t]=n)},p1=(e,t)=>
15{if(t)for(const n in t)Nh(e,n,t[n])},h1=(e,t)=>{if(t)for(const n in t)LN(e,t,n)},LN=(e,t,n)=>{const r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},ofe=(e,...t)=>typeof e=="function"?TA($A,e,...t):TA(()=>ife($A(),e),...t),sfe=ofe({extend:{classGroups:{"font-size":["text-3xs","text-xxs"],"font-weight":["font-sidebar","font-sidebar-active"],"max-w":[{"max-w":[e=>!!e]}],w:[{w:[e=>!!e]}]}}}),{cva:$r,cx:Ku}=yde({hooks:{onComplete:e=>sfe(e)}});function At(){const e=f8(),t=I(()=>{const{class:a,style:i,...o}=e;return{class:a||"",style:i,rest:o}});function n(...a){return{class:Ku(...a,t.value.class),style:t.value.style,...t.value.rest}}function r(...a){return{class:Ku(...a,t.value.class),style:t.value.style}}return{cx:n,stylingAttrsCx:r,otherAttrs:I(()=>t.value.rest)}}var lfe=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},cfe=$r({base:"relative after:absolute after:inset-x-0 after:block after:bg-blue after:opacity-15 after:pointer-events-none after:rounded",variants:{position:{before:"after:-top-0.5 after:h-0.75",after:"after:-bottom-0.5 after:h-0.75",into:"after:inset-0"}}}),cl=K(null),ic=K(null);function ufe(e){const{ceiling:t=.8,floor:n=.2,isDraggable:r=!0,isDroppable:a=!0,parentIds:i=[],id:o,onDragStart:s,onDragEnd:l}=e,c=I(()=>i.at(-1)??null),u=b=>typeof a=="function"?a(cl.value,{id:o,parentId:c.value,offset:b}):pt(a),d=b=>{if(!pt(r)||!b.dataTransfer||!(b.target instanceof HTMLElement))return;b.target.setAttribute("data-dragging","true"),b.dataTransfer.dropEffect="move",b.dataTransfer.effectAllowed="move";const y={id:o,parentId:c.value};cl.value=y,s?.(y)},f=lfe(b=>{if(!cl.value||cl.value.id===o||i.includes(cl.value?.id??""))return;const y=ic.value?.offset,O=b.target.offsetHeight,A=n*O,x=t*O;let T=null;b.offsetY<=0&&y&&y!=="after"?T=y:b.offsetY<=A?T="before":b.offsetY>=x?T="after":b.offsetY>A&&b.offsetY<x&&(T="into"),u(T)&&(ic.value={id:o,parentId:c.value,offset:T})},25),p=()=>{if(!ic.value||!cl.value)return;const b={...cl.value},y={...ic.value};cl.value=null,ic.value=null,document.querySelectorAll("[data-dragging]").forEach(O=>O.removeAttribute("data-dragging")),b.id!==y.id&&l?.(b,y)},h=I(()=>{const b=o===ic.value?.id?ic.value.offset:void 0;return b?cfe({position:b}):""});return{draggableAttrs:I(()=>({class:h.value||void 0,draggable:pt(r)?!0:void 0})),draggableEvents:{dragend:p,dragover:b=>{b.preventDefault(),b.stopPropagation(),f(b)},dragstart:b=>{b.stopPropagation(),d(b)}},draggingItem:cl,hoveredItem:ic}}var DN=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},dfe="regular";function Zt(e={}){const t=I(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:"presentation"});return{bind:I(()=>({width:"1em",height:"1em",...t.value})),weight:I(()=>e.weight??dfe)}}var ffe={key:0},pfe={key:1},hfe={key:2},mfe={key:3},gfe={key:4},bfe={key:5},yfe=Q({name:"ScalarIconArrowUp",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",ffe,[...a[0]||(a[0]=[w("path",{d:"M208.49,120.49a12,12,0,0,1-17,0L140,69V216a12,12,0,0,1-24,0V69L64.49,120.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0l72,72A12,12,0,0,1,208.49,120.49Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",pfe,[...a[1]||(a[1]=[w("path",{d:"M200,112H56l72-72Z",opacity:"0.2"},null,-1),w("path",{d:"M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,120h64v96a8,8,0,0,0,16,0V120h64a8,8,0,0,0,5.66-13.66ZM75.31,104,128,51.31,180.69,104Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",hfe,[...a[2]||(a[2]=[w("path",{d:"M207.39,115.06A8,8,0,0,1,200,120H136v96a8,8,0,0,1-16,0V120H56a8,8,0,0,1-5.66-13.66l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,207.39,115.06Z"},null,-1)])])):m(n)==="light"?(g(),S("g",mfe,[...a[3]||(a[3]=[w("path",{d:"M204.24,116.24a6,6,0,0,1-8.48,0L134,54.49V216a6,6,0,0,1-12,0V54.49L60.24,116.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0l72,72A6,6,0,0,1,204.24,116.24Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",gfe,[...a[4]||(a[4]=[w("path",{d:"M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",bfe,[...a[5]||(a[5]=[w("path",{d:"M202.83,114.83a4,4,0,0,1-5.66,0L132,49.66V216a4,4,0,0,1-8,0V49.66L58.83,114.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0l72,72A4,4,0,0,1,202.83,114.83Z"},null,-1)])])):B("",!0)],16))}}),vfe=yfe,Ofe={key:0},Sfe={key:1},wfe={key:2},xfe={key:3},kfe={key:4},Afe={key:5},Tfe=Q({name:"ScalarIconArrowUpRight",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Ofe,[...a[0]||(a[0]=[w("path",{d:"M204,64V168a12,12,0,0,1-24,0V93L72.49,200.49a12,12,0,0,1-17-17L163,76H88a12,12,0,0,1,0-24H192A12,12,0,0,1,204,64Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Sfe,[...a[1]||(a[1]=[w("path",{d:"M192,64V168L88,64Z",opacity:"0.2"},null,-1),w("path",{d:"M192,56H88a8,8,0,0,0-5.66,13.66L128.69,116,58.34,186.34a8,8,0,0,0,11.32,11.32L140,127.31l46.34,46.35A8,8,0,0,0,200,168V64A8,8,0,0,0,192,56Zm-8,92.69-38.34-38.34h0L107.31,72H184Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",wfe,[...a[2]||(a[2]=[w("path",{d:"M200,64V168a8,8,0,0,1-13.66,5.66L140,127.31,69.66,197.66a8,8,0,0,1-11.32-11.32L128.69,116,82.34,69.66A8,8,0,0,1,88,56H192A8,8,0,0,1,200,64Z"},null,-1)])])):m(n)==="light"?(g(),S("g",xfe,[...a[3]||(a[3]=[w("path",{d:"M198,64V168a6,6,0,0,1-12,0V78.48L68.24,196.24a6,6,0,0,1-8.48-8.48L177.52,70H88a6,6,0,0,1,0-12H192A6,6,0,0,1,198,64Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",kfe,[...a[4]||(a[4]=[w("path",{d:"M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",Afe,[...a[5]||(a[5]=[w("path",{d:"M196,64V168a4,4,0,0,1-8,0V73.66L66.83,194.83a4,4,0,0,1-5.66-5.66L182.34,68H88a4,4,0,0,1,0-8H192A4,4,0,0,1,196,64Z"},null,-1)])])):B("",!0)],16))}}),kg=Tfe,Efe={key:0},_fe={key:1},Cfe={key:2},$fe={key:3},Pfe={key:4},Ife={key:5},Nfe=Q({name:"ScalarIconBook",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Efe,[...a[0]||(a[0]=[w("path",{d:"M208,20H72A36,36,0,0,0,36,56V224a12,12,0,0,0,12,12H192a12,12,0,0,0,0-24H60v-4a12,12,0,0,1,12-12H208a12,12,0,0,0,12-12V32A12,12,0,0,0,208,20ZM196,172H72a35.59,35.59,0,0,0-12,2.06V56A12,12,0,0,1,72,44H196Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",_fe,[...a[1]||(a[1]=[w("path",{d:"M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z",opacity:"0.2"},null,-1),w("path",{d:"M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Cfe,[...a[2]||(a[2]=[w("path",{d:"M216,32V192a8,8,0,0,1-8,8H72a16,16,0,0,0-16,16H192a8,8,0,0,1,0,16H48a8,8,0,0,1-8-8V56A32,32,0,0,1,72,24H208A8,8,0,0,1,216,32Z"},null,-1)])])):m(n)==="light"?(g(),S("g",$fe,[...a[3]||(a[3]=[w("path",{d:"M208,26H72A30,30,0,0,0,42,56V224a6,6,0,0,0,6,6H192a6,6,0,0,0,0-12H54v-2a18,18,0,0,1,18-18H208a6,6,0,0,0,6-6V32A6,6,0,0,0,208,26Zm-6,160H72a29.87,29.87,0,0,0-18,6V56A18,18,0,0,1,72,38H202Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Pfe,[...a[4]||(a[4]=[w("path",{d:"M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",Ife,[...a[5]||(a[5]=[w("path",{d:"M208,28H72A28,28,0,0,0,44,56V224a4,4,0,0,0,4,4H192a4,4,0,0,0,0-8H52v-4a20,20,0,0,1,20-20H208a4,4,0,0,0,4-4V32A4,4,0,0,0,208,28Zm-4,160H72a27.94,27.94,0,0,0-20,8.42V56A20,20,0,0,1,72,36H204Z"},null,-1)])])):B("",!0)],16))}}),Rfe=Nfe,Mfe={key:0},Lfe={key:1},Dfe={key:2},Bfe={key:3},Ufe={key:4},jfe={key:5},Qfe=Q({name:"ScalarIconBookOpen",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Mfe,[...a[0]||(a[0]=[w("path",{d:"M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Lfe,[...a[1]||(a[1]=[w("path",{d:"M232,56V200H160a32,32,0,0,0-32,32,32,32,0,0,0-32-32H24V56H96a32,32,0,0,1,32,32,32,32,0,0,1,32-32Z",opacity:"0.2"},null,-1),w("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V2
1500a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Dfe,[...a[2]||(a[2]=[w("path",{d:"M240,56V200a8,8,0,0,1-8,8H160a24,24,0,0,0-24,23.94,7.9,7.9,0,0,1-5.12,7.55A8,8,0,0,1,120,232a24,24,0,0,0-24-24H24a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H88a32,32,0,0,1,32,32v87.73a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V80a32,32,0,0,1,32-32h64A8,8,0,0,1,240,56Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Bfe,[...a[3]||(a[3]=[w("path",{d:"M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Ufe,[...a[4]||(a[4]=[w("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",jfe,[...a[5]||(a[5]=[w("path",{d:"M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.93,35.93,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68Z"},null,-1)])])):B("",!0)],16))}}),Ffe=Qfe,zfe={key:0},Vfe={key:1},Hfe={key:2},qfe={key:3},Zfe={key:4},Xfe={key:5},Wfe=Q({name:"ScalarIconBracketsCurly",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",zfe,[...a[0]||(a[0]=[w("path",{d:"M54.8,119.49A35.06,35.06,0,0,1,49.05,128a35.06,35.06,0,0,1,5.75,8.51C60,147.24,60,159.83,60,172c0,25.94,1.84,32,20,32a12,12,0,0,1,0,24c-19.14,0-32.2-6.9-38.8-20.51C36,196.76,36,184.17,36,172c0-25.94-1.84-32-20-32a12,12,0,0,1,0-24c18.16,0,20-6.06,20-32,0-12.17,0-24.76,5.2-35.49C47.8,34.9,60.86,28,80,28a12,12,0,0,1,0,24c-18.16,0-20,6.06-20,32C60,96.17,60,108.76,54.8,119.49ZM240,116c-18.16,0-20-6.06-20-32,0-12.17,0-24.76-5.2-35.49C208.2,34.9,195.14,28,176,28a12,12,0,0,0,0,24c18.16,0,20,6.06,20,32,0,12.17,0,24.76,5.2,35.49A35.06,35.06,0,0,0,207,128a35.06,35.06,0,0,0-5.75,8.51C196,147.24,196,159.83,196,172c0,25.94-1.84,32-20,32a12,12,0,0,0,0,24c19.14,0,32.2-6.9,38.8-20.51C220,196.76,220,184.17,220,172c0-25.94,1.84-32,20-32a12,12,0,0,0,0-24Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Vfe,[...a[1]||(a[1]=[w("path",{d:"M240,128c-64,0,0,88-64,88H80c-64,0,0-88-64-88,64,0,0-88,64-88h96C240,40,176,128,240,128Z",opacity:"0.2"},null,-1),w("path",{d:"M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Hfe,[...a[2]||(a[2]=[w("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,40ZM88,155.84c.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16c-31.27,0-31.72-22.43-32-35.84C71.71,141.9,71.59,136,56,136a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16C72.28,86.43,72.73,64,104,64a8,8,0,0,1,0,16c-15.59,0-15.71,5.9-16,20.16-.
1517,8.31-.41,20.09-8,27.84C87.59,135.75,87.83,147.53,88,155.84ZM200,136c-15.59,0-15.71,5.9-16,20.16-.28,13.41-.73,35.84-32,35.84a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16.17-8.31.41-20.09,8-27.84-7.6-7.75-7.84-19.53-8-27.84C167.71,85.9,167.59,80,152,80a8,8,0,0,1,0-16c31.27,0,31.72,22.43,32,35.84.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16Z"},null,-1)])])):m(n)==="light"?(g(),S("g",qfe,[...a[3]||(a[3]=[w("path",{d:"M39.91,128a27.68,27.68,0,0,1,9.49,11.13C54,148.62,54,160.51,54,172c0,24.27,1.21,38,26,38a6,6,0,0,1,0,12c-16.88,0-27.81-5.6-33.4-17.13C42,195.38,42,183.49,42,172c0-24.27-1.21-38-26-38a6,6,0,0,1,0-12c24.79,0,26-13.73,26-38,0-11.49,0-23.38,4.6-32.87C52.19,39.6,63.12,34,80,34a6,6,0,0,1,0,12C55.21,46,54,59.73,54,84c0,11.49,0,23.38-4.6,32.87A27.68,27.68,0,0,1,39.91,128ZM240,122c-24.79,0-26-13.73-26-38,0-11.49,0-23.38-4.6-32.87C203.81,39.6,192.88,34,176,34a6,6,0,0,0,0,12c24.79,0,26,13.73,26,38,0,11.49,0,23.38,4.6,32.87A27.68,27.68,0,0,0,216.09,128a27.68,27.68,0,0,0-9.49,11.13C202,148.62,202,160.51,202,172c0,24.27-1.21,38-26,38a6,6,0,0,0,0,12c16.88,0,27.81-5.6,33.4-17.13,4.6-9.49,4.6-21.38,4.6-32.87,0-24.27,1.21-38,26-38a6,6,0,0,0,0-12Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Zfe,[...a[4]||(a[4]=[w("path",{d:"M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",Xfe,[...a[5]||(a[5]=[w("path",{d:"M35.89,128C52,136.23,52,155.64,52,172c0,24.8,1.35,40,28,40a4,4,0,0,1,0,8c-36,0-36-26.61-36-48,0-24.8-1.35-40-28-40a4,4,0,0,1,0-8c26.65,0,28-15.2,28-40,0-21.39,0-48,36-48a4,4,0,0,1,0,8C53.35,44,52,59.2,52,84,52,100.36,52,119.77,35.89,128ZM240,124c-26.65,0-28-15.2-28-40,0-21.39,0-48-36-48a4,4,0,0,0,0,8c26.65,0,28,15.2,28,40,0,16.36,0,35.77,16.11,44C204,136.23,204,155.64,204,172c0,24.8-1.35,40-28,40a4,4,0,0,0,0,8c36,0,36-26.61,36-48,0-24.8,1.35-40,28-40a4,4,0,0,0,0-8Z"},null,-1)])])):B("",!0)],16))}}),BN=Wfe,Yfe={key:0},Gfe={key:1},Kfe={key:2},Jfe={key:3},epe={key:4},tpe={key:5},npe=Q({name:"ScalarIconCaretDown",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Yfe,[...a[0]||(a[0]=[w("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Gfe,[...a[1]||(a[1]=[w("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"},null,-1),w("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Kfe,[...a[2]||(a[2]=[w("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Jfe,[...a[3]||(a[3]=[w("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",epe,[...a[4]||(a[4]=[w("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",tpe,[...a[5]||(a[5]=[w("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"},null,-1)])])):B("",!0)],16))}}),xi=npe,rpe={key:0},ape={key:1},ipe={key:2},ope={key:3},spe={key:4},lpe={key:5},cpe=Q({name:"ScalarIconCaretRight",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",rpe,[...a[0]||(a[0]=[w("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",ape,[...a[1]||(a[1]=[w("path",{d:"M176,128,96,208V48Z",opacity:"0.2"},null,-1),w("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",ipe,[...a[2]||(a[2]=[w("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"},null,-1)])])):m(n)==="light"?(g(),S("g",ope,[...a[3]||(a[3]=[w("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",spe,[...a[4]||(a[4]=[w("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",lpe,[...a[5]||(a[5]=[w("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"},null,-1)])])):B("",!0)],16))}}),wd=cpe,upe={key:0},dpe={key:1},fpe={key:2},ppe={key:3},hpe={key:4}
15,mpe={key:5},gpe=Q({name:"ScalarIconCaretUp",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",upe,[...a[0]||(a[0]=[w("path",{d:"M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",dpe,[...a[1]||(a[1]=[w("path",{d:"M208,160H48l80-80Z",opacity:"0.2"},null,-1),w("path",{d:"M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",fpe,[...a[2]||(a[2]=[w("path",{d:"M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z"},null,-1)])])):m(n)==="light"?(g(),S("g",ppe,[...a[3]||(a[3]=[w("path",{d:"M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",hpe,[...a[4]||(a[4]=[w("path",{d:"M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",mpe,[...a[5]||(a[5]=[w("path",{d:"M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z"},null,-1)])])):B("",!0)],16))}}),bpe=gpe,ype={key:0},vpe={key:1},Ope={key:2},Spe={key:3},wpe={key:4},xpe={key:5},kpe=Q({name:"ScalarIconCaretUpDown",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",ype,[...a[0]||(a[0]=[w("path",{d:"M184.49,167.51a12,12,0,0,1,0,17l-48,48a12,12,0,0,1-17,0l-48-48a12,12,0,0,1,17-17L128,207l39.51-39.52A12,12,0,0,1,184.49,167.51Zm-96-79L128,49l39.51,39.52a12,12,0,0,0,17-17l-48-48a12,12,0,0,0-17,0l-48,48a12,12,0,0,0,17,17Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",vpe,[...a[1]||(a[1]=[w("path",{d:"M80,176h96l-48,48ZM128,32,80,80h96Z",opacity:"0.2"},null,-1),w("path",{d:"M176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Zm-48,44.69L99.31,184h57.38ZM80,88h96a8,8,0,0,0,5.66-13.66l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,80,88Zm48-44.69L156.69,72H99.31Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Ope,[...a[2]||(a[2]=[w("path",{d:"M72.61,83.06a8,8,0,0,1,1.73-8.72l48-48a8,8,0,0,1,11.32,0l48,48A8,8,0,0,1,176,88H80A8,8,0,0,1,72.61,83.06ZM176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Spe,[...a[3]||(a[3]=[w("path",{d:"M180.24,171.76a6,6,0,0,1,0,8.48l-48,48a6,6,0,0,1-8.48,0l-48-48a6,6,0,0,1,8.48-8.48L128,215.51l43.76-43.75A6,6,0,0,1,180.24,171.76Zm-96-87.52L128,40.49l43.76,43.75a6,6,0,0,0,8.48-8.48l-48-48a6,6,0,0,0-8.48,0l-48,48a6,6,0,0,0,8.48,8.48Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",wpe,[...a[4]||(a[4]=[w("path",{d:"M181.66,170.34a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-48-48a8,8,0,0,1,11.32-11.32L128,212.69l42.34-42.35A8,8,0,0,1,181.66,170.34Zm-96-84.68L128,43.31l42.34,42.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,85.66Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",xpe,[...a[5]||(a[5]=[w("path",{d:"M178.83,173.17a4,4,0,0,1,0,5.66l-48,48a4,4,0,0,1-5.66,0l-48-48a4,4,0,0,1,5.66-5.66L128,218.34l45.17-45.17A4,4,0,0,1,178.83,173.17Zm-96-90.34L128,37.66l45.17,45.17a4,4,0,1,0,5.66-5.66l-48-48a4,4,0,0,0-5.66,0l-48,48a4,4,0,0,0,5.66,5.66Z"},null,-1)])])):B("",!0)],16))}}),Ape=kpe,Tpe={key:0},Epe={key:1},_pe={key:2},Cpe={key:3},$pe={key:4},Ppe={key:5},Ipe=Q({name:"ScalarIconCheck",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Tpe,[...a[0]||(a[0]=[w("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Epe,[...a[1]||(a[1]=[w("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",o
15pacity:"0.2"},null,-1),w("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",_pe,[...a[2]||(a[2]=[w("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,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Cpe,[...a[3]||(a[3]=[w("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",$pe,[...a[4]||(a[4]=[w("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",Ppe,[...a[5]||(a[5]=[w("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"},null,-1)])])):B("",!0)],16))}}),Sx=Ipe,Npe={key:0},Rpe={key:1},Mpe={key:2},Lpe={key:3},Dpe={key:4},Bpe={key:5},Upe=Q({name:"ScalarIconCloud",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Npe,[...a[0]||(a[0]=[w("path",{d:"M160,36A92.09,92.09,0,0,0,79,84.36,68,68,0,1,0,72,220h88a92,92,0,0,0,0-184Zm0,160H72a44,44,0,0,1-1.82-88A91.86,91.86,0,0,0,68,128a12,12,0,0,0,24,0,68,68,0,1,1,68,68Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Rpe,[...a[1]||(a[1]=[w("path",{d:"M240,128a80,80,0,0,1-80,80H72A56,56,0,1,1,85.92,97.74l0,.1A80,80,0,0,1,240,128Z",opacity:"0.2"},null,-1),w("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Mpe,[...a[2]||(a[2]=[w("path",{d:"M160.06,40A88.1,88.1,0,0,0,81.29,88.67h0A87.48,87.48,0,0,0,72,127.73,8.18,8.18,0,0,1,64.57,136,8,8,0,0,1,56,128a103.66,103.66,0,0,1,5.34-32.92,4,4,0,0,0-4.75-5.18A64.09,64.09,0,0,0,8,152c0,35.19,29.75,64,65,64H160a88.09,88.09,0,0,0,87.93-91.48C246.11,77.54,207.07,40,160.06,40Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Lpe,[...a[3]||(a[3]=[w("path",{d:"M160,42A86.11,86.11,0,0,0,82.43,90.88,62,62,0,1,0,72,214h88a86,86,0,0,0,0-172Zm0,160H72a50,50,0,0,1,0-100,50.67,50.67,0,0,1,5.91.35A85.61,85.61,0,0,0,74,128a6,6,0,0,0,12,0,74,74,0,1,1,74,74Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Dpe,[...a[4]||(a[4]=[w("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",Bpe,[...a[5]||(a[5]=[w("path",{d:"M160,44A84.11,84.11,0,0,0,83.59,93.12,60.71,60.71,0,0,0,72,92a60,60,0,0,0,0,120h88a84,84,0,0,0,0-168Zm0,160H72a52,52,0,1,1,8.55-103.3A83.66,83.66,0,0,0,76,128a4,4,0,0,0,8,0,76,76,0,1,1,76,76Z"},null,-1)])])):B("",!0)],16))}}),jpe=Upe,Qpe={key:0},Fpe={key:1},zpe={key:2},Vpe={key:3},Hpe={key:4},qpe={key:5},Zpe=Q({name:"ScalarIconCopy",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Qpe,[...a[0]||(a[0]=[w("path",{d:"M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Fpe,[...a[1]||(a[1]=[w("path",{d:"M216,40V168H168V88H88V40Z",opacity:"0.2"},null,-1),w("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",zpe,[...a[2]||(a[2]=[w("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Vpe,[...a[3]||(a[3]=[w("path",{d:"M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Hpe,[...a[4]||(a[4]=[w("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",qpe,[...a[5]||(a[5]=[w("path",{d:"M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z"},null,-1)])])):B("",!0)],16))}}),wx=Zpe,Xpe={key:0},Wpe={key:1},Ype={key:2},Gpe={key:3},Kpe={key:4}
15,Jpe={key:5},ehe=Q({name:"ScalarIconEnvelopeSimple",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Xpe,[...a[0]||(a[0]=[w("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,44ZM193.15,68,128,127.72,62.85,68ZM44,188V83.28l75.89,69.57a12,12,0,0,0,16.22,0L212,83.28V188Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Wpe,[...a[1]||(a[1]=[w("path",{d:"M224,56l-96,88L32,56Z",opacity:"0.2"},null,-1),w("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,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Ype,[...a[2]||(a[2]=[w("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-8,144H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Gpe,[...a[3]||(a[3]=[w("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,50ZM208.58,62,128,135.86,47.42,62ZM216,194H40a2,2,0,0,1-2-2V69.64l86,78.78a6,6,0,0,0,8.1,0L218,69.64V192A2,2,0,0,1,216,194Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Kpe,[...a[4]||(a[4]=[w("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,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",Jpe,[...a[5]||(a[5]=[w("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-10.28,8L128,138.57,42.28,60ZM216,196H40a4,4,0,0,1-4-4V65.09L125.3,147a4,4,0,0,0,5.4,0L220,65.09V192A4,4,0,0,1,216,196Z"},null,-1)])])):B("",!0)],16))}}),the=ehe,nhe={key:0},rhe={key:1},ahe={key:2},ihe={key:3},ohe={key:4},she={key:5},lhe=Q({name:"ScalarIconEye",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",nhe,[...a[0]||(a[0]=[w("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"},null,-1)])])):m(n)==="duotone"?(g(),S("g",rhe,[...a[1]||(a[1]=[w("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"},null,-1),w("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"},null,-1)])])):m(n)==="fill"?(g(),S("g",ahe,[...a[2]||(a[2]=[w("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"},null,-1)])])):m(n)==="light"?(g(),S("g",ihe,[...a[3]||(a[3]=[w("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
15-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"},null,-1)])])):m(n)==="regular"?(g(),S("g",ohe,[...a[4]||(a[4]=[w("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"},null,-1)])])):m(n)==="thin"?(g(),S("g",she,[...a[5]||(a[5]=[w("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"},null,-1)])])):B("",!0)],16))}}),che=lhe,uhe={key:0},dhe={key:1},fhe={key:2},phe={key:3},hhe={key:4},mhe={key:5},ghe=Q({name:"ScalarIconEyeSlash",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",uhe,[...a[0]||(a[0]=[w("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"},null,-1)])])):m(n)==="duotone"?(g(),S("g",dhe,[...a[1]||(a[1]=[w("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"},null,-1),w("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"},null,-1)])])):m(n)==="fill"?(g(),S("g",fhe,[...a[2]||(a[2]=[w("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"},null,-1)])])):m(n)==="light"?(g(),S("g",phe,[...a[3]||(a[3]=[w("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"},null,-1)])])):m(n)==="regular"?(g(),S("g",hhe,[...a[4]||(a[4]=[w("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.
1511,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"},null,-1)])])):m(n)==="thin"?(g(),S("g",mhe,[...a[5]||(a[5]=[w("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"},null,-1)])])):B("",!0)],16))}}),bhe=ghe,yhe={key:0},vhe={key:1},Ohe={key:2},She={key:3},whe={key:4},xhe={key:5},khe=Q({name:"ScalarIconFileMd",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",yhe,[...a[0]||(a[0]=[w("path",{d:"M100,152v56a12,12,0,0,1-24,0V190.07l-6.17,8.81a12,12,0,0,1-19.66,0L44,190.07V208a12,12,0,0,1-24,0V152a12,12,0,0,1,21.83-6.88L60,171.07l18.17-25.95A12,12,0,0,1,100,152Zm84,28a40,40,0,0,1-40,40H128a12,12,0,0,1-12-12V152a12,12,0,0,1,12-12h16A40,40,0,0,1,184,180Zm-24,0a16,16,0,0,0-16-16h-4v32h4A16,16,0,0,0,160,180Zm60-92V224a12,12,0,0,1-24,0V104H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88Zm-60-8h23L160,57Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",vhe,[...a[1]||(a[1]=[w("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),w("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Ohe,[...a[2]||(a[2]=[w("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,4H196a4,4,0,0,1,4,4V224a8,8,0,0,0,9.19,7.91,8.15,8.15,0,0,0,6.81-8.16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Zm-8,56H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,144,144Zm-.49,56H136V160h8a20,20,0,0,1,20,20.77C163.58,191.59,154.34,200,143.51,200ZM104,152v55.73A8.17,8.17,0,0,1,96.53,216,8,8,0,0,1,88,208V177.38l-13.32,19a8.3,8.3,0,0,1-4.2,3.2,8,8,0,0,1-9-3L48,177.38v30.35A8.17,8.17,0,0,1,40.53,216,8,8,0,0,1,32,208V152.31a8.27,8.27,0,0,1,4.56-7.53,8,8,0,0,1,10,2.63L68,178.05l21.27-30.39a8.28,8.28,0,0,1,8.06-3.55A8,8,0,0,1,104,152Z"},null,-1)])])):m(n)==="light"?(g(),S("g",She,[...a[3]||(a[3]=[w("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V224a6,6,0,0,0,12,0V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM144,146H128a6,6,0,0,0-6,6v56a6,6,0,0,0,6,6h16a34,34,0,0,0,0-68Zm0,56H134V158h10a22,22,0,0,1,0,44Zm-42
15-50v56a6,6,0,0,1-12,0V171L72.92,195.44a6,6,0,0,1-9.84,0L46,171v37a6,6,0,0,1-12,0V152a6,6,0,0,1,10.92-3.44l23.08,33,23.08-33A6,6,0,0,1,102,152Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",whe,[...a[4]||(a[4]=[w("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",xhe,[...a[5]||(a[5]=[w("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V224a4,4,0,0,0,8,0V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM144,148H128a4,4,0,0,0-4,4v56a4,4,0,0,0,4,4h16a32,32,0,0,0,0-64Zm0,56H132V156h12a24,24,0,0,1,0,48Zm-44-52v56a4,4,0,0,1-8,0V164.69l-20.72,29.6a4,4,0,0,1-6.56,0L44,164.69V208a4,4,0,0,1-8,0V152a4,4,0,0,1,7.28-2.29L68,185l24.72-35.31A4,4,0,0,1,100,152Z"},null,-1)])])):B("",!0)],16))}}),Ahe=khe,The={key:0},Ehe={key:1},_he={key:2},Che={key:3},$he={key:4},Phe={key:5},Ihe=Q({name:"ScalarIconGavel",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",The,[...a[0]||(a[0]=[w("path",{d:"M246.14,113.86l-16-16a20,20,0,0,0-23.06-3.75l-45.2-45.2a20,20,0,0,0-3.74-23.06l-16-16a20,20,0,0,0-28.28,0l-64,64a20,20,0,0,0,0,28.28l16,16a20,20,0,0,0,23,3.79L29.36,181.38a32,32,0,0,0,45.26,45.26L134,167.21a20,20,0,0,0,3.81,22.94l16,16a20,20,0,0,0,28.29,0l64-64a20,20,0,0,0,0-28.29ZM80,98.34,69.64,88,128,29.65,138.34,40ZM57.64,209.67a8,8,0,0,1-11.31-11.32l59.52-59.52,11.31,11.32Zm92.7-60.29-43.72-43.72,39-39,43.72,43.72Zm17.65,37L157.65,176,216,117.66,226.34,128Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Ehe,[...a[1]||(a[1]=[w("path",{d:"M149.66,45.66l-64,64a8,8,0,0,1-11.32,0l-16-16a8,8,0,0,1,0-11.32l64-64a8,8,0,0,1,11.32,0l16,16A8,8,0,0,1,149.66,45.66Zm88,76.68-16-16a8,8,0,0,0-11.32,0l-64,64a8,8,0,0,0,0,11.32l16,16a8,8,0,0,0,11.32,0l64-64A8,8,0,0,0,237.66,122.34Z",opacity:"0.2"},null,-1),w("path",{d:"M243.32,116.69l-16-16a16,16,0,0,0-20.84-1.53L156.84,49.52a16,16,0,0,0-1.52-20.84l-16-16a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63l16,16a16,16,0,0,0,20.83,1.52L96.69,124,31.31,189.38A25,25,0,0,0,66.63,224.7L132,159.32l7.17,7.16a16,16,0,0,0,1.52,20.84l16,16a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.69ZM80,104,64,88l64-64,16,16ZM55.32,213.38a9,9,0,0,1-12.69,0,9,9,0,0,1,0-12.68L108,135.32,120.69,148ZM101,105.66,145.66,61,195,110.34,150.35,155ZM168,192l-16-16,4-4h0l56-56h0l4-4,16,16Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",_he,[...a[2]||(a[2]=[w("path",{d:"M52.69,99.31a16,16,0,0,1,0-22.63l64-64a16,16,0,0,1,22.63,22.63l-64,64a16,16,0,0,1-22.63,0Zm190.63,17.37a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63h0a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.68Zm-35.11-15.8L155.12,47.79a4,4,0,0,0-5.66,0L87.8,109.45a4,4,0,0,0,0,5.66L103,130.34,28.69,204.69a16,16,0,0,0,22.62,22.62L125.66,153l15.23,15.23a4,4,0,0,0,5.66,0l61.66-61.66A4,4,0,0,0,208.21,100.88Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Che,[...a[3]||(a[3]=[w("path",{d:"M241.91,118.1l-16-16a14,14,0,0,0-19.55-.23L154.13,49.64a14,14,0,0,0-.23-19.55l-16-16a14,14,0,0,0-19.8,0l-64,64a14,14,0,0,0,0,19.8l16,16a14,14,0,0,0,19.55.23L99.52,124,32.73,190.79a23,23,0,0,0,32.48,32.49L132,156.49l9.87,9.87a14,14,0,0,0,.23,19.55l16,16a14,14,0,0,0,19.8,0l64-64A14,14,0,0,0,241.91,118.1Zm-91.56,39.76-52.21-52.2,47.52-47.52,52.2,52.2ZM78.59,105.41l-16-16a2,2,0,0,1,0-2.83l64-64a2,2,0,0,1,2.83,0l16,16a2,2,0,0,1,0,2.83l-64,64A2,2,0,0,1,78.59,105.41ZM56.73,214.8a11,11,0,0,1-15.52-15.52L108,132.49,123.52,148Zm176.69-85.38-64,64a2,2,0,0,1-2.83,0l-16-16a2,2,0,0,1,0-2.83l64-64a2,2,0,0,1,2.83,0l16,16A2,2,0,0,1,233.42,129.42Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",$he,[...a[4]||(a[4]=[w("path",{d:"M243.32,116.69l-16-16a16,16,0,0,0-20.84-1.53L156.84,49.52a16,16,0,0,0-1.52-20.84l-16-16a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63l16,16a16,16,0,0,0,20.83,1.52L96.69,124,31.31,189.38A25,25,0,0,0,66.63,224.7L132,159.32l7.17,7.16a16,16,0,0,0,1.52,20.84l16,16a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.69ZM80,104,64,88l64-64,16,16ZM55.32,213.38a9,9,0,0,1-12.69,0,9,9,0,0,1,0-12.68L108,135.32,120.69,148ZM101,105.66,145.66,61,195,110.34,150.35,155ZM168,192l-16-16,4-4h0l56-56h0l4-4,16,16Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",Phe,[...a[5]||(a[5]=[w("path",{d:"M240.49,119.52l-16-16a12,12,0,0,0-17,0l-1.17,1.17-55-55,1.18-1.17a12,12,0,0,0,0-17l-16-16a12,12,0,0,0-17,0l-64,64a12,12,0,0,0,0,17l16,16a12,12,0,0,0,17,0l1.17-1.18L102.34,124l-68.2,68.21A21,21,0,0,0,63.8,221.87L132,153.66l12.69,12.69-1.18,1.17a12,12,0,0,0,0,17l16,16a12,12,0,0,0,17,0l64-64a12,12,0,0,0,0-17ZM77.17,106.83l-16-16a4,4,0,0,1,0-5.66l64-64a4,4,0,0,1,5.66,0l16,16a4,4,0,0,1,0,5.65l-64,64A4,4,0,0,1,77.17,106.83Zm-19,109.38A13,13,0,1,1,39.8,197.87L108,129.66,126.34,148ZM95.31,105.66l50.35-50.35,55,55-50.35,50.35Zm139.52,25.17-64,64a4,4,0,0,1-5.66,0l-16-16a4,4,0,0,1,0-5.65l64-64a4,4,0,0,1,5.66,0l16,16a4,4,0,0,1,0,5.66Z"},null,-1)])])):B("",!0)],16))}}),PA=Ihe,Nhe={key:0},Rhe={key:1},Mhe={key:2},Lhe={key:3},Dhe={key:4},Bhe={key:5},Uhe=Q({name:"ScalarIconGear",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Nhe,[...a[0]||(a[0]=[w("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.
151,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Rhe,[...a[1]||(a[1]=[w("path",{d:"M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),w("path",{d:"M128,80a48,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,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Mhe,[...a[2]||(a[2]=[w("path",{d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Lhe,[...a[3]||(a[3]=[w("path",{d:"M128,82a46,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,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Dhe,[...a[4]||(a[4]=[w("path",{d:"M128,80a48,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,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",Bhe,[...a[5]||(a[5]=[w("path",{d:"M128,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,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32
15-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z"},null,-1)])])):B("",!0)],16))}}),jhe=Uhe,Qhe={key:0},Fhe={key:1},zhe={key:2},Vhe={key:3},Hhe={key:4},qhe={key:5},Zhe=Q({name:"ScalarIconGitBranch",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Qhe,[...a[0]||(a[0]=[w("path",{d:"M236,64a36,36,0,1,0-48,33.94V112a4,4,0,0,1-4,4H96a27.8,27.8,0,0,0-4,.29V97.94a36,36,0,1,0-24,0v60.12a36,36,0,1,0,24,0V144a4,4,0,0,1,4-4h88a28,28,0,0,0,28-28V97.94A36.07,36.07,0,0,0,236,64ZM80,52A12,12,0,1,1,68,64,12,12,0,0,1,80,52Zm0,152a12,12,0,1,1,12-12A12,12,0,0,1,80,204ZM200,76a12,12,0,1,1,12-12A12,12,0,0,1,200,76Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Fhe,[...a[1]||(a[1]=[w("path",{d:"M224,64a24,24,0,1,1-24-24A24,24,0,0,1,224,64Z",opacity:"0.2"},null,-1),w("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",zhe,[...a[2]||(a[2]=[w("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Vhe,[...a[3]||(a[3]=[w("path",{d:"M230,64a30,30,0,1,0-36,29.4V112a10,10,0,0,1-10,10H96a21.84,21.84,0,0,0-10,2.42v-31a30,30,0,1,0-12,0v69.2a30,30,0,1,0,12,0V144a10,10,0,0,1,10-10h88a22,22,0,0,0,22-22V93.4A30.05,30.05,0,0,0,230,64ZM62,64A18,18,0,1,1,80,82,18,18,0,0,1,62,64ZM98,192a18,18,0,1,1-18-18A18,18,0,0,1,98,192ZM200,82a18,18,0,1,1,18-18A18,18,0,0,1,200,82Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Hhe,[...a[4]||(a[4]=[w("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",qhe,[...a[5]||(a[5]=[w("path",{d:"M228,64a28,28,0,1,0-32,27.71V112a12,12,0,0,1-12,12H96a19.91,19.91,0,0,0-12,4V91.71a28,28,0,1,0-8,0v72.58a28,28,0,1,0,8,0V144a12,12,0,0,1,12-12h88a20,20,0,0,0,20-20V91.71A28,28,0,0,0,228,64ZM60,64A20,20,0,1,1,80,84,20,20,0,0,1,60,64Zm40,128a20,20,0,1,1-20-20A20,20,0,0,1,100,192ZM200,84a20,20,0,1,1,20-20A20,20,0,0,1,200,84Z"},null,-1)])])):B("",!0)],16))}}),Xhe=Zhe,Whe={key:0},Yhe={key:1},Ghe={key:2},Khe={key:3},Jhe={key:4},eme={key:5},tme=Q({name:"ScalarIconGlobeSimple",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Whe,[...a[0]||(a[0]=[w("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm83.13,96H179.56a144.3,144.3,0,0,0-21.35-66.36A84.22,84.22,0,0,1,211.13,116ZM128,207c-9.36-10.81-24.46-33.13-27.45-67h54.94a119.74,119.74,0,0,1-17.11,52.77A108.61,108.61,0,0,1,128,207Zm-27.45-91a119.74,119.74,0,0,1,17.11-52.77A108.61,108.61,0,0,1,128,49c9.36,10.81,24.46,33.13,27.45,67ZM97.79,49.64A144.3,144.3,0,0,0,76.44,116H44.87A84.22,84.22,0,0,1,97.79,49.64ZM44.87,140H76.44a144.3,144.3,0,0,0,21.35,66.36A84.22,84.22,0,0,1,44.87,140Zm113.34,66.36A144.3,144.3,0,0,0,179.56,140h31.57A84.22,84.22,0,0,1,158.21,206.36Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Yhe,[...a[1]||(a[1]=[w("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),w("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,8
150.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Ghe,[...a[2]||(a[2]=[w("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm52.18,93.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Khe,[...a[3]||(a[3]=[w("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm89.8,96H173.89c-1.54-40.77-18.48-68.23-30.43-82.67A90.19,90.19,0,0,1,217.8,122ZM128,215.83a110,110,0,0,1-15.19-19.45A128.37,128.37,0,0,1,94.13,134h67.74a128.37,128.37,0,0,1-18.68,62.38A110,110,0,0,1,128,215.83ZM94.13,122a128.37,128.37,0,0,1,18.68-62.38A110,110,0,0,1,128,40.17a110,110,0,0,1,15.19,19.45A128.37,128.37,0,0,1,161.87,122Zm18.41-82.67c-12,14.44-28.89,41.9-30.43,82.67H38.2A90.19,90.19,0,0,1,112.54,39.33ZM38.2,134H82.11c1.54,40.77,18.48,68.23,30.43,82.67A90.19,90.19,0,0,1,38.2,134Zm105.26,82.67c11.95-14.44,28.89-41.9,30.43-82.67H217.8A90.19,90.19,0,0,1,143.46,216.67Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Jhe,[...a[4]||(a[4]=[w("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,80.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",eme,[...a[5]||(a[5]=[w("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm91.9,96h-48c-1.15-45.55-21.74-74.52-33.48-87.4A92.14,92.14,0,0,1,219.91,124ZM128,218.61c-8.32-8-34.57-37.13-35.93-86.61h71.86C162.57,181.48,136.32,210.61,128,218.61ZM92.07,124C93.43,74.52,119.68,45.39,128,37.39c8.32,8,34.57,37.13,35.93,86.61Zm25.47-87.4C105.8,49.48,85.21,78.45,84.06,124h-48A92.14,92.14,0,0,1,117.54,36.6ZM36.09,132h48c1.15,45.55,21.74,74.52,33.48,87.4A92.14,92.14,0,0,1,36.09,132Zm102.37,87.4c11.74-12.88,32.33-41.85,33.48-87.4h48A92.14,92.14,0,0,1,138.46,219.4Z"},null,-1)])])):B("",!0)],16))}}),nme=tme,rme={key:0},ame={key:1},ime={key:2},ome={key:3},sme={key:4},lme={key:5},cme=Q({name:"ScalarIconHash",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",rme,[...a[0]||(a[0]=[w("path",{d:"M224,84H180.2l7.61-41.85a12,12,0,0,0-23.62-4.3L155.8,84H116.2l7.61-41.85a12,12,0,1,0-23.62-4.3L91.8,84H48a12,12,0,0,0,0,24H87.44l-7.27,40H32a12,12,0,0,0,0,24H75.8l-7.61,41.85a12,12,0,0,0,9.66,14A11.43,11.43,0,0,0,80,228a12,12,0,0,0,11.8-9.86L100.2,172h39.6l-7.61,41.85a12,12,0,0,0,9.66,14,11.43,11.43,0,0,0,2.16.2,12,12,0,0,0,11.8-9.86L164.2,172H208a12,12,0,0,0,0-24H168.56l7.27-40H224a12,12,0,0,0,0-24Zm-79.83,64H104.56l7.27-40h39.61Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",ame,[...a[1]||(a[1]=[w("path",{d:"M165.82,96l-11.64,64h-64l11.64-64Z",opacity:"0.2"},null,-1),w("path",{d:"M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",ime,[...a[2]||(a[2]=[w("path",{d:"M116.25,112h31.5l-8,32h-31.5ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Zm-16,56a8,8,0,0,0-8-8H168.25l7.51-30.06a8,8,0,0,0-15.52-3.88L151.75,96h-31.5l7.51-30.06a8,8,0,0,0-15.52-3.88L103.75,96H64a8,8,0,0,0,0,16H99.75l-8,32H56a8,8,0,0,0,0,16H87.75l-7.51,30.06a8,8,0,0,0,5.82,9.7,8.13,8.13,0,0,0,2,.24,8,8,0,0,0,7.75-6.06L104.25,160h31.5l-7.51,30.06a8,8,0,0,0,5.82,9.7A8.13,8.13,0,0,0,136,200a8,8,0,0,0,7.75-6.06L152.25,160H192a8,8,0,0,0,0-16H156.25l8-32H200A8,8,0,0,0,208,104Z"},null,-1)])])):m(n)==="light"?(g(),S("g",ome,[...a[3]||(a[3]=[w("path",{d:"M224,90H173l8.89-48.93a6,6,0,1,0-11.8-2.14L160.81,90H109l8.89-48.93a6,6,0,0,0-11.8-2.14L96.81,90H48a6,6,0,0,0,0,12H94.63l-9.46,52H32a6,6,0,0,0,0,12H83L74.1,214.93a6,6,0,0,0,4.83,7A5.64,5.64,0,0,0,80,222a6,6,0,0,0,5.89-4.93L95.19,166H147l-8.89,48.93a6,6,0,0,0,4.83,7,5.64,5.64,0,0,0,1.08.1,6,6,0,0,0,5.89-4.93L159.19,166H208a6,6,0,0,0,0-12H161.37l9.46-52H224a6,6,0,0,0,0-12Zm-74.83,64H97.37l9.46-52h51.8Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",sme,[...a[4]||(a[4]=[w("path",{d:"M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",lme,[...a[5]||(a[5]=[w("path",{d:"M224,92H170.61l9.33-51.28a4,4,0,1,0-7.88-1.44L162.48,92H106.61l9.33-51.28a4,4,0,1,0-7.88-1.44L98.48,92H48a4,4,0,0,0,0,8H97L86.84,156H32a4,4,0,0,0,0,8H85.39l-9.33,51.28a4,4,0,0,0,3.22,4.65A3.65,3.65,0,0,0,80,220a4,4,0,0,0,3.94-3.29L93.52,164h55.87l-9.33,51.28a4,4,0,0,0,3.22,4.65,3.65,3.65,0,0,0,.72.07,4,4,0,0,0,3.94-3.29L157.52,164H208a4,4,0,0,0,0-8H159l10.19-56H224a4,4,0,0,0,0-8Zm-73.16,64H95l10.19-56H161Z"},null,-1)])])):B("",!0)],16))}}),ume=cme,dme={key:0},fme={key:1},pme={key:2},hme={key:3},mme={key:4},gme={key:5},bme=Q({name:"ScalarIconInfo",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",dme,[...a[0]||(a[0]=[w("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",fme,[...a[1]||(a[1]=[w("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),w("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",pme,[...a[2]||(a[2]=[w("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"},null,-1)])])):m(n)==="light"?(g(),S("g",hme,[...a[3]||(a[3]=[w("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",mme,[...a[4]||(a[4]=[w("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",gme,[...a[5]||(a[5]=[w("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1)])])):B("",!0)],16))}}),UN=bme,yme={key:0},vme={key:1},Ome={key:2},Sme={key:3},wme={key:4},xme={key:5},kme=Q({name:"ScalarIconLink",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",yme,[...a[0]||(a[0]=[w("path",{d:"M117.18,188.74a12,12,0,0,1,0,17l-5.12,5.12A58.26,58.26,0,0,1,70.6,228h0A58.62,58.62,0,0,1,29.14,127.92L63.89,93.17a58.64,58.64,0,0,1,98.56,28.11,12,12,0,1,1-23.37,5.44,34.65,34.65,0,0,0-58.22-16.58L46.11,144.89A34.62,34.62,0,0,0,70.57,204h0a34.41,34.41,0,0,0,24.49-10.14l5.11-5.12A12,12,0,0,1,117.18,188.74ZM226.83,45.17a58.65,58.65,0,0,0-82.93,0l-5.11,5.11a12,12,0,0,0,17,17l5.12-5.12a34.63,34.63,0,1,1,49,49L175.1,145.86A34.39,34.39,0,0,1,150.61,156h0a34.63,34.63,0,0,1-33.69-26.72,12,12,0,0,0-23.38,5.44A58.64,58.64,0,0,0,150.56,180h.05a58.28,58.28,0,0,0,41.47-17.17l34.75-34.75a58.62,58.62,0,0,0,0-82.91Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",vme,[...a[1]||(a[1]=[w("path",{d:"M218.34,119.6,183.6,154.34a46.58,46.58,0,0,1-44.31,12.26c-.31.34-.62.67-.95,1L103.6,202.34A46.63,46.63,0,1,1,37.66,136.4L72.4,101.66A46.6,46.6,0,0,1,116.71,89.4c.31-.34.62-.67,1-1L1
1552.4,53.66a46.63,46.63,0,0,1,65.94,65.94Z",opacity:"0.2"},null,-1),w("path",{d:"M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,7.78,8.22H152a8,8,0,0,0,8-7.78A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Ome,[...a[2]||(a[2]=[w("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM115.7,192.49a43.31,43.31,0,0,1-55-66.43l25.37-25.37a43.35,43.35,0,0,1,61.25,0,42.9,42.9,0,0,1,9.95,15.43,8,8,0,1,1-15,5.6A27.33,27.33,0,0,0,97.37,112L72,137.37a27.32,27.32,0,0,0,34.68,41.91,8,8,0,1,1,9,13.21Zm79.61-62.55-25.37,25.37A43,43,0,0,1,139.32,168h0a43.35,43.35,0,0,1-40.53-28.12,8,8,0,1,1,15-5.6A27.35,27.35,0,0,0,139.28,152h0a27.14,27.14,0,0,0,19.32-8L184,118.63a27.32,27.32,0,0,0-34.68-41.91,8,8,0,1,1-9-13.21,43.32,43.32,0,0,1,55,66.43Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Sme,[...a[3]||(a[3]=[w("path",{d:"M238,88.18a52.42,52.42,0,0,1-15.4,35.66l-34.75,34.75A52.28,52.28,0,0,1,150.62,174h-.05A52.63,52.63,0,0,1,98,119.9a6,6,0,0,1,6-5.84h.17a6,6,0,0,1,5.83,6.16A40.62,40.62,0,0,0,150.58,162h0a40.4,40.4,0,0,0,28.73-11.9l34.75-34.74A40.63,40.63,0,0,0,156.63,57.9l-11,11a6,6,0,0,1-8.49-8.49l11-11a52.62,52.62,0,0,1,74.43,0A52.83,52.83,0,0,1,238,88.18Zm-127.62,98.9-11,11A40.36,40.36,0,0,1,70.6,210h0a40.63,40.63,0,0,1-28.7-69.36L76.62,105.9A40.63,40.63,0,0,1,146,135.77a6,6,0,0,0,5.83,6.16H152a6,6,0,0,0,6-5.84A52.63,52.63,0,0,0,68.14,97.42L33.38,132.16A52.63,52.63,0,0,0,70.56,222h0a52.26,52.26,0,0,0,37.22-15.42l11-11a6,6,0,1,0-8.49-8.48Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",wme,[...a[4]||(a[4]=[w("path",{d:"M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,16,.45A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",xme,[...a[5]||(a[5]=[w("path",{d:"M236,88.12a50.44,50.44,0,0,1-14.81,34.31l-34.75,34.74A50.33,50.33,0,0,1,150.62,172h-.05A50.63,50.63,0,0,1,100,120a4,4,0,0,1,4-3.89h.11a4,4,0,0,1,3.89,4.11A42.64,42.64,0,0,0,150.58,164h0a42.32,42.32,0,0,0,30.14-12.49l34.75-34.74a42.63,42.63,0,1,0-60.29-60.28l-11,11a4,4,0,0,1-5.66-5.65l11-11A50.64,50.64,0,0,1,236,88.12ZM111.78,188.49l-11,11A42.33,42.33,0,0,1,70.6,212h0a42.63,42.63,0,0,1-30.11-72.77l34.75-34.74A42.63,42.63,0,0,1,148,135.82a4,4,0,0,0,8,.23A50.64,50.64,0,0,0,69.55,98.83L34.8,133.57A50.63,50.63,0,0,0,70.56,220h0a50.33,50.33,0,0,0,35.81-14.83l11-11a4,4,0,1,0-5.65-5.66Z"},null,-1)])])):B("",!0)],16))}}),v2=kme,Ame={key:0},Tme={key:1},Eme={key:2},_me={key:3},Cme={key:4},$me={key:5},Pme=Q({name:"ScalarIconList",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Ame,[...a[0]||(a[0]=[w("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Tme,[...a[1]||(a[1]=[w("path",{d:"M216,64V192H40V64Z",opacity:"0.2"},null,-1),w("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Eme,[...a[2]||(a[2]=[w("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"},null,-1)])])):m(n)==="light"?(g(),S("g",_me,[...a[3]||(a[3]=[w("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Cme,[...a[4]||(a[4]=[w("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",$me,[...a[5]||(a[5]=[w("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"},null,-1)])])):B("",!0)],16))}}),Ime=Pme,Nme={key:0},Rme={key:1},Mme={key:2},Lme={key:3},Dme={key:4},Bme={key:5},Ume=Q({name:"ScalarIconLockSimple",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Nme,[...a[0]||(a[0]=[w("path",{d:"M208,76H180V56A52,52,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76ZM100,56a28,28,0,0,1,56,0V76H100ZM204,204H52V100H204Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Rme,[...a[1]||(a[1]=[w("path",{d:"M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z",opacity:"0.2"},null,-1),w("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Mme,[...a[2]||(a[2]=[w("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Lme,[...a[3]||(a[3]=[w("path",{d:"M208,82H174V56a46,46,0,0,0-92,0V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82ZM94,56a34,34,0,0,1,68,0V82H94ZM210,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Dme,[...a[4]||(a[4]=[w("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",Bme,[...a[5]||(a[5]=[w("path",{d:"M208,84H172V56a44,44,0,0,0-88,0V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84ZM92,56a36,36,0,0,1,72,0V84H92ZM212,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z"},null,-1)])])):B("",!0)],16))}}),jN=Ume,jme={key:0},Qme={key:1},Fme={key:2},zme={key:3},Vme={key:4},Hme={key:5},qme=Q({name:"ScalarIconLockSimpleOpen",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",jme,[...a[0]||(a[0]=[w("path",{d:"M208,76H100V56a28,28,0,0,1,28-28c13.51,0,25.65,9.62,28.24,22.39a12,12,0,1,0,23.52-4.78C174.87,21.5,153.1,4,128,4A52.06,52.06,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76Zm-4,128H52V100H204Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Qme,[...a[1]||(a[1]=[w("path",{d:"M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z",opacity:"0.2"},null,-1),w("path",{d:"M208,80H96V56a32,32,0,0,1,32-32c15.37,0,29.2,11,32.16,25.59a8,8,0,0,0,15.68-3.18C171.32,24.15,151.2,8,128,8A48.05,48.05,0,0,0,80,56V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm0,128H48V96H208V208Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Fme,[...a[2]||(a[2]=[w("path",{d:"M224,96V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V96A16,16,0,0,1,48,80H80V56A48.05,48.05,0,0,1,128,8c23.2,0,43.32,16.15,47.84,38.41a8,8,0,0,1-15.68,3.18C157.2,35,143.37,24,128,24A32,32,0,0,0,96,56V80H208A16,16,0,0,1,224,96Z"},null,-1)])])):m(n)==="light"?(g(),S("g",zme,[...a[3]||(a[3]=[w("path",{d:"M208,82H94V56a34,34,0,0,1,34-34c16.3,0,31,11.69,34.12,27.19a6,6,0,0,0,11.76-2.38C169.55,25.48,150.26,10,128,10A46.06,46.06,0,0,0,82,56V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82Zm2,126a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Vme,[...a[4]||(a[4]=[w("path",{d:"M208,80H96V56a32,32,0,0,1,32-32c15.37,0,29.2,11,32.16,25.59a8,8,0,0,0,15.68-3.18C171.32,24.15,151.2,8,128,8A48.05,48.05,0,0,0,80,56V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm0,128H48V96H208V208Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",Hme,[...a[5]||(a[5]=[w("path",{d:"M208,84H92V56a36,36,0,0,1,36-36c17.24,0,32.75,12.38,36.08,28.8a4,4,0,1,0,7.84-1.6C167.78,26.81,149.31,12,128,12A44.05,44.05,0,0,0,84,56V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84Zm4,124a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z"},null,-1)])])):B("",!0)],16))}}),Zme=qme,Xme={key:0},Wme={key:1},Yme={key:2},Gme={key:3},Kme={key:4},Jme={key:5},e0e=Q({name:"ScalarIconMagnifyingGlass",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Xme,[...a[0]||(a[0]=[w("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Wme,[...a[1]||(a[1]=[w("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"},null,-1),w("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Yme,[...a[2]||(a[2]=[w("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"},null,-1)])])):m(n)==="light"?(g(),S("g",Gme,[...a[3]||(a[3]=[w("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Kme,[...a[4]||(a[4]=[w("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",Jme,[...a[5]||(a[5]=[w("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"},null,-1)])])):B("",!0)],16))}}),g0=e0e,t0e={key:0},n0e={key:1},r0e={key:2},a0e={key:3},i0e={key:4},o0e={key:5},s0e=Q({name:"ScalarIconMinus",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",t0e,[...a[0]||(a[0]=[w("path",{d:"M228,128a12,12,0,0,1-12,12H4
150a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",n0e,[...a[1]||(a[1]=[w("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),w("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",r0e,[...a[2]||(a[2]=[w("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Z"},null,-1)])])):m(n)==="light"?(g(),S("g",a0e,[...a[3]||(a[3]=[w("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",i0e,[...a[4]||(a[4]=[w("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",o0e,[...a[5]||(a[5]=[w("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128Z"},null,-1)])])):B("",!0)],16))}}),l0e=s0e,c0e={key:0},u0e={key:1},d0e={key:2},f0e={key:3},p0e={key:4},h0e={key:5},m0e=Q({name:"ScalarIconPencilSimple",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",c0e,[...a[0]||(a[0]=[w("path",{d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",u0e,[...a[1]||(a[1]=[w("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"},null,-1),w("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",d0e,[...a[2]||(a[2]=[w("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z"},null,-1)])])):m(n)==="light"?(g(),S("g",f0e,[...a[3]||(a[3]=[w("path",{d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",p0e,[...a[4]||(a[4]=[w("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",h0e,[...a[5]||(a[5]=[w("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z"},null,-1)])])):B("",!0)],16))}}),g0e=m0e,b0e={key:0},y0e={key:1},v0e={key:2},O0e={key:3},S0e={key:4},w0e={key:5},x0e=Q({name:"ScalarIconPlay",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",b0e,[...a[0]||(a[0]=[w("path",{d:"M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",y0e,[...a[1]||(a[1]=[w("path",{d:"M228.23,134.69,84.15,222.81A8,8,0,0,1,72,216.12V39.88a8,8,0,0,1,12.15-6.69l144.08,88.12A7.82,7.82,0,0,1,228.23,134.69Z",opacity:"0.2"},null,-1),w("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27
15ZM80,215.94V40l143.83,88Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",v0e,[...a[2]||(a[2]=[w("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"},null,-1)])])):m(n)==="light"?(g(),S("g",O0e,[...a[3]||(a[3]=[w("path",{d:"M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",S0e,[...a[4]||(a[4]=[w("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",w0e,[...a[5]||(a[5]=[w("path",{d:"M230.32,117.9,86.24,29.79a11.91,11.91,0,0,0-12.17-.23A11.71,11.71,0,0,0,68,39.89V216.11a11.71,11.71,0,0,0,6.07,10.33,11.91,11.91,0,0,0,12.17-.23L230.32,138.1a11.82,11.82,0,0,0,0-20.2Zm-4.18,13.37L82.06,219.39a4,4,0,0,1-4.07.07,3.77,3.77,0,0,1-2-3.35V39.89a3.77,3.77,0,0,1,2-3.35,4,4,0,0,1,4.07.07l144.08,88.12a3.8,3.8,0,0,1,0,6.54Z"},null,-1)])])):B("",!0)],16))}}),QN=x0e,k0e={key:0},A0e={key:1},T0e={key:2},E0e={key:3},_0e={key:4},C0e={key:5},$0e=Q({name:"ScalarIconPlugsConnected",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",k0e,[...a[0]||(a[0]=[w("path",{d:"M240.49,15.51a12,12,0,0,0-17,0L173.94,65.09l-2.54-2.55a36.05,36.05,0,0,0-50.91,0L100,83l-3.51-3.52a12,12,0,0,0-17,17L83,100,62.54,120.49a36,36,0,0,0,0,50.91l2.55,2.54L15.51,223.51a12,12,0,0,0,17,17l49.57-49.58,2.54,2.55a36.06,36.06,0,0,0,50.91,0L156,173l3.51,3.52a12,12,0,0,0,17-17L173,156l20.49-20.49a36,36,0,0,0,0-50.91l-2.55-2.54,49.58-49.57A12,12,0,0,0,240.49,15.51Zm-121.95,161a12,12,0,0,1-17,0L79.51,154.43a12,12,0,0,1,0-17L100,117l39,39Zm58-57.95h0L156,139l-39-39,20.49-20.49a12,12,0,0,1,17,0l22.06,22.06a12,12,0,0,1,0,17ZM85.27,33.37a12,12,0,0,1,21.46-10.74l8,16A12,12,0,1,1,93.27,49.37Zm-68,57.26a12,12,0,0,1,16.1-5.36l16,8a12,12,0,1,1-10.74,21.46l-16-8A12,12,0,0,1,17.27,90.63Zm221.46,74.74a12,12,0,0,1-16.1,5.36l-16-8a12,12,0,0,1,10.74-21.46l16,8A12,12,0,0,1,238.73,165.37Zm-68,57.26a12,12,0,1,1-21.46,10.74l-8-16a12,12,0,0,1,21.46-10.74Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",A0e,[...a[1]||(a[1]=[w("path",{d:"M185,127,127,185a24,24,0,0,1-33.94,0L71,162.91A24,24,0,0,1,71,129L129,71a24,24,0,0,1,33.94,0L185,93.09A24,24,0,0,1,185,127Z",opacity:"0.2"},null,-1),w("path",{d:"M237.66,18.34a8,8,0,0,0-11.32,0l-52.4,52.41-5.37-5.38a32.05,32.05,0,0,0-45.26,0L100,88.69l-6.34-6.35A8,8,0,0,0,82.34,93.66L88.69,100,65.37,123.31a32,32,0,0,0,0,45.26l5.38,5.37-52.41,52.4a8,8,0,0,0,11.32,11.32l52.4-52.41,5.37,5.38a32.06,32.06,0,0,0,45.26,0L156,167.31l6.34,6.35a8,8,0,0,0,11.32-11.32L167.31,156l23.32-23.31a32,32,0,0,0,0-45.26l-5.38-5.37,52.41-52.4A8,8,0,0,0,237.66,18.34Zm-116.29,161a16,16,0,0,1-22.62,0L76.69,157.25a16,16,0,0,1,0-22.62L100,111.31,144.69,156Zm57.94-57.94h0L156,144.69,111.31,100l23.32-23.31a16,16,0,0,1,22.62,0l22.06,22a16,16,0,0,1,0,22.63ZM88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM24.57,93A8,8,0,0,1,35,88.57l20,8A8,8,0,0,1,49,111.43l-20-8A8,8,0,0,1,24.57,93ZM231.43,163a8,8,0,0,1-10.4,4.46l-20-8A8,8,0,1,1,207,144.57l20,8A8,8,0,0,1,231.43,163Zm-64,58.06A8,8,0,0,1,152.57,227l-8-20A8,8,0,0,1,159.43,201Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",T0e,[...a[2]||(a[2]=[w("path",{d:"M88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM29,103.43l20,8A8,8,0,1,0,55,96.57l-20-8A8,8,0,0,0,29,103.43ZM227,152.57l-20-8A8,8,0,1,0,201,159.43l20,8A8,8,0,0,0,227,152.57ZM159.43,201A8,8,0,0,0,144.57,207l8,20A8,8,0,1,0,167.43,221ZM237.91,18.52a8,8,0,0,0-11.5-.18L174,70.75l-5.38-5.38a32,32,0,0,0-45.28,0L106.14,82.54a4,4,0,0,0,0,5.66l61.7,61.66a4,4,0,0,0,5.66,0l16.74-16.74a32.76,32.76,0,0,0,9.81-22.52,31.82,31.82,0,0,0-9.37-23.17l-5.38-5.37,52.2-52.17A8.22,8.22,0,0,0,237.91,18.52ZM85.64,90.34a8,8,0,0,0-11.49.18,8.22,8.22,0,0,0,.41,11.37L80.67,108,65.34,123.31A31.82,31.82,0,0,0,56,
15146.47,32.75,32.75,0,0,0,65.77,169l5,4.94L18.49,226.13a8.21,8.21,0,0,0-.61,11.1,8,8,0,0,0,11.72.43L82,185.25l5.37,5.38a32.1,32.1,0,0,0,45.29,0L148,175.31l6.34,6.35a8,8,0,0,0,11.32-11.32Z"},null,-1)])])):m(n)==="light"?(g(),S("g",E0e,[...a[3]||(a[3]=[w("path",{d:"M236.24,19.76a6,6,0,0,0-8.48,0L173.94,73.57l-6.79-6.78a30,30,0,0,0-42.42,0L100,91.51l-7.76-7.75a6,6,0,0,0-8.48,8.48L91.51,100,66.79,124.73a30,30,0,0,0,0,42.42l6.78,6.79L19.76,227.76a6,6,0,1,0,8.48,8.48l53.82-53.81,6.79,6.78a30,30,0,0,0,42.42,0L156,164.49l7.76,7.75a6,6,0,0,0,8.48-8.48L164.49,156l24.72-24.73a30,30,0,0,0,0-42.42l-6.78-6.79,53.81-53.82A6,6,0,0,0,236.24,19.76Zm-113.45,161a18,18,0,0,1-25.46,0L75.27,158.67a18,18,0,0,1,0-25.46L100,108.49,147.51,156Zm57.94-57.94L156,147.51,108.49,100l24.72-24.73a18,18,0,0,1,25.46,0l22.06,22.06a18,18,0,0,1,0,25.46ZM90.43,34.23a6,6,0,0,1,11.14-4.46l8,20a6,6,0,1,1-11.14,4.46Zm-64,59.54a6,6,0,0,1,7.8-3.34l20,8a6,6,0,1,1-4.46,11.14l-20-8A6,6,0,0,1,26.43,93.77Zm203.14,68.46a6,6,0,0,1-7.8,3.34l-20-8a6,6,0,0,1,4.46-11.14l20,8A6,6,0,0,1,229.57,162.23Zm-64,59.54a6,6,0,1,1-11.14,4.46l-8-20a6,6,0,0,1,11.14-4.46Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",_0e,[...a[4]||(a[4]=[w("path",{d:"M237.66,18.34a8,8,0,0,0-11.32,0l-52.4,52.41-5.37-5.38a32.05,32.05,0,0,0-45.26,0L100,88.69l-6.34-6.35A8,8,0,0,0,82.34,93.66L88.69,100,65.37,123.31a32,32,0,0,0,0,45.26l5.38,5.37-52.41,52.4a8,8,0,0,0,11.32,11.32l52.4-52.41,5.37,5.38a32,32,0,0,0,45.26,0L156,167.31l6.34,6.35a8,8,0,0,0,11.32-11.32L167.31,156l23.32-23.31a32,32,0,0,0,0-45.26l-5.38-5.37,52.41-52.4A8,8,0,0,0,237.66,18.34Zm-116.29,161a16,16,0,0,1-22.62,0L76.69,157.25a16,16,0,0,1,0-22.62L100,111.31,144.69,156Zm57.94-57.94L156,144.69,111.31,100l23.32-23.31a16,16,0,0,1,22.62,0l22.06,22A16,16,0,0,1,179.31,121.37ZM88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM24.57,93A8,8,0,0,1,35,88.57l20,8A8,8,0,0,1,49,111.43l-20-8A8,8,0,0,1,24.57,93ZM231.43,163a8,8,0,0,1-10.4,4.46l-20-8A8,8,0,1,1,207,144.57l20,8A8,8,0,0,1,231.43,163Zm-64,58.06A8,8,0,0,1,152.57,227l-8-20A8,8,0,0,1,159.43,201Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",C0e,[...a[5]||(a[5]=[w("path",{d:"M234.83,21.17a4,4,0,0,0-5.66,0L173.94,76.4l-8.2-8.2a28,28,0,0,0-39.6,0L100,94.34l-9.17-9.17a4,4,0,0,0-5.66,5.66L94.34,100,68.2,126.14a28,28,0,0,0,0,39.6l8.2,8.2L21.17,229.17a4,4,0,0,0,5.66,5.66L82.06,179.6l8.2,8.2a28,28,0,0,0,39.6,0L156,161.66l9.17,9.17a4,4,0,0,0,5.66-5.66L161.66,156l26.14-26.14a28,28,0,0,0,0-39.6l-8.2-8.2,55.23-55.23A4,4,0,0,0,234.83,21.17Zm-110.63,161a20,20,0,0,1-28.28,0L73.86,160.08a20,20,0,0,1,0-28.28L100,105.66,150.34,156Zm57.94-57.94L156,150.34,105.66,100,131.8,73.86a20,20,0,0,1,28.28,0l22.06,22.06A20,20,0,0,1,182.14,124.2ZM92.29,33.49a4,4,0,1,1,7.42-3l8,20a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,104,56a4,4,0,0,1-3.71-2.51Zm-64,61a4,4,0,0,1,5.2-2.22l20,8A4,4,0,0,1,52,108a3.91,3.91,0,0,1-1.49-.29l-20-8A4,4,0,0,1,28.29,94.51Zm199.42,67A4,4,0,0,1,224,164a3.91,3.91,0,0,1-1.49-.29l-20-8a4,4,0,1,1,3-7.42l20,8A4,4,0,0,1,227.71,161.49Zm-64,61a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,160,228a4,4,0,0,1-3.71-2.51l-8-20a4,4,0,0,1,7.42-3Z"},null,-1)])])):B("",!0)],16))}}),P0e=$0e,I0e={key:0},N0e={key:1},R0e={key:2},M0e={key:3},L0e={key:4},D0e={key:5},B0e=Q({name:"ScalarIconPlus",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",I0e,[...a[0]||(a[0]=[w("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",N0e,[...a[1]||(a[1]=[w("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),w("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",R0e,[...a[2]||(a[2]=[w("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"},null,-1)])])):m(n)==="light"?(g(),S("g",M0e,[...a[3]||(a[3]=[w("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",L0e,[...a[4]||(a[4]=[w("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",D0e,[...a[5]||(a[5]=[w("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"},null,-1)])])):B("",!0)],16))}}),xx=B0e,U0e={key:0},j0e={key:1},Q0e={key:2},F0e={key:3},z0e={key:4},V0e={key:5},H0e=Q({name:"ScalarIconScroll",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",U0e,[...a[0]||(a[0]=[w("path",{d:"M92,92a12,12,0,0,1,12-12h60a12,12,0,0,1,0,24H104A12,12,0,0,1,92,92Zm12,52h60a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24Zm132,48a36,36,0,0,1-36,36H88a36,36,0,0,1-36-36V64a12,12,0,0,0-24,0c0,3.73,3.35,6.51,3.38,6.54l-.18-.14h0A12,12,0,1,1,16.81,89.59h0C15.49,88.62,4,79.55,4,64A36,36,0,0,1,40,28H176a36,36,0,0,1,36,36V164h4a12,12,0,0,1,7.2,2.4C224.51,167.38,236,176.45,236,192ZM92.62,172.2A12,12,0,0,1,104,164h84V64a12,12,0,0,0-12-12H73.94A35.88,35.88,0,0,1,76,64V192a12,12,0,0,0,24,0c0-3.58-3.17-6.38-3.2-6.4A12,12,0,0,1,92.62,172.2ZM212,192a7.69,7.69,0,0,0-1.24-4h-87a30.32,30.32,0,0,1,.26,4,35.84,35.84,0,0,1-2.06,12H200A12,12,0,0,0,212,192Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",j0e,[...a[1]||(a[1]=[w("path",{d:"M200,176H104s8,6,8,16a24,24,0,0,1-48,0V64A24,24,0,0,0,40,40H176a24,24,0,0,1,24,24Z",opacity:"0.2"},null,-1),w("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Q0e,[...a[2]||(a[2]=[w("path",{d:"M220.8,169.6A8,8,0,0,0,216,168h-8V64a32,32,0,0,0-32-32H40A32,32,0,0,0,8,64C8,77.61,18.05,85.54,19.2,86.4h0A7.89,7.89,0,0,0,24,88a8,8,0,0,0,4.87-14.33h0C28.83,73.62,24,69.74,24,64a16,16,0,0,1,32,0V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32C232,178.39,222,170.46,220.8,169.6ZM104,96h64a8,8,0,0,1,0,16H104a8,8,0,0,1,0-16Zm-8,40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Zm104,72H107.71A31.82,31.82,0,0,0,112,192a26.92,26.92,0,0,0-1.21-8h102a12.58,12.58,0,0,1,3.23,8A16,16,0,0,1,200,208Z"},null,-1)])])):m(n)==="light"?(g(),S("g",F0e,[...a[3]||(a[3]=[w("path",{d:"M98,136a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Zm6-26h64a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12Zm126,82a30,30,0,0,1-30,30H88a30,30,0,0,1-30-30V64a18,18,0,0,0-36,0c0,6.76,5.58,11.19,5.64,11.23A6,6,0,1,1,20.4,84.8C20,84.48,10,76.85,10,64A30,30,0,0,1,40,34H176a30,30,0,0,1,30,30V170h10a6,6,0,0,1,3.6,1.2C220,171.52,230,179.15,230,192Zm-124,0c0-6.76-5.59-11.19-5.64-11.23A6,6,0,0,1,104,170h90V64a18,18,0,0,0-18-18H64a29.82,29.82,0,0,1,6,18V192a18,18,0,0,0,36,0Zm112,0a14.94,14.94,0,0,0-4.34-10H115.88A24.83,24.83,0,0,1,118,192a29.87,29.87,0,0,1-6,18h88A18,18,0,0,0,218,192Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",z0e,[...a[4]||(a[4]=[w("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",V0e,[...a[5]||(a[5]=[w("path",{d:"M100,104a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H104A4,4,0,0,1,100,104Zm4,36h64a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8Zm124,52a28,28,0,0,1-28,28H88a28,28,0,0,1-28-28V64a20,20,0,0,0-40,0c0,7.78,6.34,12.75,6.4,12.8a4,4,0,1,1-4.8,6.4C21.21,82.91,12,75.86,12,64A28,28,0,0,1,40,36H176a28,28,0,0,1,28,28V172h12a4,4,0,0,1,2.4.8C218.79,173.09,228,180.14,228,192Zm-120,0c0-7.78-6.34-12.75-6.4-12.8A4,4,0,0,1,104,172h92V64a20,20,0,0,0-20-20H59.57A27.9,27.9,0,0,1,68,64V192a20,20,0,0,0,40,0Zm112,0c0-6-3.74-10.3-5.5-12H112.61A23.31,23.31,0,0,1,116,192a27.94,27.94,0,0,1-8.42,20H200A20,20,0,0,0,220,192Z"},null,-1)])])):B("",!0)],16))}}),q0e=H0e,Z0e={key:0},X0e={key:1},W0e={key:2},Y0e={key:3},G0e={key:4},K0e={key:5},J0e=Q({name:"ScalarIconSparkle",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",Z0e,[...a[0]||(a[0]=[w("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"},null,-1)])])):m(n)==="duotone"?(g(),S("g",X0e,[...a[1]||(a[1]=[w("path",{d:"M194.82,151.43l-55.09,20.3-20.3,55.09a7.92,7.92,0,0,1-14.86,0l-2
150.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"},null,-1),w("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"},null,-1)])])):m(n)==="fill"?(g(),S("g",W0e,[...a[2]||(a[2]=[w("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"},null,-1)])])):m(n)==="light"?(g(),S("g",Y0e,[...a[3]||(a[3]=[w("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"},null,-1)])])):m(n)==="regular"?(g(),S("g",G0e,[...a[4]||(a[4]=[w("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"},null,-1)])])):m(n)==="thin"?(g(),S("g",K0e,[...a[5]||(a[5]=[w("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"},null,-1)])])):B("",!0)],16))}}),kx=J0e,e1e={key:0},t1e={key:1},n1e={key:2},r1e={key:3},a1e={key:4},i1e={key:5},o1e=Q({name:"ScalarIconTag",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",e1e,[...a[0]||(a[0]=[w("path",{d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM104,88A16,16,0,1,1,88,72,16,16,0,0,1,104,88Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",t1e,[...a[1]||(a[1]=[w("path",{d:"M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z",opacity:"0.2"},null,-1),w("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",n1e,[...a[2]||(a[2]=[w("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"},null,-1)])])):m(n)==="light"?(g(),S("g",r1e,[...a[3]||(a[3]=[w("path",{d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",a1e,[...a[4]||(a[4]=[w("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",i1e,[...a[5]||(a[5]=[w("path",{d:"M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z"},null,-1)])])):B("",!0)],16))}}
15),s1e=o1e,l1e={key:0},c1e={key:1},u1e={key:2},d1e={key:3},f1e={key:4},p1e={key:5},h1e=Q({name:"ScalarIconTerminalWindow",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",l1e,[...a[0]||(a[0]=[w("path",{d:"M72.5,150.63,100.79,128,72.5,105.37a12,12,0,1,1,15-18.74l40,32a12,12,0,0,1,0,18.74l-40,32a12,12,0,0,1-15-18.74ZM144,172h32a12,12,0,0,0,0-24H144a12,12,0,0,0,0,24ZM236,56V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V196H212Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",c1e,[...a[1]||(a[1]=[w("path",{d:"M224,56V200a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},null,-1),w("path",{d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",u1e,[...a[2]||(a[2]=[w("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,40Zm-91,94.25-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32a8,8,0,0,1,0,12.5ZM176,168H136a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Z"},null,-1)])])):m(n)==="light"?(g(),S("g",d1e,[...a[3]||(a[3]=[w("path",{d:"M126,128a6,6,0,0,1-2.25,4.69l-40,32a6,6,0,0,1-7.5-9.38L110.4,128,76.25,100.69a6,6,0,1,1,7.5-9.38l40,32A6,6,0,0,1,126,128Zm50,26H136a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Zm54-98V200a14,14,0,0,1-14,14H40a14,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,2V200a2,2,0,0,0,2,2H216a2,2,0,0,0,2-2Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",f1e,[...a[4]||(a[4]=[w("path",{d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",p1e,[...a[5]||(a[5]=[w("path",{d:"M122.5,124.88a4,4,0,0,1,0,6.24l-40,32a4,4,0,0,1-5-6.24L113.6,128,77.5,99.12a4,4,0,0,1,5-6.24ZM176,156H136a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8ZM228,56V200a12,12,0,0,1-12,12H40a12,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,4V200a4,4,0,0,0,4,4H216a4,4,0,0,0,4-4Z"},null,-1)])])):B("",!0)],16))}}),m1e=h1e,g1e={key:0},b1e={key:1},y1e={key:2},v1e={key:3},O1e={key:4},S1e={key:5},w1e=Q({name:"ScalarIconTextAlignLeft",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",g1e,[...a[0]||(a[0]=[w("path",{d:"M28,64A12,12,0,0,1,40,52H216a12,12,0,0,1,0,24H40A12,12,0,0,1,28,64Zm12,52H168a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24Zm176,16H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Zm-48,40H40a12,12,0,0,0,0,24H168a12,12,0,0,0,0-24Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",b1e,[...a[1]||(a[1]=[w("path",{d:"M216,64V168a16,16,0,0,1-16,16H40V64Z",opacity:"0.2"},null,-1),w("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",y1e,[...a[2]||(a[2]=[w("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM160,184H64a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm32-32H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16ZM56,112a8,8,0,0,1,8-8h96a8,8,0,0,1,0,16H64A8,8,0,0,1,56,112ZM192,88H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"},null,-1)])])):m(n)==="light"?(g(),S("g",v1e,[...a[3]||(a[3]=[w("path",{d:"M34,64a6,6,0,0,1,6-6H216a6,6,0,0,1,0,12H40A6,6,0,0,1,34,64Zm6,46H168a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12Zm176,28H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Zm-48,40H40a6,6,0,0,0,0,12H168a6,6,0,0,0,0-12Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",O1e,[...a[4]||(a[4]=[w("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",S1e,[...a[5]||(a[5]=[w("path",{d:"M36,64a4,4,0,0,1,4-4H216a4,4,0,0,1,0,8H40A4,4,0,0,1,36,64Zm4,44H168a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8Zm176,32H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Zm-48,40H40a4,4,0,0,0,0,8H168a4,4,0,0,0,0-8Z"},null,-1)])])):B("",!0)],16))}}),x1e=w1e,k1e={key:0},A1e={key:1},T1e={key:2},E1e={key:3},_1e={key:4},C1e={key:5},$1e=Q({name:"ScalarIconTrash",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",k1e,[...a[0]||(a[0]=[w("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",A1e,[...a[1]||(a[1]=[w("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"},null,-1),w("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",T1e,[...a[2]||(a[2]=[w("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"},null,-1)])])):m(n)==="light"?(g(),S("g",E1e,[...a[3]||(a[3]=[w("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",_1e,[...a[4]||(a[4]=[w("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",C1e,[...a[5]||(a[5]=[w("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"},null,-1)])])):B("",!0)],16))}}),FN=$1e,P1e={key:0},I1e={key:1},N1e={key:2},R1e={key:3},M1e={key:4},L1e={key:5},D1e=Q({name:"ScalarIconWarningOctagon",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",P1e,[...a[0]||(a[0]=[w("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.8
156,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"},null,-1)])])):m(n)==="duotone"?(g(),S("g",I1e,[...a[1]||(a[1]=[w("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"},null,-1),w("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"},null,-1)])])):m(n)==="fill"?(g(),S("g",N1e,[...a[2]||(a[2]=[w("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"},null,-1)])])):m(n)==="light"?(g(),S("g",R1e,[...a[3]||(a[3]=[w("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"},null,-1)])])):m(n)==="regular"?(g(),S("g",M1e,[...a[4]||(a[4]=[w("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"},null,-1)])])):m(n)==="thin"?(g(),S("g",L1e,[...a[5]||(a[5]=[w("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"},null,-1)])])):B("",!0)],16))}}),B1e=D1e,U1e={key:0},j1e={key:1},Q1e={key:2},F1e={key:3},z1e={key:4},V1e={key:5},H1e=Q({name:"ScalarIconWebhooksLogo",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",U1e,[...a[0]||(a[0]=[w("path",{d:"M192,180H118.71a56,56,0,1,1-104.6-37.46,12,12,0,1,1,21.37,10.92A31.64,31.64,0,0,0,32,168a32,32,0,0,0,64,0,12,12,0,0,1,12-12h84a12,12,0,0,1,0,24Zm0-68a55.9,55.9,0,0,0-18.45,3.12L138.22,57.71a12,12,0,0,0-20.44,12.58l40.94,66.52a12,12,0,0,0,16.52,3.93,32,32,0,1,1,19.68,59.13A12,12,0,0,0,196,223.82a10.05,10.05,0,0,0,1.09,0A56,56,0,0,0,192,112ZM57.71,178.22a12,12,0,0,0,16.51-3.93l40.94-66.52a12,12,0,0,0-3.92-16.51,32,32,0,1,1,45.28-41.8,12,12,0,1,0,21.37-10.92A56,56,0,1,0,89.1,104.32L53.78,161.71A12,12,0,0,0,57.71,178.22Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",j1e,[...a[1]||(a[1]=[w("path",{d:"M128,104a40,40,0,1,1,40-40A40,40,0,0,1,128,104Zm64,24a40,40,0,1,0,40,40A40,40,0,0,0,192,128ZM64,128a40,40,0,1,0,40,40A40,40,0,0,0,64,128Z",opacity:"0.2"},null,-1),w("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",Q1e,[...a[2]||(a[2]=[w("path",{d:"M50.15,160,89.07,92.57l-2.24-3.88a48,48,0,1,1,85.05-44.17,8.17,8.17,0,0,1-3.19,10.4,8,8,0,0,1-11.35-3.72,32,32,0,1,0-56.77,29.3.57.57,0,0,1,.08.13l13.83,23.94a8,8,0,0,1,0,8L77.86,176a16,16,0,0,1-27.71-16Zm141-40H178.81L141.86,56a16,16,0,0,0-27.71,16l34.64,60a8,8,0,0,0,6.92,4h35.63c17.89,0,32.95,14.64,32.66,32.53A32,32,0,0,1,192.31,200a8.23,8.23,0,0,0-8.28,7.33,8,8,0,0,0,8,8.67,48.05,48.05,0,0,0,48-48.93C239.49,140.79,217.48,120,191.19,120ZM208,167.23c-.4-8.61-7.82-15.23-16.43-15.23H114.81a8,8,0,0,0-6.93,4L91.72,184h0a32,32,0,1,1-53.47-35,8.2,8.2,0,0,0-.92-11,8,8,0,0,0-11.72,1.17A47.63,47.63,0,0,0,16,167.54,48,48,0,0,0,105.55,192v0l4.62-8H192A16,16,0,0,0,208,167.23Z"},null,-1)])])):m(n)==="light"?(g(),S("g",F1e,[...a[3]||(a[3]=[w("path",{d:"M179.37,174H109.6a46,46,0,1,1-82.4-33.61,6,6,0,0,1,9.6,7.21A33.68,33.68,0,0,0,30,168a34,34,0,0,0,68,0,6,6,0,0,1,6-6h75.37a14,14,0,1,1,0,12ZM64,182a14,14,0,0,0,11.73-21.62l36.42-59.18a6,6,0,0,0-2-8.25,34,34,0,1,1,49-42.57,6,6,0,1,0,11-4.79A46,46,0,1,0,99,99.7L65.52,154.08c-.5-.05-1-.08-1.52-.08a14,14,0,0,0,0,28Zm128-60a46,46,0,0,0-18.8,4L139.73,71.61A14,14,0,1,0,128,78a12.79,12.79,0,0,0,1.52-.09l36.4,59.17a6.05,6.05,0,0,0,3.73,2.69,6,6,0,0,0,4.53-.73A34,34,0,1,1,192,202a6,6,0,0,0,0,12,46,46,0,0,0,0-92Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",z1e,[...a[4]||(a[4]=[w("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",V1e,[...a[5]||(a[5]=[w("path",{d:"M180.7,172H107.81a44,44,0,1,1-79-30.41,4,4,0,0,1,6.4,4.81A35.67,35.67,0,0,0,28,168a36,36,0,0,0,72,0,4,4,0,0,1,4-4h76.7a12,12,0,1,1,0,8ZM64,180a12,12,0,0,0,9.33-19.54l37.11-60.3a4,4,0,0,0-1.31-5.51A36,36,0,1,1,161,49.58a4,4,0,1,0,7.33-3.19,44,44,0,1,0-66.71,52.83l-35.1,57.05A11.58,11.58,0,0,0,64,156a12,12,0,0,0,0,24Zm128-56a44,44,0,0,0-19.56,4.58l-35.11-57A12,12,0,1,0,128,76a12.24,12.24,0,0,0,2.52-.27L167.63,136a4,4,0,0,0,5.5,1.31A36,36,0,1,1,192,204a4,4,0,0,0,0,8,44,44,0,0,0,0-88Z"},null,-1)])])):B("",!0)],16))}}),b0=H1e,q1e={key:0},Z1e={key:1},X1e={key:2},W1e={key:3},Y1e={key:4},G1e={key:5},K1e=Q({name:"ScalarIconX",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=Zt(e);return(r,a)=>(g(),S("svg",Ae({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},m(t)),[H(r.$slots,"default"),m(n)==="bold"?(g(),S("g",q1e,[...a[0]||(a[0]=[w("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"},null,-1)])])):m(n)==="duotone"?(g(),S("g",Z1e,[...a[1]||(a[1]=[w("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),w("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)])])):m(n)==="fill"?(g(),S("g",X1e,[...a[2]||(a[2]=[w("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)])])):m(n)==="light"?(g(),S("g",W1e,[...a[3]||(a[3]=[w("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"},null,-1)])])):m(n)==="regular"?(g(),S("g",Y1e,[...a[4]||(a[4]=[w("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)])])):m(n)==="thin"?(g(),S("g",G1e,[...a[5]||(a[5]=[w("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"},null,-1)])])):B("",!0)],16))}}),Cp=K1e,J1e={class:"sr-only"},ege=Q({__name:"SidebarHttpBadge",props:{method:{},active:{type:Boolean},label:{},webhook:{type:Boolean}},setup(e){return(t,n)=>(g(),L(ON,{class:Se(["sidebar-heading-type",`sidebar-heading-type--${e.method.toLowerCase()}`,{"sidebar-heading-type-active":e.active}]),method:e.method,property:"--method-color",short:""},{default:P(()=>[w("span",J1e,V(e.label??"HTTP Method")+":Â ",1),H(t.$slots,"default",{},()=>[e.webhook?(g(),L(m(b0),{key:0,style:kr({color:m(m0)(e.method).colorVar}),weight:"bold"},null,8,["style"])):B("",!0)],!0)]),_:3},8,["class","method"]))}}),IA=DN(ege,[["__scopeId","data-v-bdef8365"]]),tge={},nge={class:"absolute top-[1lh] right-0.75 flex -translate-y-1/2 opacity-0 peer-hover/button:opacity-100 peer-focus-visible/button:opacity-100 focus-within:opacity-100 hover:opacity-100 has-[&[aria-expanded=true]]:opacity-100"};function rge(e,t){return g(),S("div",nge,[H(e.$slots,"default")])}var NA=DN(tge,[["render",rge]]),zN=e=>"children"in e&&Array.isArray(e.children)&&e.children.length>0,age=(e,t,n,r)=>zN(t)?r&&t.type==="operation"&&t.children?.length===1&&t.children[0]?.type==="example"&&t.children[0]?.n
15ame==="default"?!1:e==="client"?!0:e==="reference"?t.type!=="operation"&&t.type!=="webhook":!1:e==="client"&&n?t.type==="document"||t.type==="tag":!1,ige={path:/[\/\.-]/,property:/[A-Z\_\.-]/},oge={key:0},sge=Q({inheritAttrs:!1,__name:"ScalarWrappingText",props:{text:{default:""},preset:{default:"path"},regex:{}},setup(e){const n=I(()=>{const r=new RegExp(e.regex??ige[e.preset],"g");return e.text.replace(r,"â $&").split("â ").filter(Boolean)});return(r,a)=>(g(!0),S(le,null,it(n.value,(i,o)=>(g(),S(le,{key:o},[o!==0?(g(),S("wbr",oge)):B("",!0),J(V(i),1)],64))),128))}}),Ac=sge,lge=Q({__name:"SidebarItemLabel",props:{item:{},operationTitleSource:{}},setup(e){return(t,n)=>e.item.type==="model"||e.item.type==="example"?(g(),L(m(Ac),{key:0,preset:"property",text:e.item.title},null,8,["text"])):(g(),L(m(Ac),{key:1,text:e.operationTitleSource==="path"&&"path"in e.item?e.item.path:e.item.title},null,8,["text"]))}}),m1=lge,cge=Q({inheritAttrs:!1,__name:"ScalarSidebar",setup(e){const{cx:t}=At();return(n,r)=>(g(),S("aside",Rt(Ft(m(t)("flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72"))),[H(n.$slots,"default")],16))}}),uge=cge,ys=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},dge=Q({inheritAttrs:!1,__name:"ScalarSidebarIndent",props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){const t=I(()=>Array.from({length:e.indent},(r,a)=>a)),{cx:n}=At();return(r,a)=>(g(),S("div",Rt(Ft(m(n)("scalar-sidebar-indent flex justify-center",{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[(g(!0),S(le,null,it(t.value,(i,o)=>(g(),S("div",{key:i,class:"relative w-[var(--scalar-sidebar-indent)]"},[a[0]||(a[0]=w("div",{class:"scalar-sidebar-indent-border absolute left-2 inset-y-0 w-border bg-sidebar-indent-border"},null,-1)),o===t.value.length-1?(g(),S("div",{key:0,class:Se(["absolute left-2 inset-y-0 w-border",e.disabled?"":e.selected?"bg-sidebar-indent-border-active":"group-hover/button:bg-sidebar-indent-border-hover"])},null,2)):B("",!0)]))),128))],16))}}),wy=ys(dge,[["__scopeId","data-v-3e080c68"]]),VN=$r({variants:{size:{xs:"size-3",sm:"size-3.5",md:"size-4",lg:"size-5",xl:"size-6","2xl":"size-8","3xl":"size-10",full:"size-full"}},defaultVariants:{size:"full"}}),RA=Object.defineProperty,me=(e,t)=>
15{let n={};for(var r in e)RA(n,r,{get:e[r],enumerable:!0});return RA(n,Symbol.toStringTag,{value:"Module"}),n},fge=me({default:()=>hge,render:()=>HN}),pge={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function HN(e,t){return g(),S("svg",pge,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5 11.988h14M12.006 5v14"},null,-1)])])}var hge={render:HN},mge=me({default:()=>bge,render:()=>qN}),gge={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function qN(e,t){return g(),S("svg",gge,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.143 12h7.714M12 8.143v7.714M5.571 3H18.43A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3"},null,-1)])])}var bge={render:qN},yge=me({default:()=>Oge,render:()=>ZN}),vge={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ZN(e,t){return g(),S("svg",vge,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"},null,-1)])])}var Oge={render:ZN},Sge=me({default:()=>xge,render:()=>XN}),wge={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function XN(e,t){return g(),S("svg",wge,[...t[0]||(t[0]=[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 12H2m9.3-9.3L2 12l9.3 9.3"},null,-1)])])}var xge={render:XN},kge=me({default:()=>Tge,render:()=>WN}),Age={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function WN(e,t){return g(),S("svg",Age,[...t[0]||(t[0]=[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 12h20m-9.3 9.3L22 12l-9.3-9.3"},null,-1)])])}var Tge={render:WN},Ege=me({default:()=>Cge,render:()=>YN}),_ge={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function YN(e,t){return g(),S("svg",_ge,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1m8 0h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"},null,-1)])])}var Cge={render:YN},$ge=me({default:()=>Ige,render:()=>GN}),Pge={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function GN(e,t){return g(),S("svg",Pge,[...t[0]||(t[0]=[w("path",{d:"M16.4 6.8v5.6H7.6m0-5.6v10.4"},null,-1),w("circle",{cx:"7.6",cy:"4.4",r:"2.4"},null,-1),w("circle",{cx:"7.6",cy:"19.6",r:"2.4"},null,-1),w("circle",{cx:"16.4",cy:"4.4",r:"2.4"},null,-1)])])}var Ige={render:GN},Nge=me({default:()=>Mge,render:()=>KN}),Rge={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function KN(e,t){return g(),S("svg",Rge,[...t[0]||(t[0]=[w("path",{d:"M12 22.125V4.712S9.545 1.985 1.268 1.875a.5.5 0 0 0-.366.15.52.52 0 0 0-.152.369v16.375a.515.515 0 0 0 .5.519C9.543 19.4 12 22.125 12 22.125"},null,-1),w("path",{d:"M9 11.18a21.3 21.3 0 0 0-5.26-1.055M9 15.375a21.3 21.3 0 0 0-5.26-1.055M15 11.18a21.3 21.3 0 0 1 5.26-1.055M15 15.375a21.3 21.3 0 0 1 5.26-1.055"},null,-1),w("path",{d:"M12 22.125V4.712s2.455-2.727 10.732-2.837a.5.5 0 0 1 .366.15.52.52 0 0 1 .152.369v16.375a.515.515 0 0 1-.5.519C14.457 19.4 12 22.125 12 22.125"},null,-1)])])}var Mge={render:KN},Lge=me({default:()=>Bge,render:()=>JN}),Dge={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function JN(e,t){return g(),S("svg",Dge,[...t[0]||(t[0]=[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21.4 4.6 10.6 19.4l-8-6.4"},null,-1)])])}var Bge={render:JN},Uge=me({default:()=>Qge,render:()=>eR}),jge={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function eR(e,t){return g(),S("svg",jge,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 10-6 6-6-6"},null,-1)])])}var Qge={render:eR},Fge=me({default:()=>Vge,render:()=>tR}),zge={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tR(e,t){return g(),S("svg",zge,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m14 18-6-6 6-6"},null,-1)])])}var Vge={render:tR},Hge=me({default:()=>Zge,render:()=>nR}),qge={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function nR(e,t){return g(),S("svg",qge,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9 18 6-6-6-6"},null,-1)])])}var Zge={render:nR},Xge=me({default:()=>Yge,render:()=>rR}),Wge={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rR(e,t){return g(),S("svg",Wge,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 15-6-6-6 6"},null,-1)])])}var Yge={render:rR},Gge=me({default:()=>Jge,render:()=>aR}),Kge={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function aR(e,t){return g(),S("svg",Kge,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-6 4h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2"},null,-1)])])}var Jge={render:aR},e2e=me({default:()=>n2e,render:()=>iR}),t2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function iR(e,t){return g(),S("svg",t2e,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 6 6 18M6 6l12 12"},null,-1)])])}var n2e={render:iR},r2e=me({default:()=>i2e,render:()=>oR}),a2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function oR(e,t){return g(),S("svg",a2e,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9.273 9.273 5.454 5.454m0-5.454-5.454 5.454M5.57 3h12.86A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3Z"},null,-1)])])}
15var i2e={render:oR},o2e=me({default:()=>l2e,render:()=>sR}),s2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sR(e,t){return g(),S("svg",s2e,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-3.121 8.879 4.242 4.242m0-4.242L12.88 17.12M10 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2"},null,-1)])])}var l2e={render:sR},c2e=me({default:()=>d2e,render:()=>lR}),u2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function lR(e,t){return g(),S("svg",u2e,[...t[0]||(t[0]=[w("path",{d:"M18.375 19.5a4.875 4.875 0 1 0-2.764-8.885A7.5 7.5 0 1 0 8.25 19.5z"},null,-1)])])}var d2e={render:lR},f2e=me({default:()=>h2e,render:()=>cR}),p2e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function cR(e,t){return g(),S("svg",p2e,[...t[0]||(t[0]=[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21.75 9V6a1.5 1.5 0 0 0-1.5-1.5h-12V3a1.5 1.5 0 0 0-1.5-1.5h-4.5A1.5 1.5 0 0 0 .75 3v17.8a1.7 1.7 0 0 0 3.336.438l2.352-11.154A1.5 1.5 0 0 1 7.879 9za1.5 1.5 0 0 1 1.45 1.886l-2.2 10.5a1.5 1.5 0 0 1-1.45 1.114H2.447"},null,-1),w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m12 13.5-2.25 2.25L12 18m4.5-4.5 2.25 2.25L16.5 18"},null,-1)])])}var h2e={render:cR},m2e=me({default:()=>b2e,render:()=>uR}),g2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function uR(e,t){return g(),S("svg",g2e,[...t[0]||(t[0]=[w("path",{d:"M10.546 2.438a1.957 1.957 0 0 0 2.908 0L14.4 1.4a1.959 1.959 0 0 1 3.41 1.413l-.071 1.4a1.96 1.96 0 0 0 2.051 2.054l1.4-.071a1.959 1.959 0 0 1 1.41 3.41l-1.042.94a1.96 1.96 0 0 0 0 2.909l1.042.94a1.959 1.959 0 0 1-1.413 3.41l-1.4-.071a1.96 1.96 0 0 0-2.056 2.056l.071 1.4A1.959 1.959 0 0 1 14.4 22.6l-.941-1.041a1.96 1.96 0 0 0-2.908 0L9.606 22.6A1.959 1.959 0 0 1 6.2 21.192l.072-1.4a1.96 1.96 0 0 0-2.056-2.056l-1.4.071A1.958 1.958 0 0 1 1.4 14.4l1.041-.94a1.96 1.96 0 0 0 0-2.909L1.4 9.606A1.958 1.958 0 0 1 2.809 6.2l1.4.071a1.96 1.96 0 0 0 2.058-2.06L6.2 2.81A1.959 1.959 0 0 1 9.606 1.4z"},null,-1),w("path",{d:"M7.5 12.001a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0"},null,-1)])])}var b2e={render:uR},y2e=me({default:()=>O2e,render:()=>dR}),v2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function dR(e,t){return g(),S("svg",v2e,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.86 16.6c0 .32-.16.64-.47.72l-6.3 2.83a.93.93 0 0 1-.8-.08c-.23-.16-.38-.4-.38-.63V4.56c0-.24.15-.55.39-.63.24-.16.47-.16.79-.08l6.3 2.83c.31.16.47.4.47.71v9.22zM10.7 19.52a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V5.35c0-.24.15-.56.4-.63.23-.16.46-.16.78-.08M7.43 18.73a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.05c0-.23.16-.55.4-.63.23-.15.47-.15.78-.07m-3.43 12.6a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.84c0-.23.16-.55.4-.63.23-.16.47-.16.78-.08"},null,-1)])])}var O2e={render:dR},S2e=me({default:()=>x2e,render:()=>fR}),w2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function fR(e,t){return g(),S("svg",w2e,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.739 8.061c-2.02.404-4.041-1.01-4.445-3.03-.202-1.01 0-2.223.606-3.031C6.445 2 2 6.445 2 11.9s4.445 9.9 9.9 9.9 9.9-4.445 9.9-9.9v-.808c-1.616 1.212-4.04.808-5.253-.808-.606-.606-.808-1.415-.808-2.223"},null,-1),w("path",{fill:"currentColor",d:"M8.667 15.133a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425m4.243 1.212a1.212 1.212 0 1 0 0-2.424 1.212 1.212 0 0 0 0 2.424M9.88 9.88a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425"},null,-1)])])}var x2e={render:fR},k2e=me({default:()=>T2e,render:()=>pR}),A2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function pR(e,t){return g(),S("svg",A2e,[...t[0]||(t[0]=[w("path",{d:"M17.673 16.462C10.59 16.46 5.52 9.612 7.59 2.837.22 6.233-.71 16.333 5.917 21.016c5.864 4.144 14.064 1.34 16.163-5.526-1.38.64-2.884.972-4.407.972M11.996 3.484h4.866m-2.433-2.433v4.867m4.867 2.433h3.244m-1.622-1.622v3.244"},null,-1)])])}var T2e={render:pR},E2e=me({default:()=>C2e,render:()=>hR}),_2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function hR(e,t){return g(),S("svg",_2e,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 6h18m-2 0v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6m3 0V4c0-1 1-2 2
15-2h4c1 0 2 1 2 2v2m-6 5v6m4-6v6"},null,-1)])])}var C2e={render:hR},$2e=me({default:()=>I2e,render:()=>mR}),P2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function mR(e,t){return g(),S("svg",P2e,[...t[0]||(t[0]=[w("path",{d:"M10.145 5.108a.584.584 0 0 1-.657-.37l-.24-.705a.51.51 0 0 0-.496-.35c-1.835.065-3.434.577-4.13.834a1.2 1.2 0 0 0-.6.474c-.75 1.142-3.085 5.242-3.02 11.944.003.4.169.78.485 1.025.716.556 2.259 1.576 4.702 2.314.358.108.75.004.962-.304.316-.462.597-1.04.796-1.494a.56.56 0 0 1 .669-.31c.87.248 1.993.439 3.39.439 1.393 0 2.512-.19 3.379-.437a.56.56 0 0 1 .669.31c.199.454.48 1.03.795 1.492.211.308.604.412.962.304 2.443-.738 3.986-1.758 4.703-2.314.315-.245.48-.626.485-1.025.063-6.652-2.236-10.74-3.003-11.917a1.25 1.25 0 0 0-.654-.5c-.75-.256-2.428-.763-4.094-.833a.505.505 0 0 0-.496.348l-.239.703a.586.586 0 0 1-.66.37 10.5 10.5 0 0 0-1.846-.15c-.827 0-1.461.08-1.862.152"},null,-1),w("path",{d:"M10 12.553c0 1.38-1.008 2.5-2.25 2.5-1.243 0-2.25-1.12-2.25-2.5 0-1.381 1.007-2.5 2.25-2.5 1.242 0 2.25 1.119 2.25 2.5m4 0c0 1.38 1.007 2.5 2.25 2.5 1.242 0 2.25-1.12 2.25-2.5 0-1.381-1.008-2.5-2.25-2.5-1.243 0-2.25 1.119-2.25 2.5"},null,-1)])])}var I2e={render:mR},N2e=me({default:()=>M2e,render:()=>gR}),R2e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function gR(e,t){return g(),S("svg",R2e,[...t[0]||(t[0]=[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5.4 22.2h13c1.1 0 2-.9 2-2V3.6c0-1.1-.9-2-2-2h-9l-6 6v12.6c0 1.1.9 2 2 2"},null,-1),w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.6 7.6h4c1.1 0 2-.9 2-2v-4zm9.4 0h4m-10 5h10M7 17.4h10"},null,-1)])])}var M2e={render:gR},L2e=me({default:()=>B2e,render:()=>bR}),D2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function bR(e,t){return g(),S("svg",D2e,[...t[0]||(t[0]=[w("path",{d:"M12.001 3.75v12m-4.5-4.5 4.5 4.5 4.5-4.5m6.75 4.5v1.5a3 3 0 0 1-3 3h-16.5a3 3 0 0 1-3-3v-1.5"},null,-1)])])}var B2e={render:bR},U2e=me({default:()=>Q2e,render:()=>yR}),j2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function yR(e,t){return g(),S("svg",j2e,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.42 16.58H3.25a.83.83 0 0 1-.83-.83V3.25a.83.83 0 0 1 .83-.83h12.5a.83.83 0 0 1 .83.83v4.17"},null,-1),w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 7.42h12.5s.83 0 .83.83v12.5s0 .83-.83.83H8.25s-.83 0-.83-.83V8.25s0-.83.83-.83"},null,-1)])])}var Q2e={render:yR},F2e=me({default:()=>V2e,render:()=>vR}),z2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function vR(e,t){return g(),S("svg",z2e,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M14 3H5.571A2.57 2.57 0 0 0 3 5.571V18.43A2.57 2.57 0 0 0 5.571 21H18.43A2.57 2.57 0 0 0 21 18.429V10m.96-5.35a1.845 1.845 0 0 0-2.61-2.61l-6.644 6.647a1.3 1.3 0 0 0-.328.543l-.864 2.849a.327.327 0 0 0 .408.407l2.849-.864c.205-.062.391-.174.543-.325l6.645-6.647Z"},null,-1)])])}var V2e={render:vR},H2e=me({default:()=>Z2e,render:()=>OR}),q2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function OR(e,t){return g(),S("svg",q2e,[...t[0]||(t[0]=[w("path",{d:"M6 11c-.5 0-1 .4-1 1s.5 1 1 1 1-.4 1-1-.5-1-1-1m12 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1m-6 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1"},null,-1)])])}var Z2e={render:OR},X2e=me({default:()=>Y2e,render:()=>SR}),W2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function SR(e,t){return g(),S("svg",W2e,[...t[0]||(t[0]=[w("path",{d:"M2.25 4.5h19.5s1.5 0 1.5 1.5v12s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V6s0-1.5 1.5-1.5m13.437 5.475L19.5 13.5M8.313 9.975 4.5 13.5"},null,-1),w("path",{d:"m22.88 5.014-9.513 6.56a2.41 2.41 0 0 1-2.734 0L1.12 5.014"},null,-1)])])}var Y2e={render:SR},G2e=me({default:()=>J2e,render:()=>wR}),K2e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function wR(e,t){return g(),S("svg",K2e,[...t[0]||(t[0]=[w("path",{d:"M12 17.6c-.2 0-.4-.2-.4-.4s.2-.4.4-.4m0 .8c.2 0 .4-.2.4-.4s-.2-.4-.4-.4m0-3V5.6"},null,-1),w("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10"},null,-1)])])}var J2e={render:wR},ebe=me({default:()=>nbe,render:()=>xR}),tbe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function xR(e,t){return g(),S("svg",tbe,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18.59 15.3 2.9-2.91a1.32 1.32 0 0 0 0-1.87l-1.85-1.85a3.3 3.3 0 1 1-4.31-4.31L13.48 2.5a1.32 1.32 0 0 0-1.87 0l-2.9 2.91a3.3 3.3 0 1 0-3.3 3.3l-2.9 2.9a1.32 1.32 0 0 0 0 1.87l1.85 1.85a3.3 3.3 0 1 1 4.31 4.31l1.85 1.85a1.32 1.32 0 0 0 1.87 0l2.9-2.9a3.3 3.3 0 1 0 3.3-3.3Z"},null,-1)])])}var nbe={render:xR},rbe=me({default:()=>ibe,render:()=>kR}),abe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function kR(e,t){return g(),S("svg",abe,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.4 4H20v13.59M4 20 20 4"},null,-1)])])}var ibe={render:kR},obe=me({default:()=>lbe,render:()=>AR}),sbe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function AR(e,t){return g(),S("svg",sbe,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M7.556 12h8.888m-6.222 6h3.556"},null,-1)])])}var lbe={render:AR},cbe=me({default:()=>dbe,render:()=>TR}),ube={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function TR(e,t){return g(),S("svg",ube,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z"},null,-1)])])}var dbe={render:TR},fbe=me({default:()=>hbe,render:()=>ER}
15),pbe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 1024 1024"};function ER(e,t){return g(),S("svg",pbe,[...t[0]||(t[0]=[w("path",{d:"M512 0a512 512 0 0 0-162 998c26 4 35-11 35-25l-1-95c-128 23-161-32-172-60-6-15-31-61-52-73-18-10-44-33-1-33 40-1 69 37 78 52 46 78 120 56 149 43 5-33 18-56 33-69-114-13-234-56-234-253 0-56 20-101 53-137-5-13-23-65 5-136 0 0 43-13 141 53a487 487 0 0 1 256 0c98-66 141-53 141-53 28 71 10 123 5 136 33 36 53 81 53 137 0 197-120 240-234 253 18 16 35 47 35 95l-1 140c0 14 9 30 35 25A512 512 0 0 0 512 0"},null,-1)])])}var hbe={render:ER},mbe=me({default:()=>bbe,render:()=>_R}),gbe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function _R(e,t){return g(),S("svg",gbe,[...t[0]||(t[0]=[w("path",{d:"M16.643 22.94v-3.135a3.68 3.68 0 0 0-1.026-2.852c3.43-.382 7.036-1.682 7.036-7.648a5.94 5.94 0 0 0-1.64-4.097 5.54 5.54 0 0 0-.097-4.12s-1.29-.382-4.272 1.618a14.6 14.6 0 0 0-7.649 0c-2.982-2-4.272-1.617-4.272-1.617a5.54 5.54 0 0 0-.098 4.119 5.94 5.94 0 0 0-1.639 4.13c0 5.922 3.606 7.222 7.036 7.648a3.68 3.68 0 0 0-1.027 2.819v3.136m0-2.186c-3.277 1.064-6.009 0-7.648-3.278"},null,-1)])])}var bbe={render:_R},ybe=me({default:()=>Obe,render:()=>CR}),vbe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function CR(e,t){return g(),S("svg",vbe,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 12c0 5.523-4.477 10-10 10m10-10c0-5.523-4.477-10-10-10m10 10H2m10 10C6.477 22 2 17.523 2 12m10 10a14.5 14.5 0 0 1 0-20m0 20a14.5 14.5 0 0 0 0-20M2 12C2 6.477 6.477 2 12 2"},null,-1)])])}var Obe={render:CR},Sbe=me({default:()=>xbe,render:()=>$R}),wbe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function $R(e,t){return g(),S("svg",wbe,[...t[0]||(t[0]=[w("path",{d:"M23.93 10.67a.76.76 0 0 0-.75-.67H12.75a.76.76 0 0 0-.75.75v3.5a.76.76 0 0 0 .75.75h5.58A7 7 0 1 1 12 5a7 7 0 0 1 4.23 1.42.74.74 0 0 0 1-.07l2.47-2.49a.75.75 0 0 0 .22-.57.77.77 0 0 0-.27-.54A12 12 0 1 0 24 12a12 12 0 0 0-.07-1.33"},null,-1)])])}var xbe={render:$R},kbe=me({default:()=>Tbe,render:()=>PR}),Abe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function PR(e,t){return g(),S("svg",Abe,[...t[0]||(t[0]=[w("path",{d:"M9.2 9.2c0-.5.1-1 .4-1.5s.6-.8 1.1-1q.75-.3 1.5-.3c.75 0 1 .2 1.4.5s.7.7 1 1.2c.2.5.3 1 .2 1.5s-.3 1-.6 1.4-.8.7-1.2.9c-.255.128-.5.3-.7.5s-.3.5-.3.8v.9m0 3.5c-.2 0-.4-.2-.4-.4s.2-.4.4-.4.4.2.4.4-.2.4-.4.4"},null,-1),w("path",{d:"M12 22c5.524 0 10-4.476 10-10S17.524 2 12 2 2 6.476 2 12s4.476 10 10 10"},null,-1)])])}var Tbe={render:PR},Ebe=me({default:()=>Cbe,render:()=>IR}),_be={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function IR(e,t){return g(),S("svg",_be,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9.88 14.12a3 3 0 1 1 4.24-4.24m-3.39 9.04q.632.079 1.27.08c7 0 10-7 10-7a13.2 13.2 0 0 0-1.67-2.68M6.61 17.39A13.5 13.5 0 0 1 2 12s3-7 10-7a9.74 9.74 0 0 1 5.39 1.61M2 22 22 2"},null,-1)])])}var Cbe={render:IR},$be=me({default:()=>Ibe,render:()=>NR}),Pbe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function NR(e,t){return g(),S("svg",Pbe,[...t[0]||(t[0]=[w("path",{d:"M12.9 6.8v6.1h4.7"},null,-1),w("path",{d:"M6.1 17.2c1.6 2.2 4.2 3.6 7.1 3.6 4.8 0 8.8-3.9 8.8-8.8s-3.9-8.8-8.8-8.8-8.8 4-8.8 8.8v1.7M2 11.3l2.4 2.4 2.4-2.4"},null,-1)])])}var Ibe={render:NR},Nbe=me({default:()=>Mbe,render:()=>RR}),Rbe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function RR(e,t){return g(),S("svg",Rbe,[...t[0]||(t[0]=[w("path",{d:"M22.1 9.2 12 1.5 1.8 9.2c-.2.2-.3.5-.4.7v11.7c0 .5.4.9.9.9h6.1v-4.9c0-1.9 1.6-3.5 3.5-3.5s3.5 1.6 3.5 3.5v4.9h6.1c.5 0 .9-.4.9-.9V9.9c0-.3-.1-.6-.4-.7z"},null,-1)])])}var Mbe={render:RR},Lbe=me({default:()=>Bbe,render:()=>MR}),Dbe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function MR(e,t){return g(),S("svg",Dbe,[...t[0]||(t[0]=[w("path",{d:"M12 10.67v7.98M14.66 16 12 18.64 9.34 16"},null,-1),w("path",{d:"M3.35 7.34h17.3s1.33 0 1.33 1.33v11.98s0 1.33-1.33 1.33H3.35s-1.33 0-1.33-1.33V8.67s0-1.33 1.33-1.33"},null,-1),w("path",{d:"m2.2 8 2.13-5.19a1.33 1.33 0 0 1 1.22-.79h12.9a1.33 1.33 0 0 1 1.22.8l2.08 5.1M12 7.34V2.02"},null,-1)])])}var Bbe={render:MR},Ube=me({default:()=>Qbe,render:()=>LR}),jbe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function LR(e,t){return g(),S("svg",jbe,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10"},null,-1),w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 17v-6 0a.5.5 0 0 0-.5-.5l-.5.001h-1M12 17h-2m2 0h2"},null,-1),w("path",{fill:"currentColor","fill-rule":"evenodd",d:"M10.75 7.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)])])}var Qbe={render:LR},Fbe=me({default:()=>Vbe,render:()=>DR}),zbe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function DR(e,t){return g(),S("svg",zbe,[...t[0]||(t[0]=[w("path",{d:"M12.82 14.51 15.36 12l1.76.47a1.56 1.56 0 0 0 1.51-.47 1.58 1.58 0 0 0 .37-1.49l-.47-1.75.82-.76 1.76.47A1.56 1.56 0 0 0 22.62 8 1.58 1.58 0 0 0 23 6.52l-.47-1.75a2.35 2.35 0 0 0-3.33-3.33l-9.71 9.74a6.29 6.29 0 1 0 3.33 3.33"},null,-1),w("path",{d:"M4.26 17.84a1.9 1.9 0 1 0 3.8 0 1.9 1.9 0 1 0-3.8 0"},null,-1)])])}var Vbe={render:DR},Hbe=me({default:()=>Zbe,render:()=>BR}),qbe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function BR(e,t){return g(),S("svg",qbe,[...t[0]||(t[0]=[w("path",{d:"M16.35 16.5v1c0 1.1-.9 2-2 2H2.75c-1.1 0-2-.9-2-2v-11c0-1.1.9-2 2-2h11.6c1.1 0 2 .9 2 2v1M5.25 12h18m0 0-3 3.1m3-3.1-3-2.9"},null,-1)])])}var Zbe={render:BR},Xbe=me({default:()=>Ybe,render:()=>UR}),Wbe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function UR(e,t){return g(),S("svg",Wbe,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.55 12a5.46 5.46 0 1 0 10.91.481A5.46 5.46 0 0 0 6.55 12m0 0H2m4.55 0H4.73m12.31 2.1a5.46 5.46 0 0 1-6.614-6.887M12 2v4.55m7.08-1.62-3.22 3.22M22 12h-4.54m1.62 7.08L16 16.01M12 22v-4m-7.07 1.08L8 16.
1501M4.93 4.93l3.22 3.22"},null,-1)])])}var Ybe={render:UR},Gbe=me({default:()=>Jbe,render:()=>jR}),Kbe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function jR(e,t){return g(),S("svg",Kbe,[...t[0]||(t[0]=[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.501 12a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0m4.5-10.5v3m0 15v3m10.5-10.5h-3m-15 0h-3m17.924-7.424-2.121 2.121M6.697 17.304l-2.121 2.121m14.849 0-2.121-2.121M6.697 6.697 4.576 4.576"},null,-1)])])}var Jbe={render:jR},eye=me({default:()=>nye,render:()=>QR}),tye={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function QR(e,t){return g(),S("svg",tye,[...t[0]||(t[0]=[w("path",{d:"M13.5 18 12 19.5c-1 1-2.3 1.5-3.7 1.5s-2.7-.6-3.7-1.5c-1-1-1.5-2.3-1.5-3.7s.6-2.7 1.5-3.7l1.5-1.5M10.5 6 12 4.5c1-1 2.3-1.5 3.7-1.5s2.7.6 3.7 1.5c1 1 1.5 2.3 1.5 3.7s-.6 2.7-1.5 3.7l-1.5 1.5M9 15l6-6"},null,-1)])])}var nye={render:QR},rye=me({default:()=>iye,render:()=>FR}),aye={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function FR(e,t){return g(),S("svg",aye,[...t[0]||(t[0]=[w("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),w("path",{d:"M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M7 10V7a5 5 0 1 1 10 0v3"},null,-1)])])}var iye={render:FR},oye=me({default:()=>lye,render:()=>zR}),sye={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 593 593"};function zR(e,t){return g(),S("svg",sye,[...t[0]||(t[0]=[w("path",{"fill-rule":"evenodd",d:"M347 0c6 0 12 5 12 12v134l94-95c5-5 13-5 17 0l72 72c4 4 5 12 0 16v1l-95 94h134c7 0 12 5 12 12v101c0 7-5 12-12 12H447l95 94c4 5 5 13 0 17l-72 72c-4 4-12 5-16 0h-1l-94-95v134c0 7-5 12-12 12H246c-7 0-12-5-12-12v-70c0-22 9-43 24-59l130-130c14-14 14-37 0-51L259 142a84 84 0 0 1-25-59V12c0-7 5-12 12-12zM138 52h1l219 219c14 14 14 37 0 51L139 542c-4 5-12 5-17 0l-71-70c-4-5-5-12 0-17l95-96H12c-7 0-12-5-12-12V246c0-7 5-12 12-12h134l-95-94c-4-5-4-12 0-17l71-71c4-5 12-5 16 0"},null,-1)])])}var lye={render:zR},cye=me({default:()=>dye,render:()=>VR}),uye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function VR(e,t){return g(),S("svg",uye,[...t[0]||(t[0]=[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m.75 23.25 15-15m-5.25 0H8.25m15 0H21M21 3l-1.591 1.591M15.75 3V.75m0 15V13.5m-3.659-8.909L10.5 3M21 13.5l-1.591-1.591"},null,-1)])])}var dye={render:VR},fye=me({default:()=>hye,render:()=>HR}),pye={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function HR(e,t){return g(),S("svg",pye,[...t[0]||(t[0]=[w("path",{fill:"currentColor",d:"M3 16.142V8.245h2.323l2.322 2.903 2.323-2.903h2.322v7.897H9.968v-4.53l-2.323 2.904-2.322-2.903v4.529zm14.516 0-3.484-3.832h2.323V8.245h2.322v4.065H21z"},null,-1)])])}var hye={render:HR},mye=me({default:()=>bye,render:()=>qR}),gye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function qR(e,t){return g(),S("svg",gye,[...t[0]||(t[0]=[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 6.8H2m20 10.4H2"},null,-1)])])}var bye={render:qR},yye=me({default:()=>Oye,render:()=>ZR}),vye={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ZR(e,t){return g(),S("svg",vye,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m4.9 4.9 14.2 14.2M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"},null,-1)])])}var Oye={render:ZR},Sye=me({default:()=>xye,render:()=>XR}),wye={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function XR(e,t){return g(),S("svg",wye,[...t[0]||(t[0]=[w("path",{d:"M17.333 5.34c1.39-.22 2.796-.334 4.205-.34.121 0 .238.043.329.122a.44.44 0 0 1 .133.314v13.73a.44.44 0 0 1-.133.306.46.46 0 0 1-.311.13C14.186 19.708 12 22 12 22m0 0V7.38S9.822 5.096 2.462 5a.5.5 0 0 0-.329.122.44.44 0 0 0-.133.314v13.73a.44.44 0 0 0 .133.306.46.46 0 0 0 .311.13C9.814 19.708 12 22 12 22"},null,-1),w("path",{d:"M12 22a5.67 5.67 0 0 1 1.367-3.135c.967-1.141 2.237-1.923 3.633-2.236V2.443a.45.45 0 0 0-.051-.21.4.4 0 0 0-.14-.154.47.47 0 0 0-.409-.054 6.44 6.44 0 0 0-3.033 2.063A5.86 5.86 0 0 0 12 7.205"},null,-1)])])}var xye={render:XR},kye=me({default:()=>Tye,render:()=>WR}),Aye={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function WR(e,t){return g(),S("svg",Aye,[...t[0]||(t[0]=[w("path",{d:"M17 3a2.85 2.85 0 0 1 2.064-1.007 2.87 2.87 0 0 1 2.14.834 2.83 2.83 0 0 1 .825 2.131A2.8 2.8 0 0 1 21 7L7.5 20.5 2 22l1.5-5.5z"},null,-1)])])}var Tye={render:WR},Eye=me({default:()=>Cye,render:()=>YR}),_ye={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function YR(e,t){return g(),S("svg",_ye,[...t[0]||(t[0]=[w("path",{d:"M6 6.663c0-1.582 1.75-2.538 3.082-1.682l8.301 5.337a2 2 0 0 1 0 3.364L9.082 19.02C7.75 19.875 6 18.919 6 17.337z"},null,-1)])])}var Cye={render:YR},$ye=me({default:()=>Iye,render:()=>GR}),Pye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function GR(e,t){return g(),S("svg",Pye,[...t[0]||(t[0]=[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 14.248v4.5H.75m18-9v-4.5h4.5m-4.218-.003A9.752 9.752 0 0 1 8.246 21m-3.279-2.249A9.753 9.753 0 0 1 15.754 3"},null,-1)])])}var Iye={render:GR},Nye=me({default:()=>Mye,render:()=>KR}),Rye={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function KR(e,t){return g(),S("svg",Rye,[...t[0]||(t[0]=[w("path",{d:"M16.22 2.663a1.47 1.47 0 0 0-1.09 0L8.87 5.167c-.35.14-.74.14-1.09 0L1.982 2.848a.735.735 0 0 0-1.008.686V17.62c0 .601.366 1.142.924 1.365l5.88 2.352c.35.14.742.14 1.092 0l6.258-2.504c.35-.14.741-.14 1.092 0l5.796 2.315a.735.735 0 0 0 1.008-.686V6.38a1.47 1.47 0 0 0-.924-1.365ZM8.325 5.272v16.17m7.35-18.884v16.17"},null,-1)])])}var Mye={render:KR},Lye=me({default:()=>Bye,render:()=>JR}),Dye={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function JR(e,t){return g(),S("svg",Dye,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 15c1.895 3 3.79 4 6.632 4s6.631-3 6.631-7-2.842-7-5.684-7-4.737 1.5-4.737 4 1.895 5 5.684 5S19.492 11.547 21 9"},null,-1)])])}var Bye={render:JR},Uye=me({default:()=>Qye,render:()=>eM}),jye={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function eM(e,t){return g(),S("svg",jye,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16m10 2-4.35-4.35"},null,-1)])])}var Qye={render:eM},Fye=me({default:()=>Vye,render:()=>tM}),zye={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tM(e,t){return g(),S("svg",zye,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2m16 0H4m16 0a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2"},null,-1),w("path",{fill:"currentColor",d:"M18 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)])])}var Vye={render:tM},Hye=me({default:()=>Zye,render:()=>nM}),qye={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function nM(e,t){return g(),S("svg",qye,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 7H9m0 0a2 2 0 1 1-4 0 2 2
150 0 1 4 0m7 10H5m11 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0"},null,-1)])])}var Zye={render:nM},Xye=me({default:()=>Yye,render:()=>rM}),Wye={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rM(e,t){return g(),S("svg",Wye,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7"},null,-1),w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6"},null,-1)])])}var Yye={render:rM},Gye=me({default:()=>Jye,render:()=>aM}),Kye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function aM(e,t){return g(),S("svg",Kye,[...t[0]||(t[0]=[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 5.4h20M2 12h20M2 18.6h13.3"},null,-1)])])}var Jye={render:aM},eve=me({default:()=>nve,render:()=>iM}),tve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function iM(e,t){return g(),S("svg",tve,[...t[0]||(t[0]=[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13 15h5M6 9l4 3-4 3"},null,-1),w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21 2.8H3.1c-.7 0-1.4.6-1.4 1.4v15.6c0 .7.6 1.4 1.4 1.4H21c.7 0 1.4-.6 1.4-1.4V4.2c0-.8-.5-1.4-1.3-1.4z"},null,-1)])])}var nve={render:iM},rve=me({default:()=>ive,render:()=>oM}),ave={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function oM(e,t){return g(),S("svg",ave,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m19.5 5.75-1.51 14.34a1.67 1.67 0 0 1-1.66 1.5H7.67A1.67 1.67 0 0 1 6 20.08L4.5 5.75m-2.08 0h19.16m-13.33 0v-2.5a.83.83 0 0 1 .83-.83h5.84a.83.83 0 0 1 .83.83v2.5M12 9.5v8.75m3.75-8.75-.42 8.75M8.25 9.5l.42 8.75"},null,-1)])])}var ive={render:oM},ove=me({default:()=>lve,render:()=>sM}),sve={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function sM(e,t){return g(),S("svg",sve,[...t[0]||(t[0]=[w("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),w("path",{d:"M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M17 10V7a5 5 0 0 0-9.33-2.5"},null,-1)])])}var lve={render:sM},cve=me({default:()=>dve,render:()=>lM}),uve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function lM(e,t){return g(),S("svg",uve,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.9 19.1c-3.038-3.038-3.71-7.592-2.015-11.3M7.8 16.2c-1.397-1.397-1.945-3.346-1.646-5.2M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19m-8.423-8.5a2 2 0 0 1 2.75 2.901M22 22 2 2"},null,-1)])])}var dve={render:lM},fve=me({default:()=>hve,render:()=>cM}),pve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cM(e,t){return g(),S("svg",pve,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.33v15.32m5.37-9.95L12 4.33 6.63 9.7"},null,-1)])])}var hve={render:cM},mve=me({default:()=>bve,render:()=>uM}),gve={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function uM(e,t){return g(),S("svg",gve,[...t[0]||(t[0]=[w("path",{d:"M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z"},null,-1),w("circle",{cx:"12",cy:"6.2",r:"4.5"},null,-1)])])}var bve={render:uM},yve=me({default:()=>Ove,render:()=>dM}),vve={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function dM(e,t){return g(),S("svg",vve,[...t[0]||(t[0]=[w("path",{d:"M11.101 1.488H4.83a1 1 0 0 0-1 1v6.614m9.069 13.41h6.272a1 1 0 0 0 1-1v-6.614"},null,-1),w("path",{d:"m1.23 6.5 2.6 2.6 2.601-2.6m16.339 11-2.6-2.6-2.601 2.6M5.505 18.546a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.29-3.202-4.276-3.202-1.988 0-3.718 1.372-4.277 3.202m17.264-15.92a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.289-3.202-4.276-3.202s-3.718 1.372-4.276 3.202"},null,-1)])])}var Ove={render:dM},Sve=me({default:()=>xve,render:()=>fM}),wve={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function fM(e,t){return g(),S("svg",wve,[...t[0]||(t[0]=[w("path",{d:"M3.375 7.875a4.125 4.125 0 1 0 8.25 0 4.125 4.125 0 1 0-8.25 0M.75 20.25a6.75 6.75 0 0 1 13.5 0m.001-15.834a4.125 4.125 0 1 1-.006 6.914M15 13.667a6.757 6.757 0 0 1 8.25 6.583"},null,-1)])])}var xve={render:fM},kve=me({default:()=>Tve,render:()=>pM}),Ave={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function pM(e,t){return g(),S("svg",Ave,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m5.246 12.069-2.74 1.569a1 1 0 0 0 .001 1.74l8.5 4.87a2 2 0 0 0 2 0l8.5-4.87a.999.999 0 0 0 0-1.74l-2.702-1.548m-5.798 3.158a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l8.5-4.87a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z"},null,-1)])])}var Tve={render:pM},Eve=me({default:()=>Cve,render:()=>hM}),_ve={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function hM(e,t){return g(),S("svg",_ve,[...t[0]||(t[0]=[w("path",{d:"M2.97 2.771 13.908 5.88a3.77 3.77 0 0 1 2.592 3.5v10.51a2.052 2.052 0 0 1-2.6 2.167l-9.048-2.46a3.7 3.7 0 0 1-2.6-3.457V4.688a2.75 2.75 0 0 1 2.67-2.813H18.75a3 3 0 0 1 3 3v8.953a3.073 3.073 0 0 1-3.11 3.047H16.5"},null,-1),w("path",{d:"M12.375 13.875a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75m9.375-3.75H16.5"},null,-1)])])}var Cve={render:hM},$ve=me({default:()=>Ive,render:()=>mM}),Pve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function mM(e,t){return g(),S("svg",Pve,[...t[0]||(t[0]=[w("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9m2.9 11.3c-2.3-2.3-2.3-6.1 0-8.5m8.4.1c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19M14 12a2 2 0 1 1-4 0 2 2
150 0 1 4 0"},null,-1)])])}var Ive={render:mM},Nve=me({default:()=>Mve,render:()=>gM}),Rve={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function gM(e,t){return g(),S("svg",Rve,[...t[0]||(t[0]=[w("path",{d:"M20.25 3.75v19.5M3.75 3.75h16.5m-16.5 19.5V3.75m16.5 19.5H3.75m16.5-19.5H3.75l1.5-3h13.5zM.75 23.25h22.5m-9-2.25a2.25 2.25 0 0 0-4.5 0v2.25h4.5zM7.5 7.13a.37.37 0 1 1 0-.75m0 .75a.37.37 0 1 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m-9 5.25a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m-9 5.26a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75"},null,-1)])])}var Mve={render:gM},Lve=me({default:()=>Bve,render:()=>bM}),Dve={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function bM(e,t){return g(),S("svg",Dve,[...t[0]||(t[0]=[w("path",{d:"M9.931 12.645h4.138l-2.07-4.908m0-7.737L.68 3.982l1.726 14.771L12 24l9.596-5.242L23.32 3.984zm7.064 18.31h-2.638l-1.422-3.503H8.996l-1.422 3.504h-2.64L12 2.65z"},null,-1)])])}var Bve={render:bM},Uve=me({default:()=>Qve,render:()=>yM}),jve={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function yM(e,t){return g(),S("svg",jve,[...t[0]||(t[0]=[w("path",{d:"M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.35 2.35 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.1 3.1 0 0 0 .378-1.494 3.1 3.1 0 0 0-.148-.954M15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.2 18.2 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.2 18.2 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.6 1.6 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.6 1.6 0 0 1 15.55.6z"},null,-1)])])}var Qve={render:yM},Fve=me({default:()=>Vve,render:()=>vM}),zve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function vM(e,t){return g(),S("svg",zve,[...t[0]||(t[0]=[w("path",{fill:"currentColor","fill-rule":"evenodd",d:"M6.335.83a.75.75 0 0 0-.67 0L1.667 2.827a.75.75 0 0 0-.417.672V18c0 .271.146.52.382.654l7.989 4.493a.75.75 0 0 0 .747.007l8-4.5A.75.75 0 0 0 18.75 18v-4.537l3.585-1.792A.75.75 0 0 0 22.75 11V6a.75.75 0 0 0-.417-.672l-3.998-1.999a.75.75 0 0 0-.67 0l-3.997 1.999a.7.7 0 0 0-.246.194.75.75 0 0 0-.172.478v4.561l-2.5 1.407V3.5a.75.75 0 0 0-.43-.678L6.336.829Zm7.686 11.019 2.38 1.19-6.422 3.612-2.38-1.19zm3.229-.063-2.5-1.25V7.215l2.5 1.25zm1.5 0 2.5-1.25V7.215l-2.5 1.25zm-9.5 1.025V4.714l-2.5 1.25v8.254zm-1.005 4.65.743.372c.17.091.262.153.262.183v3.202l-6.5-3.657V4.714l2.5 1.25V15.5a.75.75 0 0 0 .415.67s1.122.591 2.108 1.064zm2.505.478 6.5-3.657v3.28l-6.5 3.656v-3.28ZM6 4.66 3.677 3.5 6 2.339 8.323 3.5zM20.323 6 18 4.839 15.677 6 18 7.161z","clip-rule":"evenodd"},null,-1)])])}var Vve={render:vM},Hve=me({default:()=>Zve,render:()=>OM}),qve={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function OM(e,t){return g(),S("svg",qve,[...t[0]||(t[0]=[w("path",{d:"M11.573 0a5 5 0 0 0-.359.007L10.85.04c-3.407.307-6.6 2.146-8.622 4.972a11.9 11.9 0 0 0-2.119 5.243c-.096.659-.108.854-.108 1.747s.012 1.089.108 1.748c.652 4.506 3.86 8.292 8.209 9.695.779.25 1.6.422 2.534.525.363.04 1.935.04 2.299 0 1.611-.178 2.977-.577 4.323-1.264.207-.106.247-.134.219-.158-.02-.013-.9-1.193-1.955-2.62l-1.919-2.592-2.404-3.558a339 339 0 0 0-2.422-3.556c-.009-.002-.018 1.579-.023 3.51-.007 3.38-.01 3.515-.052 3.595a.43.43 0 0 1-.206.214c-.075.037-.14.044-.495.044H7.81l-.108-.068a.44.44 0 0 1-.157-.171l-.05-.106.006-4.703.007-4.705.072-.092a.7.7 0 0 1 .174-.143c.096-.047.134-.051.54-.051.478 0 .558.018.682.154a467 467 0 0 1 2.895 4.361l4.735 7.17 1.9 2.879.096-.063a12.3 12.3 0 0 0 2.466-2.163 11.94 11.94 0 0 0 2.824-6.134c.096-.66.108-.854.108-1.748 0-.893-.012-1.088-.108-1.747-.652-4.506-3.859-8.292-8.208-9.695a12.6 12.6 0 0 0-2.499-.523A33 33 0 0 0 11.573 0m4.068 7.217c.347 0 .408.005.486.047a.47.47 0 0 1 .237.277c.
15018.06.023 1.365.018 4.304l-.006 4.218-.744-1.14-.746-1.14v-3.066c0-1.982.01-3.097.023-3.15a.48.48 0 0 1 .233-.296c.096-.05.13-.054.5-.054z"},null,-1)])])}var Zve={render:OM},Xve=me({default:()=>Yve,render:()=>SM}),Wve={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function SM(e,t){return g(),S("svg",Wve,[...t[0]||(t[0]=[w("path",{d:"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236m2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38a2.17 2.17 0 0 0-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44a23.5 23.5 0 0 0-3.107-.534A24 24 0 0 0 12.769 4.7c1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442a23 23 0 0 0-3.113.538 15 15 0 0 1-.254-1.42c-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05q.684.704 1.36 1.564c-.44-.02-.89-.034-1.345-.034q-.691-.001-1.36.034c.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093q.61.874 1.183 1.86.557.961 1.018 1.946c-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87a25.6 25.6 0 0 1-4.412.005 27 27 0 0 1-1.183-1.86q-.557-.961-1.018-1.946a25 25 0 0 1 1.013-1.954c.38-.66.773-1.286 1.18-1.868A25 25 0 0 1 12 8.098zm-3.635.254c-.24.377-.48.763-.704 1.16q-.336.585-.635 1.174c-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0q1.044.153 2.006.387c-.18.632-.405 1.282-.66 1.933a26 26 0 0 0-1.345-2.32zm3.063.675q.727.226 1.375.498c1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493a24 24 0 0 0-1.1-2.98c.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98a23 23 0 0 0-1.086 2.964c-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474s1.12-1.742 2.852-2.476c.42-.18.88-.342 1.356-.494m11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39a26 26 0 0 0 1.341-2.338zm-9.945.02c.2.392.41.783.64 1.175q.345.586.705 1.143a22 22 0 0 1-2.006-.386c.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295a1.2 1.2 0 0 1-.553-.132c-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64q.661.032 1.345.034.691.001 1.36-.034c-.44.572-.895 1.095-1.345 1.565q-.684-.706-1.36-1.565"},null,-1)])])}var Yve={render:SM},Gve=me({default:()=>Jve,render:()=>wM}),Kve={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function wM(e,t){return g(),S("svg",Kve,[...t[0]||(t[0]=[w("path",{d:"M23.94 3a.5.5 0 0 0-.44-.25h-2.31l-8.55 13.91a.75.75 0 0 1-1.28 0L2.81 2.77H.5A.5.5 0 0 0 .06 3a.54.54 0 0 0 0 .51l11.5 19a.51.51 0 0 0 .86 0l11.5-19a.54.54 0 0 0 .02-.51"},null,-1),w("path",{d:"m12 14.84 7.43-12.07H16a.47.47 0 0 0-.43.25L12 9.26 8.43 3A.47.47 0 0 0 8 2.77H4.57Z"},null,-1)])])}var Jve={render:wM},eOe=me({default:()=>nOe,render:()=>xM}),tOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function xM(e,t){return g(),S("svg",tOe,[...t[0]||(t[0]=[w("path",{d:"m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6M64 88.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5"},null,-1)])])}var nOe={render:xM},rOe=me({default:()=>iOe,render:()=>kM}
15),aOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function kM(e,t){return g(),S("svg",aOe,[...t[0]||(t[0]=[w("path",{d:"M60.952.266C27.377.266.065 28.77.065 63.806s27.318 63.54 60.887 63.54c33.576 0 60.893-28.505 60.893-63.54S94.528.266 60.952.266m0 6.117c30.39 0 55.025 25.712 55.025 57.423 0 2.482-.167 4.924-.46 7.321-1.495 6.214-4.194 10.358-7.412 13.19-4.941 4.336-11.524 5.738-17.62 5.733a41 41 0 0 1-4.973-.289C97.506 77.4 99.336 57.866 89.864 43.315 80.39 28.763 62.315 23.338 46.882 30.416a24 24 0 0 0-1.68-1.114c-2.41-1.413-7.439-3.482-13.837-3.505-5.361-.022-10.615 1.568-15.133 4.58C26.554 15.317 43.21 6.386 60.952 6.394zM51.341 84.6c.894-4.07 3.343-10.431 5.548-15.655.623-1.481 1.23-2.872 1.777-4.104 3.451 12.822 5.635 20.449 9.546 25.65a18 18 0 0 0 1.913 2.114 28 28 0 0 1-9.173 1.56 28.2 28.2 0 0 1-10.023-1.86q-.098-1.227-.103-2.459a24.5 24.5 0 0 1 .515-5.24zm-7.444 3.77c-7.555-5.703-12.031-14.84-12.04-24.57.008-9.88 4.625-19.138 12.375-24.813 1.637.984 3.121 2.143 4.34 3.477 2.395 2.56 5.077 8.214 6.94 13.082.51 1.312.965 2.567 1.36 3.709C50.16 73.502 45.685 80.608 43.898 88.37zm21.802-18.226c-1.501-4.037-2.374-7.079-2.379-7.084l-.005-.012c-2.747-10.984-5.592-21.025-11.497-28.052a28 28 0 0 1 9.134-1.55c16.06.022 29.074 13.602 29.095 30.36-.007 9.673-4.432 18.764-11.914 24.474a15 15 0 0 1-2.184-.78c-1.137-.514-2.812-2.267-4.329-4.698-2.313-3.635-4.437-8.622-5.927-12.653zm-4.747 51.08c-30.39 0-55.025-25.707-55.025-57.424 0-2.086.114-4.144.32-6.173 4.508-16 15.338-21.92 25.595-22.02 2.08-.007 4.117.282 6.068.774-13.182 12.081-15.74 32.487-5.979 47.7 9.762 15.213 28.817 20.518 44.544 12.403 2.78 1.023 5.96 1.633 9.812 2.137 1.447.186 3.007.277 4.665.277a61.6 61.6 0 0 0 14.997-2.087c-10.29 15.308-27.088 24.417-45.007 24.407z"},null,-1)])])}var iOe={render:kM},oOe=me({default:()=>lOe,render:()=>AM}),sOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function AM(e,t){return g(),S("svg",sOe,[...t[0]||(t[0]=[w("path",{d:"m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6m-53.5 70c-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8M115 62h-3.2l-.9 4h4.1v5h-5l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2 6h3.8l1.2-6h4.8l-1.2 6h2.2zm-12.7 4h3.8l.9-4h-3.8z"},null,-1)])])}var lOe={render:AM},cOe=me({default:()=>dOe,render:()=>TM}),uOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function TM(e,t){return g(),S("svg",uOe,[...t[0]||(t[0]=[w("path",{d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53z"},null,-1)])])}var dOe={render:TM},fOe=me({default:()=>hOe,render:()=>EM}),pOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 50 50"};function EM(e,t){return g(),S("svg",pOe,[...t[0]||(t[0]=[w("path",{d:"m7.91 9.32.09.09V35.3l-5.09-5.09a6.22 6.22 0 0 1-1.27-6.92zM35.3 8H9.41l-.09-.09 13.97-6.27a6.22 6.22 0 0 1 6.92 1.27zm2.29 31H11.71l-.54-.54A4 4 0 0 1 10 35.63V11.41zm-23.88 2H39v6c0 .55-.45 1-1 1H21.1c-.27 0-.52-.11-.71-.29l-4.7-4.7.02-.02zM48 21.1V38c0 .55-.45 1-1 1h-6.58L11.41 10h24.22c1.07 0 2.07.42 2.83 1.17l4.53 4.54.02-.02 4.7 4.7c.18.19.29.44.29.71"},null,-1)])])}var hOe={render:EM},mOe=me({default:()=>bOe,render:()=>_M}),gOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function _M(e,t){return g(),S("svg",gOe,[...t[0]||(t[0]=[w("path",{d:"M0 64.5 60.7 3.8v30.4L30.4 64.5l30.4 30.4v30.4zm39.1 0 21.7-21.7v43.4zm88.9 0L65.1 3.8v30.4l30.4 30.4-30.4 30.3v30.4z"},null,-1)])])}var bOe={render:_M},yOe=me({default:()=>OOe,render:()=>CM}
15),vOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function CM(e,t){return g(),S("svg",vOe,[...t[0]||(t[0]=[w("path",{d:"M108.2 64.8c-.1-.1-.2-.2-.4-.2l-.1-.1c-.1-.1-.2-.1-.2-.2l-.1-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1-.1 0-.1 0-.2-.1l-.3-.1c-.1 0-.1 0-.2-.1l-.3-.1h-.1l-.4-.1h-.2c-.1 0-.2 0-.3-.1h-2.3c-.6-13.3.6-26.8-2.8-39.6 12.9-4.6 2.8-22.3-8.4-14.4-7.4-6.4-17.6-7.8-28.3-7.8-10.5.7-20.4 2.9-27.4 8.4-2.8-1.4-5.5-1.8-7.9-1.1v.1c-.1 0-.3.1-.4.2-.1 0-.3.1-.4.2h-.1c-.1 0-.2.1-.4.2h-.1l-.3.2h-.1l-.3.2h-.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2-.1.1c-.1.1-.2.1-.2.2l-.1.1-.2.2-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1c.4.3.4.4.4.4v.1l-.1.3v.1c0 .1 0 .2-.1.3v3.1c0 .1 0 .2.1.3v.1l.1.3v.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3.1.1.3.3.3.3h.1c1 .9 2 1.6 4 2.2v-.2C23 37.3 26.5 50 26.7 63c-.6 0-.7.4-1.7.5h-.5c-.1 0-.3 0-.5.1-.1 0-.3 0-.4.1l-.4.1h-.1l-.4.1h-.1l-.3.1h-.1l-.3.1s-.1 0-.1.1l-.3.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.4.3c-.1.1-.2.2-.3.2l-.4.4-.1.1c-.1.2-.3.4-.4.5l-.2.3-.3.6-.1.3v.3c0 .5.2.9.9 1.2.2 3.7 3.9 2 5.6.8l.1-.1c.2-.2.5-.3.6-.3h.1l.2-.1c.1 0 .1 0 .2-.1.2-.1.4-.1.5-.2.1 0 .1-.1.1-.2l.1-.1c.1-.2.2-.6.2-1.2l.1-1.3v1.8c-.5 13.1-4 30.7 3.3 42.5 1.3 2.1 2.9 3.9 4.7 5.4h-.5c-.2.2-.5.4-.8.6l-.9.6-.3.2-.6.4-.9.7-1.1 1c-.2.2-.3.4-.4.5l-.4.6-.2.3c-.1.2-.2.4-.2.6l-.1.3q-.3 1.2.6 2.7l.4.4h.2c.1 0 .2 0 .4.1.2.4 1.2 2.5 3.9.9 2.8-1.5 4.7-4.6 8.1-5.1l-.5-.6c5.9 2.8 12.8 4 19 4.2 8.7.3 18.6-.9 26.5-5.2 2.2.7 3.9 3.9 5.8 5.4l.1.1.1.1.1.1.1.1s.1 0 .1.1c0 0 .1 0 .1.1 0 0 .1 0 .1.1h2.1s.1 0 .1-.1h.1s.1 0 .1-.1h.1s.1 0 .1-.1c0 0 .1 0 .1-.1l.1-.1s.1 0 .1-.1l.1-.1h.1l.2-.2.2-.1h.1l.1-.1h.1l.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-1.4s-.3 0-.3-.1l-.3-.1v-.1l.3-.1s.2 0 .2-.1l.1-.1v-2.1s0-.1-.1-.1v-.1s0-.1-.1-.1v-.1s0-.1-.1-.1c0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1v-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1c2-1.9 3.8-4.2 5.1-6.9 5.9-11.8 4.9-26.2 4.1-39.2h.1c.1 0 .2.1.2.1h.3s.1 0 .1.1h.1s.1 0 .1.1l.2.1c1.7 1.2 5.4 2.9 5.6-.8 1.6.6-.3-1.8-1.3-2.5M36 23C32.8 7 58.4 4 59.3 19.6c.8 13-20 16.3-23.3 3.4m36.1 15c-1.3 1.4-2.7 1.2-4.1.7 0 1.9.4 3.9.1 5.9-.5.9-1.5 1-2.3 1.4-1.2-.2-2.1-.9-2.6-2l-.2-.1c-3.9 5.2-6.3-1.1-5.2-5-1.2.1-2.2-.2-3-1.5-1.4-2.6.7-5.8 3.4-6.3.7 3 8.7 2.6 10.1-.2 3.1 1.5 6.5 4.3 3.8 7.1m-7-17.5c-.9-13.8 20.3-17.5 23.4-4 3.5 15-20.8 18.9-23.4 4M41.7 17c-1.9 0-3.5 1.7-3.5 3.8s1.6 3.8 3.5 3.8 3.5-1.7 3.5-3.8-1.5-3.8-3.5-3.8m1.6 5.7c-.5 0-.8-.4-.8-1 0-.5.4-1 .8-1 .5 0 .8.4.8 1 0 .5-.3 1-.8 1m27.8-6.6c-1.9 0-3.4 1.7-3.4 3.8s1.5 3.8 3.4 3.8 3.4-1.7 3.4-3.8-1.5-3.8-3.4-3.8m1.6 5.6c-.4 0-.8-.4-.8-1 0-.5.4-1 .8-1s.8.4.8 1-.4 1-.8 1"},null,-1)])])}var OOe={render:CM},SOe=me({default:()=>xOe,render:()=>$M}),wOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function $M(e,t){return g(),S("svg",wOe,[...t[0]||(t[0]=[w("path",{d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438zm7.031 9.75-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157z"},null,-1)])])}var xOe={render:$M},kOe=me({default:()=>TOe,render:()=>PM}),AOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function PM(e,t){return g(),S("svg",AOe,[...t[0]||(t[0]=[w("path",{d:"M111.7 29.7 128 64l-16.3 34.3H16.3L0 64l16.3-34.3zm-5.5 5.7H20L6.3 64l13.6 28.6h86.3L119.8 64zm-76.3 19v8h9.2v-8.1h4.8v20.4h-4.7v-8.4H30v8.4h-4.8V54.4zm34.3 0v3.8h-6.5v16.5H53V58.2h-6.5v-3.8zm18.3 0v3.8H76v16.5h-4.7V58.2h-6.5v-3.8zm16.1.9c1.2.5 2.3 1.4 3.1 2.6.7 1.2 1.1 2.5 1 3.9.1 1.4-.3 2.7-1 3.9-.7 1.1-1.8 2-3.1 2.6-1.5.6-3.1.9-4.7.9h-4.1v5.6H85V54.4h8.9c1.6 0 3.2.3 4.7.9m-5.1 2.9h-3.8v7.1h3.8q2.1 0 3.3-.9c.8-.6 1.2-1.6 1.1-2.6 0-1.1-.3-2.1-1.1-2.6-.8-.7-1.9-1-3.3-1"},null,-1)])])}var TOe={render:PM},EOe=me({default:()=>COe,render:()=>IM}
15),_Oe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function IM(e,t){return g(),S("svg",_Oe,[...t[0]||(t[0]=[w("path",{d:"M11.26 15.27c3.37-.15 7.15-1.09 7-2.21a26 26 0 0 1-4.76.59c-3.62.16-6.58-.24-6.61-.9 0-.2.24-.4.69-.58-2.39-.64-3.67.53-3.69 1.22-.1 1.45 3.22 2.06 7.37 1.88m5.91 1.64a23 23 0 0 1-4.07.5c-3.09.14-5.61-.21-5.64-.77 0-.17.21-.34.59-.49-2-.55-3.13.45-3.15 1-.05 1.24 2.78 1.77 6.33 1.61 2.87-.1 6.25-1 5.94-1.85M3.61 20.8a.93.93 0 0 1 .29-.65c-2.09.1-2.54 1.13-2.51 1.76.07 1.39 4.67 2.31 10 2.05 4.44-.22 9.16-1 9.16-2.34a26.3 26.3 0 0 1-7.2 1.23c-5.35.26-9.67-.66-9.74-2.05"},null,-1),w("path",{d:"M22.4 12.65c-.55-1.48-2.67-2.34-4.74-1.57a2.47 2.47 0 0 0-1 .81c1.94-.56 3.83 0 4.34 1.41.45 1.21-.3 2.64-1.72 3.54a1.37 1.37 0 0 0 .92-.13c2.25-1.05 2.8-2.58 2.2-4.06m-9.88-1.38s-3.1-2.19-1.92-4.35S14.37 2.43 13.38 0c0 0 .12 1-3.12 3.91s-2.14 6.33 2.26 7.36"},null,-1),w("path",{d:"M15.17 4.83s-4.24 1.51-2.83 3.53c1 1.43 2.13 2 1.42 4 0 0 2.83-1.51.71-3.53s.7-4 .7-4M8.69 19.26c-1.6-.43-2.46.35-2.47.81 0 1 2.18 1.39 5 1.27 2.26-.11 4.73-.95 4.67-1.49a16.6 16.6 0 0 1-3.2.4c-2.43.11-4.41-.16-4.43-.61-.04-.13.13-.26.43-.38"},null,-1)])])}var COe={render:IM},$Oe=me({default:()=>IOe,render:()=>NM}),POe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function NM(e,t){return g(),S("svg",POe,[...t[0]||(t[0]=[w("path",{d:"M0 0h24v24H0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179z"},null,-1)])])}var IOe={render:NM},NOe=me({default:()=>MOe,render:()=>RM}),ROe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function RM(e,t){return g(),S("svg",ROe,[...t[0]||(t[0]=[w("path",{d:"M4.56 18.71c-1.41-4-.65-8.94 1.77-11.48A5.47 5.47 0 0 1 12 5.71h.15a.8.8 0 0 1 .22.12c4 1.65 4.28 8.57 1.28 11.41a4.15 4.15 0 0 0 3.08-1.35c2.12-2.23 2.76-6.62 1.49-10.22A7.75 7.75 0 0 0 12.81.54H12a11.5 11.5 0 0 0-5.42 21.6 10 10 0 0 1-2.02-3.43"},null,-1),w("path",{d:"M23.5 12a11.49 11.49 0 0 0-6.09-10.14 9.9 9.9 0 0 1 2 3.43c1.41 4 .65 9-1.77 11.5a5.42 5.42 0 0 1-4 1.75A6.5 6.5 0 0 1 12 18.3h-.15a.8.8 0 0 1-.22-.12c-4-1.65-4.29-8.57-1.29-11.41a4.14 4.14 0 0 0-3.11 1.32c-2.12 2.22-2.76 6.61-1.49 10.2a7.77 7.77 0 0 0 5.45 5.17H12A11.5 11.5 0 0 0 23.5 12"},null,-1)])])}var MOe={render:RM},LOe=me({default:()=>BOe,render:()=>MM}),DOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function MM(e,t){return g(),S("svg",DOe,[...t[0]||(t[0]=[w("circle",{cx:"64",cy:"36.57",r:"27.43"},null,-1),w("circle",{cx:"32.32",cy:"91.43",r:"27.43"},null,-1),w("circle",{cx:"95.68",cy:"91.43",r:"27.43"},null,-1)])])}var BOe={render:MM},UOe=me({default:()=>QOe,render:()=>LM}),jOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function LM(e,t){return g(),S("svg",jOe,[...t[0]||(t[0]=[w("path",{d:"M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z"},null,-1)])])}var QOe={render:LM},FOe=me({default:()=>VOe,render:()=>DM}),zOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function DM(e,t){return g(),S("svg",zOe,[...t[0]||(t[0]=[w("path",{d:"M21.75 5.52 13 .28a2 2 0 0 0-2 0L2.25 5.52a2 2 0 0 0-1 1.69v9.58a2 2 0 0 0 1 1.69l2.62 1.57a3.12 3.12 0 0 0 4.73-2.68V8.12a1 1 0 0 0-2 0v9.25a1.13 1.13 0 0 1-.57 1 1.14 1.14 0 0 1-1.13 0l-2.61-1.58V7.24L12 2l8.73 5.21v9.55L12 22l-1.7-1a1 1 0 1 0-1 1.71l1.72 1a2 2 0 0 0 2 0l8.74-5.24a2 2 0 0 0 1-1.69V7.21a2 2 0 0 0-1.01-1.69"},null,-1),w("path",{d:"M15.51 14.76a9.3 9.3 0 0 1-2.24 0 .85.85 0 0 1-.75-.85 1 1 0 0 0-2 0A2.87 2.87 0 0 0 13 16.75a12 12 0 0 0 1.36.08 12 12 0 0 0 1.37-.08 2.87 2.87 0 0 0 2.5-2.84A2.68 2.68 0 0 0 16 11.26l-2.91-.49a.69.69 0 0 1-.58-.68.85.85 0 0 1 .75-.85 9.3 9.3 0 0 1 2.24 0 .85.85 0 0 1 .75.85 1 1 0 0 0 2 0 2.87 2.87 0 0 0-2.5-2.84 12.5 12.5 0 0 0-2.73 0 2.87 2.87 0 0 0-2.51 2.84 2.68 2.68 0 0 0 2.25 2.65l2.91.49a.68.68 0 0 1 .58.68.85.85 0 0 1-.74.85"},null,-1)])])}var VOe={render:DM},HOe=me({default:()=>ZOe,render:()=>BM}
15),qOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function BM(e,t){return g(),S("svg",qOe,[...t[0]||(t[0]=[w("path",{d:"M63.877 125.392c-32.671 0-60.37-27.594-60.627-60.469a59.94 59.94 0 0 1 17.506-42.759 60.94 60.94 0 0 1 43.279-18.36 60.08 60.08 0 0 1 42.647 17.71 60.15 60.15 0 0 1 18.157 42.522c.151 33.604-26.864 61.021-60.469 61.363h-.493zm.19-118.406a57.77 57.77 0 0 0-41.01 17.427 56.78 56.78 0 0 0-16.63 40.484c.236 31.159 26.495 57.286 57.43 57.286h.414c31.863-.29 57.504-26.266 57.385-58.128a56.97 56.97 0 0 0-17.217-40.273A56.7 56.7 0 0 0 64.068 6.986z"},null,-1),w("path",{d:"M16.89 82.383V46.865h8.64v3.183h-4.583v29.218h4.584v3.183zm29.323-18.111c0 6.478-3.933 10.167-9.26 10.167s-8.877-4.156-8.877-9.831c0-5.939 3.722-10.121 9.167-10.121s8.97 4.36 8.97 9.785m-14.415.29c0 3.932 1.973 7.05 5.36 7.05s5.333-3.183 5.333-7.195c0-3.643-1.796-7.083-5.334-7.083s-5.392 3.328-5.392 7.307zm17.407-9.404c1.69-.29 3.407-.434 5.123-.428a9.17 9.17 0 0 1 5.537 1.223 4.06 4.06 0 0 1 2.006 3.61 4.48 4.48 0 0 1-3.183 4.183c2.269.46 3.9 2.46 3.9 4.775a5.02 5.02 0 0 1-1.861 3.978c-1.368 1.21-3.643 1.796-7.162 1.796a34 34 0 0 1-4.327-.257zm3.499 7.622h1.795c2.433 0 3.801-1.145 3.801-2.782s-1.368-2.644-3.61-2.644a9.8 9.8 0 0 0-2.006.145zm0 8.878c.618.065 1.243.092 1.86.078 2.263 0 4.262-.861 4.262-3.182s-1.94-3.183-4.373-3.183h-1.75zM69.54 54.901h3.517v12.554c0 5.334-2.577 7.116-6.365 7.116a9.3 9.3 0 0 1-2.973-.507l.428-2.834c.703.224 1.44.335 2.183.349 2.006 0 3.183-.921 3.183-4.262l.026-12.416zm13.527 10.456v2.434h-7.32v-2.434zm17.091 8.273a12.3 12.3 0 0 1-4.978.862c-6.129 0-9.851-3.834-9.851-9.707-.283-5.353 3.827-9.923 9.18-10.206.375-.02.757-.02 1.131.006a11.1 11.1 0 0 1 4.775.862l-.783 2.801a9.5 9.5 0 0 0-3.788-.75c-3.932 0-6.76 2.467-6.76 7.116 0 4.235 2.499 6.971 6.734 6.971a9.8 9.8 0 0 0 3.834-.717zM111.2 46.766v35.61h-8.641v-3.182h4.583V49.949h-4.583v-3.183h8.64z"},null,-1)])])}var ZOe={render:BM},XOe=me({default:()=>YOe,render:()=>UM}),WOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function UM(e,t){return g(),S("svg",WOe,[...t[0]||(t[0]=[w("path",{d:"M65.004 115.355c-.461-.894-1.004-2.796-1.356-3.601-.378-.711-1.46-2.692-1.984-3.332-1.164-1.332-1.437-1.438-1.809-3.23-.628-3.067-2.148-8.462-4.042-12.227-1.004-2-2.626-3.606-4.067-5.07-1.246-1.247-4.121-3.31-4.668-3.227-4.766.894-6.226 5.586-8.457 9.27-1.27 2.062-2.516 3.769-3.52 5.937-.898 1.98-.812 4.23-2.331 5.938a15.4 15.4 0 0 0-3.333 5.855c-.195.453-.546 4.957-1.003 6.016l7.02-.438c6.585.461 4.687 2.961 14.858 2.438l16.098-.54a25 25 0 0 0-1.433-3.792zM111.793 8.254H16.207C7.312 8.23.086 15.457.086 24.352v35.105c2.352-.812 5.578-5.75 6.668-6.934 1.789-2.062 2.16-4.77 3.059-6.378 2.062-3.793 2.433-6.477 7.101-6.477 2.164 0 3.063.516 4.5 2.516.996 1.332 2.79 3.957 3.602 5.668 1.004 1.98 2.523 4.582 3.254 5.125.515.351.972.722 1.433.894.707.27 1.356-.27 1.902-.629.622-.539.895-1.52 1.52-2.953.895-2.086 1.813-4.418 2.332-5.312.914-1.461 1.273-3.254 2.25-4.067 1.461-1.246 3.441-1.355 3.957-1.437 2.98-.625 4.336 1.437 5.777 2.707.973.894 2.243 2.605 3.246 4.851.708 1.793 1.606 3.52 2.067 4.5.351.98 1.266 2.606 1.789 4.582.543 1.711 1.809 3.067 2.352 3.961 0 0 .812 2.164 5.476 4.145a35 35 0 0 0 4.336 1.52c2.066.734 4.047.644 6.563.374 1.789 0 2.793-2.625 3.601-4.683.438-1.254.98-4.774 1.25-5.758.27-.996-.437-1.707.192-2.625.722-.977 1.164-1.082 1.519-2.332.914-2.793 5.957-2.875 8.832-2.875 2.414 0 2.063 2.332 6.125 1.52 2.336-.434 4.586.273 7.023.995 2.063.543 4.043 1.168 5.204 2.524.73.898 2.629 5.312.73 5.476.164.188.36.645.625.817-.46 1.707-2.25.46-3.332.27-1.355-.27-2.332 0-3.684.624-2.335.996-5.668.918-7.726 2.625-1.715 1.438-1.715 4.582-2.543 6.371 0 0-2.254 5.696-6.996 9.192-1.278.914-3.715 3.058-8.918 3.871-2.356.355-4.586.355-7.024.27-1.164-.079-2.332-.079-3.52-.079-.706 0-3.062-.109-2.96.164l-.27.645c.024.29.063.602.164.895.102.515.102.976.192 1.437 0 .98-.086 2.063 0 3.066.082 2.063.894 3.957 1.004 6.102.078 2.355 1.246 4.875 2.414 6.77.46.707 1.086.789 1.355 1.71.352.98 0 2.141.188 3.227.625 4.227 1.875 8.73 3.773 12.61v.078c2.332-.352 4.77-1.247 7.836-1.684 5.664-.832
1513.5-.461 18.54-.914 12.796-1.168 19.706 5.226 31.148 2.601V24.336c-.063-8.895-7.293-16.102-16.207-16.102zM64.086 83.855q0-.28 0 0m-34.457 14.75c.894-1.98 1.433-4.125 2.144-6.101.73-1.899 1.813-4.61 3.684-5.582-.246-.274-3.957-.375-4.934-.461-1.082-.086-2.171-.273-3.25-.438a135 135 0 0 1-6.125-1.265c-1.168-.274-5.21-1.715-6.02-2.067-2.085-.894-3.421-3.52-4.96-3.246-.977.188-1.98.54-2.605 1.54-.543.812-.731 2.242-1.083 3.226-.437 1.086-1.168 2.164-1.707 3.25-1.277 1.875-3.332 3.582-4.23 5.484-.191.457-.27.895-.457 1.356v21.683c1.082.188 2.16.371 3.328.73 8.996 2.438 11.164 2.606 19.98 1.63l.813-.11c.625-1.437 1.188-6.207 1.629-7.644.352-1.164.812-2.063.996-3.14.164-1.09 0-2.173-.102-3.15-.171-2.628 1.895-3.519 2.899-5.69zm0 0"},null,-1)])])}var YOe={render:UM},GOe=me({default:()=>JOe,render:()=>jM}),KOe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function jM(e,t){return g(),S("svg",KOe,[...t[0]||(t[0]=[w("path",{d:"M7.01 10.207h-.944l-.515 2.648h.838q.834 0 1.242-.314.408-.315.55-1.049.137-.705-.124-.995-.262-.29-1.047-.29M12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12s-5.373-6.312-12-6.312m-3.26 7.451c-.261.25-.575.438-.917.551q-.505.163-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65q1.195 0 1.744.628.549.627.33 1.752a2.8 2.8 0 0 1-.305.847q-.215.383-.561.703m4.024.715.543-2.799q.094-.478-.068-.651-.16-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218q1.15 0 1.586.401c.436.401.378.7.263 1.299l-.572 2.944zm7.597-2.265a2.8 2.8 0 0 1-.305.847q-.214.383-.561.703a2.44 2.44 0 0 1-.917.551q-.504.163-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649q1.195 0 1.744.628.55.626.331 1.751m-2.595-1.382h-.943l-.516 2.648h.838q.835 0 1.242-.314.407-.315.551-1.049.137-.705-.125-.995c-.262-.29-.524-.29-1.047-.29"},null,-1)])])}var JOe={render:jM},e4e=me({default:()=>n4e,render:()=>QM}),t4e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 121 121"};function QM(e,t){return g(),S("svg",t4e,[...t[0]||(t[0]=[w("path",{"fill-rule":"evenodd",d:"M73.7 58.9c-1.5-1.8-3.2-3.9-5-5.9C58.5 41.7 48.4 30.3 38 19.2c-4.7-5.1-6.2-10-.6-15.1C43-.9 48.5-.4 53.7 5.3 68.1 21.2 82.4 37.2 97 52.9c5.5 5.9 4.2 9.9-1.8 14.2-23 16.7-46 33.5-68.9 50.4-5.1 3.8-10.1 4.8-14.2-.9-4.6-6.2-.3-9.9 4.4-13.3 17-12.4 34-24.8 50.9-37.4 2.5-1.7 5.9-2.8 6.3-7m7.3 59.8c-6.2 0-12.4.2-18.6-.1-4.9-.2-7.9-3-7.8-8.2.1-4.9 2.5-8.6 7.5-8.7 13.5-.4 27.1-.3 40.7 0 4.3.1 7.5 2.9 7.5 7.4 0 5.1-2.7 9.1-8.2 9.5-7.2.4-14.2.1-21.1.1","clip-rule":"evenodd"},null,-1)])])}var n4e={render:QM},r4e=me({default:()=>i4e,render:()=>FM}),a4e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function FM(e,t){return g(),S("svg",a4e,[...t[0]||(t[0]=[w("path",{d:"m14.25.18.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z"},null,-1)])])}var i4e={render:FM},o4e=me({default:()=>l4e,render:()=>zM}
15),s4e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function zM(e,t){return g(),S("svg",s4e,[...t[0]||(t[0]=[w("path",{d:"M64 14.648c-35.346 0-64 19.19-64 42.863C0 78.275 22.046 95.589 51.316 99.53V86.699c-15.55-4.89-26.166-14.693-26.166-25.991 0-16.183 21.779-29.303 48.646-29.303 26.866 0 46.693 8.975 46.693 29.303 0 10.486-5.273 17.95-14.066 22.72 1.204.908 2.22 2.072 2.904 3.419l.388.655C121.025 79.772 128 69.189 128 57.51c0-23.672-28.654-42.863-64-42.863zm20.1 74.88c-2.612.257-5.322.41-8.114.462l.002 9.63a88 88 0 0 0 12.474-2.492l-.501-.941c-.68-1.268-1.347-2.543-2.033-3.807a41 41 0 0 0-1.828-2.851z"},null,-1),w("path",{"fill-rule":"evenodd",d:"M97.469 81.036s3.874 1.169 6.124 2.307c.78.396 2.132 1.184 3.106 2.22a8.4 8.4 0 0 1 1.42 2.04l15.266 25.74-24.674.01-11.537-21.666s-2.363-4.06-3.817-5.237c-1.213-.982-1.73-1.331-2.929-1.331h-5.862l.004 28.219-21.834.009V41.263h43.845s19.97.36 19.97 19.359S97.47 81.035 97.47 81.035zm-9.497-24.137-13.218-.009-.006 12.257 13.224-.004s6.124-.019 6.124-6.235c0-6.34-6.124-6.01-6.124-6.01z"},null,-1)])])}var l4e={render:zM},c4e=me({default:()=>d4e,render:()=>VM}),u4e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function VM(e,t){return g(),S("svg",u4e,[...t[0]||(t[0]=[w("path",{d:"M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75z"},null,-1)])])}var d4e={render:VM},f4e=me({default:()=>h4e,render:()=>HM}),p4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function HM(e,t){return g(),S("svg",p4e,[...t[0]||(t[0]=[w("path",{fill:"currentColor",d:"m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.
15036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481"},null,-1)])])}var h4e={render:HM},m4e=me({default:()=>b4e,render:()=>qM}),g4e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function qM(e,t){return g(),S("svg",g4e,[...t[0]||(t[0]=[w("path",{d:"M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.635c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.636c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912z"},null,-1)])])}var b4e={render:qM},y4e=me({default:()=>O4e,render:()=>ZM}),v4e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 17 17"};function ZM(e,t){return g(),S("svg",v4e,[...t[0]||(t[0]=[w("path",{d:"m2.4 11.4 5.1-4.6-5.1-4.7L.7 3.7l3.4 3v.1l-3.4 3zm14.2 3.3v-2.2h-8v2.2z"},null,-1)])])}var O4e={render:ZM},S4e=me({default:()=>x4e,render:()=>XM}),w4e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function XM(e,t){return g(),S("svg",w4e,[...t[0]||(t[0]=[w("path",{d:"M117.3 87.3c.2-.6.4-1.3.5-1.9 7-28-10.1-61.2-39.2-78.6C91.4 24 97 44.9 92 63.2c-.4 1.6-1 3.2-1.6 4.7-.6-.4-1.5-.9-2.5-1.5 0 0-28.9-17.9-60.2-49.4-.9-.8 16.7 25 36.6 46.1-9.4-5.3-35.5-24.3-52-39.4 2 3.4 4.4 6.7 7.1 9.8C33.1 51 51.2 72.6 72.7 89.2c-15.2 9.3-36.6 10-57.9 0C9.5 86.7 4.6 83.7 0 80.3c9 14.4 22.9 26.9 39.9 34.2 20.2 8.7 40.3 8.1 55.2.1.1 0 .1-.1.2-.1.7-.4 1.3-.7 2-1.1 7.2-3.7 21.3-7.4 28.9 7.4 1.7 3.6 5.7-15.6-8.9-33.5"},null,-1)])])}var x4e={render:XM},k4e=me({default:()=>T4e,render:()=>WM}),A4e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function WM(e,t){return g(),S("svg",A4e,[...t[0]||(t[0]=[w("path",{d:"M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75q.918 0 1.627.111a6.4 6.4 0 0 1 1.306.34v2.458a4 4 0 0 0-.643-.361 5 5 0 0 0-.717-.26 5.5 5.5 0 0 0-1.426-.2q-.45 0-.819.086a2.1 2.1 0 0 0-.623.242q-.254.156-.393.374a.9.9 0 0 0-.14.49q0 .294.156.529.156.234.443.444c.287.21.423.276.696.41q.41.203.926.416.705.296 1.266.628.561.333.963.753.402.418.614.957.213.538.214 1.253 0 .986-.373 1.656a3 3 0 0 1-1.012 1.085 4.4 4.4 0 0 1-1.487.596q-.85.18-1.79.18a10 10 0 0 1-1.84-.164 5.5 5.5 0 0 1-1.512-.493v-2.63a5.03 5.03 0 0 0 3.237 1.2q.5 0 .872-.09.373-.09.623-.25.249-.162.373-.38a1.02 1.02 0 0 0-.074-1.089 2.1 2.1 0 0 0-.537-.5 5.6 5.6 0 0 0-.807-.444 28 28 0 0 0-1.007-.436q-1.377-.575-2.053-1.405t-.676-2.005q0-.92.369-1.582.368-.662 1.004-1.089a4.5 4.5 0 0 1 1.47-.629 7.5 7.5 0 0 1 1.77-.201m-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z"},null,-1)])])}var T4e={render:WM},E4e=me({default:()=>C4e,render:()=>YM}),_4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function YM(e,t){return g(),S("svg",_4e,[...t[0]||(t[0]=[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.8 4.6 1.4 11c-.6.6-.6 1.6 0 2l6.2 6.2m8.6-14.6 6.2 6.2c.6.6.6 1.6 0 2l-6.2 6.6"},null,-1)])])}var C4e={render:YM},$4e=me({default:()=>I4e,render:()=>GM}),P4e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function GM(e,t){return g(),S("svg",P4e,[...t[0]||(t[0]=[w("path",{d:"M23.55 10.91 13.09.45a1.55 1.55 0 0 0-2.18 0L8.46 2.9 11 5.48a2.06 2.06 0 0 1 1-.23 2.25 2.25 0 0 1 2.25 2.25 2.2 2.2 0 0 1-.22 1l2.19 2.2a2 2 0 1 1-1.06 1.06L13 9.52a1 1 0 0 1-.21.09v5.54a2 2 0 1 1-1.5 0V9.61A2.24 2.24 0 0 1 9.75 7.5a2.2 2.2 0 0 1 .22-1L7.4 4 .45 11a1.55 1.55 0 0 0 0 2.18l10.46 10.37a1.55 1.55 0 0 0 2.18 0l10.46-10.46a1.55 1.55 0 0 0 0-2.18"},null,-1)])])}var I4e={render:GM},N4e=me({default:()=>M4e,render:()=>KM}
15),R4e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function KM(e,t){return g(),S("svg",R4e,[...t[0]||(t[0]=[w("path",{d:"M12.001 4.8q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624C13.666 10.618 15.027 12 18.001 12q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C16.337 6.182 14.976 4.8 12.001 4.8m-6 7.2q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624 1.177 1.194 2.538 2.576 5.512 2.576q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C10.337 13.382 8.976 12 6.001 12"},null,-1)])])}var M4e={render:KM},L4e=me({default:()=>B4e,render:()=>JM}),D4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function JM(e,t){return g(),S("svg",D4e,[...t[0]||(t[0]=[w("path",{fill:"currentColor","fill-rule":"evenodd",d:"M2 11.997C2 20.066 3.934 22 11.997 22 20.066 22 22 20.066 22 11.997 22 3.934 20.06 2 11.997 2S2 3.934 2 11.997m4.034 2.081 3.129-7.132a2.96 2.96 0 0 1 2.828-1.848c1.285 0 2.302.649 2.834 1.848l3.135 7.132c.14.343.263.796.263 1.182 0 1.77-1.243 3.012-3.012 3.012-.606 0-1.084-.153-1.567-.306a5.1 5.1 0 0 0-1.653-.325c-.643 0-1.157.16-1.665.325-.49.153-.968.306-1.55.306A2.89 2.89 0 0 1 5.76 15.26c0-.392.122-.839.27-1.182zm5.963-5.889L8.905 15.2c.919-.429 1.972-.637 3.092-.637 1.084 0 2.18.208 3.06.637z","clip-rule":"evenodd"},null,-1)])])}var B4e={render:JM},U4e=me({default:()=>Q4e,render:()=>eL}),j4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function eL(e,t){return g(),S("svg",j4e)}var Q4e={render:eL},F4e=me({default:()=>V4e,render:()=>tL}),z4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tL(e,t){return g(),S("svg",z4e,[...t[0]||(t[0]=[Vc('
vendor: 16,304 bytes, line 15
15<path fill="#fff" fill-rule="evenodd" d="M11.9 7.2h8.4v3.4h-8.4z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M4.3 18.3c-.74 0-1.384-.403-1.73-1a2 2 0 0 0 1.73 3h2v-2z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M13.298 7.738 20.3 7.3v-1a2 2 0 0 0-2-2h-9l-.25-.433a.29.29 0 0 0-.5 0L8.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L7.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L6.3 4.3h-.006l-.415-.414a.29.29 0 0 0-.482.13l-.137.51-.52-.14a.29.29 0 0 0-.353.354l.139.52-.51.136a.29.29 0 0 0-.13.483l.414.415V6.3l-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8l-7.002-.438a1.065 1.065 0 0 1 0-2.124" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M16.3 20.3h3v-4h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M17.3 14.3h3v-2h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M8.3 7.55a.25.25 0 0 1-.25-.25.75.75 0 0 0-1.5 0 .25.25 0 0 1-.5 0 1.25 1.25 0 0 1 2.5 0 .25.25 0 0 1-.25.25" clip-rule="evenodd"></path><path fill="#FFFF50" fill-rule="evenodd" d="M12.3 20.3h6a2 2 0 0 0 2-2v-7h-6a2 2 0 0 0-2 2z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M18.802 14.4h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0-4.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 1.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2M20.3 8.161h-.003c-.31.01-.456.32-.585.592-.134.285-.238.47-.409.465-.189-.007-.297-.22-.411-.446-.132-.26-.282-.554-.596-.543-.305.01-.452.28-.581.517-.138.253-.232.406-.412.4-.193-.008-.295-.181-.414-.382-.132-.224-.285-.475-.593-.467-.3.01-.447.239-.577.44-.137.213-.233.343-.416.336-.198-.007-.3-.151-.417-.318-.133-.187-.282-.4-.59-.39-.293.01-.44.198-.57.363-.123.156-.219.28-.422.272a.1.1 0 0 0-.008.2c.302.01.455-.18.588-.349.117-.15.219-.278.419-.285.192-.008.283.111.42.304.13.184.276.392.572.402.31.01.46-.221.592-.426.119-.184.22-.342.415-.349.18-.006.277.135.415.368.13.22.276.47.579.48.312.01.463-.262.594-.503.114-.21.222-.406.412-.413.18-.004.273.16.411.433.13.255.276.544.583.556h.017c.306 0 .452-.308.58-.58.114-.24.222-.468.407-.477z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 20.3h4v-4h-4z" clip-rule="evenodd"></path><path fill="#D8D8D8" d="m20.276 9.922-7.778 2.084a.2.2 0 0 0-.141.245l.76 2.837a.2.2 0 0 0 .245.141l7.777-2.084a.2.2 0 0 0 .142-.245l-.76-2.836a.2.2 0 0 0-.245-.142"></path><path fill="#4A4A4A" d="m14.845 13.56-.278.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.56-.15-.28.075a.1.1 0 0 0-.07.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.558-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.559-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m13.082 14.032 1.187-.318a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-1.187.318a.1.1 0 0 1-.123-.07l-.075-.279a.1.1 0 0 1 .071-.122m6.533-1.75 1.187-.319a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-1.188.318a.1.1 0 0 1-.122-.07l-.075-.28a.1.1 0 0 1 .071-.122Zm-6.835.621.453-.121a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-.454.121a.1.1 0 0 1-.122-.07l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.792 12.632-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.483 10.771-.454.122a.1.1 0 0 1-.122-.071l-.075-.278a.1.1 0 0 1 .071-.123l.453-.121a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m12.93 13.462.645-.173a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-.646.173a.1.1 0 0 1-.123-.071l-.074-.278a.1.1 0 0 1 .07-.123Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m14.151 13.135-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.56-.15-.28.075a.1.1 0 0 0-.07.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Zm.558-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07m.558-.15-.277.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.039 11.557.61-.164a.1.1 0 0 1 .123.071l.074.279a.1.1 0 0 1-.07.122l-.61.164a.1.1 0 0 1-.123-.071l-.075-.278a.1.1 0 0 1 .07-.123z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.517 14.54-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m15.474 14.016 2.69-.72a.1.1 0 0 1 .122.07l.074.278a.1.1 0 0 1-.07.123l-2.69.72a.1.1 0 0 1-.122-.07l-.074-.279a.1.1 0 0 1 .07-.122m2.97-.796.348-.093a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122l-.349.094a.1.1 0 0 1-.122-.071l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.351 12.977-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm1.048-.281-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm-.845.442-.028-.104a.1.1 0 0 1 .07-.123l.28-.074a.1.1 0 0 1 .122.07l.027.105zm.49-.057.028.105a.1.1 0 0 1-.07.122l-.279.075a.1.1 0 0 1-.122-.07l-.028-.105zm-.344-2.893-7.652 2.05a.108.108 0 1 0 .057.21l7.65-2.05a.108.108 0 1 0-.055-.21"></path><path fill="#D8D8D8" d="m13.075 12-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.603-.162-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 0 0-.038-.14m.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.038-.14Zm.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.301.08a.072.072 0 1 0 .037.14l.301-.08a.072.072 0 1 0-.037-.14m.464-.124-.301.08a.072.072 0 0 0 .037.14l.302-.08a.072.072 0 0 0-.038-.14" opacity=".136"></path><path fill="#44D860" fill-rule="evenodd" d="M16.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 14.3h4v-2h-4z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M15.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M16.3 6.175a.3.3 0 0 1-.096-.019.3.3 0 0 1-.081-.054.3.3 0 0 1-.054-.081.26.26 0 0 1 0-.192.26.26 0 0 1 .092-.112.3.3 0 0 1 .09-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .073.177.25.25 0 0 1-.154.231.3.3 0 0 1-.096.02Zm2-.125a.26.26 0 0 1-.208-.11.26.26 0 0 1-.042-.139.26.26 0 0 1 .11-.209.3.3 0 0 1 .091-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .054.273l-.023.043-.031.038a.26.26 0 0 1-.177.073" clip-rule="evenodd"></path>
15',29)])])}var V4e={render:tL},H4e=me({default:()=>Z4e,render:()=>nL}),q4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function nL(e,t){return g(),S("svg",q4e,[...t[0]||(t[0]=[w("path",{fill:"#512BD4",d:"M22 2H2v20h20z"},null,-1),w("path",{fill:"#fff",d:"M5.565 14.778a.5.5 0 0 1-.361-.142.47.47 0 0 1-.148-.344.47.47 0 0 1 .148-.348.5.5 0 0 1 .36-.145q.216 0 .365.145a.46.46 0 0 1 .152.348.46.46 0 0 1-.152.344.5.5 0 0 1-.364.142m5.653-.08h-.92l-2.421-3.82a1.7 1.7 0 0 1-.152-.301h-.021q.028.166.028.714v3.407h-.813V9.5h.98l2.34 3.73q.148.232.19.319h.015a5 5 0 0 1-.036-.7V9.5h.81zm3.96 0h-2.846V9.5h2.732v.732h-1.89v1.472h1.742v.728h-1.743v1.537h2.005zm4.044-4.466h-1.456v4.466h-.842v-4.466h-1.453V9.5h3.751z"},null,-1)])])}var Z4e={render:nL},X4e=me({default:()=>Y4e,render:()=>rL}),W4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rL(e,t){return g(),S("svg",W4e,[...t[0]||(t[0]=[Vc('<path fill="#333" fill-rule="evenodd" d="M18.578 20.398A9.98 9.98 0 0 0 22 12.866c0-5.523-4.477-10-10-10s-10 4.477-10 10a9.97 9.97 0 0 0 3.24 7.369l.01-.064 13.123-4.297z" clip-rule="evenodd"></path><path fill="#CCC" d="m9.419 4.067-1.774-.264.265-.081q.242-.076.444-.228l.042-.032a1.22 1.22 0 0 0 .466-.778l.02-.124q.032-.202-.003-.403a.073.073 0 0 1 .1-.08l.072.03q.136.056.263.132l.302.182c.4.242.752.558 1.036.931l.2.264a1.33 1.33 0 0 0 .618.45l.14.05-.732.03a8 8 0 0 1-1.46-.08Z"></path><path fill="#CCC" d="m8.966 5.64.526-.962a.03.03 0 0 0 0-.03l-.179-.378a.68.68 0 0 0-.614-.388l-.05-.002a4.7 4.7 0 0 1-1.017-.148l-.065-.017a4 4 0 0 1-.79-.297l-.111-.055a3 3 0 0 1-.474-.3l-.147-.115a.1.1 0 0 0-.14.02 1 1 0 0 0-.185.47l-.027.235a2 2 0 0 0-.004.379l.065.734c.049.547.237 1.071.548 1.524l.066.097q.144.209.331.38a.1.1 0 0 0 .064.027A2.28 2.28 0 0 0 8.966 5.64"></path><path fill="#EDEDED" d="m6.976 6.832.625-.27a.45.45 0 1 0-.458-.769l-.148.117a1 1 0 0 0-.097.094l-.356.428a.15.15 0 0 0 .009.203l.11.126a.275.275 0 0 0 .315.071"></path><path fill="#B2B2B2" d="m7.78 3.758-.018.006.057.018c.247.08.504.125.763.138a.1.1 0 0 0 .038-.005l.118-.034.059-.02-.374-.08a.3.3 0 0 1-.134-.066.063.063 0 0 1 0-.096l.056-.046a.6.6 0 0 0 .157-.2c-.216.171-.46.301-.721.385Z"></path><path fill="#fff" d="M9.92 10.578 4.825 19.69a.078.078 0 0 1-.124.017l-.102-.103-.43-.488-.274-.354a8 8 0 0 1-.693-1.067l-.04-.072a8 8 0 0 1-.536-1.24l-.137-.412a5.55 5.55 0 0 1-.139-2.295l.005-.032a5.7 5.7 0 0 1 .24-.988l.226-.669.17-.356a5 5 0 0 1 1.067-1.473l.215-.204a3.8 3.8 0 0 1 1.576-.897 3 3 0 0 1-.422.084l-.281.033-.215.02-.235.04-.234.021-.156.017-.113.007c-.036.002-.053-.044-.024-.065l.157-.076a2.65 2.65 0 0 0 1.19-1.135l.174-.271a2.6 2.6 0 0 1 .808-.802l.067-.043q.182-.115.385-.187l.615-.217a.43.43 0 0 0 .253-.236l.009-.022a.34.34 0 0 0-.083-.38l-.108-.099-.018-.02-.696-.926-.555-.764a.97.97 0 0 1-.184-.517.04.04 0 0 1 .056-.038l.6.288a2.38 2.38 0 0 0 1.666.148q.195-.053.394-.075l.276-.028a5.7 5.7 0 0 1 2.064.17l.058.016.656.236a3 3 0 0 1 1.785 1.756l.138.536a2.17 2.17 0 0 0 .863 1.246l.35.244q.232.162.483.287l.775.388a.062.062 0 0 1 .022.093 2.1 2.1 0 0 1-.82.644l-.449.195a4 4 0 0 1-.55.193l-.33.088a5.5 5.5 0 0 1-1.417.188h-.79a1.3 1.3 0 0 1-.477-.091 1.3 1.3 0 0 0-1.615.576Z"></path><path fill="#666" d="m12.593 7.292.344.004c.047 0 .057-.065.013-.079a1.4 1.4 0 0 1-.212-.087l-.269-.139a2.8 2.8 0 0 1-.51-.338l-.053-.044q-.18-.15-.323-.334l-.06-.078a.034.034 0 0 0-.062.023c.04.598.533 1.065 1.132 1.072"></path><path fill="#CCC" d="m5.212 19.834 5.824-5.195a7.8 7.8 0 0 0 1.417-1.677l.035-.057a2.3 2.3 0 0 0 .237-1.239l-.052-.587a1.66 1.66 0 0 0-.424-.97.1.1 0 0 0-.036-.02l-.936-.192a4.2 4.2 0 0 0-2.092-.086l-.037.008-.544.127a6.74 6.74 0 0 0-3.94 2.63l-.023.034a6.4 6.4 0 0 0-.665 1.168l-.032.074a6.07 6.07 0 0 0-.441 3.31l.054.367a3.7 3.7 0 0 0 .932 1.96l.297.324a.304.304 0 0 0 .426.021"></path><path fill="#5E5E5E" d="m10.31 12.9-.018.01c-.492.281-.756.811-.73 1.377.007.16.168.308.323.264l.285-.081a2.6 2.6 0 0 0 1.001-.539l.829-.713.246-.182a6.6 6.6 0 0 1 4.979-1.209c.054.009.056.086.002.097l-.207.043-.095.033a1 1 0 0 0-.48.359.04.04 0 0 0 .044.062l.068-.021a3.2 3.2 0 0 1 1.184-.132l.157.012a2.86 2.86 0 0 1 2.159 1.137l.192.256c.57.758.812 1.714.67 2.652l-.074.49a4.7 4.7 0 0 1-.713 1.87l-.027.04-.41.547-.449.508-.411.395q-.566.542-1.227.962l-.14.088-.266.127c-.069.033-.126-.061-.065-.107l.37-.352.077-.08c.206-.216.355-.482.431-.77l.035-.134a.715.715 0 0 0-.549-.886.7.7 0 0 0-.583.146l-.367.299-.649.53a8 8 0 0 1-1.376.902l-.67.345-1.133.43-.238.064a8 8 0 0 1-1.263.235l-.316.032H9.891l-1.348-.146-.73-.158a4.55 4.55 0 0 1-1.91-.917l-.563-.458a3.02 3.02 0 0 1-1.177-2.168l-.034-.45.04-.631a4.6 4.6 0 0 1 1.956-3.483l.12-.084a5.2 5.2 0 0 1 1.646-.763l.396-.105a3.4 3.4 0 0 1 1.577-.042l.413.086c.104.022.126.16.034.212Z"></path>',9)])])}var Y4e={render:rL},G4e=me({default:()=>J4e,render:()=>aL}),K4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function aL(e,t){return g(),S("svg",K4e,[...t[0]||(t[0]=[w("path",{fill:"currentColor",d:"m16.378 12.034-4.148-5.53h.507c.369 0 .738.185.968.461l3.272 4.286 3.226-4.24c.322-.322.691-.507 1.06-.507h.553l-4.194 5.53L22 17.841h-.553c-.369 0-.737-.185-.968-.507l-3.456-4.516-3.456 4.516c-.23.322-.6.46-.968.46h-.553zm-13.456.461v.369c0 1.935 1.29 3.686 3.18 4.147a4.15 4.15 0 0 0 4.654-2.258c.138-.23.368-.415.645-.415h.46a5.07 5.07 0 0 1-4.792 3.687C4.212 18.025 2 15.583 2 12.541v-1.29c0-2.489 1.751-4.747 4.24-5.207a5.07 5.07 0 0 1 5.898 5.069v1.382zm0-.921h8.295v-.461a4.148 4.148 0 0 0-5.07-4.056c-1.935.461-3.225 2.212-3.225 4.378z"},null,-1)])])}var J4e={render:aL},eSe=me({default:()=>nSe,render:()=>iL}),tSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function iL(e,t){return g(),S("svg",tSe,[...t[0]||(t[0]=[w("path",{fill:"currentColor",d:"M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m-.7 4.5h6.3L11.3 11h4.3l-9.2 6.4 2-4.4 1-2 2-4.5z"},null,-1)])])}var nSe={render:iL},rSe=me({default:()=>iSe,render:()=>oL}),aSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function oL(e,t){return g(),S("svg",aSe,[...t[0]||(t[0]=[w("path",{fill:"currentColor",d:"M23.241 7.492 24 5.536l-.031-.125-7.479 1.971c.798-1.158.524-2.08.524-2.08s-2.386 1.525-4.193 1.486c-1.807-.04-2.386-.525-5.155.36-2.769.883-3.551 3.59-4.357 4.177-.798.579-3.309 2.51-3.309 2.51l2.269-.727s-.642.61-1.964 2.386v.008c.211.297 1.142 1.525 2.065 1.26.102-.032.22-.087.352-.15.415.236.97.462 1.573.525 0 0-.407-.47-.751-1.017l.281-.18-.047.031.869.313-.094-.813h.008l.844.313-.101-.744.32-.156.884-3.348 3.661-2.503-.289.735c-.743 1.823-2.136 2.253-2.136 2.253l-.578.227c-.438.508-.618.634-.767 2.354.352-.093.68-.11.986-.03 1.564.422 2.104 2.307 1.681 2.831-.101.125-.352.352-.672.61H7.76l-.008.516-.062.055h-.65l-.007.5-.173.126c-.602.016-1.376-.516-1.376-.516.008.485.406 1.228.406 1.228l.07-.04-.062.048s1.627 1.08 2.652.68c.908-.36 3.262-2.214 5.296-3.09l6.149-1.627.813-2.096-4.685 1.236V13.14l5.499-1.448.814-2.104-6.313 1.666V9.37zm-11.163 3.997 1.463-.383.016.07-.454 1.181-1.51.4zm.5 2.527-1.509.399.493-1.268 1.455-.383.023.07zm1.972-.423-1.51.4.493-1.268 1.455-.383.024.07z"},null,-1)])])}
15var iSe={render:oL},oSe=me({default:()=>lSe,render:()=>sL}),sSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function sL(e,t){return g(),S("svg",sSe,[...t[0]||(t[0]=[w("path",{fill:"currentColor",d:"M1.81 10.714c-.046 0-.058-.023-.034-.058l.245-.316c.023-.035.082-.058.128-.058h4.17c.047 0 .059.035.035.07l-.198.304c-.024.035-.082.07-.117.07zM.048 11.789c-.047 0-.059-.024-.035-.059l.245-.315c.023-.035.082-.059.128-.059h5.327c.047 0 .07.036.058.07l-.093.28c-.012.048-.058.07-.105.07zm2.826 1.074c-.046 0-.058-.035-.035-.07l.164-.292c.023-.035.07-.07.117-.07h2.336c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082l-2.546-.012Zm12.125-2.36-1.962.515c-.175.046-.187.058-.339-.117a1.6 1.6 0 0 0-.549-.444 2.03 2.03 0 0 0-2.114.175 2.49 2.49 0 0 0-1.192 2.22c.012.934.655 1.705 1.577 1.833.795.106 1.46-.175 1.986-.77l.316-.433h-2.255c-.245 0-.304-.151-.222-.35.152-.362.432-.97.596-1.273a.32.32 0 0 1 .292-.187h4.252c-.024.315-.024.63-.07.946a5 5 0 0 1-.958 2.29 4.87 4.87 0 0 1-3.33 1.985 4.14 4.14 0 0 1-3.141-.77A3.67 3.67 0 0 1 6.4 13.528a4.58 4.58 0 0 1 .993-3.422 5.2 5.2 0 0 1 3.27-2.021c1.099-.199 2.15-.07 3.096.572.62.409 1.063.97 1.355 1.647.07.105.024.164-.117.199Z"},null,-1),w("path",{fill:"currentColor",d:"M18.865 16.963a4.38 4.38 0 0 1-2.85-1.028 3.67 3.67 0 0 1-1.262-2.254 4.46 4.46 0 0 1 .946-3.528 4.9 4.9 0 0 1 3.27-1.95 4.32 4.32 0 0 1 3.33.595 3.63 3.63 0 0 1 1.647 2.605 4.51 4.51 0 0 1-1.343 3.96 5.35 5.35 0 0 1-2.804 1.495c-.315.058-.63.07-.934.105m2.78-4.719c-.012-.152-.012-.268-.035-.385a1.93 1.93 0 0 0-2.383-1.554c-1.087.245-1.787.935-2.044 2.033-.21.91.233 1.834 1.074 2.207.643.28 1.285.246 1.904-.07a2.56 2.56 0 0 0 1.484-2.23Z"},null,-1)])])}var lSe={render:sL},cSe=me({default:()=>dSe,render:()=>lL}),uSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function lL(e,t){return g(),S("svg",uSe,[...t[0]||(t[0]=[w("path",{fill:"#FF5B11",d:"M12.371 1.736q.08-.01.141.04a76 76 0 0 1 4.217 5.662 28 28 0 0 1 2.49 4.659q1.64 4.374-1.707 7.61-2.928 2.475-6.747 1.928-4.564-.93-6.205-5.281a7.4 7.4 0 0 1-.28-2.891 17.3 17.3 0 0 1 1.204-4.9 7.3 7.3 0 0 1 1.044-1.767q.525.625 1.004 1.285.222.232.462.442a38 38 0 0 1 4.377-6.787",opacity:".993"},null,-1),w("path",{fill:"#FF9758",d:"M12.09 5.962a42.5 42.5 0 0 1 3.996 5.462q.56.959.924 2.008.758 2.982-1.627 4.92-2.306 1.622-5.06.963-2.97-.921-3.433-3.996a4.25 4.25 0 0 1 .2-1.887c.297-.754.66-1.48 1.085-2.168L9.38 9.495q1.367-1.758 2.71-3.534Z"},null,-1)])])}var dSe={render:lL},fSe=me({default:()=>hSe,render:()=>cL}),pSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cL(e,t){return g(),S("svg",pSe,[...t[0]||(t[0]=[w("path",{fill:"#FF2D20",d:"M21.217 6.8a.3.3 0 0 1 .012.076v4.078a.3.3 0 0 1-.15.26l-3.424 1.969v3.907a.3.3 0 0 1-.147.259l-7.15 4.111q-.023.014-.05.024l-.021.007a.3.3 0 0 1-.152 0l-.024-.01c-.017-.007-.033-.011-.048-.02l-7.142-4.112a.3.3 0 0 1-.15-.26V4.857q0-.043.012-.079c0-.01.007-.016.01-.023a.2.2 0 0 1 .019-.048l.021-.026.024-.036.03-.024.034-.023L6.492 2.54a.29.29 0 0 1 .298 0l3.573 2.053.033.024.029.024.026.036.022.023.019.048c0 .01.007.017.01.024a.4.4 0 0 1 .009.08v7.643l2.978-1.713v-3.91c0-.023.003-.052.01-.076l.01-.026.018-.047.022-.024.026-.036.029-.024.033-.023L17.21 4.56a.3.3 0 0 1 .298 0l3.57 2.058.034.024c.01.01.022.014.029.024q.017.015.026.035l.021.024c.01.017.015.03.02.048l.009.023zm-.58 3.98V7.392l-1.252.719-1.727.994v3.393l2.978-1.713zm-3.576 6.138v-3.395l-1.7.971-4.85 2.77v3.425l6.55-3.77ZM3.366 5.37v11.548l6.55 3.769V17.26l-3.421-1.934h-.003l-.03-.024c-.01-.01-.022-.014-.03-.024-.011-.01-.018-.024-.025-.03l-.024-.032-.014-.038q-.009-.015-.015-.033l-.007-.043-.002-.033V7.08l-1.728-.994-1.253-.716zm3.276-2.23L3.666 4.857 6.64 6.569l2.976-1.713-2.974-1.713zM8.19 13.833l1.727-.992V5.37l-1.247.718-1.727.995v7.47l1.249-.72zm9.169-8.667-2.974 1.713 2.974 1.713 2.974-1.713zm-.297 3.943-1.728-.995-1.249-.718v3.385l1.727.995 1.25.72v-3.39zm-6.845 7.639 4.365-2.491 2.182-1.244L13.79 11.3l-3.426 1.972-3.117 1.796z"},null,-1)])])}var hSe={render:cL},mSe=me({default:()=>bSe,render:()=>uL}),gSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function uL(e,t){return g(),S("svg",gSe,[...t[0]||(t[0]=[Vc('<g fill="#EDB641" clip-path="url(#a)"><path d="m5.33 10.983.419 1.29H7.11l-1.1.796.42 1.29-1.101-.797-1.09.791.419-1.29-1.1-.796H4.92l.42-1.289-.011.005Zm1.954-4.245.362 1.111h1.169l-.944.687.362 1.111-.949-.681-.943.681.351-1.111-.943-.687h1.169l.361-1.11h.005ZM1.31 13.504l.21.65h.68l-.55.409.21.65-.55-.404-.556.404.21-.65-.551-.404h.681l.21-.65.005-.005Z"></path><path d="M9.197 15.684a19 19 0 0 0 2.505-1.378 22.6 22.6 0 0 0 3.092-2.6l-.613-.408-.534-.362 1.692-.063.545-.02.147-.525.461-1.635.587 1.588.189.514.545-.027 1.693-.062-1.332 1.048-.43.335.19.514.586 1.588-1.41-.944-.45-.298-.43.335-1.331 1.048.23-.812.231-.818.026-.105a21 21 0 0 1-5.24 2.815c-.315.104-.63.188-.944.267zm-3.186 1.242a16.1 16.1 0 0 0 8.081-2.494l-.535 1.923 3.145-2.479 3.328 2.222-1.384-3.752 3.144-2.474-4.003.158-1.384-3.758-1.09 3.852-3.999.157 2.317 1.546c-1.52 1.384-5.346 4.34-10.413 4.538A14 14 0 0 1 0 16.11s2.52.953 6.016.817h-.005Z"></path><path d="M16.408 4.412a7.588 7.588 0 0 0-7.242 9.862q.495-.25.943-.508a6.53 6.53 0 0 1 6.3-8.306 6.54 6.54 0 1 1-4.916 10.848c-.351.136-.703.262-1.059.367a7.588 7.588 0 1 0 5.974-12.263"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"></path></clipPath></defs>',2)])])}var bSe={render:uL},ySe=me({default:()=>OSe,render:()=>dL}),vSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function dL(e,t){return g(),S("svg",vSe,[...t[0]||(t[0]=[w("path",{fill:"#E0234E","fill-rule":"evenodd",d:"M13.776 2.04c-.144 0-.279.03-.403.071.264.176.409.409.48.672.006.036.016.062.021.098q.009.046.01.093c.021.455-.118.511-.216.78-.15.346-.109.718.072 1.01
157a.6.6 0 0 0 .062.114c-.196-1.307.894-1.503 1.095-1.91.016-.357-.279-.595-.511-.76a1.14 1.14 0 0 0-.61-.176Zm1.643.294c-.021.118-.005.087-.01.15-.006.04-.006.092-.01.134q-.016.063-.037.124a1 1 0 0 1-.042.124c-.02.041-.035.077-.056.118-.016.021-.026.042-.042.062l-.03.047a2 2 0 0 1-.078.103c-.03.031-.057.067-.093.093v.005c-.031.026-.062.057-.098.083-.108.082-.233.145-.346.222-.036.026-.073.046-.103.078a1 1 0 0 0-.099.082c-.036.031-.062.062-.093.098-.025.031-.056.067-.077.104q-.039.052-.072.108c-.021.041-.036.077-.057.119-.016.041-.031.077-.042.119a2 2 0 0 0-.036.129c-.005.02-.005.046-.01.067-.005.02-.005.041-.01.062 0 .041-.005.088-.005.129q-.001.046.005.093 0 .06.015.13.01.06.026.123l.041.124c.01.026.026.052.037.072l-1.188-.46a13 13 0 0 0-.6-.154l-.325-.078a10 10 0 0 0-.94-.14c-.01 0-.016-.004-.026-.004a9 9 0 0 0-1.601-.021c-.315.02-.63.062-.945.114q-.116.017-.233.04-.232.048-.465.104l-.232.062c-.077.031-.15.067-.222.098l-.17.078c-.01.005-.021.005-.026.01-.052.026-.098.047-.145.073a2 2 0 0 0-.196.098c-.036.015-.072.036-.104.051a3 3 0 0 0-.305.18c-.035.027-.071.048-.103.073-.005.005-.01.005-.015.01a1 1 0 0 0-.098.073l-.01.01-.078.062c-.01.005-.02.016-.03.02l-.078.068c-.006.01-.016.016-.021.02-.031.032-.062.058-.093.088-.005 0-.005.006-.01.011a2 2 0 0 0-.094.088c-.005.005-.005.01-.01.01a1 1 0 0 0-.077.083c-.01.01-.026.02-.036.03q-.04.047-.088.094c-.005.01-.016.015-.02.025-.042.042-.078.083-.12.124l-.015.016q-.123.134-.264.253-.14.125-.289.227a3.2 3.2 0 0 1-.635.351 4 4 0 0 1-.336.124c-.217.047-.439.135-.63.15-.041 0-.088.01-.129.016l-.129.03-.124.047a1 1 0 0 0-.124.057c-.036.026-.077.046-.114.072a1 1 0 0 0-.103.088 1 1 0 0 0-.103.093c-.031.036-.062.067-.088.103-.026.042-.057.078-.078.12a1 1 0 0 0-.072.118q-.032.067-.057.134l-.046.134a1 1 0 0 0-.026.124c0 .006-.005.011-.005.016-.01.047-.01.108-.016.14q-.009.05-.01.103a.5.5 0 0 0 .026.165q.014.046.036.093v.005a1 1 0 0 0 .057.093 1 1 0 0 0 .067.093q.042.044.088.083.045.045.098.082c.124.109.155.145.315.228q.038.02.083.041c.005 0 .01.005.015.005q-.001.013.005.026.01.062.026.124a1 1 0 0 0 .041.124c.016.03.026.062.042.093q.007.016.015.026l.062.113.078.109q.042.051.088.098.045.043.098.088s.005.005.01.005a1 1 0 0 0 .207.14 1 1 0 0 0 .118.056.6.6 0 0 0 .104.036c.005.005.01.005.02.01.021.006.047.011.068.016-.016.279-.021.543.02.635.047.104.274-.211.501-.573-.03.357-.051.775 0 .899.057.129.367-.274.636-.718 3.662-.847 7.003 1.684 7.354 5.258-.067-.558-.754-.868-1.069-.79-.155.382-.418.873-.841 1.177.037-.345.02-.693-.052-1.033a3.3 3.3 0 0 1-.64 1.302c-.491.036-.982-.202-1.24-.558-.02-.015-.026-.046-.042-.067a1 1 0 0 1-.04-.108.4.4 0 0 1-.032-.109q-.006-.052-.005-.114v-.077a1 1 0 0 1 .026-.109 1 1 0 0 1 .036-.108c.02-.036.036-.072.062-.108.088-.248.088-.45-.072-.569a.6.6 0 0 0-.099-.051c-.02-.006-.046-.016-.067-.021l-.041-.015a1 1 0 0 0-.109-.026.4.4 0 0 0-.108-.016 1 1 0 0 0-.114-.01c-.025 0-.051.005-.077.005a.4.4 0 0 0-.114.015q-.054.007-.108.021a1 1 0 0 0-.109.036l-.103.047c-.03.015-.062.036-.098.052-1.203.784-.486 2.623.336 3.155-.31.057-.625.124-.713.191l-.01.01q.334.202.697.347.415.134.837.248v.005a5 5 0 0 0 1.301.093c2.288-.16 4.163-1.9 4.504-4.194l.031.134c.015.093.036.191.046.29v.005q.014.07.021.134v.02q.009.072.01.135.01.085.01.17v.083c0 .026.006.057.006.083 0 .03-.005.062-.005.093v.072c0 .036-.005.067-.005.103q.001.029-.006.067c0 .036-.005.073-.005.114q-.006.022-.005.046l-.015.12q.001.022-.005.046c-.006.051-.016.098-.021.15v.01c-.01.046-.02.098-.031.144v.016l-.031.14c0 .005-.005.015-.005.02a1 1 0 0 1-.036.14v.015q-.025.076-.042.145-.006.009-.005.01l-.046.155c-.021.052-.037.098-.057.15s-.036.103-.057.15l-.062.15h-.005c-.021.046-.041.097-.067.144l-.016.036c-.005.005-.005.01-.01.015a4.9 4.9 0 0 1-1.451 1.736q-.063.04-.125.088c-.01.01-.026.015-.036.026q-.053.038-.113.077l.015.031h.005l.217-.03h.005q.202-.033.403-.073a1 1 0 0 0 .114-.026l.072-.015c.036-.006.072-.016.109-.021.03-.01.062-.016.093-.026a10 10 0 0 0 1.497-.496 8.3 8.3 0 0 1-3.207 2.619 8.5 8.5 0 0 0 1.761-.305 8.25 8.25 0 0 0 4.881-3.9 8.2 8.2 0 0 1-1.39 3.321c.501-.33.964-.714 1.38-1.146a8.2 8.2 0 0 0 2.174-4.39c.177.817.227 1.657.15 2.49 3.73-5.202.31-10.594-1.12-12.015-.006-.01-.01-.015-.01-.026-.006.006-.006.006-.006.011 0-.005 0-.005-.005-.01q-.002.092-.01.186a7 7 0 0 1-.052.345 8 8 0 0 1-.088.341 4 4 0 0 1-.124.33q-.072.162-.155.316a4 4 0 0 1-.398.573c-.077.093-.16.176-.242.259a3 3 0 0 1-.15.129l-.12.103c-.092.072-.185.14-.288.201a4 4 0 0 1-.305.176 9 9 0 0 1-.325.145 3.6 3.6 0 0 1-.682.186c-.12.02-.238.03-.351.04a4 4 0 0 1-.248.011c-.12 0-.238-.01-.351-.02a3 3 0 0 1-.352-.052 3 3 0 0 1-.346-.088h-.005c.114-.01.227-.02.341-.041a3.7 3.7 0 0 0 1.317-.501q.148-.099.29-.207.138-.108.263-.232c.087-.078.165-.165.242-.253q.117-.14.217-.28c.01-.015.02-.035.031-.05q.08-.125.15-.249a3.6 3.6 0 0 0 .367-.981c.02-.119.041-.233.052-.346.01-.119.02-.238.02-.351q-.001-.125-.01-.248-.017-.178-.041-.346a4 4 0 0 0-.078-.346c-.036-.109-.072-.222-.114-.331a3.5 3.5 0 0 0-.527-.91 11 11 0 0 0-.237-.262 3 3 0 0 0-.134-.13 9 9 0 0 0-.718-.506 1 1 0 0 0-.104-.051 2 2 0 0 0-.49-.217","clip-rule":"evenodd"},null,-1)])])}var OSe={render:dL}
15,SSe=me({default:()=>xSe,render:()=>fL}),wSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function fL(e,t){return g(),S("svg",wSe,[...t[0]||(t[0]=[w("path",{fill:"currentColor",d:"M11.345 2.005c-.043.004-.18.018-.303.028-2.84.256-5.501 1.788-7.187 4.144a9.9 9.9 0 0 0-1.765 4.369c-.08.549-.09.711-.09 1.456s.01.907.09 1.456c.543 3.755 3.216 6.91 6.84 8.08.65.208 1.334.351 2.112.437.303.033 1.613.033 1.916 0 1.343-.149 2.48-.48 3.603-1.053.172-.088.205-.112.182-.131a191 191 0 0 1-1.629-2.184l-1.599-2.16-2.004-2.965a284 284 0 0 0-2.017-2.964 161 161 0 0 0-.02 2.925c-.006 2.816-.008 2.93-.043 2.996a.36.36 0 0 1-.172.178c-.063.031-.117.037-.412.037h-.339l-.09-.056a.4.4 0 0 1-.13-.143l-.042-.088.004-3.92.006-3.92.06-.077a.5.5 0 0 1 .145-.12c.08-.038.112-.042.45-.042.399 0 .465.016.569.129.03.031 1.114 1.665 2.412 3.634l3.946 5.975 1.583 2.399.08-.053a10.3 10.3 0 0 0 2.055-1.802 9.95 9.95 0 0 0 2.354-5.112c.08-.549.09-.711.09-1.456s-.01-.907-.09-1.456c-.543-3.755-3.216-6.91-6.84-8.08a10.5 10.5 0 0 0-2.083-.435c-.187-.02-1.48-.041-1.642-.026m4.094 6.048c.094.047.17.137.197.231.016.05.02 1.138.016 3.587l-.006 3.515-.62-.95-.621-.95V10.93c0-1.652.008-2.58.02-2.625a.4.4 0 0 1 .193-.247c.08-.04.11-.045.416-.045.29 0 .34.004.405.04"},null,-1)])])}var xSe={render:fL},kSe=me({default:()=>TSe,render:()=>pL}),ASe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function pL(e,t){return g(),S("svg",ASe,[...t[0]||(t[0]=[Vc('<path fill="url(#a)" fill-rule="evenodd" d="M19.608 5.51C16.023 1.308 9.712.808 5.51 4.392 1.308 7.977.808 14.288 4.392 18.49c3.585 4.202 9.896 4.702 14.098 1.118 4.202-3.585 4.702-9.896 1.118-14.098m-4.982 5.249c.385 0 .631.417.438.75l-.056.096-3.774 6.21a.39.39 0 0 1-.33.185h-.36a.378.378 0 0 1-.366-.472l1.024-3.959a.5.5 0 0 0-.484-.625H9.145a.5.5 0 0 1-.484-.625l1.545-5.978a.46.46 0 0 1 .448-.34l.067.001h1.584a.5.5 0 0 1 .496.568l-.01.071-.604 3.533a.5.5 0 0 0 .493.585z" clip-rule="evenodd"></path><defs><radialGradient id="a" cx="0" cy="0" r="1" gradientTransform="matrix(19.5 0 0 198.851 4 12)" gradientUnits="userSpaceOnUse"><stop stop-color="#31B2F3"></stop><stop offset=".474" stop-color="#F27CEC"></stop><stop offset="1" stop-color="#FD6641"></stop></radialGradient></defs>',2)])])}var TSe={render:pL},ESe=me({default:()=>CSe,render:()=>hL}),_Se={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function hL(e,t){return g(),S("svg",_Se,[...t[0]||(t[0]=[w("path",{fill:"#00DC82",d:"M13.32 19.333h8.14c.26 0 .508-.09.733-.22.226-.129.457-.29.587-.513s.22-.476.22-.733c0-.258-.09-.51-.22-.734l-5.5-9.46a1.34 1.34 0 0 0-.513-.513 1.8 1.8 0 0 0-.807-.22c-.26 0-.508.09-.733.22-.216.12-.393.298-.514.513l-1.393 2.42L10.533 5.4c-.13-.223-.288-.458-.513-.587s-.474-.146-.733-.146c-.26 0-.509.018-.734.146-.24.146-.441.347-.586.587l-6.82 11.733c-.13.223-.147.476-.147.734 0 .257.017.51.147.733s.361.384.586.513c.225.13.474.22.734.22H7.6c2.034 0 3.515-.912 4.547-2.64l2.493-4.326 1.32-2.274 4.033 6.894H14.64zm-5.793-2.346H3.933l5.354-9.24L12 12.367l-1.797 3.132c-.687 1.122-1.468 1.488-2.676 1.488"},null,-1)])])}var CSe={render:hL},$Se=me({default:()=>ISe,render:()=>mL}),PSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function mL(e,t){return g(),S("svg",PSe,[...t[0]||(t[0]=[Vc('<path fill="#93D500" d="M7.285 13.5H2.007l.003.077.009.15.004.063.014.171.004.039a8.8 8.8 0 0 0 .387 1.871q0 .005.003.011l.058.173.016.044.08.216.048.124a5 5 0 0 0 .078.189l.052.117.031.07.066.14.022.046.079.16.012.024q.045.088.093.175l.004.008.02.036 4.508-2.715.017-.01a3.6 3.6 0 0 1-.33-1.179"></path><path fill="#4D5A31" d="m8.582 15.923-.013.013-3.717 3.717.057.053.105.094.055.048.127.107.034.029a8 8 0 0 0 .324.254l.006.004q.336.252.695.47l.025.016.137.08.084.048.08.045q.072.04.145.078a8 8 0 0 0 .431.21l.132-.32 1.87-4.54.007-.017a3.6 3.6 0 0 1-.584-.389"></path><path fill="#6BA43A" d="M8.195 15.553a3 3 0 0 1-.212-.262 4 4 0 0 1-.2-.296L3.27 17.713q.104.174.215.338l.007.012.003.005.007.01v.002l.019.026.001.002q.119.174.242.342l.006.007.005.007.11.142.015.019q.057.073.117.145l.028.034.155.181.094.105.053.058.024.026.07.075.028.03.125.127 3.723-3.723a3 3 0 0 1-.122-.13"></path><path fill="#4D5A31" d="m13.13 15.921-.124.096.009.016 2.714 4.506a8 8 0 0 0 1.134-.886l-3.718-3.717z"></path><path fill="#93D500" d="m15.335 20.576-.092-.153-2.534-4.206a4 4 0 0 1-.316.167 3.6 3.6 0 0 1-2.567.2c-.057-.017-.113-.04-.169-.06s-.113-.037-.168-.06L7.62 21.003l-.073.178-.063.152.014.006.016.006.004.002.133.05.167.065.085.032a9 9 0 0 0 1.88.442l.075.008.142.016.036.003.174.014.06.004.153.01.094.003.122.004.217.003a9 9 0 0 0 1.495-.126l.154-.028.088-.017.09-.02.15-.032.028-.007a9 9 0 0 0 2.124-.791l.13-.074.157-.088.107-.06.001-.001.002-.001h.001l.001-.001.002-.001.006-.004.034-.02zm-6.75-10.21.123-.097-.009-.015-2.714-4.506q-.189.123-.372.256a9 9 0 0 0-.762.629L8.57 10.35z"></path><path fill="#4D5A31" d="M4.594 6.88q-.064.065-.124.13l-.123.128a9 9 0 0 0-.753.933l-.032.046-.076.112-.104.16a8.83 8.83 0 0 0-1.375 4.397l-.005.178-.003.179h5.266q.002-.09.008-.179c.006-.089.004-.119.01-.178a3.57 3.57 0 0 1 .794-1.917q.059-.069.12-.133c.04-.044.077-.09.12-.133L4.594 6.881Zm10.864-1.306q-.01-.008-.021-.013l-.14-.083-.082-.047-.082-.046-.143-.077-.023-.012a9 9 0 0 0-.95-.426l-.024-.01a9 9 0 0 0-1.987-.498l-.074-.01-.075-.008-.143-.016-.04-.004-.17-.014-.066-.004-.146-.009-.078-.003v5.278c.27.028.54.086.8.174l3.884-3.884a9 9 0 0 0-.44-.288"></path><path fill="#6BA43A" d="M10.679 4.29q-.09 0-.179.003a9 9 0 0 0-1.113.115l-.024.004-.155.029-.087.016a6 6 0 0 0-.24.052l-.028.006a9 9 0 0 0-2.125.792l-.13.074-.156.087-.115.066h-.002l-.008.005-.03.017v.001l.093.153 2.625 4.359a4 4 0 0 1 .316-.167 3.6 3.6 0 0 1 1.536-.35V4.285q-.09.001-.178.004Z"></path><path fill="#4D5A31" d="M19.704 12.708a10 10 0 0 0-.05-.61l-.002-.014-.001-.007-.027-.201v-.006a9 9 0 0 0-.273-1.245l-.002-.008-.059-.19-.008-.025-.057-.17-.016-.046-.054-.147-.027-.07a5 5 0 0 0-.086-.216l-.04-.094-.052-.12-.03-.068-.066-.142-.021-.043-.08-.162-.012-.022-.093-.177-.003-.006a9 9 0 0 0-.504-.818l-3.886 3.886q.132.392.174.8h5.278q0-.04-.003-.08Z"></path><path fill="#6BA43A" d="M14.45 13.143q-.002.09-.01.179-.001.09-.01.178a3.57 3.57 0 0 1-.793 1.918c-.037.046-.08.088-.12.133-.04.044-.077.09-.12.132l3.723 3.723q.063-.064.124-.13l.123-.128q.415-.448.754-.935l.027-.039.082-.12.07-.108.034-.052a8.83 8.83 0 0 0 1.377-4.573l.003-.178z"></path><path fill="#424143" d="M21.279 2.722a2.467 2.467 0 0 0-3.953 2.84l-5.374 5.373a2.467 2.467 0 1 0 1.114 1.113l5.373-5.373a2.466 2.466 0 0 0 2.84-3.953"></path>',10)])])}var ISe={render:mL},NSe=me({default:()=>MSe,render:()=>gL}),RSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function gL(e,t){return g(),S("svg",RSe,[...t[0]||(t[0]=[w("path",{stroke:"#21FA90","stroke-linecap":"round","stroke-linejoin":"round",d:"M5.038 13.757v3.814m1.496-4.566 3.04 1.761 4.534-2.627V6.885L9.574 4.258 5.038 6.885v4.56m1.496 1.56v1.668m0-1.668 1.49-.91"},null,-1),w("path",{stroke:"#00050B","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":".885",d:"m21.719 10.719 1.839 1.09v1.09l-1.84 1.091M2.834 8.13.774 9.322v5.326l2.016 1.167m3.744 1.07v1.183l3.021 1.674 2.32-1.358-.02-2.471m2.282-1.387v1.3L16.31 17.1l3.175-1.9v-5.186L16.36 8.217"},null,-1)])])}var MSe={render:gL},LSe=me({default:()=>BSe,render:()=>bL}),DSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function bL(e,t){return g(),S("svg",DSe,[...t[0]||(t[0]=[w("path",{fill:"#61DAFB",d:"M12.5 14.014a1.783 1.783 0 1 0 0-3.565 1.783 1.783 0 0 0 0 3.565"},null,-1),w("path",{stroke:"#61DAFB","stroke-width":".87",d:"M12.5 15.884c5.283 0 9.565-1.635 9.565-3.652S17.783 8.58 12.5 8.58s-9.565 1.635-9.565 3.652 4.282 3.652 9.565 3.652Z"},null,-1),w("path",{stroke:"#61DAFB","stroke-width":".87",d:"M9.337 14.058c2.642 4.575 6.199 7.466 7.946 6.457 1.746-1.008 1.021-5.534-1.62-10.11C13.02 5.832 9.464 2.94 7.717 3.949s-1.021 5.535 1.62 10.11Z"},null,-1),w("path",{stroke:"#61DAFB","stroke-width":".87",d:"M9.337 10.406c-2.641 4.575-3.366 9.1-1.62 10.11 1.747 1.008 5.304-1.883 7.946-6.458s3.366-9.101 1.62-10.11c-1.747-1.009-5.305 1.883-7.946 6.458Z"},null,-1)])])}var BSe={render:bL},USe=me({default:()=>QSe,render:()=>yL}),jSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function yL(e,t){return g(),S("svg",jSe,[...t[0]||(t[0]=[w("path",{fill:"currentColor",d:"m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.
15036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481"},null,-1)])])}var QSe={render:yL},FSe=me({default:()=>VSe,render:()=>vL}),zSe={xmlns:"http://www.w3.org/2000/svg",fill:"green",viewBox:"-2 0 24 24"};function vL(e,t){return g(),S("svg",zSe,[...t[0]||(t[0]=[w("path",{fill:"#FF3E00",d:"M18.664 3.171c-2.219-3.185-6.61-4.13-9.788-2.104L3.29 4.625A6.42 6.42 0 0 0 .398 8.917a6.74 6.74 0 0 0 .666 4.332 6.4 6.4 0 0 0-.959 2.369 6.85 6.85 0 0 0 1.166 5.175c2.219 3.194 6.61 4.137 9.782 2.11l5.586-3.557a6.42 6.42 0 0 0 2.892-4.292 6.74 6.74 0 0 0-.666-4.332 6.4 6.4 0 0 0 .959-2.369 6.94 6.94 0 0 0-1.16-5.182"},null,-1),w("path",{fill:"#fff",d:"M8.327 21.099a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122q.05-.261.133-.517l.105-.318.286.182a7.1 7.1 0 0 0 2.186 1.095l.208.063-.02.201c-.025.293.055.585.223.83a1.305 1.305 0 0 0 1.779.379l5.581-3.521a1.18 1.18 0 0 0 .524-.783 1.23 1.23 0 0 0-.211-.923 1.305 1.305 0 0 0-1.78-.379l-2.12 1.35q-.53.321-1.135.488a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122 3.84 3.84 0 0 1 1.736-2.573l5.581-3.559a4.3 4.3 0 0 1 1.134-.485 4.435 4.435 0 0 1 4.76 1.751c.641.908.893 2.03.7 3.122a4 4 0 0 1-.132.517l-.105.318-.287-.182a7.1 7.1 0 0 0-2.186-1.095l-.207-.063.019-.202a1.27 1.27 0 0 0-.223-.83 1.305 1.305 0 0 0-1.779-.378L6.6 9.363a1.18 1.18 0 0 0-.523.783c-.056.323.019.655.21.923a1.305 1.305 0 0 0 1.78.38l2.121-1.35c.352-.214.732-.38 1.134-.485a4.435 4.435 0 0 1 4.76 1.75 4.16 4.16 0 0 1 .7 3.122 3.8 3.8 0 0 1-1.736 2.563l-5.58 3.559c-.353.214-.732.38-1.135.489"},null,-1)])])}var VSe={render:vL},HSe=me({default:()=>ZSe,render:()=>OL}),qSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function OL(e,t){return g(),S("svg",qSe,[...t[0]||(t[0]=[w("path",{fill:"#41B883",d:"m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z"},null,-1),w("path",{fill:"#34495E",d:"m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z"},null,-1)])])}var ZSe={render:OL},MA=Object.assign({"../icons/Add.svg":fge,"../icons/AddTab.svg":mge,"../icons/Alert.svg":yge,"../icons/ArrowLeft.svg":Sge,"../icons/ArrowRight.svg":kge,"../icons/Brackets.svg":Ege,"../icons/Branch.svg":$ge,"../icons/Changelog.svg":Nge,"../icons/Checkmark.svg":Lge,"../icons/ChevronDown.svg":Uge,"../icons/ChevronLeft.svg":Fge,"../icons/ChevronRight.svg":Hge,"../icons/ChevronUp.svg":Xge,"../icons/Clipboard.svg":Gge,"../icons/Close.svg":e2e,"../icons/CloseTab.svg":r2e,"../icons/CloseTabs.svg":o2e,"../icons/Cloud.svg":c2e,"../icons/CodeFolder.svg":f2e,"../icons/Cog.svg":m2e,"../icons/Collection.svg":y2e,"../icons/Cookie.svg":S2e,"../icons/DarkMode.svg":k2e,"../icons/Delete.svg":E2e,"../icons/Discord.svg":$2e,"../icons/DocsPage.svg":N2e,"../icons/Download.svg":L2e,"../icons/Duplicate.svg":U2e,"../icons/Edit.svg":F2e,"../icons/Ellipses.svg":H2e,"../icons/Email.svg":X2e,"../icons/Error.svg":G2e,"../icons/Example.svg":ebe,"../icons/ExternalLink.svg":rbe,"../icons/FilterList.svg":obe,"../icons/Folder.svg":cbe,"../icons/GitHub.svg":fbe,"../icons/GitHubLine.svg":mbe,"../icons/Globe.svg":ybe,"../icons/Google.svg":Sbe,"../icons/Help.svg":kbe,"../icons/Hide.svg":Ebe,"../icons/History.svg":$be,"../icons/House.svg":Nbe,"../icons/Import.svg":Lbe,"../icons/Info.svg":Ube,"../icons/Key.svg":Fbe,"../icons/Leave.svg":Hbe,"../icons/LightDarkModeToggle.svg":Xbe,"../icons/LightMode.svg":Gbe,"../icons/Link.svg":eye,"../icons/Lock.svg":rye,"../icons/Logo.svg":oye,"../icons/Magic.svg":cye,"../icons/Markdown.svg":fye,"../icons/Menu.svg":mye,"../icons/NotAllowed.svg":yye,"../icons/Page.svg":Sye,"../icons/Pencil.svg":kye,"../icons/Play.svg":Eye,"../icons/Refresh.svg":$ye,"../icons/R
15oadmap.svg":Nye,"../icons/Scribble.svg":Lye,"../icons/Search.svg":Uye,"../icons/Server.svg":Fye,"../icons/Settings.svg":Hye,"../icons/Show.svg":Xye,"../icons/Sort.svg":Gye,"../icons/Terminal.svg":eve,"../icons/Trash.svg":rve,"../icons/Unlock.svg":ove,"../icons/Unwatch.svg":cve,"../icons/Upload.svg":fve,"../icons/User.svg":mve,"../icons/UserSwitch.svg":yve,"../icons/Users.svg":Sve,"../icons/Versions.svg":kve,"../icons/Wallet.svg":Eve,"../icons/Watch.svg":$ve,"../icons/Workspace.svg":Nve,"../icons/programming-framework-angular.svg":Lve,"../icons/programming-framework-astro.svg":Uve,"../icons/programming-framework-laravel.svg":Fve,"../icons/programming-framework-nextdotjs.svg":Hve,"../icons/programming-framework-react.svg":Xve,"../icons/programming-framework-vuedotjs.svg":Gve,"../icons/programming-language-c.svg":eOe,"../icons/programming-language-clojure.svg":rOe,"../icons/programming-language-csharp.svg":oOe,"../icons/programming-language-css3.svg":cOe,"../icons/programming-language-dart.svg":fOe,"../icons/programming-language-fsharp.svg":mOe,"../icons/programming-language-go.svg":yOe,"../icons/programming-language-html5.svg":SOe,"../icons/programming-language-http.svg":kOe,"../icons/programming-language-java.svg":EOe,"../icons/programming-language-javascript.svg":$Oe,"../icons/programming-language-json.svg":NOe,"../icons/programming-language-julia.svg":LOe,"../icons/programming-language-kotlin.svg":UOe,"../icons/programming-language-node.svg":FOe,"../icons/programming-language-objc.svg":HOe,"../icons/programming-language-ocaml.svg":XOe,"../icons/programming-language-php.svg":GOe,"../icons/programming-language-powershell.svg":e4e,"../icons/programming-language-python.svg":r4e,"../icons/programming-language-r.svg":o4e,"../icons/programming-language-ruby.svg":c4e,"../icons/programming-language-rust.svg":f4e,"../icons/programming-language-scala.svg":m4e,"../icons/programming-language-shell.svg":y4e,"../icons/programming-language-swift.svg":S4e,"../icons/programming-language-typescript.svg":k4e,"../icons/programming-script-code.svg":E4e,"../icons/programming-tool-git.svg":$4e,"../icons/programming-tool-tailwindcss.svg":N4e}),LA=Object.assign({"../logos/Adonisjs.svg":L4e,"../logos/Astro.svg":U4e,"../logos/Docusaurus.svg":F4e,"../logos/Dotnet.svg":H4e,"../logos/Elysiajs.svg":X4e,"../logos/Express.svg":G4e,"../logos/Fastapi.svg":eSe,"../logos/Fastify.svg":rSe,"../logos/Go.svg":oSe,"../logos/Hono.svg":cSe,"../logos/Laravel.svg":fSe,"../logos/Litestar.svg":mSe,"../logos/Nestjs.svg":ySe,"../logos/Nextjs.svg":SSe,"../logos/Nitro.svg":kSe,"../logos/Nuxt.svg":ESe,"../logos/Openapi.svg":$Se,"../logos/Platformatic.svg":NSe,"../logos/React.svg":LSe,"../logos/Rust.svg":USe,"../logos/Svelte.svg":FSe,"../logos/Vue.svg":HSe}),XSe=e=>{const t=`../icons/${e}.svg`;return MA[t]?MA[t]:(console.warn(`Could not find icon: ${e}`),null)},WSe=e=>{const t=`../logos/${e}.svg`;return LA[t]?LA[t]:(console.warn(`Could not find icon: ${e}`),null)},YSe=Q({inheritAttrs:!1,__name:"ScalarIcon",props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){kX(o=>({c07589c2:r.value}));const t=e,{cx:n}=At(),r=I(()=>t.thickness??"2"),a=I(()=>t.label?{"aria-label":t.label}:{"aria-hidden":!0,role:"presentation"}),i=I(()=>{if(t.icon)return XSe(t.icon);if(t.logo)return WSe(t.logo)});return(o,s)=>(g(),L(Yt(i.value),Rt(Ft({...m(n)("scalar-icon",m(VN)({size:e.size})),...a.value})),null,16))}}),yr=ys(YSe,[["__scopeId","data-v-b651bb23"]]),GSe=Q({inheritAttrs:!1,__name:"ScalarIconLegacyAdapter",props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){const{cx:t}=At();return(n,r)=>typeof e.icon=="string"?(g(),L(yr,Ae({key:0},{...n.$props,...n.$attrs},{icon:e.icon}),null,16,["icon"])):(g(),L(Yt(e.icon),Ae({key:1,label:e.label,weight:e.weight},m(t)(m(VN)({size:e.size}))),null,16,["label","weight"]))}}),xy=GSe,KSe={key:0,class:"h-lh *:size-4 mr-1 flex items-center"},JSe={class:"group/button-label flex-1 min-w-0"},ewe=Q({inheritAttrs:!1,__name:"ScalarSidebarButton",props:{is:{default:"a"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{default:0}},setup(e){const t=$r({base:["group/button peer/button flex items-stretch rounded p-2","font-sidebar text-base/4 text-sidebar-c-2 no-underline wrap-break-word"],variants:{active:{true:"text-sidebar-c-active font-sidebar-active"},disabled:{true:"cursor-auto"},selected:{true:"cursor-auto bg-sidebar-b-active text-sidebar-c-active font-sidebar-active"}},compoundVariants:[{selected:!1,disabled:!1,active:!1,class:"hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"},{selected:!1,disabled:!1,active:!0,class:"hover:bg-sidebar-b-hover"}],defaultVariants:{selected:!1,disabled:!1,active:!1}}),{cx:n}=At();return(r,a)=>(g(),L(Yt(e.is),Ae({"aria-current":e.selected?"page":void 0,type:e.is==="button"?"button":void 0},m(n)(m(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:P(()=>[H(r.$slots,"indent",{}
15,()=>[N(wy,{class:"-my-2",disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,["disabled","indent","selected"])]),e.icon||r.$slots.icon?(g(),S("div",KSe,[H(r.$slots,"icon",{},()=>[e.icon?(g(),L(m(xy),{key:0,icon:e.icon},null,8,["icon"])):B("",!0)])])):B("",!0),w("div",JSe,[H(r.$slots,"default")]),H(r.$slots,"aside")]),_:3},16,["aria-current","type"]))}}),Xf=ewe,twe=Q({inheritAttrs:!1,__name:"ScalarColorModeToggleIcon",props:{is:{default:"button"},mode:{default:"light"}},setup(e){const{cx:t}=At(),n=I(()=>e.mode==="dark"?"Set light mode":"Set dark mode");return(r,a)=>(g(),L(Yt(e.is),Ae({"aria-label":n.value,class:`toggle-icon-${e.mode}`,type:e.is==="button"?"button":void 0},m(t)("size-3 flex items-center justify-center text-c-1")),{default:P(()=>[...a[0]||(a[0]=[w("span",{class:"toggle-icon-sun-ray"},null,-1),w("span",{class:"toggle-icon-sun-ray"},null,-1),w("span",{class:"toggle-icon-sun-ray"},null,-1),w("span",{class:"toggle-icon-sun-ray"},null,-1),w("span",{class:"toggle-icon-ellipse"},[w("span",{class:"toggle-icon-moon-mask"})],-1)])]),_:1},16,["aria-label","class","type"]))}}),Ax=ys(twe,[["__scopeId","data-v-60be8692"]]),nwe=["aria-pressed"],rwe=Q({inheritAttrs:!1,__name:"ScalarColorModeToggleButton",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){const{cx:t}=At(),n=yn(e,"modelValue");return(r,a)=>(g(),S("button",Ae({"aria-pressed":n.value,type:"button"},m(t)("group/toggle flex h-6 w-[38px] brightness-lifted -mx-px items-center py-1.5 -my-1.5 relative outline-none"),{onClick:a[0]||(a[0]=i=>n.value=!n.value)}),[a[1]||(a[1]=w("div",{class:"h-3 w-full bg-border mx-px rounded-xl group-focus-visible/toggle:outline -outline-offset-1"},null,-1)),w("div",{class:Se(["size-[23px] left-border absolute border rounded-full flex items-center justify-center bg-b-1 group-focus-visible/toggle:outline -outline-offset-1 transition-transform duration-300 ease-in-out",{"translate-x-[14px]":n.value}])},[N(Ax,{is:"div",mode:n.value?"dark":"light"},null,8,["mode"])],2)],16,nwe))}}),SL=rwe;const Do=K("dark"),lh=K("light"),awe=xt([ie("system"),ie("dark"),ie("light")]);function wL(e={}){const{initialColorMode:t="system",overrideColorMode:n}=e;function r(){Do.value=o.value==="dark"?"light":"dark",!(typeof window>"u")&&window?.localStorage?.setItem("colorMode",Do.value)}function a(p){Do.value=p,!(typeof window>"u")&&window?.localStorage?.setItem("colorMode",Do.value)}function i(){return typeof window>"u"?"light":typeof window?.matchMedia!="function"||window?.matchMedia("(prefers-color-scheme: dark)")?.matches?"dark":"light"}const o=I({get:()=>Do.value==="system"?lh.value:Do.value,set:a}),s=I({get:()=>o.value==="dark",set:p=>a(p?"dark":"light")});function l(){if(typeof document>"u"||typeof window>"u")return;(n??(Do.value==="system"?lh.value:Do.value))==="dark"?(document.body.classList.add("dark-mode"),document.body.classList.remove("light-mode")):(document.body.classList.add("light-mode"),document.body.classList.remove("dark-mode"))}const c=typeof window>"u"?"system":window?.localStorage?.getItem("colorMode"),u=Qh(awe,c)?c:null;Do.value=n??u??t,qe([Do,lh],l,{immediate:!0});const d=()=>{lh.value=i()},f=K(null);return Mt(()=>{lh.value=i(),typeof window<"u"&&typeof window?.matchMedia=="function"&&(f.value=window.matchMedia("(prefers-color-scheme: dark)"),f.value?.addEventListener("change",d))}),Aa(()=>{f.value?.removeEventListener("change",d)}),{colorMode:I({get:()=>Do.value,set:a}),darkLightMode:o,isDarkMode:s,toggleColorMode:r,setColorMode:a,getSystemModePreference:i}}var iwe=Q({__name:"ScalarColorModeToggle",props:{variant:{default:"switch"}},setup(e){const{isDarkMode:t,toggleColorMode:n,darkLightMode:r}=wL(),a=I(()=>t.value?"Set light mode":"Set dark mode");return(i,o)=>e.variant==="switch"?(g(),L(SL,{key:0,modelValue:m(t),"onUpdate:modelValue":o[0]||(o[0]=s=>p8(t)?t.value=s:null),"aria-label":a.value},null,8,["modelValue","aria-label"])):(g(),L(Ax,{key:1,"aria-label":a.value,mode:m(r),onClick:m(n)},null,8,["aria-label","mode","onClick"]))}}),owe=iwe,swe={class:"flex items-center"},lwe={class:"flex-1 min-w-0 flex items-center text-sm text-sidebar-c-2"},cwe=Q({inheritAttrs:!1,__name:"ScalarSidebarFooter",setup(e){const{cx:t}=At();return(n,r)=>(g(),S("div",Rt(Ft(m(t)("flex flex-col gap-3 px-3 pb-3 border-sidebar-border"))),[H(n.$slots,"default"),w("div",swe,[w("div",lwe,[H(n.$slots,"description",{},()=>[r[0]||(r[0]=w("a",{class:"no-underline hover:underline",href:"https://www.scalar.com",target:"_blank"}," Powered by Scalar ",-1))])]),H(n.$slots,"toggle",{},()=>[N(m(owe))])])],16))}}),uwe=cwe,dwe={class:"sr-only"},fwe=Q({inheritAttrs:!1,__name:"ScalarSidebarGroupToggle",props:{is:{default:"div"},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){const t=$r({base:"size-4 flex items-center justify-center transition-transform duration-100",variants:{open:{true:"rotate-90"}},defaultVariants:{open:!1}}),{cx:n}=At();return(r,a)=>(g(),L(Yt(e.is),Ae({type:e.is==="button"?"button":void 0},m(n)(m(t)({open:e.open}))),{default:P(()=>[H(r.$slots,"default",{open:e.open},()=>[e.icon?(g(),L(m(xy),{key:0,icon:e.icon},null,8,["icon"])):(g(),L(m(wd),{key:1,class:"size-3",weight:"bold"}))]),w("span",dwe,[H(r.$slots,"label",{open:e.open},()=>[J(V(e.open?"Close":"Open")+" Group ",1)])])]),_:3},16,["type"]))}}),O2=fwe,pwe=["aria-expanded"],hwe=Q({inheritAttrs:!1,__name:"ScalarSidebarGroupToggleButton",props:{open:{type:Boolean,default:!1},selected:{type:Boolean}},setup(e){const t=$r({base:["absolute top-[1lh] right-1.25 -translate-y-1/2","rounded p-0.75 text-sidebar-c-2"],variants:{selected:{true:"hover:bg-sidebar-b-1 hover:text-sidebar-c-1",fal
15se:"hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"}},defaultVariants:{selected:!1}}),{cx:n}=At();return(r,a)=>(g(),S("button",Ae({"aria-expanded":e.open,type:"button"},m(n)(m(t)({selected:e.selected}))),[H(r.$slots,"default",{open:e.open},()=>[N(O2,{open:e.open},lr({_:2},[r.$slots.label?{name:"label",fn:P(()=>[H(r.$slots,"label",{open:e.open})]),key:"0"}:void 0]),1032,["open"])])],16,pwe))}}),xL=hwe,mwe=Q({inheritAttrs:!1,__name:"ScalarSidebarGroupToggleSpacer",setup(e){const{cx:t}=At();return(n,r)=>(g(),S("div",Rt(Ft(m(t)("size-4"))),null,16))}}),kL=mwe,g1=Symbol(),Tx=(e={})=>{const{increment:t=!1,reset:n=!1}=e,r=Rn(g1,0);return n?In(g1,0):t&&r<6?In(g1,r+1):In(g1,r),{level:r}},gwe=Q({inheritAttrs:!1,__name:"ScalarSidebarItem",props:{is:{},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){const t=e,{level:n}=Tx(),{cx:r}=At();return(a,i)=>(g(),S("li",Rt(Ft(m(r)("group/item flex flex-col text-base"))),[H(a.$slots,"before"),H(a.$slots,"button",{level:m(n)},()=>[N(Xf,Ae(t,{indent:e.indent??m(n)}),lr({_:2},[a.$slots.default?{name:"default",fn:P(()=>[H(a.$slots,"default")]),key:"0"}:void 0,a.$slots.icon?{name:"icon",fn:P(()=>[H(a.$slots,"icon")]),key:"1"}:void 0,a.$slots.aside?{name:"aside",fn:P(()=>[H(a.$slots,"aside")]),key:"2"}:void 0]),1040,["indent"])]),H(a.$slots,"after")],16))}}),AL=gwe,bwe=Q({__name:"ScalarSidebarLoading",props:{items:{default:4}},setup(e){return(t,n)=>(g(!0),S(le,null,it(e.items,r=>(g(),L(AL,{key:r,class:"pointer-events-none"},{default:P(()=>[...n[0]||(n[0]=[w("div",{class:"group/button-loading bg-sidebar-c-2/15 rounded-lg animate-pulse h-lh w-full box-content py-px -my-px"},null,-1)])]),_:1}))),128))}}),TL=bwe,ywe={class:"group/group-button relative flex flex-col text-base"},vwe={key:0,class:"group/items flex flex-col gap-px"},Owe=Q({inheritAttrs:!1,__name:"ScalarSidebarGroup",props:xn({is:{default:"li"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},controlled:{type:Boolean},discrete:{type:Boolean},loading:{type:Boolean}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:xn(["click","toggle"],["update:open"]),setup(e,{emit:t}){const n=t,r=yn(e,"open"),{level:a}=Tx({increment:!0}),{cx:i}=At(),o=l=>{n("click",l),!e.controlled&&!e.discrete&&(r.value=!r.value)},s=l=>{n("toggle",l),!e.controlled&&e.discrete&&(r.value=!r.value)};return(l,c)=>(g(),L(Yt(e.is),Rt(Ft(m(i)("group/item flex flex-col gap-px"))),{default:P(()=>[w("div",ywe,[H(l.$slots,"before",{open:r.value}),H(l.$slots,"button",{level:m(a),open:r.value},()=>[N(Xf,{is:"button",active:e.active,"aria-expanded":e.discrete?void 0:r.value,disabled:e.disabled,icon:e.icon,indent:m(a),selected:e.selected,onClick:o},lr({indent:P(()=>[N(wy,{class:"mr-0 -my-2",indent:m(a),selected:e.selected},null,8,["indent","selected"])]),aside:P(()=>[H(l.$slots,"aside",{open:r.value}),e.discrete?(g(),L(kL,{key:0})):H(l.$slots,"toggle",{open:r.value},()=>[N(O2,{class:"text-sidebar-c-2",open:r.value},null,8,["open"])],void 0,1)]),default:P(()=>[H(l.$slots,"default",{open:r.value})]),_:2},[l.$slots.icon?{name:"icon",fn:P(()=>[H(l.$slots,"icon",{open:r.value})]),key:"0"}:void 0]),1032,["active","aria-expanded","disabled","icon","indent","selected"]),e.discrete?(g(),L(xL,{key:0,open:r.value,selected:e.selected,onClick:s},{default:P(()=>[H(l.$slots,"toggle",{open:r.value},()=>[N(O2,{open:r.value},{label:P(()=>[J(V(r.value?"Close":"Open")+" ",1),H(l.$slots,"default",{open:r.value})]),_:3},8,["open"])])]),_:3},8,["open","selected"])):B("",!0)]),H(l.$slots,"after",{open:r.value})]),r.value?(g(),S("ul",vwe,[e.loading?(g(),L(TL,{key:0})):H(l.$slots,"items",{open:r.value},void 0,void 0,1)])):B("",!0)]),_:3},16))}}),Swe=Owe,wwe=Symbol(),xwe=()=>{const e=AX(new Set),t=I(()=>{for(const n of e)if(n())return!0;return!1});return In(wwe,e),{open:t}},kwe=Q({inheritAttrs:!1,__name:"ScalarSidebarItems",props:{is:{default:"ul"}},setup(e){const{open:t}=xwe(),{cx:n}=At();return(r,a)=>(g(),L(Yt(e.is),Rt(Ft(m(n)("group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300",m(t)?"-translate-x-full":"translate-x-0"))),{default:P(()=>[H(r.$slots,"default")]),_:3},16))}}),Awe=kwe,Twe=Q({inheritAttrs:!1,__name:"ScalarSidebarSpacer",props:{indent:{default:0}},setup(e){const{cx:t}=At();return(n,r)=>(g(),S("div",Rt(Ft(m(t)("flex px-2 h-1"))),[N(wy,{indent:e.indent},null,8,["indent"])],16))}}),DA=Twe,Ewe={class:"flex-1 text-start leading-none"},_we={key:0,class:"uppercase text-sidebar-c-2 leading-none py-1 px-1.25 rounded text-xs font-medium border"},Cwe={class:"sr-only"},$we={dir:"ltr"},Pwe=Q({inheritAttrs:!1,__name:"ScalarSidebarSearchButton",props:{shortcutLabel:{default:"Keyboard Shortcut:"}},setup(e){const{cx:t}=At();return(n,r)=>(g(),S("button",Ae({type:"button"},m(t)("flex items-center rounded border text-base h-8 gap-1 pl-2 pr-1","bg-sidebar-b-search border-sidebar-border-search text-sidebar-c-search")),[N(m(g0),{"aria-hidden":"true",class:"size-4"}),w("span",Ewe,[H(n.$slots,"default",{},()=>[r[0]||(r[0]=J("Search...",-1))])]),n.$slots.shortcut?(g(),S("span",_we,[w("span",Cwe,V(e.shortcutLabel),1),w("kbd",$we,[H(n.$slots,"shortcut")])])):B("",!0)],16))}}),Iwe=Pwe,Nwe={class:"circular-loader"},Rwe=Q({inheritAttrs:!1,__name:"ScalarLoading",props:{loader:{},size:{}},setup(e){const{cx:t}=At(),n=$r({variants:{size:{xs:"size-3",sm:"size-3.5",md:"size-4",lg:"size-5",xl:"size-6","2xl":"size-8","3xl":"size-10",full:"size-full"}},defaultVariants:{size:"full"}});return(r,a)=>e.loader?(g(),S("div",Rt(Ae({key:0},m(t)("loader-wrapper",m(n)({size:e.size}
15)))),[(g(),S("svg",{class:Se(["svg-loader",{"icon-is-valid":e.loader.isValid,"icon-is-invalid":e.loader.isInvalid}]),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[a[0]||(a[0]=Vc('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-27df5cd8></path>',5)),w("g",Nwe,[w("circle",{class:Se(["loader-path",{"loader-path-off":!e.loader.isLoading}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"3"},null,2)])],2))],16)):B("",!0)}}),EL=ys(Rwe,[["__scopeId","data-v-27df5cd8"]]),_L={solid:["scalar-button-solid","bg-b-btn text-c-btn focus-visible:border-c-btn active:bg-b-btn hover:bg-h-btn outline-offset-1"],outlined:["scalar-button-outlined","active:bg-btn-1 shadow-border bg-b-1 text-c-1 hover:bg-b-2"],ghost:["scalar-button-ghost","bg-transparent text-c-2 active:text-c-1 hover:text-c-1"],gradient:["scalar-button-gradient","shadow-border bg-b-1.5 bg-linear-to-b from-b-1 to-b-2 hover:bg-linear-to-t","dark:bg-linear-to-t dark:hover:bg-linear-to-b"],danger:["scalar-button-danger","bg-c-danger text-white active:brightness-90 hover:brightness-90"]},qS="scalar-tooltip",Mwe="scalar-tooltip";function ky(){return typeof window<"u"}function xd(e){return Ex(e)?(e.nodeName||"").toLowerCase():"#document"}function Vi(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function tl(e){var t;return(t=(Ex(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ex(e){return ky()?e instanceof Node||e instanceof Vi(e).Node:!1}function cs(e){return ky()?e instanceof Element||e instanceof Vi(e).Element:!1}function Xl(e){return ky()?e instanceof HTMLElement||e instanceof Vi(e).HTMLElement:!1}function BA(e){return!ky()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Vi(e).ShadowRoot}function y0(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=us(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&a!=="inline"&&a!=="contents"}function Lwe(e){return/^(table|td|th)$/.test(xd(e))}function Ay(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Dwe=/transform|translate|scale|rotate|perspective|filter/,Bwe=/paint|layout|strict|content/,pu=e=>!!e&&e!=="none";let yO;function _x(e){const t=cs(e)?us(e):e;return pu(t.transform)||pu(t.translate)||pu(t.scale)||pu(t.rotate)||pu(t.perspective)||!Cx()&&(pu(t.backdropFilter)||pu(t.filter))||Dwe.test(t.willChange||"")||Bwe.test(t.contain||"")}function Uwe(e){let t=Rc(e);for(;Xl(t)&&!Wf(t);){if(_x(t))return t;if(Ay(t))return null;t=Rc(t)}return null}function Cx(){return yO==null&&(yO=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),yO}function Wf(e){return/^(html|body|#document)$/.test(xd(e))}function us(e){return Vi(e).getComputedStyle(e)}function Ty(e){return cs(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rc(e){if(xd(e)==="html")return e;const t=e.assignedSlot||e.parentNode||BA(e)&&e.host||tl(e);return BA(t)?t.host:t}function CL(e){const t=Rc(e);return Wf(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xl(t)&&y0(t)?t:CL(t)}function km(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=CL(e),i=a===((r=e.ownerDocument)==null?void 0:r.body),o=Vi(a);if(i){const s=ZS(o);return t.concat(o,o.visualViewport||[],y0(a)?a:[],s&&n?km(s):[])}else return t.concat(a,km(a,[],n))}function ZS(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $L(e){const t=us(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=Xl(e),i=a?e.offsetWidth:n,o=a?e.offsetHeight:r,s=Xg(n)!==i||Xg(r)!==o;return s&&(n=i,r=o),{width:n,height:r,$:s}}function $x(e){return cs(e)?e:e.contextElement}function wf(e){const t=$x(e);if(!Xl(t))return Vs(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:i}=$L(t);let o=(i?Xg(n.width):n.width)/r,s=(i?Xg(n.height):n.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const jwe=Vs(0);function PL(e){const t=Vi(e);
vendor: 6,608 bytes, line 15
15return!Cx()||!t.visualViewport?jwe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qwe(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Vi(e)?!1:t}function Ju(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),i=$x(e);let o=Vs(1);t&&(r?cs(r)&&(o=wf(r)):o=wf(e));const s=Qwe(i,n,r)?PL(i):Vs(0);let l=(a.left+s.x)/o.x,c=(a.top+s.y)/o.y,u=a.width/o.x,d=a.height/o.y;if(i){const f=Vi(i),p=r&&cs(r)?Vi(r):r;let h=f,b=ZS(h);for(;b&&r&&p!==h;){const y=wf(b),O=b.getBoundingClientRect(),A=us(b),x=O.left+(b.clientLeft+parseFloat(A.paddingLeft))*y.x,T=O.top+(b.clientTop+parseFloat(A.paddingTop))*y.y;l*=y.x,c*=y.y,u*=y.x,d*=y.y,l+=x,c+=T,h=Vi(b),b=ZS(h)}}return N9({width:u,height:d,x:l,y:c})}function Ey(e,t){const n=Ty(e).scrollLeft;return t?t.left+n:Ju(tl(e)).left+n}function IL(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Ey(e,n),a=n.top+t.scrollTop;return{x:r,y:a}}function Fwe(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const i=a==="fixed",o=tl(r),s=t?Ay(t.floating):!1;if(r===o||s&&i)return n;let l={scrollLeft:0,scrollTop:0},c=Vs(1);const u=Vs(0),d=Xl(r);if((d||!d&&!i)&&((xd(r)!=="body"||y0(o))&&(l=Ty(r)),d)){const p=Ju(r);c=wf(r),u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}const f=o&&!d&&!i?IL(o,l):Vs(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}}function zwe(e){return Array.from(e.getClientRects())}function Vwe(e){const t=tl(e),n=Ty(e),r=e.ownerDocument.body,a=Of(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Of(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Ey(e);const s=-n.scrollTop;return us(r).direction==="rtl"&&(o+=Of(t.clientWidth,r.clientWidth)-a),{width:a,height:i,x:o,y:s}}const UA=25;function Hwe(e,t){const n=Vi(e),r=tl(e),a=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,s=0,l=0;if(a){i=a.width,o=a.height;const u=Cx();(!u||u&&t==="fixed")&&(s=a.offsetLeft,l=a.offsetTop)}const c=Ey(r);if(c<=0){const u=r.ownerDocument,d=u.body,f=getComputedStyle(d),p=u.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,h=Math.abs(r.clientWidth-d.clientWidth-p);h<=UA&&(i-=h)}else c<=UA&&(i+=c);return{width:i,height:o,x:s,y:l}}function qwe(e,t){const n=Ju(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,i=Xl(e)?wf(e):Vs(1),o=e.clientWidth*i.x,s=e.clientHeight*i.y,l=a*i.x,c=r*i.y;return{width:o,height:s,x:l,y:c}}function jA(e,t,n){let r;if(t==="viewport")r=Hwe(e,n);else if(t==="document")r=Vwe(tl(e));else if(cs(t))r=qwe(t,n);else{const a=PL(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return N9(r)}function NL(e,t){const n=Rc(e);return n===t||!cs(n)||Wf(n)?!1:us(n).position==="fixed"||NL(n,t)}function Zwe(e,t){const n=t.get(e);if(n)return n;let r=km(e,[],!1).filter(s=>cs(s)&&xd(s)!=="body"),a=null;const i=us(e).position==="fixed";let o=i?Rc(e):e;for(;cs(o)&&!Wf(o);){const s=us(o),l=_x(o);!l&&s.position==="fixed"&&(a=null),(i?!l&&!a:!l&&s.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||y0(o)&&!l&&NL(e,o))?r=r.filter(u=>u!==o):a=s,o=Rc(o)}return t.set(e,r),r}function Xwe(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const o=[...n==="clippingAncestors"?Ay(t)?[]:Zwe(t,this._c):[].concat(n),r],s=jA(t,o[0],a);let l=s.top,c=s.right,u=s.bottom,d=s.left;for(let f=1;f<o.length;f++){const p=jA(t,o[f],a);l=Of(p.top,l),c=bS(p.right,c),u=bS(p.bottom,u),d=Of(p.left,d)}return{width:c-d,height:u-l,x:d,y:l}}function Wwe(e){const{width:t,height:n}=$L(e);return{width:t,height:n}}function Ywe(e,t,n){const r=Xl(t),a=tl(t),i=n==="fixed",o=Ju(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=Vs(0);function c(){l.x=Ey(a)}if(r||!r&&!i)if((xd(t)!=="body"||y0(a))&&(s=Ty(t)),r){const p=Ju(t,!0,i,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else a&&c();i&&!r&&a&&c();const u=a&&!r&&!i?IL(a,s):Vs(0),d=o.left+s.scrollLeft-l.x-u.x,f=o.top+s.scrollTop-l.y-u.y;return{x:d,y:f,width:o.width,height:o.height}}function vO(e){return us(e).position==="static"}function QA(e,t){if(!Xl(e)||us(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return tl(e)===n&&(n=n.ownerDocument.body),n}function RL(e,t){const n=Vi(e);if(Ay(e))return n;if(!Xl(e)){let a=Rc(e);for(;a&&!Wf(a);){if(cs(a)&&!vO(a))return a;a=Rc(a)}return n}let r=QA(e,t);for(;r&&Lwe(r)&&vO(r);)r=QA(r,t);return r&&Wf(r)&&vO(r)&&!_x(r)?n:r||Uwe(e)||n}const Gwe=async function(e){const t=this.getOffsetParent||RL,n=this.getDimensions,r=await n(e.floating);return{reference:Ywe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Kwe(e){return us(e).direction==="rtl"}const Jwe={convertOffsetParentRelativeRectToViewportRelativeRect:Fwe,getDocumentElement:tl,getClippingRect:Xwe,getOffsetParent:RL,getElementRects:Gwe,getClientRects:zwe,getDimensions:Wwe,getScale:wf,isElement:cs,isRTL:Kwe};function ML(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function e3e(e,t){let n=null,r;const a=tl(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function o(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=c;if(s||t(),!f||!p)return;const h=t1(d),b=t1(a.clientWidth-(u+f)),y=t1(a.clientHeight-(d+p)),O=t1(u),x={rootMargin:-h+"px "+-b+"px "+-y+"px "+-O+"px",threshold:Of(0,bS(1,l))||1};let T=!0;function E(C){const $=C[0].intersectionRatio;if($!==l){if(!T)return o();$?o(!1,$):r=setTimeout(()=>{o(!1,1e-7)},1e3)}$===1&&!ML(c,e.getBoundingClientRect())&&o(),T=!1}try{n=new IntersectionObserver(E,{...x,root:a.ownerDocument})}catch{n=new IntersectionObserver(E,x)}n.observe(e)}return o(!0),i}function LL(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=$x(e),u=a||i?[...c?km(c):[],...t?km(t):[]]:[];u.forEach(O=>{a&&O.addEventListener("scroll",n,{passive:!0}),i&&O.addEventListener("resize",n)});const d=c&&s?e3e(c,n):null;let f=-1,p=null;o&&(p=new ResizeObserver(O=>{let[A]=O;A&&A.target===c&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(t)})),n()}),c&&!l&&p.observe(c),t&&p.observe(t));let h,b=l?Ju(e):null;l&&y();function y(){const O=Ju(e);b&&!ML(b,O)&&n(),b=O,h=requestAnimationFrame(y)}return n(),()=>{var O;u.forEach(A=>{a&&A.removeEventListener("scroll",n),i&&A.removeEventListener("resize",n)}),d?.(),(O=p)==null||O.disconnect(),p=null,l&&cancelAnimationFrame(h)}}
15const t3e=EX,DL=CX,BL=_X,n3e=PX,c2t=IX,u2t=NX,d2t=$X,r3e=(e,t,n)=>{const r=new Map,a={platform:Jwe,...n},i={...a.platform,_c:r};return TX(e,t,{...a,platform:i})};function a3e(e){return e!=null&&typeof e=="object"&&"$el"in e}function FA(e){if(a3e(e)){const t=e.$el;return Ex(t)&&xd(t)==="#comment"?null:t}return e}function ch(e){return typeof e=="function"?e():m(e)}function UL(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function zA(e,t){const n=UL(e);return Math.round(t*n)/n}function jL(e,t,n){n===void 0&&(n={});const r=n.whileElementsMounted,a=I(()=>{var $;return($=ch(n.open))!=null?$:!0}),i=I(()=>ch(n.middleware)),o=I(()=>{var $;return($=ch(n.placement))!=null?$:"bottom"}),s=I(()=>{var $;return($=ch(n.strategy))!=null?$:"absolute"}),l=I(()=>{var $;return($=ch(n.transform))!=null?$:!0}),c=I(()=>FA(e.value)),u=I(()=>FA(t.value)),d=K(0),f=K(0),p=K(s.value),h=K(o.value),b=yi({}),y=K(!1),O=I(()=>{const $={position:p.value,left:"0",top:"0"};if(!u.value)return $;const R=zA(u.value,d.value),j=zA(u.value,f.value);return l.value?{...$,transform:"translate("+R+"px, "+j+"px)",...UL(u.value)>=1.5&&{willChange:"transform"}}:{position:p.value,left:R+"px",top:j+"px"}});let A;function x(){if(c.value==null||u.value==null)return;const $=a.value;r3e(c.value,u.value,{middleware:i.value,placement:o.value,strategy:s.value}).then(R=>{d.value=R.x,f.value=R.y,p.value=R.strategy,h.value=R.placement,b.value=R.middlewareData,y.value=$!==!1})}function T(){typeof A=="function"&&(A(),A=void 0)}function E(){if(T(),r===void 0){x();return}if(c.value!=null&&u.value!=null){A=r(c.value,u.value,x);return}}function C(){a.value||(y.value=!1)}return qe([i,o,s,a],x,{flush:"sync"}),qe([c,u],E,{flush:"sync"}),qe(a,C,{flush:"sync"}),R9()&&h8(T),{x:Su(d),y:Su(f),strategy:Su(p),placement:Su(h),middlewareData:Su(b),isPositioned:Su(y),floatingStyles:O,update:x}}var Ag=K(),_n=K(),Tc=K(),{floatingStyles:Vd,placement:i3e,update:o3e}=jL(I(()=>m(Tc.value?.targetRef)),_n,{placement:I(()=>m(Tc.value?.placement)),whileElementsMounted:LL,middleware:I(()=>[BL(),DL()])});qe(i3e,e=>{!_n.value||!e||(_n.value.dataset.side=e.split("-")[0])});qe(Vd,()=>{_n.value&&(_n.value.style.position=Vd.value.position,_n.value.style.top=Vd.value.top,_n.value.style.left=Vd.value.left,_n.value.style.transform=Vd.value.transform??"",_n.value.style.willChange=Vd.value.willChange??"")});qe(Tc,e=>{if(_n.value)if(e){XS(m(e.targetRef))&&o3e();const t=m(e?.contentTarget)??"textContent";_n.value[t]=m(e?.content)??"";const n=m(e?.offset)??4;_n.value.style.setProperty("--scalar-tooltip-offset",`${n}px`),_n.value.dataset.side=(m(e?.placement)??"bottom").split("-")[0],_n.value.style.setProperty("display","block")}else _n.value.innerHTML="",_n.value.style.removeProperty("--scalar-tooltip-offset"),_n.value.style.setProperty("display","none"),XS(void 0)},{deep:!0});function s3e(){if(typeof document>"u"||typeof window>"u"||_n.value)return;const e=document.getElementById(qS);e?_n.value=e:(_n.value=document.createElement("div"),_n.value.role="tooltip",_n.value.id=qS,_n.value.classList.add(Mwe),_n.value.classList.add("scalar-app"),_n.value.style.setProperty("display","none"),_n.value.addEventListener("mouseleave",fc),document.body.appendChild(_n.value))}function fc(e){d3e(e)&&(Tg(),Tc.value=void 0)}function l3e(e){e.key==="Escape"&&(e.stopPropagation(),fc(e))}function c3e(e){const t=e?.closest("dialog");if(t)try{return t.matches(":modal")?t:void 0}catch{return}}function XS(e){if(!_n.value)return!1;const t=c3e(e)??document.body;return _n.value.parentElement===t?!1:(t.appendChild(_n.value),!0)}function Tg(){Ag.value&&(clearTimeout(Ag.value),Ag.value=void 0)}function u3e(e){const t=[];let n=e.parentElement;for(;n;)t.push(n),n=n.parentElement;return t}function d3e(e){const t=m(Tc.value?.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){const n=u3e(e.relatedTarget);return e.relatedTarget.id!=="scalar-tooltip"&&!n.some(r=>r.id==="scalar-tooltip")&&e.relatedTarget!==t}return!0}function QL(e){s3e();function t(r){const a=m(e.delay)??300;Tg(),a>0?Ag.value=setTimeout(()=>n(),a):n()}function n(r){Tg(),document.addEventListener("keydown",l3e,{once:!0,capture:!0}),XS(m(e.targetRef)),Tc.value=e}qe(()=>m(e.targetRef),(r,a)=>{a&&(a.removeEventListener("mouseenter",t),a.removeEventListener("mouseleave",fc),a.removeEventListener("focus",n),a.removeEventListener("blur",fc),a.removeAttribute("aria-describedby")),r&&(r.addEventListener("mouseenter",t),r.addEventListener("mouseleave",fc),r.addEventListener("focus",n),r.addEventListener("blur",fc),r.setAttribute("aria-describedby",qS))},{immediate:!0}),h8(()=>{Tg();const r=m(e.targetRef);r&&(r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",fc),r.removeEventListener("focus",n),r.removeEventListener("blur",fc),r.removeAttribute("aria-describedby")),m(Tc.value?.targetRef)===m(e.targetRef)&&(Tc.value=void 0)})}var f3e=["aria-disabled"],p3e={key:0,class:"sr-only"},h3e=Q({inheritAttrs:!1,__name:"ScalarIconButton",props:{label:{},icon:{type:[Object,Function]},disabled:{type:Boolean},variant:{default:"ghost"},size:{default:"md"},thickness:{},weight:{},tooltip:{type:[Boolean,String,Object]}},setup(e){const t=$r({base:"scalar-icon-button grid aspect-square cursor-pointer rounded",variants:{size:{xxs:"size-3.5 p-0.5",xs:"size-5 p-1",sm:"size-6 p-1",md:"size-10 p-3",full:"size-full"},disabled:{true:"cursor-not-allowed shadow-none"},variant:_L},compoundVariants:[{size:"md",variant:"ghost",class:"size-8 p-2 m-1 -outline-offset-2 rounded-lg"}]}),{cx:n}=At(),r=vi("ref");return QL({content:I(()=>e.label),offset:I(()=>e.variant==="ghost"?0:4),placement:I(()=>
15typeof e.tooltip=="boolean"?void 0:e.tooltip),targetRef:I(()=>e.tooltip?r.value:void 0)}),(a,i)=>(g(),S("button",Ae({ref:"ref","aria-disabled":e.disabled,type:"button"},m(n)(m(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[N(m(xy),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,["icon","thickness","weight"]),e.tooltip?B("",!0):(g(),S("span",p3e,V(e.label),1))],16,f3e))}}),eo=h3e,m3e={class:"flex flex-col gap-px"},g3e=Q({inheritAttrs:!1,__name:"ScalarSidebarSection",props:{is:{default:"li"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},loading:{type:Boolean}},setup(e){const{level:t}=Tx({increment:!1}),{cx:n}=At();return(r,a)=>(g(),L(Yt(e.is),Rt(Ft(m(n)("group/item group/sidebar-section contents"))),{default:P(()=>[N(DA,{class:"group/spacer-before h-3",indent:m(t)},null,8,["indent"]),r.$slots.default?(g(),L(Xf,{key:0,is:"div",class:"text-sm/4 py-1.75 font-bold",disabled:"",icon:e.icon,indent:m(t)},{default:P(()=>[H(r.$slots,"default")]),_:3},8,["icon","indent"])):B("",!0),w("ul",m3e,[e.loading?(g(),L(TL,{key:0})):H(r.$slots,"items",{},void 0,void 0,1)]),N(DA,{class:"group/spacer-after h-3",indent:m(t)},null,8,["indent"])]),_:3},16))}}),Px=g3e;const b3e=e=>e.button===0&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey;var VA=Object.defineProperty,y3e=(e,t)=>{let n={};for(var r in e)VA(n,r,{get:e[r],enumerable:!0});return VA(n,Symbol.toStringTag,{value:"Module"}),n},FL=y3e({default:()=>zL,render:()=>Ix}),v3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"};function Ix(e,t){return g(),S("svg",v3e,[...t[0]||(t[0]=[w("path",{d:"M216 72h-85.33l-27.74-20.8a16.12 16.12 0 0 0-9.6-3.2H40a16 16 0 0 0-16 16v136a16 16 0 0 0 16 16h176.89A15.13 15.13 0 0 0 232 200.89V88a16 16 0 0 0-16-16m0 128H40V64h53.33l29.87 22.4A8 8 0 0 0 128 88h88Z"},null,-1)])])}var zL={render:Ix};const O3e=Object.freeze(Object.defineProperty({__proto__:null,default:zL,interface_content_folder_exports:FL,render:Ix},Symbol.toStringTag,{value:"Module"}));var VL=Object.assign({
15"./icons/basic-shape-diamond.svg":()=>Be(()=>import("./basic-shape-diamond.svg-D0Ad5T6y.js"),__vite__mapDeps([0,1,2])),
15"./icons/basic-shape-hexagon.svg":()=>Be(()=>import("./basic-shape-hexagon.svg-CHtT9Rkl.js"),__vite__mapDeps([3,1,2])),
15"./icons/basic-shape-primary-circle-ellipse-round.svg":()=>Be(()=>import("./basic-shape-primary-circle-ellipse-round.svg-CRItoBcI.js"),__vite__mapDeps([4,1,2])),
15"./icons/basic-shape-primary-square-rectangle.svg":()=>Be(()=>import("./basic-shape-primary-square-rectangle.svg-DAxXMUmH.js"),__vite__mapDeps([5,1,2])),
15"./icons/basic-shape-shield.svg":()=>Be(()=>import("./basic-shape-shield.svg-9UHRT9Tn.js"),__vite__mapDeps([6,1,2])),
15"./icons/computer-device-desktop-monitor.svg":()=>Be(()=>import("./computer-device-desktop-monitor.svg-wiYmwUOK.js"),__vite__mapDeps([7,1,2])),
15"./icons/computer-device-desktop.svg":()=>Be(()=>import("./computer-device-desktop.svg-sBzZDa5u.js"),__vite__mapDeps([8,1,2])),
15"./icons/computer-device-laptop.svg":()=>Be(()=>import("./computer-device-laptop.svg-DbrunKjq.js"),__vite__mapDeps([9,1,2])),
15"./icons/computer-device-mobile-phone-android-samsung-back.svg":()=>Be(()=>import("./computer-device-mobile-phone-android-samsung-back.svg-BKN9ci8s.js"),__vite__mapDeps([10,1,2])),
15"./icons/computer-device-mobile-phone-android-samsung.svg":()=>Be(()=>import("./computer-device-mobile-phone-android-samsung.svg-DMbVA27F.js"),__vite__mapDeps([11,1,2])),
15"./icons/computer-device-mobile-phone-iphone-x-back.svg":()=>Be(()=>import("./computer-device-mobile-phone-iphone-x-back.svg-CQboPXKi.js"),__vite__mapDeps([12,1,2])),
15"./icons/computer-device-mobile-phone-iphone-x.svg":()=>Be(()=>import("./computer-device-mobile-phone-iphone-x.svg-C0wSSyBH.js"),__vite__mapDeps([13,1,2])),
15"./icons/computer-device-mobile-tablet-touch.svg":()=>Be(()=>import("./computer-device-mobile-tablet-touch.svg-BnlOp-Mi.js"),__vite__mapDeps([14,1,2])),
15"./icons/computer-device-mobile-tablet.svg":()=>Be(()=>import("./computer-device-mobile-tablet.svg-DaSPM5PK.js"),__vite__mapDeps([15,1,2])),
15"./icons/computer-device-network-ethernet-cat6.svg":()=>Be(()=>import("./computer-device-network-ethernet-cat6.svg-BDu7qIKE.js"),__vite__mapDeps([16,1,2])),
15"./icons/computer-device-network-lan-www.svg":()=>Be(()=>import("./computer-device-network-lan-www.svg-lTI2yA9j.js"),__vite__mapDeps([17,1,2])),
15"./icons/computer-device-network-wifi-connection.svg":()=>Be(()=>import("./computer-device-network-wifi-connection.svg-BO4lVBfo.js"),__vite__mapDeps([18,1,2])),
15"./icons/computer-device-network-wifi-router.svg":()=>Be(()=>import("./computer-device-network-wifi-router.svg-XwvsmfVR.js"),__vite__mapDeps([19,1,2])),
15"./icons/ecology-science-erlenmeyer-flask.svg":()=>Be(()=>import("./ecology-science-erlenmeyer-flask.svg-DhqmSkqG.js"),__vite__mapDeps([20,1,2])),
15"./icons/image-flash-lightning.svg":()=>Be(()=>import("./image-flash-lightning.svg-X4ulwJ3a.js"),__vite__mapDeps([21,1,2])),
15"./icons/image-picture-flower.svg":()=>Be(()=>import("./image-picture-flower.svg-BQ-ax8YH.js"),__vite__mapDeps([22,1,2])),
15"./icons/interface-alert-exclamation-diamond.svg":()=>Be(()=>import("./interface-alert-exclamation-diamond.svg-bsiC6jjO.js"),__vite__mapDeps([23,1,2])),
15"./icons/interface-alert-exclamation-triangle-warning.svg":()=>Be(()=>import("./interface-alert-exclamation-triangle-warning.svg-DPo51CIU.js"),__vite__mapDeps([24,1,2])),
15"./icons/interface-alert-information-circle.svg":()=>Be(()=>import("./interface-alert-information-circle.svg-fYnRYRxY.js"),__vite__mapDeps([25,1,2])),
15"./icons/interface-award-crown.svg":()=>Be(()=>import("./interface-award-crown.svg-Cw3-r4x1.js"),__vite__mapDeps([26,1,2])),
15"./icons/interface-bookmark-tag.svg":()=>Be(()=>import("./interface-bookmark-tag.svg-yuHIcDtW.js"),__vite__mapDeps([27,1,2])),
15"./icons/interface-bookmark.svg":()=>Be(()=>import("./interface-bookmark.svg-DUa-JX4q.js"),__vite__mapDeps([28,1,2])),
15"./icons/interface-calendar-date-one.svg":()=>Be(()=>import("./interface-calendar-date-one.svg-W9xIhK07.js"),__vite__mapDeps([29,1,2])),
15"./icons/interface-content-book-open-pages.svg":()=>Be(()=>import("./interface-content-book-open-pages.svg-C75Bv6z9.js"),__vite__mapDeps([30,1,2])),
15"./icons/interface-content-book-page.svg":()=>Be(()=>import("./interface-content-book-page.svg-D9dMYAzm.js"),__vite__mapDeps([31,1,2])),
15"./icons/interface-content-file.svg":()=>Be(()=>import("./interface-content-file.svg-DFgnAxWR.js"),__vite__mapDeps([32,1,2])),
15"./icons/interface-content-folder.svg":()=>Be(()=>Promise.resolve().then(()=>O3e),void 0),
15"./icons/interface-copy-clipboard.svg":()=>Be(()=>import("./interface-copy-clipboard.svg-B4nUSk3V.js"),__vite__mapDeps([33,1,2])),
15"./icons/interface-edit-attachment.svg":()=>Be(()=>import("./interface-edit-attachment.svg-DvViBakt.js"),__vite__mapDeps([34,1,2])),
15"./icons/interface-edit-binocular.svg":()=>Be(()=>import("./interface-edit-binocular.svg-Bdk0NX69.js"),__vite__mapDeps([35,1,2])),
15"./icons/interface-edit-magic-wand.svg":()=>Be(()=>import("./interface-edit-magic-wand.svg-6oO0M-hY.js"),__vite__mapDeps([36,1,2])),
15"./icons/interface-edit-tool-paint-roller.svg":()=>Be(()=>import("./interface-edit-tool-paint-roller.svg-BoIZJeiU.js"),__vite__mapDeps([37,1,2])),
15"./icons/interface-edit-tool-pencil.svg":()=>Be(()=>import("./interface-edit-tool-pencil.svg-CZi97QId.js"),__vite__mapDeps([38,1,2])),
15"./icons/interface-favorite-award.svg":()=>Be(()=>import("./interface-favorite-award.svg-BDZ-L-lE.js"),__vite__mapDeps([39,1,2])),
15"./icons/interface-favorite-flag.svg":()=>Be(()=>import("./interface-favorite-flag.svg-Bvt29l67.js"),__vite__mapDeps([40,1,2])),
15"./icons/interface-favorite-heart.svg":()=>Be(()=>import("./interface-favorite-heart.svg-BRFEIcNn.js"),__vite__mapDeps([41,1,2])),
15"./icons/interface-favorite-star.svg":()=>Be(()=>import("./interface-favorite-star.svg-FWF4VIha.js"),__vite__mapDeps([42,1,2])),
15"./icons/interface-favorite-stars-sparkles.svg":()=>Be(()=>import("./interface-favorite-stars-sparkles.svg-dW-g2n6e.js"),__vite__mapDeps([43,1,2])),
15"./icons/interface-hierarchy-flowchart.svg":()=>Be(()=>import("./interface-hierarchy-flowchart.svg-uflG1sUR.js"),__vite__mapDeps([44,1,2])),
15"./icons/interface-home-house.svg":()=>Be(()=>import("./interface-home-house.svg-lM2xUsSa.js"),__vite__mapDeps([45,1,2])),
15"./icons/interface-hyperlink.svg":()=>Be(()=>import("./interface-hyperlink.svg-CIIwunXb.js"),__vite__mapDeps([46,1,2])),
15"./icons/interface-lighting-brightness.svg":()=>Be(()=>import("./interface-lighting-brightness.svg-MSeT2v5n.js"),__vite__mapDeps([47,1,2])),
15"./icons/interface-lock-closed.svg":()=>Be(()=>import("./interface-lock-closed.svg-CNAizSoe.js"),__vite__mapDeps([48,1,2])),
15"./icons/interface-lock-open-unlock.svg":()=>Be(()=>import("./interface-lock-open-unlock.svg-Betp9h5a.js"),__vite__mapDeps([49,1,2])),
15"./icons/interface-login-key.svg":()=>Be(()=>import("./interface-login-key.svg-obMOR5Oi.js"),__vite__mapDeps([50,1,2])),
15"./icons/interface-search.svg":()=>Be(()=>import("./interface-search.svg-Dsg2xHCV.js"),__vite__mapDeps([51,1,2])),
15"./icons/interface-setting-cog.svg":()=>Be(()=>import("./interface-setting-cog.svg-CkAT75PK.js"),__vite__mapDeps([52,1,2])),
15"./icons/interface-share-megaphone-bullhorn.svg":()=>Be(()=>import("./interface-share-megaphone-bullhorn.svg-2rsOnotQ.js"),__vite__mapDeps([53,1,2])),
15"./icons/interface-share-rocket.svg":()=>Be(()=>import("./interface-share-rocket.svg-BjVfHTlT.js"),__vite__mapDeps([54,1,2])),
15"./icons/interface-share-satellite.svg":()=>Be(()=>import("./interface-share-satellite.svg-Db0nNDKz.js"),__vite__mapDeps([55,1,2])),
15"./icons/interface-share-space-ship.svg":()=>Be(()=>import("./interface-share-space-ship.svg-DOSeu_B3.js"),__vite__mapDeps([56,1,2])),
15"./icons/interface-share.svg":()=>Be(()=>import("./interface-share.svg-CahQLjbl.js"),__vite__mapDeps([57,1,2])),
15"./icons/interface-signal-square.svg":()=>Be(()=>import("./interface-signal-square.svg-9fVw6AAY.js"),__vite__mapDeps([58,1,2])),
15"./icons/interface-time-clock-circle.svg":()=>Be(()=>import("./interface-time-clock-circle.svg-DjNOuQex.js"),__vite__mapDeps([59,1,2])),
15"./icons/interface-time-hour-glass.svg":()=>Be(()=>import("./interface-time-hour-glass.svg-r25uAcV4.js"),__vite__mapDeps([60,1,2])),
15"./icons/interface-users-multiple.svg":()=>Be(()=>import("./interface-users-multiple.svg-Cs7ttK0c.js"),__vite__mapDeps([61,1,2])),
15"./icons/interface-weather-moon.svg":()=>Be(()=>import("./interface-weather-moon.svg-CZ_bJs9c.js"),__vite__mapDeps([62,1,2])),
15"./icons/mail-chat-bubble-square.svg":()=>Be(()=>import("./mail-chat-bubble-square.svg-BWlgwKJ-.js"),__vite__mapDeps([63,1,2])),
15"./icons/mail-send-email-paper-airplane.svg":()=>Be(()=>import("./mail-send-email-paper-airplane.svg-RGg9jIm-.js"),__vite__mapDeps([64,1,2])),
15"./icons/mail-send-envelope.svg":()=>Be(()=>import("./mail-send-envelope.svg-NeIeNk21.js"),__vite__mapDeps([65,1,2])),
15"./icons/money-cashier-receipt.svg":()=>Be(()=>import("./money-cashier-receipt.svg-CVNLKKRR.js"),__vite__mapDeps([66,1,2])),
15"./icons/money-currency-dollar-pay.svg":()=>Be(()=>import("./money-currency-dollar-pay.svg-fEFWTD6y.js"),__vite__mapDeps([67,1,2])),
15"./icons/money-graph-arrow-increase.svg":()=>Be(()=>import("./money-graph-arrow-increase.svg-CHl9U-50.js"),__vite__mapDeps([68,1,2])),
15"./icons/money-graph-bar-chart-increase.svg":()=>Be(()=>import("./money-graph-bar-chart-increase.svg-j7rHVCT8.js"),__vite__mapDeps([69,1,2])),
15"./icons/nature-ecology-leaf.svg":()=>Be(()=>import("./nature-ecology-leaf.svg-Cm6C9_pZ.js"),__vite__mapDeps([70,1,2])),
15"./icons/phone-telephone.svg":()=>Be(()=>import("./phone-telephone.svg-BI_2IdyD.js"),__vite__mapDeps([71,1,2])),
15"./icons/programming-bug.svg":()=>Be(()=>import("./programming-bug.svg-DMySBbk6.js"),__vite__mapDeps([72,1,2])),
15"./icons/programming-cloud.svg":()=>Be(()=>import("./programming-cloud.svg-D0bDzt12.js"),__vite__mapDeps([73,1,2])),
15"./icons/programming-computer-database-server.svg":()=>Be(()=>import("./programming-computer-database-server.svg-CeZlK0p-.js"),__vite__mapDeps([74,1,2])),
15"./icons/programming-computer-database.svg":()=>Be(()=>import("./programming-computer-database.svg-H2wi1Hl4.js"),__vite__mapDeps([75,1,2])),
15"./icons/programming-module-four-layout.svg":()=>Be(()=>import("./programming-module-four-layout.svg-DeecnKT2.js"),__vite__mapDeps([76,1,2])),
15"./icons/programming-module-three.svg":()=>Be(()=>import("./programming-module-three.svg-C_dY4WHh.js"),__vite__mapDeps([77,1,2])),
15"./icons/programming-module.svg":()=>Be(()=>import("./programming-module.svg-BFHWhjqx.js"),__vite__mapDeps([78,1,2])),
15"./icons/programming-script-code.svg":()=>Be(()=>import("./programming-script-code.svg-P5n43X9t.js"),__vite__mapDeps([79,1,2])),
15"./icons/shopping-cart.svg":()=>Be(()=>import("./shopping-cart.svg-CG7hN5pa.js"),__vite__mapDeps([80,1,2])),
15"./icons/shopping-gift-present.svg":()=>Be(()=>import("./shopping-gift-present.svg-DnUhO3sF.js"),__vite__mapDeps([81,1,2])),
15"./icons/shopping-shipping-box-parcel-package.svg":()=>Be(()=>import("./shopping-shipping-box-parcel-package.svg-CwpLhZOB.js"),__vite__mapDeps([82,1,2])),
15"./icons/tag-new-circle.svg":()=>Be(()=>import("./tag-new-circle.svg-CTPOsGoN.js"),__vite__mapDeps([83,1,2])),
15"./icons/travel-map-earth-globe.svg":()=>Be(()=>import("./travel-map-earth-globe.svg-mrZVD9rz.js"),__vite__mapDeps([84,1,2]))
vendor: 8,641 bytes, line 15
15}),HA=Object.assign({"./icons/interface-content-folder.svg":FL})["./icons/interface-content-folder.svg"];Object.keys(VL).map(e=>e.replace("./icons/","").replace(".svg","")).map(e=>({src:e,title:e.replaceAll("-"," "),tags:[]}));var WS=new Map;HA?.default&&WS.set("interface-content-folder",M9(HA.default));async function S3e(e){const t=WS.get(e);if(t)return t;const n=VL[`./icons/${e}.svg`];if(!n)return;const r=await n(),a=M9(r.default??r);return WS.set(e,a),a}var w3e=Q({__name:"LibraryIcon",props:{src:{}},setup(e){const t=e,n=yi();return cr(async()=>{n.value=await S3e(t.src)}),(r,a)=>n.value?(g(),L(Yt(n.value),{key:0})):B("",!0)}}),x3e=w3e,k3e={key:0,class:"line-through"},A3e={key:0,class:"line-through"},T3e=Q({__name:"SidebarItem",props:{item:{},layout:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},getHref:{type:Function},isDraggable:{},isDroppable:{type:Function}},emits:["selectItem","onDragEnd","toggleGroup"],setup(e,{emit:t}){const n=t,r=m8(),a=h=>"isGroup"in h&&h.isGroup,i=h=>("isDeprecated"in h&&h.isDeprecated)??!1,o=(h,b)=>{n("onDragEnd",h,b)},{draggableAttrs:s,draggableEvents:l}=ufe({id:e.item.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:o}),c=I(()=>zN(e.item)?yx(e.layout,e.item.children,e.options?.hideOperationDefaultExamples):[]),u=I(()=>e.getHref?.(e.item)||void 0),d=I(()=>!!u.value||e.layout==="reference"&&e.item.type==="text"),f=h=>{const b=h?e.options?.labels?.closeGroup??"Close Group":e.options?.labels?.openGroup??"Open Group";return e.item.title?`${b} - ${e.item.title}`:b},p=h=>{if(u.value){if((h.target instanceof Element?h.target.closest("a"):null)?.getAttribute("href")!==u.value||h.defaultPrevented||!b3e(h))return;h.preventDefault()}n("selectItem",e.item.id)};return(h,b)=>{const y=Pb("SidebarItem",!0);return c.value.length>0&&a(e.item)?(g(),L(m(Px),Ae({key:0,"data-sidebar-id":e.item.id},m(s),tO(m(l))),{items:P(()=>[(g(!0),S(le,null,it(c.value,O=>(g(),L(y,{key:O.id,getHref:e.getHref,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:O,layout:e.layout,options:e.options,onOnDragEnd:o,onSelectItem:b[0]||(b[0]=A=>n("selectItem",A)),onToggleGroup:b[1]||(b[1]=A=>n("toggleGroup",A))},lr({_:2},[r.decorator?{name:"decorator",fn:P(A=>[H(h.$slots,"decorator",Ae({ref_for:!0},A))]),key:"0"}:void 0,r.empty?{name:"empty",fn:P(A=>[H(h.$slots,"empty",Ae({ref_for:!0},A))]),key:"1"}:void 0,r.icon?{name:"icon",fn:P(A=>[H(h.$slots,"icon",Ae({ref_for:!0},A))]),key:"2"}:void 0]),1032,["getHref","isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128))]),default:P(()=>[J(V(e.item.title)+" ",1)]),_:3},16,["data-sidebar-id"])):m(age)(e.layout,e.item,r.empty!==void 0,e.options?.hideOperationDefaultExamples??!1)?(g(),L(m(Swe),Ae({key:1,active:e.isSelected(e.item.id),class:"relative",controlled:"","data-sidebar-id":e.item.id},m(s),{discrete:d.value,open:e.isExpanded(e.item.id)},tO(m(l))),lr({button:P(({open:O,level:A})=>[N(m(Xf),{is:u.value?"a":"button",active:e.isSelected(e.item.id),"aria-expanded":d.value?void 0:O,href:u.value,indent:A,onClick:p},lr({indent:P(()=>[N(m(wy),{class:"-my-2 mr-0",indent:A},null,8,["indent"])]),aside:P(()=>["method"in e.item?(g(),L(IA,{key:0,active:e.isSelected(e.item.id),class:Se(["ml-2 h-4 self-start",{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),label:e.options?.labels?.httpMethod,method:e.item.method,webhook:e.item.type==="webhook"},null,8,["active","class","label","method","webhook"])):B("",!0),d.value?(g(),L(m(kL),{key:1})):"method"in e.item?B("",!0):(g(),L(m(O2),{key:2,class:"text-sidebar-c-2",open:O},{label:P(()=>[J(V(O?e.options?.labels?.closeGroup??"Close Group":e.options?.labels?.openGroup??"Open Group"),1)]),_:2},1032,["open"]))]),default:P(()=>[i(e.item)?(g(),S("span",k3e,[N(m1,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"])])):(g(),L(m1,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"]))]),_:2},[e.item.type==="document"?{name:"icon",fn:P(()=>[H(h.$slots,"icon",{item:e.item,open:O},()=>[N(m(x3e),{class:"block",src:"icon"in e.item&&e.item.icon||"interface-content-folder"},null,8,["src"])])]),key:"0"}:void 0]),1032,["is","active","aria-expanded","href","indent"]),d.value?(g(),L(m(xL),{key:0,open:O,onClick:b[2]||(b[2]=()=>n("toggleGroup",e.item.id))},{label:P(()=>[J(V(f(O)),1)]),_:2},1032,["open"])):B("",!0)]),items:P(()=>[(g(!0),S(le,null,it(c.value,O=>(g(),L(y,{key:O.id,getHref:e.getHref,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:O,layout:e.layout,options:e.options,parentIds:[],onOnDragEnd:o,onSelectItem:b[3]||(b[3]=A=>n("selectItem",A)),onToggleGroup:b[4]||(b[4]=A=>n("toggleGroup",A))},lr({_:2},[r.decorator?{name:"decorator",fn:P(A=>[H(h.$slots,"decorator",Ae({ref_for:!0},A))]),key:"0"}:void 0,r.empty?{name:"empty",fn:P(A=>[H(h.$slots,"empty",Ae({ref_for:!0},A))]),key:"1"}:void 0,r.icon?{name:"icon",fn:P(A=>[H(h.$slots,"icon",Ae({ref_for:!0},A))]),key:"2"}:void 0]),1032,["getHref","isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128)),r.empty&&(e.item.children?.length??0)===0?H(h.$slots,"empty",{item:e.item},void 0,void 0,0):B("",!0)]),_:2},[r.decorator?{name:"after",fn:P(()=>[N(NA,null,{default:P(()=>[H(h.$slots,"decorator",{item:e.item})]),_:3})]),key:"0"}:void 0]),1040,["active","data-sidebar-id","discrete","open"])):(g(),L(m(AL),Ae({key:2},m(s),{class:"relative","data-sidebar-id":e.item.id},tO(m(l)),{onClick:p}),lr({button:P(({level:O})=>[N(m(Xf),{is:u.value?"a":"button",href:u.value,indent:O,selected:e.isSelected(e.item.id)},lr({default:P(()=>[i(e.item)?(g(),S("span",A3e,[N(m1,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"])])):(g(),L(m1,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"]))]),_:2},[r.icon?{name:"icon",fn:P(()=>[H(h.$slots,"icon",{item:e.item,open:!0})]),key:"0"}:void 0,"method"in e.item?{name:"aside",fn:P(()=>[N(IA,{active:e.isSelected(e.item.id),class:Se(["ml-2 h-4 self-start",{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),label:e.options?.labels?.httpMethod,method:e.item.method,webhook:e.item.type==="webhook"},null,8,["active","class","label","method","webhook"])]),key:"1"}:void 0]),1032,["is","href","indent","selected"])]),_:2},[r.decorator?{name:"after",fn:P(()=>[N(NA,null,{default:P(()=>[H(h.$slots,"decorator",{item:e.item})]),_:3})]),key:"0"}:void 0]),1040,["data-sidebar-id"]))}}}),E3e=T3e,_3e=Q({__name:"ScalarSidebar",props:{layout:{},items:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},indent:{default:20},getHref:{type:Function},isDraggable:{},isDroppable:{type:Function}},emits:["reorder","selectItem","toggleGroup"],setup(e,{emit:t}){const n=t,r=m8(),a=(i,o)=>{n("reorder",i,o)};return(i,o)=>(g(),L(m(uge),{class:"flex min-h-0 flex-col",style:kr({"--scalar-sidebar-indent":e.indent+"px"})},{default:P(()=>[H(i.$slots,"header"),H(i.$slots,"default",{},()=>[N(m(Awe),{class:"custom-scroll"},{default:P(()=>[H(i.$slots,"before"),(g(!0),S(le,null,it(m(yx)(e.layout,e.items),s=>(g(),L(E3e,{key:s.id,getHref:e.getHref,isDraggable:e.isDraggable??e.layout==="client",isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:s,layout:e.layout,options:e.options,onOnDragEnd:a,onSelectItem:o[0]||(o[0]=l=>n("selectItem",l)),onToggleGroup:o[1]||(o[1]=l=>n("toggleGroup",l))},lr({_:2},[r.decorator?{name:"decorator",fn:P(l=>[H(i.$slots,"decorator",Ae({ref_for:!0},l))]),key:"0"}:void 0,r.empty?{name:"empty",fn:P(l=>[H(i.$slots,"empty",Ae({ref_for:!0},l))]),key:"1"}:void 0,r.icon?{name:"icon",fn:P(l=>[H(i.$slots,"icon",Ae({ref_for:!0},l))]),key:"2"}:void 0]),1032,["getHref","isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128))]),_:3}),H(i.$slots,"spacer",{},()=>[o[2]||(o[2]=w("div",{class:"flex-1"},null,-1))])]),H(i.$slots,"footer")]),_:3},8,["style"]))}}),C3e=_3e,$3e=({items:e,nestedKey:t="children",filter:n=()=>!0,getId:r=a=>a.id})=>{const a=new Map,i=o=>{n(o)&&a.set(r(o),o),t in o&&Array.isArray(o[t])&&o[t]?.forEach(s=>i({...s,parent:o}))};return e.forEach(i),a},P3e=(e,t)=>
15{const n=I(()=>$3e({items:pt(e),nestedKey:t?.key??"children"})),r=K({}),a=K({}),i=K(null),o=d=>{const f=p=>{p&&(r.value[p.id]=!0,"parent"in p&&p.parent&&f(p.parent))};t?.hooks?.onBeforeSelect&&t.hooks.onBeforeSelect(d),r.value={},i.value=d,d!==null&&f(n.value.get(d)),t?.hooks?.onAfterSelect&&t.hooks.onAfterSelect(d)},s=(d,f)=>{const p=h=>{h&&(a.value[h.id]=!0,"parent"in h&&h.parent&&p(h.parent))};t?.hooks?.onBeforeExpand&&t.hooks.onBeforeExpand(d),f===!1?a.value[d]=!1:p(n.value.get(d)),t?.hooks?.onAfterExpand&&t.hooks.onAfterExpand(d)},l=d=>a.value[d]??!1,c=d=>r.value[d]??!1,u=d=>n.value.get(d);return{items:I(()=>pt(e)),index:n,selectedItems:r,expandedItems:a,selectedItem:i,setSelected:o,setExpanded:s,isExpanded:l,isSelected:c,getEntryById:u,reset:()=>{r.value={},a.value={}}}},I3e=100,N3e=e=>{if(window.getComputedStyle(e).display!=="contents")return e;for(const t of e.children)if(t instanceof HTMLElement&&t.offsetParent!==null)return t;return e},R3e=e=>e.dataset.sidebarType!=="heading"?0:e.querySelector(".sidebar-heading")?.offsetHeight??0,M3e=(e,t)=>{let n=e.offsetTop,r=e.offsetParent;for(;r&&r!==t;)n+=r.offsetTop,r=r.offsetParent;return n},L3e=(e,t=I3e)=>{if(typeof window>"u")return;const n=document.querySelector(`[data-sidebar-id="${e}"]`),r=n?.closest(".custom-scroll, .custom-scrollbar")??null;if(!n||!r)return;const a=M3e(N3e(n),r)+R3e(n)-t;r.scrollTo({top:a>0?a:0})},D3e=["aria-selected"],B3e={key:0,class:"flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1"},U3e={class:"flex min-w-0 flex-1 flex-col gap-0.5"},j3e={class:"flex items-center gap-1"},Q3e={class:"flex-1 truncate zoomed:whitespace-normal! wrap-break-word font-medium"},F3e={key:0,class:"text-base text-c-2"},z3e={key:0,class:"truncate zoomed:whitespace-normal! wrap-break-word text-c-2"},V3e=Q({inheritAttrs:!1,__name:"ScalarSearchResultItem",props:{icon:{type:[Object,Function]},selected:{type:Boolean}},setup(e){const{cx:t}=At();return(n,r)=>(g(),S("a",Ae({"aria-selected":e.selected,role:"option",tabindex:"-1"},m(t)("group flex cursor-pointer gap-2 rounded px-2 py-1.5 no-underline hover:bg-b-2 text-base/5",{"bg-b-2":e.selected})),[e.icon?(g(),S("div",B3e,[H(n.$slots,"icon",{},()=>[e.icon?(g(),L(m(xy),{key:0,class:"size-4",icon:e.icon},null,8,["icon"])):B("",!0)]),r[0]||(r[0]=w("span",null,"â",-1))])):B("",!0),w("div",U3e,[w("div",j3e,[w("div",Q3e,[H(n.$slots,"default")]),n.$slots.addon?(g(),S("div",F3e,[H(n.$slots,"addon")])):B("",!0)]),n.$slots.description?(g(),S("div",z3e,[H(n.$slots,"description")])):B("",!0)])],16,D3e))}}),H3e=V3e,q3e=Q({inheritAttrs:!1,__name:"ScalarSearchResultList",props:{noResults:{type:Boolean}},setup(e){const{cx:t}=At();return(n,r)=>(g(),S("div",Ae({role:"listbox"},m(t)("flex flex-col")),[e.noResults?H(n.$slots,"noResults",{},()=>[r[0]||(r[0]=w("div",{class:"flex flex-col items-center gap-2 px-3 py-4"},[w("div",{class:"text-base font-medium text-c-2",role:"alert"}," No results found ")],-1))],void 0):B("",!0),H(n.$slots,"default")],16))}}),Z3e=q3e,X3e={class:"sr-only"},W3e={class:"inline-flex items-center gap-1"},Y3e={class:"sr-only"},G3e={class:"sr-only"},K3e={class:"sr-only"},J3e=Q({__name:"SearchResult",props:{id:{},isSelected:{type:Boolean},result:{},modelsSectionLabel:{default:()=>di}},setup(e){const{translate:t}=Ot(),n={heading:x1e,model:BN,operation:m1e,tag:s1e,webhook:b0},r=I(()=>({heading:t("search.entryHeading"),operation:t("search.entryOperation"),tag:t("search.entryTag"),model:e.modelsSectionLabel,webhook:t("search.entryWebhook")}));return(a,i)=>(g(),L(m(H3e),{id:e.id,icon:n[e.result.item.type],selected:e.isSelected},lr({default:P(()=>[w("span",{class:Se({"text-decoration-line":e.result.item.entry.type==="operation"&&e.result.item.entry.isDeprecated})},[w("span",X3e,[J(V(r.value[e.result.item.type])+":Â ",1),e.result.item.entry.type==="operation"&&e.result.item.entry.isDeprecated?(g(),S(le,{key:0},[J(" ("+V(m(t)("common.deprecated"))+")Â ",1)],64)):B("",!0)]),J(" "+V(e.result.item.title)+" ",1),i[0]||(i[0]=w("span",{class:"sr-only"},",",-1))],2)]),_:2},[e.result.item.type!=="webhook"&&(e.result.item.method||e.result.item.path)&&e.result.item.path!==e.result.item.title?{name:"description",fn:P(()=>[w("span",W3e,[e.result.item.type==="operation"?(g(),S(le,{key:0},[N(m(ON),{"aria-hidden":"true",method:e.result.item.method??"get"},null,8,["method"]),w("span",Y3e,V(m(t)("common.httpMethod"))+": "+V(e.result.item.method??"get"),1)],64)):B("",!0),w("span",G3e,V(m(t)("common.path"))+":Â ",1),J(" "+V(e.result.item.path),1)])]),key:"0"}:e.result.item.description?{name:"description",fn:P(()=>[w("span",K3e,V(m(t)("common.description"))+":Â ",1),J(" "+V(e.result.item.description),1)]),key:"1"}:void 0]),1032,["id","icon","selected"]))}}),e8e=J3e;function t8e(e,t,n){let r=K(n?.value),a=I(()=>e.value!==void 0);return[I(()=>a.value?e.value:r.value),function(i){return a.value||(r.value=i),t?.(i)}]}function _y(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Nx(){let e=[],t={addEventListener(n,r,a,i){return n.addEventListener(r,a,i),t.add(()=>n.removeEventListener(r,a,i))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...n)})},setTimeout(...n){let r=setTimeout(...n);t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return _y(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,a){let i=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:a}),this.add(()=>{Object.assign(n.style,{[r]:i})})},group(n){let r=Nx();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let a of e.splice(r,1))a()}},dispose(){for(let n of e.splice(0))n()}};return t}var qA;let HL=Symbol("headlessui.useid"),n8e=0;const Da=(qA=vn)!=null?qA:function(){return Rn(HL,()=>`${++n8e}`)()};function r8e(e){In(HL,e)}function Pe(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function zn(e,t,...n){if(e in t){let a=t[e];return typeof a=="function"?a(...n):a}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,zn),r}
15var a8e=Object.defineProperty,i8e=(e,t,n)=>t in e?a8e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ZA=(e,t,n)=>(i8e(e,typeof t!="symbol"?t+"":t,n),n);let o8e=class{constructor(){ZA(this,"current",this.detect()),ZA(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},Cy=new o8e;function vs(e){if(Cy.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=Pe(e);if(t)return t.ownerDocument}return document}let YS=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Yn=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Yn||{}),wl=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(wl||{}),s8e=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(s8e||{});function v0(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(YS)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var $y=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))($y||{});function Py(e,t=0){var n;return e===((n=vs(e))==null?void 0:n.body)?!1:zn(t,{0(){return e.matches(YS)},1(){let r=e;for(;r!==null;){if(r.matches(YS))return!0;r=r.parentElement}return!1}})}function p2t(e){let t=vs(e);Nn(()=>{t&&!Py(t.activeElement,0)&&Ec(e)})}var l8e=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(l8e||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Ec(e){e?.focus({preventScroll:!0})}let c8e=["textarea","input"].join(",");function u8e(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,c8e))!=null?n:!1}function ku(e,t=n=>n){return e.slice().sort((n,r)=>{let a=t(n),i=t(r);if(a===null||i===null)return 0;let o=a.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function h2t(e,t){return ua(v0(),t,{relativeTo:e})}function ua(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:a=[]}={}){var i;let o=(i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)!=null?i:document,s=Array.isArray(e)?n?ku(e):e:v0(e);a.length>0&&s.length>1&&(s=s.filter(h=>!a.includes(h))),r=r??o.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(r))-1;if(t&4)return Math.max(0,s.indexOf(r))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},d=0,f=s.length,p;do{if(d>=f||d+f<=0)return 0;let h=c+d;if(t&16)h=(h+f)%f;else{if(h<0)return 3;if(h>=f)return 1}p=s[h],p?.focus(u),d+=l}while(p!==o.activeElement);return t&6&&u8e(p)&&p.select(),2}function qL(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function d8e(){return/Android/gi.test(window.navigator.userAgent)}function f8e(){return qL()||d8e()}function b1(e,t,n){Cy.isServer||cr(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function ZL(e,t,n){Cy.isServer||cr(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function Rx(e,t,n=I(()=>!0)){function r(i,o){if(!n.value||i.defaultPrevented)return;let s=o(i);if(s===null||!s.getRootNode().contains(s))return;let l=(function c(u){return typeof u=="function"?c(u()):Array.isArray(u)||u instanceof Set?u:[u]})(e);for(let c of l){if(c===null)continue;let u=c instanceof HTMLElement?c:Pe(c);if(u!=null&&u.contains(s)||i.composed&&i.composedPath().includes(u))return}return!Py(s,$y.Loose)&&s.tabIndex!==-1&&i.preventDefault(),t(i,s)}let a=K(null);b1("pointerdown",i=>{var o,s;
15n.value&&(a.value=((s=(o=i.composedPath)==null?void 0:o.call(i))==null?void 0:s[0])||i.target)},!0),b1("mousedown",i=>{var o,s;n.value&&(a.value=((s=(o=i.composedPath)==null?void 0:o.call(i))==null?void 0:s[0])||i.target)},!0),b1("click",i=>{f8e()||a.value&&(r(i,()=>a.value),a.value=null)},!0),b1("touchend",i=>r(i,()=>i.target instanceof HTMLElement?i.target:null),!0),ZL("blur",i=>r(i,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function XA(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Iy(e,t){let n=K(XA(e.value.type,e.value.as));return Mt(()=>{n.value=XA(e.value.type,e.value.as)}),cr(()=>{var r;n.value||Pe(t)&&Pe(t)instanceof HTMLButtonElement&&!((r=Pe(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}function WA(e){return[e.screenX,e.screenY]}function p8e(){let e=K([-1,-1]);return{wasMoved(t){let n=WA(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=WA(t)}}}var ds=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(ds||{}),h8e=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(h8e||{});function fr({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...a}){var i;let o=WL(r,n),s=Object.assign(a,{props:o});if(e||t&2&&o.static)return OO(s);if(t&1){let l=(i=o.unmount)==null||i?0:1;return zn(l,{0(){return null},1(){return OO({...a,props:{...o,hidden:!0,style:{display:"none"}}})}})}return OO(s)}function OO({props:e,attrs:t,slots:n,slot:r,name:a}){var i,o;let{as:s,...l}=Mx(e,["unmount","static"]),c=(i=n.default)==null?void 0:i.call(n,r),u={};if(r){let d=!1,f=[];for(let[p,h]of Object.entries(r))typeof h=="boolean"&&(d=!0),h===!0&&f.push(p);d&&(u["data-headlessui-state"]=f.join(" "))}if(s==="template"){if(c=XL(c??[]),Object.keys(l).length>0||Object.keys(t).length>0){let[d,...f]=c??[];if(!g8e(d)||f.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${a} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).map(b=>b.trim()).filter((b,y,O)=>O.indexOf(b)===y).sort((b,y)=>b.localeCompare(y)).map(b=>` - ${b}`).join(` 16`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(b=>` - ${b}`).join(` 17`)].join(` 18`));let p=WL((o=d.props)!=null?o:{},l,u),h=RX(d,p,!0);for(let b in p)b.startsWith("on")&&(h.props||(h.props={}),h.props[b]=p[b]);return h}return Array.isArray(c)&&c.length===1?c[0]:c}return Pn(s,Object.assign({},l,u),{default:()=>c})}function XL(e){return e.flatMap(t=>t.type===le?XL(t.children):[t])}function WL(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let a in r)a.startsWith("on")&&typeof r[a]=="function"?(n[a]!=null||(n[a]=[]),n[a].push(r[a])):t[a]=r[a];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](a,...i){let o=n[r];for(let s of o){if(a instanceof Event&&a.defaultPrevented)return;s(a,...i)}}});return t}function m8e(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Mx(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function g8e(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var Rl=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Rl||{});let Ml=Q({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{var r;let{features:a,...i}=e,o={"aria-hidden":(a&2)===2?!0:(r=i["aria-hidden"])!=null?r:void 0,hidden:(a&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(a&4)===4&&(a&2)!==2&&{display:"none"}}};return fr({ourProps:o,theirProps:i,slot:{},attrs:n,slots:t,name:"Hidden"})}}}),YL=Symbol("Context");var ka=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(ka||{});function Ny(){return Rn(YL,null)}function Lx(e){In(YL,e)}var qt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(qt||{});function b8e(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let Au=[];b8e(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Au[0]!==t.target&&(Au.unshift(t.target),Au=Au.filter(n=>n!=null&&n.isConnected),Au.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function y8e(e){throw new Error("Unexpected object: "+e)}var Ya=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Ya||{});function v8e(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),a=r??-1;switch(e.focus){case 0:{for(let i=0;i<n.length;
18++i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 1:{a===-1&&(a=n.length);for(let i=a-1;i>=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 2:{for(let i=a+1;i<n.length;++i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 3:{for(let i=n.length-1;i>=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 4:{for(let i=0;i<n.length;++i)if(t.resolveId(n[i],i,n)===e.id)return i;return r}case 5:return null;default:y8e(e)}}function GL(e={},t=null,n=[]){for(let[r,a]of Object.entries(e))JL(n,KL(t,r),a);return n}function KL(e,t){return e?e+"["+t+"]":t}function JL(e,t,n){if(Array.isArray(n))for(let[r,a]of n.entries())JL(e,KL(t,r.toString()),a);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):GL(n,t,e)}function Dx(e,t,n,r){Cy.isServer||cr(a=>{e=e??window,e.addEventListener(t,n,r),a(()=>e.removeEventListener(t,n,r))})}var zi=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(zi||{});function Bx(){let e=K(0);return ZL("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function eD(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.value){let r=Pe(n);r instanceof HTMLElement&&t.add(r)}return t}var tD=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(tD||{});let uh=Object.assign(Q({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:K(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let a=K(null);r({el:a,$el:a});let i=I(()=>vs(a)),o=K(!1);Mt(()=>o.value=!0),Aa(()=>o.value=!1),S8e({ownerDocument:i},I(()=>o.value&&!!(e.features&16)));let s=w8e({ownerDocument:i,container:a,initialFocus:I(()=>e.initialFocus)},I(()=>o.value&&!!(e.features&2)));x8e({ownerDocument:i,container:a,containers:e.containers,previousActiveElement:s},I(()=>o.value&&!!(e.features&8)));let l=Bx();function c(p){let h=Pe(a);h&&(b=>b())(()=>{zn(l.value,{[zi.Forwards]:()=>{ua(h,Yn.First,{skipElements:[p.relatedTarget]})},[zi.Backwards]:()=>{ua(h,Yn.Last,{skipElements:[p.relatedTarget]})}})})}let u=K(!1);function d(p){p.key==="Tab"&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function f(p){if(!o.value)return;let h=eD(e.containers);Pe(a)instanceof HTMLElement&&h.add(Pe(a));let b=p.relatedTarget;b instanceof HTMLElement&&b.dataset.headlessuiFocusGuard!=="true"&&(nD(h,b)||(u.value?ua(Pe(a),zn(l.value,{[zi.Forwards]:()=>Yn.Next,[zi.Backwards]:()=>Yn.Previous})|Yn.WrapAround,{relativeTo:p.target}):p.target instanceof HTMLElement&&Ec(p.target)))}return()=>{let p={},h={ref:a,onKeydown:d,onFocusout:f},{features:b,initialFocus:y,containers:O,...A}=e;return Pn(le,[!!(b&4)&&Pn(Ml,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Rl.Focusable}),fr({ourProps:h,theirProps:{...t,...A},slot:p,attrs:t,slots:n,name:"FocusTrap"}),!!(b&4)&&Pn(Ml,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Rl.Focusable})])}}}),{features:tD});function O8e(e){let t=K(Au.slice());return qe([e],([n],[r])=>{r===!0&&n===!1?_y(()=>{t.value.splice(0)}):r===!1&&n===!0&&(t.value=Au.slice())},{flush:"post"}),()=>{var n;return(n=t.value.find(r=>r!=null&&r.isConnected))!=null?n:null}}function S8e({ownerDocument:e},t){let n=O8e(t);Mt(()=>{cr(()=>{var r,a;t.value||((r=e.value)==null?void 0:r.activeElement)===((a=e.value)==null?void 0:a.body)&&Ec(n())},{flush:"post"})}),Aa(()=>{t.value&&Ec(n())})}function w8e({ownerDocument:e,container:t,initialFocus:n},r){let a=K(null),i=K(!1);return Mt(()=>i.value=!0),Aa(()=>i.value=!1),Mt(()=>{qe([t,n,r],(o,s)=>{if(o.every((c,u)=>s?.[u]===c)||!r.value)return;let l=Pe(t);l&&_y(()=>{var c,u;if(!i.value)return;let d=Pe(n),f=(c=e.value)==null?void 0:c.activeElement;if(d){if(d===f){a.value=f;return}}else if(l.contains(f)){a.value=f;return}d?Ec(d):ua(l,Yn.First|Yn.NoScroll)===wl.Error&&console.warn("There are no focu
18sable elements inside the <FocusTrap />"),a.value=(u=e.value)==null?void 0:u.activeElement})},{immediate:!0,flush:"post"})}),a}function x8e({ownerDocument:e,container:t,containers:n,previousActiveElement:r},a){var i;Dx((i=e.value)==null?void 0:i.defaultView,"focus",o=>{if(!a.value)return;let s=eD(n);Pe(t)instanceof HTMLElement&&s.add(Pe(t));let l=r.value;if(!l)return;let c=o.target;c&&c instanceof HTMLElement?nD(s,c)?(r.value=c,Ec(c)):(o.preventDefault(),o.stopPropagation(),Ec(l)):Ec(r.value)},!0)}function nD(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function k8e(e){let t=yi(e.getSnapshot());return Aa(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function A8e(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(a){return r.add(a),()=>r.delete(a)},dispatch(a,...i){let o=t[a].call(n,...i);o&&(n=o,r.forEach(s=>s()))}}}function T8e(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,a=r.clientWidth-r.offsetWidth,i=e-a;n.style(r,"paddingRight",`${i}px`)}}}function E8e(){return qL()?{before({doc:e,d:t,meta:n}){function r(a){return n.containers.flatMap(i=>i()).some(i=>i.contains(a))}t.microTask(()=>{var a;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let s=Nx();s.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>s.dispose()))}let i=(a=window.scrollY)!=null?a:window.pageYOffset,o=null;t.addEventListener(e,"click",s=>{if(s.target instanceof HTMLElement)try{let l=s.target.closest("a");if(!l)return;let{hash:c}=new URL(l.href),u=e.querySelector(c);u&&!r(u)&&(o=u)}catch{}},!0),t.addEventListener(e,"touchstart",s=>{if(s.target instanceof HTMLElement)if(r(s.target)){let l=s.target;for(;l.parentElement&&r(l.parentElement);)l=l.parentElement;t.style(l,"overscrollBehavior","contain")}else t.style(s.target,"touchAction","none")}),t.addEventListener(e,"touchmove",s=>{if(s.target instanceof HTMLElement){if(s.target.tagName==="INPUT")return;if(r(s.target)){let l=s.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&s.preventDefault()}else s.preventDefault()}},{passive:!1}),t.add(()=>{var s;let l=(s=window.scrollY)!=null?s:window.pageYOffset;i!==l&&window.scrollTo(0,i),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})})}}:{}}function _8e(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function C8e(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Iu=A8e(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:Nx(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:C8e(n)},a=[E8e(),T8e(),_8e()];a.forEach(({before:i})=>i?.(r)),a.forEach(({after:i})=>i?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Iu.subscribe(()=>{let e=Iu.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",a=n.count!==0;(a&&!r||!a&&r)&&Iu.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Iu.dispatch("TEARDOWN",n)}});function $8e(e,t,n){let r=k8e(Iu),a=I(()=>{let i=e.value?r.value.get(e.value):void 0;return i?i.count>0:!1});return qe([e,t],([i,o],[s],l)=>{if(!i||!o)return;Iu.dispatch("PUSH",i,n);let c=!1;l(()=>{c||(Iu.dispatch("POP",s??i,n),c=!0)})},{immediate:!0}),a}let SO=new Map,dh=new Map;function YA(e,t=K(!0)){cr(n=>{var r;if(!t.value)return;let a=Pe(e);if(!a)return;n(function(){var o;if(!a)return;let s=(o=dh.get(a))!=null?o:1;if(s===1?dh.delete(a):dh.set(a,s-1),s!==1)return;let l=SO.get(a);l&&(l["aria-hidden"]===null?a.removeAttribute("aria-hidden"):a.setAttribute("aria-hidden",l["aria-hidden"]),a.inert=l.inert,SO.delete(a))});let i=(r=dh.get(a))!=null?r:0;dh.set(a,i+1),i===0&&(SO.set(a,{"aria-hidden":a.getAttribute("aria-hidden"),inert:a.inert}),a.setAttribute("aria-hidden","true"),a.inert=!0)})}function rD({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=K(null),a=vs(r);function i(){var o,s,l;let c=[];for(let u of e)u!==null&&(u instanceof HTMLElement?c.push(u):"value"in u&&u.value instanceof HTMLElement&&c.push(u.value));if(t!=null&&t.value)for(let u of t.value)c.push(u);for(let u of(o=a?.querySelectorAll("html > *, body > *"))!=null?o:[])u!==document.body&&u!==document.head&&u instanceof HTMLElement&&u.id!=="headlessui-portal-root"&&(u.contains(Pe(r))||u.contains((l=(s=Pe(r))==null?void 0:s.getRootNode())==null?void 0:l.host)||c.some(d=>u.contains(d))||c.push(u));return c}
18return{resolveContainers:i,contains(o){return i().some(s=>s.contains(o))},mainTreeNodeRef:r,MainTreeNode(){return n!=null?null:Pn(Ml,{features:Rl.Hidden,ref:r})}}}let aD=Symbol("ForcePortalRootContext");function P8e(){return Rn(aD,!1)}let GA=Q({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return In(aD,e.force),()=>{let{force:r,...a}=e;return fr({theirProps:a,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}}),iD=Symbol("StackContext");var GS=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(GS||{});function I8e(){return Rn(iD,()=>{})}function N8e({type:e,enabled:t,element:n,onUpdate:r}){let a=I8e();function i(...o){r?.(...o),a(...o)}Mt(()=>{qe(t,(o,s)=>{o?i(0,e,n):s===!0&&i(1,e,n)},{immediate:!0,flush:"sync"})}),Aa(()=>{t.value&&i(1,e,n)}),In(iD,i)}let R8e=Symbol("DescriptionContext");function M8e({slot:e=K({}),name:t="Description",props:n={}}={}){let r=K([]);function a(i){return r.value.push(i),()=>{let o=r.value.indexOf(i);o!==-1&&r.value.splice(o,1)}}return In(R8e,{register:a,slot:e,name:t,props:n}),I(()=>r.value.length>0?r.value.join(" "):void 0)}function L8e(e){let t=vs(e);if(!t){if(e===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById("headlessui-portal-root");if(n)return n;let r=t.createElement("div");return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)}const KS=new WeakMap;function D8e(e){var t;return(t=KS.get(e))!=null?t:0}function KA(e,t){let n=t(D8e(e));return n<=0?KS.delete(e):KS.set(e,n),n}let B8e=Q({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=K(null),a=I(()=>vs(r)),i=P8e(),o=Rn(sD,null),s=K(i===!0||o==null?L8e(r.value):o.resolveTarget());s.value&&KA(s.value,f=>f+1);let l=K(!1);Mt(()=>{l.value=!0}),cr(()=>{i||o!=null&&(s.value=o.resolveTarget())});let c=Rn(JS,null),u=!1,d=g8();return qe(r,()=>{if(u||!c)return;let f=Pe(r);f&&(Aa(c.register(f),d),u=!0)}),Aa(()=>{var f,p;let h=(f=a.value)==null?void 0:f.getElementById("headlessui-portal-root");!h||s.value!==h||KA(s.value,b=>b-1)||s.value.children.length>0||(p=s.value.parentElement)==null||p.removeChild(s.value)}),()=>{if(!l.value||s.value===null)return null;let f={ref:r,"data-headlessui-portal":""};return Pn(L9,{to:s.value},fr({ourProps:f,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),JS=Symbol("PortalParentContext");function oD(){let e=Rn(JS,null),t=K([]);function n(i){return t.value.push(i),e&&e.register(i),()=>r(i)}function r(i){let o=t.value.indexOf(i);o!==-1&&t.value.splice(o,1),e&&e.unregister(i)}let a={register:n,unregister:r,portals:t};return[t,Q({name:"PortalWrapper",setup(i,{slots:o}){return In(JS,a),()=>{var s;return(s=o.default)==null?void 0:s.call(o)}}})]}let sD=Symbol("PortalGroupContext"),U8e=Q({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){let r=hs({resolveTarget(){return e.target}});return In(sD,r),()=>{let{target:a,...i}=e;return fr({theirProps:i,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}});var j8e=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(j8e||{});let ew=Symbol("DialogContext");function Ux(e){let t=Rn(ew,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Ux),n}return t}let y1="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Q8e=Q({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:y1},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:a}){var i,o;let s=(i=e.id)!=null?i:`headlessui-dialog-${Da()}`,l=K(!1);Mt(()=>{l.value=!0});let c=!1,u=I(()=>e.role==="dialog"||e.role==="alertdialog"?e.role:(c||(c=!0,console.warn(`Invalid role [${u}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),d=K(0),f=Ny(),p=I(()=>e.open===y1&&f!==null?(f.value&ka.Open)===ka.Open:e.open),h=K(null),b=I(()=>vs(h));if(a({el:h,$el:h}),!(e.open!==y1||f!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof p.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${p.value===y1?void 0:e.open}`);let y=I(()=>l.value&&p.value?0:1),O=I(()=>y.value===0),A=I(()=>d.value>1),x=Rn(ew,null)!==null,[T,E]=oD(),{resolveContainers:C,mainTreeNodeRef:$,MainTreeNode:R}=rD({portals:T,defaultContainers:[I(()=>{var oe;return(oe=ue.panelRef.value)!=null?oe:h.value})]}),j=I(()=>A.value?"parent":"leaf"),U=I(()=>f!==null?(f.value&ka.Closing)===ka.Closing:!1),Y=I(()=>x||U.value?!1:O.value),W=I(()=>{var oe,fe,z;return(z=Array.from((fe=(oe=b.value)==null?void 0:oe.querySelectorAll("body > *"))!=null?fe:[]).find(mt=>mt.id==="headlessui-portal-root"?!1:mt.contains(Pe($))&&mt instanceof HTMLElement))!=null?z:null});YA(W,Y);let pe=I(()=>A.value?!0:O.value),ee=I(()=>{var oe,fe,z;return(z=Array.from((fe=(oe=b.value)==null?void 0:oe.querySelectorAll("[data-headlessui-portal]"))!=null?fe:[]).find(mt=>mt.contains(Pe($))&&mt instanceof HTMLElement))!=null?z:null});YA(ee,pe),N8e({type:"Dialog",enabled:I(()=>y.value===0),element:h,onUpdate:(oe,fe)=>{if(fe==="Dialog")return zn(oe,{[GS.Add]:()=>d.value+=1,[GS.Remove]:()=>d.value-=1})}});
18let ae=M8e({name:"DialogDescription",slot:I(()=>({open:p.value}))}),de=K(null),ue={titleId:de,panelRef:K(null),dialogState:y,setTitleId(oe){de.value!==oe&&(de.value=oe)},close(){t("close",!1)}};In(ew,ue);let Ee=I(()=>!(!O.value||A.value));Rx(C,(oe,fe)=>{oe.preventDefault(),ue.close(),Nn(()=>fe?.focus())},Ee);let Te=I(()=>!(A.value||y.value!==0));Dx((o=b.value)==null?void 0:o.defaultView,"keydown",oe=>{Te.value&&(oe.defaultPrevented||oe.key===qt.Escape&&(oe.preventDefault(),oe.stopPropagation(),ue.close()))});let D=I(()=>!(U.value||y.value!==0||x));return $8e(b,D,oe=>{var fe;return{containers:[...(fe=oe.containers)!=null?fe:[],C]}}),cr(oe=>{if(y.value!==0)return;let fe=Pe(h);if(!fe)return;let z=new ResizeObserver(mt=>{for(let te of mt){let Oe=te.target.getBoundingClientRect();Oe.x===0&&Oe.y===0&&Oe.width===0&&Oe.height===0&&ue.close()}});z.observe(fe),oe(()=>z.disconnect())}),()=>{let{open:oe,initialFocus:fe,...z}=e,mt={...n,ref:h,id:s,role:u.value,"aria-modal":y.value===0?!0:void 0,"aria-labelledby":de.value,"aria-describedby":ae.value},te={open:y.value===0};return Pn(GA,{force:!0},()=>[Pn(B8e,()=>Pn(U8e,{target:h.value},()=>Pn(GA,{force:!1},()=>Pn(uh,{initialFocus:fe,containers:C,features:O.value?zn(j.value,{parent:uh.features.RestoreFocus,leaf:uh.features.All&~uh.features.FocusLock}):uh.features.None},()=>Pn(E,{},()=>fr({ourProps:mt,theirProps:{...z,...n},slot:te,attrs:n,slots:r,visible:y.value===0,features:ds.RenderStrategy|ds.Static,name:"Dialog"})))))),Pn(R)])}}}),F8e=Q({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var a;let i=(a=e.id)!=null?a:`headlessui-dialog-panel-${Da()}`,o=Ux("DialogPanel");r({el:o.panelRef,$el:o.panelRef});function s(l){l.stopPropagation()}return()=>{let{...l}=e,c={id:i,ref:o.panelRef,onClick:s};return fr({ourProps:c,theirProps:l,slot:{open:o.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}}),z8e=Q({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var r;let a=(r=e.id)!=null?r:`headlessui-dialog-title-${Da()}`,i=Ux("DialogTitle");return Mt(()=>{i.setTitleId(a),Aa(()=>i.setTitleId(null))}),()=>{let{...o}=e;return fr({ourProps:{id:a},theirProps:o,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:"DialogTitle"})}}});var V8e=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(V8e||{});let lD=Symbol("DisclosureContext");function jx(e){let t=Rn(lD,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,jx),n}return t}let cD=Symbol("DisclosurePanelContext");function H8e(){return Rn(cD,null)}let kd=Q({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=K(e.defaultOpen?0:1),a=K(null),i=K(null),o={buttonId:K(`headlessui-disclosure-button-${Da()}`),panelId:K(`headlessui-disclosure-panel-${Da()}`),disclosureState:r,panel:a,button:i,toggleDisclosure(){r.value=zn(r.value,{0:1,1:0})},closeDisclosure(){r.value!==1&&(r.value=1)},close(s){o.closeDisclosure();let l=s?s instanceof HTMLElement?s:s.value instanceof HTMLElement?Pe(s):Pe(o.button):Pe(o.button);l?.focus()}};return In(lD,o),Lx(I(()=>zn(r.value,{0:ka.Open,1:ka.Closed}))),()=>{let{defaultOpen:s,...l}=e,c={open:r.value===0,close:o.close};return fr({theirProps:l,ourProps:{},slot:c,slots:t,attrs:n,name:"Disclosure"})}}}),Ll=Q({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let a=jx("DisclosureButton"),i=H8e(),o=I(()=>i===null?!1:i.value===a.panelId.value);Mt(()=>{o.value||e.id!==null&&(a.buttonId.value=e.id)}),Aa(()=>{o.value||(a.buttonId.value=null)});let s=K(null);r({el:s,$el:s}),o.value||cr(()=>{a.button.value=s.value});let l=Iy(I(()=>({as:e.as,type:t.type})),s);function c(){var f;e.disabled||(o.value?(a.toggleDisclosure(),(f=Pe(a.button))==null||f.focus()):a.toggleDisclosure())}function u(f){var p;if(!e.disabled)if(o.value)switch(f.key){case qt.Space:case qt.Enter:f.preventDefault(),f.stopPropagation(),a.toggleDisclosure(),(p=Pe(a.button))==null||p.focus();break}else switch(f.key){case qt.Space:case qt.Enter:f.preventDefault(),f.stopPropagation(),a.toggleDisclosure();break}}function d(f){f.key===qt.Space&&f.preventDefault()}return()=>{var f;let p={open:a.disclosureState.value===0},{id:h,...b}
18=e,y=o.value?{ref:s,type:l.value,onClick:c,onKeydown:u}:{id:(f=a.buttonId.value)!=null?f:h,ref:s,type:l.value,"aria-expanded":a.disclosureState.value===0,"aria-controls":a.disclosureState.value===0||Pe(a.panel)?a.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:c,onKeydown:u,onKeyup:d};return fr({ourProps:y,theirProps:b,slot:p,attrs:t,slots:n,name:"DisclosureButton"})}}}),Ad=Q({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let a=jx("DisclosurePanel");Mt(()=>{e.id!==null&&(a.panelId.value=e.id)}),Aa(()=>{a.panelId.value=null}),r({el:a.panel,$el:a.panel}),In(cD,a.panelId);let i=Ny(),o=I(()=>i!==null?(i.value&ka.Open)===ka.Open:a.disclosureState.value===0);return()=>{var s;let l={open:a.disclosureState.value===0,close:a.close},{id:c,...u}=e,d={id:(s=a.panelId.value)!=null?s:c,ref:a.panel};return fr({ourProps:d,theirProps:u,slot:l,attrs:t,slots:n,features:ds.RenderStrategy|ds.Static,visible:o.value,name:"DisclosurePanel"})}}}),JA=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function eT(e){var t,n;let r=(t=e.innerText)!=null?t:"",a=e.cloneNode(!0);if(!(a instanceof HTMLElement))return r;let i=!1;for(let s of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),i=!0;let o=i?(n=a.innerText)!=null?n:"":r;return JA.test(o)&&(o=o.replace(JA,"")),o}function q8e(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(a=>{let i=document.getElementById(a);if(i){let o=i.getAttribute("aria-label");return typeof o=="string"?o.trim():eT(i).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return eT(e).trim()}function Z8e(e){let t=K(""),n=K("");return()=>{let r=Pe(e);if(!r)return"";let a=r.innerText;if(t.value===a)return n.value;let i=q8e(r).trim().toLowerCase();return t.value=a,n.value=i,i}}function X8e(e,t){return e===t}var W8e=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(W8e||{}),Y8e=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Y8e||{}),G8e=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(G8e||{});function K8e(e){requestAnimationFrame(()=>requestAnimationFrame(e))}let uD=Symbol("ListboxContext");function O0(e){let t=Rn(uD,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,O0),n}return t}let J8e=Q({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>X8e},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){let a=K(1),i=K(null),o=K(null),s=K(null),l=K([]),c=K(""),u=K(null),d=K(1);function f(x=T=>T){let T=u.value!==null?l.value[u.value]:null,E=ku(x(l.value.slice()),$=>Pe($.dataRef.domRef)),C=T?E.indexOf(T):null;return C===-1&&(C=null),{options:E,activeOptionIndex:C}}let p=I(()=>e.multiple?1:0),[h,b]=t8e(I(()=>e.modelValue),x=>r("update:modelValue",x),I(()=>e.defaultValue)),y=I(()=>h.value===void 0?zn(p.value,{1:[],0:void 0}):h.value),O={listboxState:a,value:y,mode:p,compare(x,T){if(typeof e.by=="string"){let E=e.by;return x?.[E]===T?.[E]}return e.by(x,T)},orientation:I(()=>e.horizontal?"horizontal":"vertical"),labelRef:i,buttonRef:o,optionsRef:s,disabled:I(()=>e.disabled),options:l,searchQuery:c,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||a.value!==1&&(a.value=1,u.value=null)},openListbox(){e.disabled||a.value!==0&&(a.value=0)},goToOption(x,T,E){if(e.disabled||a.value===1)return;let C=f(),$=v8e(x===Ya.Specific?{focus:Ya.Specific,id:T}:{focus:x},{resolveItems:()=>C.options,resolveActiveIndex:()=>C.activeOptionIndex,resolveId:R=>R.id,resolveDisabled:R=>R.dataRef.disabled});c.value="",u.value=$,d.value=E??1,l.value=C.options}
18,search(x){if(e.disabled||a.value===1)return;let T=c.value!==""?0:1;c.value+=x.toLowerCase();let E=(u.value!==null?l.value.slice(u.value+T).concat(l.value.slice(0,u.value+T)):l.value).find($=>$.dataRef.textValue.startsWith(c.value)&&!$.dataRef.disabled),C=E?l.value.indexOf(E):-1;C===-1||C===u.value||(u.value=C,d.value=1)},clearSearch(){e.disabled||a.value!==1&&c.value!==""&&(c.value="")},registerOption(x,T){let E=f(C=>[...C,{id:x,dataRef:T}]);l.value=E.options,u.value=E.activeOptionIndex},unregisterOption(x){let T=f(E=>{let C=E.findIndex($=>$.id===x);return C!==-1&&E.splice(C,1),E});l.value=T.options,u.value=T.activeOptionIndex,d.value=1},theirOnChange(x){e.disabled||b(x)},select(x){e.disabled||b(zn(p.value,{0:()=>x,1:()=>{let T=Mi(O.value.value).slice(),E=Mi(x),C=T.findIndex($=>O.compare(E,Mi($)));return C===-1?T.push(E):T.splice(C,1),T}}))}};Rx([o,s],(x,T)=>{var E;O.closeListbox(),Py(T,$y.Loose)||(x.preventDefault(),(E=Pe(o))==null||E.focus())},I(()=>a.value===0)),In(uD,O),Lx(I(()=>zn(a.value,{0:ka.Open,1:ka.Closed})));let A=I(()=>{var x;return(x=Pe(o))==null?void 0:x.closest("form")});return Mt(()=>{qe([A],()=>{if(!A.value||e.defaultValue===void 0)return;function x(){O.theirOnChange(e.defaultValue)}return A.value.addEventListener("reset",x),()=>{var T;(T=A.value)==null||T.removeEventListener("reset",x)}},{immediate:!0})}),()=>{let{name:x,modelValue:T,disabled:E,form:C,...$}=e,R={open:a.value===0,disabled:E,value:y.value};return Pn(le,[...x!=null&&y.value!=null?GL({[x]:y.value}).map(([j,U])=>Pn(Ml,m8e({features:Rl.Hidden,key:j,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:C,disabled:E,name:j,value:U}))):[],fr({ourProps:{},theirProps:{...n,...Mx($,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:R,slots:t,attrs:n,name:"Listbox"})])}}}),exe=Q({name:"ListboxLabel",props:{as:{type:[Object,String],default:"label"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var r;let a=(r=e.id)!=null?r:`headlessui-listbox-label-${Da()}`,i=O0("ListboxLabel");function o(){var s;(s=Pe(i.buttonRef))==null||s.focus({preventScroll:!0})}return()=>{let s={open:i.listboxState.value===0,disabled:i.disabled.value},{...l}=e,c={id:a,ref:i.labelRef,onClick:o};return fr({ourProps:c,theirProps:l,slot:s,attrs:t,slots:n,name:"ListboxLabel"})}}}),txe=Q({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var a;let i=(a=e.id)!=null?a:`headlessui-listbox-button-${Da()}`,o=O0("ListboxButton");r({el:o.buttonRef,$el:o.buttonRef});function s(d){switch(d.key){case qt.Space:case qt.Enter:case qt.ArrowDown:d.preventDefault(),o.openListbox(),Nn(()=>{var f;(f=Pe(o.optionsRef))==null||f.focus({preventScroll:!0}),o.value.value||o.goToOption(Ya.First)});break;case qt.ArrowUp:d.preventDefault(),o.openListbox(),Nn(()=>{var f;(f=Pe(o.optionsRef))==null||f.focus({preventScroll:!0}),o.value.value||o.goToOption(Ya.Last)});break}}function l(d){d.key===qt.Space&&d.preventDefault()}function c(d){o.disabled.value||(o.listboxState.value===0?(o.closeListbox(),Nn(()=>{var f;return(f=Pe(o.buttonRef))==null?void 0:f.focus({preventScroll:!0})}
18)):(d.preventDefault(),o.openListbox(),K8e(()=>{var f;return(f=Pe(o.optionsRef))==null?void 0:f.focus({preventScroll:!0})})))}let u=Iy(I(()=>({as:e.as,type:t.type})),o.buttonRef);return()=>{var d,f;let p={open:o.listboxState.value===0,disabled:o.disabled.value,value:o.value.value},{...h}=e,b={ref:o.buttonRef,id:i,type:u.value,"aria-haspopup":"listbox","aria-controls":(d=Pe(o.optionsRef))==null?void 0:d.id,"aria-expanded":o.listboxState.value===0,"aria-labelledby":o.labelRef.value?[(f=Pe(o.labelRef))==null?void 0:f.id,i].join(" "):void 0,disabled:o.disabled.value===!0?!0:void 0,onKeydown:s,onKeyup:l,onClick:c};return fr({ourProps:b,theirProps:h,slot:p,attrs:t,slots:n,name:"ListboxButton"})}}}),nxe=Q({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var a;let i=(a=e.id)!=null?a:`headlessui-listbox-options-${Da()}`,o=O0("ListboxOptions"),s=K(null);r({el:o.optionsRef,$el:o.optionsRef});function l(d){switch(s.value&&clearTimeout(s.value),d.key){case qt.Space:if(o.searchQuery.value!=="")return d.preventDefault(),d.stopPropagation(),o.search(d.key);case qt.Enter:if(d.preventDefault(),d.stopPropagation(),o.activeOptionIndex.value!==null){let f=o.options.value[o.activeOptionIndex.value];o.select(f.dataRef.value)}o.mode.value===0&&(o.closeListbox(),Nn(()=>{var f;return(f=Pe(o.buttonRef))==null?void 0:f.focus({preventScroll:!0})}
18));break;case zn(o.orientation.value,{vertical:qt.ArrowDown,horizontal:qt.ArrowRight}):return d.preventDefault(),d.stopPropagation(),o.goToOption(Ya.Next);case zn(o.orientation.value,{vertical:qt.ArrowUp,horizontal:qt.ArrowLeft}):return d.preventDefault(),d.stopPropagation(),o.goToOption(Ya.Previous);case qt.Home:case qt.PageUp:return d.preventDefault(),d.stopPropagation(),o.goToOption(Ya.First);case qt.End:case qt.PageDown:return d.preventDefault(),d.stopPropagation(),o.goToOption(Ya.Last);case qt.Escape:d.preventDefault(),d.stopPropagation(),o.closeListbox(),Nn(()=>{var f;return(f=Pe(o.buttonRef))==null?void 0:f.focus({preventScroll:!0})});break;case qt.Tab:d.preventDefault(),d.stopPropagation();break;default:d.key.length===1&&(o.search(d.key),s.value=setTimeout(()=>o.clearSearch(),350));break}}let c=Ny(),u=I(()=>c!==null?(c.value&ka.Open)===ka.Open:o.listboxState.value===0);return()=>{var d,f;let p={open:o.listboxState.value===0},{...h}=e,b={"aria-activedescendant":o.activeOptionIndex.value===null||(d=o.options.value[o.activeOptionIndex.value])==null?void 0:d.id,"aria-multiselectable":o.mode.value===1?!0:void 0,"aria-labelledby":(f=Pe(o.buttonRef))==null?void 0:f.id,"aria-orientation":o.orientation.value,id:i,onKeydown:l,role:"listbox",tabIndex:0,ref:o.optionsRef};return fr({ourProps:b,theirProps:h,slot:p,attrs:t,slots:n,features:ds.RenderStrategy|ds.Static,visible:u.value,name:"ListboxOptions"})}}}),rxe=Q({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n,expose:r}){var a;let i=(a=e.id)!=null?a:`headlessui-listbox-option-${Da()}`,o=O0("ListboxOption"),s=K(null);r({el:s,$el:s});let l=I(()=>o.activeOptionIndex.value!==null?o.options.value[o.activeOptionIndex.value].id===i:!1),c=I(()=>zn(o.mode.value,{0:()=>o.compare(Mi(o.value.value),Mi(e.value)),1:()=>Mi(o.value.value).some(x=>o.compare(Mi(x),Mi(e.value)))})),u=I(()=>zn(o.mode.value,{1:()=>{var x;let T=Mi(o.value.value);return((x=o.options.value.find(E=>T.some(C=>o.compare(Mi(C),Mi(E.dataRef.value)))))==null?void 0:x.id)===i},0:()=>c.value})),d=Z8e(s),f=I(()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:s}));Mt(()=>o.registerOption(i,f)),Aa(()=>o.unregisterOption(i)),Mt(()=>{qe([o.listboxState,c],()=>{o.listboxState.value===0&&c.value&&zn(o.mode.value,{1:()=>{u.value&&o.goToOption(Ya.Specific,i)},0:()=>{o.goToOption(Ya.Specific,i)}})},{immediate:!0})}),cr(()=>{o.listboxState.value===0&&l.value&&o.activationTrigger.value!==0&&Nn(()=>{var x,T;return(T=(x=Pe(s))==null?void 0:x.scrollIntoView)==null?void 0:T.call(x,{block:"nearest"})})});function p(x){if(e.disabled)return x.preventDefault();o.select(e.value),o.mode.value===0&&(o.closeListbox(),Nn(()=>{var T;return(T=Pe(o.buttonRef))==null?void 0:T.focus({preventScroll:!0})}
18))}function h(){if(e.disabled)return o.goToOption(Ya.Nothing);o.goToOption(Ya.Specific,i)}let b=p8e();function y(x){b.update(x)}function O(x){b.wasMoved(x)&&(e.disabled||l.value||o.goToOption(Ya.Specific,i,0))}function A(x){b.wasMoved(x)&&(e.disabled||l.value&&o.goToOption(Ya.Nothing))}return()=>{let{disabled:x}=e,T={active:l.value,selected:c.value,disabled:x},{value:E,disabled:C,...$}=e,R={id:i,ref:s,role:"option",tabIndex:x===!0?void 0:-1,"aria-disabled":x===!0?!0:void 0,"aria-selected":c.value,disabled:void 0,onClick:p,onFocus:h,onPointerenter:y,onMouseenter:y,onPointermove:O,onMousemove:O,onPointerleave:A,onMouseleave:A};return fr({ourProps:R,theirProps:$,slot:T,attrs:n,slots:t,name:"ListboxOption"})}}});var axe=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(axe||{});let dD=Symbol("PopoverContext");function Qx(e){let t=Rn(dD,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <${Fx.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Qx),n}return t}let ixe=Symbol("PopoverGroupContext");function fD(){return Rn(ixe,null)}let pD=Symbol("PopoverPanelContext");function oxe(){return Rn(pD,null)}let Fx=Q({name:"Popover",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n,expose:r}){var a;let i=K(null);r({el:i,$el:i});let o=K(1),s=K(null),l=K(null),c=K(null),u=K(null),d=I(()=>vs(i)),f=I(()=>{var E,C;if(!Pe(s)||!Pe(u))return!1;for(let pe of document.querySelectorAll("body > *"))if(Number(pe?.contains(Pe(s)))^Number(pe?.contains(Pe(u))))return!0;let $=v0(),R=$.indexOf(Pe(s)),j=(R+$.length-1)%$.length,U=(R+1)%$.length,Y=$[j],W=$[U];return!((E=Pe(u))!=null&&E.contains(Y))&&!((C=Pe(u))!=null&&C.contains(W))}),p={popoverState:o,buttonId:K(null),panelId:K(null),panel:u,button:s,isPortalled:f,beforePanelSentinel:l,afterPanelSentinel:c,togglePopover(){o.value=zn(o.value,{0:1,1:0})},closePopover(){o.value!==1&&(o.value=1)},close(E){p.closePopover();let C=E?E instanceof HTMLElement?E:E.value instanceof HTMLElement?Pe(E):Pe(p.button):Pe(p.button);C?.focus()}};In(dD,p),Lx(I(()=>zn(o.value,{0:ka.Open,1:ka.Closed})));let h={buttonId:p.buttonId,panelId:p.panelId,close(){p.closePopover()}},b=fD(),y=b?.registerPopover,[O,A]=oD(),x=rD({mainTreeNodeRef:b?.mainTreeNodeRef,portals:O,defaultContainers:[s,u]});function T(){var E,C,$,R;return(R=b?.isFocusWithinPopoverGroup())!=null?R:((E=d.value)==null?void 0:E.activeElement)&&(((C=Pe(s))==null?void 0:C.contains(d.value.activeElement))||(($=Pe(u))==null?void 0:$.contains(d.value.activeElement)))}return cr(()=>y?.(h)),Dx((a=d.value)==null?void 0:a.defaultView,"focus",E=>{var C,$;E.target!==window&&E.target instanceof HTMLElement&&o.value===0&&(T()||s&&u&&(x.contains(E.target)||(C=Pe(p.beforePanelSentinel))!=null&&C.contains(E.target)||($=Pe(p.afterPanelSentinel))!=null&&$.contains(E.target)||p.closePopover()))},!0),Rx(x.resolveContainers,(E,C)=>{var $;p.closePopover(),Py(C,$y.Loose)||(E.preventDefault(),($=Pe(s))==null||$.focus())},I(()=>o.value===0)),()=>{let E={open:o.value===0,close:p.close};return Pn(le,[Pn(A,{},()=>fr({theirProps:{...e,...n},ourProps:{ref:i},slot:E,slots:t,attrs:n,name:"Popover"})),Pn(x.MainTreeNode)])}}}),hD=Q({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var a;let i=(a=e.id)!=null?a:`headlessui-popover-button-${Da()}`,o=Qx("PopoverButton"),s=I(()=>vs(o.button));r({el:o.button,$el:o.button}),Mt(()=>{o.buttonId.value=i}),Aa(()=>{o.buttonId.value=null});let l=fD(),c=l?.closeOthers,u=oxe(),d=I(()=>u===null?!1:u.value===o.panelId.value),f=K(null),p=`headlessui-focus-sentinel-${Da()}`;d.value||cr(()=>{o.button.value=Pe(f)});let h=Iy(I(()=>({as:e.as,type:t.type})),f);function b(E){var C,$,R,j,U;if(d.value){if(o.popoverState.value===1)return;switch(E.key){case qt.Space:case qt.Enter:E.preventDefault(),($=(C=E.target).click)==null||$.call(C),o.closePopover(),(R=Pe(o.button))==null||R.focus();break}}else switch(E.key){case qt.Space:case qt.Enter:E.preventDefault(),E.stopPropagation(),o.popoverState.value===1&&c?.(o.buttonId.value),o.togglePopover();break;case qt.Escape:if(o.popoverState.value!==0)return c?.(o.buttonId.value);if(!Pe(o.button)||(j=s.value)!=null&&j.activeElement&&!((U=Pe(o.button))!=null&&U.contains(s.value.activeElement)))return;E.preventDefault(),E.stopPropagation(),o.closePopover();break}}function y(E){d.value||E.key===qt.Space&&E.preventDefault()}function O(E){var C,$;e.disabled||(d.value?(o.closePopover(),(C=Pe(o.button))==null||C.focus()):(E.preventDefault(),E.stopPropagation(),o.popoverState.value===1&&c?.(o.buttonId.value),o.togglePopover(),($=Pe(o.button))==null||$.focus()))}function A(E){E.preventDefault(),E.stopPropagation()}let x=Bx();function T(){let E=Pe(o.panel);if(!E)return;function C(){zn(x.value,{[zi.Forwards]:()=>
18ua(E,Yn.First),[zi.Backwards]:()=>ua(E,Yn.Last)})===wl.Error&&ua(v0().filter($=>$.dataset.headlessuiFocusGuard!=="true"),zn(x.value,{[zi.Forwards]:Yn.Next,[zi.Backwards]:Yn.Previous}),{relativeTo:Pe(o.button)})}C()}return()=>{let E=o.popoverState.value===0,C={open:E},{...$}=e,R=d.value?{ref:f,type:h.value,onKeydown:b,onClick:O}:{ref:f,id:i,type:h.value,"aria-expanded":o.popoverState.value===0,"aria-controls":Pe(o.panel)?o.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:b,onKeyup:y,onClick:O,onMousedown:A};return Pn(le,[fr({ourProps:R,theirProps:{...t,...$},slot:C,attrs:t,slots:n,name:"PopoverButton"}),E&&!d.value&&o.isPortalled.value&&Pn(Ml,{id:p,features:Rl.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:T})])}}}),mD=Q({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var a;let i=(a=e.id)!=null?a:`headlessui-popover-panel-${Da()}`,{focus:o}=e,s=Qx("PopoverPanel"),l=I(()=>vs(s.panel)),c=`headlessui-focus-sentinel-before-${Da()}`,u=`headlessui-focus-sentinel-after-${Da()}`;r({el:s.panel,$el:s.panel}),Mt(()=>{s.panelId.value=i}),Aa(()=>{s.panelId.value=null}),In(pD,s.panelId),cr(()=>{var A,x;if(!o||s.popoverState.value!==0||!s.panel)return;let T=(A=l.value)==null?void 0:A.activeElement;(x=Pe(s.panel))!=null&&x.contains(T)||ua(Pe(s.panel),Yn.First)});let d=Ny(),f=I(()=>d!==null?(d.value&ka.Open)===ka.Open:s.popoverState.value===0);function p(A){var x,T;switch(A.key){case qt.Escape:if(s.popoverState.value!==0||!Pe(s.panel)||l.value&&!((x=Pe(s.panel))!=null&&x.contains(l.value.activeElement)))return;A.preventDefault(),A.stopPropagation(),s.closePopover(),(T=Pe(s.button))==null||T.focus();break}}function h(A){var x,T,E,C,$;let R=A.relatedTarget;R&&Pe(s.panel)&&((x=Pe(s.panel))!=null&&x.contains(R)||(s.closePopover(),((E=(T=Pe(s.beforePanelSentinel))==null?void 0:T.contains)!=null&&E.call(T,R)||($=(C=Pe(s.afterPanelSentinel))==null?void 0:C.contains)!=null&&$.call(C,R))&&R.focus({preventScroll:!0})))}let b=Bx();function y(){let A=Pe(s.panel);if(!A)return;function x(){zn(b.value,{[zi.Forwards]:()=>{var T;ua(A,Yn.First)===wl.Error&&((T=Pe(s.afterPanelSentinel))==null||T.focus())},[zi.Backwards]:()=>{var T;(T=Pe(s.button))==null||T.focus({preventScroll:!0})}})}x()}function O(){let A=Pe(s.panel);if(!A)return;function x(){zn(b.value,{[zi.Forwards]:()=>{let T=Pe(s.button),E=Pe(s.panel);if(!T)return;let C=v0(),$=C.indexOf(T),R=C.slice(0,$+1),j=[...C.slice($+1),...R];for(let U of j.slice())if(U.dataset.headlessuiFocusGuard==="true"||E!=null&&E.contains(U)){let Y=j.indexOf(U);Y!==-1&&j.splice(Y,1)}ua(j,Yn.First,{sorted:!1})},[zi.Backwards]:()=>{var T;ua(A,Yn.Previous)===wl.Error&&((T=Pe(s.button))==null||T.focus())}})}x()}return()=>{let A={open:s.popoverState.value===0,close:s.close},{focus:x,...T}=e,E={ref:s.panel,id:i,onKeydown:p,onFocusout:o&&s.popoverState.value===0?h:void 0,tabIndex:-1};return fr({ourProps:E,theirProps:{...t,...T},attrs:t,slot:A,slots:{...n,default:(...C)=>{var $;return[Pn(le,[f.value&&s.isPortalled.value&&Pn(Ml,{id:c,ref:s.beforePanelSentinel,features:Rl.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:y}),($=n.default)==null?void 0:$.call(n,...C),f.value&&s.isPortalled.value&&Pn(Ml,{id:u,ref:s.afterPanelSentinel,features:Rl.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:O})])]}},features:ds.RenderStrategy|ds.Static,visible:f.value,name:"PopoverPanel"})}}}),sxe=Q({props:{onFocus:{type:Function,required:!0}},setup(e){let t=K(!0);return()=>t.value?Pn(Ml,{as:"button",type:"button",features:Rl.Focusable,onFocus(n){n.preventDefault();let r,a=50;function i(){var o;if(a--<=0){r&&cancelAnimationFrame(r);return}if((o=e.onFocus)!=null&&o.call(e)){t.value=!1,cancelAnimationFrame(r);return}r=requestAnimationFrame(i)}r=requestAnimationFrame(i)}}):null}});var lxe=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(lxe||{}),cxe=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(cxe||{});let gD=Symbol("TabsContext");function S0(e){let t=Rn(gD,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,S0),n}return t}let zx=Symbol("TabsSSRContext"),bD=Q({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){var a;let i=K((a=e.selectedIndex)!=null?a:e.defaultIndex),o=K([]),s=K([]),l=I(()=>e.selectedIndex!==null),c=I(()=>l.value?e.selectedIndex:i.value);function u(b){var y;let O=ku(d.tabs.value,Pe),A=ku(d.panels.value,Pe),x=O.filter(T=>{var E;return!((E=Pe(T))!=null&&E.hasAttribute("disabled"))});if(b<0||b>O.length-1){let T=zn(i.value===null?0:Math.sign(b-i.value),{[-1]:()=>1,0:()=>zn(Math.sign(b),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),E=zn(T,{0:()=>
18O.indexOf(x[0]),1:()=>O.indexOf(x[x.length-1])});E!==-1&&(i.value=E),d.tabs.value=O,d.panels.value=A}else{let T=O.slice(0,b),E=[...O.slice(b),...T].find($=>x.includes($));if(!E)return;let C=(y=O.indexOf(E))!=null?y:d.selectedIndex.value;C===-1&&(C=d.selectedIndex.value),i.value=C,d.tabs.value=O,d.panels.value=A}}let d={selectedIndex:I(()=>{var b,y;return(y=(b=i.value)!=null?b:e.defaultIndex)!=null?y:null}),orientation:I(()=>e.vertical?"vertical":"horizontal"),activation:I(()=>e.manual?"manual":"auto"),tabs:o,panels:s,setSelectedIndex(b){c.value!==b&&r("change",b),l.value||u(b)},registerTab(b){var y;if(o.value.includes(b))return;let O=o.value[i.value];if(o.value.push(b),o.value=ku(o.value,Pe),!l.value){let A=(y=o.value.indexOf(O))!=null?y:i.value;A!==-1&&(i.value=A)}},unregisterTab(b){let y=o.value.indexOf(b);y!==-1&&o.value.splice(y,1)},registerPanel(b){s.value.includes(b)||(s.value.push(b),s.value=ku(s.value,Pe))},unregisterPanel(b){let y=s.value.indexOf(b);y!==-1&&s.value.splice(y,1)}};In(gD,d);let f=K({tabs:[],panels:[]}),p=K(!1);Mt(()=>{p.value=!0}),In(zx,I(()=>p.value?null:f.value));let h=I(()=>e.selectedIndex);return Mt(()=>{qe([h],()=>{var b;return u((b=e.selectedIndex)!=null?b:e.defaultIndex)},{immediate:!0})}),cr(()=>{if(!l.value||c.value==null||d.tabs.value.length<=0)return;let b=ku(d.tabs.value,Pe);b.some((y,O)=>Pe(d.tabs.value[O])!==Pe(y))&&d.setSelectedIndex(b.findIndex(y=>Pe(y)===Pe(d.tabs.value[c.value])))}),()=>{let b={selectedIndex:i.value};return Pn(le,[o.value.length<=0&&Pn(sxe,{onFocus:()=>{for(let y of o.value){let O=Pe(y);if(O?.tabIndex===0)return O.focus(),!0}return!1}}),fr({theirProps:{...n,...Mx(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:b,slots:t,attrs:n,name:"TabGroup"})])}}}),yD=Q({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n}){let r=S0("TabList");return()=>{let a={selectedIndex:r.selectedIndex.value},i={role:"tablist","aria-orientation":r.orientation.value};return fr({ourProps:i,theirProps:e,slot:a,attrs:t,slots:n,name:"TabList"})}}}),vD=Q({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var a;let i=(a=e.id)!=null?a:`headlessui-tabs-tab-${Da()}`,o=S0("Tab"),s=K(null);r({el:s,$el:s}),Mt(()=>o.registerTab(s)),Aa(()=>o.unregisterTab(s));let l=Rn(zx),c=I(()=>{if(l.value){let A=l.value.tabs.indexOf(i);return A===-1?l.value.tabs.push(i)-1:A}return-1}),u=I(()=>{let A=o.tabs.value.indexOf(s);return A===-1?c.value:A}),d=I(()=>u.value===o.selectedIndex.value);function f(A){var x;let T=A();if(T===wl.Success&&o.activation.value==="auto"){let E=(x=vs(s))==null?void 0:x.activeElement,C=o.tabs.value.findIndex($=>Pe($)===E);C!==-1&&o.setSelectedIndex(C)}return T}function p(A){let x=o.tabs.value.map(T=>Pe(T)).filter(Boolean);if(A.key===qt.Space||A.key===qt.Enter){A.preventDefault(),A.stopPropagation(),o.setSelectedIndex(u.value);return}switch(A.key){case qt.Home:case qt.PageUp:return A.preventDefault(),A.stopPropagation(),f(()=>ua(x,Yn.First));case qt.End:case qt.PageDown:return A.preventDefault(),A.stopPropagation(),f(()=>ua(x,Yn.Last))}if(f(()=>zn(o.orientation.value,{vertical(){return A.key===qt.ArrowUp?ua(x,Yn.Previous|Yn.WrapAround):A.key===qt.ArrowDown?ua(x,Yn.Next|Yn.WrapAround):wl.Error},horizontal(){return A.key===qt.ArrowLeft?ua(x,Yn.Previous|Yn.WrapAround):A.key===qt.ArrowRight?ua(x,Yn.Next|Yn.WrapAround):wl.Error}}))===wl.Success)return A.preventDefault()}let h=K(!1);function b(){var A;h.value||(h.value=!0,!e.disabled&&((A=Pe(s))==null||A.focus({preventScroll:!0}),o.setSelectedIndex(u.value),_y(()=>{h.value=!1})))}function y(A){A.preventDefault()}let O=Iy(I(()=>({as:e.as,type:t.type})),s);return()=>{var A,x;let T={selected:d.value,disabled:(A=e.disabled)!=null?A:!1},{...E}=e,C={ref:s,onKeydown:p,onMousedown:y,onClick:b,id:i,role:"tab",type:O.value,"aria-controls":(x=Pe(o.panels.value[u.value]))==null?void 0:x.id,"aria-selected":d.value,tabIndex:d.value?0:-1,disabled:e.disabled?!0:void 0};return fr({ourProps:C,theirProps:E,slot:T,attrs:t,slots:n,name:"Tab"})}}}),uxe=Q({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=S0("TabPanels");return()=>{let a={selectedIndex:r.selectedIndex.value};return fr({theirProps:e,ourProps:{},slot:a,attrs:n,slots:t,name:"TabPanels"})}}}),dxe=Q({name:"TabPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null},tabIndex:{type:Number,default:0}},setup(e,{attrs:t,slots:n,expose:r}){var a;let i=(a=e.id)!=null?a:`headlessui-tabs-panel-${Da()}`,o=S0("TabPanel"),s=K(null);r({el:s,$el:s}),Mt(()=>o.registerPanel(s)),Aa(()=>o.unregisterPanel(s));let l=Rn(zx),c=I(()=>
18{if(l.value){let f=l.value.panels.indexOf(i);return f===-1?l.value.panels.push(i)-1:f}return-1}),u=I(()=>{let f=o.panels.value.indexOf(s);return f===-1?c.value:f}),d=I(()=>u.value===o.selectedIndex.value);return()=>{var f;let p={selected:d.value},{tabIndex:h,...b}=e,y={ref:s,id:i,role:"tabpanel","aria-labelledby":(f=Pe(o.tabs.value[u.value]))==null?void 0:f.id,tabIndex:d.value?h:-1};return!d.value&&e.unmount&&!e.static?Pn(Ml,{as:"span","aria-hidden":!0,...y}):fr({ourProps:y,theirProps:b,slot:p,attrs:t,slots:n,features:ds.Static|ds.RenderStrategy,visible:d.value,name:"TabPanel"})}}});var fxe={key:0,class:"close-button z-10 fixed right-2 top-2"},pxe={};function Ry(){return hs({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var hxe=Q({...pxe,__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:"md"},variant:{}},emits:["close"],setup(e,{emit:t}){const n=t,r=$r({base:["scalar-modal","flex flex-col relative mb-0 rounded-lg bg-b-1 p-0 text-left leading-snug text-c-1 opacity-0 w-[calc(100vw-12px)] md:w-[calc(100vw-16px)] lg:w-[calc(100vw-32px)]"].join(" "),variants:{size:{xxs:"mt-[20svh] max-h-[60svh] max-w-[360px]",xs:"mt-[20svh] max-h-[60svh] max-w-[480px]",sm:"mt-[20svh] max-h-[60svh] max-w-[540px]",md:"mt-[20svh] max-h-[60svh] max-w-[640px]",lg:"m-auto max-h-[80svh] max-w-[800px]",xl:"m-auto max-h-[90svh] max-w-[1000px]",full:"full-size-styles max-h-dvh mt-0 lg:w-full"},variant:{form:"scalar-modal-form",search:"scalar-modal-search mt-[15svh] max-h-[60svh] max-w-[540px]",error:"scalar-modal-error"}}}),a=$r({base:["scalar-modal-body","relative flex-1 min-h-0 p-3"].join(" "),variants:{variant:{form:"overflow-visible",search:"flex flex-col !m-0 overflow-hidden p-0",error:"overflow-y-scroll"},size:{xxs:"",xs:"",sm:"",md:"",lg:"",xl:"m-0 p-0",full:" rounded-none"}}});return(i,o)=>(g(),L(m(Q8e),{open:e.state.open,onClose:o[1]||(o[1]=()=>{e.state.hide(),n("close")})},{default:P(()=>[w("div",{class:Se(m(Ku)(e.size==="full"?"scalar-modal-layout-full":"scalar-modal-layout","fixed left-0 top-0 flex items-start justify-center","z-overlay h-dvh w-dvw","bg-backdrop opacity-0 dark:bg-backdrop-dark",e.size==="full"&&"flex"))},[N(m(F8e),{class:Se(m(r)({size:e.size,variant:e.variant})),style:kr({maxWidth:e.maxWidth})},{default:P(()=>[e.title?(g(),L(m(z8e),{key:0,class:"scalar-modal-header m-0 -mb-1 rounded-lg pt-3 px-3 text-left text-sm font-medium text-c-1"},{default:P(()=>[J(V(e.title),1)]),_:1})):B("",!0),e.size==="full"?(g(),S("div",{key:1,class:Se(e.bodyClass)},[H(i.$slots,"default",{},void 0,!0)],2)):(g(),S("div",{key:2,class:Se(m(Ku)(m(a)({size:e.size,variant:e.variant}),e.bodyClass))},[H(i.$slots,"default",{},void 0,!0)],2))]),_:3},8,["class","style"]),e.size==="full"?(g(),S("div",fxe,[N(m(eo),{class:"hover:bg-b-3 focus:outline-none",icon:m(Cp),label:"Close modal",onClick:o[0]||(o[0]=s=>e.state.hide())},null,8,["icon"])])):B("",!0)],2)]),_:3},8,["open"]))}}),My=ys(hxe,[["__scopeId","data-v-5bb1dcc2"]]),mxe=["aria-label","placeholder"],gxe=Q({inheritAttrs:!1,__name:"ScalarSearchInput",props:xn({loader:{},label:{},placeholder:{},clearLabel:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=yn(e,"modelValue"),n=K(null);function r(){t.value="",n.value&&n.value.focus()}const{stylingAttrsCx:a,otherAttrs:i}=At();return(o,s)=>(g(),S("label",Rt(Ft(m(a)("flex items-center text-lg font-medium h-10 pl-3 pr-1.5 py-2 gap-2.25"))),[N(m(g0),{class:"text-sidebar-c-search size-4"}),ti(w("input",Ae({ref_key:"inputRef",ref:n},m(i),{"onUpdate:modelValue":s[0]||(s[0]=l=>t.value=l),"aria-label":e.label??"Enter search query",autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"flex-1 appearance-none rounded border-none bg-transparent outline-none",placeholder:e.placeholder??"Search...",spellcheck:"false",type:"search"}),null,16,mxe),[[ld,t.value]]),e.loader&&e.loader.isActive?(g(),L(m(EL),{key:0,class:"mr-1",loader:e.loader,size:"lg"},null,8,["loader"])):t.value?(g(),L(m(eo),{key:1,class:"-my-1",icon:m(Cp),label:e.clearLabel??"Clear Search",size:"sm",weight:"bold",onClick:jt(r,["stop","prevent"])},null,8,["icon","label"])):B("",!0)],16))}}),OD=gxe,bxe={class:"mb-0 flex flex-col",role:"search"},yxe={"aria-hidden":"true",class:"contents"},vxe={class:"sr-only"},Oxe=Q({__name:"SearchModal",props:{modalState:{},document:{},eventBus:{},modelsSectionLabel:{}},setup(e){const t=e,{translate:n}=Ot(),r=vn(),a=`${r}-search-result`,i=`${r}
18-search-instructions`,{query:o,results:s}=hde(()=>t.document,()=>t.modelsSectionLabel,()=>({heading:n("search.entryHeading"),tagGroup:n("search.entryTagGroup"),webhook:n("search.entryWebhook"),webhooks:n("navigation.webhooks"),introduction:n("navigation.introduction")})),l=K(void 0);qe(()=>t.modalState.open,f=>{f&&(o.value="")});const c=f=>{const p=f==="up"?-1:1,h=s.value.length;typeof l.value=="number"?l.value=(l.value+p+h)%h:l.value=p===-1?h-1:0};function u(f){if(typeof f!="number"||!s.value[f])return;const p=s.value[f];t.modalState.hide(),t.eventBus.emit("scroll-to:nav-item",{id:p.item.id})}const d=I(()=>{const f=s.value[l.value??-1];return f?`search-result-${f.item.id}`:void 0});return(f,p)=>(g(),L(m(My),{"aria-label":m(n)("search.label"),state:e.modalState,variant:"search"},{default:P(()=>[w("div",bxe,[N(m(OD),{modelValue:m(o),"onUpdate:modelValue":p[0]||(p[0]=h=>p8(o)?o.value=h:null),"aria-activedescendant":d.value,"aria-autocomplete":"list","aria-controls":a,"aria-describedby":i,clearLabel:m(n)("search.clear"),label:m(n)("search.inputLabel"),placeholder:m(n)("search.placeholder"),role:"combobox",onBlur:p[1]||(p[1]=h=>l.value=void 0),onKeydown:[p[2]||(p[2]=Sa(jt(h=>c("down"),["stop","prevent"]),["down"])),p[3]||(p[3]=Sa(jt(()=>u(l.value),["stop","prevent"]),["enter"])),p[4]||(p[4]=Sa(jt(h=>c("up"),["stop","prevent"]),["up"]))]},null,8,["modelValue","aria-activedescendant","clearLabel","label","placeholder"])]),N(m(Z3e),{id:a,"aria-label":m(n)("search.results"),class:"custom-scroll px-1 pb-1",noResults:!m(s).length},{query:P(()=>[J(V(m(o)),1)]),default:P(()=>[(g(!0),S(le,null,it(m(s),(h,b)=>(g(),L(e8e,{id:`search-result-${h.item.id}`,key:h.refIndex,isSelected:l.value===b,modelsSectionLabel:t.modelsSectionLabel,result:h,onClick:jt(()=>u(b),["prevent"])},null,8,["id","isSelected","modelsSectionLabel","result","onClick"]))),128))]),_:1},8,["aria-label","noResults"]),w("div",{id:i,class:"ref-search-meta"},[w("span",yxe,[w("span",null,"ââ "+V(m(n)("search.navigate")),1),w("span",null,"â "+V(m(n)("search.select")),1)]),w("span",vxe,V(m(n)("search.instructions")),1)])]),_:1},8,["aria-label","state"]))}}),Sxe=ct(Oxe,[["__scopeId","data-v-ae9b4ecb"]]);const wxe=e=>{const t=Reflect.get(e,"userAgentData");if(!(!t||typeof t!="object")&&!(!("platform"in t)||typeof t.platform!="string"))return t.platform},tT=()=>{if(typeof navigator>"u")return!1;const e=wxe(navigator);return e?e.toLowerCase().includes("mac"):/Mac/.test(navigator.userAgent)};var xxe={class:"sr-only"},kxe={"aria-hidden":"true",class:"sidebar-search-placeholder"},Axe={class:"sr-only"},Txe={class:"sr-only"},Exe=Q({__name:"SearchButton",props:{forceIcon:{type:Boolean},searchHotKey:{default:"k"},hideModels:{type:Boolean},modelsSectionLabel:{default:()=>di},document:{},eventBus:{}},setup(e){const t=K(),n=Ry(),{translate:r}=Ot(),a=K(!1);Mt(()=>{a.value=tT()});const i=s=>{(tT()?s.metaKey:s.ctrlKey)&&s.key===e.searchHotKey&&(s.preventDefault(),s.stopPropagation(),n.open?n.hide():n.show())};qe(()=>n.open,async(s,l)=>{!s&&l&&(await Nn(),t.value?.$el.focus())}),Mt(()=>window.addEventListener("keydown",i)),to(()=>window.removeEventListener("keydown",i));function o(){n.show()}return(s,l)=>(g(),S(le,null,[e.forceIcon?(g(),L(m(eo),{key:0,icon:m(g0),label:m(r)("search.label"),onClick:o},null,8,["icon","label"])):(g(),L(m(Iwe),{key:1,ref_key:"button",ref:t,class:Se(["w-full",s.$attrs.class]),shortcutLabel:m(r)("search.keyboardShortcut"),onClick:o},{shortcut:P(()=>[a.value?(g(),S(le,{key:0},[w("span",Axe,V(m(r)("search.command")),1),l[0]||(l[0]=w("span",{"aria-hidden":"true"},"â",-1))],64)):(g(),S(le,{key:1},[w("span",Txe,V(m(r)("search.control")),1),l[1]||(l[1]=w("span",{"aria-hidden":"true"},"â",-1))],64)),J(" "+V(e.searchHotKey),1)]),default:P(()=>[w("span",xxe,V(m(r)("search.open")),1),w("span",kxe,V(m(r)("search.label")),1)]),_:1},8,["class","shortcutLabel"])),N(Sxe,{document:e.document,eventBus:e.eventBus,modalState:m(n),modelsSectionLabel:e.modelsSectionLabel},null,8,["document","eventBus","modalState","modelsSectionLabel"])],64))}}),wO=Exe,_xe=Q({__name:"ScalarListboxCheckbox",props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup(e){return(t,n)=>(g(),S("div",{class:Se(["flex size-4 items-center justify-center p-0.75",[e.selected?"bg-c-accent text-b-1":"text-transparent shadow-border",e.multiselect?"rounded":"rounded-full"]])},[e.selected?(g(),L(m(Sx),{key:0,class:"size-3",weight:"bold"})):B("",!0)],2))}}),Ly=_xe,Cxe=Q({__name:"ScalarListboxItem",props:{option:{},multiselect:{type:Boolean}},setup(e){const t=$r({base:["group/item","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","truncate bg-transparent text-c-1","cursor-pointer hover:bg-b-2"],variants:{selected:{true:"text-c-1"},active:{true:"bg-b-2"},disabled:{true:"pointer-events-none opacity-50"}}});return(n,r)=>(g(),L(m(rxe),{as:"template",disabled:e.option.disabled,value:e.option},{default:P(({active:a,selected:i})=>[w("li",{class:Se(m(Ku)(m(t)({active:a,selected:i,disabled:e.option.disabled})))}
18,[N(Ly,{multiselect:e.multiselect,selected:i},null,8,["multiselect","selected"]),w("span",{class:Se(["inline-block min-w-0 flex-1 truncate",e.option.color?e.option.color:"text-c-1"])},V(e.option.label),3)],2)]),_:1},8,["disabled","value"]))}}),$xe=Cxe,SD=Symbol(),Pxe=()=>Rn(SD,"body"),m2t=e=>{const t=e??`scalar-teleport-${vn()}`;return In(SD,`#${t}`),t},Ixe=Q({inheritAttrs:!1,__name:"ScalarTeleport",props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){const t=Pxe();return(n,r)=>(g(),L(L9,{defer:!e.immediate,disabled:e.disabled,to:e.to||m(t)},[w("div",Ae({class:"scalar-app",style:{display:"contents"}},n.$attrs),[H(n.$slots,"default")],16)],8,["defer","disabled","to"]))}}),wD=Ixe;function Nxe(e,t={enabled:K(!0)}){const n=K(0),r=K(0),a=K();return typeof ResizeObserver<"u"&&(a.value=new ResizeObserver(([i])=>{i&&(n.value=i.borderBoxSize[0]?.inlineSize??0,r.value=i.borderBoxSize[0]?.blockSize??0)})),qe([()=>pt(t.enabled),()=>pt(e)],([i,o])=>{!o||!a.value||(i?a.value.observe(o):a.value.disconnect())},{immediate:!0}),{width:I(()=>pt(t.enabled)?`${n.value}px`:void 0),height:I(()=>pt(t.enabled)?`${r.value}px`:void 0)}}function Rxe(e){return e.split("-")[0]}const Mxe=new Set(["top","bottom"]);function nT(e){return Mxe.has(Rxe(e))?"y":"x"}var Lxe=Q({inheritAttrs:!1,__name:"ScalarFloating",props:{placement:{},offset:{type:[Number,Object,Function],default:5},resize:{type:Boolean,default:!1},target:{},middleware:{default:()=>[]},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){const n=K(null),r=K(null),a=I(()=>{if(typeof window<"u"&&r.value){if(typeof e.target=="string"){const d=document.getElementById(e.target);if(d)return d;console.warn(`ScalarFloating: Target with id="${e.target}" not found`)}else if(e.target instanceof HTMLElement)return e.target;const u=r.value.children?.[0];return u instanceof HTMLElement?u:r.value}}),i=Nxe(a,{enabled:I(()=>e.resize)}),o=I(()=>nT(e.placement??"bottom")==="y"?i.width.value:void 0),s=I(()=>nT(e.placement??"bottom")==="x"?i.height.value:void 0),{floatingStyles:l,middlewareData:c}=jL(a,n,{placement:I(()=>e.placement??"bottom"),whileElementsMounted:LL,middleware:I(()=>[t3e(e.offset),BL({padding:48}),DL({padding:8}),n3e({apply({availableWidth:u,availableHeight:d,elements:f}){Object.assign(f.floating.style,{maxWidth:`${Math.max(0,u)-16}px`,maxHeight:`${Math.max(0,d)-16}px`})}}),...e.middleware])});return t({targetRef:a}),(u,d)=>(g(),S(le,null,[w("div",{ref_key:"wrapperRef",ref:r,class:Se({contents:!!u.$slots.default})},[H(u.$slots,"default")],2),u.$slots.floating?(g(),L(m(wD),{key:0,disabled:!e.teleport,to:typeof e.teleport=="string"?e.teleport:void 0},{default:P(()=>[w("div",{ref_key:"floatingRef",ref:n,class:"relative z-context",style:kr(m(l))},[H(u.$slots,"floating",{data:m(c),height:s.value,width:o.value})],4)]),_:3},8,["disabled","to"])):B("",!0)],64))}}),w0=Lxe,Dxe=Q({inheritAttrs:!1,__name:"ScalarFloatingBackdrop",setup(e){const{cx:t}=At();return(n,r)=>(g(),S("div",Rt(Ft(m(t)("absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"))),[H(n.$slots,"default")],16))}}),$p=Dxe,Bxe={class:"custom-scroll min-h-0 flex-1"},Uxe=Q({inheritAttrs:!1,__name:"ScalarListbox",props:{options:{},id:{},label:{},multiple:{type:Boolean},modelValue:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},emits:["update:modelValue"],setup(e){const{cx:t}=At();return(n,r)=>(g(),L(m(J8e),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||(r[0]=a=>n.$emit("update:modelValue",a))},{default:P(({open:a})=>[e.label?(g(),L(m(exe),{key:0,class:"sr-only"},{default:P(()=>[J(V(e.label),1)]),_:1})):B("",!0),N(m(w0),Ae(n.$props,{placement:e.placement??"bottom-start"}),{floating:P(({width:i})=>[a?(g(),S("div",Ae({key:0,style:{width:i}},m(t)("relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm")),[w("div",Bxe,[N(m(nxe),{class:"flex flex-col gap-0.75 p-0.75 -outline-offset-1"},{default:P(()=>[(g(!0),S(le,null,it(e.options,o=>(g(),L($xe,{key:o.id,multiselect:e.multiple,option:o},null,8,["multiselect","option"]))),128))]),_:1})]),N(m($p))],16)):B("",!0)]),default:P(()=>[N(m(txe),{id:e.id,as:"template"},{default:P(()=>[H(n.$slots,"default",{open:a})]),_:2},1032,["id"])]),_:2},1040,["placement"])]),_:3},8,["modelValue","multiple"]))}}),nu=Uxe,xD=Symbol(),jxe=()=>Rn(xD,!1),Qxe=()=>{In(xD,!0)},Fxe=Q({inheritAttrs:!1,__name:"ScalarFormInput",props:{is:{default:"button"}},setup(e){const{cx:t}
18=At(),n=jxe(),r=$r({base:["bg-b-1.5 flex items-center text-c-2 gap-0.75 p-3 text-base","outline-offset-[-1px] has-[:focus-visible]:outline"],variants:{grouped:{true:"first:rounded-t-[inherit] last:rounded-b-[inherit]",false:"rounded shadow-border"},button:{true:"cursor-pointer hover:bg-b-2"}}});return(a,i)=>(g(),L(Yt(e.is),Ae({type:e.is==="button"?"button":void 0},m(t)(m(r)({button:e.is==="button",grouped:m(n)}))),{default:P(()=>[H(a.$slots,"default")]),_:3},16,["type"]))}}),Dy=Fxe,zxe={class:"asyncapi-sidebar-filter min-w-0"},Vxe={class:"text-c-1 truncate"},Hxe=Q({__name:"SidebarFilter",props:{label:{},options:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,a=I(()=>n.options.find(i=>i.id===n.modelValue)??n.options[0]);return(i,o)=>(g(),S("li",zxe,[N(m(nu),{label:e.label,modelValue:a.value,options:e.options,resize:"",teleport:"","onUpdate:modelValue":o[0]||(o[0]=s=>r("update:modelValue",s.id))},{default:P(()=>[N(m(Xf),{is:"button",class:"w-full items-center text-left"},{aside:P(()=>[N(m(Ape),{class:"text-c-1 ml-1 size-3 shrink-0 self-center",weight:"bold"})]),default:P(()=>[w("span",Vxe,V(a.value?.label),1)]),_:1})]),_:1},8,["label","modelValue","options"])]))}}),rT=Hxe;const qxe=["ws","wss"],kD=e=>e?.variables?gi(e.variables).reduce((t,[n,r])=>{const a=ke(r);return a.default!=null&&(t[String(n)]=String(a.default)),t},{}):{},tw=(e,t)=>{let n=e;return t.serverVariables&&(n=p2(n,t.serverVariables)),t.environmentVariables&&(n=Dr(n,t.environmentVariables)),t.pathParameters&&(n=p2(n,t.pathParameters)),n},AD=e=>{const t=e?.trim().toLowerCase();return t||void 0},Zxe=e=>e.trim().toLowerCase(),Xxe=e=>qxe.includes(e.trim().toLowerCase()),TD=(e,t)=>{const n=kD(e),r=Zxe(e.protocol),a=tw(e.host,{serverVariables:n,environmentVariables:t}),i=`${r}://${a}`;if(!e.pathname)return i;const o=tw(e.pathname,{serverVariables:n,environmentVariables:t});return kc(i,o)},aT=e=>e?ke(e).ws:void 0,iT=(e,t)=>{const n=aT(e.bindings),r=t?aT(t.bindings):void 0;if(!(!n&&!r))return{...n,...r,query:Wxe(n?.query,r?.query)}},nw=e=>{if(!e)return;const t=ke(e);if(!(t===!0||t===!1||!Ge(t)))return t},Wxe=(e,t)=>{const n=nw(e),r=nw(t);if(!n&&!r)return;if(!n)return t;if(!r)return e;const a="properties"in n?n.properties:void 0,i="properties"in r?r.properties:void 0;return Object.assign({},n,r,{properties:{...a,...i}})},Yxe=e=>{if(!(e===!0||e===!1||!Ge(e))){if("default"in e&&e.default!==void 0)return e.default;if("example"in e&&e.example!==void 0)return e.example;if("enum"in e&&Array.isArray(e.enum)&&e.enum[0]!==void 0)return e.enum[0]}},rw=(e,t,n)=>{if(n!=null){if(Array.isArray(n)){n.forEach(r=>rw(e,t,r));return}if(typeof n=="object"){e.append(t,JSON.stringify(n));return}e.append(t,String(n))}},oT=(e,t)=>{const n=new URLSearchParams,r=nw(e?.query),a=r&&"properties"in r?r.properties:void 0;if(Ge(a))for(const[i,o]of Object.entries(a)){const s=Yxe(o);rw(n,i,s)}if(t)for(const[i,o]of gi(t))n.delete(i),rw(n,i,o);return n},Gxe=({server:e,channel:t,operation:n=null,pathParameters:r={},queryParameters:a={},environmentVariables:i})=>{const o=kD(e),s=TD(e,i),l=t.address;if(l==null||l===""){const d=oT(iT(t,n),a);return wm(s,"",d,!0)}const c=tw(l,{serverVariables:o,environmentVariables:i,pathParameters:r}),u=oT(iT(t,n),a);return wm(s,c,u,!0)},ED=e=>e.replace(/~/g,"~0").replace(/\//g,"~1"),Vx=(e,t)=>{const n=`#/${t.map(ED).join("/")}/`;if(!e.startsWith(n))return;const r=m2(()=>$S(e.slice(1)));if(!r.ok)return;const a=r.data;if(a.length!==t.length+1)return;for(let o=0;o<t.length;o++)if(a[o]!==t[o])return;const i=a[t.length];return i&&i.length>0?i:void 0},Kxe=e=>Vx(e,["channels"]),Jxe=(e,t)=>{if(e.channels){for(const[n,r]of Object.entries(e.channels))if(ke(r)===t)return n}},e6e=(e,t)=>{const n=t.channel;if(!n)return;const r="$ref"in n?Kxe(n.$ref):void 0;if(r&&e.channels?.[r]){const s=ke(e.channels[r]),l=typeof s.address=="string"&&s.address.length>0?s.address:r;return{channelName:r,channel:s,channelAddress:l}}const a=ke(n),i=r??Jxe(e,a)??(typeof a.address=="string"&&a.address.length>0?a.address:void 0);if(!i)return;const o=typeof a.address=="string"&&a.address.length>0?a.address:i;return{channelName:i,channel:a,channelAddress:o}},t6e=e=>ke(e),n6e=e=>Vx(e,["servers"]),_D=(e,t)=>{if(!t?.servers)return;const n=new Set;for(const r of t.servers){const a=n6e(r.$ref);a&&e.servers?.[a]&&n.add(a)}return n},Hx=(e,t={})=>{const{channel:n=null,operation:r=null,pathParameters:a={},queryParameters:i={},environmentVariables:o,webSocketOnly:s=!0}=t,l=e.servers??{},c=_D(e,n);return gi(l).filter(([u])=>c?.has(u)??!0).map(([u,d])=>
18{const f=t6e(d),p=f.protocol.trim().toLowerCase(),h=Xxe(p),b=TD(f,o),y={name:u,server:f,host:f.host,protocol:p,description:f.description,title:f.title,url:b,isWebSocket:h};return n&&(y.connectionUrl=Gxe({server:f,channel:n,operation:r,pathParameters:a,queryParameters:i,environmentVariables:o})),y}).filter(u=>s?u.isWebSocket:!0)},r6e=(e,t,n)=>{if(!So(e))return t[0]??null;const r=e["x-scalar-selected-server"];return r==null?t[0]??null:t.find(({name:a})=>a===r)??t[0]??null},Am="all",CD=e=>{const t=new Map;for(const[n,r]of gi(e.servers??{})){const a=AD(ke(r).protocol);a&&t.set(n,a)}return t},a6e=e=>{const n=[...new Set(CD(e).values())].sort((r,a)=>r.localeCompare(a)).map(r=>({id:r,label:r.toUpperCase()}));return[{id:Am,label:"All protocols"},...n]},i6e=e=>{const t=gi(e.servers??{}).map(([n,r])=>{const a=AD(ke(r).protocol);return{id:n,label:a?`${n} (${a})`:n}});return[{id:Am,label:"All servers"},...t]},$D=e=>({serverProtocols:CD(e),allServerNames:new Set(Od(e.servers??{}))}),o6e=(e,t,n=$D(e))=>{const r=e6e(e,t)?.channel??null,a=_D(e,r),i=a?new Set([...a].filter(s=>n.allServerNames.has(s))):new Set(n.allServerNames),o=new Set;for(const[s,l]of n.serverProtocols)i.has(s)&&o.add(l);return{serverNames:i,protocols:o}},aw=(e,t)=>{if(Object.is(e,t))return!0;if(!Wu(e)||!Wu(t))return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let o=0;o<e.length;o+=1)if(!aw(e[o],t[o]))return!1;return!0}if(Array.isArray(t))return!1;const n=e,r=t;let a=0;for(const o in n)if(Object.hasOwn(n,o)&&(a+=1,!Object.hasOwn(r,o)||!aw(n[o],r[o])))return!1;let i=0;for(const o in r)Object.hasOwn(r,o)&&(i+=1);return a===i},PD=e=>{const t=new Set;return e.filter(n=>{const r=JSON.stringify(n);return t.has(r)?!1:(t.add(r),!0)})},s6e=e=>Vx(e,["components","securitySchemes"]),l6e=e=>{const t=ke(e);if(t==null)return;if(!("scopes"in t))return t;const{scopes:n,...r}=t;return r},c6e=(e,t)=>{if("$ref"in t){const a=s6e(t.$ref);if(a)return a}const n=l6e(t);if(n==null)return;const r=e.components?ke(e.components):void 0;if(r?.securitySchemes)for(const[a,i]of Object.entries(r.securitySchemes)){const o=ke(i);if(o===n||aw(o,n))return a}},u6e=(e,t)=>{const n=c6e(e,t);if(!n)return;const r=ke(t),a=r!=null&&"scopes"in r&&Array.isArray(r.scopes)?[...r.scopes]:[];return{[n]:a}},sT=(e,t)=>t?.length?t.map(n=>u6e(e,n)).filter(n=>n!=null):[],ID=(e,t,n)=>{const r=sT(e,t?.security),a=sT(e,n?.security),i=r.length===0?a:a.length===0?r:[...r,...a];return PD(i)},d6e=e=>{const t=e.servers?ke(e.servers):void 0;if(!t)return[];const n=Object.values(t).map(s=>ke(s)),r=n.map(s=>ID(e,null,s)),a=r.flat(),i=r.some(s=>s.length>0),o=n.some(s=>!s?.security?.length);return i&&o&&a.push({}),PD(a)},f6e=e=>e.reduce((t,n)=>{const r=ke(n);return r.security!==void 0?r.security:t},void 0),p6e=e=>{const t=e.traits??[];if(t.length===0)return e;const n=f6e(t),r=t.reduce((s,l)=>{const c=ke(l);if(!c.bindings)return s;const u=ke(c.bindings);return s?{...ke(s),...u}:u},void 0),a=e.security!==void 0,i=e.security??n,o=r&&e.bindings?{...ke(r),...ke(e.bindings)}:e.bindings??r;return{...e,...i!==void 0||a?{security:i}:{},...o!==e.bindings?{bindings:o}:{}}},lT=(e,{includePath:t=!0,includeEnv:n=!0}={})=>[t&&wi.PATH,n&&wi.VARIABLES].flatMap(r=>r?[...e.matchAll(r)].map(a=>a[1]?.trim()).filter(a=>a!==void 0):[]);var h6e=Q({__name:"AsyncApiSidebarFilters",props:xn({document:{},is:{default:"li"}},{protocol:{default:""},protocolModifiers:{},server:{default:""},serverModifiers:{}}),emits:["update:protocol","update:server"],setup(e){const t=yn(e,"protocol"),n=yn(e,"server"),r=I(()=>e.document?a6e(e.document):[]),a=I(()=>e.document?i6e(e.document):[]),i=I(()=>r.value.length>2),o=I(()=>a.value.length>2);return(s,l)=>i.value||o.value?(g(),L(m(Px),{key:0,is:e.is,class:"asyncapi-sidebar-filters"},{items:P(()=>[i.value?(g(),L(rT,{key:0,modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=c=>t.value=c),label:"Protocol",options:r.value},null,8,["modelValue","options"])):B("",!0),o.value?(g(),L(rT,{key:1,modelValue:n.value,"onUpdate:modelValue":l[1]||(l[1]=c=>n.value=c),label:"Server",options:a.value},null,8,["modelValue","options"])):B("",!0)]),default:P(()=>[l[2]||(l[2]=J(" Filters ",-1))]),_:1},8,["is"])):B("",!0)}}),m6e=h6e,g6e=({protocol:e,server:t})=>(!e||e===Am)&&(!t||t===Am),cT=(e,t)=>!t||t===Am||e.has(t),ND=(e,t,n,r)=>{if(e.type==="asyncapi-operation"){const a=t.operations?.[e.operationName];if(!a)return e;const{protocols:i,serverNames:o}=o6e(t,ke(a,Qr),r);return cT(i,n.protocol)&&cT(o,n.server)?e:null}if(e.type==="asyncapi-channel"||e.type==="tag"){const a=e.children??[],i=a.flatMap(o=>{const s=ND(o,t,n,r);return s?[s]:[]});return a.length>0&&i.length===0?null:{...e,children:i}}return e},b6e=(e,t,n)=>{if(g6e(n))return e;const r=$D(t);return e.flatMap(a=>{const i=ND(a,t,n,r);return i?[i]:[]})},RD=Symbol(),MD=K(null);function y6e(e){const t=K(!1),n=K(""),r=e.agentEnabled??I(()=>qf(window.location.href)),s={showAgent:t,agentEnabled:r,prefilledMessage:n,openAgent:l=>{n.value=l??"",t.value=!0},closeAgent:()=>{t.value=!1,n.value=""},toggleAgent:()=>{t.value=!t.value,t.value||(n.value="")}};return MD.value=s,s}function qx(){const e=Rn(RD,void 0);return I(()=>e??MD.value??void 0)}var v6e=Q({__name:"AgentScalarButton",setup(e){const t=qx(),{translate:n}=Ot();return(r,a)=>(g(),S("button",{class:"bg-sidebar-b-search text-sidebar-c-2 hover:text-sidebar-c-1 flex items-center gap-1.5 rounded border px-2 text-base whitespace-nowrap",type:"button",onClick:a[0]||(a[0]=i=>m(t)?.toggleAgent())}
18,[N(m(kx)),J(" "+V(m(n)("agent.askAi")),1)]))}}),O6e=v6e,S6e={class:"agent-scalar-container custom-scroll custom-scroll-self-contain-overflow overflow-auto px-6"},w6e=Q({__name:"AgentScalarDrawer",props:{agentScalarConfiguration:{},externalUrls:{},workspaceStore:{}},setup(e){const t=qx(),{translate:n}=Ot(),r=MX(async()=>Be(()=>import("./AgentScalarChatInterface.vue-BEMVE0OG.js"),__vite__mapDeps([85,86,1,2])));return(a,i)=>(g(),S(le,null,[N(Wg,{enterActiveClass:"transition-opacity duration-500",enterFromClass:"opacity-0",enterToClass:"opacity-100",leaveActiveClass:"transition-opacity duration-200",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},{default:P(()=>[ti(w("div",{class:"agent-scalar-overlay bg-backdrop fixed inset-0 z-10 ease-[cubic-bezier(0.77,0,0.175,1)]",onClick:i[0]||(i[0]=o=>m(t)?.closeAgent())},null,512),[[fm,m(t)?.showAgent.value]])]),_:1}),N(Wg,{enterActiveClass:"transition-transform duration-300",enterFromClass:"-translate-x-full",enterToClass:"translate-x-0",leaveActiveClass:"transition-transform duration-200",leaveFromClass:"translate-x-0",leaveToClass:"-translate-x-full"},{default:P(()=>[ti(w("div",{class:"agent-scalar left-refs-w-sidebar bg-b-1 fixed inset-y-0 right-12 z-10 grid border-r shadow-lg",onKeydown:i[2]||(i[2]=Sa(o=>m(t)?.closeAgent(),["escape"]))},[w("div",S6e,[N(m(r),{agentScalarConfiguration:e.agentScalarConfiguration,externalUrls:e.externalUrls,prefilledMessage:m(t)?.prefilledMessage,workspaceStore:e.workspaceStore},null,8,["agentScalarConfiguration","externalUrls","prefilledMessage","workspaceStore"])]),N(m(eo),{class:"agent-scalar-exit-button absolute top-2 right-2",icon:m(Cp),label:m(n)("agent.close"),weight:"bold",onClick:i[1]||(i[1]=o=>m(t)?.closeAgent())},null,8,["icon","label"])],544),[[fm,m(t)?.showAgent.value]])]),_:1})],64))}}),x6e=ct(w6e,[["__scopeId","data-v-3496197b"]]);function k6e(e){return!!e&&typeof e=="object"&&"url"in e&&typeof e.url=="string"}async function Zx(e,t){const n=JSON.stringify({document:e}),r=`${t.apiBaseUrl}/core/share/upload/apis`,a=await fetch(yy(t.proxyUrl,r),{method:"POST",headers:{"Content-Type":"application/json"},body:n});if(!a.ok)throw new Error(` Failed to generate temporary link, server responded with ${a.status}`);const i=await a.json();if(!k6e(i))throw new Error("Failed to generate temporary link, invalid response from server");return i.url}var A6e=Object.defineProperty,T6e=(e,t,n)=>t in e?A6e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Va=(e,t,n)=>T6e(e,typeof t!="symbol"?t+"":t,n);function E6e(e){if(typeof document>"u")return;function t(){let n=document.head||document.getElementsByTagName("head")[0];if(!n)return;let r=document.createElement("style");r.type="text/css",n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}E6e("
vendor: 13,512 bytes, line 18
18:where([data-sonner-toaster][dir=ltr]),:where(html[dir=ltr]){--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}:where([data-sonner-toaster][dir=rtl]),:where(html[dir=rtl]){--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted=true]){transform:translateY(-10px)}@media (hover:none) and (pointer:coarse){:where([data-sonner-toaster][data-lifted=true]){transform:none}}:where([data-sonner-toaster][data-x-position=right]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position=left]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position=center]){left:50%;transform:translateX(-50%)}:where([data-sonner-toaster][data-y-position=top]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position=bottom]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled=true]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast][data-y-position=top]){top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position=bottom]){bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise=true]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme=dark]) :where([data-cancel]){background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast]) :where([data-disabled=true]){cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping=true])::before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position=top][data-swiping=true])::before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position=bottom][data-swiping=true])::before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping=false][data-removed=true])::before{content:'';position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast])::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted=true]){--y:translateY(0);opacity:1}:where([data-sonner-toast][data-expanded=false][data-front=false]){--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded=false][data-front=false][data-styled=true])>*{opacity:0}:where([data-sonner-toast][data-visible=false]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted=true][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]){--y:translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]){--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed=true][data-front=false])::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
18");let iw=0;class _6e{constructor(){Va(this,"subscribers"),Va(this,"toasts"),Va(this,"subscribe",t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)})),Va(this,"publish",t=>
18{this.subscribers.forEach(n=>n(t))}),Va(this,"addToast",t=>{this.publish(t),this.toasts=[...this.toasts,t]}),Va(this,"create",t=>{var n;const{message:r,...a}=t,i=typeof t.id=="number"||t.id&&((n=t.id)==null?void 0:n.length)>0?t.id:iw++,o=this.toasts.find(l=>l.id===i),s=t.dismissible===void 0?!0:t.dismissible;return o?this.toasts=this.toasts.map(l=>l.id===i?(this.publish({...l,...t,id:i,title:r}),{...l,...t,id:i,dismissible:s,title:r}):l):this.addToast({title:r,...a,dismissible:s,id:i}),i}),Va(this,"dismiss",t=>(t||this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),this.subscribers.forEach(n=>n({id:t,dismiss:!0})),t)),Va(this,"message",(t,n)=>this.create({...n,message:t,type:"default"})),Va(this,"error",(t,n)=>this.create({...n,type:"error",message:t})),Va(this,"success",(t,n)=>this.create({...n,type:"success",message:t})),Va(this,"info",(t,n)=>this.create({...n,type:"info",message:t})),Va(this,"warning",(t,n)=>this.create({...n,type:"warning",message:t})),Va(this,"loading",(t,n)=>this.create({...n,type:"loading",message:t})),Va(this,"promise",(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const a=t instanceof Promise?t:t();let i=r!==void 0,o;const s=a.then(async c=>{if(o=["resolve",c],$6e(c)&&!c.ok){i=!1;const u=typeof n.error=="function"?await n.error(`HTTP error! status: ${c.status}`):n.error,d=typeof n.description=="function"?await n.description(`HTTP error! status: ${c.status}`):n.description;this.create({id:r,type:"error",message:u,description:d})}else if(n.success!==void 0){i=!1;const u=typeof n.success=="function"?await n.success(c):n.success,d=typeof n.description=="function"?await n.description(c):n.description;this.create({id:r,type:"success",message:u,description:d})}}).catch(async c=>{if(o=["reject",c],n.error!==void 0){i=!1;const u=typeof n.error=="function"?await n.error(c):n.error,d=typeof n.description=="function"?await n.description(c):n.description;this.create({id:r,type:"error",message:u,description:d})}}).finally(()=>{var c;i&&(this.dismiss(r),r=void 0),(c=n.finally)==null||c.call(n)}),l=()=>new Promise((c,u)=>s.then(()=>o[0]==="reject"?u(o[1]):c(o[1])).catch(u));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})}),Va(this,"custom",(t,n)=>{const r=n?.id||iw++;return this.publish({component:t,id:r,...n}),r}),this.subscribers=[],this.toasts=[]}}const Ri=new _6e;function C6e(e,t){const n=t?.id||iw++;return Ri.create({message:e,id:n,type:"default",...t}),n}const $6e=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",P6e=C6e,I6e=()=>Ri.toasts,v1=Object.assign(P6e,{success:Ri.success,info:Ri.info,warning:Ri.warning,error:Ri.error,custom:Ri.custom,message:Ri.message,promise:Ri.promise,dismiss:Ri.dismiss,loading:Ri.loading},{getHistory:I6e});function O1(e){return e.label!==void 0}function N6e(){const e=K(!1);return cr(()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)}),{isDocumentHidden:e}}const R6e=["aria-live","data-rich-colors","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],M6e=["aria-label","data-disabled"],L6e=4e3,D6e=20,B6e=200,U6e=Q({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function},defaultRichColors:{type:Boolean}},emits:["update:heights","removeToast"],setup(e,{emit:t}){const n=e,r=t,a=K(!1),i=K(!1),o=K(!1),s=K(!1),l=K(!1),c=K(0),u=K(0),d=K(n.toast.duration||n.duration||L6e),f=K(null),p=K(null),h=I(()=>n.index===0),b=I(()=>n.index+1<=n.visibleToasts),y=I(()=>n.toast.type),O=I(()=>n.toast.dismissible!==!1),A=I(()=>n.toast.class||""),x=I(()=>n.descriptionClass||""),T=n.toast.style||{},E=I(()=>n.heights.findIndex(te=>te.toastId===n.toast.id)||0),C=I(()=>n.toast.closeButton??n.closeButton),$=K(0),R=K(0),j=K(null),U=I(()=>n.position.split("-")),Y=I(()=>U.value[0]),W=I(()=>U.value[1]),pe=I(()=>typeof n.toast.title!="string"),ee=I(()=>typeof n.toast.description!="string"),ae=I(()=>n.heights.reduce((te,Oe,Et)=>Et>=E.value?te:te+Oe.height,0)),de=N6e(),ue=I(()=>n.toast.invert||n.invert),Ee=I(()=>y.value==="loading"),Te=I(()=>E.value*n.gap+ae.value||0);Mt(()=>{if(!a.value)return;const te=p.value,Oe=te?.style.height;te.style.height="auto";const Et=te.getBoundingClientRect().height;te.style.height=Oe,u.value=Et;let Pt;n.heights.find(gt=>gt.toastId===n.toast.id)?Pt=n.heights.map(gt=>gt.toastId===n.toast.id?{...gt,height:Et}:gt):Pt=[{toastId:n.toast.id,height:Et,position:n.toast.position},...n.heights],r("update:heights",Pt)});function D(){i.value=!0,c.value=Te.value;const te=n.heights.filter(Oe=>Oe.toastId!==n.toast.id);r("update:heights",te),setTimeout(()=>{r("removeToast",n.toast)},B6e)}function oe(){var te,Oe;if(Ee.value||!O.value)return{};D(),(Oe=(te=n.toast).onDismiss)==null||Oe.call(te,n.toast)}function fe(te){Ee.value||!O.value||(f.value=new Date,c.value=Te.value,te.target.setPointerCapture(te.pointerId),te.target.tagName!=="BUTTON"&&(o.value=!0,j.value={x:te.clientX,y:te.clientY}))}function z(){var te,Oe,Et,Pt,gt;if(s.value||!O)return;j.value=null;
18const kn=Number(((te=p.value)==null?void 0:te.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Nr=new Date().getTime()-((Oe=f.value)==null?void 0:Oe.getTime()),rr=Math.abs(kn)/Nr;if(Math.abs(kn)>=D6e||rr>.11){c.value=Te.value,(Pt=(Et=n.toast).onDismiss)==null||Pt.call(Et,n.toast),D(),s.value=!0,l.value=!1;return}(gt=p.value)==null||gt.style.setProperty("--swipe-amount","0px"),o.value=!1}function mt(te){var Oe,Et;if(!j.value||!O.value)return;const Pt=te.clientY-j.value.y,gt=((Oe=window.getSelection())==null?void 0:Oe.toString().length)>0,kn=Y.value==="top"?Math.min(0,Pt):Math.max(0,Pt);Math.abs(kn)>0&&(l.value=!0),!gt&&((Et=p.value)==null||Et.style.setProperty("--swipe-amount",`${kn}px`))}return cr(te=>{if(n.toast.promise&&y.value==="loading"||n.toast.duration===1/0||n.toast.type==="loading")return;let Oe;const Et=()=>{if(R.value<$.value){const gt=new Date().getTime()-$.value;d.value=d.value-gt}R.value=new Date().getTime()},Pt=()=>{d.value!==1/0&&($.value=new Date().getTime(),Oe=setTimeout(()=>{var gt,kn;(kn=(gt=n.toast).onAutoClose)==null||kn.call(gt,n.toast),D()},d.value))};n.expanded||n.interacting||n.pauseWhenPageIsHidden&&de?Et():Pt(),te(()=>{clearTimeout(Oe)})}),qe(()=>n.toast.delete,()=>{n.toast.delete&&D()},{deep:!0}),Mt(()=>{if(a.value=!0,p.value){const te=p.value.getBoundingClientRect().height;u.value=te;const Oe=[{toastId:n.toast.id,height:te,position:n.toast.position},...n.heights];r("update:heights",Oe)}}),to(()=>{if(p.value){const te=n.heights.filter(Oe=>Oe.toastId!==n.toast.id);r("update:heights",te)}}),(te,Oe)=>{var Et,Pt,gt,kn,Nr,rr,qr,ge,je,ot,Lt,Ct,zt,jn,Rr,ba,Ci,io,oo,ye,Re,bt,re,ce,Ne,De,Xt;return g(),S("li",{ref_key:"toastRef",ref:p,"aria-live":te.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0","data-sonner-toast":"true",class:Se(te.cn(n.class,A.value,(Et=te.classes)==null?void 0:Et.toast,(Pt=te.toast.classes)==null?void 0:Pt.toast,(gt=te.classes)==null?void 0:gt[y.value],(Nr=(kn=te.toast)==null?void 0:kn.classes)==null?void 0:Nr[y.value])),"data-rich-colors":te.toast.richColors??te.defaultRichColors,"data-styled":!(te.toast.component||(rr=te.toast)!=null&&rr.unstyled||te.unstyled),"data-mounted":a.value,"data-promise":!!te.toast.promise,"data-removed":i.value,"data-visible":b.value,"data-y-position":Y.value,"data-x-position":W.value,"data-index":te.index,"data-front":h.value,"data-swiping":o.value,"data-dismissible":O.value,"data-type":y.value,"data-invert":ue.value,"data-swipe-out":s.value,"data-expanded":!!(te.expanded||te.expandByDefault&&a.value),style:kr({"--index":te.index,"--toasts-before":te.index,"--z-index":te.toasts.length-te.index,"--offset":`${i.value?c.value:Te.value}px`,"--initial-height":te.expandByDefault?"auto":`${u.value}px`,...te.style,...m(T)}),onPointerdown:fe,onPointerup:z,onPointermove:mt},[C.value&&!te.toast.component?(g(),S("button",{key:0,"aria-label":te.closeButtonAriaLabel||"Close toast","data-disabled":Ee.value,"data-close-button":"true",class:Se(te.cn((qr=te.classes)==null?void 0:qr.closeButton,(je=(ge=te.toast)==null?void 0:ge.classes)==null?void 0:je.closeButton)),onClick:oe},[(ot=te.icons)!=null&&ot.close?(g(),L(Yt((Lt=te.icons)==null?void 0:Lt.close),{key:0})):H(te.$slots,"close-icon",{key:1})],10,M6e)):B("",!0),te.toast.component?(g(),L(Yt(te.toast.component),Ae({key:1},te.toast.componentProps,{onCloseToast:oe}),null,16)):(g(),S(le,{key:2},[y.value!=="default"||te.toast.icon||te.toast.promise?(g(),S("div",{key:0,"data-icon":"",class:Se(te.cn((Ct=te.classes)==null?void 0:Ct.icon,(jn=(zt=te.toast)==null?void 0:zt.classes)==null?void 0:jn.icon))},[te.toast.icon?(g(),L(Yt(te.toast.icon),{key:0})):(g(),S(le,{key:1},[y.value==="loading"?H(te.$slots,"loading-icon",{key:0}):y.value==="success"?H(te.$slots,"success-icon",{key:1}):y.value==="error"?H(te.$slots,"error-icon",{key:2}):y.value==="warning"?H(te.$slots,"warning-icon",{key:3}):y.value==="info"?H(te.$slots,"info-icon",{key:4}):B("",!0)],64))],2)):B("",!0),w("div",{"data-content":"",class:Se(te.cn((Rr=te.classes)==null?void 0:Rr.content,(Ci=(ba=te.toast)==null?void 0:ba.classes)==null?void 0:Ci.content))},[w("div",{"data-title":"",class:Se(te.cn((io=te.classes)==null?void 0:io.title,(oo=te.toast.classes)==null?void 0:oo.title))},[pe.value?(g(),L(Yt(te.toast.title),Rt(Ae({key:0},te.toast.componentProps)),null,16)):(g(),S(le,{key:1}
18,[J(V(te.toast.title),1)],64))],2),te.toast.description?(g(),S("div",{key:0,"data-description":"",class:Se(te.cn(te.descriptionClass,x.value,(ye=te.classes)==null?void 0:ye.description,(Re=te.toast.classes)==null?void 0:Re.description))},[ee.value?(g(),L(Yt(te.toast.description),Rt(Ae({key:0},te.toast.componentProps)),null,16)):(g(),S(le,{key:1},[J(V(te.toast.description),1)],64))],2)):B("",!0)],2),te.toast.cancel?(g(),S("button",{key:1,style:kr(te.toast.cancelButtonStyle||te.cancelButtonStyle),class:Se(te.cn((bt=te.classes)==null?void 0:bt.cancelButton,(re=te.toast.classes)==null?void 0:re.cancelButton)),"data-button":"","data-cancel":"",onClick:Oe[0]||(Oe[0]=_t=>{var On,Sn;m(O1)(te.toast.cancel)&&O.value&&((Sn=(On=te.toast.cancel).onClick)==null||Sn.call(On,_t),D())})},V(m(O1)(te.toast.cancel)?(ce=te.toast.cancel)==null?void 0:ce.label:te.toast.cancel),7)):B("",!0),te.toast.action?(g(),S("button",{key:2,style:kr(te.toast.actionButtonStyle||te.actionButtonStyle),class:Se(te.cn((Ne=te.classes)==null?void 0:Ne.actionButton,(De=te.toast.classes)==null?void 0:De.actionButton)),"data-button":"","data-action":"",onClick:Oe[1]||(Oe[1]=_t=>{var On,Sn;m(O1)(te.toast.action)&&(_t.defaultPrevented||((Sn=(On=te.toast.action).onClick)==null||Sn.call(On,_t),!_t.defaultPrevented&&D()))})},V(m(O1)(te.toast.action)?(Xt=te.toast.action)==null?void 0:Xt.label:te.toast.action),7)):B("",!0)],64))],46,R6e)}}}),x0=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},j6e={},Q6e={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function F6e(e,t){return g(),S("svg",Q6e,t[0]||(t[0]=[w("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),w("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}const z6e=x0(j6e,[["render",F6e]]),V6e=["data-visible"],H6e={class:"sonner-spinner"},q6e=Q({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0);return(n,r)=>(g(),S("div",{class:"sonner-loading-wrapper","data-visible":n.visible},[w("div",H6e,[(g(!0),S(le,null,it(m(t),a=>(g(),S("div",{key:`spinner-bar-${a}`,class:"sonner-loading-bar"}))),128))])],8,V6e))}}),Z6e={},X6e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function W6e(e,t){return g(),S("svg",X6e,t[0]||(t[0]=[w("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)]))}const Y6e=x0(Z6e,[["render",W6e]]),G6e={},K6e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function J6e(e,t){return g(),S("svg",K6e,t[0]||(t[0]=[w("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)]))}const e5e=x0(G6e,[["render",J6e]]),t5e={},n5e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"};function r5e(e,t){return g(),S("svg",n5e,t[0]||(t[0]=[w("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)]))}const a5e=x0(t5e,[["render",r5e]]),i5e={},o5e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function s5e(e,t){return g(),S("svg",o5e,t[0]||(t[0]=[w("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)]))}const l5e=x0(i5e,[["render",s5e]]),c5e=["aria-label"],u5e=["dir","data-theme","data-rich-colors","data-y-position","data-x-position","data-lifted"],d5e=3,uT="32px",f5e=356,p5e=14,h5e=typeof window<"u"&&typeof document<"u";function m5e(...e){return e.filter(Boolean).join(" ")}const g5e=Q({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:p5e},visibleToasts:{default:d5e},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:uT},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:m5e}},setup(e){const t=e;function n(){if(typeof window>"u"||typeof document>"u")return"ltr";const x=document.documentElement.getAttribute("dir");return x==="auto"||!x?window.getComputedStyle(document.documentElement).direction:x}const r=f8(),a=K([]),i=I(()=>(x,T)=>a.value.filter(E=>!E.position&&T===0||E.position===x)),o=I(()=>{const x=a.value.filter(T=>T.position).map(T=>T.position);return x.length>0?Array.from(new Set([t.position].concat(x))):[t.position]}),s=K([]),l=K(!1),c=K(!1),u=K(t.theme!=="system"?t.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
18k":"light"),d=K(null),f=K(null),p=K(!1),h=t.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function b(x){var T;(T=a.value.find(E=>E.id===x.id))!=null&&T.delete||Ri.dismiss(x.id),a.value=a.value.filter(({id:E})=>E!==x.id)}function y(x){var T,E;p.value&&!((E=(T=x.currentTarget)==null?void 0:T.contains)!=null&&E.call(T,x.relatedTarget))&&(p.value=!1,f.value&&(f.value.focus({preventScroll:!0}),f.value=null))}function O(x){x.target instanceof HTMLElement&&x.target.dataset.dismissible==="false"||p.value||(p.value=!0,f.value=x.relatedTarget)}function A(x){x.target&&x.target instanceof HTMLElement&&x.target.dataset.dismissible==="false"||(c.value=!0)}return cr(x=>{const T=Ri.subscribe(E=>{if(E.dismiss){a.value=a.value.map(C=>C.id===E.id?{...C,delete:!0}:C);return}Nn(()=>{const C=a.value.findIndex($=>$.id===E.id);C!==-1?a.value=[...a.value.slice(0,C),{...a.value[C],...E},...a.value.slice(C+1)]:a.value=[E,...a.value]})});x(T)}),qe(()=>t.theme,x=>{if(x!=="system"){u.value=x;return}if(x==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?u.value="dark":u.value="light"),typeof window>"u")return;const T=window.matchMedia("(prefers-color-scheme: dark)");try{T.addEventListener("change",({matches:E})=>{E?u.value="dark":u.value="light"})}catch{T.addListener(({matches:E})=>{try{E?u.value="dark":u.value="light"}catch(C){console.error(C)}})}}),cr(()=>{d.value&&f.value&&(f.value.focus({preventScroll:!0}),f.value=null,p.value=!1)}),cr(()=>{a.value.length<=1&&(l.value=!1)}),cr(x=>{function T(E){const C=t.hotkey.every(j=>E[j]||E.code===j),$=Array.isArray(d.value)?d.value[0]:d.value;C&&(l.value=!0,$?.focus());const R=document.activeElement===d.value||$?.contains(document.activeElement);E.code==="Escape"&&R&&(l.value=!1)}h5e&&(document.addEventListener("keydown",T),x(()=>{document.removeEventListener("keydown",T)}))}),(x,T)=>(g(),S("section",{"aria-label":`${x.containerAriaLabel} ${m(h)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(g(!0),S(le,null,it(o.value,(E,C)=>{var $;return g(),S("ol",Ae({key:E,ref_for:!0,ref_key:"listRef",ref:d,"data-sonner-toaster":"",class:t.class,dir:x.dir==="auto"?n():x.dir,tabIndex:-1,"data-theme":x.theme,"data-rich-colors":x.richColors,"data-y-position":E.split("-")[0],"data-x-position":E.split("-")[1],"data-lifted":l.value&&a.value.length>1&&!x.expand,style:{"--front-toast-height":`${($=s.value[0])==null?void 0:$.height}px`,"--offset":typeof x.offset=="number"?`${x.offset}px`:x.offset||uT,"--width":`${f5e}px`,"--gap":`${x.gap}px`,...x.style,...m(r).style}},x.$attrs,{onBlur:y,onFocus:O,onMouseenter:T[1]||(T[1]=()=>l.value=!0),onMousemove:T[2]||(T[2]=()=>l.value=!0),onMouseleave:T[3]||(T[3]=()=>{c.value||(l.value=!1)}),onPointerdown:A,onPointerup:T[4]||(T[4]=()=>c.value=!1)}),[(g(!0),S(le,null,it(i.value(E,C),(R,j)=>{var U,Y,W,pe,ee,ae,de,ue,Ee;return g(),L(U6e,{key:R.id,heights:s.value.filter(Te=>Te.position===R.position),icons:x.icons,index:j,toast:R,defaultRichColors:x.richColors,duration:((U=x.toastOptions)==null?void 0:U.duration)??x.duration,class:Se(((Y=x.toastOptions)==null?void 0:Y.class)??""),descriptionClass:(W=x.toastOptions)==null?void 0:W.descriptionClass,invert:x.invert,visibleToasts:x.visibleToasts,closeButton:((pe=x.toastOptions)==null?void 0:pe.closeButton)??x.closeButton,interacting:c.value,position:E,style:kr((ee=x.toastOptions)==null?void 0:ee.style),unstyled:(ae=x.toastOptions)==null?void 0:ae.unstyled,classes:(de=x.toastOptions)==null?void 0:de.classes,cancelButtonStyle:(ue=x.toastOptions)==null?void 0:ue.cancelButtonStyle,actionButtonStyle:(Ee=x.toastOptions)==null?void 0:Ee.actionButtonStyle,toasts:a.value.filter(Te=>Te.position===R.position),expandByDefault:x.expand,gap:x.gap,expanded:l.value,pauseWhenPageIsHidden:x.pauseWhenPageIsHidden,cn:x.cn,"onUpdate:heights":T[0]||(T[0]=Te=>{s.value=Te}),onRemoveToast:b},{"close-icon":P(()=>[H(x.$slots,"close-icon",{},()=>[N(z6e)])]),"loading-icon":P(()=>[H(x.$slots,"loading-icon",{},()=>[N(q6e,{visible:R.type==="loading"},null,8,["visible"])])]),"success-icon":P(()=>[H(x.$slots,"success-icon",{},()=>[N(Y6e)])]),"error-icon":P(()=>[H(x.$slots,"error-icon",{},()=>[N(l5e)])]),"warning-icon":P(()=>[H(x.$slots,"warning-icon",{},()=>[N(a5e)])]),"info-icon":P(()=>[H(x.$slots,"info-icon",{},()=>[N(e5e)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn"])}),128))],16,u5e)}),128))],8,c5e))}});(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`/** 19* We need to be explicit to avoid !important. :) 20* 21* Original: https://github.com/xiaoluoboding/vue-sonner/blob/311ecc8d9a51b619f968e20f4b44992ad8412850/packages/styles.css#L91-L103 22*/ 23.scalar-toaster [data-sonner-toast][data-styled='true'] { 24 background: var(--scalar-background-1); 25 color: var(--scalar-color-1); 26 padding: 18px; 27 border: none; 28 border-radius: var(--scalar-radius-lg); 29 font-size: var(--scalar-font-size-3); 30 font-weight: var(--scalar-font-medium); 31 box-shadow: var(--scalar-shadow-2); 32} 33.scalar-toaster [data-sonner-toast] [data-icon] { 34 align-self: flex-start; 35 position: relative; 36 top: 2px; 37} 38.scalar-toaster [data-sonner-toast][data-styled='true'][data-expanded='true'] { 39 height: auto; 40} 41.scalar-toaster [data-sonner-toast][data-type='error'] { 42 background: var(--scalar-background-1); 43} 44.scalar-toaster [data-sonner-toast][data-type='error'] [data-icon] { 45 color: color-mix(in srgb, var(--scalar-color-red) 75%, var(--scalar-color-1)); 46} 47.scalar-toaster [data-sonner-toast][data-type='warning'] { 48 background: var(--scalar-background-1); 49} 50.scalar-toaster [data-sonner-toast][data-type='warning'] [data-icon] { 51 color: color-mix( 52 in srgb, 53 var(--scalar-color-orange) 90%, 54 var(--scalar-color-1) 55 ); 56} 57/*$vite$:1*/`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();var LD={toast:()=>null};function b5e(e){LD.toast=e}function ru(){return{initializeToasts:b5e,toast:(e,t="info",n={timeout:3e3})=>{LD.toast(e,t,n)}}}var y5e=Q({__name:"ScalarToasts",setup(e){const t=K(!1);Mt(()=>t.value=!0);const n={success:v1.success,error:v1.error,warn:v1.warning,info:v1},{initializeToasts:r}=ru();return r((a,i="info",o={})=>{(n[i]||n.info)(a,{duration:o.timeout||3e3,description:o.description})}),(a,i)=>t.value?(g(),L(m(g5e),{key:0,class:"scalar-toaster"})):B("",!0)}});const v5e=e=>e===void 0?"undefined":typeof e=="string"?e:JSON.stringify(e);function au(e={}){const{notify:t=a=>n(a,"info")}=e,{toast:n}=ru();async function r(a){try{const i=v5e(a);await navigator.clipboard.writeText(i),t("Copied to the clipboard")}catch(i){console.error(i.message),t("Failed to copy to clipboard")}}return{copyToClipboard:r}}function Pp(){return hs({isValid:!1,isInvalid:!1,isLoading:!1,isActive:!1,start(){this.isLoading=!0,this.isActive=!0,this.isInvalid=!1,this.isValid=!1}
57,validate(e={}){const{duration:t=1100,persist:n=!1}=e;this.isLoading=!1,this.isInvalid=!1,this.isValid=!0,this.isActive=!0;const r=n?t:t-300;return new Promise(a=>setTimeout(n?()=>a():()=>this.clear().then(()=>a()),r))},invalidate(e={}){const{duration:t=1100,persist:n=!1}=e??{};this.isLoading=!1,this.isValid=!1,this.isInvalid=!0,this.isActive=!0;const r=n?t:t-300;return new Promise(a=>setTimeout(n?()=>a():()=>this.clear().then(()=>a()),r))},clear(e={}){const{duration:t=300}=e;return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise(n=>{setTimeout(()=>{this.isActive=!1,n()},t)})}})}function O5e(e){try{return!!new URL(e)}catch{return!1}}var S5e={class:"scalar-mcp-layer"},w5e=Q({__name:"OpenMCPButton",props:xn({config:{},externalUrls:{},url:{},workspace:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){const t=e,{copyToClipboard:n}=au(),{translate:r}=Ot(),{toast:a}=ru(),i=Pp(),o=t.config?.name||t.config?.url,s=btoa(JSON.stringify(t.config??{})),l=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(t.config?.name??"")}&config=${s}`,c=`vscode:mcp/install?${encodeURIComponent(JSON.stringify(t.config??{}))}`,u=yn(e,"url");async function d(){if(i.isLoading||!t.workspace)return;if(u.value&&O5e(u.value)){f(u.value);return}i.start();const p=t.workspace.exportActiveDocument("json");if(!p){a(r("developerTools.unableToExportDocument"),"error"),await i.invalidate();return}try{u.value=await Zx(p,t.externalUrls),await i.validate(),f(u.value),await Nn(),await i.clear()}catch(h){const b=h instanceof Error?h.message:r("developerTools.unknownError");a(b,"error"),await i.invalidate()}}function f(p){const h=new URL(`${t.externalUrls.dashboardUrl}/register`);h.searchParams.set("url",p),h.searchParams.set("createMcp","true"),window.open(h.toString(),"_blank")}return(p,h)=>(g(),S("div",S5e,[(g(),L(Yt(m(o)?"a":"button"),{class:"scalar-mcp-layer-link",href:m(o)?c:void 0,target:m(o)?"_blank":void 0,type:m(o)?void 0:"button",onClick:h[0]||(h[0]=b=>{m(o)||(b.preventDefault(),d())})},{default:P(()=>[h[3]||(h[3]=w("svg",{class:"mcp-logo",fill:"currentColor",height:"800",viewBox:"0 0 32 32",width:"800",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M30.865 3.448 24.282.281a1.99 1.99 0 0 0-2.276.385L9.397 12.171 3.902 8.004a1.33 1.33 0 0 0-1.703.073L.439 9.681a1.33 1.33 0 0 0-.005 1.969L5.2 15.999.434 20.348a1.33 1.33 0 0 0 .005 1.969l1.76 1.604a1.33 1.33 0 0 0 1.703.073l5.495-4.172 12.615 11.51a1.98 1.98 0 0 0 2.271.385l6.589-3.172a1.99 1.99 0 0 0 1.13-1.802V5.248c0-.766-.443-1.469-1.135-1.802zm-6.86 19.818L14.432 16l9.573-7.266z"})],-1)),h[4]||(h[4]=J(" VS Code ",-1)),N(m(kg),{class:"mcp-nav ml-auto size-4"})]),_:1},8,["href","target","type"])),(g(),L(Yt(m(o)?"a":"button"),{class:"scalar-mcp-layer-link",href:m(o)?l:void 0,target:m(o)?"_blank":void 0,type:m(o)?void 0:"button",onClick:h[1]||(h[1]=b=>{m(o)||(b.preventDefault(),d())})},{default:P(()=>[h[5]||(h[5]=w("svg",{class:"mcp-logo",viewBox:"0 0 466.73 532.09",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M457.43 125.94 244.42 2.96a22.13 22.13 0 0 0-22.12 0L9.3 125.94C3.55 129.26 0 135.4 0 142.05v247.99c0 6.65 3.55 12.79 9.3 16.11l213.01 122.98a22.13 22.13 0 0 0 22.12 0l213.01-122.98c5.75-3.32 9.3-9.46 9.3-16.11V142.05c0-6.65-3.55-12.79-9.3-16.11zm-13.38 26.05L238.42 508.15c-1.39 2.4-5.06 1.42-5.06-1.36V273.58c0-4.66-2.49-8.97-6.53-11.31L24.87 145.67c-2.4-1.39-1.42-5.06 1.36-5.06h411.26c5.84 0 9.49 6.33 6.57 11.39h-.01Z",style:{fill:"currentColor"}})],-1)),h[6]||(h[6]=J(" Cursor ",-1)),N(m(kg),{class:"mcp-nav ml-auto size-4"})]),_:1},8,["href","target","type"])),m(o)?(g(),S("div",{key:1,class:"scalar-mcp-layer-link",onClick:h[2]||(h[2]=b=>m(n)(e.config?.url??""))},[J(V(m(r)("mcp.connect"))+" ",1),h[8]||(h[8]=w("svg",{class:"mcp-logo ml-auto",fill:"none",height:"173",viewBox:"0 0 156 173",width:"156",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"m6 80.912 67.882-67.883c9.373-9.372 24.569-9.372 33.941 0s9.373 24.569 0 33.942L56.558 98.236",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),w("path",{d:"m57.265 97.529 50.558-50.558c9.373-9.373 24.569-9.373 33.942 0l.353.353c9.373 9.373 9.373 24.569 0 33.941L80.725 142.66a8 8 0 0 0 0 11.313l
5712.606 12.607",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),w("path",{d:"M90.853 30 40.648 80.205c-9.372 9.372-9.372 24.568 0 33.941 9.373 9.372 24.569 9.372 33.941 0l50.205-50.205",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"})],-1))])):(g(),S("div",{key:0,class:"scalar-mcp-layer-link",onClick:d},[h[7]||(h[7]=w("svg",{class:"mcp-logo",fill:"none",height:"173",viewBox:"0 0 156 173",width:"156",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"m6 80.912 67.882-67.883c9.373-9.372 24.569-9.372 33.941 0s9.373 24.569 0 33.942L56.558 98.236",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),w("path",{d:"m57.265 97.529 50.558-50.558c9.373-9.373 24.569-9.373 33.942 0l.353.353c9.373 9.373 9.373 24.569 0 33.941L80.725 142.66a8 8 0 0 0 0 11.313l12.606 12.607",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),w("path",{d:"M90.853 30 40.648 80.205c-9.372 9.372-9.372 24.568 0 33.941 9.373 9.372 24.569 9.372 33.941 0l50.205-50.205",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"})],-1)),J(" "+V(m(r)("mcp.generate"))+" ",1),N(m(kg),{class:"mcp-nav ml-auto size-4"})]))]))}}),x5e=ct(w5e,[["__scopeId","data-v-24b70070"]]),k5e={},A5e={class:"references-classic-header-container"},T5e={class:"references-classic-header"},E5e={class:"references-classic-header-content"};function _5e(e,t){return g(),S("div",A5e,[w("div",T5e,[w("div",E5e,[H(e.$slots,"default",{},void 0,!0)]),H(e.$slots,"dark-mode-toggle",{},void 0,!0)])])}var C5e=ct(k5e,[["render",_5e],["__scopeId","data-v-8a3822ca"]]);function Td(e){return R9()?(h8(e),!0):!1}const k0=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const DD=e=>e!=null,$5e=Object.prototype.toString,P5e=e=>$5e.call(e)==="[object Object]",Ui=()=>{},ow=I5e();function I5e(){var e,t;return k0&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function BD(...e){if(e.length!==1)return D9(...e);const t=e[0];return typeof t=="function"?LX(DX(()=>({get:t,set:Ui}))):K(t)}function UD(e,t){function n(...r){return new Promise((a,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(i)})}return n}const N5e=e=>e();function jD(e,t={}){let n,r,a=Ui;const i=l=>{clearTimeout(l),a(),a=Ui};let o;return l=>{const c=pt(e),u=pt(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(r&&(i(r),r=void 0),Promise.resolve(l())):new Promise((d,f)=>{a=t.rejectOnCancel?f:d,o=l,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,d(o())},u)),n=setTimeout(()=>{r&&i(r),r=void 0,d(l())},c)})}}function R5e(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Fh(e){return Array.isArray(e)?e:[e]}function g2t(e,t=200,n={}){return UD(jD(t,n),e)}function M5e(e,t,n={}){const{eventFilter:r=N5e,...a}=n;return qe(e,UD(r,t),a)}function L5e(e,t,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n,i=yi(!1);let o;function s(){o&&(clearTimeout(o),o=void 0)}function l(){i.value=!1,s()}function c(...u){a&&e(),s(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=void 0,e(...u)},pt(t))}return r&&(i.value=!0,k0&&c()),Td(l),{isPending:Su(i),start:c,stop:l}}function D5e(e,t,n={}){const{debounce:r=0,maxWait:a=void 0,...i}=n;return M5e(e,t,{...i,eventFilter:jD(r,{maxWait:a})})}function B5e(e,t,n){return qe(e,t,{...n,immediate:!0})}const nl=k0?window:void 0,U5e=k0?window.document:void 0,QD=k0?window.navigator:void 0;function hi(e){var t;const n=pt(e);return(t=n?.$el)!=null?t:n}function Hi(...e){const t=[],n=()=>{t.forEach(s=>s()),t.length=0},r=(s,l,c,u)=>(s.addEventListener(l,c,u),()=>s.removeEventListener(l,c,u)),a=I(()=>{const s=Fh(pt(e[0])).filter(l=>l!=null);return s.every(l=>typeof l!="string")?s:void 0}),i=B5e(()=>{var s,l;return[(l=(s=a.value)==null?void 0:s.map(c=>hi(c)))!=null?l:[nl].filter(c=>c!=null),Fh(pt(a.value?e[1]:e[0])),Fh(m(a.value?e[2]:e[1])),pt(a.value?e[3]:e[2])]},([s,l,c,u])=>{if(n(),!s?.length||!l?.length||!c?.length)return;const d=P5e(u)?{...u}:u;t.push(...s.flatMap(f=>l.flatMap(p=>c.map(h=>r(f,p,h,d)))))},{flush:"post"}),o=()=>{i(),n()};return Td(n),o}let dT=!1;function By(e,t,n={}){const{window:r=nl,ignore:a=[],capture:i=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:Ui,cancel:Ui,trigger:Ui}:Ui;if(ow&&!dT){dT=!0;const y={passive:!0};
57Array.from(r.document.body.children).forEach(O=>O.addEventListener("click",Ui,y)),r.document.documentElement.addEventListener("click",Ui,y)}let l=!0;const c=y=>pt(a).some(O=>{if(typeof O=="string")return Array.from(r.document.querySelectorAll(O)).some(A=>A===y.target||y.composedPath().includes(A));{const A=hi(O);return A&&(y.target===A||y.composedPath().includes(A))}});function u(y){const O=pt(y);return O&&O.$.subTree.shapeFlag===16}function d(y,O){const A=pt(y),x=A.$.subTree&&A.$.subTree.children;return x==null||!Array.isArray(x)?!1:x.some(T=>T.el===O.target||O.composedPath().includes(T.el))}const f=y=>{const O=hi(e);if(y.target!=null&&!(!(O instanceof Element)&&u(e)&&d(e,y))&&!(!O||O===y.target||y.composedPath().includes(O))){if("detail"in y&&y.detail===0&&(l=!c(y)),!l){l=!0;return}t(y)}};let p=!1;const h=[Hi(r,"click",y=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(y))},{passive:!0,capture:i}),Hi(r,"pointerdown",y=>{const O=hi(e);l=!c(y)&&!!(O&&!y.composedPath().includes(O))},{passive:!0}),o&&Hi(r,"blur",y=>{setTimeout(()=>{var O;const A=hi(e);((O=r.document.activeElement)==null?void 0:O.tagName)==="IFRAME"&&!A?.contains(r.document.activeElement)&&t(y)},0)},{passive:!0})].filter(Boolean),b=()=>h.forEach(y=>y());return s?{stop:b,cancel:()=>{l=!1},trigger:y=>{l=!0,f(y),l=!1}}:b}function j5e(){const e=yi(!1),t=g8();return t&&Mt(()=>{e.value=!0},t),e}function A0(e){const t=j5e();return I(()=>(t.value,!!e()))}function Q5e(e,t,n={}){const{window:r=nl,...a}=n;let i;const o=A0(()=>r&&"MutationObserver"in r),s=()=>{i&&(i.disconnect(),i=void 0)},l=I(()=>{const f=pt(e),p=Fh(f).map(hi).filter(DD);return new Set(p)}),c=qe(l,f=>{s(),o.value&&f.size&&(i=new MutationObserver(t),f.forEach(p=>i.observe(p,a)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),d=()=>{c(),s()};return Td(d),{isSupported:o,stop:d,takeRecords:u}}function FD(e,t,n={}){const{window:r=nl,document:a=r?.document,flush:i="sync"}=n;if(!r||!a)return Ui;let o;const s=u=>{o?.(),o=u},l=cr(()=>{const u=hi(e);if(u){const{stop:d}=Q5e(a,f=>{f.map(h=>[...h.removedNodes]).flat().some(h=>h===u||h.contains(u))&&t(f)},{window:r,childList:!0,subtree:!0});s(d)}},{flush:i}),c=()=>{l(),s()};return Td(c),c}function F5e(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function zD(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:a=nl,eventName:i="keydown",passive:o=!1,dedupe:s=!1}=r,l=F5e(t);return Hi(a,i,u=>{u.repeat&&pt(s)||l(u)&&n(u)},o)}function z5e(e={}){var t;const{window:n=nl,deep:r=!0,triggerOnRemoval:a=!1}=e,i=(t=e.document)!=null?t:n?.document,o=()=>{var c;let u=i?.activeElement;if(r)for(;u?.shadowRoot;)u=(c=u?.shadowRoot)==null?void 0:c.activeElement;return u},s=yi(),l=()=>{s.value=o()};if(n){const c={capture:!0,passive:!0};Hi(n,"blur",u=>{u.relatedTarget===null&&l()},c),Hi(n,"focus",l,c)}return a&&FD(s,l,{document:i}),l(),s}function fT(e,t={}){const{controls:n=!1,navigator:r=QD}=t,a=A0(()=>r&&"permissions"in r),i=yi(),o=typeof e=="string"?{name:e}:e,s=yi(),l=()=>{var u,d;s.value=(d=(u=i.value)==null?void 0:u.state)!=null?d:"prompt"};Hi(i,"change",l,{passive:!0});const c=R5e(async()=>{if(a.value){if(!i.value)try{i.value=await r.permissions.query(o)}catch{i.value=void 0}finally{l()}if(n)return Mi(i.value)}});return c(),n?{state:s,isSupported:a,query:c}:s}function VD(e={}){const{navigator:t=QD,read:n=!1,source:r,copiedDuring:a=1500,legacy:i=!1}=e,o=A0(()=>t&&"clipboard"in t),s=fT("clipboard-read"),l=fT("clipboard-write"),c=I(()=>o.value||i),u=yi(""),d=yi(!1),f=L5e(()=>d.value=!1,a,{immediate:!1});async function p(){let A=!(o.value&&O(s.value));if(!A)try{u.value=await t.clipboard.readText()}catch{A=!0}A&&(u.value=y())}c.value&&n&&Hi(["copy","cut"],p,{passive:!0});async function h(A=pt(r)){if(c.value&&A!=null){let x=!(o.value&&O(l.value));if(!x)try{await t.clipboard.writeText(A)}catch{x=!0}x&&b(A),u.value=A,d.value=!0,f.start()}}function b(A){const x=document.createElement("textarea");x.value=A??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()}function y(){var A,x,T;return(T=(x=(A=document?.getSelection)==null?void 0:A.call(document))==null?void 0:x.toString())!=null?T:""}function O(A){return A==="granted"||A==="prompt"}return{isSupported:c,text:u,copied:d,copy:h}}function V5e(e,t,n={}){const{window:r=nl,...a}=n;let i;const o=A0(()=>r&&"ResizeObserver"in r),s=()=>
57{i&&(i.disconnect(),i=void 0)},l=I(()=>{const d=pt(e);return Array.isArray(d)?d.map(f=>hi(f)):[hi(d)]}),c=qe(l,d=>{if(s(),o.value&&r){i=new ResizeObserver(t);for(const f of d)f&&i.observe(f,a)}},{immediate:!0,flush:"post"}),u=()=>{s(),c()};return Td(u),{isSupported:o,stop:u}}function H5e(e,t={}){const{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:a=!1,window:i=nl}=t,o=yi(!1);let s;const l=c=>{const u=c?n:r;s&&(clearTimeout(s),s=void 0),u?s=setTimeout(()=>o.value=c,u):o.value=c};return i&&(Hi(e,"mouseenter",()=>l(!0),{passive:!0}),Hi(e,"mouseleave",()=>l(!1),{passive:!0}),a&&FD(I(()=>hi(e)),()=>l(!1))),o}function HD(e,t,n={}){const{root:r,rootMargin:a="0px",threshold:i=0,window:o=nl,immediate:s=!0}=n,l=A0(()=>o&&"IntersectionObserver"in o),c=I(()=>{const h=pt(e);return Fh(h).map(hi).filter(DD)});let u=Ui;const d=yi(s),f=l.value?qe(()=>[c.value,hi(r),d.value],([h,b])=>{if(u(),!d.value||!h.length)return;const y=new IntersectionObserver(t,{root:hi(b),rootMargin:a,threshold:i});h.forEach(O=>O&&y.observe(O)),u=()=>{y.disconnect(),u=Ui}},{immediate:s,flush:"post"}):Ui,p=()=>{u(),f(),d.value=!1};return Td(p),{isSupported:l,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:p}}function q5e(e=null,t={}){const{baseUrl:n="",rel:r="icon",document:a=U5e}=t,i=BD(e),o=s=>{const l=a?.head.querySelectorAll(`link[rel*="${r}"]`);if(!l||l.length===0){const c=a?.createElement("link");c&&(c.rel=r,c.href=`${n}${s}`,c.type=`image/${s.split(".").pop()}`,a?.head.append(c));return}l?.forEach(c=>c.href=`${n}${s}`)};return qe(i,(s,l)=>{typeof s=="string"&&s!==l&&o(s)},{immediate:!0}),i}const Z5e="focusin",X5e="focusout",W5e=":focus-within";function b2t(e,t={}){const{window:n=nl}=t,r=I(()=>hi(e)),a=yi(!1),i=I(()=>a.value);if(!n||!z5e(t).value)return{focused:i};const s={passive:!0};return Hi(r,Z5e,()=>a.value=!0,s),Hi(r,X5e,()=>{var l,c,u;return a.value=(u=(c=(l=r.value)==null?void 0:l.matches)==null?void 0:c.call(l,W5e))!=null?u:!1},s),{focused:i}}function xO(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function qD(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:qD(n)}}function Y5e(e){const t=e||window.event,n=t.target;return qD(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const kO=new WeakMap;function G5e(e,t=!1){const n=yi(t);let r=null,a="";qe(BD(e),s=>{const l=xO(pt(s));if(l){const c=l;if(kO.get(c)||kO.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(a=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const i=()=>{const s=xO(pt(e));!s||n.value||(ow&&(r=Hi(s,"touchmove",l=>{Y5e(l)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},o=()=>{const s=xO(pt(e));!s||!n.value||(ow&&r?.(),s.style.overflow=a,kO.delete(s),n.value=!1)};return Td(o),I({get(){return n.value},set(s){s?i():o()}})}var K5e="-49% 0px -49% 0px",Ed=(e,t,n)=>{Mt(()=>{const r={rootMargin:n?.immediate?"0px 0px 0px 0px":K5e,threshold:0};e.value&&HD(e,([a])=>{a?.isIntersecting?t():n?.onExit?.()},r)})},J5e=()=>({export:()=>({}),getAuthSecrets:()=>{},getAuthSelectedSchemas:()=>{}}),eke=["content.start","content.end"],pT=(e,t,n,r)=>`${e}/plugin-view/${t}/${n}/${r}`,ZD=({plugins:e=[],auth:t})=>{const n=new Map,r=t??J5e();return e.forEach(a=>{const i=a();n.set(i.name,i)}),{getSpecificationExtensions:a=>{const i=[];for(const o of n.values())for(const s of o.extensions)s.name===a&&i.push(s);return i},getViewComponents:(a,i)=>{const o=[];for(const s of n.values()){const l=s.views?.[a];l&&l.forEach((c,u)=>{o.push({...c,id:pT(i,s.name,a,u)})})}return o},notifyInit:a=>{for(const i of n.values())i.hooks?.onInit?.({config:a,auth:r})},notifyConfigChange:a=>{for(const i of n.values())i.hooks?.onConfigChange?.({config:a,auth:r})},getAuthState:()=>r,notifyDestroy:()=>{for(const a of n.values())a.hooks?.onDestroy?.()},getApiClientPlugins:()=>{const a=[];for(const i of n.values())i.apiClientPlugins&&a.push(...i.apiClientPlugins);return a},getSidebarEntries:a=>{const i=[];for(const o of n.values())for(const s of eke)o.views?.[s]?.forEach((l,c)=>{l.sidebar?.show&&l.sidebar.label&&i.push({id:pT(a,o.name,s,c),label:l.sidebar.label,viewName:s})});return i}}},XD=Symbol(),WD=()=>{const e=Rn(XD);return e||ZD({})};const YD={SELECTED_CLIENT:"scalar-reference-selected-client-v2",AUTH:"scalar-reference-auth"},tke=()=>typeof window>"u"?{getItem:()=>null,setItem:()=>null,removeItem:()=>null}:localStorage,nke=at(v.Object({type:v.Literal("apiKey")}),fy),rke=at(v.Object({type:v.Literal("http")}),fy,py),Sc=at(koe,fy,voe),ake=v.Object({implicit:v.Optional(at(Sc,d2)),password:v.Optional(at(Sc,py,Sf,El)),clientCredentials:v.Optional(at(Sc,Sf,El)),authorizationCode:v.Optional(at(Sc,Sf,d2,El))}),ike=at(v.Object({type:v.Literal("oauth2")}),ake),GD=v.Object({type:v.Literal("openIdConnect"),implicit:v.Optional(at(NI,Sc,d2)),password:v.Optional(at(RI,Sc,py,Sf,El)),clientCredentials:v.Optional(at(MI,Sc,Sf,El)),authorizationCode:v.Optional(at(LI,Sc,Sf,d2,El))}),oke=at(v.Object({type:v.Union([v.Literal("userPassword"),v.Literal("plain"),v.Literal("scramSha256"),v.Literal("scramSha512")])}),py),ske=at(v.Object({type:v.Literal("X509")}),Aoe,Toe),lke=at(v.Object({type:v.Union([v.Literal("symmetricEncryption"),v.Literal("asymmetricEncryption")])}),fy),cke=at(v.Object({type:v.Literal("gssapi")}),Eoe),KD=v.Union([nke,rke,ike,GD,oke,ske,lke,cke]),uke=v.Record(v.String(),KD),hT=v.Object({selectedIndex:v.Number(),selectedSchemes:v.Array(Wse)}),JD=v.Object({secrets:uke,selected:v.Object({document:v.Optional(hT),path:v.Optional(v.Record(v.String(),v.Record(v.String(),v.Optional(hT))))})}),dke=v.Record(v.String(),JD);function fke(e){return e.startsWith("#")}const pc=(e,t)=>{Object.assign(e,t)},pke=({hooks:e}={})=>{const t=hs({});return{clearAuthSelectedSchemas:d=>{const f=t[d.documentName];if(!f)return;if(d.type==="document"){delete f.selected.document,e?.onAuthChange?.(d.documentName);return}Pu(d.method),Pu(d.path);const p=f.selected.path?.[d.path];
57p&&(delete p[d.method],e?.onAuthChange?.(d.documentName))},getAuthSecrets:(d,f)=>t[d]?.secrets?.[f],setAuthSecrets:(d,f,p)=>{t[d]||={secrets:{},selected:{document:void 0,path:void 0}},t[d].secrets[f]=ts(KD,p),e?.onAuthChange?.(d)},clearAuthSecrets:(d,f)=>{delete t[d]?.secrets?.[f],e?.onAuthChange?.(d)},getAuthSelectedSchemas:d=>d.type==="document"?t[d.documentName]?.selected?.document:t[d.documentName]?.selected?.path?.[d.path]?.[d.method],setAuthSelectedSchemas:(d,f)=>{t[d.documentName]||={secrets:{},selected:{document:void 0,path:void 0}};const p=t[d.documentName];if(d.type==="document")p.selected.document=f;else{Pu(d.path),Pu(d.method),p.selected.path||={},p.selected.path[d.path]||={};const h=p.selected.path[d.path];h[d.method]=f}e?.onAuthChange?.(d.documentName)},clearDocumentAuth:d=>{delete t[d],e?.onAuthChange?.(d)},load:d=>{pc(t,ts(dke,d)),Object.keys(d).forEach(f=>{e?.onAuthChange?.(f)})},export:()=>Qt(t)}};var S2=tke(),eB=()=>{const e=YD.SELECTED_CLIENT;return{get:()=>S2.getItem(e),set:t=>{S2.setItem(e,t)}}},tB=()=>{const e=t=>`${YD.AUTH}-${t}`;return{getAuth:t=>ts(JD,JSON.parse(S2.getItem(e(t))??"{}")),setAuth:(t,n)=>{S2.setItem(e(t),JSON.stringify(n))}}};const nB=(e={})=>{const{delay:t=328,maxWait:n}=e,r=new Map,a=new Map,i=new Map,o=()=>{r.forEach(clearTimeout),a.forEach(clearTimeout),r.clear(),a.clear(),i.clear()},s=d=>{const f=i.get(d),p=r.get(d);p!==void 0&&(clearTimeout(p),r.delete(d));const h=a.get(d);if(h!==void 0&&(clearTimeout(h),a.delete(d)),i.delete(d),f!==void 0)try{f()}catch{}};return{execute:(d,f)=>{i.set(d,f);const p=r.get(d);p!==void 0&&clearTimeout(p),r.set(d,setTimeout(()=>s(d),t)),n!==void 0&&!a.has(d)&&a.set(d,setTimeout(()=>s(d),n))},cleanup:o,flush:d=>{i.has(d)&&s(d)},flushAll:()=>{const d=[...i.keys()];for(const f of d)s(f)}}};var hke=({debounceDelay:e=500,maxWait:t=1e4,persistAuth:n=!1})=>{const{execute:r}=nB({delay:e,maxWait:t}),a=tB(),i=eB(),o=()=>typeof n=="function"?n():n;return{hooks:{onWorkspaceStateChanges(s){if(s.type==="meta"){const l=s.value["x-scalar-default-client"];l!==void 0&&r("x-scalar-default-client",()=>i.set(l));return}o()&&s.type==="auth"&&r(`auth-${s.documentName}`,()=>a.setAuth(s.documentName,s.value))}}}};const mke=/[^\p{L}\p{M}\p{N}\s_-]/gu,gke=/[\s_-]+/g,bke=/^-+|-+$/g,yke=new RegExp("\\p{M}","gu"),mT=new Map,Pa=(e,t={})=>{const{allowedSpecialChars:n="",preserveCase:r=!1,normalizationForm:a="NFC",stripAccents:i=!1}=t,o=(()=>
57{if(n.length===0)return mke;const u=mT.get(n);if(u)return u;const d=n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),f=new RegExp(`[^\\p{L}\\p{M}\\p{N}\\s_\\-${d}]`,"gu");return mT.set(n,f),f})(),s=e.slice(0,255).trim(),l=i?s.normalize("NFD").replace(yke,""):s.normalize(a);return(r?l:l.toLowerCase()).replace(o,"").replace(gke,"-").replace(bke,"")};var vke=e=>{let t=0;for(;t<e.length&&e[t]==="/";)t+=1;return e.slice(t)},rB=e=>{let t=e.length;for(;t>0&&e[t-1]==="/";)t-=1;return e.slice(0,t)},T0=e=>rB(vke(e)),E0=e=>e.startsWith("#"),Uy=e=>rB(e.replace(/^#+/,"")),Xx=(e,t)=>t?`${t}${e?"/":""}${e}`:e,sw=(e,t)=>e===t?"":e.startsWith(`${t}/`)?e.slice(t.length+1):null,Wx=e=>e?`/${e.split("/").map(t=>encodeURIComponent(t)).join("/")}`:"",Oke=(e,t)=>{const n=typeof e=="string"?new URL(e):e;return Xx(decodeURIComponent(n.hash.slice(1)),t)},Ske=(e,t,n)=>{const r=typeof e=="string"?new URL(e):e,a=Wx(T0(t));if(r.pathname.startsWith(a)){const i=r.pathname.slice(a.length);return Xx(decodeURIComponent(i.startsWith("/")?i.slice(1):i),n)}return n??""},wke=(e,t,n)=>{const r=typeof e=="string"?new URL(e):e,a=sw(decodeURIComponent(r.hash.slice(1)),Uy(t));return a!==null?Xx(a,n):n??""},xke=(e,t)=>{const n=typeof e=="string"?new URL(e):e;if(E0(t)){const a=decodeURIComponent(n.hash);return a===t||a.startsWith(`${t}/`)}const r=Wx(T0(t));return n.pathname===r||n.pathname.startsWith(`${r}/`)},fh=(e,t,n)=>typeof t!="string"?Oke(e,n):E0(t)?wke(e,t,n):Ske(e,t,n),aB=e=>{const t=e.endsWith("/"),n=e.split("/").filter(Boolean).slice(1).join("/");return t&&n?`${n}/`:n},ph=(e,t,n)=>{if(typeof window>"u")return;const r=n?e:aB(e),a=new URL(window.location.href);return typeof t=="string"?E0(t)?a.hash=[Uy(t),r].filter(Boolean).join("/"):a.pathname=`${T0(t)}/${r}`:a.hash=r,a},iB=(e,t,n)=>{const r=n?e:aB(e),a=new URL("http://scratch");return typeof t=="string"?E0(t)?(a.hash=[Uy(t),r].filter(Boolean).join("/"),a.hash||"#"):(a.pathname=`${T0(t)}/${r}`,a.pathname.replace(/^\/+/,"/")):(a.hash=r,a.hash||"#")},zh=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),AO=e=>({value:decodeURIComponent(e.hash.slice(1)),write:t=>{e.hash=t}}
57),kke=(e,t)=>{if(typeof t!="string")return[AO(e)];if(E0(t)){const a=Uy(t);return[{value:sw(decodeURIComponent(e.hash.slice(1)),a)??"",write:i=>{e.hash=[a,i].filter(Boolean).join("/")}},AO(e)]}const n=T0(t),r=sw(e.pathname,Wx(n));return[{value:r===null?"":decodeURIComponent(r),write:a=>{e.pathname=n?`/${n}/${a}`:`/${a}`}},AO(e)]},Ake=(e,t)=>{for(const{match:n,replace:r}of t){const a=e.replace(n,r);if(a!==e)return a}return e},gT="(?:(?:tag-group/[^/]+/)?tag/[^/]+/)?",Tke=({modelsSectionSlug:e,documentSlug:t,isMultiDocument:n})=>{const r=zh(t),a=n?`${r}/${gT}`:`(?:${r}/${gT})?`,i=s=>({match:new RegExp(`^(${a})${zh(s)}/`),replace:(l,c)=>`${c}${e}/`}),o=[i("model")];return e!=="models"&&o.push(i("models")),o},oB=[".body.",".path.",".query.",".header.",".responses."],Eke=e=>{const t=(o,s)=>`${o.toUpperCase()}/${s}`,n=new Set,r=new Map;for(const{name:o,method:s,id:l}of e){n.add(t(s,l.slice(l.lastIndexOf("/")+1)));const c=Pa(o);if(c){const u=t(s,c);r.set(u,(r.get(u)??0)+1)}}const a=`(?=$|/|${oB.map(zh).join("|")})`,i=[];for(const{name:o,method:s,id:l}of e){const c=s.toUpperCase(),u=l.slice(l.lastIndexOf("/")+1),d=Pa(o),f=t(s,d);!d||d===u||n.has(f)||(r.get(f)??0)>1||i.push({match:new RegExp(`(^|/)webhook/${zh(c)}/${zh(d)}${a}`),replace:(p,h)=>`${h}webhook/${c}/${u}`})}return i},bT=(e,t,n,r,a,i=[])=>{if(!n)return null;const o=new URL(typeof e=="string"?e:e.toString()),s=[...Tke({modelsSectionSlug:t,documentSlug:n,isMultiDocument:r}),...Eke(i)];let l=!1;for(const c of kke(o,a)){const u=Ake(c.value,s);u!==c.value&&(c.write(u),l=!0)}return l?o:null},_ke=e=>{let t=-1;for(const n of oB){const r=e.indexOf(n);r!==-1&&(t===-1||r<t)&&(t=r)}return t===-1?{rawId:e,params:""}:{rawId:e.slice(0,t),params:e.slice(t+1)}};let Cke="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Yx=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=Cke[n[e]&63];return t};var Dl=hs(new Set),Yf=hs(new Set),Mc=hs(new Set),Nu=K(!1),$ke=3e3,lw=K(!1),Tm=K(""),yT=e=>{Tm.value===e&&(Tm.value="")},cw=hs(new Set),Rh=new Set,Gx=hs(new Map),Pke=e=>Gx.get(e),TO=(e,t)=>{!Number.isFinite(t)||t<=0||Gx.set(e,Math.round(t))},Ike=e=>{e&&Rh.add(e)},sB=()=>{const e=Yx();return cw.add(e),()=>setTimeout(()=>cw.delete(e),100)},Nke=I(()=>cw.size===0),Kx=()=>{if(typeof window>"u"||Nu.value)return;Nu.value=!0;const e=async()=>{const t=[...Dl],n=[...Yf];if(t.length===0&&n.length===0){Rh.forEach(r=>r()),Rh.clear(),Nu.value=!1,lw.value=!0;return}for(const r of t)Mc.add(r),Dl.delete(r);for(const r of n)Mc.add(r),Yf.delete(r);await Nn(),Rh.forEach(r=>r()),Rh.clear(),Nu.value=!1,lw.value=!0};window.requestIdleCallback?window.requestIdleCallback(e,{timeout:1500}):Nn(e)};D5e([()=>Yf.size,()=>Dl.size,()=>Nu.value],()=>{(Yf.size>0||Dl.size>0)&&!Nu.value&&Kx()},{debounce:300,maxWait:1500});var Rke=e=>{e&&!Mc.has(e)&&!Dl.has(e)&&Yf.add(e)},Tu=e=>{e&&!Dl.has(e)&&Dl.add(e)},vT=(e,t=!1)=>{!e||Mc.has(e)||(t?Tu(e):Rke(e),Nu.value||Kx())},Mke=()=>{typeof window>"u"||window.setTimeout(()=>Kx(),400)},Lke=e=>{Dl.delete(e),Yf.delete(e),Mc.delete(e),Gx.delete(e)};function Dke(e){return to(()=>{Lke(e)}),{isReady:I(()=>typeof window>"u"||Dl.has(e)||Mc.has(e))}}var Bke=(e,t,n)=>{const r=n(e),a=!Mc.has(e)||r?.children?.some(l=>!Mc.has(l.id))?Uke(e):void 0;Ike(a);const i=sB(),{rawId:o}=_ke(e);if(Tm.value=e,Tu(e),Tu(o),r?.children&&r.children.slice(0,2).forEach(l=>Tu(l.id)),r?.parent){const l=n(r.parent.id),c=l?.children?.findIndex(u=>u.id===e);c!==void 0&&c>=0&&l?.children?.slice(c,c+2).forEach(u=>Tu(u.id))}t(o,!0);const s=l=>{const c=n(l)?.parent;c&&(Tu(c.id),t(c.id,!0),s(c.id))};s(o),Nn(()=>{lB(e,Date.now()+$ke,i,a)})},lB=(e,t,n,r)=>{const a=document.getElementById(e);a?(a.scrollIntoView({block:"start"}),yT(e),n()):Date.now()<t?requestAnimationFrame(()=>lB(e,t,n,r)):(yT(e),n(),r?.())},Uke=e=>{let t=!1;const n=r=>{const a=document.getElementById(e);a&&a.scrollIntoView({block:"start"}),r||requestAnimationFrame(()=>n(t))};return n(!1),()=>{t=!0}},jke={key:3,class:"centered"},Qke=Q({inheritAttrs:!1,__name:"ScalarButton",props:{is:{default:"button"},variant:{default:"solid"},size:{default:"md"},disabled:{type:Boolean},icon:{type:[Object,Function]},loader:{}},setup(e){const t=$r({base:"scalar-button flex cursor-pointer items-center justify-center rounded font-medium -outline-offset-1",variants:{disabled:{true:"bg-b-2 text-color-3 shadow-none"},size:{xs:"px-2 py-1 text-xs/4",sm:"px-3.5 py-2 text-sm/4",md:"px-5 py-3 text-sm/4"},variant:_L},compoundVariants:[{disabled:!0,variant:["solid","outlined","ghost","gradient","danger"],class:"bg-b-2 text-c-3 shadow-none hover:bg-b-[_] cursor-not-allowed active:bg-b-[_] hover:text-c-[_] active:text-c-[_]"},{disabled:!0,variant:["gradient"],class:"to-b-1.5 bg-linear-to-b hover:bg-linear-to-b dark:hover:bg-linear-to-t"}]}),n=$r({base:"shrink-0",variants:{size:{xs:"size-2.75 -ml-0.25 mr-1",sm:"size-3.5 -ml-0.25 mr-1",md:"size-3.5 -ml-0.5 mr-1.5"}}}),r=$r({variants:{size:{xs:"size-4",sm:"size-5",md:"size-6"}}}),{cx:a}=At();return(i,o)=>(g(),L(Yt(e.is),Ae({"aria-disabled":e.disabled||void 0,type:e.is==="button"?"button":void 0},m(a)(m(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{default:P(()=>[i.$slots.icon||e.icon?(g(),S("div",{key:0,class:Se([m(n)({size:e.size}),{invisible:e.loader?.isActive}])},[H(i.$slots,"icon",{},()=>[(g(),L(Yt(e.icon),{class:"size-full"}))])],2)):B("",!0),e.loader?(g(),S("span",{key:1,class:Se({invisible:e.loader?.isActive})},[H(i.$slots,"default")],2)):H(i.$slots,"default",{},void 0,void 0,2),e.loader?.isActive?(g(),S("div",jke,[N(m(EL),{class:Se(m(r)({size:e.size})),loader:e.loader},null,8,["class","loader"])])):B("",!0)]),_:3},16,["aria-disabled","type"]))}}),Ln=Qke,Fke={class:"sr-only"},zke={class:"overflow-x-auto"},Vke={key:1,class:"text-c-1 flex h-auto w-full items-center gap-0.75 !rounded-b-xl px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"},Hke={class:"sr-only"},qke={class:"overflow-x-auto"},Zke=Q({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){const r=n,{translate:a}=Ot(),i=I(()=>e.servers.map(l=>({id:l.name,label:l.url}))),o=I(()=>e.selectedServer?.url?.replace(/\/$/,"")||""),s=I(()=>i.value.find(l=>l.id===e.selectedServer?.name));return t({servers:e.servers,serverUrlWithoutTrailingSlash:o,serverOptions:i,selectedServer:e.selectedServer}),(l,c)=>i.value.length>1?(g(),L(m(nu),{key:0,ref:"elem",class:"group",modelValue:s.value,options:i.value,placement:"bottom-start",resize:"",target:e.target,"onUpdate:modelValue":c[0]||(c[0]=u=>
57r("update:modelValue",u.id))},{default:P(()=>[N(m(Ln),{class:"bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base/5.25 font-normal whitespace-nowrap -outline-offset-1",variant:"ghost"},{default:P(()=>[w("span",Fke,V(m(a)("server.label"))+":",1),w("span",zke,V(o.value||m(a)("server.select")),1),N(m(xi),{class:"text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["modelValue","options","target"])):(g(),S("div",Vke,[w("span",Hke,V(m(a)("server.label"))+":",1),w("span",qke,V(o.value),1)]))}}),Xke=Zke,Wke={key:0,class:"sr-only"},Yke=Q({__name:"ServerVariablesSelect",props:{enum:{},value:{},controls:{}},emits:["change"],setup(e,{emit:t}){const n=e,r=t,a=I(()=>n.enum.map(o=>({id:o,label:o}))),i=I({get:()=>a.value.find(o=>o.id===n.value),set:o=>r("change",o?.id??"")});return(o,s)=>(g(),L(m(nu),{modelValue:i.value,"onUpdate:modelValue":s[0]||(s[0]=l=>i.value=l),options:a.value},{default:P(()=>[N(m(Ln),{"aria-controls":e.controls,class:"group/button h-8 gap-1.5 p-1.5 text-base font-normal",variant:"ghost"},{default:P(()=>[w("span",{class:Se({"text-c-1":e.value})},[e.value?(g(),S("span",Wke," Selected: ")):B("",!0),J(" "+V(e.value||"Select value"),1)],2),N(m(xi),{weight:"bold",class:"mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180"})]),_:1},8,["aria-controls"])]),_:1},8,["modelValue","options"]))}}),Gke=Yke,Kke=Q({__name:"ServerVariablesTextbox",props:{value:{},controls:{}},emits:["change"],setup(e,{emit:t}){const n=e,r=t,a=I({get:()=>n.value,set:i=>r("change",i)});return(i,o)=>ti((g(),S("input",Ae({"onUpdate:modelValue":o[0]||(o[0]=s=>a.value=s)},e.controls?{...i.$attrs,"aria-controls":e.controls}:{},{autocomplete:"off",class:"text-c-1 w-full border-transparent px-1.5 py-1.25 -outline-offset-1 group-last/label:rounded-br-lg",placeholder:"value",spellcheck:"false",type:"text"}),null,16)),[[ld,a.value]])}}),Jke=Kke,eAe=["for"],tAe=Q({__name:"ServerVariablesForm",props:{variables:{},values:{},controls:{},layout:{default:"client"}},emits:["update:variable"],setup(e,{emit:t}){const n=t,r=vn();function a(o,s){n("update:variable",o,s)}const i=o=>(e.values?.[o]??e.variables?.[o]?.default??"").toString();return(o,s)=>e.variables&&Object.keys(e.variables??{}).length?(g(!0),S(le,{key:0},it(Object.keys(e.variables),l=>(g(),S("div",{key:l,class:Se(["group/label flex h-8 w-full",e.layout==="reference"&&"items-center border-x border-b last:rounded-b-lg"])},[w("label",{class:"flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']",for:`${m(r)}-${l}`},V(l),9,eAe),e.variables?.[l]?.enum?.length?(g(),L(Gke,{key:0,id:`${m(r)}-${l}`,controls:e.controls,enum:e.variables[l]?.enum?.map(c=>`${c}`)??[],value:i(l),onChange:c=>a(l,c)},null,8,["id","controls","enum","value","onChange"])):(g(),L(Jke,{key:1,id:`${m(r)}-${l}`,controls:e.controls,value:i(l),onChange:c=>a(l,c)},null,8,["id","controls","value","onChange"]))],2))),128)):B("",!0)}}),cB=tAe,Ip=(function(e){if(e==null)return iAe;if(typeof e=="function")return jy(e);if(typeof e=="object")return Array.isArray(e)?nAe(e):rAe(e);if(typeof e=="string")return aAe(e);throw new Error("Expected function, string, or object as test")});function nAe(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ip(e[n]);return jy(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function rAe(e){const t=e;return jy(n);function n(r){const a=r;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function aAe(e){return jy(t);function t(n){return n&&n.type===e}}function jy(e){return t;function t(n,r,a){return!!(oAe(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function iAe(){return!0}function oAe(e){return e!==null&&typeof e=="object"&&"type"in e}var uB=[],dB="skip";function Jx(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const i=Ip(a),o=r?-1:1;s(e,void 0,[])();function s(l,c,u){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const p=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;
57Object.defineProperty(f,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return f;function f(){let p=uB,h,b,y;if((!t||i(l,c,u[u.length-1]||void 0))&&(p=sAe(n(l,u)),p[0]===!1))return p;if("children"in l&&l.children){const O=l;if(O.children&&p[0]!=="skip")for(b=(r?O.children.length:-1)+o,y=u.concat(O);b>-1&&b<O.children.length;){const A=O.children[b];if(h=s(A,b,y)(),h[0]===!1)return h;b=typeof h[1]=="number"?h[1]:b+o}}return p}}}function sAe(e){return Array.isArray(e)?e:typeof e=="number"?[!0,e]:e==null?uB:[e]}function ao(e,t,n,r){let a,i,o;typeof t=="function"&&typeof n!="function"?(i=void 0,o=t,a=n):(i=t,o=n,a=r),Jx(e,i,s,a);function s(l,c){const u=c[c.length-1],d=u?u.children.indexOf(l):void 0;return o(l,d,u)}}var lAe=Object.create,w2=Object.defineProperty,cAe=Object.getOwnPropertyDescriptor,uAe=Object.getOwnPropertyNames,dAe=Object.getPrototypeOf,fAe=Object.prototype.hasOwnProperty,fB=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),pB=(e,t)=>{let n={};for(var r in e)w2(n,r,{get:e[r],enumerable:!0});return w2(n,Symbol.toStringTag,{value:"Module"}),n},pAe=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=uAe(t),i=0,o=a.length,s;i<o;i++)s=a[i],!fAe.call(e,s)&&s!==n&&w2(e,s,{get:(l=>t[l]).bind(null,s),enumerable:!(r=cAe(t,s))||r.enumerable});return e},hB=(e,t,n)=>(n=e!=null?lAe(dAe(e)):{},pAe(t||!e||!e.__esModule?w2(n,"default",{value:e,enumerable:!0}):n,e)),mB={ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp","c++":"cpp",node:"javascript"},OT=(function(e,t,n){const r=Ip(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]}),e6=(function(e,t,n,r,a){const i=No(t);return gB(e)?i.call(a,e,n,r):!1}),No=(function(e){if(e==null)return gAe;if(typeof e=="string")return mAe(e);if(typeof e=="object")return hAe(e);if(typeof e=="function")return t6(e);throw new Error("Expected function, string, or array as `test`")});function hAe(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=No(e[n]);return t6(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function mAe(e){return t6(t);function t(n){return n.tagName===e}}function t6(e){return t;function t(n,r,a){return!!(gB(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function gAe(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function gB(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}var ST=/\n/g,wT=/[\t ]+/g,uw=No("br"),xT=No(xAe),bAe=No("p"),kT=No("tr"),yAe=No(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",wAe,kAe]),bB=No(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function AT(e,t){const n={},r="children"in e?e.children:[],a=bB(e),i=OB(e,{whitespace:n.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...vB(e,{breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(...yB(r[s],e,{whitespace:i,breakBefore:s?void 0:a,breakAfter:s<r.length-1?uw(r[s+1]):a}));const l=[];let c;for(s=-1;++s<o.length;){const u=o[s];typeof u=="number"?c!==void 0&&u>c&&(c=u):u&&(c!==void 0&&c>-1&&l.push(` 58`.repeat(c)||" "),c=-1,l.push(u))}return l.join("")}function yB(e,t,n){return e.type==="element"?vAe(e,t,n):e.type==="text"?n.whitespace==="normal"?vB(e,n):OAe(e):[]}function vAe(e,t,n){const r=OB(e,n),a=e.children||[];let i=-1,o=[];if(yAe(e))return o;let s,l;for(uw(e)||kT(e)&&OT(t,e,kT)?l=` 59`:bAe(e)?(s=2,l=2):bB(e)&&(s=1,l=1);++i<a.length;)o=o.concat(yB(a[i],e,{whitespace:r,breakBefore:i?void 0:s,breakAfter:i<a.length-1?uw(a[i+1]):l}));return xT(e)&&OT(t,e,xT)&&o.push(" "),s&&o.unshift(s),l&&o.push(l),o}function vB(e,t){const n=String(e.value),r=[],a=[];let i=0;for(;i<=n.length;){ST.lastIndex=i;const l=ST.exec(n),c=l&&"index"in l?l.index:n.length;r.push(SAe(n.slice(i,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?t.breakBefore:!0,c===n.length?t.breakAfter:!0)),i=c+1}let o=-1,s;for(;++o<r.length;
59)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(a.push(r[o]),s=void 0):r[o]?(typeof s=="number"&&a.push(s),a.push(r[o]),s=0):(o===0||o===r.length-1)&&a.push(0);return a}function OAe(e){return[String(e.value)]}function SAe(e,t,n){const r=[];let a=0,i;for(;a<e.length;){wT.lastIndex=a;const o=wT.exec(e);i=o?o.index:e.length,!a&&!i&&o&&!t&&r.push(""),a!==i&&r.push(e.slice(a,i)),a=o?i+o[0].length:i}return a!==i&&!n&&r.push(""),r.join(" ")}function OB(e,t){if(e.type==="element"){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function wAe(e){return!!(e.properties||{}).hidden}function xAe(e){return e.tagName==="td"||e.tagName==="th"}function kAe(e){return e.tagName==="dialog"&&!(e.properties||{}).open}var AAe=hB(fB(((e,t)=>{function n(X){return X instanceof Map?X.clear=X.delete=X.set=function(){throw new Error("map is read-only")}:X instanceof Set&&(X.add=X.clear=X.delete=function(){throw new Error("set is read-only")}),Object.freeze(X),Object.getOwnPropertyNames(X).forEach($e=>{const et=X[$e],Vt=typeof et;(Vt==="object"||Vt==="function")&&!Object.isFrozen(et)&&n(et)}),X}var r=class{constructor(X){X.data===void 0&&(X.data={}),this.data=X.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function a(X){return X.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function i(X,...$e){const et=Object.create(null);for(const Vt in X)et[Vt]=X[Vt];return $e.forEach(function(Vt){for(const ir in Vt)et[ir]=Vt[ir]}),et}var o="</span>",s=X=>!!X.scope,l=(X,{prefix:$e})=>{if(X.startsWith("language:"))return X.replace("language:","language-");if(X.includes(".")){const et=X.split(".");return[`${$e}${et.shift()}`,...et.map((Vt,ir)=>`${Vt}${"_".repeat(ir+1)}`)].join(" ")}return`${$e}${X}`},c=class{constructor(X,$e){this.buffer="",this.classPrefix=$e.classPrefix,X.walk(this)}addText(X){this.buffer+=a(X)}openNode(X){if(!s(X))return;const $e=l(X.scope,{prefix:this.classPrefix});this.span($e)}closeNode(X){s(X)&&(this.buffer+=o)}value(){return this.buffer}span(X){this.buffer+=`<span class="${X}">`}},u=(X={})=>{const $e={children:[]};return Object.assign($e,X),$e},d=class SB{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add($e){this.top.children.push($e)}openNode($e){const et=u({scope:$e});this.add(et),this.stack.push(et)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk($e){return this.constructor._walk($e,this.rootNode)}static _walk($e,et){return typeof et=="string"?$e.addText(et):et.children&&($e.openNode(et),et.children.forEach(Vt=>this._walk($e,Vt)),$e.closeNode(et)),$e}static _collapse($e){typeof $e!="string"&&$e.children&&($e.children.every(et=>typeof et=="string")?$e.children=[$e.children.join("")]:$e.children.forEach(et=>{SB._collapse(et)}))}},f=class extends d{constructor(X){super(),this.options=X}addText(X){X!==""&&this.add(X)}startScope(X){this.openNode(X)}endScope(){this.closeNode()}__addSublanguage(X,$e){const et=X.root;$e&&(et.scope=`language:${$e}`),this.add(et)}toHTML(){return new c(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function p(X){return X?typeof X=="string"?X:X.source:null}function h(X){return O("(?=",X,")")}function b(X){return O("(?:",X,")*")}function y(X){return O("(?:",X,")?")}function O(...X){return X.map($e=>p($e)).join("")}function A(X){const $e=X[X.length-1];return typeof $e=="object"&&$e.constructor===Object?(X.splice(X.length-1,1),$e):{}}function x(...X){return"("+(A(X).capture?"":"?:")+X.map($e=>p($e)).join("|")+")"}function T(X){return new RegExp(X.toString()+"|").exec("").length-1}function E(X,$e){const et=X&&X.exec($e);return et&&et.index===0}var C=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function $(X,{joinWith:$e}){let et=0;return X.map(Vt=>{et+=1;const ir=et;let hr=p(Vt),ft="";for(;hr.length>0;){const nt=C.exec(hr);if(!nt){ft+=hr;break}ft+=hr.substring(0,nt.index),hr=hr.substring(nt.index+nt[0].length),nt[0][0]==="\\"&&nt[1]?ft+="\\"+String(Number(nt[1])+ir):(ft+=nt[0],nt[0]==="("&&et++)}return ft}).map(Vt=>`(${Vt})`).join($e)}var R=/\b\B/,j="[a-zA-Z]\\w*",U="[a-zA-Z_]\\w*",Y="\\b\\d+(\\.\\d+)?",W="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",pe="\\b(0b[01]+)",ee="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ae=(X={})=>{const $e=/^#![ ]*\//;return X.binary&&(X.begin=O($e,/.*\b/,X.binary,/\b.*/)),i({scope:"meta",begin:$e,end:/$/,relevance:0,"on:begin":(et,Vt)=>{et.index!==0&&Vt.ignoreMatch()}},X)},de={begin:"\\\\[\\s\\S]",relevance:0},ue={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[de]},Ee={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[de]},Te={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},D=function(X,$e,et={}){const Vt=i({scope:"comment",begin:X,end:$e,contains:[]},et);Vt.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});
vendor: 11,936 bytes, lines 59-60
59const ir=x("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return Vt.contains.push({begin:O(/[ ]+/,"(",ir,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Vt},oe=D("//","$"),fe=D("/\\*","\\*/"),z=D("#","$"),mt={scope:"number",begin:Y,relevance:0},te={scope:"number",begin:W,relevance:0},Oe={scope:"number",begin:pe,relevance:0},Et={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[de,{begin:/\[/,end:/\]/,relevance:0,contains:[de]}]},Pt={scope:"title",begin:j,relevance:0},gt={scope:"title",begin:U,relevance:0},kn={begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},Nr=function(X){return Object.assign(X,{"on:begin":($e,et)=>{et.data._beginMatch=$e[1]},"on:end":($e,et)=>{et.data._beginMatch!==$e[1]&&et.ignoreMatch()}})},rr=Object.freeze({__proto__:null,APOS_STRING_MODE:ue,BACKSLASH_ESCAPE:de,BINARY_NUMBER_MODE:Oe,BINARY_NUMBER_RE:pe,COMMENT:D,C_BLOCK_COMMENT_MODE:fe,C_LINE_COMMENT_MODE:oe,C_NUMBER_MODE:te,C_NUMBER_RE:W,END_SAME_AS_BEGIN:Nr,HASH_COMMENT_MODE:z,IDENT_RE:j,MATCH_NOTHING_RE:R,METHOD_GUARD:kn,NUMBER_MODE:mt,NUMBER_RE:Y,PHRASAL_WORDS_MODE:Te,QUOTE_STRING_MODE:Ee,REGEXP_MODE:Et,RE_STARTERS_RE:ee,SHEBANG:ae,TITLE_MODE:Pt,UNDERSCORE_IDENT_RE:U,UNDERSCORE_TITLE_MODE:gt});function qr(X,$e){X.input[X.index-1]==="."&&$e.ignoreMatch()}function ge(X,$e){X.className!==void 0&&(X.scope=X.className,delete X.className)}function je(X,$e){$e&&X.beginKeywords&&(X.begin="\\b("+X.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",X.__beforeBegin=qr,X.keywords=X.keywords||X.beginKeywords,delete X.beginKeywords,X.relevance===void 0&&(X.relevance=0))}function ot(X,$e){Array.isArray(X.illegal)&&(X.illegal=x(...X.illegal))}function Lt(X,$e){if(X.match){if(X.begin||X.end)throw new Error("begin & end are not supported with match");X.begin=X.match,delete X.match}}function Ct(X,$e){X.relevance===void 0&&(X.relevance=1)}var zt=(X,$e)=>{if(!X.beforeMatch)return;if(X.starts)throw new Error("beforeMatch cannot be used with starts");const et=Object.assign({},X);Object.keys(X).forEach(Vt=>{delete X[Vt]}),X.keywords=et.keywords,X.begin=O(et.beforeMatch,h(et.begin)),X.starts={relevance:0,contains:[Object.assign(et,{endsParent:!0})]},X.relevance=0,delete et.beforeMatch},jn=["of","and","for","in","not","or","if","then","parent","list","value"],Rr="keyword";function ba(X,$e,et=Rr){const Vt=Object.create(null);return typeof X=="string"?ir(et,X.split(" ")):Array.isArray(X)?ir(et,X):Object.keys(X).forEach(function(hr){Object.assign(Vt,ba(X[hr],$e,hr))}),Vt;function ir(hr,ft){$e&&(ft=ft.map(nt=>nt.toLowerCase())),ft.forEach(function(nt){const It=nt.split("|");Vt[It[0]]=[hr,Ci(It[0],It[1])]})}}function Ci(X,$e){return $e?Number($e):io(X)?0:1}function io(X){return jn.includes(X.toLowerCase())}var oo={},ye=X=>{console.error(X)},Re=(X,...$e)=>{console.log(`WARN: ${X}`,...$e)},bt=(X,$e)=>{oo[`${X}/${$e}`]||(console.log(`Deprecated as of ${X}. ${$e}`),oo[`${X}/${$e}`]=!0)},re=new Error;function ce(X,$e,{key:et}){let Vt=0;const ir=X[et],hr={},ft={};for(let nt=1;nt<=$e.length;nt++)ft[nt+Vt]=ir[nt],hr[nt+Vt]=!0,Vt+=T($e[nt-1]);X[et]=ft,X[et]._emit=hr,X[et]._multi=!0}function Ne(X){if(Array.isArray(X.begin)){if(X.skip||X.excludeBegin||X.returnBegin)throw ye("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),re;if(typeof X.beginScope!="object"||X.beginScope===null)throw ye("beginScope must be object"),re;ce(X,X.begin,{key:"beginScope"}),X.begin=$(X.begin,{joinWith:""})}}function De(X){if(Array.isArray(X.end)){if(X.skip||X.excludeEnd||X.returnEnd)throw ye("skip, excludeEnd, returnEnd not compatible with endScope: {}"),re;if(typeof X.endScope!="object"||X.endScope===null)throw ye("endScope must be object"),re;ce(X,X.end,{key:"endScope"}),X.end=$(X.end,{joinWith:""})}}function Xt(X){X.scope&&typeof X.scope=="object"&&X.scope!==null&&(X.beginScope=X.scope,delete X.scope)}function _t(X){Xt(X),typeof X.beginScope=="string"&&(X.beginScope={_wrap:X.beginScope}),typeof X.endScope=="string"&&(X.endScope={_wrap:X.endScope}),Ne(X),De(X)}function On(X){function $e(ft,nt){return new RegExp(p(ft),"m"+(X.case_insensitive?"i":"")+(X.unicodeRegex?"u":"")+(nt?"g":""))}class et{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(nt,It){It.position=this.position++,this.matchIndexes[this.matchAt]=It,this.regexes.push([It,nt]),this.matchAt+=T(nt)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const nt=this.regexes.map(It=>It[1]);this.matcherRe=$e($(nt,{joinWith:"|"}),!0),this.lastIndex=0}exec(nt){this.matcherRe.lastIndex=this.lastIndex;const It=this.matcherRe.exec(nt);if(!It)return null;const Mr=It.findIndex((lu,Kp)=>Kp>0&&lu!==void 0),xr=this.matchIndexes[Mr];return It.splice(0,Mr),Object.assign(It,xr)}}class Vt{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(nt){if(this.multiRegexes[nt])return this.multiRegexes[nt];const It=new et;return this.rules.slice(nt).forEach(([Mr,xr])=>It.addRule(Mr,xr)),It.compile(),this.multiRegexes[nt]=It,It}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(nt,It){this.rules.push([nt,It]),It.type==="begin"&&this.count++}exec(nt){const It=this.getMatcher(this.regexIndex);It.lastIndex=this.lastIndex;let Mr=It.exec(nt);if(this.resumingScanAtSamePosition()&&!(Mr&&Mr.index===this.lastIndex)){const xr=this.getMatcher(0);xr.lastIndex=this.lastIndex+1,Mr=xr.exec(nt)}return Mr&&(this.regexIndex+=Mr.position+1,this.regexIndex===this.count&&this.considerAll()),Mr}}function ir(ft){const nt=new Vt;return ft.contains.forEach(It=>nt.addRule(It.begin,{rule:It,type:"begin"})),ft.terminatorEnd&&nt.addRule(ft.terminatorEnd,{type:"end"}),ft.illegal&&nt.addRule(ft.illegal,{type:"illegal"}),nt}function hr(ft,nt){const It=ft;if(ft.isCompiled)return It;[ge,Lt,_t,zt].forEach(xr=>xr(ft,nt)),X.compilerExtensions.forEach(xr=>xr(ft,nt)),ft.__beforeBegin=null,[je,ot,Ct].forEach(xr=>xr(ft,nt)),ft.isCompiled=!0;let Mr=null;return typeof ft.keywords=="object"&&ft.keywords.$pattern&&(ft.keywords=Object.assign({},ft.keywords),Mr=ft.keywords.$pattern,delete ft.keywords.$pattern),Mr=Mr||/\w+/,ft.keywords&&(ft.keywords=ba(ft.keywords,X.case_insensitive)),It.keywordPatternRe=$e(Mr,!0),nt&&(ft.begin||(ft.begin=/\B|\b/),It.beginRe=$e(It.begin),!ft.end&&!ft.endsWithParent&&(ft.end=/\B|\b/),ft.end&&(It.endRe=$e(It.end)),It.terminatorEnd=p(It.end)||"",ft.endsWithParent&&nt.terminatorEnd&&(It.terminatorEnd+=(ft.end?"|":"")+nt.terminatorEnd)),ft.illegal&&(It.illegalRe=$e(ft.illegal)),ft.contains||(ft.contains=[]),ft.contains=[].concat(...ft.contains.map(function(xr){return hn(xr==="self"?ft:xr)})),ft.contains.forEach(function(xr){hr(xr,It)}),ft.starts&&hr(ft.starts,nt),It.matcher=ir(It),It}if(X.compilerExtensions||(X.compilerExtensions=[]),X.contains&&X.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return X.classNameAliases=i(X.classNameAliases||{}),hr(X)}function Sn(X){return X?X.endsWithParent||Sn(X.starts):!1}function hn(X){return X.variants&&!X.cachedVariants&&(X.cachedVariants=X.variants.map(function($e){return i(X,{variants:null},$e)})),X.cachedVariants?X.cachedVariants:Sn(X)?i(X,{starts:X.starts?i(X.starts):null}):Object.isFrozen(X)?i(X):X}var ar="11.11.1",Fd=class extends Error{constructor(X,$e){super(X),this.name="HTMLInjectionError",this.html=$e}},Gp=a,Z0=i,X0=Symbol("nomatch"),Yv=7,W0=function(X){const $e=Object.create(null),et=Object.create(null),Vt=[];let ir=!0;const hr="Could not find the language '{}', did you forget to load/include a language module?",ft={disableAutodetect:!0,name:"Plain text",contains:[]};let nt={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:f};function It(Ue){return nt.noHighlightRe.test(Ue)}function Mr(Ue){let kt=Ue.className+" ";kt+=Ue.parentNode?Ue.parentNode.className:"";const ln=nt.languageDetectRe.exec(kt);if(ln){const qn=Zr(ln[1]);return qn||(Re(hr.replace("{}",ln[1])),Re("Falling back to no-highlight mode for this block.",Ue)),qn?ln[1]:"no-highlight"}return kt.split(/\s+/).find(qn=>It(qn)||Zr(qn))}function xr(Ue,kt,ln){let qn="",Xr="";typeof kt=="object"?(qn=Ue,ln=kt.ignoreIllegals,Xr=kt.language):(bt("10.7.0","highlight(lang, code, ...args) has been deprecated."),bt("10.7.0",`Please use highlight(code, options) instead. 60https://github.com/highlightjs/highlight.js/issues/2277`),Xr=Ue,qn=kt),ln===void 0&&(ln=!0);const ws={code:qn,language:Xr};G0("before:highlight",ws);const il=ws.result?ws.result:lu(ws.language,ws.code,ln);return il.code=ws.code,G0("after:highlight",il),il}function lu(Ue,kt,ln,qn){const Xr=Object.create(null);function ws(Ye,wt){return Ye.keywords[wt]}function il(){if(!Ut.keywords){ya.addText(Zn);return}let Ye=0;Ut.keywordPatternRe.lastIndex=0;let wt=Ut.keywordPatternRe.exec(Zn),Jt="";for(;wt;){Jt+=Zn.substring(Ye,wt.index);const Bn=xs.case_insensitive?wt[0].toLowerCase():wt[0],$a=ws(Ut,Bn);if($a){const[sl,wX]=$a;if(ya.addText(Jt),Jt="",Xr[Bn]=(Xr[Bn]||0)+1,Xr[Bn]<=Yv&&(e1+=wX),sl.startsWith("_"))Jt+=wt[0];else{const xX=xs.classNameAliases[sl]||sl;K0(wt[0],xX)}}else Jt+=wt[0];Ye=Ut.keywordPatternRe.lastIndex,wt=Ut.keywordPatternRe.exec(Zn)}Jt+=Zn.substring(Ye),ya.addText(Jt)}function ol(){if(Zn==="")return;let Ye=null;if(typeof Ut.subLanguage=="string"){if(!$e[Ut.subLanguage]){ya.addText(Zn);return}Ye=lu(Ut.subLanguage,Zn,!0,yk[Ut.subLanguage]),yk[Ut.subLanguage]=Ye._top}else Ye=Jp(Zn,Ut.subLanguage.length?Ut.subLanguage:null);Ut.relevance>0&&(e1+=Ye.relevance),ya.__addSublanguage(Ye._emitter,Ye.language)}function Lo(){Ut.subLanguage!=null?ol():il(),Zn=""}function K0(Ye,wt){Ye!==""&&(ya.startScope(wt),ya.addText(Ye),ya.endScope())}function hk(Ye,wt){let Jt=1;const Bn=wt.length-1;for(;Jt<=Bn;){if(!Ye._emit[Jt]){Jt++;continue}const $a=xs.classNameAliases[Ye[Jt]]||Ye[Jt],sl=wt[Jt];$a?K0(sl,$a):(Zn=sl,il(),Zn=""),Jt++}}function mk(Ye,wt){return Ye.scope&&typeof Ye.scope=="string"&&ya.openNode(xs.classNameAliases[Ye.scope]||Ye.scope),Ye.beginScope&&(Ye.beginScope._wrap?(K0(Zn,xs.classNameAliases[Ye.beginScope._wrap]||Ye.beginScope._wrap),Zn=""):Ye.beginScope._multi&&(hk(Ye.beginScope,wt),Zn="")),Ut=Object.create(Ye,{parent:{value:Ut}}),Ut}function gk(Ye,wt,Jt){let Bn=E(Ye.endRe,Jt);if(Bn){if(Ye["on:end"]){const $a=new r(Ye);Ye["on:end"](wt,$a),$a.isMatchIgnored&&(Bn=!1)}if(Bn){for(;Ye.endsParent&&Ye.parent;)Ye=Ye.parent;return Ye}}if(Ye.endsWithParent)return gk(Ye.parent,wt,Jt)}function bX(Ye){return Ut.matcher.regexIndex===0?(Zn+=Ye[0],1):(eO=!0,0)}function yX(Ye){const wt=Ye[0],Jt=Ye.rule,Bn=new r(Jt),$a=[Jt.__beforeBegin,Jt["on:begin"]];for(const sl of $a)if(sl&&(sl(Ye,Bn),Bn.isMatchIgnored))return bX(wt);return Jt.skip?Zn+=wt:(Jt.excludeBegin&&(Zn+=wt),Lo(),!Jt.returnBegin&&!Jt.excludeBegin&&(Zn=wt)),mk(Jt,Ye),Jt.returnBegin?0:wt.length}function vX(Ye){const wt=Ye[0],Jt=kt.substring(Ye.index),Bn=gk(Ut,Ye,Jt);if(!Bn)return X0;const $a=Ut;Ut.endScope&&Ut.endScope._wrap?(Lo(),K0(wt,Ut.endScope._wrap)):Ut.endScope&&Ut.endScope._multi?(Lo(),hk(Ut.endScope,Ye)):$a.skip?Zn+=wt:($a.returnEnd||$a.excludeEnd||(Zn+=wt),Lo(),$a.excludeEnd&&(Zn=wt));do Ut.scope&&ya.closeNode(),!Ut.skip&&!Ut.subLanguage&&(e1+=Ut.relevance),Ut=Ut.parent;while(Ut!==Bn.parent);return Bn.starts&&mk(Bn.starts,Ye),$a.returnEnd?0:wt.length}function OX(){const Ye=[];for(let wt=Ut;wt!==xs;wt=wt.parent)wt.scope&&Ye.unshift(wt.scope);Ye.forEach(wt=>ya.openNode(wt))}let J0={};function bk(Ye,wt){const Jt=wt&&wt[0];if(Zn+=Ye,Jt==null)return Lo(),0;if(J0.type==="begin"&&wt.type==="end"&&J0.index===wt.index&&Jt===""){if(Zn+=kt.slice(wt.index,wt.index+1),!ir){const Bn=new Error(`0 width match regex (${Ue})`);throw Bn.languageName=Ue,Bn.badRule=J0.rule,Bn}return 1}if(J0=wt,wt.type==="begin")return yX(wt);
60if(wt.type==="illegal"&&!ln){const Bn=new Error('Illegal lexeme "'+Jt+'" for mode "'+(Ut.scope||"<unnamed>")+'"');throw Bn.mode=Ut,Bn}else if(wt.type==="end"){const Bn=vX(wt);if(Bn!==X0)return Bn}if(wt.type==="illegal"&&Jt==="")return Zn+=` 61`,1;if(Jv>1e5&&Jv>wt.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Zn+=Jt,Jt.length}const xs=Zr(Ue);if(!xs)throw ye(hr.replace("{}",Ue)),new Error('Unknown language: "'+Ue+'"');const SX=On(xs);let Kv="",Ut=qn||SX;const yk={},ya=new nt.__emitter(nt);OX();let Zn="",e1=0,cu=0,Jv=0,eO=!1;try{if(xs.__emitTokens)xs.__emitTokens(kt,ya);else{for(Ut.matcher.considerAll();;){Jv++,eO?eO=!1:Ut.matcher.considerAll(),Ut.matcher.lastIndex=cu;const Ye=Ut.matcher.exec(kt);if(!Ye)break;const wt=bk(kt.substring(cu,Ye.index),Ye);cu=Ye.index+wt}bk(kt.substring(cu))}return ya.finalize(),Kv=ya.toHTML(),{language:Ue,value:Kv,relevance:e1,illegal:!1,_emitter:ya,_top:Ut}}catch(Ye){if(Ye.message&&Ye.message.includes("Illegal"))return{language:Ue,value:Gp(kt),illegal:!0,relevance:0,_illegalBy:{message:Ye.message,index:cu,context:kt.slice(cu-100,cu+100),mode:Ye.mode,resultSoFar:Kv},_emitter:ya};if(ir)return{language:Ue,value:Gp(kt),illegal:!1,relevance:0,errorRaised:Ye,_emitter:ya,_top:Ut};throw Ye}}function Kp(Ue){const kt={value:Gp(Ue),illegal:!1,relevance:0,_top:ft,_emitter:new nt.__emitter(nt)};return kt._emitter.addText(Ue),kt}function Jp(Ue,kt){kt=kt||nt.languages||Object.keys($e);const ln=Kp(Ue),qn=kt.filter(Zr).filter(rh).map(ol=>lu(ol,Ue,!1));qn.unshift(ln);const[Xr,ws]=qn.sort((ol,Lo)=>{if(ol.relevance!==Lo.relevance)return Lo.relevance-ol.relevance;if(ol.language&&Lo.language){if(Zr(ol.language).supersetOf===Lo.language)return 1;if(Zr(Lo.language).supersetOf===ol.language)return-1}return 0}),il=Xr;return il.secondBest=ws,il}function eh(Ue,kt,ln){const qn=kt&&et[kt]||ln;Ue.classList.add("hljs"),Ue.classList.add(`language-${qn}`)}function th(Ue){let kt=null;const ln=Mr(Ue);if(It(ln))return;if(G0("before:highlightElement",{el:Ue,language:ln}),Ue.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",Ue);return}if(Ue.children.length>
610&&(nt.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(Ue)),nt.throwUnescapedHTML))throw new Fd("One of your code blocks includes unescaped HTML.",Ue.innerHTML);kt=Ue;const qn=kt.textContent,Xr=ln?xr(qn,{language:ln,ignoreIllegals:!0}):Jp(qn);Ue.innerHTML=Xr.value,Ue.dataset.highlighted="yes",eh(Ue,ln,Xr.language),Ue.result={language:Xr.language,re:Xr.relevance,relevance:Xr.relevance},Xr.secondBest&&(Ue.secondBest={language:Xr.secondBest.language,relevance:Xr.secondBest.relevance}),G0("after:highlightElement",{el:Ue,result:Xr,text:qn})}function xe(Ue){nt=Z0(nt,Ue)}const Le=()=>{$t(),bt("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Xe(){$t(),bt("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let St=!1;function $t(){function Ue(){$t()}if(document.readyState==="loading"){St||window.addEventListener("DOMContentLoaded",Ue,!1),St=!0;return}document.querySelectorAll(nt.cssSelector).forEach(th)}function An(Ue,kt){let ln=null;try{ln=kt(X)}catch(qn){if(ye("Language definition for '{}' could not be registered.".replace("{}",Ue)),ir)ye(qn);else throw qn;ln=ft}ln.name||(ln.name=Ue),$e[Ue]=ln,ln.rawDefinition=kt.bind(null,X),ln.aliases&&nh(ln.aliases,{languageName:Ue})}function or(Ue){delete $e[Ue];for(const kt of Object.keys(et))et[kt]===Ue&&delete et[kt]}function $i(){return Object.keys($e)}function Zr(Ue){return Ue=(Ue||"").toLowerCase(),$e[Ue]||$e[et[Ue]]}function nh(Ue,{languageName:kt}){typeof Ue=="string"&&(Ue=[Ue]),Ue.forEach(ln=>{et[ln.toLowerCase()]=kt})}function rh(Ue){const kt=Zr(Ue);return kt&&!kt.disableAutodetect}function Y0(Ue){Ue["before:highlightBlock"]&&!Ue["before:highlightElement"]&&(Ue["before:highlightElement"]=kt=>{Ue["before:highlightBlock"](Object.assign({block:kt.el},kt))}),Ue["after:highlightBlock"]&&!Ue["after:highlightElement"]&&(Ue["after:highlightElement"]=kt=>{Ue["after:highlightBlock"](Object.assign({block:kt.el},kt))})}function Gv(Ue){Y0(Ue),Vt.push(Ue)}function mX(Ue){const kt=Vt.indexOf(Ue);kt!==-1&&Vt.splice(kt,1)}function G0(Ue,kt){const ln=Ue;Vt.forEach(function(qn){qn[ln]&&qn[ln](kt)})}function gX(Ue){return bt("10.7.0","highlightBlock will be removed entirely in v12.0"),bt("10.7.0","Please use highlightElement now."),th(Ue)}Object.assign(X,{highlight:xr,highlightAuto:Jp,highlightAll:$t,highlightElement:th,highlightBlock:gX,configure:xe,initHighlighting:Le,initHighlightingOnLoad:Xe,registerLanguage:An,unregisterLanguage:or,listLanguages:$i,getLanguage:Zr,registerAliases:nh,autoDetection:rh,inherit:Z0,addPlugin:Gv,removePlugin:mX}),X.debugMode=function(){ir=!1},X.safeMode=function(){ir=!0},X.versionString=ar,X.regex={concat:O,lookahead:h,either:x,optional:y,anyNumberOfTimes:b};for(const Ue in rr)typeof rr[Ue]=="object"&&n(rr[Ue]);return Object.assign(X,rr),X},nc=W0({});nc.newInstance=()=>W0({}),t.exports=nc,nc.HighlightJS=nc,nc.default=nc}))()).default,TT={},TAe="hljs-";function EAe(e){const t=AAe.newInstance();return e&&i(e),{highlight:n,highlightAuto:r,listLanguages:a,register:i,registerAlias:o,registered:s};function n(l,c,u){const d=u||TT,f=typeof d.prefix=="string"?d.prefix:TAe;if(!t.getLanguage(l))throw new Error("Unknown language: `"+l+"` is not registered");t.configure({__emitter:_Ae,classPrefix:f});const p=t.highlight(c,{ignoreIllegals:!0,language:l});if(p.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:p.errorRaised});const h=p._emitter.root,b=h.data;return b.language=p.language,b.relevance=p.relevance,h}function r(l,c){const u=(c||TT).subset||a();let d=-1,f=0,p;for(;++d<u.length;){const h=u[d];if(!t.getLanguage(h))continue;const b=n(h,l,c);b.data&&b.data.relevance!==void 0&&b.data.relevance>f&&(f=b.data.relevance,p=b)}return p||{type:"root",children:[],data:{language:void 0,relevance:f}}}function a(){return t.listLanguages()}function i(l,c){if(typeof l=="string")t.registerLanguage(l,c);else{let u;for(u in l)Object.hasOwn(l,u)&&t.registerLanguage(u,l[u])}}
61function o(l,c){if(typeof l=="string")t.registerAliases(typeof c=="string"?c:[...c],{languageName:l});else{let u;for(u in l)if(Object.hasOwn(l,u)){const d=l[u];t.registerAliases(typeof d=="string"?d:[...d],{languageName:u})}}}function s(l){return!!t.getLanguage(l)}}var _Ae=class{constructor(e){this.options=e,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(e==="")return;const t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&n.type==="text"?n.value+=e:t.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){const n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:"element",tagName:"span",properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){const t=this,n=e.split(".").map(function(i,o){return o?i+"_".repeat(o):t.options.classPrefix+i}),r=this.stack[this.stack.length-1],a={type:"element",tagName:"span",properties:{className:n},children:[]};r.children.push(a),this.stack.push(a)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}},CAe={};function wB(e){const t=e||CAe,n=t.aliases,r=e?.detect??!1,a=t.languages,i=t.plainText,o=t.prefix,s=t.subset,l=typeof t.className=="string"?[t.className]:t.className??[];let c="hljs";const u=e?.lowlight??EAe(a);if(n&&u.registerAlias(n),o){const d=o.indexOf("-");c=d>-1?o.slice(0,d):o}return(d,f)=>{ao(d,"element",(p,h,b)=>{if(p.tagName!=="code"||!b||b.type!=="element"||b.tagName!=="pre")return;const y=$Ae(p);if(y==="no-highlight"||!y&&!r||y&&i?.includes(y))return;Array.isArray(p.properties.className)||(p.properties.className=[]),p.properties.className.includes(c)||p.properties.className.unshift(c);for(const A of l)p.properties.className.includes(A)||p.properties.className.push(A);let O;try{O=y?u.highlight(y,AT(b),{prefix:o}):u.highlightAuto(AT(b),{prefix:o,subset:s})}catch(A){const x=A;if(y&&/Unknown language/.test(x.message)){f.message(`Cannot highlight as \`${y}\`, it's not registered`,{ancestors:[b,p],cause:x,place:p.position,ruleId:"missing-language",source:"rehype-highlight"});return}f.message("Could not highlight code block",{ancestors:[b,p],cause:x,place:p.position,ruleId:"highlight-error",source:"rehype-highlight"});return}!y&&O.data?.language&&p.properties.className.push("language-"+O.data.language),O.children.length>0&&(p.children=O.children)})}}function $Ae(e){const t=e.properties.className;if(!Array.isArray(t))return"";const n=t.reduce((r,a)=>{if(r)return r;const i=String(a);return i==="no-highlight"||i==="nohighlight"?"no-highlight":i.slice(0,5)==="lang-"?i.slice(5):i.slice(0,9)==="language-"?i.slice(9):r},"");return mB[n||""]||n}function PAe(e){const t="[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*",n="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",r={$pattern:t,built_in:"def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},a={begin:t,relevance:0},i={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},o={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},s={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c={scope:"punctuation",match:/,/,relevance:0},u=e.COMMENT(";","$",{relevance:0}),d={className:"literal",begin:/\b(true|false|nil)\b/},f={begin:"\\[|(#::?[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*)?\\{",end:"[\\]\\}]",relevance:0},p={className:"symbol",begin:"[:]{1,2}[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*"},h={begin:"\\(",end:"\\)"},b={endsWithParent:!0,relevance:0},y={keywords:r,className:"name",begin:t,relevance:0,starts:b},O=[c,h,o,s,l,u,p,f,i,d,a];return h.contains=[{beginKeywords:n,keywords:{$pattern:t,keyword:n},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:t,relevance:0,excludeEnd:!0,endsParent:!0}].concat(O)},y,b],b.contains=O,f.contains=O,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,c
vendor: 10,105 bytes, line 61
61ontains:[c,h,o,s,l,u,p,f,i,d]}}function IAe(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"number",relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},a={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[r,a];const i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=i.map(s=>`${s}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:i.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[a,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},r,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}function ET(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}function NAe(e){const t=e.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},i={className:"subst",begin:/#\{/,end:/\}/,keywords:a},o={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},s={match:/\\[\s\S]/,scope:"char.escape",relevance:0},l=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],c=O=>({scope:"char.escape",begin:t.concat(/\\/,O),relevance:0}),u={className:"string",begin:`~[a-z](?=[/|([{<"'])`,contains:l.map(O=>e.inherit(O,{contains:[c(O.end),s,i]}))},d={className:"string",begin:`~[A-Z](?=[/|([{<"'])`,contains:l.map(O=>e.inherit(O,{contains:[c(O.end)]}))},f={className:"regex",variants:[{begin:`~r(?=[/|([{<"'])`,contains:l.map(O=>e.inherit(O,{end:t.concat(O.end,/[uismxfU]{0,7}/),contains:[c(O.end),s,i]}))},{begin:`~R(?=[/|([{<"'])`,contains:l.map(O=>e.inherit(O,{end:t.concat(O.end,/[uismxfU]{0,7}/),contains:[c(O.end)]}))}]},p={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},h={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},b=e.inherit(h,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),y=[p,f,d,u,e.HASH_COMMENT_MODE,b,h,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[p,{begin:r}],relevance:0},{className:"symbol",begin:"[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?:(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},o,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return i.contains=y,{name:"Elixir",aliases:["ex","exs"],keywords:a,contains:y}}function RAe(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function xB(e){return e?typeof e=="string"?e:e.source:null}function hh(e){return Qo("(?=",e,")")}function Qo(...e){return e.map(t=>xB(t)).join("")}function MAe(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function hu(...e){return"("+(MAe(e).capture?"":"?:")+e.map(t=>xB(t)).join("|")+")"}function LAe(e){const t=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],n={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},r=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],a=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],i=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],o=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],s={keyword:t,literal:a,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":i},l={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),e.C_LINE_COMMENT_MODE]},c=/[a-zA-Z_](\w|')*/,u={scope:"variable",begin:/``/,end:/``/},d=/\B('|\^)/,f={scope:"symbol",variants:[{match:Qo(d,/``.*?``/)},{match:Qo(d,e.UNDERSCORE_IDENT_RE)}],relevance:0},p=function({includeEqual:ae}){let de;ae?de="!%&*+-/<=>@^|~?":de="!%&*+-/<>@^|~?";const ue=Qo("[",...Array.from(de).map(RAe),"]"),Ee=hu(ue,/\./);return{scope:"operator",match:hu(hu(Qo(Qo(Ee,hh(Ee)),Ee,"*"),Qo(ue,"+")),/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},h=p({includeEqual:!0}),b=p({includeEqual:!1}),y=function(ae,de){return{begin:Qo(ae,hh(Qo(/\s*/,hu(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:de,end:hh(hu(/\n/,/=/)),relevance:0,keywords:e.inherit(s,{type:o}),contains:[l,f,e.inherit(u,{scope:null}),b]}},O=y(/:/,"operator"),A=y(/\bof\b/,"keyword"),x={begin:[/(^|\s+)/,/type/,/\s+/,c],beginScope:{2:"keyword",4:"title.class"},end:hh(/\(|=|$/),keywords:s,contains:[l,e.inherit(u,{scope:null}),f,{scope:"operator",match:/<|>/},O]},T={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},E={begin:[/^\s*/,Qo(/#/,hu(...r)),/\b/],beginScope:{2:"meta"},end:hh(/\s|$/)},C={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},$={scope:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},R={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},j={scope:"string",begin:/"""/,end:/"""/,relevance:2},U={scope:"subst",begin:/\{/,end:/\}/,keywords:s},Y={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,U]},W={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,U]},pe={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},U],relevance:2},ee={scope:"string",match:Qo(/'/,hu(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return U.contains=[W,Y,R,$,ee,n,l,u,O,T,E,C,f,h],{name:"F#",aliases:["fs","f#"],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[n,{variants:[pe,W,Y,j,R,$,ee]},l,u,x,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[u,j,R,$,ee,C]},A,O,T,E,C,f,h]}}function DAe(e){const t="([0-9]_*)+",n="([0-9a-fA-F]_*)+",r="([01]_*)+",a="([0-7]_*)+",i="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",o={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},s={className:"meta",begin:/\{-#/,end:/#-\}/},l={className:"meta",begin:"^#",end:"$"},c={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},u={begin:"\\(",end:"\\)",illegal:'"',contains:[s,l,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),o]},d={begin:/\{/,end:/\}/,contains:u.contains},f={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](${a})\\b`},{match:`\\b0[bB](${r})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infi
61xr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[u,o],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[u,o],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[c,u,o]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[s,c,u,d,o]},{beginKeywords:"default",end:"$",contains:[c,u,o]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,o]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[c,e.QUOTE_STRING_MODE,o]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},s,l,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,f,c,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${i}--+|--+(?!-)${i}`},o,{begin:"->|<-"}]}}function BAe(e){const t=e.regex,n="HTTP/([32]|1\\.[01])",r={className:"attribute",begin:t.concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},a=[r,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?=HTTP/([32]|1\\.[01]) \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:a}},{begin:"(?=^[A-Z]+ (.*?) HTTP/([32]|1\\.[01])$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:a}},e.inherit(r,{relevance:0})]}}function UAe(e){const t={$pattern:"[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","Ï","â¯"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},n={keywords:t,illegal:/<\//},r={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},a={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},i={className:"subst",begin:/\$\(/,end:/\)/,keywords:t},o={className:"variable",begin:"\\$[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*"},s={className:"string",contains:[e.BACKSLASH_ESCAPE,i,o],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},l={className:"string",contains:[e.BACKSLASH_ESCAPE,i,o],begin:"`",end:"`"},c={className:"meta",begin:"@[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*"},u={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return n.name="Julia",n.contains=[r,a,s,l,c,u,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],i.contains=n.contains,n}function jAe(e){const t={relevance:0,contains:[{begin:"('|\\.')+"}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nc
61hoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:t},{begin:"[a-zA-Z][a-zA-Z_0-9]*('|\\.')+",relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:t},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:t},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:t},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}function QAe(e){const t=e.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:r.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:"[^\\s\\}\\{]"}}function FAe(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}function zAe(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Upd
61ate|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",r="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",a={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},i=/\w[\w\d]*((-)[\w\d]+)*/,o={begin:"`[\\s\\S]",relevance:0},s={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},l={className:"literal",begin:/\$(null|true|false)\b/},c={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[o,s,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},u={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},d=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),f={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},p={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},h={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:i,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[s]}]},b={begin:/using\s/,end:/$/,returnBegin:!0,contains:[c,u,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},y={variants:[{className:"operator",begin:"(".concat(r,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},O={className:"selector-tag",begin:/@\B/,relevance:0},A={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(a.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},x=[A,d,o,e.NUMBER_MODE,c,u,f,s,l,O],T={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",x,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return A.contains.unshift(T),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:a,contains:x.concat(p,h,b,y,T)}}function VAe(e){const t="([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)",n="([^\\\\:= \\t\\f\\n]|\\\\.)+",r={end:t,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,c
vendor: 5,553 bytes, line 61
61ontains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:"([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]*[:=][ \\t\\f]*"},{begin:"([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]+"}],contains:[{className:"attr",begin:n,endsParent:!0}],starts:r},{className:"attr",begin:"([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]*$"}]}}function HAe(e){const t=e.regex,n={className:"meta",begin:"@[A-Za-z]+"},r={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},a={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,r]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[r],relevance:10}]},i={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},o={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},s={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o]},l={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[o]},c={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},u={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},d=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],f={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,i,l,s,e.C_NUMBER_MODE,c,u,...d,f,n]}}function qAe(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const a={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,a]};a.contains.push(s);const l={match:/\\"/},c={className:"string",begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},f=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),p={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},h=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],b=["true","false"],y={match:/(\/[a-z._-]+)+/},O=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],A=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],x=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],T=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:h,literal:b,built_in:[...O,...A,"set","shopt",...x,...T]},contains:[f,e.SHEBANG(),p,d,i,o,y,s,l,c,u,n]}}function ZAe(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}
vendor: 5,548 bytes, line 61
61),r="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",i="(decltype\\(auto\\)|"+t.optional(a)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(a)+e.IDENT_RE,relevance:0},d=t.optional(a)+e.IDENT_RE+"\\s*\\(",f={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},p=[c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],h={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:f,contains:p.concat([{begin:/\(/,end:/\)/,keywords:f,contains:p.concat(["self"]),relevance:0}]),relevance:0},b={begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:f,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:f,disableAutodetect:!0,illegal:"</",contains:[].concat(h,b,p,[c,{begin:e.IDENT_RE+"::",keywords:f},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:f}}}function XAe(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",i="(?!struct)(decltype\\(auto\\)|"+t.optional(a)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(a)+e.IDENT_RE,relevance:0},d=t.optional(a)+e.IDENT_RE+"\\s*\\(",f=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_
61noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],p=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],h=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],b=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],y={type:p,keyword:f,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:h},O={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},A=[O,c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:A.concat([{begin:/\(/,end:/\)/,keywords:y,contains:A.concat(["self"]),relevance:0}]),relevance:0},T={className:"function",begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:y,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(x,T,O,A,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:y,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:y},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function WAe(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","
61sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:t,literal:["default","false","null","true"]},a=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),i={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},s={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},l=e.inherit(s,{illegal:/\n/}),c={className:"subst",begin:/\{/,end:/\}/,keywords:r},u=e.inherit(c,{illegal:/\n/}),d={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,u]},f={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},c]},p=e.inherit(f,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},u]});c.contains=[f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,e.C_BLOCK_COMMENT_MODE],u.contains=[p,d,l,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const h={variants:[o,f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},b={begin:"<",end:">",contains:[{beginKeywords:"in out"},a]},y=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",O={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:r,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},h,i,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},a,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+y+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:r,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,b],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[h,i,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},O]}}var YAe=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),GAe=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],KAe=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],JAe=[...GAe,...KAe],eTe=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),tTe=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invali
61d","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),nTe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),rTe=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-
61area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function aTe(e){const t=e.regex,n=YAe(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},a="and or not only",i=/@-?\w[\w]*(-\w+)*/,o=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0}
vendor: 4,218 bytes, line 61
61,{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+tTe.join("|")+")"},{begin:":(:)?("+nTe.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+rTe.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:a,attribute:eTe.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+JAe.join("|")+")\\b"}]}}function iTe(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function oTe(e){const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}function sTe(e){const t=e.regex;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function _T(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const a={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[r,i,a,o,n,"self"],relevance:0},l=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,c
vendor: 4,699 bytes, line 61
61ontains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:t.concat(l,"(\\s*\\.\\s*",l,")*",t.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[r,s,i,a,o,n]}}]}}var Jd="[0-9](_*[0-9])*",S1=`\\.(${Jd})`,w1="[0-9a-fA-F](_*[0-9a-fA-F])*",CT={className:"number",variants:[{begin:`(\\b(${Jd})((${S1})|\\.)?|(${S1}))[eE][+-]?(${Jd})[fFdD]?\\b`},{begin:`\\b(${Jd})((${S1})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${S1})[fFdD]?\\b`},{begin:`\\b(${Jd})[fFdD]\\b`},{begin:`\\b0[xX]((${w1})\\.?|(${w1})?\\.(${w1}))[pP][+-]?(${Jd})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${w1})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function kB(e,t,n){return n===-1?"":e.replace(t,r=>kB(e,t,n-1))}function lTe(e){const t=e.regex,n="[Ã-ʸa-zA-Z_$][Ã-ʸa-zA-Z_$0-9]*",r=n+kB("(?:<[Ã-ʸa-zA-Z_$][Ã-ʸa-zA-Z_$0-9]*~~~(?:\\s*,\\s*[Ã-ʸa-zA-Z_$][Ã-ʸa-zA-Z_$0-9]*~~~)*>)?",/~~~/g,2),a={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},i={className:"meta",begin:"@[Ã-ʸa-zA-Z_$][Ã-ʸa-zA-Z_$0-9]*",contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},o={className:"params",begin:/\(/,end:/\)/,keywords:a,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:a,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:a,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:a,relevance:0,contains:[i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,CT,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},CT,i]}}var $T="[A-Za-z$_][0-9A-Za-z$_]*",cTe=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],uTe=["true","false","null","undefined","NaN","Infinity"],AB=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],TB=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],EB=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],dTe=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],fTe=[].concat(EB,AB,TB);function pTe(e){const t=e.regex,n=(ue,{after:Ee})=>{const Te="</"+ue[0].slice(1);return ue.input.indexOf(Te,Ee)!==-1},r=$T,a={begin:"<>",end:"</>"},i=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ue,Ee)=>{const Te=ue[0].length+ue.index,D=ue.input[Te];if(D==="<"||D===","){Ee.ignoreMatch();return}D===">"&&(n(ue,{after:Te})||Ee.ignoreMatch());let oe;const fe=ue.input.substring(Te);if(oe=fe.match(/^\s*=/)){Ee.ignoreMatch();return}
vendor: 10,910 bytes, lines 61-62
61if((oe=fe.match(/^\s+extends\s+/))&&oe.index===0){Ee.ignoreMatch();return}}},s={$pattern:$T,keyword:cTe,literal:uTe,built_in:fTe,"variable.language":dTe},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},f={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"xml"}},h={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"css"}},b={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"graphql"}},y={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},O={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:"[A-Za-z$_][0-9A-Za-z$_]*(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},A=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,b,y,{match:/\$\d+/},d];f.contains=A.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(A)});const x=[].concat(O,f.contains),T=x.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(x)}]),E={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:T},C={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},$={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...AB,...TB]}},R={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},j={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[E],illegal:/%/},U={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Y(ue){return t.concat("(?!",ue.join("|"),")")}const W={match:t.concat(/\b/,Y([...EB,"super","import"].map(ue=>`${ue}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},pe={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ee={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},E]},ae="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",de={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(ae)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[E]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:T,CLASS_REFERENCE:$},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),R,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,b,y,O,{match:/\$\d+/},d,$,{scope:"attr",match:r+t.lookahead(":"),relevance:0},de,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[O,e.REGEXP_MODE,{className:"function",begin:ae,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:T}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:a.begin,end:a.end},{match:i},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},j,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[E,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},pe,{match:"\\$[A-Za-z$_][0-9A-Za-z$_]*",relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[E]},W,U,C,ee,{match:/\$[(.]/}]}}function hTe(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],a={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,a,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var ef="[0-9](_*[0-9])*",x1=`\\.(${ef})`,k1="[0-9a-fA-F](_*[0-9a-fA-F])*",mTe={className:"number",variants:[{begin:`(\\b(${ef})((${x1})|\\.)?|(${x1}))[eE][+-]?(${ef})[fFdD]?\\b`},{begin:`\\b(${ef})((${x1})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${x1})[fFdD]?\\b`},{begin:`\\b(${ef})[fFdD]\\b`},{begin:`\\b0[xX]((${k1})\\.?|(${k1})?\\.(${k1}))[pP][+-]?(${ef})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${k1})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function gTe(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},r={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},a={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},i={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[i,a]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,i,a]}]};a.contains.push(o);const s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:"string"}),"self"]}]},c=mTe,u=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},f=d;return f.variants[1].contains=[d],d.variants[1].contains=[f],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,u,n,r,s,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,l,o,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,l]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` 62`},c]}}var bTe=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),yTe=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],vTe=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],OTe=[...yTe,...vTe],STe=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),_B=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invali
62d","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),CB=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),wTe=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-
62area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),xTe=_B.concat(CB).sort().reverse();function kTe(e){const t=bTe(e),n=xTe,r="and or not only",a="([\\w-]+|@\\{[\\w-]+\\})",i=[],o=[],s=function(A){return{className:"string",begin:"~?"+A+".*?"+A}},l=function(A,x,T){return{className:A,begin:x,relevance:T}}
vendor: 5,694 bytes, line 62
62,c={$pattern:/[a-z-]+/,keyword:r,attribute:STe.join(" ")},u={begin:"\\(",end:"\\)",contains:o,keywords:c,relevance:0};o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s("'"),s('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,u,l("variable","@@?[\\w-]+",10),l("variable","@\\{[\\w-]+\\}"),l("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const d=o.concat({begin:/\{/,end:/\}/,contains:i}),f={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(o)},p={begin:"([\\w-]+|@\\{[\\w-]+\\})\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+wTe.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:o}}]},h={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:c,returnEnd:!0,contains:o,relevance:0}},b={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:d}},y={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:a,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,l("keyword","all\\b"),l("variable","@\\{[\\w-]+\\}"),{begin:"\\b("+OTe.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,l("selector-tag",a,0),l("selector-id","#([\\w-]+|@\\{[\\w-]+\\})"),l("selector-class","\\.([\\w-]+|@\\{[\\w-]+\\})",0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+_B.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+CB.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:"!important"},t.FUNCTION_DISPATCH]},O={begin:`[\\w-]+:(:)?(${n.join("|")})`,returnBegin:!0,contains:[y]};return i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,b,O,p,y,f,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:i}}function ATe(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},a=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[",n,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:a.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:a}].concat(a)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}function TTe(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t,n]},a={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},o={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,r,a,i,o]}}function ETe(e){const t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={begin:"^[-\\*]{3,}",end:"$"},a={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0}
vendor: 30,906 bytes, lines 62-63
62,{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},s={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},l={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},c={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(l,{contains:[]}),d=e.inherit(c,{contains:[]});l.contains.push(d),c.contains.push(u);let f=[n,s];return[l,c,u,d].forEach(p=>{p.contains=p.contains.concat(f)}),f=f.concat(l,c),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:f},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:f}]}]},n,i,l,c,{className:"quote",begin:"^>\\s+",contains:f,end:"$"},a,r,s,o,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function _Te(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,r={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},a={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:r,illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+a.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:a,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function CTe(e){const t=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,a={$pattern:/[\w.]+/,keyword:n.join(" ")},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:a},o={begin:/->\{/,end:/\}/},s={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},l={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},c={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,i,l],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(b,y,O="\\1")=>{const A=O==="\\1"?O:t.concat(O,y);return t.concat(t.concat("(?:",b,")"),y,/(?:\\.|[^\\\/])*?/,A,/(?:\\.|[^\\\/])*?/,O,r)},p=(b,y,O)=>t.concat(t.concat("(?:",b,")"),y,/(?:\\.|[^\\\/])*?/,O,r),h=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:u,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},c,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:f("s|tr|y",t.either(...d,{capture:!0}))},{begin:f("s|tr|y","\\(","\\)")},{begin:f("s|tr|y","\\[","\\]")},{begin:f("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p("(?:m|qr)?",/\//,/\//)},{begin:p("m|qr",t.either(...d,{capture:!0}),/\1/)},{begin:p("m|qr",/\(/,/\)/)},{begin:p("m|qr",/\[/,/\]/)},{begin:p("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,c]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=h,o.contains=h,{name:"Perl",aliases:["pl","pm"],keywords:a,contains:h}}function $Te(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),a=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),i=t.concat(/[A-Z]+/,n),o={scope:"variable",match:"\\$+"+r},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(ee,ae)=>{ae.data._beginMatch=ee[1]||ee[2]},"on:end":(ee,ae)=>{ae.data._beginMatch!==ee[1]&&ae.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[ 63]`,h={scope:"string",variants:[u,c,d,f]},b={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},y=["false","null","true"],O=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],A=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],T={keyword:O,literal:(ee=>{const ae=[];return ee.forEach(de=>{ae.push(de),de.toLowerCase()===de?ae.push(de.toUpperCase()):ae.push(de.toLowerCase())}),ae})(y),built_in:A},E=ee=>ee.map(ae=>ae.replace(/\|\d+$/,"")),C={variants:[{match:[/new/,t.concat(p,"+"),t.concat("(?!",E(A).join("\\b|"),"\\b)"),a],scope:{1:"keyword",4:"title.class"}}]},$=t.concat(r,"\\b(?!\\()"),R={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),$],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[a,t.concat(/::/,t.lookahead(/(?!class\b)/)),$],scope:{1:"title.class",3:"variable.constant"}},{match:[a,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[a,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},j={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},U={relevance:0,begin:/\(/,end:/\)/,keywords:T,contains:[j,o,R,e.C_BLOCK_COMMENT_MODE,h,b,C]},Y={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",E(O).join("\\b|"),"|",E(A).join("\\b|"),"\\b)"),r,t.concat(p,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[U]};U.contains.push(Y);const W=[j,R,e.C_BLOCK_COMMENT_MODE,h,b,C],pe={begin:t.concat(/#\[\s*\\?/,t.either(a,i)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:y,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:y,keyword:["new","array"]},contains:["self",...W]},...W,{scope:"meta",variants:[{match:a},{match:i}]}]};return{case_insensitive:!1,keywords:T,contains:[pe,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},o,Y,R,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},C,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:T,contains:["self",pe,o,R,e.C_BLOCK_COMMENT_MODE,h,b]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},h,b]}}function PTe(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function $B(e){const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},i={className:"meta",begin:/^(>>>|\.\.\.) /},o={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,f={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`}]},p={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},h={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",i,f,l,e.HASH_COMMENT_MODE]}]};return o.contains=[l,f,i],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[i,f,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[h]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,h,l]}]}}function ITe(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),a=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[a,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[i,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:a},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function NTe(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),a=t.concat(r,/(::\w+)*/),i={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},o={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[o]}),e.COMMENT("^=begin","^=end",{contains:[o],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:i},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[1-9](_?[0-9])*|0",f="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:`\\b(${d})(\\.(${f}))?([eE][+-]?(${f})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},h={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:i}]},b=[u,{variants:[{match:[/class\s+/,a,/\s+<\s+/,a]},{match:[/\b(class|module)\s+/,a]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},{match:[/(include|extend)\s+/,a],scope:{2:"title.class"},keywords:i},{relevance:0,match:[a,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[h]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);c.contains=b,h.contains=b;const y=[{begin:/^\s*=>/,starts:{end:"$",contains:b}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:i,contains:b}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(y).concat(l).concat(b)}}function RTe(e){const t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),a=t.concat(n,e.IDENT_RE),i={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,a,t.lookahead(/\s*\(/))},o=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],s=["true","false","Some","None","Ok","Err"],l=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],c=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:c,keyword:o,literal:s,built_in:l},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{begin:"\\b0o([0-7_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{begin:"\\b0x([A-Fa-f0-9_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)([ui](8|16|32|64|128|size)|f(32|64))?"}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:l,type:c}},{className:"punctuation",begin:"->"},i]}}var MTe=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),LTe=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],DTe=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],BTe=[...LTe,...DTe],UTe=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),jTe=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invali
63d","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),QTe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),FTe=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-
63area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function zTe(e){const t=MTe(e),n=QTe,r=jTe,a="@[a-z-]+",i="and or not only",o={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0}
vendor: 1,113 bytes, line 63
63,{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+BTe.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},o,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+FTe.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inl
63ine-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,o,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:a,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:UTe.join(" ")},contains:[{begin:a,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},o,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function VTe(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function HTe(e){const t=e.regex,n=e.COMMENT("--","$"),r={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},a={begin:/"/,end:/"/,contains:[{match:/""/}]},i=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],s=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],l=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","ver
63sioning","when","whenever","where","width_bucket","window","with","within","without","year"],u=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],d=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],f=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],p=u,h=[...c,...l].filter(E=>!u.includes(E)),b={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},y={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},O={match:t.concat(/\b/,t.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function A(E){return t.concat(/\b/,t.either(...E.map(C=>C.replace(/\s+/,"\\s+"))),/\b/)}const x={scope:"keyword",match:A(f),relevance:0};function T(E,{exceptions:C,when:$}={}){const R=$;return C=C||[],E.map(j=>j.match(/\|\d+$/)||C.includes(j)?j:R(j)?`${j}|0`:j)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:T(h,{when:E=>E.length<3}),literal:i,type:s,built_in:d},contains:[{scope:"type",match:A(o)},x,O,b,r,a,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,y]}}function PB(e){return e?typeof e=="string"?e:e.source:null}function mh(e){return Un("(?=",e,")")}function Un(...e){return e.map(t=>PB(t)).join("")}function qTe(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function qa(...e){return"("+(qTe(e).capture?"":"?:")+e.map(t=>PB(t)).join("|")+")"}var n6=e=>Un(/\b/,e,/\w$/.test(e)?/\b/:/\B/),ZTe=["Protocol","Type"].map(n6),PT=["init","self"].map(n6),XTe=["Any","Self"],EO=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],IT=["false","nil","true"],WTe=["assignment","associativity","higherThan","left","lowerThan","none","right"],YTe=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],NT=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","
vendor: 5,310 bytes, line 63
63withoutActuallyEscaping","zip"],IB=qa(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),NB=qa(IB,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),_O=Un(IB,NB,"*"),RB=qa(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),x2=qa(RB,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),$s=Un(RB,x2,"*"),A1=Un(/[A-Z]/,x2,"*"),GTe=["attached","autoclosure",Un(/convention\(/,qa("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Un(/objc\(/,$s,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],KTe=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function JTe(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],a={match:[/\./,qa(...ZTe,...PT)],className:{2:"keyword"}},i={match:Un(/\./,qa(...EO)),relevance:0},o=EO.filter(te=>typeof te=="string").concat(["_|0"]),s={variants:[{className:"keyword",match:qa(...EO.filter(te=>typeof te!="string").concat(XTe).map(n6),...PT)}]},l={$pattern:qa(/\b\w+/,/#\w+/),keyword:o.concat(YTe),literal:IT},c=[a,i,s],u=[{match:Un(/\./,qa(...NT)),relevance:0},{className:"built_in",match:Un(/\b/,qa(...NT),/(?=\()/)}],d={match:/->/,relevance:0},f=[d,{className:"operator",relevance:0,variants:[{match:_O},{match:`\\.(\\.|${NB})+`}]}],p="([0-9]_*)+",h="([0-9a-fA-F]_*)+",b={className:"number",relevance:0,variants:[{match:`\\b(${p})(\\.(${p}))?([eE][+-]?(${p}))?\\b`},{match:`\\b0x(${h})(\\.(${h}))?([pP][+-]?(${p}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},y=(te="")=>({className:"subst",variants:[{match:Un(/\\/,te,/[0\\tnr"']/)},{match:Un(/\\/,te,/u\{[0-9a-fA-F]{1,8}\}/)}]}),O=(te="")=>({className:"subst",match:Un(/\\/,te,/[\t ]*(?:[\r\n]|\r\n)/)}),A=(te="")=>({className:"subst",label:"interpol",begin:Un(/\\/,te,/\(/),end:/\)/}),x=(te="")=>({begin:Un(te,/"""/),end:Un(/"""/,te),contains:[y(te),O(te),A(te)]}),T=(te="")=>({begin:Un(te,/"/),end:Un(/"/,te),contains:[y(te),A(te)]}),E={className:"string",variants:[x(),x("#"),x("##"),x("###"),T(),T("#"),T("##"),T("###")]},C=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],$={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:C},R=te=>{const Oe=Un(te,/\//),Et=Un(/\//,te);return{begin:Oe,end:Et,contains:[...C,{scope:"comment",begin:`#(?!.*${Et})`,end:/$/}]}},j={scope:"regexp",variants:[R("###"),R("##"),R("#"),$]},U={match:Un(/`/,$s,/`/)},Y=[U,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${x2}+`}],W=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:KTe,contains:[...f,b,E]}]}},{scope:"keyword",match:Un(/@/,qa(...GTe),mh(qa(/\(/,/\s+/)))},{scope:"meta",match:Un(/@/,$s)}],pe={match:mh(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:Un(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,x2,"+")},{className:"type",match:A1,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:Un(/\s+&\s+/,mh(A1)),relevance:0}]},ee={begin:/</,end:/>/,keywords:l,contains:[...r,...c,...W,d,pe]};pe.contains.push(ee);const ae={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:Un($s,/\s*:/),keywords:"_|0",relevance:0},...r,j,...c,...u,...f,b,E,...Y,...W,pe]},de={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,pe]},ue={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:qa(mh(Un($s,/\s*:/)),mh(Un($s,/\s+/,$s,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:$s}]},...r,...c,...f,b,E,...W,pe,ae],endsParent:!0,illegal:/["']/},Ee={match:[/(func|macro)/,/\s+/,qa(U.match,$s,_O)],className:{1:"keyword",3:"title.function"},contains:[de,ue,t],illegal:[/\[/,/%/]},Te={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[de,ue,t],illegal:/\[|%/},D={match:[/operator/,/\s+/,_O],className:{1:"keyword",3:"title"}},oe={begin:[/precedencegroup/,/\s+/,A1],className:{1:"keyword",3:"title"},contains:[pe],keywords:[...WTe,...IT],end:/}/},fe={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/
vendor: 5,637 bytes, line 63
63],scope:{1:"keyword",3:"keyword",5:"title.function"}},z={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},mt={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,$s,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:l,contains:[de,...c,{begin:/:/,end:/\{/,keywords:l,contains:[{scope:"title.class.inherited",match:A1},...c],relevance:0}]};for(const te of E.variants){const Oe=te.contains.find(Pt=>Pt.label==="interpol");Oe.keywords=l;const Et=[...c,...u,...f,b,E,...Y];Oe.contains=[...Et,{begin:/\(/,end:/\)/,contains:["self",...Et]}]}return{name:"Swift",keywords:l,contains:[...r,Ee,Te,fe,z,mt,D,oe,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},j,...c,...u,...f,b,E,...Y,...W,pe,ae]}}var k2="[A-Za-z$_][0-9A-Za-z$_]*",MB=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],LB=["true","false","null","undefined","NaN","Infinity"],DB=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],BB=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],UB=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],jB=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],QB=[].concat(UB,DB,BB);function eEe(e){const t=e.regex,n=(ue,{after:Ee})=>{const Te="</"+ue[0].slice(1);return ue.input.indexOf(Te,Ee)!==-1},r=k2,a={begin:"<>",end:"</>"},i=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ue,Ee)=>{const Te=ue[0].length+ue.index,D=ue.input[Te];if(D==="<"||D===","){Ee.ignoreMatch();return}D===">"&&(n(ue,{after:Te})||Ee.ignoreMatch());let oe;const fe=ue.input.substring(Te);if(oe=fe.match(/^\s*=/)){Ee.ignoreMatch();return}if((oe=fe.match(/^\s+extends\s+/))&&oe.index===0){Ee.ignoreMatch();return}}},s={$pattern:k2,keyword:MB,literal:LB,built_in:QB,"variable.language":jB},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},f={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"xml"}},h={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"css"}},b={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"graphql"}},y={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},O={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:"[A-Za-z$_][0-9A-Za-z$_]*(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},A=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,b,y,{match:/\$\d+/},d];f.contains=A.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(A)});const x=[].concat(O,f.contains),T=x.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(x)}]),E={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:T},C={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},$={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...DB,...BB]}},R={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},j={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[E],illegal:/%/},U={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Y(ue){return t.concat("(?!",ue.join("|"),")")}const W={match:t.concat(/\b/,Y([...UB,"super","import"].map(ue=>`${ue}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},pe={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ee={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},E]}
vendor: 6,094 bytes, line 63
63,ae="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",de={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(ae)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[E]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:T,CLASS_REFERENCE:$},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),R,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,b,y,O,{match:/\$\d+/},d,$,{scope:"attr",match:r+t.lookahead(":"),relevance:0},de,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[O,e.REGEXP_MODE,{className:"function",begin:ae,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:T}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:a.begin,end:a.end},{match:i},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},j,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[E,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},pe,{match:"\\$[A-Za-z$_][0-9A-Za-z$_]*",relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[E]},W,U,C,ee,{match:/\$[(.]/}]}}function tEe(e){const t=e.regex,n=eEe(e),r=k2,a=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:a},contains:[n.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},l={$pattern:k2,keyword:MB.concat(["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"]),literal:LB,built_in:QB.concat(a),"variable.language":jB},c={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},u=(h,b,y)=>{const O=h.contains.findIndex(A=>A.label===b);if(O===-1)throw new Error("can not find mode to replace");h.contains.splice(O,1,y)};Object.assign(n.keywords,l),n.exports.PARAMS_CONTAINS.push(c);const d=n.contains.find(h=>h.scope==="attr"),f=Object.assign({},d,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,d,f]),n.contains=n.contains.concat([c,i,o,f]),u(n,"shebang",e.SHEBANG()),u(n,"use_strict",s);const p=n.contains.find(h=>h.label==="func.def");return p.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}function RT(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,a={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(i,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:"string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[a]},{begin:/'/,end:/'/,contains:[a]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[i,l,s,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[i,o,l,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},a,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:c}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function nEe(e){const t="true false yes no null",n={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},i={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},o=e.inherit(i,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),s={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},l={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},c={begin:/\{/,end:/\}/,contains:[l],illegal:"\\n",relevance:0},u={begin:"\\[",end:"\\]",contains:[l],illegal:"\\n",relevance:0},d=[n,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0}
63,{className:"type",begin:"!\\w+![\\w#;/?:@&=+$,.~*'()[\\]]+"},{className:"type",begin:"!<[\\w#;/?:@&=+$,.~*'()[\\]]+>"},{className:"type",begin:"![\\w#;/?:@&=+$,.~*'()[\\]]+"},{className:"type",begin:"!![\\w#;/?:@&=+$,.~*'()[\\]]+"},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},s,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},c,u,a,i],f=[...d];return f.pop(),f.push(o),l.contains=f,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:d}}var rEe=e=>{const t=$B(e),{regex:n}=e,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),a=t.keywords,i=[...a.keyword??[],...a.built_in??[],...a.literal??[],...a.type??[]].map(l=>l.replace(/\|\d+$/,"")),o=n.concat("(?!(?:",i.join("|"),")\\b)"),s={scope:"title.function",relevance:0,match:n.concat(/\b/,o,r,n.lookahead(/\s*\(/))};return{...t,contains:[...t.contains??[],s]}},aEe=e=>{const t={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},n={className:"literal",begin:/(--request|-X)\s/,contains:[{className:"symbol",begin:/(get|post|delete|options|head|put|patch|trace|connect)/,end:/\s/,returnEnd:!0}],returnEnd:!0,relevance:10},r={className:"literal",begin:/--/,end:/[\s"]/,returnEnd:!0,relevance:0},a={className:"literal",begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},i={className:"string",begin:/\\"/,relevance:0},o={className:"string",begin:/'/,end:/'/,relevance:0},s={className:"number",variants:[{begin:e.C_NUMBER_RE}],relevance:0};return{name:"curl",aliases:["curl"],keywords:"curl",case_insensitive:!0,contains:[n,r,a,t,i,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,{match:/(\/[a-z._-]+)+/}]}},iEe=e=>{const t=$B(e),{regex:n}=e,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),a=t.keywords,i=["fn","struct","trait","var","let","alias","comptime","owned","borrowed","inout","ref","mut","read","out","raises","capturing"],o=["Int","UInt","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float16","Float32","Float64","Bool","String","StringLiteral","StringSlice","SIMD","DType","Scalar","List","Dict","Set","Tuple","Optional","Variant","Span","Pointer","UnsafePointer","Reference","Error"],s=(...f)=>Array.from(new Set(f.flat())),l={...a,keyword:s(a.keyword??[],i),type:s(a.type??[],o)},c=[...l.keyword??[],...a.built_in??[],...a.literal??[],...l.type??[]].map(f=>f.replace(/\|\d+$/,"")),u=n.concat("(?!(?:",c.join("|"),")\\b)"),d={scope:"title.function",relevance:0,match:n.concat(/\b/,u,r,n.lookahead(/\(/))};return{...t,name:"Mojo",aliases:["mojo","ð¥"],keywords:l,contains:[...t.contains??[],d]}},FB={bash:qAe,c:ZAe,clojure:PAe,cpp:XAe,csharp:WAe,css:aTe,curl:aEe,dart:IAe,diff:iTe,docker:ET,dockerfile:ET,elixir:NAe,fsharp:LAe,go:oTe,graphql:sTe,haskell:DAe,html:RT,http:BAe,ini:_T,java:lTe,javascript:pTe,json:hTe,julia:UAe,kotlin:gTe,less:kTe,lua:ATe,makefile:TTe,markdown:ETe,matlab:jAe,mojo:iEe,nginx:QAe,objectivec:_Te,ocaml:FAe,perl:CTe,php:$Te,plaintext:PTe,powershell:zAe,properties:VAe,python:rEe,r:ITe,ruby:NTe,rust:RTe,scala:HAe,scss:zTe,shell:VTe,sql:HTe,swift:JTe,toml:_T,typescript:tEe,xml:RT,yaml:nEe},_0=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};_0.prototype.normal={};_0.prototype.property={};_0.prototype.space=void 0;function zB(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new _0(n,r,t)}function Em(e){return e.toLowerCase()}var Ti=class{constructor(e,t){this.attribute=t,this.property=e}};Ti.prototype.attribute="";Ti.prototype.booleanish=!1;Ti.prototype.boolean=!1;Ti.prototype.commaOrSpaceSeparated=!1;Ti.prototype.commaSeparated=!1;Ti.prototype.defined=!1;Ti.prototype.mustUseProperty=!1;Ti.prototype.number=!1;Ti.prototype.overloadedBoolean=!1;Ti.prototype.property="";Ti.prototype.spaceSeparated=!1;Ti.prototype.space=void 0;var dw=pB({boolean:()=>Ht,booleanish:()=>Lr,commaOrSpaceSeparated:()=>Ni,commaSeparated:()=>xf,number:()=>Me,overloadedBoolean:()=>fw,spaceSeparated:()=>Xn}),oEe=0,Ht=_d(),Lr=_d(),fw=_d(),Me=_d(),Xn=_d(),xf=_d(),Ni=_d();function _d(){return 2**++oEe}var CO=Object.keys(dw),r6=class extends Ti{constructor(e,t,n,r){let a=-1;if(super(e,t),MT(this,"space",r),typeof n=="number")for(;++a<CO.length;){const i=CO[a];MT(this,CO[a],(n&dw[i])===dw[i])}}};r6.prototype.defined=!0;function MT(e,t,n){n&&(e[t]=n)}function Np(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const i=new r6(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Em(r)]=r,n[Em(i.attribute)]=r}return new _0(t,n,e.space)}
vendor: 4,174 bytes, line 63
63var VB=Np({properties:{ariaActiveDescendant:null,ariaAtomic:Lr,ariaAutoComplete:null,ariaBusy:Lr,ariaChecked:Lr,ariaColCount:Me,ariaColIndex:Me,ariaColSpan:Me,ariaControls:Xn,ariaCurrent:null,ariaDescribedBy:Xn,ariaDetails:null,ariaDisabled:Lr,ariaDropEffect:Xn,ariaErrorMessage:null,ariaExpanded:Lr,ariaFlowTo:Xn,ariaGrabbed:Lr,ariaHasPopup:null,ariaHidden:Lr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xn,ariaLevel:Me,ariaLive:null,ariaModal:Lr,ariaMultiLine:Lr,ariaMultiSelectable:Lr,ariaOrientation:null,ariaOwns:Xn,ariaPlaceholder:null,ariaPosInSet:Me,ariaPressed:Lr,ariaReadOnly:Lr,ariaRelevant:null,ariaRequired:Lr,ariaRoleDescription:Xn,ariaRowCount:Me,ariaRowIndex:Me,ariaRowSpan:Me,ariaSelected:Lr,ariaSetSize:Me,ariaSort:null,ariaValueMax:Me,ariaValueMin:Me,ariaValueNow:Me,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function HB(e,t){return t in e?e[t]:t}function qB(e,t){return HB(e,t.toLowerCase())}var sEe=Np({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:xf,acceptCharset:Xn,accessKey:Xn,action:null,allow:null,allowFullScreen:Ht,allowPaymentRequest:Ht,allowUserMedia:Ht,alt:null,as:null,async:Ht,autoCapitalize:null,autoComplete:Xn,autoFocus:Ht,autoPlay:Ht,blocking:Xn,capture:null,charSet:null,checked:Ht,cite:null,className:Xn,cols:Me,colSpan:null,content:null,contentEditable:Lr,controls:Ht,controlsList:Xn,coords:Me|xf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ht,defer:Ht,dir:null,dirName:null,disabled:Ht,download:fw,draggable:Lr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ht,formTarget:null,headers:Xn,height:Me,hidden:fw,high:Me,href:null,hrefLang:null,htmlFor:Xn,httpEquiv:Xn,id:null,imageSizes:null,imageSrcSet:null,inert:Ht,inputMode:null,integrity:null,is:null,isMap:Ht,itemId:null,itemProp:Xn,itemRef:Xn,itemScope:Ht,itemType:Xn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ht,low:Me,manifest:null,max:null,maxLength:Me,media:null,method:null,min:null,minLength:Me,multiple:Ht,muted:Ht,name:null,nonce:null,noModule:Ht,noValidate:Ht,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ht,optimum:Me,pattern:null,ping:Xn,placeholder:null,playsInline:Ht,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ht,referrerPolicy:null,rel:Xn,required:Ht,reversed:Ht,rows:Me,rowSpan:Me,sandbox:Xn,scope:null,scoped:Ht,seamless:Ht,selected:Ht,shadowRootClonable:Ht,shadowRootDelegatesFocus:Ht,shadowRootMode:null,shape:null,size:Me,sizes:null,slot:null,span:Me,spellCheck:Lr,src:null,
63srcDoc:null,srcLang:null,srcSet:null,start:Me,step:null,style:null,tabIndex:Me,target:null,title:null,translate:null,type:null,typeMustMatch:Ht,useMap:null,value:Lr,width:Me,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xn,axis:null,background:null,bgColor:null,border:Me,borderColor:null,bottomMargin:Me,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ht,declare:Ht,event:null,face:null,frame:null,frameBorder:null,hSpace:Me,leftMargin:Me,link:null,longDesc:null,lowSrc:null,marginHeight:Me,marginWidth:Me,noResize:Ht,noHref:Ht,noShade:Ht,noWrap:Ht,object:null,profile:null,prompt:null,rev:null,rightMargin:Me,rules:null,scheme:null,scrolling:Lr,standby:null,summary:null,text:null,topMargin:Me,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Me,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ht,disableRemotePlayback:Ht,prefix:null,property:null,results:Me,security:null,unselectable:null},space:"html",transform:qB}),lEe=Np({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
63-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ni,accentHeight:Me,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Me,amplitude:Me,arabicForm:null,ascent:Me,attributeName:null,attributeType:null,azimuth:Me,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Me,by:null,calcMode:null,capHeight:Me,className:Xn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Me,diffuseConstant:Me,direction:null,display:null,dur:null,divisor:Me,dominantBaseline:null,download:Ht,dx:null,dy:null,edgeMode:null,editable:null,elevation:Me,enableBackground:null,end:null,event:null,exponent:Me,externalResourcesRequired:null,fill:null,fillOpacity:Me,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:xf,g2:xf,glyphName:xf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Me,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Me,horizOriginX:Me,horizOriginY:Me,id:null,ideographic:Me,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Me,k:Me,k1:Me,k2:Me,k3:Me,k4:
63Me,kernelMatrix:Ni,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Me,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Me,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Me,overlineThickness:Me,paintOrder:null,panose1:null,path:null,pathLength:Me,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Me,pointsAtY:Me,pointsAtZ:Me,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ni,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ni,rev:Ni,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ni,requiredFeatures:Ni,requiredFonts:Ni,requiredFormats:Ni,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Me,specularExponent:Me,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Me,strikethroughThickness:Me,string:null,stroke:null,strokeDashArray:Ni,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Me,strokeOpacity:Me,strokeWidth:null,style:null,surfaceScale:Me,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ni,tabIndex:Me,tableValues:null,target:null,targetX:Me,targetY:Me,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ni,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Me,underlineThickness:Me,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Me,values:null,vAlphabetic:Me,vMathematical:Me,vectorEffect:null,vHanging:Me,vIdeographic:Me,version:null,vertAdvY:Me,vertOriginX:Me,vertOriginY:Me,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Me,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:HB}),ZB=Np({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
63,space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),XB=Np({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:qB}),WB=Np({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),cEe=/[A-Z]/g,LT=/-[a-z]/g,uEe=/^data[-\w.:]+$/i;function Qy(e,t){const n=Em(t);let r=t,a=Ti;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&uEe.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(LT,fEe);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!LT.test(i)){let o=i.replace(cEe,dEe);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=r6}return new a(r,t)}function dEe(e){return"-"+e.toLowerCase()}function fEe(e){return e.charAt(1).toUpperCase()}var C0=zB([VB,sEe,ZB,XB,WB],"html"),Cd=zB([VB,lEe,ZB,XB,WB],"svg");function DT(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const o=n.slice(a,r).trim();(o||!i)&&t.push(o),a=r+1,r=n.indexOf(",",a)}return t}function YB(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var BT=/[#.]/g;function pEe(e,t){const n=e||"",r={};let a=0,i,o;for(;a<n.length;){BT.lastIndex=a;const s=BT.exec(n),l=n.slice(a,s?s.index:n.length);l&&(i?i==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:o=l,a+=l.length),s&&(i=s[0],a++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}function pw(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function GB(e){return e.join(" ").trim()}var hEe=new Set(["button","menu","reset","submit"]),hw={}.hasOwnProperty;function KB(e,t,n){const r=n&&yEe(n);function a(i,o,...s){let l=-1,c;if(i==null){c={type:"root",children:[]};const u=o;s.unshift(u)}else if(c=pEe(i,t),c.tagName=c.tagName.toLowerCase(),r&&hw.call(r,c.tagName)&&(c.tagName=r[c.tagName]),mEe(o,c.tagName)){let u;for(u in o)hw.call(o,u)&&gEe(e,c.properties,u,o[u])}else s.unshift(o);for(;++l<s.length;)mw(c.children,s[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return a}function mEe(e,t){return e==null||typeof e!="object"||Array.isArray(e)?!1:t==="input"||!e.type||typeof e.type!="string"?!0:"children"in e&&Array.isArray(e.children)?!1:t==="button"?hEe.has(e.type.toLowerCase()):!("value"in e)}function gEe(e,t,n,r){const a=Qy(e,n);let i=-1,o;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;o=r}else typeof r=="boolean"?o=r:typeof r=="string"?a.spaceSeparated?o=pw(r):a.commaSeparated?o=DT(r):a.commaOrSpaceSeparated?o=pw(DT(r).join(" ")):o=UT(a,a.property,r):Array.isArray(r)?o=r.concat():o=a.property==="style"?bEe(r):String(r);if(Array.isArray(o)){const s=[];for(;++i<o.length;)s[i]=UT(a,a.property,o[i]);o=s}if(a.property==="className"&&Array.isArray(t.className)){const s=o;o=t.className.concat(s)}t[a.property]=o}}function mw(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)mw(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?mw(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function UT(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Em(n)===Em(t)))return!0}return n}function bEe(e){const t=[];let n;for(n in e)hw.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function yEe(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}var vEe=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],OEe=KB(C0,"div"),SEe=KB(Cd,"g",vEe),$O=/\r?\n|\r/g;function wEe(e){const t=String(e),n=[];for($O.lastIndex=0;$O.test(t);)n.push($O.lastIndex);return n.push(t.length+1),{toPoint:r,toOffset:a};function r(i){let o=-1;if(typeof i=="number"&&i>-1&&i<n[n.length-1]){for(;++o<n.length;)if(n[o]>i)return{line:o+1,column:i-(o>0?n[o-1]:0)+1,offset:i}}}function a(i){const o=i&&i.line,s=i&&i.column;if(typeof o=="number"&&typeof s=="number"&&!Number.isNaN(o)&&!Number.isNaN(s)&&o-1 in n){const l=(n[o-2]||
vendor: 10,748 bytes, line 63
630)+s-1||0;if(l>-1&&l<n[n.length-1])return l}}}var Ru={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},JB={}.hasOwnProperty,xEe=Object.prototype;function eU(e,t){const n=t||{};return a6({file:n.file||void 0,location:!1,schema:n.space==="svg"?Cd:C0,verbose:n.verbose||!1},e)}function a6(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Eg(e,r,n),n}case"#document":case"#document-fragment":{const r=t,a="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:tU(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),o=wEe(i),s=o.toPoint(0),l=o.toPoint(i.length);n.position={start:s,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Eg(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Eg(e,r,n),n}default:return n=kEe(e,t),n}}function tU(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=a6(e,t[n]);r.push(a)}return r}function kEe(e,t){const n=e.schema;e.schema=t.namespaceURI===Ru.svg?Cd:C0;let r=-1;const a={};for(;++r<t.attrs.length;){const o=t.attrs[r],s=(o.prefix?o.prefix+":":"")+o.name;JB.call(xEe,s)||(a[s]=o.value)}const i=(e.schema.space==="svg"?SEe:OEe)(t.tagName,a,tU(e,t.childNodes));if(Eg(e,t,i),i.tagName==="template"){const o=t,s=o.sourceCodeLocation,l=s&&s.startTag&&sf(s.startTag),c=s&&s.endTag&&sf(s.endTag),u=a6(e,o.content);l&&c&&e.file&&(u.position={start:l.end,end:c.start}),i.content=u}return e.schema=n,i}function Eg(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=AEe(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function AEe(e,t,n){const r=sf(n);if(t.type==="element"){const a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){const i={};let o;if(n.attrs)for(o in n.attrs)JB.call(n.attrs,o)&&(i[Qy(e.schema,o).property]=sf(n.attrs[o]));n.startTag;const s=sf(n.startTag),l=n.endTag?sf(n.endTag):void 0,c={opening:s};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return r}function sf(e){const t=jT({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=jT({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function jT(e){return e.line&&e.column?e:void 0}var TEe=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),F;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(F||(F={}));var ai={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function nU(e){return e>=55296&&e<=57343}function EEe(e){return e>=56320&&e<=57343}function _Ee(e,t){return(e-55296)*1024+9216+t}function rU(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function aU(e){return e>=64976&&e<=65007||TEe.has(e)}var be;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(be||(be={}));var CEe=65536,$Ee=class{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=CEe,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){const{line:n,col:r,offset:a}=this,i=r+t,o=a+t;return{code:e,startLine:n,endLine:n,startCol:i,endCol:i,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(EEe(t))return this.pos++,this._addGap(),_Ee(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,F.EOF;return this._err(be.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let n=0;n<e.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==e.charCodeAt(n))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,F.EOF;const n=this.html.charCodeAt(t);return n===F.CARRIAGE_RETURN?F.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,F.EOF;let e=this.html.charCodeAt(this.pos);return e===F.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,F.LINE_FEED):e===F.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,nU(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===F.LINE_FEED||e===F.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){rU(e)?this._err(be.controlCharacterInInputStream):aU(e)&&this._err(be.nonch
63aracterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}},Gt;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(Gt||(Gt={}));function iU(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}var PEe=new Uint16Array('
vendor: 16,129 bytes, line 63
63áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms�¦³¹ÃÃligè»ÃäPè»&ä¦cuteè»Ãäreve;äÄiyx}rcè»Ãä;är;ìðraveè»Ãäpha;äacr;äd;æ©Ägp¡on;äf;ìð¸plyFunction;æ¡ingè»Ã
ä
Äcs¾Ãr;ìðign;æildeè»Ãämlè»ÃäÐaceforsuåûþÄÄĢħĪÄcrêòkslash;æÅ¶Ã¶Ã¸;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ìð
pf;ìð¹eve;äcòÄmpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»Â©ä©ÆcpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»Ãärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·Ã²Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ìðpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ìðÄaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ìð»Æ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»ÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æeÃ¥ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ìðrok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»Ãäcuteè»ÃäÆaiyÓÓÓron;ärcè»Ãä;äot;är;ìðraveè»Ãäement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ìð¼silon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»ÃäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ìðlledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ìð½All;æriertrf;æ±cÃ²×ØJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ìð;æpf;ìð¾eaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ìð¢;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
òکrok;ä¦mpÅÛÛownHumðįqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»ÃäÄiyÜÜrcè»Ãä;äot;ä°r;æraveè»ÃäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lieóÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ìða;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»ÃäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ìðpf;ìðÇ£ß\0ßr;ìð¥rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ìðpf;ìðcr;ìð¦ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ightáÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ìðÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ightáοightáÏf;ìðerÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©Ã²à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ìðnusPlus;æpf;ìðcò੶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«Ã«à«eryThiîà«tedÄGL૸à¬reaterGreateòٳessLesóà©Line;är;ìðÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ìð©ildeè»Ãä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»ÃäÄiyà·à·rcè»Ãä;äblac;ä
r;ìðraveè»ÃäÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ìðenCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ìðªashè»ÃäiŬื฼deè»Ãäes;樷mlè»ÃäerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ìði;ä¦;ä usMinus;ä±ÄipຢàºncareplanÃ¥Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ìð«;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ìðpf;æcr;ìð¬ØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»Â®ä®Æcnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r»ཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ìðortÈDLRUáªá´á¾á
ownArrow»ÐeftArrow»à¢ightArrow»à¿pArrow;ægma;ä£allCircle;æpf;ìðɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ìð®ar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Tháà¾;æÆ;esááá£ærsetÄ;Eááæqual;æet»áÖHRSacfhiorsá¾ááááá±á¶ááááORNè»ÃäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ìðÄeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ìðipleDot;æÄctáár;ìð¯rok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»ÃärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»Ãä;ä£blac;ä
°r;ìðraveè»Ãäacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ìðÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥ownáϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ìð°ilde;ä
¨mlè»ÃäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ìðpf;ìðcr;ìð±dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ìðpf;ìðcr;ìð²Èfiosáááár;ìð;äpf;ìðcr;ìð³ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»ÃäÄiyáárc;ä
¶;ä«r;ìðpf;ìðcr;ìð´ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidtèà«a;är;æ¨pf;æ¤cr;ìðµà¯¡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»Ã¡ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»Ã¢ä¢teè»Â´Ì;ä°ligè»Ã¦ä¦Ä;r²áº;ìðraveè»Ã ä ÄepááÄfpáásym;æµÃ¨áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e»ásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢Â»Â¹arr;æ¼Ägpá£á§on;ä
f;ìðÎ;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eááñáingè»Ã¥ä¥Æctyá¡á¦á¨r;ìð¶;äªmpÄ;eáá¯Ã±Êildeè»Ã£ä£mlè»Ã¤ä¤Äciááoninôɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e»árkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰séánoÃµÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ìðgÎcostuvwááá³ááááÆaiuáááÃ°Ý rc;æ¯pÂ»á±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨eÃ¥áÃ¥áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ìðÄ;táá¡£om»átie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»Â¦ä¦Èceioá¥á¥á¥á¥ r;ìð·mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t»᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æÃ®ÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;ädilè»Ã§ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»Â¸Æptyv;榲tè¢;eá¨á¨®ä¢räƲr;ìð Æceiᨽá©á©y;äckÄ;má©á©æark»á©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáªÂ»à½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it»᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;qÃÃÉá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æÃ®á
eÄmx᫱᫶ent»᫩eóÉǧ᫾\0á¬Ä;dá»á¬ot;æ©nÃ´ÉÆfryá¬á¬á¬;ìðoäÉè©;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ìð¸ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯reãá³uãáµee;æedge;æenè»Â¤ä¤earrowÄlrᯮ᯳eft»á®ight»ᮽeäá¯Äciá°á°oninôǷnt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·ròÎar;楥Èglrsá±á±á±á±ger;æ eth;æ¸Ã²á³hÄ;vá±á±æÂ»à¤Å«á±¡á±§arow;æ¤aãÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»Â°ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ìð¡arÄlrᲳᲵ»à£Â»áÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè÷;oá³§á³°ntimes;ænø᳷cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ìðÊ;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedgåúnÆadhá®áµáµ§ownarrowóá²arpoonÄlrᵲᵶefôᲴighôᲶŢᵿá¶
karo÷à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ìð¹;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·ròЩaòྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´oôá²Äcsá¸á¸uteè»Ã©ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»Ãªäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ìð¢Æ;rsá¹á¹á¹æªaveè»Ã¨ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et»áºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ìðÆalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon»á»;äµÈcsuvỪỳá¼á¼£Äioữḱrc»Ḯɩỹ\0\0á»»ÃÕantÄglá¼á¼tr»á¹ess»ṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯oôÍÄahá½á½;ä·è»Ã°ä°Ämrá½á½lè»Ã«ä«o;æ¬Æcipὡὤὧl;ä¡sôծÄeoὬὴctatioîÕnentialåչৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotseñá¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ìð£lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ìðÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»Â½ä½;æ
è»Â¼ä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»Â¾ä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ìð»à¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlanô٥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ìð¤Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox»â¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ìðÄciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âproøâr;楸qÄlqØ¿âlesóâiÃÙ«Äenâ£ârtneqq;ìâ©ï¸Ã
âªÔAabcefkosyâââ±âµâºâââ¯â¨â½ròΠÈilmrâââârsðáf»â¤ilôکÄdrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it»âlip;æ¦con;æ¹r;ìð¥sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ìðbar;æÆcltâ¯â´â¸r;ìð½asèâ´rok;ä§Äbpââull;æhen»á±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»ÃäÆ;iyݱâ°âµrcè»Ã®ä®;ä¸Äcxâ¼â¿y;äµclè»Â¡ä¡ÄfrÎâ;ìð¦raveè»Ã¬ä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââinÃ¥ÞarÃ´Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§doôâÊ;celpÝââââ¡al;æºÄgrââeróá£Ã£âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ìða;ä¹uestè»Â¿ä¿Äciââr;ìð¾nÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»Ã¯ä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ìð§ath;ä·pf;ìðÇ£â¬\0â±r;ìð¿rcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ìð¨reen;ä¸cy;ä
cy;äpf;ìðcr;ìðà®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼ròà§Ã²Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴raîà¡bda;ä»gÆ;dlà¢ââ;æ¦Ã¥à¢;æª
uoè»Â«ä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤Ã«âp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼Ã¬à¢°Ã¢â©;
vendor: 4,294 bytes, line 63
63ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡aéâ¶arpoonÄduâ¯â´own»Ñp»०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoonóà¾quigarro÷â°hreetimes;æÆ;qsâà¦âºlanôবÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââpproøâot;æqÄgqââ
ôà¦gtòâôà¦iÃলÆilrâ࣡âsht;楼;ìð©Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââròâorneòá´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che»âÈEaesâ»â½ââ;æ¨pÄ;pââæªrox»âÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½rëà£gÆlmrâ¿ââeftÄar০âightá৲apsto;æ¼ightá৽parrowÄlrâ¥â©efôâight;æ¬Æaflâ¶â¹â½r;æ¦
;ìðus;æ¨imes;樴šââst;æÃ¡áÆ;efââá ænge»âarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âròࢨorneòá¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ìðmÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹reÃ¥â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸Ã
â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»Â¯ä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se»â¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»owîÒefôà¤Ã°áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle»á¦r;ìðªo;æ§Æcdn⢯⢴â£roè»ÂµäµÈ;acdá¤â¢½â£â£sôá§ir;æ«°otè»Â·ÆµusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«Ã²âðàªÄdp⣩⣮els;æ§f;ìðÄct⣸⣽r;ìðpos»áÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la»Ëute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
roøà¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»Â ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸uiöà£Äeiâ©â©ar;椨Ãà®istÄ;sà® à®r;ìð«ÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lanô௢iÃ௪Ä;rà®¶âªÂ»à®·ÆAapâªâªâªrò⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹rò⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro÷â«ightarroÃ·âªÆ;qs఻⪺⫪lanôà±Ä;sà±â«´Â»à°¶iÃà±Ä;rవ⫾iÄ;eà°à°¥iäà¶Äptâ¬â¬f;ìðè¬;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlleìà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³uåಥÄ;cà²â¸Ä;eà²â½Ã±à²ÈAaitâ®â®â®â®§ròâ¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow»â®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯uÃ¥àµ
;ìðortÉâ¬
\0\0â¯aráâmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯Ã¥à³¸Ã¥à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°Ã±à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±Ã¬à¯ldeè»Ã±ä±Ã§à±iangleÄlrâ±â±eftÄ;eà°â±Ã±à°¦ightÄ;eà³â±¥Ã±à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»Ã³ä³Äiyâ´¼âµ
rÄ;cáªâµè»Ã´ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ìð¬Í¯âµ¹\0\0âµ¼\0â¶n;äaveè»Ã²ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨ròáªÄirâ¶â¶ r;榾oss;榻nÃ¥à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ìð Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨ròáªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f»ⷿè»Âªäªè»Âºäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§Ã²â¸ashè»Ã¸ä¸l;æiŬⸯ⸴deè»ÃµäµesÄ;aÇ⸺s;樶mlè»Ã¶ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
vendor: 6,210 bytes, line 63
63astÐâ¹§â¹²àº
è¶;lâ¹â¹®ä¶leìÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ìðÆimo⺨⺰⺴Ä;vâºâº®ä;ämaô੶ne;æÆ;tv⺿â»â»ächfork»´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æÃ¶â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»Â±àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ìð¡ndè»Â£ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷uÃ¥à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾pproøâ½urlyeñà»Ã±à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨iÃà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½ºÃ°â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴ï໻rel;æ°Äciâ¿â¿
r;ìð
;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ìð®pf;ìð¢rime;æcr;ìðÆaeo⿸ããtÄei⿾ã
rnionóڰnt;æ¨stÄ;eããä¿Ã±á¼Ã´à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããròá³Ã²Ïail;æ¤aròᱥar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
iãá
®mptyv;榳gÈ;delà¿ããã;æ¦;榥åà¿uoè»Â»ä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤Ã«âðâ®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶alÃ³à¼Æabrã§ãªã®ròá¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
ì࿲âãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
ánÃ¥á»arôྩt;æÆilrã
©á£ã
®sht;楽;ìð¯Äaoã
·ãrÄduã
½ã
¿Â»Ñ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãaéãarpoonÄduã»ã¿owîã
¾p»áeftÄahããrrowó࿪arpoonóÕightarrows;æquigarro÷ãhreetimes;æg;äingdotseñἲÆahmãããrò࿪aòÕ;æoustÄ;aããæ±che»ãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾rëáÆaflãããr;æ¦;ìð£us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨aròã£Èachqã»ãá¼ã
quo;æºr;ìðÄbuã»ãoÄ;rÈÈÆhirããã reÃ¥ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
quïâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡uÃ¥á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨iÃá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrããëâ¨Ä;oਸ਼਴tè»Â§ä§i;ä»war;椩mÄinã©Ã°nuóñt;æ¶rÄ;oã¶âìð°Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãiäá¤araì⹯è»ÂäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲aròá½Èaeitã¸ãããÄlsã½ãlsetméãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ìð¤aÄdrãÐesÄ;uããæ it»ãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáãñáÆ;esá¨áãetÄ;eá¨ãÃ±á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±Â»á
¼aròá
Ècemtã¹ã¾ãã
r;ìðtmîñiìãaræá¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsiloîỠhé⺯s»â¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦pproøãºurlyeñá¾Ã±á³Æaesãããpproøãqñãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»Â¹ä¹è»Â²ä²è»Â³ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨Ã«â®Ä;oਫ਩war;椪ligè»Ãä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;ärÃ«à¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ìð±Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®pproøáim»á¬sðáÄasãºã®Ã°árnè»Ã¾ä¾Ç¬Ìãâ§esèÃ;bdãããäÄ;aá¤ãr;樱;樰Æepsã¡ã£ãáâ©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ìð¥rk;æ«Ã¡ã¢rime;æ´Æaipããã¤dÃ¥áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown»ᶻeftÄ;eâ ã¾Ã±à¤®;æightÄ;eãªãñáot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ìð;äcy;ärok;ä
§Äioããxôá·headÄlrãã eftarro÷à¡ightarrow»à½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶ròÏar;楣Äcrãã¢uteè»ÃºäºÃ²á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»Ã»ä»;äÆabhã ã ã ròálac;ä
±aòáÄirã ã sht;楾;ìð²raveè»Ã¹ä¹Å¡ã §ã ±rÄlr㠬㠮»à¥Â»álk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær»ã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»Â¨ÍÄgp㡢㡦on;ä
³f;ìð¦Ìadhlsuá
㡸㡽á²ã¢ã¢ ownáá³arpoonÄlrã¢ã¢efôã ighô㠯iÆ;hlã¢ã¢ã¢ä
»áºon»ã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær»㢽op;æng;ä
¯ri;æ¹cr;ìðÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨Â»á Äam㣯㣲rò㢨lè»Ã¼ä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ;v㤦㤧櫨;æ«©asèϡÄnr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦appáâothinÃ§áºÆhirã«â»ã¥opô⾵Ä;há·ã¥¢Ã¯ãÄiu㥩ã¥gmáã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦etáãiangleÄlr㦪㦯eft»थight»áy;ä²ashÂ»á¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨aòá©r;ìð³tré㦮suÄbp㧯㧱»à´Â»àµpf;ìð§roð໻tré㦴Äcuã¨ã¨r;ìðÄbpã¨ã¨nÄEeã¦ã¨Â»ã¥¾nÄEeã¦ã¨Â»ã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ìð´pf;ìð¨Ä;eá¹ã©¦atèá¹cr;ìðà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátréár;ìðµÄAaãªãªròÏrò৶;ä¾ÄAa㪡㪤ròθrò৫aðâis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ìð©imÃ¥á²ÄAaã«ã«ròÏròà¨Äcqã«á¸r;ìðÄptáã«réáÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»Ã½ä½;äÄiyã¬ã¬rc;ä
·;änè»Â¥ä¥r;ìð¶cy;äpf;ìðªcr;ìðÄcm㬦㬩y;älè»Ã¿ä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡træáa;ä¶r;ìð·cy;ä¶grarr;æpf;ìð«cr;ìðÄjnã®
ã®;æj;æ
63'.split("").map(e=>e.charCodeAt(0))),IEe=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function NEe(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=IEe.get(e))!==null&&t!==void 0?t:e}var da;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(da||(da={}));var REe=32,wc;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(wc||(wc={}));function gw(e){return e>=da.ZERO&&e<=da.NINE}function MEe(e){return e>=da.UPPER_A&&e<=da.UPPER_F||e>=da.LOWER_A&&e<=da.LOWER_F}function LEe(e){return e>=da.UPPER_A&&e<=da.UPPER_Z||e>=da.LOWER_A&&e<=da.LOWER_Z||gw(e)}function DEe(e){return e===da.EQUALS||LEe(e)}var oa;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(oa||(oa={}));var bl;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(bl||(bl={}));var BEe=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=oa.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=bl.Strict}startEntity(e){this.decodeMode=e,this.state=oa.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case oa.EntityStart:return e.charCodeAt(t)===da.NUM?(this.state=oa.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=oa.NamedEntity,this.stateNamedEntity(e,t));case oa.NumericStart:return this.stateNumericStart(e,t);case oa.NumericDecimal:return this.stateNumericDecimal(e,t);case oa.NumericHex:return this.stateNumericHex(e,t);case oa.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|REe)===da.LOWER_X?(this.state=oa.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=oa.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const a=n-t;this.result=this.result*Math.pow(r,a)+Number.parseInt(e.substr(t,a),r),this.consumed+=a}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(gw(r)||MEe(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(gw(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===da.SEMI)this.consumed+=1;else if(this.decodeMode===bl.Strict)return 0;return this.emitCodePoint(NEe(this.result),this.consumed),this.errors&&(e!==da.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],a=(r&wc.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const i=e.charCodeAt(t);if(this.treeIndex=UEe(n,r,this.treeIndex+Math.max(1,a),i),this.treeIndex<0)return this.result===0||this.decodeMode===bl.Attribute&&(a===0||DEe(i))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],a=(r&wc.VALUE_LENGTH)>>14,a!==0){if(i===da.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==bl.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&wc.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~wc.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case oa.NamedEntity:return this.result!==0&&(this.decodeMode!==bl.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case oa.NumericDecimal:return this.emitNumericEntity(0,2);case oa.NumericHex:return this.emitNumericEntity(0,3);case oa.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case oa.EntityStart:return 0}}};function UEe(e,t,n,r){const a=(t&wc.BRANCH_LENGTH)>>7,i=t&wc.JUMP_TABLE;if(a===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=a?-1:e[n+l]-1}let o=n,s=o+a-1;for(;o<=s;){const l=o+s>>>1,c=e[l];
63if(c<r)o=l+1;else if(c>r)s=l-1;else return e[l+a]}return-1}var Ce;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(Ce||(Ce={}));var Hu;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Hu||(Hu={}));var uo;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(uo||(uo={}));var se;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(se||(se={}));var k;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(k||(k={}));var jEe=new Map([[se.A,k.A],[se.ADDRESS,k.ADDRESS],[se.ANNOTATION_XML,k.ANNOTATION_XML],[se.APPLET,k.APPLET],[se.AREA,k.AREA],[se.ARTICLE,k.ARTICLE],[se.ASIDE,k.ASIDE],[se.B,k.B],[se.BASE,k.BASE],[se.BASEFONT,k.BASEFONT],[se.BGSOUND,k.BGSOUND],[se.BIG,k.BIG],[se.BLOCKQUOTE,k.BLOCKQUOTE],[se.BODY,k.BODY],[se.BR,k.BR],[se.BUTTON,k.BUTTON],[se.CAPTION,k.CAPTION],[se.CENT
63ER,k.CENTER],[se.CODE,k.CODE],[se.COL,k.COL],[se.COLGROUP,k.COLGROUP],[se.DD,k.DD],[se.DESC,k.DESC],[se.DETAILS,k.DETAILS],[se.DIALOG,k.DIALOG],[se.DIR,k.DIR],[se.DIV,k.DIV],[se.DL,k.DL],[se.DT,k.DT],[se.EM,k.EM],[se.EMBED,k.EMBED],[se.FIELDSET,k.FIELDSET],[se.FIGCAPTION,k.FIGCAPTION],[se.FIGURE,k.FIGURE],[se.FONT,k.FONT],[se.FOOTER,k.FOOTER],[se.FOREIGN_OBJECT,k.FOREIGN_OBJECT],[se.FORM,k.FORM],[se.FRAME,k.FRAME],[se.FRAMESET,k.FRAMESET],[se.H1,k.H1],[se.H2,k.H2],[se.H3,k.H3],[se.H4,k.H4],[se.H5,k.H5],[se.H6,k.H6],[se.HEAD,k.HEAD],[se.HEADER,k.HEADER],[se.HGROUP,k.HGROUP],[se.HR,k.HR],[se.HTML,k.HTML],[se.I,k.I],[se.IMG,k.IMG],[se.IMAGE,k.IMAGE],[se.INPUT,k.INPUT],[se.IFRAME,k.IFRAME],[se.KEYGEN,k.KEYGEN],[se.LABEL,k.LABEL],[se.LI,k.LI],[se.LINK,k.LINK],[se.LISTING,k.LISTING],[se.MAIN,k.MAIN],[se.MALIGNMARK,k.MALIGNMARK],[se.MARQUEE,k.MARQUEE],[se.MATH,k.MATH],[se.MENU,k.MENU],[se.META,k.META],[se.MGLYPH,k.MGLYPH],[se.MI,k.MI],[se.MO,k.MO],[se.MN,k.MN],[se.MS,k.MS],[se.MTEXT,k.MTEXT],[se.NAV,k.NAV],[se.NOBR,k.NOBR],[se.NOFRAMES,k.NOFRAMES],[se.NOEMBED,k.NOEMBED],[se.NOSCRIPT,k.NOSCRIPT],[se.OBJECT,k.OBJECT],[se.OL,k.OL],[se.OPTGROUP,k.OPTGROUP],[se.OPTION,k.OPTION],[se.P,k.P],[se.PARAM,k.PARAM],[se.PLAINTEXT,k.PLAINTEXT],[se.PRE,k.PRE],[se.RB,k.RB],[se.RP,k.RP],[se.RT,k.RT],[se.RTC,k.RTC],[se.RUBY,k.RUBY],[se.S,k.S],[se.SCRIPT,k.SCRIPT],[se.SEARCH,k.SEARCH],[se.SECTION,k.SECTION],[se.SELECT,k.SELECT],[se.SOURCE,k.SOURCE],[se.SMALL,k.SMALL],[se.SPAN,k.SPAN],[se.STRIKE,k.STRIKE],[se.STRONG,k.STRONG],[se.STYLE,k.STYLE],[se.SUB,k.SUB],[se.SUMMARY,k.SUMMARY],[se.SUP,k.SUP],[se.TABLE,k.TABLE],[se.TBODY,k.TBODY],[se.TEMPLATE,k.TEMPLATE],[se.TEXTAREA,k.TEXTAREA],[se.TFOOT,k.TFOOT],[se.TD,k.TD],[se.TH,k.TH],[se.THEAD,k.THEAD],[se.TITLE,k.TITLE],[se.TR,k.TR],[se.TRACK,k.TRACK],[se.TT,k.TT],[se.U,k.U],[se.UL,k.UL],[se.SVG,k.SVG],[se.VAR,k.VAR],[se.WBR,k.WBR],[se.XMP,k.XMP]]);function Rp(e){var t;return(t=jEe.get(e))!==null&&t!==void 0?t:k.UNKNOWN}var Ie=k,QEe={[Ce.HTML]:new Set([Ie.ADDRESS,Ie.APPLET,Ie.AREA,Ie.ARTICLE,Ie.ASIDE,Ie.BASE,Ie.BASEFONT,Ie.BGSOUND,Ie.BLOCKQUOTE,Ie.BODY,Ie.BR,Ie.BUTTON,Ie.CAPTION,Ie.CENTER,Ie.COL,Ie.COLGROUP,Ie.DD,Ie.DETAILS,Ie.DIR,Ie.DIV,Ie.DL,Ie.DT,Ie.EMBED,Ie.FIELDSET,Ie.FIGCAPTION,Ie.FIGURE,Ie.FOOTER,Ie.FORM,Ie.FRAME,Ie.FRAMESET,Ie.H1,Ie.H2,Ie.H3,Ie.H4,Ie.H5,Ie.H6,Ie.HEAD,Ie.HEADER,Ie.HGROUP,Ie.HR,Ie.HTML,Ie.IFRAME,Ie.IMG,Ie.INPUT,Ie.LI,Ie.LINK,Ie.LISTING,Ie.MAIN,Ie.MARQUEE,Ie.MENU,Ie.META,Ie.NAV,Ie.NOEMBED,Ie.NOFRAMES,Ie.NOSCRIPT,Ie.OBJECT,Ie.OL,Ie.P,Ie.PARAM,Ie.PLAINTEXT,Ie.PRE,Ie.SCRIPT,Ie.SECTION,Ie.SELECT,Ie.SOURCE,Ie.STYLE,Ie.SUMMARY,Ie.TABLE,Ie.TBODY,Ie.TD,Ie.TEMPLATE,Ie.TEXTAREA,Ie.TFOOT,Ie.TH,Ie.THEAD,Ie.TITLE,Ie.TR,Ie.TRACK,Ie.UL,Ie.WBR,Ie.XMP]),[Ce.MATHML]:new Set([Ie.MI,Ie.MO,Ie.MN,Ie.MS,Ie.MTEXT,Ie.ANNOTATION_XML]),[Ce.SVG]:new Set([Ie.TITLE,Ie.FOREIGN_OBJECT,Ie.DESC]),[Ce.XLINK]:new Set,[Ce.XML]:new Set,[Ce.XMLNS]:new Set},bw=new Set([Ie.H1,Ie.H2,Ie.H3,Ie.H4,Ie.H5,Ie.H6]);
vendor: 7,873 bytes, line 63
63se.STYLE,se.SCRIPT,se.XMP,se.IFRAME,se.NOEMBED,se.NOFRAMES,se.PLAINTEXT;var q;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(q||(q={}));var Cr={DATA:q.DATA,RCDATA:q.RCDATA,RAWTEXT:q.RAWTEXT,SCRIPT_DATA:q.SCRIPT_DATA,PLAINTEXT:q.PLAINTEXT,CDATA_SECTION:q.CDATA_SECTION};function FEe(e){return e>=F.DIGIT_0&&e<=F.DIGIT_9}function Mh(e){return e>=F.LATIN_CAPITAL_A&&e<=F.LATIN_CAPITAL_Z}function zEe(e){return e>=F.LATIN_SMALL_A&&e<=F.LATIN_SMALL_Z}function cc(e){return zEe(e)||Mh(e)}function QT(e){return cc(e)||FEe(e)}function T1(e){return e+32}function oU(e){return e===F.SPACE||e===F.LINE_FEED||e===F.TABULATION||e===F.FORM_FEED}function FT(e){return oU(e)||e===F.SOLIDUS||e===F.GREATER_THAN_SIGN}function VEe(e){return e===F.NULL?be.nullCharacterReference:e>1114111?be.characterReferenceOutsideUnicodeRange:nU(e)?be.surrogateCharacterReference:aU(e)?be.noncharacterCharacterReference:rU(e)||e===F.CARRIAGE_RETURN?be.controlCharacterReference:null}var HEe=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=q.DATA,this.returnState=q.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new $Ee(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new BEe(PEe,(n,r)=>{this.preprocessor.pos=this.entityStartPos+r-1,this._flushCodePointConsumedAsCharacterReference(n)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(be.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(be.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const r=VEe(n);r&&this._err(r,1)}}:void 0)}_err(e,t=0){var n,r;(r=(n=this.handler).onParseError)===null||r===void 0||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e?.())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||n?.()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Gt.START_TAG,tagName:"",tagID:k.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Gt.END_TAG,tagName:"",tagID:k.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:Gt.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:Gt.DOCTYPE,name:e,forceQuirks:!1,publicId:null,
63systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const n=this.currentToken;if(iU(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const r=(e=(t=n.location).attrs)!==null&&e!==void 0?e:t.attrs=Object.create(null);r[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(be.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=Rp(e.tagName),e.type===Gt.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(be.endTagWithAttributes),e.selfClosing&&this._err(be.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case Gt.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case Gt.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case Gt.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:Gt.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){const t=oU(e)?Gt.WHITESPACE_CHARACTER:e===F.NULL?Gt.NULL_CHARACTER:Gt.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(Gt.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=q.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?bl.Attribute:bl.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===q.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===q.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===q.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case q.DATA:this._stateData(e);break;case q.RCDATA:this._stateRcdata(e);break;case q.RAWTEXT:this._stateRawtext(e);break;case q.SCRIPT_DATA:this._stateScriptData(e);break;case q.PLAINTEXT:this._statePlaintext(e);break;case q.TAG_OPEN:this._stateTagOpen(e);break;case q.END_TAG_OPEN:this._stateEndTagOpen(e);break;case q.TAG_NAME:this._stateTagName(e);break;case q.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case q.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case q.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case q.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case q.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case q.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case q.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case q.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case q.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case q.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case q.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case q.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case q.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case q.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case q.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case q.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscape
vendor: 27,177 bytes, line 63
63Start(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case q.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case q.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case q.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case q.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case q.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case q.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case q.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case q.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case q.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case q.BOGUS_COMMENT:this._stateBogusComment(e);break;case q.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case q.COMMENT_START:this._stateCommentStart(e);break;case q.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case q.COMMENT:this._stateComment(e);break;case q.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case q.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case q.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case q.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case q.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case q.COMMENT_END:this._stateCommentEnd(e);break;case q.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case q.DOCTYPE:this._stateDoctype(e);break;case q.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case q.DOCTYPE_NAME:this._stateDoctypeName(e);break;case q.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case q.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case q.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case q.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case q.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case q.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case q.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case q.CDATA_SECTION:this._stateCdataSection(e);break;case q.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case q.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case q.CHARACTER_REFERENCE:this._stateCharacterReference();break;case q.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case F.LESS_THAN_SIGN:this.state=q.TAG_OPEN;break;case F.AMPERSAND:this._startCharacterReference();break;case F.NULL:this._err(be.unexpectedNullCharacter),this._emitCodePoint(e);break;case F.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case F.AMPERSAND:this._startCharacterReference();break;case F.LESS_THAN_SIGN:this.state=q.RCDATA_LESS_THAN_SIGN;break;case F.NULL:this._err(be.unexpectedNullCharacter),this._emitChars("�");break;case F.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case F.LESS_THAN_SIGN:this.state=q.RAWTEXT_LESS_THAN_SIGN;break;case F.NULL:this._err(be.unexpectedNullCharacter),this._emitChars("�");break;case F.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case F.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_LESS_THAN_SIGN;break;case F.NULL:this._err(be.unexpectedNullCharacter),this._emitChars("�");break;case F.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case F.NULL:this._err(be.unexpectedNullCharacter),this._emitChars("�");break;case F.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(cc(e))this._createStartTagToken(),this.state=q.TAG_NAME,this._stateTagName(e);else switch(e){case F.EXCLAMATION_MARK:this.state=q.MARKUP_DECLARATION_OPEN;break;case F.SOLIDUS:this.state=q.END_TAG_OPEN;break;case F.QUESTION_MARK:this._err(be.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=q.BOGUS_COMMENT,this._stateBogusComment(e);break;case F.EOF:this._err(be.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(be.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=q.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(cc(e))this._createEndTagToken(),this.state=q.TAG_NAME,this._stateTagName(e);else switch(e){case F.GREATER_THAN_SIGN:this._err(be.missingEndTagName),this.state=q.DATA;break;case F.EOF:this._err(be.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(be.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=q.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this.state=q.BEFORE_ATTRIBUTE_NAME;break;case F.SOLIDUS:this.state=q.SELF_CLOSING_START_TAG;break;case F.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentTagToken();break;case F.NULL:this._err(be.unexpectedNullCharacter),t.tagName+="�";break;case F.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(Mh(e)?T1(e):e)}}_stateRcdataLessThanSign(e){e===F.SOLIDUS?this.state=q.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=q.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){cc(e)?(this.state=q.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=q.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=q.BEFORE_ATTRIBUTE_NAME,!1;case F.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=q.SELF_CLOSING_START_TAG,!1;case F.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=q.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=q.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===F.SOLIDUS?this.state=q.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=q.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){cc(e)?(this.state=q.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=q.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=q.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case F.SOLIDUS:this.state=q.SCRIPT_DATA_END_TAG_OPEN;break;case F.EXCLAMATION_MARK:this.state=q.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=q.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){cc(e)?(this.state=q.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=q.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=q.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===F.HYPHEN_MINUS?(this.state=q.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=q.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===F.HYPHEN_MINUS?(this.state=q.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=q.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case F.HYPHEN_MINUS:this.state=q.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case F.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case F.NULL:this._err(be.unexpectedNullCharacter),this._emitChars("�");break;case F.EOF:this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case F.HYPHEN_MINUS:this.state=q.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case F.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case F.NULL:this._err(be.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case F.EOF:this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=q.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case F.HYPHEN_MINUS:this._emitChars("-");break;case F.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case F.GREATER_THAN_SIGN:this.state=q.SCRIPT_DATA,this._emitChars(">");break;case F.NULL:this._err(be.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case F.EOF:this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=q.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===F.SOLIDUS?this.state=q.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:cc(e)?(this._emitChars("<"),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){cc(e)?(this.state=q.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(ai.SCRIPT,!1)&&FT(this.preprocessor.peek(ai.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<ai.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case F.HYPHEN_MINUS:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case F.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case F.NULL:this._err(be.unexpectedNullCharacter),this._emitChars("�");break;case F.EOF:this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case F.HYPHEN_MINUS:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case F.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case F.NULL:this._err(be.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case F.EOF:this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case F.HYPHEN_MINUS:this._emitChars("-");break;case F.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case F.GREATER_THAN_SIGN:this.state=q.SCRIPT_DATA,this._emitChars(">");break;case F.NULL:this._err(be.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case F.EOF:this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===F.SOLIDUS?(this.state=q.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(ai.SCRIPT,!1)&&FT(this.preprocessor.peek(ai.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<ai.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=q.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.SOLIDUS:case F.GREATER_THAN_SIGN:case F.EOF:this.state=q.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case F.EQUALS_SIGN:this._err(be.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=q.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=q.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:case F.SOLIDUS:case F.GREATER_THAN_SIGN:case F.EOF:this._leaveAttrName(),this.state=q.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case F.EQUALS_SIGN:this._leaveAttrName(),this.state=q.BEFORE_ATTRIBUTE_VALUE;break;case F.QUOTATION_MARK:case F.APOSTROPHE:case F.LESS_THAN_SIGN:this._err(be.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case F.NULL:this._err(be.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(Mh(e)?T1(e):e)}}_stateAfterAttributeName(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.SOLIDUS:this.state=q.SELF_CLOSING_START_TAG;break;case F.EQUALS_SIGN:this.state=q.BEFORE_ATTRIBUTE_VALUE;break;case F.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentTagToken();break;case F.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=q.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.QUOTATION_MARK:this.state=q.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case F.APOSTROPHE:this.state=q.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case F.GREATER_THAN_SIGN:this._err(be.missingAttributeValue),this.state=q.DATA,this.emitCurrentTagToken();break;default:this.state=q.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case F.QUOTATION_MARK:this.state=q.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case F.AMPERSAND:this._startCharacterReference();break;case F.NULL:this._err(be.unexpectedNullCharacter),this.currentAttr.value+="�";break;case F.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case F.APOSTROPHE:this.state=q.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case F.AMPERSAND:this._startCharacterReference();break;case F.NULL:this._err(be.unexpectedNullCharacter),this.currentAttr.value+="�";break;case F.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this._leaveAttrValue(),this.state=q.BEFORE_ATTRIBUTE_NAME;break;case F.AMPERSAND:this._startCharacterReference();break;case F.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=q.DATA,this.emitCurrentTagToken();break;case F.NULL:this._err(be.unexpectedNullCharacter),this.currentAttr.value+="�";break;case F.QUOTATION_MARK:case F.APOSTROPHE:case F.LESS_THAN_SIGN:case F.EQUALS_SIGN:case F.GRAVE_ACCENT:this._err(be.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case F.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this._leaveAttrValue(),this.state=q.BEFORE_ATTRIBUTE_NAME;break;case F.SOLIDUS:this._leaveAttrValue(),this.state=q.SELF_CLOSING_START_TAG;break;case F.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=q.DATA,this.emitCurrentTagToken();break;case F.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:this._err(be.missingWhitespaceBetweenAttributes),this.state=q.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case F.GREATER_THAN_SIGN:{const t=this.currentToken;t.selfClosing=!0,this.state=q.DATA,this.emitCurrentTagToken();break}case F.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:this._err(be.unexpectedSolidusInTag),this.state=q.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case F.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentComment(t);break;case F.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case F.NULL:this._err(be.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(ai.DASH_DASH,!0)?(this._createCommentToken(ai.DASH_DASH.length+1),this.state=q.COMMENT_START):this._consumeSequenceIfMatch(ai.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(ai.DOCTYPE.length+1),this.state=q.DOCTYPE):this._consumeSequenceIfMatch(ai.CDATA_START,!0)?this.inForeignNode?this.state=q.CDATA_SECTION:(this._err(be.cdataInHtmlContent),this._createCommentToken(ai.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=q.BOGUS_COMMENT):this._ensureHibernation()||(this._err(be.incorrectlyOpenedComment),this._createCommentToken(2),this.state=q.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case F.HYPHEN_MINUS:this.state=q.COMMENT_START_DASH;break;case F.GREATER_THAN_SIGN:{this._err(be.abruptClosingOfEmptyComment),this.state=q.DATA;const t=this.currentToken;this.emitCurrentComment(t);break}default:this.state=q.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case F.HYPHEN_MINUS:this.state=q.COMMENT_END;break;case F.GREATER_THAN_SIGN:this._err(be.abruptClosingOfEmptyComment),this.state=q.DATA,this.emitCurrentComment(t);break;case F.EOF:this._err(be.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=q.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case F.HYPHEN_MINUS:this.state=q.COMMENT_END_DASH;break;case F.LESS_THAN_SIGN:t.data+="<",this.state=q.COMMENT_LESS_THAN_SIGN;break;case F.NULL:this._err(be.unexpectedNullCharacter),t.data+="�";break;case F.EOF:this._err(be.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case F.EXCLAMATION_MARK:t.data+="!",this.state=q.COMMENT_LESS_THAN_SIGN_BANG;break;case F.LESS_THAN_SIGN:t.data+="<";break;default:this.state=q.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===F.HYPHEN_MINUS?this.state=q.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=q.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===F.HYPHEN_MINUS?this.state=q.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=q.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==F.GREATER_THAN_SIGN&&e!==F.EOF&&this._err(be.nestedComment),this.state=q.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case F.HYPHEN_MINUS:this.state=q.COMMENT_END;break;case F.EOF:this._err(be.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=q.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case F.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentComment(t);break;case F.EXCLAMATION_MARK:this.state=q.COMMENT_END_BANG;break;case F.HYPHEN_MINUS:t.data+="-";break;case F.EOF:this._err(be.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=q.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case F.HYPHEN_MINUS:t.data+="--!",this.state=q.COMMENT_END_DASH;break;case F.GREATER_THAN_SIGN:this._err(be.incorrectlyClosedComment),this.state=q.DATA,this.emitCurrentComment(t);break;case F.EOF:this._err(be.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=q.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this.state=q.BEFORE_DOCTYPE_NAME;break;case F.GREATER_THAN_SIGN:this.state=q.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case F.EOF:{this._err(be.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(be.missingWhitespaceBeforeDoctypeName),this.state=q.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(Mh(e))this._createDoctypeToken(String.fromCharCode(T1(e))),this.state=q.DOCTYPE_NAME;else switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.NULL:this._err(be.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=q.DOCTYPE_NAME;break;case F.GREATER_THAN_SIGN:{this._err(be.missingDoctypeName),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break}case F.EOF:{this._err(be.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=q.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this.state=q.AFTER_DOCTYPE_NAME;break;case F.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentDoctype(t);break;case F.NULL:this._err(be.unexpectedNullCharacter),t.name+="�";break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(Mh(e)?T1(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentDoctype(t);break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(ai.PUBLIC,!1)?this.state=q.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(ai.SYSTEM,!1)?this.state=q.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(be.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this.state=q.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case F.QUOTATION_MARK:this._err(be.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case F.APOSTROPHE:this._err(be.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case F.GREATER_THAN_SIGN:this._err(be.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(t);break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(be.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.QUOTATION_MARK:t.publicId="",this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case F.APOSTROPHE:t.publicId="",this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case F.GREATER_THAN_SIGN:this._err(be.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(t);break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(be.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case F.QUOTATION_MARK:this.state=q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case F.NULL:this._err(be.unexpectedNullCharacter),t.publicId+="�";break;case F.GREATER_THAN_SIGN:this._err(be.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case F.APOSTROPHE:this.state=q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case F.NULL:this._err(be.unexpectedNullCharacter),t.publicId+="�";break;case F.GREATER_THAN_SIGN:this._err(be.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this.state=q.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case F.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentDoctype(t);break;case F.QUOTATION_MARK:this._err(be.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case F.APOSTROPHE:this._err(be.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;
vendor: 7,503 bytes, line 63
63default:this._err(be.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=q.DATA;break;case F.QUOTATION_MARK:t.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case F.APOSTROPHE:t.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(be.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:this.state=q.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case F.QUOTATION_MARK:this._err(be.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case F.APOSTROPHE:this._err(be.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case F.GREATER_THAN_SIGN:this._err(be.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(t);break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(be.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.QUOTATION_MARK:t.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case F.APOSTROPHE:t.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case F.GREATER_THAN_SIGN:this._err(be.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(t);break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(be.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case F.QUOTATION_MARK:this.state=q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case F.NULL:this._err(be.unexpectedNullCharacter),t.systemId+="�";break;case F.GREATER_THAN_SIGN:this._err(be.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case F.APOSTROPHE:this.state=q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case F.NULL:this._err(be.unexpectedNullCharacter),t.systemId+="�";break;case F.GREATER_THAN_SIGN:this._err(be.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=q.DATA;break;case F.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(be.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case F.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=q.DATA;break;case F.NULL:this._err(be.unexpectedNullCharacter);break;case F.EOF:this.emitCurrentDoctype(t),this._emitEOFToken();break}}_stateCdataSection(e){switch(e){case F.RIGHT_SQUARE_BRACKET:this.state=q.CDATA_SECTION_BRACKET;break;case F.EOF:this._err(be.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===F.RIGHT_SQUARE_BRACKET?this.state=q.CDATA_SECTION_END:(this._emitChars("]"),this.state=q.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case F.GREATER_THAN_SIGN:this.state=q.DATA;break;case F.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=q.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(F.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&QT(this.preprocessor.peek(1))?q.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){QT(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===F.SEMICOLON&&this._err(be.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}},sU=new Set([k.DD,k.DT,k.LI,k.OPTGROUP,k.OPTION,k.P,k.RB,k.RP,k.RT,k.RTC]),zT=new Set([...sU,k.CAPTION,k.COLGROUP,k.TBODY,k.TD,k.TFOOT,k.TH,k.THEAD,k.TR]),A2=new Set([k.APPLET,k.CAPTION,k.HTML,k.MARQUEE,k.OBJECT,k.TABLE,k.TD,k.TEMPLATE,k.TH]),qEe=new Set([...A2,k.OL,k.UL]),ZEe=new Set([...A2,k.BUTTON]),VT=new Set([k.ANNOTATION_XML,k.MI,k.MN,k.MO,k.MS,k.MTEXT]),HT=new Set([k.DESC,k.FOREIGN_OBJECT,k.TITLE]),XEe=new Set([k.TR,k.TEMPLATE,k.HTML]),WEe=new Set([k.TBODY,k.TFOOT,k.THEAD,k.TEMPLATE,k.HTML]),YEe=new Set([k.TABLE,k.TEMPLATE,k.HTML]),GEe=new Set([k.TD,k.TH]),KEe=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=k.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===k.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Ce.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==Ce.HTML);
vendor: 9,576 bytes, line 63
63this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(bw,Ce.HTML)}popUntilTableCellPopped(){this.popUntilPopped(GEe,Ce.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(YEe,Ce.HTML)}clearBackToTableBodyContext(){this.clearBackTo(WEe,Ce.HTML)}clearBackToTableRowContext(){this.clearBackTo(XEe,Ce.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===k.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===k.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case Ce.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case Ce.SVG:if(HT.has(r))return!1;break;case Ce.MATHML:if(VT.has(r))return!1;break}}return!0}hasInScope(e){return this.hasInDynamicScope(e,A2)}hasInListItemScope(e){return this.hasInDynamicScope(e,qEe)}hasInButtonScope(e){return this.hasInDynamicScope(e,ZEe)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case Ce.HTML:if(bw.has(t))return!0;if(A2.has(t))return!1;break;case Ce.SVG:if(HT.has(t))return!1;break;case Ce.MATHML:if(VT.has(t))return!1;break}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===Ce.HTML)switch(this.tagIDs[t]){case e:return!0;case k.TABLE:case k.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===Ce.HTML)switch(this.tagIDs[e]){case k.TBODY:case k.THEAD:case k.TFOOT:return!0;case k.TABLE:case k.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===Ce.HTML)switch(this.tagIDs[t]){case e:return!0;case k.OPTION:case k.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&sU.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&zT.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&zT.has(this.currentTagId);)this.pop()}},PO=3,Ms;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Ms||(Ms={}));var qT={type:Ms.Marker},JEe=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let o=0;o<this.entries.length;o++){const s=this.entries[o];if(s.type===Ms.Marker)break;const{element:l}=s;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===i){const c=this.treeAdapter.getAttrList(l);c.length===r&&n.push({idx:o,attrs:c})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<PO)return;const t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<PO)return;const r=new Map(t.map(i=>[i.name,i.value]));let a=0;for(let i=0;i<n.length;i++){const o=n[i];o.attrs.every(s=>r.get(s.name)===s.value)&&(a+=1,a>=PO&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(qT)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:Ms.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Ms.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t!==-1&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(qT);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){const t=this.entries.find(n=>n.type===Ms.Marker||this.treeAdapter.getTagName(n.element)===e);return t&&t.type===Ms.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===Ms.Element&&t.element===e)}},uc={createDocument(){return{nodeName:"#document",mode:uo.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=n,a.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};uc.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(uc.isTextNode(n)){n.value+=t;return}}uc.appendChild(e,uc.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&uc.isTextNode(r)?r.value+=t:uc.insertBefore(e,uc.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},lU="html",e_e="about:legacy-compat",t_e="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",cU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],n_e=[...cU,"-
63//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],r_e=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),uU=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],a_e=[...uU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function ZT(e,t){return t.some(n=>e.startsWith(n))}function i_e(e){return e.name===lU&&e.publicId===null&&(e.systemId===null||e.systemId===e_e)}function o_e(e){if(e.name!==lU)return uo.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===t_e)return uo.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),r_e.has(n))return uo.QUIRKS;let r=t===null?n_e:cU;if(ZT(n,r))return uo.QUIRKS;if(r=t===null?uU:a_e,ZT(n,r))return uo.LIMITED_QUIRKS}return uo.NO_QUIRKS}var XT={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},s_e="definitionurl",l_e="definitionURL",c_e=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),u_e=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Ce.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Ce.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Ce.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Ce.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Ce.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Ce.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Ce.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Ce.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Ce.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Ce.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Ce.XMLNS}]]),d_e=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),f_e=new Set([k.B,k.BIG,k.BLOCKQUOTE,k.BODY,k.BR,k.CENTER,k.CODE,k.DD,k.DIV,k.DL,k.DT,k.EM,k.EMBED,k.H1,k.H2,k.H3,k.H4,k.H5,k.H6,k.HEAD,k.HR,k.I,k.IMG,k.LI,k.LISTING,k.MENU,k.META,k.NOBR,k.OL,k.P,k.PRE,k.RUBY,k.S,k.SMALL,k.SPAN,k.STRONG,k.STRIKE,k.SUB,k.SUP,k.TABLE,k.TT,k.U,k.UL,k.VAR]);function p_e(e){const t=e.tagID;return t===k.FONT&&e.attrs.some(({name:n})=>n===Hu.COLOR||n===Hu.SIZE||n===Hu.FACE)||f_e.has(t)}function dU(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===s_e){e.attrs[t].name=l_e;break}}function fU(e){for(let t=0;t<e.attrs.length;t++){const n=c_e.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function i6(e){for(let t=0;t<e.attrs.length;t++){const n=u_e.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function h_e(e){const t=d_e.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Rp(e.tagName))}function m_e(e,t){return t===Ce.MATHML&&(e===k.MI||e===k.MO||e===k.MN||e===k.MS||e===k.MTEXT)}function g_e(e,t,n){if(t===Ce.MATHML&&e===k.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Hu.ENCODING){const a=n[r].value.toLowerCase();return a===XT.TEXT_HTML||a===XT.APPLICATION_XML}}return t===Ce.SVG&&(e===k.FOREIGN_OBJECT||e===k.DESC||e===k.TITLE)}function b_e(e,t,n,r){return(!r||r===Ce.HTML)&&g_e(e,t,n)||(!r||r===Ce.MATHML)&&m_e(e,t)}var y_e="hidden",v_e=8,O_e=3,G;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(G||(G={}));var S_e={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},pU=new Set([k.TABLE,k.TBODY,k.TFOOT,k.THEAD,k.TR]),WT={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:uc,onParseError:null},T2=class{constructor(t,n,r=null,a=null){this.fragmentContext=r,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=G.INITIAL,this.originalInsertionMode=G.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...WT,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new HEe(this.options,this),this.activeFormattingElements=new JEe(this.treeAdapter),this.fragmentContextID=r?Rp(this.treeAdapter.getTagName(r)):k.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new KEe(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...WT,...n};t!=null||(t=r.treeAdapter.createElement(se.TEMPLATE,Ce.HTML,[]));const a=r.treeAdapter.createElement("documentmock",Ce.HTML,[]),i=new this(r,a,t);return i.fragmentContextID===k.TEMPLATE&&i.tmplInsertionModeStack.unshift(G.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:S_e,o={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(t,n,r){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(r=this.treeAdapter).onItemPop)===null||a===void 0||a.call(r,t,this.openElements.current),n){let i,o;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,o=this.fragmentContextID):{current:i,currentTagId:o}=this.openElements,this._setContextModes(i,o)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===Ce.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,Ce.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=G.TEXT}switchToPlaintextParsing(){this.insertionMode=G.TEXT,this.originalInsertionMode=G.IN_BODY,this.tokenizer.state=Cr.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;
vendor: 12,540 bytes, line 63
63for(;t;){if(this.treeAdapter.getTagName(t)===se.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Ce.HTML))switch(this.fragmentContextID){case k.TITLE:case k.TEXTAREA:this.tokenizer.state=Cr.RCDATA;break;case k.STYLE:case k.XMP:case k.IFRAME:case k.NOEMBED:case k.NOFRAMES:case k.NOSCRIPT:this.tokenizer.state=Cr.RAWTEXT;break;case k.SCRIPT:this.tokenizer.state=Cr.SCRIPT_DATA;break;case k.PLAINTEXT:this.tokenizer.state=Cr.PLAINTEXT;break}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,a),t.location){const i=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));i&&this.treeAdapter.setNodeSourceCodeLocation(i,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,Ce.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,Ce.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(se.HTML,Ce.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,k.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(n),i=a[(r?a.lastIndexOf(r):a.length)-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:o,endCol:s,endOffset:l}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:o,endCol:s,endOffset:l})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,a=this.treeAdapter.getTagName(t),i=n.type===Gt.END_TAG&&a===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===k.SVG&&this.treeAdapter.getTagName(n)===se.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===Ce.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===k.MGLYPH||t.tagID===k.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,Ce.HTML)}_processToken(t){switch(t.type){case Gt.CHARACTER:this.onCharacter(t);break;case Gt.NULL_CHARACTER:this.onNullCharacter(t);break;case Gt.COMMENT:this.onComment(t);break;case Gt.DOCTYPE:this.onDoctype(t);break;case Gt.START_TAG:this._processStartTag(t);break;case Gt.END_TAG:this.onEndTag(t);break;case Gt.EOF:this.onEof(t);break;case Gt.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(t);break}}_isIntegrationPoint(t,n,r){return b_e(t,this.treeAdapter.getNamespaceURI(n),this.treeAdapter.getAttrList(n),r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===Ms.Marker||this.openElements.contains(a.element)),r=n===-1?t-1:n-1;for(let a=r;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=G.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(k.P),this.openElements.popUntilTagNamePopped(k.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case k.TR:this.insertionMode=G.IN_ROW;return;case k.TBODY:case k.THEAD:case k.TFOOT:this.insertionMode=G.IN_TABLE_BODY;return;case k.CAPTION:this.insertionMode=G.IN_CAPTION;return;case k.COLGROUP:this.insertionMode=G.IN_COLUMN_GROUP;return;case k.TABLE:this.insertionMode=G.IN_TABLE;return;case k.BODY:this.insertionMode=G.IN_BODY;return;case k.FRAMESET:this.insertionMode=G.IN_FRAMESET;return;case k.SELECT:this._resetInsertionModeForSelect(t);return;case k.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case k.HTML:this.insertionMode=this.headElement?G.AFTER_HEAD:G.BEFORE_HEAD;return;case k.TD:case k.TH:if(t>0){this.insertionMode=G.IN_CELL;return}break;case k.HEAD:if(t>0){this.insertionMode=G.IN_HEAD;return}break}this.insertionMode=G.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===k.TEMPLATE)break;if(r===k.TABLE){this.insertionMode=G.IN_SELECT_IN_TABLE;return}}this.insertionMode=G.IN_SELECT}_isElementCausesFosterParenting(t){return pU.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case k.TEMPLATE:if(this.treeAdapter.getNamespaceURI(n)===Ce.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break;case k.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){return QEe[this.treeAdapter.getNamespaceURI(t)].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){GCe(this,t);return}switch(this.insertionMode){case G.INITIAL:gh(this,t);break;case G.BEFORE_HTML:Vh(this,t);break;case G.BEFORE_HEAD:Hh(this,t);break;case G.IN_HEAD:qh(this,t);break;case G.IN_HEAD_NO_SCRIPT:Zh(this,t);break;case G.AFTER_HEAD:Xh(this,t);break;case G.IN_BODY:case G.IN_CAPTION:case G.IN_CELL:case G.IN_TEMPLATE:mU(this,t);break;case G.TEXT:case G.IN_SELECT:case G.IN_SELECT_IN_TABLE:this._insertCharacters(t);break;case G.IN_TABLE:case G.IN_TABLE_BODY:case G.IN_ROW:IO(this,t);break;case G.IN_TABLE_TEXT:SU(this,t);break;case G.IN_COLUMN_GROUP:E2(this,t);break;case G.AFTER_BODY:_2(this,t);break;case G.AFTER_AFTER_BODY:_g(this,t);break}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){YCe(this,t);return}switch(this.insertionMode){case G.INITIAL:gh(this,t);break;case G.BEFORE_HTML:Vh(this,t);break;case G.BEFORE_HEAD:Hh(this,t);break;case G.IN_HEAD:qh(this,t);break;case G.IN_HEAD_NO_SCRIPT:Zh(this,t);break;case G.AFTER_HEAD:Xh(this,t);break;case G.TEXT:this._insertCharacters(t);break;case G.IN_TABLE:case G.IN_TABLE_BODY:case G.IN_ROW:IO(this,t);break;case G.IN_COLUMN_GROUP:E2(this,t);break;case G.AFTER_BODY:_2(this,t);break;case G.AFTER_AFTER_BODY:_g(this,t);break}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){yw(this,t);return}switch(this.insertionMode){case G.INITIAL:case G.BEFORE_HTML:case G.BEFORE_HEAD:case G.IN_HEAD:case G.IN_HEAD_NO_SCRIPT:case G.AFTER_HEAD:case G.IN_BODY:case G.IN_TABLE:case G.IN_CAPTION:case G.IN_COLUMN_GROUP:case G.IN_TABLE_BODY:case G.IN_ROW:case G.IN_CELL:case G.IN_SELECT:case G.IN_SELECT_IN_TABLE:case G.IN_TEMPLATE:case G.IN_FRAMESET:case G.AFTER_FRAMESET:yw(this,t);break;case G.IN_TABLE_TEXT:bh(this,t);break;case G.AFTER_BODY:__e(this,t);break;case G.AFTER_AFTER_BODY:case G.AFTER_AFTER_FRAMESET:C_e(this,t);break}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case G.INITIAL:$_e(this,t);break;case G.BEFORE_HEAD:case G.IN_HEAD:case G.IN_HEAD_NO_SCRIPT:case G.AFTER_HEAD:this._err(t,be.misplacedDoctype);break;case G.IN_TABLE_TEXT:bh(this,t);break}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,be.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?KCe(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case G.INITIAL:gh(this,t);break;case G.BEFORE_HTML:P_e(this,t);break;case G.BEFORE_HEAD:N_e(this,t);break;case G.IN_HEAD:Os(this,t);break;case G.IN_HEAD_NO_SCRIPT:L_e(this,t);break;case G.AFTER_HEAD:B_e(this,t);break;case G.IN_BODY:za(this,t);break;case G.IN_TABLE:Gf(this,t);break;case G.IN_TABLE_TEXT:bh(this,t);break;case G.IN_CAPTION:RCe(this,t);break;case G.IN_COLUMN_GROUP:l6(this,t);break;case G.IN_TABLE_BODY:Vy(this,t);break;case G.IN_ROW:Hy(this,t);break;case G.IN_CELL:DCe(this,t);break;case G.IN_SELECT:kU(this,t);break;case G.IN_SELECT_IN_TABLE:UCe(this,t);break;case G.IN_TEMPLATE:QCe(this,t);break;case G.AFTER_BODY:zCe(this,t);break;case G.IN_FRAMESET:VCe(this,t);break;case G.AFTER_FRAMESET:qCe(this,t);break;case G.AFTER_AFTER_BODY:XCe(this,t);break;case G.AFTER_AFTER_FRAMESET:WCe(this,t);break}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?JCe(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case G.INITIAL:gh(this,t);break;case G.BEFORE_HTML:I_e(this,t);break;case G.BEFORE_HEAD:R_e(this,t);break;case G.IN_HEAD:M_e(this,t);break;case G.IN_HEAD_NO_SCRIPT:D_e(this,t);break;case G.AFTER_HEAD:U_e(this,t);break;case G.IN_BODY:zy(this,t);break;case G.TEXT:kCe(this,t);break;case G.IN_TABLE:_m(this,t);break;case G.IN_TABLE_TEXT:bh(this,t);break;case G.IN_CAPTION:MCe(this,t);break;case G.IN_COLUMN_GROUP:LCe(this,t);break;case G.IN_TABLE_BODY:vw(this,t);break;case G.IN_ROW:xU(this,t);break;case G.IN_CELL:BCe(this,t);break;case G.IN_SELECT:AU(this,t);break;case G.IN_SELECT_IN_TABLE:jCe(this,t);break;case G.IN_TEMPLATE:FCe(this,t);break;case G.AFTER_BODY:EU(this,t);break;case G.IN_FRAMESET:HCe(this,t);break;case G.AFTER_FRAMESET:ZCe(this,t);break;case G.AFTER_AFTER_BODY:_g(this,t);break}}onEof(t){switch(this.insertionMode){case G.INITIAL:gh(this,t);break;case G.BEFORE_HTML:Vh(this,t);break;case G.BEFORE_HEAD:Hh(this,t);break;case G.IN_HEAD:qh(this,t);break;case G.IN_HEAD_NO_SCRIPT:Zh(this,t);break;case G.AFTER_HEAD:Xh(this,t);break;case G.IN_BODY:case G.IN_TABLE:case G.IN_CAPTION:case G.IN_COLUMN_GROUP:case G.IN_TABLE_BODY:case G.IN_ROW:case G.IN_CELL:case G.IN_SELECT:case G.IN_SELECT_IN_TABLE:vU(this,t);break;case G.TEXT:ACe(this,t);break;case G.IN_TABLE_TEXT:bh(this,t);break;case G.IN_TEMPLATE:TU(this,t);break;case G.AFTER_BODY:case G.IN_FRAMESET:case G.AFTER_FRAMESET:case G.AFTER_AFTER_BODY:case G.AFTER_AFTER_FRAMESET:s6(this,t);break}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCo
vendor: 4,156 bytes, line 63
63deAt(0)===F.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case G.IN_HEAD:case G.IN_HEAD_NO_SCRIPT:case G.AFTER_HEAD:case G.TEXT:case G.IN_COLUMN_GROUP:case G.IN_SELECT:case G.IN_SELECT_IN_TABLE:case G.IN_FRAMESET:case G.AFTER_FRAMESET:this._insertCharacters(t);break;case G.IN_BODY:case G.IN_CAPTION:case G.IN_CELL:case G.IN_TEMPLATE:case G.AFTER_BODY:case G.AFTER_AFTER_BODY:case G.AFTER_AFTER_FRAMESET:hU(this,t);break;case G.IN_TABLE:case G.IN_TABLE_BODY:case G.IN_ROW:IO(this,t);break;case G.IN_TABLE_TEXT:OU(this,t);break}}};function w_e(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):yU(e,t),n}function x_e(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function k_e(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);const s=e.activeFormattingElements.getElementEntry(o),l=s&&i>=O_e;!s||l?(l&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(o)):(o=A_e(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function A_e(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function T_e(e,t,n){const r=Rp(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);r===k.TEMPLATE&&a===Ce.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function E_e(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}function o6(e,t){for(let n=0;n<v_e;n++){const r=w_e(e,t);if(!r)break;const a=x_e(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const i=k_e(e,a,r.element),o=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),o&&T_e(e,o,i),E_e(e,a,r)}}function yw(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function __e(e,t){e._appendCommentNode(t,e.openElements.items[0])}function C_e(e,t){e._appendCommentNode(t,e.document)}function s6(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(r);if(a&&!a.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(i);o&&!o.endTag&&e._setEndLocation(i,t)}}}}function $_e(e,t){e._setDocumentType(t);const n=t.forceQuirks?uo.QUIRKS:o_e(t);i_e(t)||e._err(t,be.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=G.BEFORE_HTML}function gh(e,t){e._err(t,be.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,uo.QUIRKS),e.insertionMode=G.BEFORE_HTML,e._processToken(t)}function P_e(e,t){t.tagID===k.HTML?(e._insertElement(t,Ce.HTML),e.insertionMode=G.BEFORE_HEAD):Vh(e,t)}function I_e(e,t){const n=t.tagID;(n===k.HTML||n===k.HEAD||n===k.BODY||n===k.BR)&&Vh(e,t)}function Vh(e,t){e._insertFakeRootElement(),e.insertionMode=G.BEFORE_HEAD,e._processToken(t)}function N_e(e,t){switch(t.tagID){case k.HTML:za(e,t);break;case k.HEAD:e._insertElement(t,Ce.HTML),e.headElement=e.openElements.current,e.insertionMode=G.IN_HEAD;break;default:Hh(e,t)}}
vendor: 3,959 bytes, line 63
63function R_e(e,t){const n=t.tagID;n===k.HEAD||n===k.BODY||n===k.HTML||n===k.BR?Hh(e,t):e._err(t,be.endTagWithoutMatchingOpenElement)}function Hh(e,t){e._insertFakeElement(se.HEAD,k.HEAD),e.headElement=e.openElements.current,e.insertionMode=G.IN_HEAD,e._processToken(t)}function Os(e,t){switch(t.tagID){case k.HTML:za(e,t);break;case k.BASE:case k.BASEFONT:case k.BGSOUND:case k.LINK:case k.META:e._appendElement(t,Ce.HTML),t.ackSelfClosing=!0;break;case k.TITLE:e._switchToTextParsing(t,Cr.RCDATA);break;case k.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,Cr.RAWTEXT):(e._insertElement(t,Ce.HTML),e.insertionMode=G.IN_HEAD_NO_SCRIPT);break;case k.NOFRAMES:case k.STYLE:e._switchToTextParsing(t,Cr.RAWTEXT);break;case k.SCRIPT:e._switchToTextParsing(t,Cr.SCRIPT_DATA);break;case k.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=G.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(G.IN_TEMPLATE);break;case k.HEAD:e._err(t,be.misplacedStartTagForHeadElement);break;default:qh(e,t)}}function M_e(e,t){switch(t.tagID){case k.HEAD:e.openElements.pop(),e.insertionMode=G.AFTER_HEAD;break;case k.BODY:case k.BR:case k.HTML:qh(e,t);break;case k.TEMPLATE:$d(e,t);break;default:e._err(t,be.endTagWithoutMatchingOpenElement)}}function $d(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==k.TEMPLATE&&e._err(t,be.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(k.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,be.endTagWithoutMatchingOpenElement)}function qh(e,t){e.openElements.pop(),e.insertionMode=G.AFTER_HEAD,e._processToken(t)}function L_e(e,t){switch(t.tagID){case k.HTML:za(e,t);break;case k.BASEFONT:case k.BGSOUND:case k.HEAD:case k.LINK:case k.META:case k.NOFRAMES:case k.STYLE:Os(e,t);break;case k.NOSCRIPT:e._err(t,be.nestedNoscriptInHead);break;default:Zh(e,t)}}function D_e(e,t){switch(t.tagID){case k.NOSCRIPT:e.openElements.pop(),e.insertionMode=G.IN_HEAD;break;case k.BR:Zh(e,t);break;default:e._err(t,be.endTagWithoutMatchingOpenElement)}}function Zh(e,t){const n=t.type===Gt.EOF?be.openElementsLeftAfterEof:be.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=G.IN_HEAD,e._processToken(t)}function B_e(e,t){switch(t.tagID){case k.HTML:za(e,t);break;case k.BODY:e._insertElement(t,Ce.HTML),e.framesetOk=!1,e.insertionMode=G.IN_BODY;break;case k.FRAMESET:e._insertElement(t,Ce.HTML),e.insertionMode=G.IN_FRAMESET;break;case k.BASE:case k.BASEFONT:case k.BGSOUND:case k.LINK:case k.META:case k.NOFRAMES:case k.SCRIPT:case k.STYLE:case k.TEMPLATE:case k.TITLE:e._err(t,be.abandonedHeadElementChild),e.openElements.push(e.headElement,k.HEAD),Os(e,t),e.openElements.remove(e.headElement);break;case k.HEAD:e._err(t,be.misplacedStartTagForHeadElement);break;default:Xh(e,t)}}function U_e(e,t){switch(t.tagID){case k.BODY:case k.HTML:case k.BR:Xh(e,t);break;case k.TEMPLATE:$d(e,t);break;default:e._err(t,be.endTagWithoutMatchingOpenElement)}}function Xh(e,t){e._insertFakeElement(se.BODY,k.BODY),e.insertionMode=G.IN_BODY,Fy(e,t)}function Fy(e,t){switch(t.type){case Gt.CHARACTER:mU(e,t);break;case Gt.WHITESPACE_CHARACTER:hU(e,t);break;case Gt.COMMENT:yw(e,t);break;case Gt.START_TAG:za(e,t);break;case Gt.END_TAG:zy(e,t);break;case Gt.EOF:vU(e,t);break}}function hU(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function mU(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function j_e(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Q_e(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function F_e(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();
vendor: 4,932 bytes, line 63
63e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Ce.HTML),e.insertionMode=G.IN_FRAMESET)}function z_e(e,t){e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,Ce.HTML)}function V_e(e,t){e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&bw.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Ce.HTML)}function H_e(e,t){e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,Ce.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function q_e(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,Ce.HTML),n||(e.formElement=e.openElements.current))}function Z_e(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.tagIDs[r];if(n===k.LI&&a===k.LI||(n===k.DD||n===k.DT)&&(a===k.DD||a===k.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==k.ADDRESS&&a!==k.DIV&&a!==k.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,Ce.HTML)}function X_e(e,t){e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,Ce.HTML),e.tokenizer.state=Cr.PLAINTEXT}function W_e(e,t){e.openElements.hasInScope(k.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(k.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Ce.HTML),e.framesetOk=!1}function Y_e(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(se.A);n&&(o6(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Ce.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function G_e(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ce.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function K_e(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(k.NOBR)&&(o6(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Ce.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function J_e(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ce.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function eCe(e,t){e.treeAdapter.getDocumentMode(e.document)!==uo.QUIRKS&&e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,Ce.HTML),e.framesetOk=!1,e.insertionMode=G.IN_TABLE}function gU(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Ce.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function bU(e){const t=iU(e,Hu.TYPE);return t!=null&&t.toLowerCase()===y_e}function tCe(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Ce.HTML),bU(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function nCe(e,t){e._appendElement(t,Ce.HTML),t.ackSelfClosing=!0}function rCe(e,t){e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._appendElement(t,Ce.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function aCe(e,t){t.tagName=se.IMG,t.tagID=k.IMG,gU(e,t)}function iCe(e,t){e._insertElement(t,Ce.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Cr.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=G.TEXT}function oCe(e,t){e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Cr.RAWTEXT)}function sCe(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Cr.RAWTEXT)}function YT(e,t){e._switchToTextParsing(t,Cr.RAWTEXT)}function lCe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ce.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===G.IN_TABLE||e.insertionMode===G.IN_CAPTION||e.insertionMode===G.IN_TABLE_BODY||e.insertionMode===G.IN_ROW||e.insertionMode===G.IN_CELL?G.IN_SELECT_IN_TABLE:G.IN_SELECT}function cCe(e,t){e.openElements.currentTagId===k.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Ce.HTML)}function uCe(e,t){e.openElements.hasInScope(k.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Ce.HTML)}function dCe(e,t){e.openElements.hasInScope(k.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(k.RTC),e._insertElement(t,Ce.HTML)}function fCe(e,t){e._reconstructActiveFormattingElements(),dU(t),i6(t),t.selfClosing?e._appendElement(t,Ce.MATHML):e._insertElement(t,Ce.MATHML),t.ackSelfClosing=!0}function pCe(e,t){e._reconstructActiveFormattingElements(),fU(t),i6(t),t.selfClosing?e._appendElement(t,Ce.SVG):e._insertElement(t,Ce.SVG),t.ackSelfClosing=!0}function GT(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ce.HTML)}function za(e,t){switch(t.tagID){case k.I:case k.S:case k.B:case k.U:case k.E
vendor: 3,871 bytes, line 63
63M:case k.TT:case k.BIG:case k.CODE:case k.FONT:case k.SMALL:case k.STRIKE:case k.STRONG:G_e(e,t);break;case k.A:Y_e(e,t);break;case k.H1:case k.H2:case k.H3:case k.H4:case k.H5:case k.H6:V_e(e,t);break;case k.P:case k.DL:case k.OL:case k.UL:case k.DIV:case k.DIR:case k.NAV:case k.MAIN:case k.MENU:case k.ASIDE:case k.CENTER:case k.FIGURE:case k.FOOTER:case k.HEADER:case k.HGROUP:case k.DIALOG:case k.DETAILS:case k.ADDRESS:case k.ARTICLE:case k.SEARCH:case k.SECTION:case k.SUMMARY:case k.FIELDSET:case k.BLOCKQUOTE:case k.FIGCAPTION:z_e(e,t);break;case k.LI:case k.DD:case k.DT:Z_e(e,t);break;case k.BR:case k.IMG:case k.WBR:case k.AREA:case k.EMBED:case k.KEYGEN:gU(e,t);break;case k.HR:rCe(e,t);break;case k.RB:case k.RTC:uCe(e,t);break;case k.RT:case k.RP:dCe(e,t);break;case k.PRE:case k.LISTING:H_e(e,t);break;case k.XMP:oCe(e,t);break;case k.SVG:pCe(e,t);break;case k.HTML:j_e(e,t);break;case k.BASE:case k.LINK:case k.META:case k.STYLE:case k.TITLE:case k.SCRIPT:case k.BGSOUND:case k.BASEFONT:case k.TEMPLATE:Os(e,t);break;case k.BODY:Q_e(e,t);break;case k.FORM:q_e(e,t);break;case k.NOBR:K_e(e,t);break;case k.MATH:fCe(e,t);break;case k.TABLE:eCe(e,t);break;case k.INPUT:tCe(e,t);break;case k.PARAM:case k.TRACK:case k.SOURCE:nCe(e,t);break;case k.IMAGE:aCe(e,t);break;case k.BUTTON:W_e(e,t);break;case k.APPLET:case k.OBJECT:case k.MARQUEE:J_e(e,t);break;case k.IFRAME:sCe(e,t);break;case k.SELECT:lCe(e,t);break;case k.OPTION:case k.OPTGROUP:cCe(e,t);break;case k.NOEMBED:case k.NOFRAMES:YT(e,t);break;case k.FRAMESET:F_e(e,t);break;case k.TEXTAREA:iCe(e,t);break;case k.NOSCRIPT:e.options.scriptingEnabled?YT(e,t):GT(e,t);break;case k.PLAINTEXT:X_e(e,t);break;case k.COL:case k.TH:case k.TD:case k.TR:case k.HEAD:case k.FRAME:case k.TBODY:case k.TFOOT:case k.THEAD:case k.CAPTION:case k.COLGROUP:break;default:GT(e,t)}}function hCe(e,t){if(e.openElements.hasInScope(k.BODY)&&(e.insertionMode=G.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function mCe(e,t){e.openElements.hasInScope(k.BODY)&&(e.insertionMode=G.AFTER_BODY,EU(e,t))}function gCe(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function bCe(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(k.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(k.FORM):n&&e.openElements.remove(n))}function yCe(e){e.openElements.hasInButtonScope(k.P)||e._insertFakeElement(se.P,k.P),e._closePElement()}function vCe(e){e.openElements.hasInListItemScope(k.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(k.LI),e.openElements.popUntilTagNamePopped(k.LI))}function OCe(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function SCe(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function wCe(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function xCe(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(se.BR,k.BR),e.openElements.pop(),e.framesetOk=!1}function yU(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],o=e.openElements.tagIDs[a];if(r===o&&(r!==k.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,o))break}}function zy(e,t){switch(t.tagID){case k.A:case k.B:case k.I:case k.S:case k.U:case k.E
vendor: 12,423 bytes, line 63
63M:case k.TT:case k.BIG:case k.CODE:case k.FONT:case k.NOBR:case k.SMALL:case k.STRIKE:case k.STRONG:o6(e,t);break;case k.P:yCe(e);break;case k.DL:case k.UL:case k.OL:case k.DIR:case k.DIV:case k.NAV:case k.PRE:case k.MAIN:case k.MENU:case k.ASIDE:case k.BUTTON:case k.CENTER:case k.FIGURE:case k.FOOTER:case k.HEADER:case k.HGROUP:case k.DIALOG:case k.ADDRESS:case k.ARTICLE:case k.DETAILS:case k.SEARCH:case k.SECTION:case k.SUMMARY:case k.LISTING:case k.FIELDSET:case k.BLOCKQUOTE:case k.FIGCAPTION:gCe(e,t);break;case k.LI:vCe(e);break;case k.DD:case k.DT:OCe(e,t);break;case k.H1:case k.H2:case k.H3:case k.H4:case k.H5:case k.H6:SCe(e);break;case k.BR:xCe(e);break;case k.BODY:hCe(e,t);break;case k.HTML:mCe(e,t);break;case k.FORM:bCe(e);break;case k.APPLET:case k.OBJECT:case k.MARQUEE:wCe(e,t);break;case k.TEMPLATE:$d(e,t);break;default:yU(e,t)}}function vU(e,t){e.tmplInsertionModeStack.length>0?TU(e,t):s6(e,t)}function kCe(e,t){var n;t.tagID===k.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function ACe(e,t){e._err(t,be.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function IO(e,t){if(e.openElements.currentTagId!==void 0&&pU.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=G.IN_TABLE_TEXT,t.type){case Gt.CHARACTER:SU(e,t);break;case Gt.WHITESPACE_CHARACTER:OU(e,t);break}else $0(e,t)}function TCe(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Ce.HTML),e.insertionMode=G.IN_CAPTION}function ECe(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Ce.HTML),e.insertionMode=G.IN_COLUMN_GROUP}function _Ce(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(se.COLGROUP,k.COLGROUP),e.insertionMode=G.IN_COLUMN_GROUP,l6(e,t)}function CCe(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Ce.HTML),e.insertionMode=G.IN_TABLE_BODY}function $Ce(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(se.TBODY,k.TBODY),e.insertionMode=G.IN_TABLE_BODY,Vy(e,t)}function PCe(e,t){e.openElements.hasInTableScope(k.TABLE)&&(e.openElements.popUntilTagNamePopped(k.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function ICe(e,t){bU(t)?e._appendElement(t,Ce.HTML):$0(e,t),t.ackSelfClosing=!0}function NCe(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Ce.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Gf(e,t){switch(t.tagID){case k.TD:case k.TH:case k.TR:$Ce(e,t);break;case k.STYLE:case k.SCRIPT:case k.TEMPLATE:Os(e,t);break;case k.COL:_Ce(e,t);break;case k.FORM:NCe(e,t);break;case k.TABLE:PCe(e,t);break;case k.TBODY:case k.TFOOT:case k.THEAD:CCe(e,t);break;case k.INPUT:ICe(e,t);break;case k.CAPTION:TCe(e,t);break;case k.COLGROUP:ECe(e,t);break;default:$0(e,t)}}function _m(e,t){switch(t.tagID){case k.TABLE:e.openElements.hasInTableScope(k.TABLE)&&(e.openElements.popUntilTagNamePopped(k.TABLE),e._resetInsertionMode());break;case k.TEMPLATE:$d(e,t);break;case k.BODY:case k.CAPTION:case k.COL:case k.COLGROUP:case k.HTML:case k.TBODY:case k.TD:case k.TFOOT:case k.TH:case k.THEAD:case k.TR:break;default:$0(e,t)}}function $0(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Fy(e,t),e.fosterParentingEnabled=n}function OU(e,t){e.pendingCharacterTokens.push(t)}function SU(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function bh(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)$0(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}var wU=new Set([k.CAPTION,k.COL,k.COLGROUP,k.TBODY,k.TD,k.TFOOT,k.TH,k.THEAD,k.TR]);function RCe(e,t){const n=t.tagID;wU.has(n)?e.openElements.hasInTableScope(k.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(k.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=G.IN_TABLE,Gf(e,t)):za(e,t)}function MCe(e,t){const n=t.tagID;switch(n){case k.CAPTION:case k.TABLE:e.openElements.hasInTableScope(k.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(k.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=G.IN_TABLE,n===k.TABLE&&_m(e,t));break;case k.BODY:case k.COL:case k.COLGROUP:case k.HTML:case k.TBODY:case k.TD:case k.TFOOT:case k.TH:case k.THEAD:case k.TR:break;default:zy(e,t)}}function l6(e,t){switch(t.tagID){case k.HTML:za(e,t);break;case k.COL:e._appendElement(t,Ce.HTML),t.ackSelfClosing=!0;break;case k.TEMPLATE:Os(e,t);break;default:E2(e,t)}}function LCe(e,t){switch(t.tagID){case k.COLGROUP:e.openElements.currentTagId===k.COLGROUP&&(e.openElements.pop(),e.insertionMode=G.IN_TABLE);break;case k.TEMPLATE:$d(e,t);break;case k.COL:break;default:E2(e,t)}}function E2(e,t){e.openElements.currentTagId===k.COLGROUP&&(e.openElements.pop(),e.insertionMode=G.IN_TABLE,e._processToken(t))}function Vy(e,t){switch(t.tagID){case k.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Ce.HTML),e.insertionMode=G.IN_ROW;break;case k.TH:case k.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(se.TR,k.TR),e.insertionMode=G.IN_ROW,Hy(e,t);break;case k.CAPTION:case k.COL:case k.COLGROUP:case k.TBODY:case k.TFOOT:case k.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=G.IN_TABLE,Gf(e,t));break;default:Gf(e,t)}}function vw(e,t){const n=t.tagID;switch(t.tagID){case k.TBODY:case k.TFOOT:case k.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=G.IN_TABLE);break;case k.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=G.IN_TABLE,_m(e,t));break;case k.BODY:case k.CAPTION:case k.COL:case k.COLGROUP:case k.HTML:case k.TD:case k.TH:case k.TR:break;default:_m(e,t)}}function Hy(e,t){switch(t.tagID){case k.TH:case k.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,Ce.HTML),e.insertionMode=G.IN_CELL,e.activeFormattingElements.insertMarker();break;case k.CAPTION:case k.COL:case k.COLGROUP:case k.TBODY:case k.TFOOT:case k.THEAD:case k.TR:e.openElements.hasInTableScope(k.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=G.IN_TABLE_BODY,Vy(e,t));break;default:Gf(e,t)}}function xU(e,t){switch(t.tagID){case k.TR:e.openElements.hasInTableScope(k.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=G.IN_TABLE_BODY);break;case k.TABLE:e.openElements.hasInTableScope(k.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=G.IN_TABLE_BODY,vw(e,t));break;case k.TBODY:case k.TFOOT:case k.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(k.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=G.IN_TABLE_BODY,vw(e,t));break;case k.BODY:case k.CAPTION:case k.COL:case k.COLGROUP:case k.HTML:case k.TD:case k.TH:break;default:_m(e,t)}}function DCe(e,t){const n=t.tagID;wU.has(n)?(e.openElements.hasInTableScope(k.TD)||e.openElements.hasInTableScope(k.TH))&&(e._closeTableCell(),Hy(e,t)):za(e,t)}function BCe(e,t){const n=t.tagID;switch(n){case k.TD:case k.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=G.IN_ROW);break;case k.TABLE:case k.TBODY:case k.TFOOT:case k.THEAD:case k.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),xU(e,t));break;case k.BODY:case k.CAPTION:case k.COL:case k.COLGROUP:case k.HTML:break;default:zy(e,t)}}function kU(e,t){switch(t.tagID){case k.HTML:za(e,t);break;case k.OPTION:e.openElements.currentTagId===k.OPTION&&e.openElements.pop(),e._insertElement(t,Ce.HTML);break;case k.OPTGROUP:e.openElements.currentTagId===k.OPTION&&e.openElements.pop(),e.openElements.currentTagId===k.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Ce.HTML);break;case k.HR:e.openElements.currentTagId===k.OPTION&&e.openElements.pop(),e.openElements.currentTagId===k.OPTGROUP&&e.openElements.pop(),e._appendElement(t,Ce.HTML),t.ackSelfClosing=!0;break;case k.INPUT:case k.KEYGEN:case k.TEXTAREA:case k.SELECT:e.openElements.hasInSelectScope(k.SELECT)&&(e.openElements.popUntilTagNamePopped(k.SELECT),e._resetInsertionMode(),t.tagID!==k.SELECT&&e._processStartTag(t));break;case k.SCRIPT:case k.TEMPLATE:Os(e,t);break}}function AU(e,t){switch(t.tagID){case k.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===k.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===k.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===k.OPTGROUP&&e.openElements.pop();break;case k.OPTION:e.openElements.currentTagId===k.OPTION&&e.openElements.pop();break;case k.SELECT:e.openElements.hasInSelectScope(k.SELECT)&&(e.openElements.popUntilTagNamePopped(k.SELECT),e._resetInsertionMode());break;case k.TEMPLATE:$d(e,t);break}}function UCe(e,t){const n=t.tagID;n===k.CAPTION||n===k.TABLE||n===k.TBODY||n===k.TFOOT||n===k.THEAD||n===k.TR||n===k.TD||n===k.TH?(e.openElements.popUntilTagNamePopped(k.SELECT),e._resetInsertionMode(),e._processStartTag(t)):kU(e,t)}function jCe(e,t){const n=t.tagID;n===k.CAPTION||n===k.TABLE||n===k.TBODY||n===k.TFOOT||n===k.THEAD||n===k.TR||n===k.TD||n===k.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(k.SELECT),e._resetInsertionMode(),e.onEndTag(t)):AU(e,t)}function QCe(e,t){switch(t.tagID){case k.BASE:case k.BASEFONT:case k.BGSOUND:case k.LINK:case k.META:case k.NOFRAMES:case k.SCRIPT:case k.STYLE:case k.TEMPLATE:case k.TITLE:Os(e,t);break;case k.CAPTION:case k.COLGROUP:case k.TBODY:case k.TFOOT:case k.THEAD:e.tmplInsertionModeStack[0]=G.IN_TABLE,e.insertionMode=G.IN_TABLE,Gf(e,t);break;case k.COL:e.tmplInsertionModeStack[0]=G.IN_COLUMN_GROUP,e.insertionMode=G.IN_COLUMN_GROUP,l6(e,t);break;case k.TR:e.tmplInsertionModeStack[0]=G.IN_TABLE_BODY,e.insertionMode=G.IN_TABLE_BODY,Vy(e,t);break;case k.TD:case k.TH:e.tmplInsertionModeStack[0]=G.IN_ROW,e.insertionMode=G.IN_ROW,Hy(e,t);break;default:e.tmplInsertionModeStack[0]=G.IN_BODY,e.insertionMode=G.IN_BODY,za(e,t)}}function FCe(e,t){t.tagID===k.TEMPLATE&&$d(e,t)}function TU(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(k.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):s6(e,t)}function zCe(e,t){t.tagID===k.HTML?za(e,t):_2(e,t)}function EU(e,t){var n;if(t.tagID===k.HTML){if(e.fragmentContext||(e.insertionMode=G.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===k.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else _2(e,t)}function _2(e,t){e.insertionMode=G.IN_BODY,Fy(e,t)}function VCe(e,t){switch(t.tagID){case k.HTML:za(e,t);break;case k.FRAMESET:e._insertElement(t,Ce.HTML);break;case k.FRAME:e._appendElement(t,Ce.HTML),t.ackSelfClosing=!0;break;case k.NOFRAMES:Os(e,t);break}}function HCe(e,t){t.tagID===k.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==k.FRAMESET&&(e.insertionMode=G.AFTER_FRAMESET))}function qCe(e,t){switch(t.tagID){case k.HTML:za(e,t);break;case k.NOFRAMES:Os(e,t);break}}function ZCe(e,t){t.tagID===k.HTML&&(e.insertionMode=G.AFTER_AFTER_FRAMESET)}function XCe(e,t){t.tagID===k.HTML?za(e,t):_g(e,t)}function _g(e,t){e.insertionMode=G.IN_BODY,Fy(e,t)}function WCe(e,t){switch(t.tagID){case k.HTML:za(e,t);break;case k.NOFRAMES:Os(e,t);break}}function YCe(e,t){t.chars="�",e._insertCharacters(t)}function GCe(e,t){e._insertCharacters(t),e.framesetOk=!1}function _U(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Ce.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
vendor: 4,911 bytes, line 63
63penElements.current);)e.openElements.pop()}function KCe(e,t){if(p_e(t))_U(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Ce.MATHML?dU(t):r===Ce.SVG&&(h_e(t),fU(t)),i6(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function JCe(e,t){if(t.tagID===k.P||t.tagID===k.BR){_U(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===Ce.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}se.AREA,se.BASE,se.BASEFONT,se.BGSOUND,se.BR,se.COL,se.EMBED,se.FRAME,se.HR,se.IMG,se.INPUT,se.KEYGEN,se.LINK,se.META,se.PARAM,se.SOURCE,se.TRACK,se.WBR;function e7e(e,t){return T2.parse(e,t)}function t7e(e,t,n){typeof e=="string"&&(n=t,t=e,e=null);const r=T2.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}function Wh(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?KT(e.position):"start"in e||"end"in e?KT(e):"line"in e||"column"in e?Ow(e):""}function Ow(e){return JT(e&&e.line)+":"+JT(e&&e.column)}function KT(e){return Ow(e&&e.start)+"-"+Ow(e&&e.end)}function JT(e){return e&&typeof e=="number"?e:1}var ri=class extends Error{constructor(e,t,n){super(),typeof t=="string"&&(n=t,t=void 0);let r="",a={},i=!1;if(t&&("line"in t&&"column"in t?a={place:t}:"start"in t&&"end"in t?a={place:t}:"type"in t?a={ancestors:[t],place:t.position}:a={...t}),typeof e=="string"?r=e:!a.cause&&e&&(i=!0,r=e.message,a.cause=e),!a.ruleId&&!a.source&&typeof n=="string"){const s=n.indexOf(":");s===-1?a.ruleId=n:(a.source=n.slice(0,s),a.ruleId=n.slice(s+1))}if(!a.place&&a.ancestors&&a.ancestors){const s=a.ancestors[a.ancestors.length-1];s&&(a.place=s.position)}const o=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=Wh(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=i&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}};ri.prototype.file="";ri.prototype.name="";ri.prototype.reason="";ri.prototype.message="";ri.prototype.stack="";ri.prototype.column=void 0;ri.prototype.line=void 0;ri.prototype.ancestors=void 0;ri.prototype.cause=void 0;ri.prototype.fatal=void 0;ri.prototype.place=void 0;ri.prototype.ruleId=void 0;ri.prototype.source=void 0;var Ns={basename:n7e,dirname:r7e,extname:a7e,join:i7e,sep:"/"};function n7e(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');P0(e);let n=0,r=-1,a=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){n=a+1;break}}else r<0&&(i=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){n=a+1;break}}else o<0&&(i=!0,o=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(r=a):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function r7e(e){if(P0(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function a7e(e){P0(e);let t=e.length,n=-1,r=0,a=-1,i=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||n<0||i===0||i===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function i7e(...e){let t=-1,n;for(;++t<e.length;)P0(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":o7e(n)}function o7e(e){P0(e);const t=e.codePointAt(0)===47;let n=s7e(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function s7e(e,t){let n="",r=0,a=-1,i=0,o=-1,s,l;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(a===o-1||i===1))if(a!==o-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),a=o,i=0;continue}}else if(n.length>0){n="",r=0,a=o,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(a+1,o):n=e.slice(a+1,o),r=o-a-1;a=o,i=0}else s===46&&i>-1?i++:i=-1}return n}function P0(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var l7e={cwd:c7e};function c7e(){return"/"}function Sw(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}
vendor: 7,973 bytes, line 63
63function u7e(e){if(typeof e=="string")e=new URL(e);else if(!Sw(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return d7e(e)}function d7e(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}var NO=["history","path","basename","stem","extname","dirname"],ww=class{constructor(e){let t;e?Sw(e)?t={path:e}:typeof e=="string"||f7e(e)?t={value:e}:t=e:t={},this.cwd="cwd"in t?"":l7e.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<NO.length;){const a=NO[n];a in t&&t[a]!==void 0&&t[a]!==null&&(this[a]=a==="history"?[...t[a]]:t[a])}let r;for(r in t)NO.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path=="string"?Ns.basename(this.path):void 0}set basename(e){MO(e,"basename"),RO(e,"basename"),this.path=Ns.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?Ns.dirname(this.path):void 0}set dirname(e){eE(this.basename,"dirname"),this.path=Ns.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?Ns.extname(this.path):void 0}set extname(e){if(RO(e,"extname"),eE(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ns.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Sw(e)&&(e=u7e(e)),MO(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?Ns.basename(this.path,this.extname):void 0}set stem(e){MO(e,"stem"),RO(e,"stem"),this.path=Ns.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new ri(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}};function RO(e,t){if(e&&e.includes(Ns.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ns.sep+"`")}function MO(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function eE(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function f7e(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var p7e={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"}
63,missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}},h7e="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",m7e=/-[a-z]/g,g7e=/%c(?:([-+])(\d+))?/g,b7e=/%x/g,y7e={2:!0,1:!1,
630:null},v7e={};function O7e(e,t){const n=t||v7e,r=n.onerror,a=e instanceof ww?e:new ww(e),i=n.fragment?t7e:e7e,o=String(a);return eU(i(o,{sourceCodeLocationInfo:!0,onParseError:n.onerror?s:null,scriptingEnabled:!1}),{file:a,space:n.space,verbose:n.verbose});function s(l){const c=l.code,u=S7e(c),d=n[u],f=d??!0,p=typeof f=="number"?f:f?1:0;if(p){const b=p7e[u],y=new ri(h(b.reason),{place:{start:{line:l.startLine,column:l.startCol,offset:l.startOffset},end:{line:l.endLine,column:l.endCol,offset:l.endOffset}},ruleId:c,source:"hast-util-from-html"});a.path&&(y.file=a.path,y.name=a.path+":"+y.name),y.fatal=y7e[p],y.note=h(b.description),y.url=b.url===!1?void 0:h7e+c,r(y)}function h(b){return b.replace(g7e,y).replace(b7e,O);function y(A,x,T){const E=(T?Number.parseInt(T,10):0)*(x==="-"?-1:1);return x7e(o.charAt(l.startOffset+E))}function O(){return k7e(o.charCodeAt(l.startOffset))}}}}function S7e(e){return e.replace(m7e,w7e)}function w7e(e){return e.charAt(1).toUpperCase()}function x7e(e){return e==="`"?"` ` `":e}function k7e(e){return"0x"+e.toString(16).toUpperCase()}function CU(e){const t=this,{emitParseErrors:n,...r}={...t.data("settings"),...e};t.parser=a;function a(i,o){return O7e(i,{...r,onerror:n?function(s){o.path&&(s.name=o.path+":"+s.name,s.file=o.path),o.messages.push(s)}:void 0})}}var $U=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],tE={}.hasOwnProperty;function qy(e,t){const n=t||{};function r(a,...i){let o=r.invalid;const s=r.handlers;if(a&&tE.call(a,e)){const l=String(a[e]);o=tE.call(s,l)?s[l]:r.unknown}if(o)return o.call(this,a,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var A7e=/["&'<>`]/g,T7e=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,E7e=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,_7e=/[|\\{}()[\]^$+*?.]/g,nE=new WeakMap;function C7e(e,t){if(e=e.replace(t.subset?$7e(t.subset):A7e,r),t.subset||t.escapeOnly)return e;return e.replace(T7e,n).replace(E7e,r);function n(a,i,o){return t.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,o.charCodeAt(i+2),t)}function r(a,i,o){return t.format(a.charCodeAt(0),o.charCodeAt(i+1),t)}}function $7e(e){let t=nE.get(e);return t||(t=P7e(e),nE.set(e,t)),t}function P7e(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(_7e,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}var I7e=/[\dA-Fa-f]/;function N7e(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!I7e.test(String.fromCharCode(t))?r:r+";"}var R7e=/\d/;function M7e(e,t,n){const r="&#"+String(e);return n&&t&&!R7e.test(String.fromCharCode(t))?r:r+";"}var L7e=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","
63sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],LO={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"Â¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"Â",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"Ã",Aacute:"Ã",Acirc:"Ã",Atilde:"Ã",Auml:"Ã",Aring:"Ã
",AElig:"Ã",Ccedil:"Ã",Egrave:"Ã",Eacute:"Ã",Ecirc:"Ã",Euml:"Ã",Igrave:"Ã",Iacute:"Ã",Icirc:"Ã",Iuml:"Ã",ETH:"Ã",Ntilde:"Ã",Ograve:"Ã",Oacute:"Ã",Ocirc:"Ã",Otilde:"Ã",Ouml:"Ã",times:"Ã",Oslash:"Ã",Ugrave:"Ã",Uacute:"Ã",Ucirc:"Ã",Uuml:"Ã",Yacute:"Ã",THORN:"Ã",szlig:"Ã",agrave:"à ",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"Ã¥",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"Ã",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"Æ",Alpha:"Î",Beta:"Î",Gamma:"Î",Delta:"Î",Epsilon:"Î",Zeta:"Î",Eta:"Î",Theta:"Î",Iota:"Î",Kappa:"Î",Lambda:"Î",Mu:"Î",Nu:"Î",Xi:"Î",Omicron:"Î",Pi:"Î ",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Î¥",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"Ï",rho:"Ï",sigmaf:"Ï",sigma:"Ï",tau:"Ï",upsilon:"Ï
",phi:"Ï",chi:"Ï",psi:"Ï",omega:"Ï",thetasym:"Ï",upsih:"Ï",piv:"Ï",bull:"â¢",hellip:"â¦",prime:"â²",Prime:"â³",oline:"â¾",frasl:"â",weierp:"â",image:"â",real:"â",trade:"â¢",alefsym:"âµ",larr:"â",uarr:"â",rarr:"â",darr:"â",harr:"â",crarr:"âµ",lArr:"â",uArr:"â",rArr:"â",dArr:"â",hArr:"â",forall:"â",part:"â",exist:"â",empty:"â
",nabla:"â",isin:"â",notin:"â",ni:"â",prod:"â",sum:"â",minus:"â",lowast:"â",radic:"â",prop:"â",infin:"â",ang:"â ",and:"â§",or:"â¨",cap:"â©",cup:"âª",int:"â«",there4:"â´",sim:"â¼",cong:"â
",asymp:"â",ne:"â ",equiv:"â¡",le:"â¤",ge:"â¥",sub:"â",sup:"â",nsub
vendor: 5,703 bytes, lines 63-65
63:"â",sube:"â",supe:"â",oplus:"â",otimes:"â",perp:"â¥",sdot:"â ",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",lang:"â©",rang:"âª",loz:"â",spades:"â ",clubs:"â£",hearts:"â¥",diams:"â¦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Å",oelig:"Å",Scaron:"Å ",scaron:"Å¡",Yuml:"Ÿ",circ:"Ë",tilde:"Ë",ensp:"â",emsp:"â",thinsp:"â",zwnj:"â",zwj:"â",lrm:"â",rlm:"â",ndash:"â",mdash:"â",lsquo:"â",rsquo:"â",sbquo:"â",ldquo:"â",rdquo:"â",bdquo:"â",dagger:"â ",Dagger:"â¡",permil:"â°",lsaquo:"â¹",rsaquo:"âº",euro:"â¬"},D7e=["cent","copy","divide","gt","lt","not","para","times"],PU={}.hasOwnProperty,xw={},E1;for(E1 in LO)PU.call(LO,E1)&&(xw[LO[E1]]=E1);var B7e=/[^\dA-Za-z]/;function U7e(e,t,n,r){const a=String.fromCharCode(e);if(PU.call(xw,a)){const i=xw[a],o="&"+i;return n&&L7e.includes(i)&&!D7e.includes(i)&&(!r||t&&t!==61&&B7e.test(String.fromCharCode(t)))?o:o+";"}return""}function j7e(e,t,n){let r=N7e(e,t,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=U7e(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const i=M7e(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return a&&(!n.useShortestReferences||a.length<r.length)?a:r}function kf(e,t){return C7e(e,Object.assign({format:j7e},t))}var Q7e=/^>|^->|<!--|-->|--!>|<!-$/g,F7e=[">"],z7e=["<",">"];function V7e(e,t,n,r){return r.settings.bogusComments?"<?"+kf(e.value,Object.assign({},r.settings.characterReferences,{subset:F7e}))+">":"<!--"+e.value.replace(Q7e,a)+"-->";function a(i){return kf(i,Object.assign({},r.settings.characterReferences,{subset:z7e}))}}function H7e(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function C2(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}var q7e=/[ \t\n\f\r]/g;function qu(e){return typeof e=="object"?e.type==="text"?rE(e.value):!1:rE(e)}function rE(e){return e.replace(q7e,"")===""}var ta=NU(1),IU=NU(-1),Z7e=[];function NU(e){return t;function t(n,r,a){const i=n?n.children:Z7e;let o=(r||0)+e,s=i[o];if(!a)for(;s&&qu(s);)o+=e,s=i[o];return s}}var X7e={}.hasOwnProperty;function RU(e){return t;function t(n,r,a){return X7e.call(e,n.tagName)&&e[n.tagName](n,r,a)}}var c6=RU({body:Y7e,caption:DO,colgroup:DO,dd:e$e,dt:J7e,head:DO,html:W7e,li:K7e,optgroup:t$e,option:n$e,p:G7e,rp:aE,rt:aE,tbody:a$e,td:iE,tfoot:i$e,th:iE,thead:r$e,tr:o$e});function DO(e,t,n){const r=ta(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&qu(r.value.charAt(0)))}function W7e(e,t,n){const r=ta(n,t);return!r||r.type!=="comment"}function Y7e(e,t,n){const r=ta(n,t);return!r||r.type!=="comment"}function G7e(e,t,n){const r=ta(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function K7e(e,t,n){const r=ta(n,t);return!r||r.type==="element"&&r.tagName==="li"}function J7e(e,t,n){const r=ta(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function e$e(e,t,n){const r=ta(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function aE(e,t,n){const r=ta(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function t$e(e,t,n){const r=ta(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function n$e(e,t,n){const r=ta(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function r$e(e,t,n){const r=ta(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function a$e(e,t,n){const r=ta(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function i$e(e,t,n){return!ta(n,t)}function o$e(e,t,n){const r=ta(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function iE(e,t,n){const r=ta(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}var s$e=RU({body:u$e,colgroup:d$e,head:c$e,html:l$e,tbody:f$e});function l$e(e){const t=ta(e,-1);return!t||t.type!=="comment"}function c$e(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function u$e(e){const t=ta(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&qu(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function d$e(e,t,n){const r=IU(n,t),a=ta(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&c6(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function f$e(e,t,n){const r=IU(n,t),a=ta(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&c6(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}var _1={name:[[` 64\f\r &/=>`.split(""),` 65\f\r "&'/=>
65\``.split("")],[`\0 66\f\r "&'/<=>`.split(""),`\0 67\f\r "&'/<=>\``.split("")]],unquoted:[[` 68\f\r &>`.split(""),`\0 69\f\r "&'<=>\``.split("")],[`\0 70\f\r "&'<=>\``.split(""),`\0 71\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function p$e(e,t,n,r){const a=r.schema,i=a.space==="svg"?!1:r.settings.omitOptionalTags;let o=a.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const s=[];let l;a.space==="html"&&e.tagName==="svg"&&(r.schema=Cd);const c=h$e(r,e.properties),u=r.all(a.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=a,u&&(o=!1),(c||!i||!s$e(e,t,n))&&(s.push("<",e.tagName,c?" "+c:""),o&&(a.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&s.push(" "),s.push("/")),s.push(">")),s.push(u),!o&&(!i||!c6(e,t,n))&&s.push("</"+e.tagName+">"),s.join("")}function h$e(e,t){const n=[];let r=-1,a;if(t){for(a in t)if(t[a]!==null&&t[a]!==void 0){const i=m$e(e,a,t[a]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function m$e(e,t,n){const r=Qy(e.schema,t),a=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let o=e.quote,s;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=kf(r.attribute,Object.assign({},e.settings.characterReferences,{subset:_1.name[a][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?YB:GB)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(s=kf(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:_1.unquoted[a][i]}))),s!==n&&(e.settings.quoteSmart&&C2(n,o)>C2(n,e.alternative)&&(o=e.alternative),s=o+kf(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?_1.single:_1.double)[a][i],attribute:!0}))+o),l+(s&&"="+s))}var g$e=["<","&"];function MU(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:kf(e.value,Object.assign({},r.settings.characterReferences,{subset:g$e}))}function b$e(e,t,n,r){return r.settings.allowDangerousHtml?e.value:MU(e,t,n,r)}function y$e(e,t,n,r){return r.all(e)}var v$e=qy("type",{invalid:O$e,unknown:S$e,handlers:{comment:V7e,doctype:H7e,element:p$e,raw:b$e,root:y$e,text:MU}});function O$e(e){throw new Error("Expected node, not `"+e+"`")}function S$e(e){throw new Error("Cannot compile unknown node `"+e.type+"`")}var w$e={},x$e={},k$e=[];function A$e(e,t){const n=t||w$e,r=n.quote||'"',a=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:T$e,all:E$e,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||$U,characterReferences:n.characterReferences||x$e,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Cd:C0,quote:r,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function T$e(e,t,n){return v$e(e,t,n,this)}function E$e(e){const t=[],n=e&&e.children||k$e;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function u6(e){const t=this,n={...t.data("settings"),...e};t.compiler=r;function r(a){return A$e(a,n)}}function oE(e){if(e)throw e}var BO=hB(fB(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(d){return typeof Array.isArray=="function"?Array.isArray(d):r.call(d)==="[object Array]"},s=function(d){if(!d||r.call(d)!=="[object Object]")return!1;
vendor: 5,724 bytes, line 71
71var f=n.call(d,"constructor"),p=d.constructor&&d.constructor.prototype&&n.call(d.constructor.prototype,"isPrototypeOf");if(d.constructor&&!f&&!p)return!1;var h;for(h in d);return typeof h>"u"||n.call(d,h)},l=function(d,f){a&&f.name==="__proto__"?a(d,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):d[f.name]=f.newValue},c=function(d,f){if(f==="__proto__")if(n.call(d,f)){if(i)return i(d,f).value}else return;return d[f]};t.exports=function u(){var d,f,p,h,b,y,O=arguments[0],A=1,x=arguments.length,T=!1;for(typeof O=="boolean"&&(T=O,O=arguments[1]||{},A=2),(O==null||typeof O!="object"&&typeof O!="function")&&(O={});A<x;++A)if(d=arguments[A],d!=null)for(f in d)p=c(O,f),h=c(d,f),O!==h&&(T&&h&&(s(h)||(b=o(h)))?(b?(b=!1,y=p&&o(p)?p:[]):y=p&&s(p)?p:{},l(O,{name:f,newValue:u(T,y,h)})):typeof h<"u"&&l(O,{name:f,newValue:h}));return O}}))(),1);function kw(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function _$e(){const e=[],t={run:n,use:r};return t;function n(...a){let i=-1;const o=a.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...a);function s(l,...c){const u=e[++i];let d=-1;if(l){o(l);return}for(;++d<a.length;)(c[d]===null||c[d]===void 0)&&(c[d]=a[d]);a=c,u?C$e(u,s)(...c):o(null,...c)}}function r(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function C$e(e,t){let n;return r;function r(...o){const s=e.length>o.length;let l;s&&o.push(a);try{l=e.apply(this,o)}catch(c){const u=c;if(s&&n)throw u;return a(u)}s||(l&&l.then&&typeof l.then=="function"?l.then(i,a):l instanceof Error?a(l):i(l))}function a(o,...s){n||(n=!0,t(o,...s))}function i(o){a(null,o)}}var $$e=(function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),P$e={}.hasOwnProperty,Pd=new class LU extends $$e{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=_$e()}copy(){const t=new LU;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data((0,BO.default)(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(QO("data",this.frozen),this.namespace[t]=n,this):P$e.call(this.namespace,t)&&this.namespace[t]||void 0:t?(QO("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const a=n.call(t,...r);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=C1(t),r=this.parser||this.Parser;return UO("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),UO("process",this.parser||this.Parser),jO("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(i,o){const s=C1(t),l=r.parse(s);r.run(l,s,function(u,d,f){if(u||!d||!f)return c(u);const p=d,h=r.stringify(p,f);N$e(h)?f.value=h:f.result=h,c(u,f)});function c(u,d){u||!d?o(u):i?i(d):n(void 0,d)}}}processSync(t){let n=!1,r;return this.freeze(),UO("processSync",this.parser||this.Parser),jO("processSync",this.compiler||this.Compiler),this.process(t,a),lE("processSync","process",n),r;function a(i,o){n=!0,oE(i),r=o}}run(t,n,r){sE(t),this.freeze();const a=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(o,s){const l=C1(n);a.run(t,l,c);function c(u,d,f){const p=d||t;u?s(u):o?o(p):r(void 0,p,f)}}}runSync(t,n){let r=!1,a;return this.run(t,n,i),lE("runSync","run",r),a;function i(o,s){oE(o),a=s,r=!0}}stringify(t,n){this.freeze();const r=C1(n),a=this.compiler||this.Compiler;return jO("stringify",a),sE(t),a(t,r)}use(t,...n){const r=this.attachers,a=this.namespace;if(QO("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?s(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[u,...d]=c;l(u,d)}else o(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function o(c){if(!("plugins"in c)&&!("settings"in c))throw new 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");s(c.plugins),c.settings&&(a.settings=(0,BO.default)(!0,a.settings,c.settings))}function s(c){let u=-1;if(c!=null)if(Array.isArray(c))for(;++u<c.length;){const d=c[u];i(d)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,u){let d=-1,f=-1;for(;++d<r.length;)if(r[d][0]===c){f=d;break}if(f===-1)r.push([c,...u]);else if(u.length>0){let[p,...h]=u;const b=r[f][1];kw(b)&&kw(p)&&(p=(0,BO.default)(!0,b,p)),r[f]=[c,p,...h]}}}}().freeze();function UO(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function jO(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function QO(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function sE(e){if(!kw(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}
71function lE(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function C1(e){return I$e(e)?e:new ww(e)}function I$e(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function N$e(e){return typeof e=="string"||R$e(e)}function R$e(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}function $2(e){return e?.type==="text"}function DU(e){return e?.type==="element"}function cE(e){return{type:"text",value:e}}function M$e(){return{type:"text",value:` 72`}}function L$e(){return e=>{ao(e,"element",(t,n,r)=>{if(r?.type==="element"&&r.tagName==="pre"&&t.tagName==="code"){let a=0;t.children=BU(t),t.children.forEach(i=>{if(i.type==="element"&&i.tagName==="span"){const o=i.children[i.children.length-1];o&&(!$2(o)||$2(o)&&!P2(o))&&(i.children.push(M$e()),a++)}}),t.properties.style=[`--line-count: ${a};`,`--line-digits: ${a.toString().length};`]}})}}function BU(e,t=[],n){const r=()=>t[t.length-1]??(t.push(uE())&&t[t.length-1]||void 0);return e.children.forEach(a=>{if($2(a)&&P2(a)){const i=a.value.split(/\n/);i.forEach((o,s)=>{n?r()?.children.push({...e,children:[cE(o)]}):r()?.children.push(cE(o)),s!==i.length-1&&t.push(uE())})}else DU(a)&&a.children.some(P2)?BU(a,t,!0):r()?.children.push(a)}),t}function uE(...e){return{type:"element",tagName:"span",properties:{class:["line"]},children:e}}function P2(e){return $2(e)&&/\r?\n/.test(e.value)||DU(e)&&e.children.some(P2)}function D$e(e,t){const n=(typeof t?.maskCredentials=="string"?[t.maskCredentials]:t?.maskCredentials??[]).filter(o=>!(o.length<3)),r=`language-${mB[t.lang]??t.lang}`,a=(()=>{}),i=Pd().use(CU,{fragment:!0}).use(B$e(e)).use(wB,{languages:t.languages}).use(t?.lineNumbers?L$e:a).use(u6).processSync(`<pre><code class="${r}"></code></pre>`).toString();return n.length?n.reduce((o,s)=>o.split(s).join(`<span class="credential"><span class="credential-value">${s}</span></span>`),i):i}function B$e(e){return()=>t=>{ao(t,"element",n=>{n.tagName==="code"&&n.children.push({type:"text",value:e})})}}var U$e=["note","tip","important","warning","caution","success"];function dE(e){return e.type==="text"&&typeof e.value=="string"&&/^\s*$/.test(e.value)}function j$e(){return e=>{ao(e,"element",(t,n,r)=>{if(t.tagName!=="blockquote"||typeof n!="number"||!r||r.type!=="root")return;const a=t.children.findIndex(u=>!dE(u));if(a===-1)return;const i=t.children[a];if(!i||i.type!=="element"||i.tagName!=="p")return;const o=i.children[0];if(!o||o.type!=="text"||!o.value.startsWith("[!"))return;const s=o.value.indexOf("]");if(s===-1)return;const l=o.value.slice(2,s).toLowerCase();if(!U$e.includes(l))return;if(s+1===o.value.length){const u=i.children[1];if(u){if(u.type!=="element"||u.tagName!=="br"||!i.children[2])return;i.children=i.children.slice(2);const d=i.children[0];d&&d.type==="text"&&d.value.charAt(0)===` 73`&&(d.value=d.value.slice(1))}else{const d=a+1<t.children.length&&dE(t.children[a+1])?a+2:a+1;if(d>=t.children.length||t.children[d]?.type!=="element")return;t.children=t.children.slice(d)}}else o.value.charAt(s+1)===` 74`&&(s+2===o.value.length||!/^\s*$/.test(o.value.slice(s+2)))?o.value=o.value.slice(s+2):o.value=o.value.replace(/^\s*\[!.*?\]\s*/,"");const c=[];for(let u=a;u<t.children.length;u++){const d=t.children[u];d?.type==="element"&&d.tagName==="p"&&d.children?c.push(...d.children):c.push(d)}r.children[n]={type:"element",tagName:"div",properties:{className:["markdown-alert",`markdown-alert-${l}`]},children:[{type:"element",tagName:"div",properties:{className:["markdown-alert-icon"]},children:[]},{type:"element",tagName:"div",properties:{className:["markdown-alert-content"]},children:[{type:"text",value:" "},...c]}]}})}}var fE=typeof self=="object"?self:globalThis,Q$e=(e,t)=>
74{const n=(a,i)=>(e.set(i,a),a),r=a=>{if(e.has(a))return e.get(a);const[i,o]=t[a];switch(i){case 0:case-1:return n(o,a);case 1:{const s=n([],a);for(const l of o)s.push(r(l));return s}case 2:{const s=n({},a);for(const[l,c]of o)s[r(l)]=r(c);return s}case 3:return n(new Date(o),a);case 4:{const{source:s,flags:l}=o;return n(new RegExp(s,l),a)}case 5:{const s=n(new Map,a);for(const[l,c]of o)s.set(r(l),r(c));return s}case 6:{const s=n(new Set,a);for(const l of o)s.add(r(l));return s}case 7:{const{name:s,message:l}=o;return n(new fE[s](l),a)}case 8:return n(BigInt(o),a);case"BigInt":return n(Object(BigInt(o)),a)}return n(new fE[i](o),a)};return r},pE=e=>Q$e(new Map,e)(0),Hd="",{toString:F$e}={},{keys:z$e}=Object,yh=e=>{const t=typeof e;if(t!=="object"||!e)return[0,t];const n=F$e.call(e).slice(8,-1);switch(n){case"Array":return[1,Hd];case"Object":return[2,Hd];case"Date":return[3,Hd];case"RegExp":return[4,Hd];case"Map":return[5,Hd];case"Set":return[6,Hd]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},$1=([e,t])=>e===0&&(t==="function"||t==="symbol"),V$e=(e,t,n,r)=>{const a=(o,s)=>{const l=r.push(o)-1;return n.set(s,l),l},i=o=>{if(n.has(o))return n.get(o);let[s,l]=yh(o);switch(s){case 0:{let u=o;switch(l){case"bigint":s=8,u=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return a([-1],o)}return a([s,u],o)}case 1:{if(l)return a([l,[...o]],o);const u=[],d=a([s,u],o);for(const f of o)u.push(i(f));return d}case 2:{if(l)switch(l){case"BigInt":return a([l,o.toString()],o);case"Boolean":case"Number":case"String":return a([l,o.valueOf()],o)}if(t&&"toJSON"in o)return i(o.toJSON());const u=[],d=a([s,u],o);for(const f of z$e(o))(e||!$1(yh(o[f])))&&u.push([i(f),i(o[f])]);return d}case 3:return a([s,o.toISOString()],o);case 4:{const{source:u,flags:d}=o;return a([s,{source:u,flags:d}],o)}case 5:{const u=[],d=a([s,u],o);for(const[f,p]of o)(e||!($1(yh(f))||$1(yh(p))))&&u.push([i(f),i(p)]);return d}case 6:{const u=[],d=a([s,u],o);for(const f of o)(e||!$1(yh(f)))&&u.push(i(f));return d}}const{message:c}=o;return a([s,{name:l,message:c}],o)};return i},hE=(e,{json:t,lossy:n}={})=>{const r=[];return V$e(!(t||n),!!t,new Map,r)(e),r},Hs=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?pE(hE(e,t)):structuredClone(e):(e,t)=>pE(hE(e,t)),H$e=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,q$e=/^[a-zA-Z]:\\/;function Z$e(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return q$e.test(e)?!1:H$e.test(e)}var X$e=["http","https"],W$e=["nofollow"],Y$e={};function G$e(e){const t=e||Y$e,n=t.protocols||X$e,r=No(t.test);return function(a){ao(a,"element",function(i,o,s){if(i.tagName==="a"&&typeof i.properties.href=="string"&&r(i,o,s)){const l=i.properties.href;if(Z$e(l)?n.includes(l.slice(0,l.indexOf(":"))):l.startsWith("//")){const c=vh(t.content,i),u=c&&!Array.isArray(c)?[c]:c,d=vh(t.rel,i)||W$e,f=typeof d=="string"?pw(d):d,p=vh(t.target,i),h=vh(t.properties,i);if(h&&Object.assign(i.properties,Hs(h)),f.length>0&&(i.properties.rel=[...f]),p&&(i.properties.target=p),u){const b=vh(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:Hs(b),children:Hs(u)})}}}})}}function vh(e,t){return typeof e=="function"?e(t):e}var d6=No(function(e){return e.tagName==="audio"||e.tagName==="canvas"||e.tagName==="embed"||e.tagName==="iframe"||e.tagName==="img"||e.tagName==="math"||e.tagName==="object"||e.tagName==="picture"||e.tagName==="svg"||e.tagName==="video"}),K$e=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],J$e=["button","input","select","textarea"],e9e=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],t9e={},f6=Ip(["comment","doctype"]);function n9e(e,t){UU(e,{collapse:c9e((t||t9e).newlines?s9e:l9e),whitespace:"normal"})}function UU(e,t){if("children"in e){const n={...t};return(e.type==="root"||FU(e))&&(n.before=!0,n.after=!0),n.whitespace=u9e(e,t),a9e(e,n)}if(e.type==="text"){if(t.whitespace==="normal")return r9e(e,t);t.whitespace==="nowrap"&&(e.value=t.collapse(e.value))}return{ignore:f6(e),stripAtStart:!1,remove:!1}}function r9e(e,t){const n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1};let a=0,i=n.length;return t.before&&mE(n.charAt(0))&&a++,a!==i&&mE(n.charAt(i-1))&&(t.after?i--:r.stripAtStart=!0),a===i?r.remove=!0:e.value=n.slice(a,i),r}function a9e(e,t){let n=t.before;const r=t.after,a=e.children;let i=a.length,o=-1;for(;++o<i;){const s=UU(a[o],{...t,after:jU(a,o,r),before:n});s.remove?(a.splice(o,1),o--,i--):s.ignore||(n=s.stripAtStart),QU(a[o])&&(n=!1)}return{ignore:!1,stripAtStart:!!(n||r),remove:!1}}function jU(e,t,n){for(;++t<e.length;){const r=e[t];let a=i9e(r);if(a===void 0&&"children"in r&&!o9e(r)&&(a=jU(r.children,-1)),typeof a=="boolean")return a}return n}function i9e(e){if(e.type==="element"){if(QU(e))return!1;if(FU(e))return!0}else if(e.type==="text"){if(!qu(e))return!1}else if(!f6(e))return!1}function QU(e){return d6(e)||e6(e,J$e)}function FU(e){return e6(e,K$e)}function o9e(e){return!!(e.type==="element"&&e.properties.hidden)||f6(e)||e6(e,e9e)}function mE(e){return e===" "||e===` 75`}function s9e(e){const t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function l9e(){return" "}function c9e(e){return t;function t(n){return String(n).replace(/[\t\n\v\f\r ]+/g,e)}}function u9e(e,t){if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}return t.whitespace}var d9e={}.hasOwnProperty;function f9e(e,t){const n=e.type==="element"&&d9e.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}var p9e=new Set(["pingback","prefetch","stylesheet"]);function h9e(e){if(e.type!=="element"||e.tagName!=="link")return!1;if(e.properties.itemProp)return!0;const t=e.properties.rel;let n=-1;if(!Array.isArray(t)||t.length===0)return!1;for(;++n<t.length;)if(!p9e.has(String(t[n])))return!1;return!0}var m9e=No(["a","abbr","area","b","bdi","bdo","br","button","cite","code","data","datalist","del","dfn","em","i","input","ins","kbd","keygen","label","map","mark","meter","noscript","output","progress","q","ruby","s","samp","script","select","small","span","strong","sub","sup","template","textarea","time","u","var","wbr"]),g9e=No("meta");function b9e(e){return!!(e.type==="text"||m9e(e)||d6(e)||h9e(e)||g9e(e)&&f9e(e,"itemProp"))}var y9e=["pre","script","style","textarea"],v9e={};function O9e(e,t){const n=t||v9e,r={blanks:n.blanks||[],head:!1,indentInitial:n.indentInitial!==!1,indent:typeof n.indent=="number"?" ".repeat(n.indent):typeof n.indent=="string"?n.indent:" "};n9e(e,{newlines:!0}),Jx(e,a);function a(o,s){if(!("children"in o))return;if(o.type==="element"&&o.tagName==="head"&&(r.head=!0),r.head&&o.type==="element"&&o.tagName==="body"&&(r.head=!1),o.type==="element"&&y9e.includes(o.tagName))return dB;if(o.children.length===0||!FO(r,o))return;let l=s.length;r.indentInitial||l--;let c=!1;for(const f of o.children)(f.type==="comment"||f.type==="text")&&(f.value.includes(` 76`)&&(c=!0),f.value=f.value.replace(/ *\n/g,"$&"+r.indent.repeat(l)));const u=[];let d;for(const f of o.children)(FO(r,f)||c&&!d)&&(i(u,l,f),c=!0),d=f,u.push(f);
76d&&(c||FO(r,d))&&(qu(d)&&(u.pop(),d=u[u.length-1]),i(u,l-1)),o.children=u}function i(o,s,l){const c=o[o.length-1],u=c&&qu(c)?o[o.length-2]:c,d=(gE(r,u)&&gE(r,l)?` 77 78`:` 79`)+r.indent.repeat(Math.max(s,0));c&&c.type==="text"?c.value=qu(c)?d:c.value+d:o.push({type:"text",value:d})}}function gE(e,t){return!!(t&&t.type==="element"&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function FO(e,t){return t.type==="root"||(t.type==="element"?e.head||t.tagName==="script"||d6(t)||!b9e(t):!1)}function S9e(e){return function(t){O9e(t,e)}}var w9e={},x9e={}.hasOwnProperty,zU=qy("type",{handlers:{root:A9e,element:$9e,text:_9e,comment:C9e,doctype:E9e}});function k9e(e,t){const n=(t||w9e).space;return zU(e,n==="svg"?Cd:C0)}function A9e(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=p6(e.children,n,t),Mp(e,n),n}function T9e(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=p6(e.children,n,t),Mp(e,n),n}function E9e(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Mp(e,t),t}function _9e(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Mp(e,t),t}function C9e(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Mp(e,t),t}function $9e(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Cd);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&x9e.call(e.properties,i)){const l=P9e(r,i,e.properties[i]);l&&a.push(l)}}const o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:Ru[o],childNodes:[],parentNode:null};return s.childNodes=p6(e.children,s,r),Mp(e,s),e.tagName==="template"&&e.content&&(s.content=T9e(e.content,r)),s}function P9e(e,t,n){const r=Qy(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?YB(n):GB(n));const a={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=r.attribute.slice(0,i)),a.namespace=Ru[r.space]}return a}function p6(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const i=zU(e[r],n);i.parentNode=t,a.push(i)}return a}function Mp(e,t){const 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 Zy=VU("end"),Wl=VU("start");function VU(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function HU(e){const t=Wl(e),n=Zy(e);if(t&&n)return{start:t,end:n}}var I9e=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),bE={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function qU(e,t){const n=F9e(e),r=qy("type",{handlers:{root:N9e,element:R9e,text:M9e,comment:XU,doctype:L9e,raw:B9e},unknown:U9e}),a={parser:n?new T2(bE):T2.getFragmentParser(void 0,bE),handle(o){r(o,a)},stitches:!1,options:t||{}};r(e,a),Lp(a,Wl());const i=eU(n?a.parser.document:a.parser.getFragment(),{file:a.options.file});return a.stitches&&ao(i,"comment",function(o,s,l){const c=o;if(c.value.stitch&&l&&s!==void 0){const u=l.children;return u[s]=c.value.stitch,s}}),i.type==="root"&&i.children.length===1&&i.children[0].type===e.type?i.children[0]:i}function ZU(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function N9e(e,t){ZU(e.children,t)}function R9e(e,t){j9e(e,t),ZU(e.children,t),Q9e(e,t)}function M9e(e,t){const n={type:Gt.CHARACTER,chars:e.value,location:I0(e)};Lp(t,Wl(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function L9e(e,t){const n={type:Gt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:I0(e)};Lp(t,Wl(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function D9e(e,t){t.stitches=!0;const n=z9e(e);
vendor: 8,273 bytes, line 79
79"children"in e&&"children"in n&&(n.children=qU({type:"root",children:e.children},t.options).children),XU({type:"comment",value:{stitch:n}},t)}function XU(e,t){const n=e.value,r={type:Gt.COMMENT,data:n,location:I0(e)};Lp(t,Wl(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function B9e(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,WU(t,Wl(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function U9e(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))D9e(n,t);else{let r="";throw I9e.has(n.type)&&(r=". 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"),new Error("Cannot compile `"+n.type+"` node"+r)}}function Lp(e,t){WU(e,t);const 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=Cr.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 WU(e,t){if(t&&t.offset!==void 0){const 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 j9e(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Cr.PLAINTEXT)return;Lp(t,Wl(e));const r=t.parser.openElements.current;let a="namespaceURI"in r?r.namespaceURI:Ru.html;a===Ru.html&&n==="svg"&&(a=Ru.svg);const i=k9e({...e,children:[]},{space:a===Ru.svg?"svg":"html"}),o={type:Gt.START_TAG,tagName:n,tagID:Rp(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:I0(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function Q9e(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&$U.includes(n)||t.parser.tokenizer.state===Cr.PLAINTEXT)return;Lp(t,Zy(e));const r={type:Gt.END_TAG,tagName:n,tagID:Rp(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:I0(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Cr.RCDATA||t.parser.tokenizer.state===Cr.RAWTEXT||t.parser.tokenizer.state===Cr.SCRIPT_DATA)&&(t.parser.tokenizer.state=Cr.DATA)}function F9e(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function I0(e){const t=Wl(e)||{line:void 0,column:void 0,offset:void 0},n=Zy(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 z9e(e){return"children"in e?Hs({...e,children:[]}):Hs(e)}function V9e(e){return function(t,n){return qU(t,{...e,file:n})}}var mu=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],lf={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...mu,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...mu],h2:[["className","sr-only"]],img:[...mu,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...mu,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...mu],table:[...mu],ul:[...mu,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},hc={}.hasOwnProperty;function H9e(e,t){let n={type:"root",children:[]};const r=YU({schema:t?{...lf,...t}:lf,stack:[]},e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function YU(e,t){if(t&&typeof t=="object"){const n=t;switch(typeof n.type=="string"?n.type:""){case"comment":return q9e(e,n);case"doctype":return Z9e(e,n);case"element":return X9e(e,n);case"root":return W9e(e,n);case"text":return Y9e(e,n)}}}function q9e(e,t){if(e.schema.allowComments){const n=typeof t.value=="string"?t.value:"",r=n.indexOf("-->"),a={type:"comment",value:r<0?n:n.slice(0,r)};return N0(a,t),a}}function Z9e(e,t){if(e.schema.allowDoctypes){const n={type:"doctype"};return N0(n,t),n}}function X9e(e,t){const n=typeof t.tagName=="string"?t.tagName:"";e.stack.push(n);const r=GU(e,t.children),a=G9e(e,t.properties);e.stack.pop();let i=!1;if(n&&n!=="*"&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&hc.call(e.schema.ancestors,n))){const s=e.schema.ancestors[n];let l=-1;for(i=!1;++l<s.length;)e.stack.includes(s[l])&&(i=!0)}if(!i)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;const o={type:"element",tagName:n,properties:a,children:r};return N0(o,t),o}function W9e(e,t){const n={type:"root",children:GU(e,t.children)};return N0(n,t),n}function Y9e(e,t){const n={type:"text",value:typeof t.value=="string"?t.value:""};return N0(n,t),n}function GU(e,t){const n=[];if(Array.isArray(t)){const r=t;let a=-1;for(;++a<r.length;){const i=YU(e,r[a]);i&&(Array.isArray(i)?n.push(...i):n.push(i))}}return n}function G9e(e,t){const n=e.stack[e.stack.length-1],r=e.schema.attributes,a=e.schema.required,i=r&&hc.call(r,n)?r[n]:void 0,o=r&&hc.call(r,"*")?r["*"]:void 0,s=t&&typeof t=="object"?t:{},l={};let c;for(c in s)if(hc.call(s,c)){const u=s[c];let d=yE(e,vE(i,c),c,u);d==null&&(d=yE(e,vE(o,c),c,u)),d!=null&&(l[c]=d)}if(a&&hc.call(a,n)){const u=a[n];for(c in u)hc.call(u,c)&&!hc.call(l,c)&&(l[c]=u[c])}return l}function yE(e,t,n,r){return t?Array.isArray(r)?K9e(e,t,n,r):KU(e,t,n,r):void 0}function K9e(e,t,n,r){let a=-1;const i=[];for(;++a<r.length;){const o=KU(e,t,n,r[a]);
vendor: 4,165 bytes, line 79
79(typeof o=="number"||typeof o=="string")&&i.push(o)}return i}function KU(e,t,n,r){if(!(typeof r!="boolean"&&typeof r!="number"&&typeof r!="string")&&J9e(e,n,r)){if(typeof t=="object"&&t.length>1){let a=!1,i=0;for(;++i<t.length;){const o=t[i];if(o&&typeof o=="object"&&"flags"in o){if(o.test(String(r))){a=!0;break}}else if(o===r){a=!0;break}}if(!a)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function J9e(e,t,n){const r=e.schema.protocols&&hc.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;const a=String(n),i=a.indexOf(":"),o=a.indexOf("?"),s=a.indexOf("#"),l=a.indexOf("/");if(i<0||l>-1&&i>l||o>-1&&i>o||s>-1&&i>s)return!0;let c=-1;for(;++c<r.length;){const u=r[c];if(i===u.length&&a.slice(0,u.length)===u)return!0}return!1}function N0(e,t){const n=HU(t);t.data&&(e.data=Hs(t.data)),n&&(e.position=n)}function vE(e,t){let n,r=-1;if(e)for(;++r<e.length;){const a=e[r],i=typeof a=="string"?a:a[0];if(i===t)return a;i==="data*"&&(n=a)}if(t.length>4&&t.slice(0,4).toLowerCase()==="data")return n}function ePe(e){return function(t){return H9e(t,e)}}var Ka=iu(/[A-Za-z]/),Ma=iu(/[\dA-Za-z]/),tPe=iu(/[#-'*+\--9=?A-Z^-~]/);function I2(e){return e!==null&&(e<32||e===127)}var Aw=iu(/\d/),nPe=iu(/[\dA-Fa-f]/),rPe=iu(/[!-/:-@[-`{-~]/);function Tt(e){return e!==null&&e<-2}function Vn(e){return e!==null&&(e<0||e===32)}function tn(e){return e===-2||e===-1||e===32}var Xy=iu(new RegExp("\\p{P}|\\p{S}","u")),ed=iu(/\s/);function iu(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function aPe(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function iPe(e,t,n){const r=Ip((n||{}).ignore||[]),a=oPe(t);let i=-1;for(;++i<a.length;)Jx(e,"text",o);function o(l,c){let u=-1,d;for(;++u<c.length;){const f=c[u],p=d?d.children:void 0;if(r(f,p?p.indexOf(f):void 0,d))return;d=f}if(d)return s(l,c)}function s(l,c){const u=c[c.length-1],d=a[i][0],f=a[i][1];let p=0;const h=u.children.indexOf(l);let b=!1,y=[];d.lastIndex=0;let O=d.exec(l.value);for(;O;){const A=O.index,x={index:O.index,input:O.input,stack:[...c,l]};let T=f(...O,x);if(typeof T=="string"&&(T=T.length>0?{type:"text",value:T}:void 0),T===!1?d.lastIndex=A+1:(p!==A&&y.push({type:"text",value:l.value.slice(p,A)}),Array.isArray(T)?y.push(...T):T&&y.push(T),p=A+O[0].length,b=!0),!d.global)break;O=d.exec(l.value)}return b?(p<l.value.length&&y.push({type:"text",value:l.value.slice(p)}),u.children.splice(h,1,...y)):y=[l],h+y.length}}function oPe(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const a=n[r];t.push([sPe(a[0]),lPe(a[1])])}return t}function sPe(e){return typeof e=="string"?new RegExp(aPe(e),"g"):e}function lPe(e){return typeof e=="function"?e:function(){return e}}var zO="phrasing",VO=["autolink","link","image","label"];function cPe(){return{transforms:[gPe],enter:{literalAutolink:dPe,literalAutolinkEmail:HO,literalAutolinkHttp:HO,literalAutolinkWww:HO},exit:{literalAutolink:mPe,literalAutolinkEmail:hPe,literalAutolinkHttp:fPe,literalAutolinkWww:pPe}}}function uPe(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:zO,notInConstruct:VO},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:zO,notInConstruct:VO},{character:":",before:"[ps]",after:"\\/",inConstruct:zO,notInConstruct:VO}]}}function dPe(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function HO(e){this.config.enter.autolinkProtocol.call(this,e)}function fPe(e){this.config.exit.autolinkProtocol.call(this,e)}function pPe(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function hPe(e){this.config.exit.autolinkEmail.call(this,e)}function mPe(e){this.exit(e)}function gPe(e){iPe(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,bPe],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,yPe]],{ignore:["link","linkReference"]})}function bPe(e,t,n,r,a){let i="";
vendor: 6,514 bytes, lines 79-82
79if(!JU(a)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!vPe(n)))return!1;const o=OPe(n+r);if(!o[0])return!1;const s={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function yPe(e,t,n,r){return!JU(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function vPe(e){const 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 OPe(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=C2(e,"(");let i=C2(e,")");for(;r!==-1&&a>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function JU(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||ed(n)||Xy(n))&&(!t||n!==47)}function ns(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}ej.peek=PPe;function SPe(){return{enter:{gfmFootnoteDefinition:xPe,gfmFootnoteDefinitionLabelString:kPe,gfmFootnoteCall:EPe,gfmFootnoteCallString:_Pe},exit:{gfmFootnoteDefinition:TPe,gfmFootnoteDefinitionLabelString:APe,gfmFootnoteCall:$Pe,gfmFootnoteCallString:CPe}}}function wPe(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:IPe,footnoteReference:ej}}}function xPe(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function kPe(){this.buffer()}function APe(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=ns(this.sliceSerialize(e)).toLowerCase()}function TPe(e){this.exit(e)}function EPe(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function _Pe(){this.buffer()}function CPe(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=ns(this.sliceSerialize(e)).toLowerCase()}function $Pe(e){this.exit(e)}function ej(e,t,n,r){const a=n.createTracker(r);let i=a.move("[^");const o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]"),i}function PPe(){return"["}function IPe(e,t,n,r){const a=n.createTracker(r);let i=a.move("[^");const o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),NPe)),o(),i}function NPe(e,t,n){return t===0?e:(n?"":" ")+e}var RPe=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];tj.peek=UPe;function MPe(){return{canContainEols:["delete"],enter:{strikethrough:DPe},exit:{strikethrough:BPe}}}function LPe(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:RPe}],handlers:{delete:tj}}}function DPe(e){this.enter({type:"delete",children:[]},e)}function BPe(e){this.exit(e)}function tj(e,t,n,r){const a=n.createTracker(r),i=n.enter("strikethrough");let o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"}),o+=a.move("~~"),i(),o}function UPe(){return"~"}function jPe(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||FPe,a=[],i=[],o=[],s=[];let l=0,c=-1;for(;++c<e.length;){const h=[],b=[];let y=-1;for(e[c].length>l&&(l=e[c].length);++y<e[c].length;){const O=QPe(e[c][y]);if(t.alignDelimiters!==!1){const A=r(O);b[y]=A,(s[y]===void 0||A>s[y])&&(s[y]=A)}h.push(O)}i[c]=h,o[c]=b}let u=-1;if(typeof n=="object"&&"length"in n)for(;++u<l;)a[u]=OE(n[u]);else{const h=OE(n);for(;++u<l;)a[u]=h}u=-1;const d=[],f=[];for(;++u<l;){const h=a[u];let b="",y="";h===99?(b=":",y=":"):h===108?b=":":h===114&&(y=":");let O=t.alignDelimiters===!1?1:Math.max(1,s[u]-b.length-y.length);const A=b+"-".repeat(O)+y;t.alignDelimiters!==!1&&(O=b.length+O+y.length,O>s[u]&&(s[u]=O),f[u]=O),d[u]=A}i.splice(1,0,d),o.splice(1,0,f),c=-1;const p=[];for(;++c<i.length;){const h=i[c],b=o[c];u=-1;const y=[];for(;++u<l;){const O=h[u]||"";let A="",x="";if(t.alignDelimiters!==!1){const T=s[u]-(b[u]||0),E=a[u];E===114?A=" ".repeat(T):E===99?T%2?(A=" ".repeat(T/2+.5),x=" ".repeat(T/2-.5)):(A=" ".repeat(T/2),x=A):x=" ".repeat(T)}t.delimiterStart!==!1&&!u&&y.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&O==="")&&(t.delimiterStart!==!1||u)&&y.push(" "),t.alignDelimiters!==!1&&y.push(A),y.push(O),t.alignDelimiters!==!1&&y.push(x),t.padding!==!1&&y.push(" "),(t.delimiterEnd!==!1||u!==l-1)&&y.push("|")}p.push(t.delimiterEnd===!1?y.join("").replace(/ +$/,""):y.join(""))}return p.join(` 80`)}function QPe(e){return e==null?"":String(e)}function FPe(e){return e.length}function OE(e){const 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}var zPe={}.hasOwnProperty;function nj(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)nj(e,t.extensions[n]);for(r in t)if(zPe.call(t,r))switch(r){case"extensions":break;case"unsafe":SE(e[r],t[r]);break;case"join":SE(e[r],t[r]);break;case"handlers":VPe(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function SE(e,t){t&&e.push(...t)}function VPe(e,t){t&&Object.assign(e,t)}function HPe(e,t,n,r){const a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const o=n.indentLines(n.containerFlow(e,i.current()),qPe);return a(),o}function qPe(e,t,n){return">"+(n?"":" ")+e}function rj(e,t){return wE(e,t.inConstruct,!0)&&!wE(e,t.notInConstruct,!1)}function wE(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 xE(e,t,n,r){let a=-1;for(;++a<n.unsafe.length;)if(n.unsafe[a].character===` 81`&&rj(n.stack,n.unsafe[a]))return/[ \t]/.test(r.before)?"":" ";return`\\ 82`}function ZPe(e,t){const n=String(e);let r=n.indexOf(t),a=r,i=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===a?++i>o&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}function Tw(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 XPe(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function WPe(e,t,n,r){const a=XPe(n),i=e.value||"",o=a==="`"?"GraveAccent":"Tilde";
vendor: 4,415 bytes, lines 82-91
82if(Tw(e,n)){const d=n.enter("codeIndented"),f=n.indentLines(i,YPe);return d(),f}const s=n.createTracker(r),l=a.repeat(Math.max(ZPe(i,a)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(e.lang){const d=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),d()}if(e.lang&&e.meta){const d=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:` 83`,encode:["`"],...s.current()})),d()}return u+=s.move(` 84`),i&&(u+=s.move(i+` 85`)),u+=s.move(l),c(),u}function YPe(e,t,n){return(n?"":" ")+e}function h6(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function GPe(e,t,n,r){const a=h6(n),i=a==='"'?"Quote":"Apostrophe",o=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":` 86`,...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()})),c+=l.move(a),s()),o(),c}function KPe(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}aj.peek=JPe;function aj(e,t,n,r){const a=KPe(n),i=n.enter("emphasis"),o=n.createTracker(r);let s=o.move(a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()})),s+=o.move(a),i(),s}function JPe(e,t,n){return n.options.emphasis||"*"}var eIe={};function m6(e,t){const n=eIe;return ij(e,typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,typeof n.includeHtml=="boolean"?n.includeHtml:!0)}function ij(e,t,n){if(tIe(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 kE(e.children,t,n)}return Array.isArray(e)?kE(e,t,n):""}function kE(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=ij(e[a],t,n);return r.join("")}function tIe(e){return!!(e&&typeof e=="object")}function oj(e,t){let n=!1;return ao(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,!1}),!!((!e.depth||e.depth<3)&&m6(e)&&(t.options.setext||n))}function nIe(e,t,n,r){const a=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(oj(e,n)){const u=n.enter("headingSetext"),d=n.enter("phrasing"),f=n.containerPhrasing(e,{...i.current(),before:` 87`,after:` 88`});return d(),u(),f+` 89`+(a===1?"=":"-").repeat(f.length-(Math.max(f.lastIndexOf("\r"),f.lastIndexOf(` 90`))+1))}const o="#".repeat(a),s=n.enter("headingAtx"),l=n.enter("phrasing");i.move(o+" ");let c=n.containerPhrasing(e,{before:"# ",after:` 91`,...i.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?o+" "+c:o,n.options.closeAtx&&(c+=" "+o),l(),s(),c}sj.peek=rIe;function sj(e){return e.value||""}function rIe(){return"<"}lj.peek=aIe;function lj(e,t,n,r){const a=h6(n),i=a==='"'?"Quote":"Apostrophe",o=n.enter("image");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()})),c+=l.move(a),s()),c+=l.move(")"),o(),c}function aIe(){return"!"}cj.peek=iIe;function cj(e,t,n,r){const a=e.referenceType,i=n.enter("imageReference");let o=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),a==="full"||!c||c!==d?l+=s.move(d+"]"):a==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function iIe(){return"!"}uj.peek=oIe;
vendor: 3,907 bytes, line 91
91function uj(e,t,n){let r=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const o=n.unsafe[i],s=n.compilePattern(o);let l;if(o.atBreak)for(;l=s.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return a+r+a}function oIe(){return"`"}function dj(e,t){const n=m6(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))}fj.peek=sIe;function fj(e,t,n,r){const a=h6(n),i=a==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let s,l;if(dj(e,n)){const u=n.stack;n.stack=[],s=n.enter("autolink");let d=o.move("<");return d+=o.move(n.containerPhrasing(e,{before:d,after:">",...o.current()})),d+=o.move(">"),s(),n.stack=u,d}s=n.enter("link"),l=n.enter("label");let c=o.move("[");return c+=o.move(n.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(l=n.enter("destinationRaw"),c+=o.move(n.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),l(),e.title&&(l=n.enter(`title${i}`),c+=o.move(" "+a),c+=o.move(n.safe(e.title,{before:c,after:a,...o.current()})),c+=o.move(a),l()),c+=o.move(")"),s(),c}function sIe(e,t,n){return dj(e,n)?"<":"["}pj.peek=lIe;function pj(e,t,n,r){const a=e.referenceType,i=n.enter("linkReference");let o=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),a==="full"||!c||c!==d?l+=s.move(d+"]"):a==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function lIe(){return"["}function g6(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function cIe(e){const t=g6(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function uIe(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function hj(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function dIe(e,t,n,r){const a=n.enter("list"),i=n.bulletCurrent;let o=e.ordered?uIe(n):g6(n);const s=e.ordered?o==="."?")":".":cIe(n);let l=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const u=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&u&&(!u.children||!u.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&&(l=!0),hj(n)===o&&u){let d=-1;for(;++d<e.children.length;){const f=e.children[d];if(f&&f.type==="listItem"&&f.children&&f.children[0]&&f.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(o=s),n.bulletCurrent=o;const c=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=i,a(),c}function fIe(e){const t=e.options.listItemIndent||"one";
91if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function pIe(e,t,n,r){const a=fIe(n);let i=n.bulletCurrent||g6(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let o=i.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),u);return l(),c;function u(d,f,p){return f?(p?"":" ".repeat(o))+d:(p?i:i+" ".repeat(o-i.length))+d}}function hIe(e,t,n,r){const a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o}var mIe=Ip(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function gIe(e,t,n,r){return(e.children.some(function(a){return mIe(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function bIe(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}mj.peek=yIe;function mj(e,t,n,r){const a=bIe(n),i=n.enter("strong"),o=n.createTracker(r);let s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()})),s+=o.move(a+a),i(),s}function yIe(e,t,n){return n.options.strong||"*"}function vIe(e,t,n,r){return n.safe(e.value,r)}function OIe(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function SIe(e,t,n){const r=(hj(n)+(n.options.ruleSpaces?" ":"")).repeat(OIe(n));return n.options.ruleSpaces?r.slice(0,-1):r}var b6={blockquote:HPe,break:xE,code:WPe,definition:GPe,emphasis:aj,hardBreak:xE,heading:nIe,html:sj,image:lj,imageReference:cj,inlineCode:uj,link:fj,linkReference:pj,list:dIe,listItem:pIe,paragraph:hIe,root:gIe,strong:mj,text:vIe,thematicBreak:SIe},wIe=[xIe];function xIe(e,t,n,r){if(t.type==="code"&&Tw(t,r)&&(e.type==="list"||e.type===t.type&&Tw(e,r)))return!1;if("spread"in n&&typeof n.spread=="boolean")return e.type==="paragraph"&&(e.type===t.type||t.type==="definition"||t.type==="heading"&&oj(t,r))?void 0:n.spread?1:0}var gu=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],kIe=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:` 92`,inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:gu},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:`(?:[\r 93]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:gu},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:`(?:[ \r 94*])`},{character:"*",inConstruct:"phrasing",notInConstruct:gu},{atBreak:!0,character:"+",after:`(?:[ \r 95])`},{atBreak:!0,character:"-",after:`(?:[ \r 96-])`},{atBreak:!0,before:"\\d+",character:".",after:`(?:[ \r 97]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:gu},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:gu},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:gu},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:gu},{atBreak:!0,character:"~"}],AE={AElig:"Ã",AMP:"&",Aacute:"Ã",Abreve:"Ä",Acirc:"Ã",Acy:"Ð",Afr:"ð",Agrave:"Ã",Alpha:"Î",Amacr:"Ä",And:"â©",Aogon:"Ä",Aopf:"ð¸",ApplyFunction:"â¡",Aring:"à ",Ascr:"ð",Assign:"â",Atilde:"Ã",Auml:"Ã",Backslash:"â",Barv:"â«§",Barwed:"â",Bcy:"Ð",Because:"âµ",Bernoullis:"â¬",Beta:"Î",Bfr:"ð ",Bopf:"ð¹",Breve:"Ë",Bscr:"â¬",Bumpeq:"â",CHcy:"Ч",COPY:"©",Cacute:"Ä",Cap:"â",CapitalDifferentialD:"â ",Cayleys:"â",Ccaron:"Ä",Ccedil
97:"Ã",Ccirc:"Ä",Cconint:"â°",Cdot:"Ä",Cedilla:"¸",CenterDot:"·",Cfr:"â",Chi:"Χ",CircleDot:"â",CircleMinus:"â",CirclePlus:"â",CircleTimes:"â",ClockwiseContourIntegral:"â²",CloseCurlyDoubleQuote:"â",CloseCurlyQuote:"â",Colon:"â·",Colone:"â©´",Congruent:"â¡",Conint:"â¯",ContourIntegral:"â®",Copf:"â",Coproduct:"â",CounterClockwiseContourIntegral:"â³",Cross:"⨯",Cscr:"ð",Cup:"â",CupCap:"â",DD:"â ",DDotrahd:"â¤",DJcy:"Ð",DScy:"Ð ",DZcy:"Ð",Dagger:"â¡",Darr:"â¡",Dashv:"⫤",Dcaron:"Ä",Dcy:"Ð",Del:"â",Delta:"Î",Dfr:"ð",DiacriticalAcute:"´",DiacriticalDot:"Ë",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ë",Diamond:"â",DifferentialD:"â ",Dopf:"ð»",Dot:"¨",DotDot:"â",DotEqual:"â",DoubleContourIntegral:"â¯",DoubleDot:"¨",DoubleDownArrow:"â",DoubleLeftArrow:"â",DoubleLeftRightArrow:"â",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"â¸",DoubleLongLeftRightArrow:"âº",DoubleLongRightArrow:"â¹",DoubleRightArrow:"â",DoubleRightTee:"â¨",DoubleUpArrow:"â",DoubleUpDownArrow:"â",DoubleVerticalBar:"â¥",DownArrow:"â",DownArrowBar:"â¤",DownArrowUpArrow:"âµ",DownBreve:"Ì",DownLeftRightVector:"â¥",DownLeftTeeVector:"â¥",DownLeftVector:"â½",DownLeftVectorBar:"â¥",DownRightTeeVector:"â¥",DownRightVector:"â",DownRightVectorBar:"â¥",DownTee:"â¤",DownTeeArrow:"â§",Downarrow:"â",Dscr:"ð",Dstrok:"Ä",ENG:"Å",ETH:"Ã",Eacute:"Ã",Ecaron:"Ä",Ecirc:"Ã",Ecy:"Ð",Edot:"Ä",Efr:"ð",Egrave:"Ã",Element:"â",Emacr:"Ä",EmptySmallSquare:"â»",EmptyVerySmallSquare:"â«",Eogon:"Ä",Eopf:"ð¼",Epsilon:"Î",Equal:"⩵",EqualTilde:"â",Equilibrium:"â",Escr:"â°",Esim:"⩳",Eta:"Î",Euml:"Ã",Exists:"â",ExponentialE:"â ",Fcy:"Ф",Ffr:"ð",FilledSmallSquare:"â¼",FilledVerySmallSquare:"âª",Fopf:"ð½",ForAll:"â",Fouriertrf:"â±",Fscr:"â±",GJcy:"Ð",GT:">",Gamma:"Î",Gammad:"Ï",Gbreve:"Ä",Gcedil:"Ä¢",Gcirc:"Ä",Gcy:"Ð",Gdot:"Ä ",Gfr:"ð",Gg:"â",Gopf:"ð¾",GreaterEqual:"â¥",GreaterEqualLess:"â",GreaterFullEqual:"â§",GreaterGreater:"⪢",GreaterLess:"â·",GreaterSlantEqual:"⩾",GreaterTilde:"â³",Gscr:"ð¢",Gt:"â«",HARDcy:"Ъ",Hacek:"Ë",Hat:"^",Hcirc:"Ĥ",Hfr:"â",HilbertSpace:"â",Hopf:"â",HorizontalLine:"â",Hscr:"â",Hstrok:"Ħ",HumpDownHump:"â",HumpEqual:"â",IEcy:"Ð",IJlig:"IJ",IOcy:"Ð",Iacute:"Ã",Icirc:"Ã",Icy:"Ð",Idot:"İ",Ifr:"â",Igrave:"Ã",Im:"â",Imacr:"Ī",ImaginaryI:"â ",Implies:"â",Int:"â¬",Integral:"â«",Intersection:"â",InvisibleComma:"â£",InvisibleTimes:"â¢",Iogon:"Ä®",Iopf:"ð",Iota:"Î",Iscr:"â",Itilde:"Ĩ",Iukcy:"Ð",Iuml:"Ã",Jcirc:"Ä´",Jcy:"Ð",Jfr:"ð",Jopf:"ð",Jscr:"ð¥",Jsercy:"Ð",Jukcy:"Ð",KHcy:"Ð¥",KJcy:"Ð",Kappa:"Î",Kcedil:"Ķ",Kcy:"Ð",Kfr:"ð",Kopf:"ð",Kscr:"ð¦",LJcy:"Ð",LT:"<",Lacute:"Ĺ",Lambda:"Î",Lang:"âª",Laplacetrf:"â",Larr:"â",Lcaron:"Ľ",Lcedil:"Ä»",Lcy:"Ð",LeftAngleBracket:"â¨",LeftArrow:"â",LeftArrowBar:"â¤",LeftArrowRightArrow:"â",LeftCeiling:"â",LeftDoubleBracket:"â¦",LeftDownTeeVector:"⥡",LeftDownVector:"â",LeftDownVectorBar:"â¥",LeftFloor:"â",LeftRightArrow:"â",LeftRightVector:"â¥",LeftTee:"â£",LeftTeeArrow:"â¤",LeftTeeVector:"â¥",LeftTriangle:"â²",LeftTriangleBar:"â§",LeftTriangleEqual:"â´",LeftUpDownVector:"â¥",LeftUpTeeVector:"⥠",LeftUpVector:"â¿",LeftUpVectorBar:"â¥",LeftVector:"â¼",LeftVectorBar:"â¥",Leftarrow:"â",Leftrightarrow:"â",LessEqualGreater:"â",LessFullEqual:"â¦",LessGreater:"â¶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"â²",Lfr:"ð",Ll:"â",Lleftarrow:"â",Lmidot:"Ä¿",LongLeftArrow:"âµ",LongLeftRightArrow:"â·",LongRightArrow:"â¶",Longleftarrow:"â¸",Longleftrightarrow:"âº",Longrightarrow:"â¹",Lopf:"ð",LowerLeftArrow:"â",LowerRightArrow:"â",Lscr:"â",Lsh:"â°",Lstrok:"Å",Lt:"âª",Map:"⤠",Mcy:"Ð",MediumSpace:"â",Mellintrf:"â³",Mfr:"ð",MinusPlus:"â",Mopf:"ð",Mscr:"â³",Mu:"Î",NJcy:"Ð",Nacute:"Å",Ncaron:"Å",Ncedil:"Å ",Ncy:"Ð",NegativeMediumSpace:"â",NegativeThickSpace:"â",NegativeThinSpace:"â",NegativeVeryThinSpace:"â",NestedGreaterGreater:"â«",NestedLessLess:"âª",NewLine:` 98`,Nfr:"ð",NoBreak:"â ",NonBreakingSpace:" ",Nopf:"â",Not:"⫬",NotCongruent:"â¢",NotCupCap:"â",NotDoubleVerticalBar:"â¦",NotElement:"â",NotEqual:"â ",NotEqualTilde:"â̸",NotExists:"â",NotGreater:"â¯",NotGreaterEqual:"â±",NotGreaterFullEqual:"â§Ì¸",NotGreaterGreater:"â«Ì¸",NotGreaterLess:"â¹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"âµ",NotHumpDownHump:"â̸",NotHumpEqual:"â̸",NotLeftTriangle:"âª",NotLeftTriangleBar:"â§Ì¸",NotLeftTriangleEqual:"â¬",NotLess:"â®",NotLessEqual:"â°",NotLessGreater:"â¸",NotLessLess:"âªÌ¸",NotLessSlantEqual:"⩽̸",NotLessTilde:"â´",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"â",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"â ",NotReverseElement:"â",NotRightTriangle:"â«",NotRightTriangleBar:"â§Ì¸",NotRightTriangleEqual:"â",NotSquareSubset:"â̸",NotSquareSubsetEqual:"â¢",NotSquareSuperset:"â̸",NotSquareSupersetEqual:"â£",NotSubset:"ââ",NotSubsetEqual:"â",NotSucceeds:"â",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"â¡",NotSucceedsTilde:"â¿Ì¸",NotSuperset:"ââ",NotSupersetEqual:"â",NotTilde:"â",NotTildeEqual:"â",NotTildeFullEqual:"â",NotTildeTilde:"â",NotVerticalBar:"â¤",Nscr:"ð©",Ntilde:"Ã",Nu:"Î",OElig:"Å",Oacute:"Ã",Ocirc:"Ã",Ocy:"Ð",Odblac:"Å",Ofr:"ð",Ograve:"Ã",Omacr:"Å",Omega:"Ω",Omicron:"Î",Oopf:"ð",OpenCurlyDoubleQuote:"â",OpenCurlyQuote:"â",Or:"â©",Oscr:"ðª",Oslash:"Ã",Otilde:"Ã",Otimes:"⨷",Ouml:"Ã",OverBar:"â¾",OverBrace:"â",OverBracket:"â´",OverParenthesis:"â",PartialD:"â",Pcy:"Ð",Pfr:"ð",Phi:"Φ",Pi:"Î ",PlusMinus:"±",Poincareplane
98:"â",Popf:"â",Pr:"⪻",Precedes:"âº",PrecedesEqual:"⪯",PrecedesSlantEqual:"â¼",PrecedesTilde:"â¾",Prime:"â³",Product:"â",Proportion:"â·",Proportional:"â",Pscr:"ð«",Psi:"Ψ",QUOT:'"',Qfr:"ð",Qopf:"â",Qscr:"ð¬",RBarr:"â¤",REG:"®",Racute:"Å",Rang:"â«",Rarr:"â ",Rarrtl:"â¤",Rcaron:"Å",Rcedil:"Å",Rcy:"Ð ",Re:"â",ReverseElement:"â",ReverseEquilibrium:"â",ReverseUpEquilibrium:"⥯",Rfr:"â",Rho:"Ρ",RightAngleBracket:"â©",RightArrow:"â",RightArrowBar:"â¥",RightArrowLeftArrow:"â",RightCeiling:"â",RightDoubleBracket:"â§",RightDownTeeVector:"â¥",RightDownVector:"â",RightDownVectorBar:"â¥",RightFloor:"â",RightTee:"â¢",RightTeeArrow:"â¦",RightTeeVector:"â¥",RightTriangle:"â³",RightTriangleBar:"â§",RightTriangleEqual:"âµ",RightUpDownVector:"â¥",RightUpTeeVector:"â¥",RightUpVector:"â¾",RightUpVectorBar:"â¥",RightVector:"â",RightVectorBar:"â¥",Rightarrow:"â",Ropf:"â",RoundImplies:"⥰",Rrightarrow:"â",Rscr:"â",Rsh:"â±",RuleDelayed:"â§´",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Å",Sc:"⪼",Scaron:"Å ",Scedil:"Å",Scirc:"Å",Scy:"С",Sfr:"ð",ShortDownArrow:"â",ShortLeftArrow:"â",ShortRightArrow:"â",ShortUpArrow:"â",Sigma:"Σ",SmallCircle:"â",Sopf:"ð",Sqrt:"â",Square:"â¡",SquareIntersection:"â",SquareSubset:"â",SquareSubsetEqual:"â",SquareSuperset:"â",SquareSupersetEqual:"â",SquareUnion:"â",Sscr:"ð®",Star:"â",Sub:"â",Subset:"â",SubsetEqual:"â",Succeeds:"â»",SucceedsEqual:"⪰",SucceedsSlantEqual:"â½",SucceedsTilde:"â¿",SuchThat:"â",Sum:"â",Sup:"â",Superset:"â",SupersetEqual:"â",Supset:"â",THORN:"Ã",TRADE:"â¢",TSHcy:"Ð",TScy:"Ц",Tab:"
vendor: 20,775 bytes, line 98
98",Tau:"Τ",Tcaron:"Ť",Tcedil:"Å¢",Tcy:"Т",Tfr:"ð",Therefore:"â´",Theta:"Î",ThickSpace:"ââ",ThinSpace:"â",Tilde:"â¼",TildeEqual:"â",TildeFullEqual:"â
",TildeTilde:"â",Topf:"ð",TripleDot:"â",Tscr:"ð¯",Tstrok:"Ŧ",Uacute:"Ã",Uarr:"â",Uarrocir:"â¥",Ubrcy:"Ð",Ubreve:"Ŭ",Ucirc:"Ã",Ucy:"У",Udblac:"Ű",Ufr:"ð",Ugrave:"Ã",Umacr:"Ū",UnderBar:"_",UnderBrace:"â",UnderBracket:"âµ",UnderParenthesis:"â",Union:"â",UnionPlus:"â",Uogon:"Ų",Uopf:"ð",UpArrow:"â",UpArrowBar:"â¤",UpArrowDownArrow:"â
",UpDownArrow:"â",UpEquilibrium:"⥮",UpTee:"â¥",UpTeeArrow:"â¥",Uparrow:"â",Updownarrow:"â",UpperLeftArrow:"â",UpperRightArrow:"â",Upsi:"Ï",Upsilon:"Î¥",Uring:"Å®",Uscr:"ð°",Utilde:"Ũ",Uuml:"Ã",VDash:"â«",Vbar:"â««",Vcy:"Ð",Vdash:"â©",Vdashl:"⫦",Vee:"â",Verbar:"â",Vert:"â",VerticalBar:"â£",VerticalLine:"|",VerticalSeparator:"â",VerticalTilde:"â",VeryThinSpace:"â",Vfr:"ð",Vopf:"ð",Vscr:"ð±",Vvdash:"âª",Wcirc:"Å´",Wedge:"â",Wfr:"ð",Wopf:"ð",Wscr:"ð²",Xfr:"ð",Xi:"Î",Xopf:"ð",Xscr:"ð³",YAcy:"Я",YIcy:"Ð",YUcy:"Ю",Yacute:"Ã",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"ð",Yopf:"ð",Yscr:"ð´",Yuml:"Ÿ",ZHcy:"Ð",Zacute:"Ź",Zcaron:"Ž",Zcy:"Ð",Zdot:"Å»",ZeroWidthSpace:"â",Zeta:"Î",Zfr:"â¨",Zopf:"â¤",Zscr:"ðµ",aacute:"á",abreve:"Ä",ac:"â¾",acE:"â¾Ì³",acd:"â¿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"â¡",afr:"ð",agrave:"à ",alefsym:"âµ",aleph:"âµ",alpha:"α",amacr:"Ä",amalg:"⨿",amp:"&",and:"â§",andand:"â©",andd:"â©",andslope:"â©",andv:"â©",ang:"â ",ange:"⦤",angle:"â ",angmsd:"â¡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"â¦",angmsdag:"⦮",angmsdah:"⦯",angrt:"â",angrtvb:"â¾",angrtvbd:"â¦",angsph:"â¢",angst:"Ã
",angzarr:"â¼",aogon:"Ä
",aopf:"ð",ap:"â",apE:"â©°",apacir:"⩯",ape:"â",apid:"â",apos:"'",approx:"â",approxeq:"â",aring:"Ã¥",ascr:"ð¶",ast:"*",asymp:"â",asympeq:"â",atilde:"ã",auml:"ä",awconint:"â³",awint:"â¨",bNot:"â«",backcong:"â",backepsilon:"϶",backprime:"âµ",backsim:"â½",backsimeq:"â",barvee:"â½",barwed:"â
",barwedge:"â
",bbrk:"âµ",bbrktbrk:"â¶",bcong:"â",bcy:"б",bdquo:"â",becaus:"âµ",because:"âµ",bemptyv:"⦰",bepsi:"϶",bernou:"â¬",beta:"β",beth:"â¶",between:"â¬",bfr:"ð",bigcap:"â",bigcirc:"â¯",bigcup:"â",bigodot:"â¨",bigoplus:"â¨",bigotimes:"â¨",bigsqcup:"â¨",bigstar:"â
",bigtriangledown:"â½",bigtriangleup:"â³",biguplus:"â¨",bigvee:"â",bigwedge:"â",bkarow:"â¤",blacklozenge:"â§«",blacksquare:"âª",blacktriangle:"â´",blacktriangledown:"â¾",blacktriangleleft:"â",blacktriangleright:"â¸",blank:"â£",blk12:"â",blk14:"â",blk34:"â",block:"â",bne:"=â¥",bnequiv:"â¡â¥",bnot:"â",bopf:"ð",bot:"â¥",bottom:"â¥",bowtie:"â",boxDL:"â",boxDR:"â",boxDl:"â",boxDr:"â",boxH:"â",boxHD:"â¦",boxHU:"â©",boxHd:"â¤",boxHu:"â§",boxUL:"â",boxUR:"â",boxUl:"â",boxUr:"â",boxV:"â",boxVH:"â¬",boxVL:"â£",boxVR:"â ",boxVh:"â«",boxVl:"â¢",boxVr:"â",boxbox:"â§",boxdL:"â",boxdR:"â",boxdl:"â",boxdr:"â",boxh:"â",boxhD:"â¥",boxhU:"â¨",boxhd:"â¬",boxhu:"â´",boxminus:"â",boxplus:"â",boxtimes:"â ",boxuL:"â",boxuR:"â",boxul:"â",boxur:"â",boxv:"â",boxvH:"âª",boxvL:"â¡",boxvR:"â",boxvh:"â¼",boxvl:"â¤",boxvr:"â",bprime:"âµ",breve:"Ë",brvbar:"¦",bscr:"ð·",bsemi:"â",bsim:"â½",bsime:"â",bsol:"\\",bsolb:"â§
",bsolhsub:"â",bull:"â¢",bullet:"â¢",bump:"â",bumpE:"⪮",bumpe:"â",bumpeq:"â",cacute:"Ä",cap:"â©",capand:"â©",capbrcup:"â©",capcap:"â©",capcup:"â©",capdot:"â©",caps:"â©ï¸",caret:"â",caron:"Ë",ccaps:"â©",ccaron:"Ä",ccedil:"ç",ccirc:"Ä",ccups:"â©",ccupssm:"â©",cdot:"Ä",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"ð ",chcy:"Ñ",check:"â",checkmark:"â",chi:"Ï",cir:"â",cirE:"â§",circ:"Ë",circeq:"â",circlearrowleft:"âº",circlearrowright:"â»",circledR:"®",circledS:"â",circledast:"â",circledcirc:"â",circleddash:"â",cire:"â",cirfnint:"â¨",cirmid:"⫯",cirscir:"â§",clubs:"â£",clubsuit:"â£",colon:":",colone:"â",coloneq:"â",comma:",",commat:"@",comp:"â",compfn:"â",complement:"â",complexes:"â",cong:"â
",congdot:"â©",conint:"â®",copf:"ð",coprod:"â",copy:"©",copysr:"â",crarr:"âµ",cross:"â",cscr:"ð¸",csub:"â«",csube:"â«",csup:"â«",csupe:"â«",ctdot:"â¯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"â",cuesc:"â",cularr:"â¶",cularrp:"⤽",cup:"âª",cupbrcap:"â©",cupcap:"â©",cupcup:"â©",cupdot:"â",cupor:"â©
",cups:"âªï¸",curarr:"â·",curarrm:"⤼",curlyeqprec:"â",curlyeqsucc:"â",curlyvee:"â",curlywedge:"â",curren:"¤",curvearrowleft:"â¶",curvearrowright:"â·",cuvee:"â",cuwed:"â",cwconint:"â²",cwint:"â±",cylcty:"â",dArr:"â",dHar:"⥥",dagger:"â ",daleth:"â¸",darr:"â",dash:"â",dashv:"â£",dbkarow:"â¤",dblac:"Ë",dcaron:"Ä",dcy:"д",dd:"â
",ddagger:"â¡",ddarr:"â",ddotseq:"â©·",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"ð¡",dharl:"â",dharr:"â",diam:"â",diamond:"â",diamondsuit:"â¦",diams:"â¦",die:"¨",digamma:"Ï",disin:"â²",div:"÷",divide:"÷",divideontimes:"â",divonx:"â",djcy:"Ñ",dlcorn:"â",dlcrop:"â",dollar:"$",dopf:"ð",dot:"Ë",doteq:"â",doteqdot:"â",dotminus:"â¸",dotplus:"â",dotsquare:"â¡",doublebarwedge:"â",downarrow:"â",downdownarrows:"â",downharpoonleft:"â",downharpoonright:"â",drbkarow:"â¤",drcorn:"â",drcrop:"â",dscr:"ð¹",dscy:"Ñ",dsol:"â§¶",dstrok:"Ä",dtdot:"â±",dtri:"â¿",dtrif:"â¾",duarr:"âµ",duhar:"⥯",dwangle:"⦦",dzcy:"Ñ",dzigrarr:"â¿",eDDot:"â©·",eDot:"â",eacute:"é",easter:"â©®",ecaron:"Ä",ecir:"â",ecirc:"ê",ecolon:"â",ecy:"Ñ",edot:"Ä",ee:"â
",efDot:"â",efr:"ð¢",eg:"âª",egrave:"è",egs:"âª",egsdot:"âª",el:"âª",elinters:"â§",ell:"â",els:"âª",elsdot:"âª",emacr:"Ä",empty:"â
",emptyset:"â
",emptyv:"â
",emsp13:"â",emsp14:"â
",emsp:"â",eng:"Å",ensp:"â",eogon:"Ä",eopf:"ð",epar:"â",eparsl:"â§£",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"â",eqcolon:"â",eqsim:"â",eqslantgtr:"âª",eqslantless:"âª",equals:"=",equest:"â",equiv:"â¡",equivDD:"⩸",eqvparsl:"â§¥",erDot:"â",erarr:"⥱",escr:"â¯",esdot:"â",esim:"â",eta:"η",eth:"ð",euml:"ë",euro:"â¬",excl:"!",exist:"â",expectation:"â°",exponentiale:"â
",fallingdotseq:"â",fcy:"Ñ",female:"â",ffilig:"ï¬",fflig:"ï¬",ffllig:"ï¬",ffr:"ð£",filig:"ï¬",fjlig:"fj",flat:"â",fllig:"ï¬",fltns:"â±",fnof:"Æ",fopf:"ð",forall:"â",fork:"â",forkv:"â«",fpartint:"â¨",frac12:"½",frac13:"â
",frac14:"¼",frac15:"â
",frac16:"â
",frac18:"â
",frac23:"â
",frac25:"â
",frac34:"¾",frac35:"â
",frac38:"â
",frac45:"â
",frac56:"â
",frac58:"â
",frac78:"â
",frasl:"â",frown:"â¢",fscr:"ð»",gE:"â§",gEl:"âª",gacute:"ǵ",gamma:"γ",gammad:"Ï",gap:"âª",gbreve:"Ä",gcirc:"Ä",gcy:"г",gdot:"Ä¡",ge:"â¥",gel:"â",geq:"â¥",geqq:"â§",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"âª",gesdoto:"âª",gesdotol:"âª",gesl:"âï¸",gesles:"âª",gfr:"ð¤",gg:"â«",ggg:"â",gimel:"â·",gjcy:"Ñ",gl:"â·",glE:"âª",gla:"⪥",glj:"⪤",gnE:"â©",gnap:"âª",gnapprox:"âª",gne:"âª",gneq:"âª",gneqq:"â©",gnsim:"â§",gopf:"ð",grave:"`",gscr:"â",gsim:"â³",gsime:"âª",gsiml:"âª",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"â",gtlPar:"â¦",gtquest:"⩼",gtrapprox:"âª",gtrarr:"⥸",gtrdot:"â",gtreqless:"â",gtreqqless:"âª",gtrless:"â·",gtrsim:"â³",gvertneqq:"â©ï¸",gvnE:"â©ï¸",hArr:"â",hairsp:"â",half:"½",hamilt:"â",hardcy:"Ñ",harr:"â",harrcir:"â¥",harrw:"â",hbar:"â",hcirc:"Ä¥",hearts:"â¥",heartsuit:"â¥",hellip:"â¦",hercon:"â¹",hfr:"ð¥",hksearow:"⤥",hkswarow:"⤦",hoarr:"â¿",homtht:"â»",hookleftarrow:"â©",hookrightarrow:"âª",hopf:"ð",horbar:"â",hscr:"ð½",hslash:"â",hstrok:"ħ",hybull:"â",hyphen:"â",iacute:"Ã",ic:"â£",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"â",ifr:"ð¦",igrave:"ì",ii:"â
",iiiint:"â¨",iiint:"â",iinfin:"â§",iiota:"â©",ijlig:"ij",imacr:"Ä«",image:"â",imagline:"â",imagpart:"â",imath:"ı",imof:"â·",imped:"Ƶ",in:"â",incare:"â
",infin:"â",infintie:"â§",inodot:"ı",int:"â«",intcal:"âº",integers:"â¤",intercal:"âº",intlarhk:"â¨",intprod:"⨼",iocy:"Ñ",iogon:"į",iopf:"ð",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"ð¾",isin:"â",isinE:"â¹",isindot:"âµ",isins:"â´",isinsv:"â³",isinv:"â",it:"â¢",itilde:"Ä©",iukcy:"Ñ",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"ð§",jmath:"È·",jopf:"ð",jscr:"ð¿",jsercy:"Ñ",jukcy:"Ñ",kappa:"κ",kappav:"ϰ",kcedil:"Ä·",kcy:"к",kfr:"ð¨",kgreen:"ĸ",khcy:"Ñ
",kjcy:"Ñ",kopf:"ð",kscr:"ð",lAarr:"â",lArr:"â",lAtail:"â¤",lBarr:"â¤",lE:"â¦",lEg:"âª",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"â",lambda:"λ",lang:"â¨",langd:"â¦",langle:"â¨",lap:"âª
",laquo:"«",larr:"â",larrb:"â¤",larrbfs:"â¤",larrfs:"â¤",larrhk:"â©",larrlp:"â«",larrpl:"⤹",larrsim:"⥳",larrtl:"â¢",lat:"⪫",latail:"â¤",late:"âª",lates:"âªï¸",lbarr:"â¤",lbbrk:"â²",lbrace:"{",lbrack:"[",lbrke:"â¦",lbrksld:"â¦",lbrkslu:"â¦",lcaron:"ľ",lcedil:"ļ",lceil:"â",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"â",ldquor:"â",ldrdhar:"⥧",ldrushar:"â¥",ldsh:"â²",le:"â¤",leftarrow:"â",leftarrowtail:"â¢",leftharpoondown:"â½",leftharpoonup:"â¼",leftleftarrows:"â",leftrightarrow:"â",leftrightarrows:"â",leftrightharpoons:"â",leftrightsquigarrow:"â",leftthreetimes:"â",leg:"â",leq:"â¤",leqq:"â¦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"â©¿",lesdoto:"âª",lesdotor:"âª",lesg:"âï¸",lesges:"âª",lessapprox:"âª
",lessdot:"â",lesseqgtr:"â",lesseqqgtr:"âª",lessgtr:"â¶",lesssim:"â²",lfisht:"⥼",lfloor:"â",lfr:"ð©",lg:"â¶",lgE:"âª",lhard:"â½",lharu:"â¼",lharul:"⥪",lhblk:"â",ljcy:"Ñ",ll:"âª",llarr:"â",llcorner:"â",llhard:"⥫",lltri:"âº",lmidot:"Å",lmoust:"â°",lmoustache:"â°",lnE:"â¨",lnap:"âª",lnapprox:"âª",lne:"âª",lneq:"âª",lneqq:"â¨",lnsim:"â¦",loang:"â¬",loarr:"â½",lobrk:"â¦",longleftarrow:"âµ",longleftrightarrow:"â·",longmapsto:"â¼",longrightarrow:"â¶",looparrowleft:"â«",looparrowright:"â¬",lopar:"â¦
",lopf:"ð",loplus:"â¨",lotimes:"⨴",lowast:"â",lowbar:"_",loz:"â",lozenge:"â",lozf:"â§«",lpar:"(",lparlt:"â¦",lrarr:"â",lrcorner:"â",lrhar:"â",lrhard:"â¥",lrm:"â",lrtri:"â¿",lsaquo:"â¹",lscr:"ð",lsh:"â°",lsim:"â²",lsime:"âª",lsimg:"âª",lsqb:"[",lsquo:"â",lsquor:"â",lstrok:"Å",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"â",lthree:"â",ltimes:"â",ltlarr:"⥶",ltquest:"â©»",ltrPar:"â¦",ltri:"â",ltrie:"â´",ltrif:"â",lurdshar:"â¥",luruhar:"⥦",lvertneqq:"â¨ï¸",lvnE:"â¨ï¸",mDDot:"âº",macr:"¯",male:"â",malt:"â ",maltese:"â ",map:"â¦",mapsto:"â¦",mapstodown:"â§",mapstoleft:"â¤",mapstoup:"â¥",marker:"â®",mcomma:"⨩",mcy:"м",mdash:"â",measuredangle:"â¡",mfr:"ðª",mho:"â§",micro:"µ",mid:"â£",midast:"*",midcir:"â«°",middot:"·",minus:"â",minusb:"â",minusd:"â¸",minusdu:"⨪",mlcp:"â«",mldr:"â¦",mnplus:"â",models:"â§",mopf:"ð",mp:"â",mscr:"ð",mstpos:"â¾",mu:"μ",multimap:"â¸",mumap:"â¸",nGg:"â̸",nGt:"â«â",nGtv:"â«Ì¸",nLeftarrow:"â",nLeftrightarrow:"â",nLl:"â̸",nLt:"âªâ",nLtv:"âªÌ¸",nRightarrow:"â",nVDash:"â¯",nVdash:"â®",nabla:"â",nacute:"Å",nang:"â â",nap:"â",napE:"⩰̸",napid:"â̸",napos:"Å",napprox:"â",natur:"â®",natural:"â®",naturals:"â",nbsp:" ",nbump:"â̸",nbumpe:"â̸",ncap:"â©",ncaron:"Å",ncedil:"Å",ncong:"â",ncongdot:"â©Ì¸",ncup:"â©",ncy:"н",ndash:"â",ne:"â ",neArr:"â",nearhk:"⤤",nearr:"â",nearrow:"â",nedot:"â̸",nequiv:"â¢",nesear:"⤨",nesim:"â̸",nexist:"â",nexists:"â",nfr:"ð«",ngE:"â§Ì¸",nge:"â±",ngeq:"â±",ngeqq:"â§Ì¸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"âµ",ngt:"â¯",ngtr:"â¯",nhArr:"â",nharr:"â®",nhpar:"⫲",ni:"â",nis:"â¼",nisd:"âº",niv:"â",njcy:"Ñ",nlArr:"â",nlE:"â¦Ì¸",nlarr:"â",nldr:"â¥",nle:"â°",nleftarrow:"â",nleftrightarrow:"â®",nleq:"â°",nleqq:"â¦Ì¸",nleqslant:"⩽̸",nles:"⩽̸",nless:"â®",nlsim:"â´",nlt:"â®",nltri:"âª",nltrie:"â¬",nmid:"â¤",nopf:"ð",not:"¬",notin:"â",notinE:"â¹Ì¸",notindot:"âµÌ¸",notinva:"â",notinvb:"â·",notinvc:"â¶",notni:"â",notniva:"â",notnivb:"â¾",notnivc:"â½",npar:"â¦",nparallel:"â¦",nparsl:"⫽â¥",npart:"â̸",npolint:"â¨",npr:"â",nprcue:"â ",npre:"⪯̸",nprec:"â",npreceq:"⪯̸",nrArr:"â",nrarr:"â",nrarrc:"⤳̸",nrarrw:"â̸",nrightarrow:"â",nrtri:"â«",nrtrie:"â",nsc:"â",nsccue:"â¡",nsce:"⪰̸",nscr:"ð",nshortmid:"â¤",nshortparallel:"â¦",nsim:"â",nsime:"â",nsimeq:"â",nsmid:"â¤",nspar:"â¦",nsqsube:"â¢",nsqsupe:"â£",nsub:"â",nsubE:"â«
̸",nsube:"â",nsubset:"ââ",nsubseteq:"â",nsubseteqq:"â«
̸",nsucc:"â",nsucceq:"⪰̸",nsup:"â
",nsupE:"â«Ì¸",nsupe:"â",nsupset:"ââ",nsupseteq:"â",nsupseteqq:"â«Ì¸",ntgl:"â¹",ntilde:"ñ",ntlg:"â¸",ntriangleleft:"âª",ntrianglelefteq:"â¬",ntriangleright:"â«",ntrianglerighteq:"â",nu:"ν",num:"#",numero:"â",numsp:"â",nvDash:"â",nvHarr:"â¤",nvap:"ââ",nvdash:"â¬",nvge:"â¥â",nvgt:">â",nvinfin:"â§",nvlArr:"â¤",nvle:"â¤â",nvlt:"<â",nvltrie:"â´â",nvrArr:"â¤",nvrtrie:"âµâ",nvsim:"â¼â",nwArr:"â",nwarhk:"⤣",nwarr:"â",nwarrow:"â",nwnear:"⤧",oS:"â",oacute:"ó",oast:"â",ocir:"â",ocirc:"ô",ocy:"о",odash:"â",odblac:"Å",odiv:"⨸",odot:"â",odsold:"⦼",oelig:"Å",ofcir:"⦿",ofr:"ð¬",ogon:"Ë",ograve:"ò",ogt:"â§",ohbar:"⦵",ohm:"Ω",oint:"â®",olarr:"âº",olcir:"⦾",olcross:"⦻",oline:"â¾",olt:"â§",omacr:"Å",omega:"Ï",omicron:"ο",omid:"⦶",ominus:"â",oopf:"ð ",opar:"⦷",operp:"⦹",oplus:"â",or:"â¨",orarr:"â»",ord:"â©",order:"â´",orderof:"â´",ordf:"ª",ordm:"º",origof:"â¶",oror:"â©",orslope:"â©",orv:"â©",oscr:"â´",oslash:"ø",osol:"â",otilde:"õ",otimes:"â",otimesas:"⨶",ouml:"ö",ovbar:"â½",par:"â¥",para:"¶",parallel:"â¥",parsim:"⫳",parsl:"⫽",part:"â",pcy:"п",percnt:"%",period:".",permil:"â°",perp:"â¥",pertenk:"â±",pfr:"ð",phi:"Ï",phiv:"Ï",phmmat:"â³",phone:"â",pi:"Ï",pitchfork:"â",piv:"Ï",planck:"â",planckh:"â",plankv:"â",plus:"+",plusacir:"⨣",plusb:"â",pluscir:"⨢",plusdo:"â",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"â¨",popf:"ð¡",pound:"£",pr:"âº",prE:"⪳",prap:"⪷",prcue:"â¼",pre:"⪯",prec:"âº",precapprox:"⪷",preccurlyeq:"â¼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"â¨",precsim:"â¾",prime:"â²",primes:"â",prnE:"⪵",prnap:"⪹",prnsim:"â¨",prod:"â",profalar:"â®",profline:"â",profsurf:"â",prop:"â",propto:"â",prsim:"â¾",prurel:"â°",pscr:"ð
",psi:"Ï",puncsp:"â",qfr:"ð®",qint:"â¨",qopf:"ð¢",qprime:"â",qscr:"ð",quaternions:"â",quatint:"â¨",quest:"?",questeq:"â",quot:'"',rAarr:"â",rArr:"â",rAtail:"â¤",rBarr:"â¤",rHar:"⥤",race:"â½Ì±",racute:"Å",radic:"â",raemptyv:"⦳",rang:"â©",rangd:"â¦",range:"⦥",rangle:"â©",raquo:"»",rarr:"â",rarrap:"⥵",rarrb:"â¥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"â¤",rarrhk:"âª",rarrlp:"â¬",rarrpl:"â¥
",rarrsim:"⥴",rarrtl:"â£",rarrw:"â",ratail:"â¤",ratio:"â¶",rationals:"â",rbarr:"â¤",rbbrk:"â³",rbrace:"}",rbrack:"]",rbrke:"â¦",rbrksld:"â¦",rbrkslu:"â¦",rcaron:"Å",rcedil:"Å",rceil:"â",rcub:"}",rcy:"Ñ",rdca:"⤷",rdldhar:"⥩",rdquo:"â",rdquor:"â",rdsh:"â³",real:"â",realine:"â",realpart:"â",reals:"â",rect:"â",reg:"®",rfisht:"⥽",rfloor:"â",rfr:"ð¯",rhard:"â",rharu:"â",rharul:"⥬",rho:"Ï",rhov:"ϱ",rightarrow:"â",rightarrowtail:"â£",rightharpoondown:"â",rightharpoonup:"â",rightleftarrows:"â",rightleftharpoons:"â",rightrightarrows:"â",rightsquigarrow:"â",rightthreetimes:"â",ring:"Ë",risingdotseq:"â",rlarr:"â",rlhar:"â",rlm:"â",rmoust:"â±",rmoustache:"â±",rnmid:"â«®",roang:"â",roarr:"â¾",robrk:"â§",ropar:"â¦",ropf:"ð£",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"â¦",rppolint:"â¨",rrarr:"â",rsaquo:"âº",rscr:"ð",rsh:"â±",rsqb:"]",rsquo:"â",rsquor:"â",rthree:"â",rtimes:"â",rtri:"â¹",rtrie:"âµ",rtrif:"â¸",rtriltri:"â§",ruluhar:"⥨",rx:"â",sacute:"Å",sbquo:"â",sc:"â»",scE:"⪴",scap:"⪸",scaron:"Å¡",sccue:"â½",sce:"⪰",scedil:"Å",scirc:"Å",scnE:"⪶",scnap:"⪺",scnsim:"â©",scpolint:"â¨",scsim:"â¿",scy:"Ñ",sdot:"â
",sdotb:"â¡",sdote:"⩦",seArr:"â",searhk:"⤥",searr:"â",searrow:"â",sect:"§",semi:";",seswar:"⤩",setminus:"â",setmn:"â",sext:"â¶",sfr:"ð°",sfrown:"â¢",sharp:"â¯",shchcy:"Ñ",shcy:"Ñ",shortmid:"â£",shortparallel:"â¥",shy:"Â",sigma:"Ï",sigmaf:"Ï",sigmav:"Ï",sim:"â¼",simdot:"⩪",sime:"â",simeq:"â",simg:"âª",simgE:"⪠",siml:"âª",simlE:"âª",simne:"â",simplus:"⨤",simrarr:"⥲",slarr:"â",smallsetminus:"â",smashp:"⨳",smeparsl:"⧤",smid:"â£",smile:"â£",smt:"⪪",smte:"⪬",smtes:"⪬ï¸",softcy:"Ñ",sol:"/",solb:"â§",solbar:"â¿",sopf:"ð¤",spades:"â ",spadesuit:"â ",spar:"â¥",sqcap:"â",sqcaps:"âï¸",sqcup:"â",sqcups:"âï¸",sqsub:"â",sqsube:"â",sqsubset:"â",sqsubseteq:"â",sqsup:"â",sqsupe:"â",sqsupset:"â",sqsupseteq:"â",squ:"â¡",square:"â¡",squarf:"âª",squf:"âª",srarr:"â",sscr:"ð",ssetmn:"â",ssmile:"â£",sstarf:"â",star:"â",starf:"â
",straightepsilon:"ϵ",straightphi:"Ï",strns:"¯",sub:"â",subE:"â«
",subdot:"⪽",sube:"â",subedot:"â«",submult:"â«",subnE:"â«",subne:"â",subplus:"⪿",subrarr:"⥹",subset:"â",subseteq:"â",subseteqq:"â«
",subsetneq:"â",subsetneqq:"â«",subsim:"â«",subsub:"â«",subsup:"â«",succ:"â»",succapprox:"⪸",succcurlyeq:"â½",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"â©",succsim:"â¿",sum:"â",sung:"âª",sup1:"¹",sup2:"²",sup3:"³",sup:"â",supE:"â«",supdot:"⪾",supdsub:"â«",supe:"â",supedot:"â«",suphsol:"â",suphsub:"â«",suplarr:"⥻",supmult:"â«",supnE:"â«",supne:"â",supplus:"â«",supset:"â",supseteq:"â",supseteqq:"â«",supsetneq:"â",supsetneqq:"â«",supsim:"â«",supsub:"â«",supsup:"â«",swArr:"â",swarhk:"⤦",swarr:"â",swarrow:"â",swnwar:"⤪",szlig:"Ã",target:"â",tau:"Ï",tbrk:"â´",tcaron:"Å¥",tcedil:"Å£",tcy:"Ñ",tdot:"â",telrec:"â",tfr:"ð±",there4:"â´",therefore:"â´",theta:"θ",thetasym:"Ï",thetav:"Ï",thickapprox:"â",thicksim:"â¼",thinsp:"â",thkap:"â",thksim:"â¼",thorn:"þ",tilde:"Ë",times:"Ã",timesb:"â ",timesbar:"⨱",timesd:"⨰",tint:"â",toea:"⤨",top:"â¤",topbot:"â¶",topcir:"⫱",topf:"ð¥",topfork:"â«",tosa:"⤩",tprime:"â´",trade:"â¢",triangle:"âµ",triangledown:"â¿",triangleleft:"â",trianglelefteq:"â´",triangleq:"â",triangleright:"â¹",trianglerighteq:"âµ",tridot:"â¬",trie:"â",triminus:"⨺",triplus:"⨹",trisb:"â§",tritime:"⨻",trpezium:"â¢",tscr:"ð",tscy:"Ñ",tshcy:"Ñ",tstrok:"ŧ",twixt:"â¬",twoheadleftarrow:"â",twoheadrightarrow:"â ",uArr:"â",uHar:"⥣",uacute:"ú",uarr:"â",ubrcy:"Ñ",ubreve:"Å",ucirc:"û",ucy:"Ñ",udarr:"â
",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"ð²",ugrave:"ù",uharl:"â¿",uharr:"â¾",uhblk:"â",ulcorn:"â",ulcorner:"â",ulcrop:"â",ultri:"â¸",umacr:"Å«",uml:"¨",uogon:"ų",uopf:"ð¦",uparrow:"â",updownarrow:"â",upharpoonleft:"â¿",upharpoonright:"â¾",uplus:"â",upsi:"Ï
",upsih:"Ï",upsilon:"Ï
",upuparrows:"â",urcorn:"â",urcorner:"â",urcrop:"â",uring:"ů",urtri:"â¹",uscr:"ð",utdot:"â°",utilde:"Å©",utri:"âµ",utrif:"â´",uuarr:"â",uuml:"ü",uwangle:"⦧",vArr:"â",vBar:"⫨",vBarv:"â«©",vDash:"â¨",vangrt:"â¦",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"â
",varphi:"Ï",varpi:"Ï",varpropto:"â",varr:"â",varrho:"ϱ",varsigma:"Ï",varsubsetneq:"âï¸",varsubsetneqq:"â«ï¸",varsupsetneq:"âï¸",varsupsetneqq:"â«ï¸",vartheta:"Ï",vartriangleleft:"â²",vartriangleright:"â³",vcy:"в",vdash:"â¢",vee:"â¨",veebar:"â»",veeeq:"â",vellip:"â®",verbar:"|",vert:"|",vfr:"ð³",vltri:"â²",vnsub:"ââ",vnsup:"ââ",vopf:"ð§",vprop:"â",vrtri:"â³",vscr:"ð",vsubnE:"â«ï¸",vsubne:"âï¸",vsupnE:"â«ï¸",vsupne:"âï¸",vzigzag:"â¦",wcirc:"ŵ",wedbar:"â©",wedge:"â§",wedgeq:"â",weierp:"â",wfr:"ð´",wopf:"ð¨",wp:"â",wr:"â",wreath:"â",wscr:"ð",xcap:"â",xcirc:"â¯",xcup:"â",xdtri:"â½",xfr:"ðµ",xhArr:"âº",xharr:"â·",xi:"ξ",xlArr:"â¸",xlarr:"âµ",xmap:"â¼",xnis:"â»",xodot:"â¨",xopf:"ð©",xoplus:"â¨",xotime:"â¨",xrArr:"â¹",xrarr:"â¶",xscr:"ð",xsqcup:"â¨",xuplus:"â¨",xutri:"â³",xvee:"â",xwedge:"â",yacute:"ý",yacy:"Ñ",ycirc:"Å·",ycy:"Ñ",yen:"Â¥",yfr:"ð¶",yicy:"Ñ",yopf:"ðª",yscr:"ð",yucy:"Ñ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"â¨",zeta:"ζ",zfr:"ð·",zhcy:"ж",zigrarr:"â",zopf:"ð«",zscr:"ð",zwj:"â",zwnj:"â"},
98AIe={}.hasOwnProperty;function y6(e){return AIe.call(AE,e)?AE[e]:!1}
vendor: 11,154 bytes, lines 98-113
98function gj(e,t){const 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)}var TIe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function bj(e){return e.replace(TIe,EIe)}function EIe(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const r=n.charCodeAt(1),a=r===120||r===88;return gj(n.slice(a?2:1),a?16:10)}return y6(n)||e}function _Ie(e){return e.label||!e.identifier?e.label||"":bj(e.identifier)}function CIe(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function $Ie(e,t,n){const r=t.indexStack,a=e.children||[],i=[];let o=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++o<a.length;){const c=a[o];let u;if(r[r.length-1]=o,o+1<a.length){let d=t.handle.handlers[a[o+1].type];d&&d.peek&&(d=d.peek),u=d?d(a[o+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else u=n.after;i.length>0&&(s==="\r"||s===` 99`)&&c.type==="html"&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(i.join(""))),i.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=i[i.length-1].slice(-1)}return r.pop(),i.join("")}function PIe(e,t,n){const r=t.indexStack,a=e.children||[],i=t.createTracker(n),o=[];let s=-1;for(r.push(-1);++s<a.length;){const l=a[s];r[r.length-1]=s,o.push(i.move(t.handle(l,e,t,{before:` 100`,after:` 101`,...i.current()}))),l.type!=="list"&&(t.bulletLastUsed=void 0),s<a.length-1&&o.push(i.move(IIe(l,a[s+1],e,t)))}return r.pop(),o.join("")}function IIe(e,t,n,r){let a=r.join.length;for(;a--;){const i=r.join[a](e,t,n,r);if(i===!0||i===1)break;if(typeof i=="number")return` 102`.repeat(1+i);if(i===!1)return` 103 104<!----> 105 106`}return` 107 108`}var NIe=/\r?\n|\r/g;function RIe(e,t){const n=[];let r=0,a=0,i;for(;i=NIe.exec(e);)o(e.slice(r,i.index)),n.push(i[0]),r=i.index+i[0].length,a++;return o(e.slice(r)),n.join("");function o(s){n.push(t(s,a,!s))}}function MIe(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),a=[],i=[],o={};let s=-1;for(;++s<e.unsafe.length;){const u=e.unsafe[s];if(!rj(e.stack,u))continue;const d=e.compilePattern(u);let f;for(;f=d.exec(r);){const p="before"in u||!!u.atBreak,h="after"in u,b=f.index+(p?f[1].length:0);a.includes(b)?(o[b].before&&!p&&(o[b].before=!1),o[b].after&&!h&&(o[b].after=!1)):(a.push(b),o[b]={before:p,after:h})}}a.sort(LIe);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(s=-1;++s<a.length;){const u=a[s];u<l||u>=c||u+1<c&&a[s+1]===u+1&&o[u].after&&!o[u+1].before&&!o[u+1].after||a[s-1]===u-1&&o[u].before&&!o[u-1].before&&!o[u-1].after||(l!==u&&i.push(TE(r.slice(l,u),"\\")),l=u,/[!-/:-@[-`{-~]/.test(r.charAt(u))&&(!n.encode||!n.encode.includes(r.charAt(u)))?i.push("\\"):(i.push("&#x"+r.charCodeAt(u).toString(16).toUpperCase()+";"),l++))}return i.push(TE(r.slice(l,c),n.after)),i.join("")}function LIe(e,t){return e-t}function TE(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],a=[],i=e+t;let o=-1,s=0,l;for(;l=n.exec(i);)r.push(l.index);for(;++o<r.length;)s!==r[o]&&a.push(e.slice(s,r[o])),a.push("\\"),s=r[o];return a.push(e.slice(s)),a.join("")}function DIe(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,a=n.line||1,i=n.column||1;return{move:l,current:o,shift:s};function o(){return{now:{line:a,column:i},lineShift:r}}function s(c){r+=c}function l(c){const u=c||"",d=u.split(/\r?\n|\r/g),f=d[d.length-1];return a+=d.length-1,i=d.length===1?i+f.length:1+f.length+r,u}}function BIe(e,t={}){const n={enter:a,indentLines:RIe,associationId:_Ie,containerPhrasing:FIe,containerFlow:zIe,createTracker:DIe,compilePattern:CIe,safe:VIe,stack:[],unsafe:[...kIe],join:[...wIe],handlers:{...b6},options:{},indexStack:[],handle:void 0};nj(n,t),n.options.tightDefinitions&&n.join.push(QIe),n.handle=qy("type",{invalid:UIe,unknown:jIe,handlers:n.handlers});let r=n.handle(e,void 0,n,{before:` 109`,after:` 110`,now:{line:1,column:1},lineShift:0});return r&&r.charCodeAt(r.length-1)!==10&&r.charCodeAt(r.length-1)!==13&&(r+=` 111`),r;function a(i){return n.stack.push(i),o;function o(){n.stack.pop()}}}function UIe(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function jIe(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function QIe(e,t){if(e.type==="definition"&&e.type===t.type)return 0}function FIe(e,t){return $Ie(e,this,t)}function zIe(e,t){return PIe(e,this,t)}function VIe(e,t){return MIe(this,e,t)}function HIe(){return{enter:{table:qIe,tableData:EE,tableHeader:EE,tableRow:XIe},exit:{codeText:WIe,table:ZIe,tableData:qO,tableHeader:qO,tableRow:qO}}}function qIe(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function ZIe(e){this.exit(e),this.data.inTable=void 0}function XIe(e){this.enter({type:"tableRow",children:[]},e)}function qO(e){this.exit(e)}function EE(e){this.enter({type:"tableCell",children:[]},e)}function WIe(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,YIe));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function YIe(e,t){return t==="|"?t:e}function GIe(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 112`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:f,table:o,tableCell:l,tableRow:s}};function o(p,h,b,y){return c(u(p,b,y),p.align)}function s(p,h,b,y){const O=c([d(p,b,y)]);return O.slice(0,O.indexOf(` 113`))}function l(p,h,b,y){const O=b.enter("tableCell"),A=b.enter("phrasing"),x=b.containerPhrasing(p,{...y,before:i,after:i});return A(),O(),x}function c(p,h){return jPe(p,{align:h,alignDelimiters:r,padding:n,stringLength:a})}function u(p,h,b){const y=p.children;let O=-1;const A=[],x=h.enter("table");for(;++O<y.length;)A[O]=d(y[O],h,b);return x(),A}function d(p,h,b){const y=p.children;let O=-1;const A=[],x=h.enter("tableRow");for(;++O<y.length;)A[O]=l(y[O],p,h,b);return x(),A}function f(p,h,b){let y=b6.inlineCode(p,h,b);return b.stack.includes("tableCell")&&(y=y.replace(/\|/g,"\\$&")),y}}function KIe(){return{exit:{taskListCheckValueChecked:_E,taskListCheckValueUnchecked:_E,paragraph:eNe}}}function JIe(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:tNe}}}function _E(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function eNe(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const a=t.children;let i=-1,o;for(;++i<a.length;){const s=a[i];if(s.type==="paragraph"){o=s;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function tNe(e,t,n,r){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);i&&s.move(o);let l=b6.listItem(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+o}}function nNe(){return[cPe(),SPe(),MPe(),HIe(),KIe()]}function rNe(e){return{extensions:[uPe(),wPe(),LPe(),GIe(e),JIe()]}}function wo(e,t,n,r){const a=e.length;let i=0,o;if(t<0?t=-t>a?0:a+t:t=t>a?a: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);i<r.length;)o=r.slice(i,i+1e4),o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}function fo(e,t){return e.length>0?(wo(e,e.length,0,t),e):t}var CE={}.hasOwnProperty;function yj(e){const t={};let n=-1;for(;++n<e.length;)aNe(t,e[n]);return t}function aNe(e,t){let n;for(n in t){const r=(CE.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let i;if(a)for(i in a){CE.call(r,i)||(r[i]=[]);const o=a[i];iNe(r[i],Array.isArray(o)?o:o?[o]:[])}}}function iNe(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);wo(e,0,0,r)}var oNe={tokenize:fNe,partial:!0},vj={tokenize:pNe,partial:!0},Oj={tokenize:hNe,partial:!0},Sj={tokenize:mNe,partial:!0},sNe={tokenize:gNe,partial:!0},wj={tokenize:uNe,previous:kj},xj={tokenize:dNe,previous:Aj},Yl={tokenize:cNe,previous:Tj},rl={};function lNe(){return{text:rl}}var bu=48;for(;bu<123;)rl[bu]=Yl,bu++,bu===58?bu=65:bu===91&&(bu=97);rl[43]=Yl;rl[45]=Yl;rl[46]=Yl;rl[95]=Yl;rl[72]=[Yl,xj];rl[104]=[Yl,xj];rl[87]=[Yl,wj];rl[119]=[Yl,wj];function cNe(e,t,n){const r=this;let a,i;return o;function o(d){return!Ew(d)||!Tj.call(r,r.previous)||v6(r.events)?n(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(d))}function s(d){return Ew(d)?(e.consume(d),s):d===64?(e.consume(d),l):n(d)}function l(d){return d===46?e.check(sNe,u,c)(d):d===45||d===95||Ma(d)?(i=!0,e.consume(d),l):u(d)}function c(d){return e.consume(d),a=!0,l}function u(d){return i&&a&&Ka(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):n(d)}}function uNe(e,t,n){const r=this;return a;function a(o){return o!==87&&o!==119||!kj.call(r,r.previous)||v6(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(oNe,e.attempt(vj,e.attempt(Oj,i),n),n)(o))}function i(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function dNe(e,t,n){const r=this;let a="",i=!1;return o;function o(d){return(d===72||d===104)&&Aj.call(r,r.previous)&&!v6(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(d),e.consume(d),s):n(d)}function s(d){if(Ka(d)&&a.length<5)return a+=String.fromCodePoint(d),e.consume(d),s;if(d===58){const f=a.toLowerCase();if(f==="http"||f==="https")return e.consume(d),l}return n(d)}function l(d){return d===47?(e.consume(d),i?c:(i=!0,l)):n(d)}function c(d){return d===null||I2(d)||Vn(d)||ed(d)||Xy(d)?n(d):e.attempt(vj,e.attempt(Oj,u),n)(d)}function u(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function fNe(e,t,n){let r=0;return a;function a(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),a):o===46&&r===3?(e.consume(o),i):n(o)}function i(o){return o===null?n(o):t(o)}}function pNe(e,t,n){let r,a,i;return o;function o(c){return c===46||c===95?e.check(Sj,l,s)(c):c===null||Vn(c)||ed(c)||c!==45&&Xy(c)?l(c):(i=!0,e.consume(c),o)}function s(c){return c===95?r=!0:(a=r,r=void 0),e.consume(c),o}function l(c){return a||r||!i?n(c):t(c)}}function hNe(e,t){let n=0,r=0;return a;function a(o){return o===40?(n++,e.consume(o),a):o===41&&r<n?i(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(Sj,t,i)(o):o===null||Vn(o)||ed(o)?t(o):(e.consume(o),a)}function i(o){return o===41&&r++,e.consume(o),a}}function mNe(e,t,n){return r;
vendor: 4,178 bytes, line 113
113function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),i):s===93?(e.consume(s),a):s===60||s===null||Vn(s)||ed(s)?t(s):n(s)}function a(s){return s===null||s===40||s===91||Vn(s)||ed(s)?t(s):r(s)}function i(s){return Ka(s)?o(s):n(s)}function o(s){return s===59?(e.consume(s),r):Ka(s)?(e.consume(s),o):n(s)}}function gNe(e,t,n){return r;function r(i){return e.consume(i),a}function a(i){return Ma(i)?n(i):t(i)}}function kj(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Vn(e)}function Aj(e){return!Ka(e)}function Tj(e){return!(e===47||Ew(e))}function Ew(e){return e===43||e===45||e===46||e===95||Ma(e)}function v6(e){let t=e.length,n=!1;for(;t--;){const 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}function Dp(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const i=e.charCodeAt(n);let o="";if(i===37&&Ma(e.charCodeAt(n+1))&&Ma(e.charCodeAt(n+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(o=String.fromCharCode(i));else if(i>55295&&i<57344){const s=e.charCodeAt(n+1);i<56320&&s>56319&&s<57344?(o=String.fromCharCode(i,s),a=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function N2(e){if(e===null||Vn(e)||ed(e))return 1;if(Xy(e))return 2}function Wy(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}var _w={name:"attention",tokenize:yNe,resolveAll:bNe};function bNe(e,t){let n=-1,r,a,i,o,s,l,c,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;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),f=Object.assign({},e[n][1].start);$E(d,-l),$E(f,l),o={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:f},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},s.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=fo(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=fo(c,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",i,t]]),c=fo(c,Wy(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=fo(c,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,c=fo(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):u=0,wo(e,r-1,n-r+3,c),n=r+c.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function yNe(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=N2(r);let i;return o;function o(l){return i=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===i)return e.consume(l),s;const c=e.exit("attentionSequence"),u=N2(l),d=!u||u===2&&a||n.includes(l),f=!a||a===2&&u||n.includes(r);return c._open=!!(i===42?d:d&&(a||!f)),c._close=!!(i===42?f:f&&(u||!d)),t(l)}}function $E(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var vNe={name:"autolink",tokenize:ONe};function ONe(e,t,n){let r=0;return a;function a(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(p){return Ka(p)?(e.consume(p),o):p===64?n(p):c(p)}function o(p){return p===43||p===45||p===46||Ma(p)?(r=1,s(p)):c(p)}
vendor: 4,046 bytes, line 113
113function s(p){return p===58?(e.consume(p),r=0,l):(p===43||p===45||p===46||Ma(p))&&r++<32?(e.consume(p),s):(r=0,c(p))}function l(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||I2(p)?n(p):(e.consume(p),l)}function c(p){return p===64?(e.consume(p),u):tPe(p)?(e.consume(p),c):n(p)}function u(p){return Ma(p)?d(p):n(p)}function d(p){return p===46?(e.consume(p),r=0,u):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):f(p)}function f(p){if((p===45||Ma(p))&&r++<63){const h=p===45?f:d;return e.consume(p),h}return n(p)}}function mn(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let i=0;return o;function o(l){return tn(l)?(e.enter(n),s(l)):t(l)}function s(l){return tn(l)&&i++<a?(e.consume(l),s):(e.exit(n),t(l))}}var R0={tokenize:SNe,partial:!0};function SNe(e,t,n){return r;function r(i){return tn(i)?mn(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||Tt(i)?t(i):n(i)}}var Ej={name:"blockQuote",tokenize:wNe,continuation:{tokenize:xNe},exit:kNe};function wNe(e,t,n){const r=this;return a;function a(o){if(o===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),i}return n(o)}function i(o){return tn(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function xNe(e,t,n){const r=this;return a;function a(o){return tn(o)?mn(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):i(o)}function i(o){return e.attempt(Ej,t,n)(o)}}function kNe(e){e.exit("blockQuote")}var _j={name:"characterEscape",tokenize:ANe};function ANe(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return rPe(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}var Cj={name:"characterReference",tokenize:TNe};function TNe(e,t,n){const r=this;let a=0,i,o;return s;function s(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,o=Ma,u(d))}function c(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=nPe,u):(e.enter("characterReferenceValue"),i=7,o=Aw,u(d))}function u(d){if(d===59&&a){const f=e.exit("characterReferenceValue");return o===Ma&&!y6(r.sliceSerialize(f))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(d)&&a++<i?(e.consume(d),u):n(d)}}var PE={tokenize:_Ne,partial:!0},IE={name:"codeFenced",tokenize:ENe,concrete:!0};function ENe(e,t,n){const r=this,a={tokenize:E,partial:!0};let i=0,o=0,s;return l;function l(C){return c(C)}function c(C){const $=r.events[r.events.length-1];return i=$&&$[1].type==="linePrefix"?$[2].sliceSerialize($[1],!0).length:0,s=C,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(C)}function u(C){return C===s?(o++,e.consume(C),u):o<3?n(C):(e.exit("codeFencedFenceSequence"),tn(C)?mn(e,d,"whitespace")(C):d(C))}function d(C){return C===null||Tt(C)?(e.exit("codeFencedFence"),r.interrupt?t(C):e.check(PE,b,T)(C)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(C))}function f(C){return C===null||Tt(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(C)):tn(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),mn(e,p,"whitespace")(C)):C===96&&C===s?n(C):(e.consume(C),f)}
vendor: 17,949 bytes, line 113
113function p(C){return C===null||Tt(C)?d(C):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(C))}function h(C){return C===null||Tt(C)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(C)):C===96&&C===s?n(C):(e.consume(C),h)}function b(C){return e.attempt(a,T,y)(C)}function y(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),O}function O(C){return i>0&&tn(C)?mn(e,A,"linePrefix",i+1)(C):A(C)}function A(C){return C===null||Tt(C)?e.check(PE,b,T)(C):(e.enter("codeFlowValue"),x(C))}function x(C){return C===null||Tt(C)?(e.exit("codeFlowValue"),A(C)):(e.consume(C),x)}function T(C){return e.exit("codeFenced"),t(C)}function E(C,$,R){let j=0;return U;function U(ae){return C.enter("lineEnding"),C.consume(ae),C.exit("lineEnding"),Y}function Y(ae){return C.enter("codeFencedFence"),tn(ae)?mn(C,W,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ae):W(ae)}function W(ae){return ae===s?(C.enter("codeFencedFenceSequence"),pe(ae)):R(ae)}function pe(ae){return ae===s?(j++,C.consume(ae),pe):j>=o?(C.exit("codeFencedFenceSequence"),tn(ae)?mn(C,ee,"whitespace")(ae):ee(ae)):R(ae)}function ee(ae){return ae===null||Tt(ae)?(C.exit("codeFencedFence"),$(ae)):R(ae)}}}function _Ne(e,t,n){const r=this;return a;function a(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i)}function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}var ZO={name:"codeIndented",tokenize:$Ne},CNe={tokenize:PNe,partial:!0};function $Ne(e,t,n){const r=this;return a;function a(c){return e.enter("codeIndented"),mn(e,i,"linePrefix",5)(c)}function i(c){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?l(c):Tt(c)?e.attempt(CNe,o,l)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||Tt(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),s)}function l(c){return e.exit("codeIndented"),t(c)}}function PNe(e,t,n){const r=this;return a;function a(o){return r.parser.lazy[r.now().line]?n(o):Tt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):mn(e,i,"linePrefix",5)(o)}function i(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):Tt(o)?a(o):n(o)}}var INe={name:"codeText",tokenize:MNe,resolve:NNe,previous:RNe};function NNe(e){let t=e.length-4,n=3,r,a;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;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function RNe(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function MNe(e,t,n){let r=0,a,i;return o;function o(d){return e.enter("codeText"),e.enter("codeTextSequence"),s(d)}function s(d){return d===96?(e.consume(d),r++,s):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(i=e.enter("codeTextSequence"),a=0,u(d)):Tt(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(d))}function c(d){return d===null||d===32||d===96||Tt(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),c)}function u(d){return d===96?(e.consume(d),a++,u):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(i.type="codeTextData",c(d))}}var LNe=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new 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){const n=t??Number.POSITIVE_INFINITY;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){const r=t||0;this.setCursor(Math.trunc(e));const a=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&Oh(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),Oh(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Oh(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){const t=this.left.splice(e,Number.POSITIVE_INFINITY);Oh(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Oh(this.left,t.reverse())}}};function Oh(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 $j(e){const t={};let n=-1,r,a,i,o,s,l,c;const u=new LNe(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"&&(l=r[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,DNe(u,n)),n=t[n],c=!0);else if(r[1]._container){for(i=n,a=void 0;i--&&(o=u.get(i),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(a&&(u.get(a)[1].type="lineEndingBlank"),o[1].type="lineEnding",a=i);a&&(r[1].end=Object.assign({},u.get(a)[1].start),s=u.slice(a,n),s.unshift(r),u.splice(a,n-a+1,s))}}return wo(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function DNe(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const i=[],o=n._tokenizer||r.parser[n.contentType](n.start),s=o.events,l=[],c={};let u,d,f=-1,p=n,h=0,b=0;const y=[b];for(;p;){for(;e.get(++a)[1]!==p;);i.push(a),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&&(b=f+1,y.push(b),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):y.pop(),f=y.length;f--;){const O=s.slice(y[f],y[f+1]),A=i.pop();l.push([A,A+O.length-1]),e.splice(A,2,O)}for(l.reverse(),f=-1;++f<l.length;)c[h+l[f][0]]=h+l[f][1],h+=l[f][1]-l[f][0]-1;return c}var BNe={tokenize:QNe,resolve:jNe},UNe={tokenize:FNe,partial:!0};function jNe(e){return $j(e),e}function QNe(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(s)}function a(s){return s===null?i(s):Tt(s)?e.check(UNe,o,i)(s):(e.consume(s),a)}function i(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function FNe(e,t,n){const r=this;return a;function a(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),mn(e,i,"linePrefix")}function i(o){if(o===null||Tt(o))return n(o);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function Pj(e,t,n,r,a,i,o,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return d;function d(O){return O===60?(e.enter(r),e.enter(a),e.enter(i),e.consume(O),e.exit(i),f):O===null||O===32||O===41||I2(O)?n(O):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),b(O))}function f(O){return O===62?(e.enter(i),e.consume(O),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(O))}function p(O){return O===62?(e.exit("chunkString"),e.exit(s),f(O)):O===null||O===60||Tt(O)?n(O):(e.consume(O),O===92?h:p)}function h(O){return O===60||O===62||O===92?(e.consume(O),p):p(O)}function b(O){return!u&&(O===null||O===41||Vn(O))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(O)):u<c&&O===40?(e.consume(O),u++,b):O===41?(e.consume(O),u--,b):O===null||O===32||O===40||I2(O)?n(O):(e.consume(O),O===92?y:b)}function y(O){return O===40||O===41||O===92?(e.consume(O),b):b(O)}}function Ij(e,t,n,r,a,i){const o=this;let s=0,l;return c;function c(p){return e.enter(r),e.enter(a),e.consume(p),e.exit(a),e.enter(i),u}function u(p){return s>999||p===null||p===91||p===93&&!l||p===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(i),e.enter(a),e.consume(p),e.exit(a),e.exit(r),t):Tt(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||Tt(p)||s++>999?(e.exit("chunkString"),u(p)):(e.consume(p),l||(l=!tn(p)),p===92?f:d)}function f(p){return p===91||p===92||p===93?(e.consume(p),s++,d):d(p)}}function Nj(e,t,n,r,a,i){let o;return s;function s(f){return f===34||f===39||f===40?(e.enter(r),e.enter(a),e.consume(f),e.exit(a),o=f===40?41:f,l):n(f)}function l(f){return f===o?(e.enter(a),e.consume(f),e.exit(a),e.exit(r),t):(e.enter(i),c(f))}function c(f){return f===o?(e.exit(i),l(o)):f===null?n(f):Tt(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),mn(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(f){return f===o||f===null||Tt(f)?(e.exit("chunkString"),c(f)):(e.consume(f),f===92?d:u)}function d(f){return f===o||f===92?(e.consume(f),u):u(f)}}function Yh(e,t){let n;return r;function r(a){return Tt(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):tn(a)?mn(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}var zNe={name:"definition",tokenize:HNe},VNe={tokenize:qNe,partial:!0};function HNe(e,t,n){const r=this;let a;return i;function i(p){return e.enter("definition"),o(p)}function o(p){return Ij.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return a=ns(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return Vn(p)?Yh(e,c)(p):c(p)}function c(p){return Pj(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function u(p){return e.attempt(VNe,d,d)(p)}function d(p){return tn(p)?mn(e,f,"whitespace")(p):f(p)}function f(p){return p===null||Tt(p)?(e.exit("definition"),r.parser.defined.push(a),t(p)):n(p)}}function qNe(e,t,n){return r;function r(s){return Vn(s)?Yh(e,a)(s):n(s)}function a(s){return Nj(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function i(s){return tn(s)?mn(e,o,"whitespace")(s):o(s)}function o(s){return s===null||Tt(s)?t(s):n(s)}}var ZNe={name:"hardBreakEscape",tokenize:XNe};function XNe(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return Tt(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}var WNe={name:"headingAtx",tokenize:GNe,resolve:YNe};function YNe(e,t){let n=e.length-2,r=3,a,i;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&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},wo(e,r,n-r+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function GNe(e,t,n){let r=0;return a;function a(u){return e.enter("atxHeading"),i(u)}function i(u){return e.enter("atxHeadingSequence"),o(u)}function o(u){return u===35&&r++<6?(e.consume(u),o):u===null||Vn(u)?(e.exit("atxHeadingSequence"),s(u)):n(u)}function s(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||Tt(u)?(e.exit("atxHeading"),t(u)):tn(u)?mn(e,s,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||Vn(u)?(e.exit("atxHeadingText"),s(u)):(e.consume(u),c)}}var KNe=["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"],NE=["pre","script","style","textarea"],JNe={name:"htmlFlow",tokenize:rRe,resolveTo:nRe,concrete:!0},eRe={tokenize:iRe,partial:!0},tRe={tokenize:aRe,partial:!0};function nRe(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 rRe(e,t,n){const r=this;let a,i,o,s,l;return c;function c(z){return u(z)}function u(z){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(z),d}function d(z){return z===33?(e.consume(z),f):z===47?(e.consume(z),i=!0,b):z===63?(e.consume(z),a=3,r.interrupt?t:D):Ka(z)?(e.consume(z),o=String.fromCharCode(z),y):n(z)}function f(z){return z===45?(e.consume(z),a=2,p):z===91?(e.consume(z),a=5,s=0,h):Ka(z)?(e.consume(z),a=4,r.interrupt?t:D):n(z)}function p(z){return z===45?(e.consume(z),r.interrupt?t:D):n(z)}function h(z){return z==="CDATA[".charCodeAt(s++)?(e.consume(z),s===6?r.interrupt?t:W:h):n(z)}function b(z){return Ka(z)?(e.consume(z),o=String.fromCharCode(z),y):n(z)}function y(z){if(z===null||z===47||z===62||Vn(z)){const mt=z===47,te=o.toLowerCase();return!mt&&!i&&NE.includes(te)?(a=1,r.interrupt?t(z):W(z)):KNe.includes(o.toLowerCase())?(a=6,mt?(e.consume(z),O):r.interrupt?t(z):W(z)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(z):i?A(z):x(z))}return z===45||Ma(z)?(e.consume(z),o+=String.fromCharCode(z),y):n(z)}function O(z){return z===62?(e.consume(z),r.interrupt?t:W):n(z)}function A(z){return tn(z)?(e.consume(z),A):U(z)}function x(z){return z===47?(e.consume(z),U):z===58||z===95||Ka(z)?(e.consume(z),T):tn(z)?(e.consume(z),x):U(z)}function T(z){return z===45||z===46||z===58||z===95||Ma(z)?(e.consume(z),T):E(z)}function E(z){return z===61?(e.consume(z),C):tn(z)?(e.consume(z),E):x(z)}function C(z){return z===null||z===60||z===61||z===62||z===96?n(z):z===34||z===39?(e.consume(z),l=z,$):tn(z)?(e.consume(z),C):R(z)}function $(z){return z===l?(e.consume(z),l=null,j):z===null||Tt(z)?n(z):(e.consume(z),$)}function R(z){return z===null||z===34||z===39||z===47||z===60||z===61||z===62||z===96||Vn(z)?E(z):(e.consume(z),R)}function j(z){return z===47||z===62||tn(z)?x(z):n(z)}function U(z){return z===62?(e.consume(z),Y):n(z)}function Y(z){return z===null||Tt(z)?W(z):tn(z)?(e.consume(z),Y):n(z)}function W(z){return z===45&&a===2?(e.consume(z),de):z===60&&a===1?(e.consume(z),ue):z===62&&a===4?(e.consume(z),oe):z===63&&a===3?(e.consume(z),D):z===93&&a===5?(e.consume(z),Te):Tt(z)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(eRe,fe,pe)(z)):z===null||Tt(z)?(e.exit("htmlFlowData"),pe(z)):(e.consume(z),W)}function pe(z){return e.check(tRe,ee,fe)(z)}function ee(z){return e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),ae}function ae(z){return z===null||Tt(z)?pe(z):(e.enter("htmlFlowData"),W(z))}function de(z){return z===45?(e.consume(z),D):W(z)}function ue(z){return z===47?(e.consume(z),o="",Ee):W(z)}function Ee(z){if(z===62){const mt=o.toLowerCase();return NE.includes(mt)?(e.consume(z),oe):W(z)}return Ka(z)&&o.length<8?(e.consume(z),o+=String.fromCharCode(z),Ee):W(z)}function Te(z){return z===93?(e.consume(z),D):W(z)}function D(z){return z===62?(e.consume(z),oe):z===45&&a===2?(e.consume(z),D):W(z)}function oe(z){return z===null||Tt(z)?(e.exit("htmlFlowData"),fe(z)):(e.consume(z),oe)}function fe(z){return e.exit("htmlFlow"),t(z)}}function aRe(e,t,n){const r=this;return a;function a(o){return Tt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):n(o)}function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function iRe(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(R0,t,n)}}var oRe={name:"htmlText",tokenize:sRe};function sRe(e,t,n){const r=this;let a,i,o;return s;function s(D){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(D),l}function l(D){return D===33?(e.consume(D),c):D===47?(e.consume(D),E):D===63?(e.consume(D),x):Ka(D)?(e.consume(D),R):n(D)}function c(D){return D===45?(e.consume(D),u):D===91?(e.consume(D),i=0,h):Ka(D)?(e.consume(D),A):n(D)}function u(D){return D===45?(e.consume(D),p):n(D)}function d(D){return D===null?n(D):D===45?(e.consume(D),f):Tt(D)?(o=d,ue(D)):(e.consume(D),d)}function f(D){return D===45?(e.consume(D),p):d(D)}function p(D){return D===62?de(D):D===45?f(D):d(D)}function h(D){return D==="CDATA[".charCodeAt(i++)?(e.consume(D),i===6?b:h):n(D)}function b(D){return D===null?n(D):D===93?(e.consume(D),y):Tt(D)?(o=b,ue(D)):(e.consume(D),b)}function y(D){return D===93?(e.consume(D),O):b(D)}function O(D){return D===62?de(D):D===93?(e.consume(D),O):b(D)}
vendor: 7,190 bytes, line 113
113function A(D){return D===null||D===62?de(D):Tt(D)?(o=A,ue(D)):(e.consume(D),A)}function x(D){return D===null?n(D):D===63?(e.consume(D),T):Tt(D)?(o=x,ue(D)):(e.consume(D),x)}function T(D){return D===62?de(D):x(D)}function E(D){return Ka(D)?(e.consume(D),C):n(D)}function C(D){return D===45||Ma(D)?(e.consume(D),C):$(D)}function $(D){return Tt(D)?(o=$,ue(D)):tn(D)?(e.consume(D),$):de(D)}function R(D){return D===45||Ma(D)?(e.consume(D),R):D===47||D===62||Vn(D)?j(D):n(D)}function j(D){return D===47?(e.consume(D),de):D===58||D===95||Ka(D)?(e.consume(D),U):Tt(D)?(o=j,ue(D)):tn(D)?(e.consume(D),j):de(D)}function U(D){return D===45||D===46||D===58||D===95||Ma(D)?(e.consume(D),U):Y(D)}function Y(D){return D===61?(e.consume(D),W):Tt(D)?(o=Y,ue(D)):tn(D)?(e.consume(D),Y):j(D)}function W(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(e.consume(D),a=D,pe):Tt(D)?(o=W,ue(D)):tn(D)?(e.consume(D),W):(e.consume(D),ee)}function pe(D){return D===a?(e.consume(D),a=void 0,ae):D===null?n(D):Tt(D)?(o=pe,ue(D)):(e.consume(D),pe)}function ee(D){return D===null||D===34||D===39||D===60||D===61||D===96?n(D):D===47||D===62||Vn(D)?j(D):(e.consume(D),ee)}function ae(D){return D===47||D===62||Vn(D)?j(D):n(D)}function de(D){return D===62?(e.consume(D),e.exit("htmlTextData"),e.exit("htmlText"),t):n(D)}function ue(D){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),Ee}function Ee(D){return tn(D)?mn(e,Te,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):Te(D)}function Te(D){return e.enter("htmlTextData"),o(D)}}var O6={name:"labelEnd",tokenize:pRe,resolveTo:fRe,resolveAll:dRe},lRe={tokenize:hRe},cRe={tokenize:mRe},uRe={tokenize:gRe};function dRe(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}function fRe(e,t){let n=e.length,r=0,a,i,o,s;for(;n--;)if(a=e[n][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(o=n);const l={type:e[i][1].type==="labelLink"?"link":"image",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[i][1].start),end:Object.assign({},e[o][1].end)},u={type:"labelText",start:Object.assign({},e[i+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return s=[["enter",l,t],["enter",c,t]],s=fo(s,e.slice(i+1,i+r+3)),s=fo(s,[["enter",u,t]]),s=fo(s,Wy(t.parser.constructs.insideSpan.null,e.slice(i+r+4,o-3),t)),s=fo(s,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),s=fo(s,e.slice(o+1)),s=fo(s,[["exit",l,t]]),wo(e,i,e.length,s),e}function pRe(e,t,n){const r=this;let a=r.events.length,i,o;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){i=r.events[a][1];break}return s;function s(f){return i?i._inactive?d(f):(o=r.parser.defined.includes(ns(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),l):n(f)}function l(f){return f===40?e.attempt(lRe,u,o?u:d)(f):f===91?e.attempt(cRe,u,o?c:d)(f):o?u(f):d(f)}function c(f){return e.attempt(uRe,u,d)(f)}function u(f){return t(f)}function d(f){return i._balanced=!0,n(f)}}function hRe(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),a}function a(d){return Vn(d)?Yh(e,i)(d):i(d)}function i(d){return d===41?u(d):Pj(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function o(d){return Vn(d)?Yh(e,l)(d):u(d)}function s(d){return n(d)}function l(d){return d===34||d===39||d===40?Nj(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):u(d)}function c(d){return Vn(d)?Yh(e,u)(d):u(d)}function u(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function mRe(e,t,n){const r=this;return a;function a(s){return Ij.call(r,e,i,o,"reference","referenceMarker","referenceString")(s)}function i(s){return r.parser.defined.includes(ns(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function o(s){return n(s)}}function gRe(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}var bRe={name:"labelStartImage",tokenize:yRe,resolveAll:O6.resolveAll};function yRe(e,t,n){const r=this;return a;function a(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),i}function i(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):n(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}var vRe={name:"labelStartLink",tokenize:ORe,resolveAll:O6.resolveAll};function ORe(e,t,n){const r=this;return a;function a(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),i}function i(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}var XO={name:"lineEnding",tokenize:SRe};function SRe(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),mn(e,t,"linePrefix")}}var Cg={name:"thematicBreak",tokenize:wRe};function wRe(e,t,n){let r=0,a;return i;function i(c){return e.enter("thematicBreak"),o(c)}function o(c){return a=c,s(c)}function s(c){return c===a?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||Tt(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===a?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),tn(c)?mn(e,s,"whitespace")(c):s(c))}}var oi={name:"list",tokenize:ARe,continuation:{tokenize:TRe},exit:_Re},xRe={tokenize:CRe,partial:!0},kRe={tokenize:ERe,partial:!0};function ARe(e,t,n){const r=this,a=r.events[r.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,o=0;return s;function s(p){const h=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(h==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Aw(p)){if(r.containerState.type||(r.containerState.type=h,e.enter(h,{_container:!0})),h==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Cg,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return Aw(p)&&++o<10?(e.consume(p),l):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(R0,r.interrupt?n:u,e.attempt(xRe,f,d))}
vendor: 7,586 bytes, line 113
113function u(p){return r.containerState.initialBlankLine=!0,i++,f(p)}function d(p){return tn(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),f):n(p)}function f(p){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function TRe(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(R0,a,i);function a(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,mn(e,t,"listItemIndent",r.containerState.size+1)(s)}function i(s){return r.containerState.furtherBlankLines||!tn(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(kRe,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,mn(e,e.attempt(oi,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function ERe(e,t,n){const r=this;return mn(e,a,"listItemIndent",r.containerState.size+1);function a(i){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(i):n(i)}}function _Re(e){e.exit(this.containerState.type)}function CRe(e,t,n){const r=this;return mn(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const o=r.events[r.events.length-1];return!tn(i)&&o&&o[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}var RE={name:"setextUnderline",tokenize:PRe,resolveTo:$Re};function $Re(e,t){let n=e.length,r,a,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const o={type:"setextHeading",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",o,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=o,e.push(["exit",o,t]),e}function PRe(e,t,n){const r=this;let a;return i;function i(c){let u=r.events.length,d;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){d=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),a=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===a?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),tn(c)?mn(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Tt(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}var IRe={tokenize:jRe,partial:!0};function NRe(){return{document:{91:{tokenize:DRe,continuation:{tokenize:BRe},exit:URe}},text:{91:{tokenize:LRe},93:{add:"after",tokenize:RRe,resolveTo:MRe}}}}function RRe(e,t,n){const r=this;let a=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;a--;){const l=r.events[a][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return n(l);const c=ns(r.sliceSerialize({start:o.end,end:r.now()}));return c.codePointAt(0)!==94||!i.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function MRe(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";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function LRe(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,o;return s;function s(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(d){if(i>999||d===93&&!o||d===null||d===91||Vn(d))return n(d);if(d===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return a.includes(ns(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return Vn(d)||(o=!0),i++,e.consume(d),d===92?u:c}function u(d){return d===91||d===92||d===93?(e.consume(d),i++,c):c(d)}}function DRe(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o=0,s;return l;function l(h){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(h),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(h){return h===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(h),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(h)}function u(h){if(o>999||h===93&&!s||h===null||h===91||Vn(h))return n(h);if(h===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return i=ns(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(h),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return Vn(h)||(s=!0),o++,e.consume(h),h===92?d:u}function d(h){return h===91||h===92||h===93?(e.consume(h),o++,u):u(h)}function f(h){return h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),a.includes(i)||a.push(i),mn(e,p,"gfmFootnoteDefinitionWhitespace")):n(h)}function p(h){return t(h)}}function BRe(e,t,n){return e.check(R0,t,e.attempt(IRe,t,n))}function URe(e){e.exit("gfmFootnoteDefinition")}function jRe(e,t,n){const r=this;return mn(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(i):n(i)}}function QRe(e){let t=(e||{}).singleTilde;const n={tokenize:a,resolveAll:r};return t==null&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(i,o){let s=-1;for(;++s<i.length;)if(i[s][0]==="enter"&&i[s][1].type==="strikethroughSequenceTemporary"&&i[s][1]._close){let l=s;for(;l--;)if(i[l][0]==="exit"&&i[l][1].type==="strikethroughSequenceTemporary"&&i[l][1]._open&&i[s][1].end.offset-i[s][1].start.offset===i[l][1].end.offset-i[l][1].start.offset){i[s][1].type="strikethroughSequence",i[l][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},i[l][1].start),end:Object.assign({},i[s][1].end)},u={type:"strikethroughText",start:Object.assign({},i[l][1].end),end:Object.assign({},i[s][1].start)},d=[["enter",c,o],["enter",i[l][1],o],["exit",i[l][1],o],["enter",u,o]],f=
vendor: 5,083 bytes, line 113
113o.parser.constructs.insideSpan.null;f&&wo(d,d.length,0,Wy(f,i.slice(l+1,s),o)),wo(d,d.length,0,[["exit",u,o],["enter",i[s][1],o],["exit",i[s][1],o],["exit",c,o]]),wo(i,l-1,s-l+3,d),s=l+d.length-2;break}}for(s=-1;++s<i.length;)i[s][1].type==="strikethroughSequenceTemporary"&&(i[s][1].type="data");return i}function a(i,o,s){const l=this.previous,c=this.events;let u=0;return d;function d(p){return l===126&&c[c.length-1][1].type!=="characterEscape"?s(p):(i.enter("strikethroughSequenceTemporary"),f(p))}function f(p){const h=N2(l);if(p===126)return u>1?s(p):(i.consume(p),u++,f);if(u<2&&!t)return s(p);const b=i.exit("strikethroughSequenceTemporary"),y=N2(p);return b._open=!y||y===2&&!!h,b._close=!h||h===2&&!!y,o(p)}}}var FRe=class{constructor(){this.map=[]}add(e,t,n){zRe(this,e,t,n)}consume(e){if(this.map.sort(function(a,i){return a[0]-i[0]}),this.map.length===0)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,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]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}};function zRe(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}function VRe(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function HRe(){return{flow:{null:{tokenize:qRe,resolveAll:ZRe}}}}function qRe(e,t,n){const r=this;let a=0,i=0,o;return s;function s(U){let Y=r.events.length-1;for(;Y>-1;){const ee=r.events[Y][1].type;if(ee==="lineEnding"||ee==="linePrefix")Y--;else break}const W=Y>-1?r.events[Y][1].type:null,pe=W==="tableHead"||W==="tableRow"?C:l;return pe===C&&r.parser.lazy[r.now().line]?n(U):pe(U)}function l(U){return e.enter("tableHead"),e.enter("tableRow"),c(U)}function c(U){return U===124||(o=!0,i+=1),u(U)}function u(U){return U===null?n(U):Tt(U)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(U),e.exit("lineEnding"),p):n(U):tn(U)?mn(e,u,"whitespace")(U):(i+=1,o&&(o=!1,a+=1),U===124?(e.enter("tableCellDivider"),e.consume(U),e.exit("tableCellDivider"),o=!0,u):(e.enter("data"),d(U)))}function d(U){return U===null||U===124||Vn(U)?(e.exit("data"),u(U)):(e.consume(U),U===92?f:d)}function f(U){return U===92||U===124?(e.consume(U),d):d(U)}function p(U){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(U):(e.enter("tableDelimiterRow"),o=!1,tn(U)?mn(e,h,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):h(U))}function h(U){return U===45||U===58?y(U):U===124?(o=!0,e.enter("tableCellDivider"),e.consume(U),e.exit("tableCellDivider"),b):E(U)}function b(U){return tn(U)?mn(e,y,"whitespace")(U):y(U)}function y(U){return U===58?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(U),e.exit("tableDelimiterMarker"),O):U===45?(i+=1,O(U)):U===null||Tt(U)?T(U):E(U)}function O(U){return U===45?(e.enter("tableDelimiterFiller"),A(U)):E(U)}function A(U){return U===45?(e.consume(U),A):U===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(U),e.exit("tableDelimiterMarker"),x):(e.exit("tableDelimiterFiller"),x(U))}function x(U){return tn(U)?mn(e,T,"whitespace")(U):T(U)}function T(U){return U===124?h(U):U===null||Tt(U)?!o||a!==i?E(U):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(U)):E(U)}function E(U){return n(U)}function C(U){return e.enter("tableRow"),$(U)}function $(U){return U===124?(e.enter("tableCellDivider"),e.consume(U),e.exit("tableCellDivider"),$):U===null||Tt(U)?(e.exit("tableRow"),t(U)):tn(U)?mn(e,$,"whitespace")(U):(e.enter("data"),R(U))}function R(U){return U===null||U===124||Vn(U)?(e.exit("data"),$(U)):(e.consume(U),U===92?j:R)}function j(U){return U===92||U===124?(e.consume(U),R):R(U)}}function ZRe(e,t){let n=-1,r=!0,a=0,i=[0,0,0,0],o=[0,0,0,0],s=!1,l=0,c,u,d;const f=new FRe;for(;++n<e.length;){const p=e[n],h=p[1];p[0]==="enter"?h.type==="tableHead"?(s=!1,l!==0&&(ME(f,t,l,c,u),u=void 0,l=0),c={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(n,0,[["enter",c,t]])):h.type==="tableRow"||h.type==="tableDelimiterRow"?(r=!0,d=void 0,i=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(n,0,[["enter",u,t]])),a=h.type==="tableDelimiterRow"?2:u?3:1):a&&(h.type==="data"||h.type==="tableDelimiterMarker"||h.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(i[1]!==0&&(o[0]=o[1],d=P1(f,t,i,a,void 0,d),i=[0,0,0,0]),o[2]=n)):h.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(o[0]=o[1],d=P1(f,t,i,a,void 0,d)),i=o,o=[i[1],n,0,0])):h.type==="tableHead"?(s=!0,l=n):h.type==="tableRow"||h.type==="tableDelimiterRow"?(l=n,i[1]!==0?(o[0]=o[1],d=P1(f,t,i,a,n,d)):o[1]!==0&&(
vendor: 3,606 bytes, line 113
113d=P1(f,t,o,a,n,d)),a=0):a&&(h.type==="data"||h.type==="tableDelimiterMarker"||h.type==="tableDelimiterFiller")&&(o[3]=n)}for(l!==0&&ME(f,t,l,c,u),f.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=VRe(t.events,n))}return e}function P1(e,t,n,r,a,i){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(i.end=Object.assign({},tf(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=tf(t.events,n[1]);if(i={type:o,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const c=tf(t.events,n[2]),u=tf(t.events,n[3]),d={type:s,start:Object.assign({},c),end:Object.assign({},u)};if(e.add(n[2],0,[["enter",d,t]]),r!==2){const f=t.events[n[2]],p=t.events[n[3]];if(f[1].end=Object.assign({},p[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){const h=n[2]+1,b=n[3]-n[2]-1;e.add(h,b,[])}}e.add(n[3]+1,0,[["exit",d,t]])}return a!==void 0&&(i.end=Object.assign({},tf(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function ME(e,t,n,r,a){const i=[],o=tf(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function tf(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}var XRe={tokenize:YRe};function WRe(){return{text:{91:XRe}}}function YRe(e,t,n){const r=this;return a;function a(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return Vn(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return Tt(l)?t(l):tn(l)?e.check({tokenize:GRe},t,n)(l):n(l)}}function GRe(e,t,n){return mn(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function KRe(e){return yj([lNe(),NRe(),QRe(e),HRe(),WRe()])}var JRe={};function Yy(e){const t=this,n=e||JRe,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(KRe(n)),i.push(nNe()),o.push(rNe(n))}var eMe={tokenize:tMe};function tMe(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),mn(e,t,"linePrefix")}function a(s){return e.enter("paragraph"),i(s)}function i(s){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return Tt(s)?(e.consume(s),e.exit("chunkText"),i):(e.consume(s),o)}}var nMe={tokenize:rMe},LE={tokenize:aMe};function rMe(e){const t=this,n=[];let r=0,a,i,o;return s;function s(x){if(r<n.length){const T=n[r];return t.containerState=T[1],e.attempt(T[0].continuation,l,c)(x)}return c(x)}function l(x){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&A();const T=t.events.length;let E=T,C;for(;E--;)if(t.events[E][0]==="exit"&&t.events[E][1].type==="chunkFlow"){C=t.events[E][1].end;break}O(r);let $=T;for(;$<t.events.length;)t.events[$][1].end=Object.assign({},C),$++;return wo(t.events,E+1,0,t.events.slice(T)),t.events.length=$,c(x)}return s(x)}
vendor: 5,185 bytes, line 113
113function c(x){if(r===n.length){if(!a)return f(x);if(a.currentConstruct&&a.currentConstruct.concrete)return h(x);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(LE,u,d)(x)}function u(x){return a&&A(),O(r),f(x)}function d(x){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,h(x)}function f(x){return t.containerState={},e.attempt(LE,p,h)(x)}function p(x){return r++,n.push([t.currentConstruct,t.containerState]),f(x)}function h(x){if(x===null){a&&A(),O(0),e.consume(x);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:a}),b(x)}function b(x){if(x===null){y(e.exit("chunkFlow"),!0),O(0),e.consume(x);return}return Tt(x)?(e.consume(x),y(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(x),b)}function y(x,T){const E=t.sliceStream(x);if(T&&E.push(null),x.previous=i,i&&(i.next=x),i=x,a.defineSkip(x.start),a.write(E),t.parser.lazy[x.start.line]){let C=a.events.length;for(;C--;)if(a.events[C][1].start.offset<o&&(!a.events[C][1].end||a.events[C][1].end.offset>o))return;const $=t.events.length;let R=$,j,U;for(;R--;)if(t.events[R][0]==="exit"&&t.events[R][1].type==="chunkFlow"){if(j){U=t.events[R][1].end;break}j=!0}for(O(r),C=$;C<t.events.length;)t.events[C][1].end=Object.assign({},U),C++;wo(t.events,R+1,0,t.events.slice($)),t.events.length=C}}function O(x){let T=n.length;for(;T-- >x;){const E=n[T];t.containerState=E[1],E[0].exit.call(t,e)}n.length=x}function A(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function aMe(e,t,n){return mn(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var iMe={tokenize:oMe};function oMe(e){const t=this,n=e.attempt(R0,r,e.attempt(this.parser.constructs.flowInitial,a,mn(e,e.attempt(this.parser.constructs.flow,a,e.attempt(BNe,a)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}var sMe={resolveAll:Mj()},lMe=Rj("string"),cMe=Rj("text");function Rj(e){return{tokenize:t,resolveAll:Mj(e==="text"?uMe:void 0)};function t(n){const r=this,a=this.parser.constructs[e],i=n.attempt(a,o,s);return o;function o(u){return c(u)?i(u):s(u)}function s(u){if(u===null){n.consume(u);return}return n.enter("data"),n.consume(u),l}function l(u){return c(u)?(n.exit("data"),i(u)):(n.consume(u),l)}function c(u){if(u===null)return!0;const d=a[u];let f=-1;if(d)for(;++f<d.length;){const p=d[f];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function Mj(e){return t;function t(n,r){let a=-1,i;for(;++a<=n.length;)i===void 0?n[a]&&n[a][1].type==="data"&&(i=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==i+2&&(n[i][1].end=n[a-1][1].end,n.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(n,r):n}}function uMe(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],a=t.sliceStream(r);let i=a.length,o=-1,s=0,l;for(;i--;){const c=a[i];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(c===-2)l=!0,s++;else if(c!==-1){i++;break}}if(s){const c={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+i,_bufferIndex:i?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}function dMe(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const a={},i=[];let o=[],s=[];const l={consume:A,enter:x,exit:T,attempt:$(E),check:$(C),interrupt:$(C,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:f,now:h,defineSkip:b,write:d};let u=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function d(Y){return o=fo(o,Y),y(),o[o.length-1]!==null?[]:(R(t,0),c.events=Wy(i,c.events,c),c.events)}function f(Y,W){return pMe(p(Y),W)}function p(Y){return fMe(o,Y)}function h(){const{line:Y,column:W,offset:pe,_index:ee,_bufferIndex:ae}=r;return{line:Y,column:W,offset:pe,_index:ee,_bufferIndex:ae}}function b(Y){a[Y.line]=Y.column,U()}function y(){let Y;for(;r._index<o.length;){const W=o[r._index];if(typeof W=="string")for(Y=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===Y&&r._bufferIndex<W.length;)O(W.charCodeAt(r._bufferIndex));else O(W)}}function O(Y){u=u(Y)}function A(Y){Tt(Y)?(r.line++,r.column=1,r.offset+=Y===-3?2:1,U()):Y!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=Y}function x(Y,W){const pe=W||{};return pe.type=Y,pe.start=h(),c.events.push(["enter",pe,c]),s.push(pe),pe}function T(Y){const W=s.pop();return W.end=h(),c.events.push(["exit",W,c]),W}function E(Y,W){R(Y,W.from)}
vendor: 7,021 bytes, lines 113-115
113function C(Y,W){W.restore()}function $(Y,W){return pe;function pe(ee,ae,de){let ue,Ee,Te,D;return Array.isArray(ee)?fe(ee):"tokenize"in ee?fe([ee]):oe(ee);function oe(Oe){return Et;function Et(Pt){const gt=Pt!==null&&Oe[Pt],kn=Pt!==null&&Oe.null;return fe([...Array.isArray(gt)?gt:gt?[gt]:[],...Array.isArray(kn)?kn:kn?[kn]:[]])(Pt)}}function fe(Oe){return ue=Oe,Ee=0,Oe.length===0?de:z(Oe[Ee])}function z(Oe){return Et;function Et(Pt){return D=j(),Te=Oe,Oe.partial||(c.currentConstruct=Oe),Oe.name&&c.parser.constructs.disable.null.includes(Oe.name)?te():Oe.tokenize.call(W?Object.assign(Object.create(c),W):c,l,mt,te)(Pt)}}function mt(Oe){return Y(Te,D),ae}function te(Oe){return D.restore(),++Ee<ue.length?z(ue[Ee]):de}}}function R(Y,W){Y.resolveAll&&!i.includes(Y)&&i.push(Y),Y.resolve&&wo(c.events,W,c.events.length-W,Y.resolve(c.events.slice(W),c)),Y.resolveTo&&(c.events=Y.resolveTo(c.events,c))}function j(){const Y=h(),W=c.previous,pe=c.currentConstruct,ee=c.events.length,ae=Array.from(s);return{restore:de,from:ee};function de(){r=Y,c.previous=W,c.currentConstruct=pe,c.events.length=ee,s=ae,U()}}function U(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function fMe(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let o;if(n===a)o=[e[n].slice(r,i)];else{if(o=e.slice(n,a),r>-1){const s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}i>0&&o.push(e[a].slice(0,i))}return o}function pMe(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const i=e[n];let o;if(typeof i=="string")o=i;else switch(i){case-5:o="\r";break;case-4:o=` 114`;break;case-3:o=`\r 115`;break;case-2:o=t?" ":" ";break;case-1:if(!t&&a)continue;o=" ";break;default:o=String.fromCharCode(i)}a=i===-2,r.push(o)}return r.join("")}var hMe=pB({attentionMarkers:()=>wMe,contentInitial:()=>gMe,disable:()=>xMe,document:()=>mMe,flow:()=>yMe,flowInitial:()=>bMe,insideSpan:()=>SMe,string:()=>vMe,text:()=>OMe}),mMe={42:oi,43:oi,45:oi,48:oi,49:oi,50:oi,51:oi,52:oi,53:oi,54:oi,55:oi,56:oi,57:oi,62:Ej},gMe={91:zNe},bMe={[-2]:ZO,[-1]:ZO,32:ZO},yMe={35:WNe,42:Cg,45:[RE,Cg],60:JNe,61:RE,95:Cg,96:IE,126:IE},vMe={38:Cj,92:_j},OMe={[-5]:XO,[-4]:XO,[-3]:XO,33:bRe,38:Cj,42:_w,60:[vNe,oRe],91:vRe,92:[ZNe,_j],93:O6,95:_w,96:INe},SMe={null:[_w,sMe]},wMe={null:[42,95]},xMe={null:[]};function kMe(e){const t={defined:[],lazy:{},constructs:yj([hMe,...(e||{}).extensions||[]]),content:n(eMe),document:n(nMe),flow:n(iMe),string:n(lMe),text:n(cMe)};return t;function n(r){return a;function a(i){return dMe(t,r,i)}}}function AMe(e){for(;!$j(e););return e}var DE=/[\0\t\n\r]/g;function TMe(){let e=1,t="",n=!0,r;return a;function a(i,o,s){const l=[];let c,u,d,f,p;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(o||void 0).decode(i)),d=0,t="",n&&(i.charCodeAt(0)===65279&&d++,n=void 0);d<i.length;){if(DE.lastIndex=d,c=DE.exec(i),f=c&&c.index!==void 0?c.index:i.length,p=i.charCodeAt(f),!c){t=i.slice(d);break}if(p===10&&d===f&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),d<f&&(l.push(i.slice(d,f)),e+=f-d),p){case 0:l.push(65533),e++;break;case 9:for(u=Math.ceil(e/4)*4,l.push(-2);e++<u;)l.push(-1);break;case 10:l.push(-4),e=1;break;default:r=!0,e=1}d=f+1}return s&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}var Lj={}.hasOwnProperty;function EMe(e,t,n){return typeof t!="string"&&(n=t,t=void 0),_Me(n)(AMe(kMe(n).document().write(TMe()(e,t,!0))))}function _Me(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(zt),autolinkProtocol:j,autolinkEmail:j,atxHeading:i(je),blockQuote:i(kn),characterEscape:j,characterReference:j,codeFenced:i(Nr),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(Nr,o),codeText:i(rr,o),codeTextData:j,data:j,codeFlowValue:j,definition:i(qr),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(ge),hardBreakEscape:i(ot),hardBreakTrailing:i(ot),htmlFlow:i(Lt,o),htmlFlowData:j,htmlText:i(Lt,o),htmlTextData:j,image:i(Ct),label:o,link:i(zt),listItem:i(Rr),listItemValue:f,listOrdered:i(jn,d),listUnordered:i(jn),paragraph:i(ba),reference:z,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(je),strong:i(Ci),thematicBreak:i(oo)},exit:{atxHeading:l(),atxHeadingSequence:E,autolink:l(),autolinkEmail:gt,autolinkProtocol:Pt,blockQuote:l(),characterEscapeValue:U,characterReferenceMarkerHexadecimal:te,characterReferenceMarkerNumeric:te,characterReferenceValue:Oe,characterReference:Et,codeFenced:l(y),codeFencedFence:b,codeFencedFenceInfo:p,codeFencedFenceMeta:h,codeFlowValue:U,codeIndented:l(O),codeText:l(ae),codeTextData:U,data:U,definition:l(),definitionDestinationString:T,definitionLabelString:A,definitionTitleString:x,emphasis:l(),hardBreakEscape:l(W),hardBreakTrailing:l(W),htmlFlow:l(pe),htmlFlowData:U,htmlText:l(ee),htmlTextData:U,image:l(ue),label:Te,labelText:Ee,lineEnding:Y,link:l(de),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:mt,resourceDestinationString:D,resourceTitleString:oe,resource:fe,setextHeading:l(R),setextHeadingLineSequence:$,setextHeadingText:C,strong:l(),thematicBreak:l()}};Dj(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(ye){let Re={type:"root",children:[]};const bt={stack:[Re],tokenStack:[],config:t,enter:s,exit:c,buffer:o,resume:u,data:n},re=[];let ce=-1;for(;++ce<ye.length;)(ye[ce][1].type==="listOrdered"||ye[ce][1].type==="listUnordered")&&(ye[ce][0]==="enter"?re.push(ce):ce=a(ye,re.pop(),ce));for(ce=-1;++ce<ye.length;){const Ne=t[ye[ce][0]];Lj.call(Ne,ye[ce][1].type)&&Ne[ye[ce][1].type].call(Object.assign({sliceSerialize:ye[ce][2].sliceSerialize},bt),ye[ce][1])}if(bt.tokenStack.length>0){const Ne=bt.tokenStack[bt.tokenStack.length-1];(Ne[1]||BE).call(bt,void 0,Ne[0])}for(Re.position={start:oc(ye.length>0?ye[0][1].start:{line:1,column:1,offset:0}),end:oc(ye.length>0?ye[ye.length-2][1].end:{line:1,column:1,offset:0})},ce=-1;++ce<t.transforms.length;)Re=t.transforms[ce](Re)||Re;return Re}function a(ye,Re,bt){let re=Re-1,ce=-1,Ne=!1,De,Xt,_t,On;for(;++re<=bt;){const Sn=ye[re];switch(Sn[1].type){case"listUnordered":case"listOrdered":case"blockQuote":Sn[0]==="enter"?ce++:ce--,On=void 0;break;case"lineEndingBlank":Sn[0]==="enter"&&(De&&!On&&!ce&&!_t&&(_t=re),On=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:On=void 0}if(!ce&&Sn[0]==="enter"&&Sn[1].type==="listItemPrefix"||ce===-1&&Sn[0]==="exit"&&(Sn[1].type==="listUnordered"||Sn[1].type==="listOrdered")){if(De){let hn=re;for(Xt=void 0;hn--;){const ar=ye[hn];if(ar[1].type==="lineEnding"||ar[1].type==="lineEndingBlank"){if(ar[0]==="exit")continue;Xt&&(ye[Xt][1].type="lineEndingBlank",Ne=!0),ar[1].type="lineEnding",Xt=hn}else if(!(ar[1].type==="linePrefix"||ar[1].type==="blockQuotePrefix"||ar[1].type==="blockQuotePrefixWhitespace"||ar[1].type==="blockQuoteMarker"||ar[1].type==="listItemIndent"))break}_t&&(!Xt||_t<Xt)&&(De._spread=!0),De.end=Object.assign({}
vendor: 6,708 bytes, line 115
115,Xt?ye[Xt][1].start:Sn[1].end),ye.splice(Xt||re,0,["exit",De,Sn[2]]),re++,bt++}if(Sn[1].type==="listItemPrefix"){const hn={type:"listItem",_spread:!1,start:Object.assign({},Sn[1].start),end:void 0};De=hn,ye.splice(re,0,["enter",hn,Sn[2]]),re++,bt++,_t=void 0,On=!0}}}return ye[Re][1]._spread=Ne,bt}function i(ye,Re){return bt;function bt(re){s.call(this,ye(re),re),Re&&Re.call(this,re)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(ye,Re,bt){this.stack[this.stack.length-1].children.push(ye),this.stack.push(ye),this.tokenStack.push([Re,bt]),ye.position={start:oc(Re.start),end:void 0}}function l(ye){return Re;function Re(bt){ye&&ye.call(this,bt),c.call(this,bt)}}function c(ye,Re){const bt=this.stack.pop(),re=this.tokenStack.pop();if(re)re[0].type!==ye.type&&(Re?Re.call(this,ye,re[0]):(re[1]||BE).call(this,ye,re[0]));else throw new Error("Cannot close `"+ye.type+"` ("+Wh({start:ye.start,end:ye.end})+"): itâs not open");bt.position.end=oc(ye.end)}function u(){return m6(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(ye){if(this.data.expectingFirstListItemValue){const Re=this.stack[this.stack.length-2];Re.start=Number.parseInt(this.sliceSerialize(ye),10),this.data.expectingFirstListItemValue=void 0}}function p(){const ye=this.resume(),Re=this.stack[this.stack.length-1];Re.lang=ye}function h(){const ye=this.resume(),Re=this.stack[this.stack.length-1];Re.meta=ye}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const ye=this.resume(),Re=this.stack[this.stack.length-1];Re.value=ye.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function O(){const ye=this.resume(),Re=this.stack[this.stack.length-1];Re.value=ye.replace(/(\r?\n|\r)$/g,"")}function A(ye){const Re=this.resume(),bt=this.stack[this.stack.length-1];bt.label=Re,bt.identifier=ns(this.sliceSerialize(ye)).toLowerCase()}function x(){const ye=this.resume(),Re=this.stack[this.stack.length-1];Re.title=ye}function T(){const ye=this.resume(),Re=this.stack[this.stack.length-1];Re.url=ye}function E(ye){const Re=this.stack[this.stack.length-1];Re.depth||(Re.depth=this.sliceSerialize(ye).length)}function C(){this.data.setextHeadingSlurpLineEnding=!0}function $(ye){const Re=this.stack[this.stack.length-1];Re.depth=this.sliceSerialize(ye).codePointAt(0)===61?1:2}function R(){this.data.setextHeadingSlurpLineEnding=void 0}function j(ye){const Re=this.stack[this.stack.length-1].children;let bt=Re[Re.length-1];(!bt||bt.type!=="text")&&(bt=io(),bt.position={start:oc(ye.start),end:void 0},Re.push(bt)),this.stack.push(bt)}function U(ye){const Re=this.stack.pop();Re.value+=this.sliceSerialize(ye),Re.position.end=oc(ye.end)}function Y(ye){const Re=this.stack[this.stack.length-1];if(this.data.atHardBreak){const bt=Re.children[Re.children.length-1];bt.position.end=oc(ye.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Re.type)&&(j.call(this,ye),U.call(this,ye))}function W(){this.data.atHardBreak=!0}function pe(){const ye=this.resume(),Re=this.stack[this.stack.length-1];Re.value=ye}function ee(){const ye=this.resume(),Re=this.stack[this.stack.length-1];Re.value=ye}function ae(){const ye=this.resume(),Re=this.stack[this.stack.length-1];Re.value=ye}function de(){const ye=this.stack[this.stack.length-1];if(this.data.inReference){const Re=this.data.referenceType||"shortcut";ye.type+="Reference",ye.referenceType=Re,delete ye.url,delete ye.title}else delete ye.identifier,delete ye.label;this.data.referenceType=void 0}function ue(){const ye=this.stack[this.stack.length-1];if(this.data.inReference){const Re=this.data.referenceType||"shortcut";ye.type+="Reference",ye.referenceType=Re,delete ye.url,delete ye.title}else delete ye.identifier,delete ye.label;this.data.referenceType=void 0}function Ee(ye){const Re=this.sliceSerialize(ye),bt=this.stack[this.stack.length-2];bt.label=bj(Re),bt.identifier=ns(Re).toLowerCase()}function Te(){const ye=this.stack[this.stack.length-1],Re=this.resume(),bt=this.stack[this.stack.length-1];this.data.inReference=!0,bt.type==="link"?bt.children=ye.children:bt.alt=Re}function D(){const ye=this.resume(),Re=this.stack[this.stack.length-1];Re.url=ye}function oe(){const ye=this.resume(),Re=this.stack[this.stack.length-1];Re.title=ye}function fe(){this.data.inReference=void 0}function z(){this.data.referenceType="collapsed"}function mt(ye){const Re=this.resume(),bt=this.stack[this.stack.length-1];bt.label=Re,bt.identifier=ns(this.sliceSerialize(ye)).toLowerCase(),this.data.referenceType="full"}function te(ye){this.data.characterReferenceType=ye.type}function Oe(ye){const Re=this.sliceSerialize(ye),bt=this.data.characterReferenceType;let re;bt?(re=gj(Re,bt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):re=y6(Re);const ce=this.stack[this.stack.length-1];ce.value+=re}function Et(ye){const Re=this.stack.pop();Re.position.end=oc(ye.end)}function Pt(ye){U.call(this,ye);const Re=this.stack[this.stack.length-1];Re.url=this.sliceSerialize(ye)}function gt(ye){U.call(this,ye);const Re=this.stack[this.stack.length-1];Re.url="mailto:"+this.sliceSerialize(ye)}function kn(){return{type:"blockquote",children:[]}}function Nr(){return{type:"code",lang:null,meta:null,value:""}}function rr(){return{type:"inlineCode",value:""}}function qr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ge(){return{type:"emphasis",children:[]}}function je(){return{type:"heading",depth:0,children:[]}}function ot(){return{type:"break"}}function Lt(){return{type:"html",value:""}}function Ct(){return{type:"image",title:null,url:"",alt:null}}function zt(){return{type:"link",title:null,url:"",children:[]}}function jn(ye){return{type:"list",ordered:ye.type==="listOrdered",start:null,spread:ye._spread,children:[]}}function Rr(ye){return{type:"listItem",spread:ye._spread,checked:null,children:[]}}function ba(){return{type:"paragraph",children:[]}}function Ci(){return{type:"strong",children:[]}}function io(){return{type:"text",value:""}}function oo(){return{type:"thematicBreak"}}}function oc(e){return{line:e.line,column:e.column,offset:e.offset}}function Dj(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Dj(e,r):CMe(e,r)}}function CMe(e,t){let n;for(n in t)if(Lj.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function BE(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Wh({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Wh({start:t.start,end:t.end}
vendor: 9,341 bytes, lines 115-119
115)+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Wh({start:t.start,end:t.end})+") is still open")}function S6(e){const t=this;t.parser=n;function n(r){return EMe(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function $Me(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function PMe(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` 116`}]}function IMe(e,t){const n=t.value?t.value+` 117`:"",r={};t.lang&&(r.className=["language-"+t.lang]);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 NMe(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function RMe(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function MMe(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=Dp(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=i+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function LMe(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function DMe(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Bj(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const a=e.all(t),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const o=a[a.length-1];return o&&o.type==="text"?o.value+=r:a.push({type:"text",value:r}),a}function BMe(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Bj(e,t);const a={src:Dp(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)}function UMe(e,t){const n={src:Dp(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function jMe(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function QMe(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Bj(e,t);const a={href:Dp(r.url||"")};r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function FMe(e,t){const n={href:Dp(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function zMe(e,t,n){const r=e.all(t),a=n?VMe(n):Uj(t),i={},o=[];if(typeof t.checked=="boolean"){const u=r[0];let d;u&&u.type==="element"&&u.tagName==="p"?d=u:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const u=r[s];(a||s!==0||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:` 118`}),u.type==="element"&&u.tagName==="p"&&!a?o.push(...u.children):o.push(u)}const l=r[r.length-1];l&&(a||l.type!=="element"||l.tagName!=="p")&&o.push({type:"text",value:` 119`});const c={type:"element",tagName:"li",properties:i,children:o};return e.patch(t,c),e.applyData(t,c)}function VMe(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Uj(n[r])}return t}function Uj(e){const t=e.spread;return t??e.children.length>1}function HMe(e,t){const n={},r=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a<r.length;){const o=r[a];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function qMe(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ZMe(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function XMe(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function WMe(e,t){const n=e.all(t),r=n.shift(),a=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),a.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=Wl(t.children[1]),l=Zy(t.children[t.children.length-1]);s&&l&&(o.position={start:s,end:l}),a.push(o)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function YMe(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",i=n&&n.type==="table"?n.align:void 0,o=i?i.length:t.children.length;let s=-1;const l=[];for(;++s<o;){const u=t.children[s],d={},f=i?i[s]:void 0;f&&(d.align=f);let p={type:"element",tagName:a,properties:d,children:[]};u&&(p.children=e.all(u),e.patch(u,p),p=e.applyData(u,p)),l.push(p)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)}function GMe(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var UE=9,jE=32;function KMe(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const i=[];for(;r;)i.push(QE(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return i.push(QE(t.slice(a),a>0,!1)),i.join("")}function QE(e,t,n){let r=0,a=e.length;if(t){let i=e.codePointAt(r);for(;i===UE||i===jE;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(a-1);for(;i===UE||i===jE;)a--,i=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function JMe(e,t){const n={type:"text",value:KMe(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function eLe(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var tLe={blockquote:$Me,break:PMe,code:IMe,delete:NMe,emphasis:RMe,footnoteReference:MMe,heading:LMe,html:DMe,imageReference:BMe,image:UMe,inlineCode:jMe,linkReference:QMe,link:FMe,listItem:zMe,list:HMe,paragraph:qMe,root:ZMe,strong:XMe,table:WMe,tableCell:GMe,tableRow:YMe,text:JMe,thematicBreak:eLe,toml:I1,yaml:I1,definition:I1,footnoteDefinition:I1};function I1(){}function nLe(e,t){const n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function rLe(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function aLe(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||nLe,r=e.options.footnoteBackLabel||rLe,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const u=e.all(c),d=String(c.identifier).toUpperCase(),f=Dp(d.toLowerCase());let p=0;const h=[],b=e.footnoteCounts.get(d);for(;b!==void 0&&++p<=b;){h.length>0&&h.push({type:"text",value:" "});let A=typeof n=="string"?n:n(l,p);typeof A=="string"&&(A={type:"text",value:A}),h.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(A)?A:[A]})}const y=u[u.length-1];if(y&&y.type==="element"&&y.tagName==="p"){const A=y.children[y.children.length-1];A&&A.type==="text"?A.value+=" ":y.children.push({type:"text",value:" "}),y.children.push(...h)}else u.push(...h);const O={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(u,!0)};e.patch(c,O),s.push(O)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Hs(o),id:"footnote-label"},children:[{type:"text",value:a}]}
119,{type:"text",value:` 120`},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:` 121`}]}}var Cw={}.hasOwnProperty,iLe={};function oLe(e,t){const n=t||iLe,r=new Map,a=new Map,i={all:s,applyData:lLe,definitionById:r,footnoteById:a,footnoteCounts:new Map,footnoteOrder:[],handlers:{...tLe,...n.handlers},one:o,options:n,patch:sLe,wrap:uLe};return ao(e,function(l){if(l.type==="definition"||l.type==="footnoteDefinition"){const c=l.type==="definition"?r:a,u=String(l.identifier).toUpperCase();c.has(u)||c.set(u,l)}}),i;function o(l,c){const u=l.type,d=i.handlers[u];if(Cw.call(i.handlers,u)&&d)return d(i,l,c);if(i.options.passThrough&&i.options.passThrough.includes(u)){if("children"in l){const{children:f,...p}=l,h=Hs(p);return h.children=i.all(l),h}return Hs(l)}return(i.options.unknownHandler||cLe)(i,l,c)}function s(l){const c=[];if("children"in l){const u=l.children;let d=-1;for(;++d<u.length;){const f=i.one(u[d],l);if(f){if(d&&u[d-1].type==="break"&&(!Array.isArray(f)&&f.type==="text"&&(f.value=FE(f.value)),!Array.isArray(f)&&f.type==="element")){const p=f.children[0];p&&p.type==="text"&&(p.value=FE(p.value))}Array.isArray(f)?c.push(...f):c.push(f)}}}return c}}function sLe(e,t){e.position&&(t.position=HU(e))}function lLe(e,t){let n=t;if(e&&e.data){const r=e.data.hName,a=e.data.hChildren,i=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:"children"in n?n.children:[n]}),n.type==="element"&&i&&Object.assign(n.properties,Hs(i)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function cLe(e,t){const n=t.data||{},r="value"in t&&!(Cw.call(n,"hProperties")||Cw.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 uLe(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:` 122`});++r<e.length;)r&&n.push({type:"text",value:` 123`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:` 124`}),n}function FE(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function zE(e,t){const n=oLe(e,t),r=n.one(e,void 0),a=aLe(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&i.children.push({type:"text",value:` 125`},a),i}function jj(e,t){return e&&"run"in e?async function(n,r){const a=zE(n,{file:r,...t});await e.run(a,r)}:function(n,r){return zE(n,{file:r,...e||t})}}function dLe(e){const t=this;t.compiler=n;function n(r){return BIe(r,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}var Qj=e=>e.type==="heading"&&"depth"in e&&"children"in e,fLe=(e,...t)=>n=>{!e?.transform||!e?.type||ao(n,e?.type,r=>(e?.transform&&e?.transform(r),dB))},pLe=new Set(["dd","dt","li","p","summary","td","th"]),Fj=/[`*_\[~]/,hLe=()=>e=>{ao(e,"html",(t,n,r)=>{typeof n!="number"||!r||!("children"in r)||!Array.isArray(r.children)||(r.children[n]={type:"text",value:t.value??""})})},VE=Pd().use(S6).use(Yy).use(hLe).use(jj),mLe=Pd().use(CU,{fragment:!0}),gLe=Pd().use(u6),bLe=e=>{const t=VE.runSync(VE.parse(e));if(t.children.length!==1)return[];const n=t.children.at(0);return!n||n.type!=="element"||n.tagName!=="p"?[]:n.children},yLe=()=>e=>{ao(e,"element",t=>{pLe.has(t.tagName)&&(t.children=t.children.flatMap(n=>{if(n.type!=="text"||!Fj.test(n.value))return[n];const r=bLe(n.value);return r.length?r:[n]}))})},vLe=()=>e=>{ao(e,"raw",t=>{if(typeof t.value!="string"||!Fj.test(t.value))return;const n=mLe.parse(t.value);yLe()(n),t.value=gLe.stringify(n)})};function OLe(e,t){const n=t?.removeTags??[],r=[...lf.tagNames??[],...t?.allowTags??[]].filter(a=>!n.includes(a));return Pd().use(S6).use(Yy).use(fLe,{transform:t?.transform,type:t?.transformType}).use(jj,{allowDangerousHtml:!0}).use(j$e).use(vLe).use(V9e).use(ePe,{...lf,clobberPrefix:"",tagNames:r,attributes:{...lf.attributes,abbr:["title"],"*":[...lf.attributes?.["*"]??[],"className"]},strip:["script","style","object","embed","form"]}).use(wB,{languages:FB,detect:!0,className:"custom-scroll"}).use(G$e,{target:"_blank"}).use(S9e).use(u6).processSync(e).toString()}function zj(e){return Pd().use(S6).use(Yy).parse(e)}function SLe(e,t=1){const n=zj(e),r=[];return ao(n,"heading",a=>{const i=Gy(a);i&&r.push({depth:a.depth??t,value:i})}),r}function Gy(e){return e.type==="text"?e.value??"":"children"in e&&Array.isArray(e.children)?e.children.map(t=>Gy(t)).join(""):""}function wLe(e){const t=zj(e),n=[];let r=[];return t.children?.forEach(a=>{a.type==="heading"?(r.length&&n.push(r),n.push([a]),r=[]):r.push(a)}),r.length&&n.push(r),n.map(a=>xLe(a))}
125function xLe(e){return Pd().use(dLe).use(Yy).stringify({type:"root",children:e}).trim()}var kLe=["innerHTML"],ALe=Q({inheritAttrs:!1,__name:"ScalarMarkdown",props:{value:{},withImages:{type:Boolean,default:!1},withAnchors:{type:Boolean,default:!1},transform:{type:Function},transformType:{},clamp:{},anchorPrefix:{}},setup(e,{expose:t}){const{cx:n}=At();t({el:vi("div")});const r=i=>{if(!e.withAnchors)return e.transform?.(i)||i;if(!Qj(i))return i;const o=Gy(i).toLowerCase().replace(/\s+/g,"-");return i.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${o}`:o}},e.transform?e.transform(i):i},a=I(()=>OLe(e.value??"",{removeTags:e.withImages?[]:["img","picture"],transform:e.withAnchors&&e.transformType==="heading"?r:e.transform,transformType:e.transformType}));return(i,o)=>(g(),S("div",Ae({ref:"div"},m(n)("markdown",{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:a.value}),null,16,kLe))}}),Jr=ALe,TLe=["aria-controls","aria-expanded"],ELe=Q({inheritAttrs:!1,__name:"ScalarMarkdownSummary",props:xn({value:{},withImages:{type:Boolean},withAnchors:{type:Boolean},transform:{type:Function},transformType:{},clamp:{default:1},anchorPrefix:{},controlled:{type:Boolean}},{modelValue:{type:Boolean,default:!1},modelModifiers:{},truncated:{type:Boolean,default:!1},truncatedModifiers:{}}),emits:["update:modelValue","update:truncated"],setup(e){const t=BX(e,["clamp"]),n=vn(),r=yn(e,"modelValue"),a=yn(e,"truncated"),i=vi("scalar-markdown");V5e(()=>i.value?.el,o);function o(){const l=i.value?.el;l&&(a.value=l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth)}Mt(o);const{cx:s}=At();return(l,c)=>(g(),S("div",Rt(Ft(m(s)("group/summary flex gap-0.5",r.value?"flex-col":"flex-row items-baseline"))),[N(Jr,Ae(t,{id:m(n),ref:"scalar-markdown",clamp:r.value?void 0:e.clamp,class:{"markdown-summary truncate":!r.value}}),null,16,["id","clamp","class"]),!e.controlled&&(a.value||r.value)?(g(),S("button",{key:0,"aria-controls":m(n),"aria-expanded":r.value,class:Se(["whitespace-nowrap font-medium hover:underline",{"self-end":r.value}]),type:"button",onClick:c[0]||(c[0]=u=>r.value=!r.value)},[H(l.$slots,"button",{open:r.value},()=>[J(V(r.value?" Show Less":"More"),1)])],10,TLe)):B("",!0)],16))}}),$w=ELe,_Le={class:"bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium"},CLe=["id"],$Le=Q({__name:"AsyncApiServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){const t=vn(),{translate:n}=Ot(),r=I(()=>{const o=e.selectedServer?.server.variables;if(o)return Object.fromEntries(Object.entries(o).map(([s,l])=>{const c=ke(l);return[s,{default:c.default??"",enum:c.enum,description:c.description}]}))}),a=o=>{e.eventBus.emit("asyncapi-server:update:selected",{name:o})},i=(o,s)=>{e.selectedServer&&e.eventBus.emit("asyncapi-server:update:variables",{name:e.selectedServer.name,key:o,value:s})};return(o,s)=>(g(),S(le,null,[w("label",_Le,V(m(n)("server.label")),1),w("div",{id:m(t),class:Se(["border",{"rounded-b-xl":!e.selectedServer?.description&&!r.value}])},[e.servers.length?(g(),L(Xke,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:m(t),"onUpdate:modelValue":a},null,8,["selectedServer","servers","target"])):B("",!0)],10,CLe),N(m(cB),{layout:"reference",variables:r.value,"onUpdate:variable":i},null,8,["variables"]),e.selectedServer?.description?(g(),L(m(Jr),{key:0,class:"text-c-3 rounded-b-xl border-x border-b px-3 py-1.5",value:e.selectedServer.description},null,8,["value"])):B("",!0)],64))}}),PLe=$Le,Vj=["shell/curl","ruby/native","node/undici","php/guzzle","python/python3"],Pw=(e,t=Vj)=>!!(e&&t.includes(e)),ILe=(e,t=Vj)=>{const n=new Map;for(const r of e)for(const a of r.options)n.set(a.id,a);return t.flatMap(r=>n.get(r)??[])},HE=(e,t)=>{let n=t.toLowerCase();return e.label.toLowerCase().includes(n)||e.clientKey.toLowerCase().includes(n)||e.lang.toLowerCase().includes(n)},NLe=(e,t)=>{let n=t.toLowerCase();return e.label.toLowerCase().includes(n)||e.key.toLowerCase().includes(n)},Hj=((e,t,n)=>{if(e==="")return t;let r=e.toLowerCase(),a=n?n.filter(i=>i.label&&i.options.length>0).length:0;if(n&&a>1){let i=[];for(let o of n)NLe(o,r)?i.push(...o.options):i.push(...o.options.filter(s=>HE(s,r)));return i}return t.filter(i=>HE(i,r))});
125const $g={c:["libcurl"],clojure:["clj_http"],csharp:["httpclient","restsharp"],dart:["http"],fsharp:["httpclient"],go:["native"],http:["http1.1"],java:["asynchttp","nethttp","okhttp","unirest"],js:["axios","fetch","jquery","ofetch","xhr"],julia:["http"],kotlin:["okhttp"],node:["axios","fetch","ofetch","undici"],objc:["nsurlsession"],ocaml:["cohttp"],php:["curl","guzzle","laravel"],powershell:["restmethod","webrequest"],python:["python3","requests","aiohttp","httpx_sync","httpx_async"],r:["httr2"],ruby:["native"],rust:["reqwest"],shell:["curl","httpie","wget"],swift:["nsurlsession"]},R2=gi($g).flatMap(([e,t])=>t.map(n=>`${e}/${n}`)),RLe=e=>(e||"GET").toUpperCase(),so=e=>e.replaceAll("\\","\\\\").replaceAll('"','\\"').replaceAll(` 126`,"\\n").replaceAll("\r","\\r").replaceAll(" ","\\t"),MLe=e=>{if(!e)return"";try{const t=new URL(e),r=t.pathname==="/"&&!e.endsWith("/")&&!e.includes("?")&&!e.includes("#")?"":t.pathname;return`${t.protocol}//${t.host}${r}${t.search}${t.hash}`}catch{return e}},LLe=(e,t)=>{const n=t?.length?t.map(r=>`${r.name}=${r.value}`).join("&"):"";return n?e?`${e}${e.includes("?")?"&":"?"}${n}`:`?${n}`:e},DLe=e=>e?.length?e.map(t=>`${encodeURIComponent(t.name)}=${encodeURIComponent(t.value)}`).join("; "):null,BLe=e=>e?.length?e.map(t=>new URLSearchParams([[t.name,t.value??""]]).toString()).join("&"):null,qE=e=>{if(e===void 0)return"";try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},ZE=e=>{const t=e.split(` 127`);return t.length<=1?[` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${so(e)}");`]:[" curl_easy_setopt(curl, CURLOPT_POSTFIELDS,",...t.map((n,r)=>{const a=r===t.length-1;return` "${so(n)}${a?"":"\\n"}"${a?");":""}`})]},ULe={target:"c",client:"libcurl",title:"Libcurl",generate(e,t){if(!e)return"";const n=RLe(e.method),r=MLe(e.url??""),a=LLe(r,e.queryString),i=!!e.headers?.length,o=!!e.cookies?.length,s=e.postData,l=s?.mimeType==="multipart/form-data"&&!!s.params?.length,c=e.headers??[],u=c.some(f=>f.name.toLowerCase()==="accept-encoding"&&/gzip|deflate/.test(f.value)),d=["#include <curl/curl.h>","","int main(void) {"," curl_global_init(CURL_GLOBAL_DEFAULT);"," CURL *curl = curl_easy_init();"," if (!curl) {"," curl_global_cleanup();"," return 1;"," }","",` curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "${so(n)}");`,` curl_easy_setopt(curl, CURLOPT_URL, "${so(a)}");`];if(t?.auth?.username&&t.auth.password&&d.push(` curl_easy_setopt(curl, CURLOPT_USERPWD, "${so(`${t.auth.username}:${t.auth.password}`)}");`),i&&(d.push(""," struct curl_slist *headers = NULL;"),c.forEach(f=>{d.push(` headers = curl_slist_append(headers, "${so(`${f.name}: ${f.value}`)}");`)}),d.push(" curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);")),o){const f=DLe(e.cookies);f&&d.push("",` curl_easy_setopt(curl, CURLOPT_COOKIE, "${so(f)}");`)}if(u&&d.push("",' curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "");'),s){if(l&&s.params)d.push(""," curl_mime *mime = curl_mime_init(curl);"),s.params.forEach(f=>{d.push(""," {"," curl_mimepart *part = curl_mime_addpart(mime);"),f.name&&d.push(` curl_mime_name(part, "${so(f.name)}");`),f.fileName!==void 0?d.push(` curl_mime_filedata(part, "${so(f.fileName)}");`):d.push(` curl_mime_data(part, "${so(f.value??"")}", CURL_ZERO_TERMINATED);`),f.contentType&&d.push(` curl_mime_type(part, "${so(f.contentType)}");`),d.push(" }")}),d.push(""," curl_easy_setopt(curl, CURLOPT_MIMEPOST, mime);");else if(s.mimeType==="application/x-www-form-urlencoded"&&s.params?.length){const f=BLe(s.params);f!==null&&d.push("",` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${so(f)}");`)}else if(s.mimeType==="application/json"&&s.text!==void 0)d.push("",...ZE(qE(s.text)));else if(s.text!==void 0){const f=s.mimeType==="application/octet-stream"?s.text:qE(s.text);d.push("",...ZE(f))}}return d.push(""," CURLcode res = curl_easy_perform(curl);"),d.push(" curl_easy_cleanup(curl);"),l&&d.push(" curl_mime_free(mime);"),i&&d.push(" curl_slist_free_all(headers);"),d.push(" curl_global_cleanup();",""," return (int)res;","}"),d.join(` 128`)}};function qj(e){return{...e,method:(e.method||"GET").toUpperCase()}}function Gl(e){return e?.length?`?${e.map(n=>`${n.name}=${n.value}`).join("&")}`:""}const Bp=e=>(e||"GET").toUpperCase(),Ky=e=>{if(!e)return"";try{const t=new URL(e);return t.pathname==="/"?`${t.origin}${t.search}${t.hash}`:t.toString()}catch{return e}},M0=(e,t)=>{const n=Gl(t);return n?e?`${e}${e.includes("?")?"&":"?"}${n.slice(1)}`:n:e},Jy=(e,t)=>{const n=new Map;if(e?.forEach(r=>{r.name&&n.set(r.name,r.value??"")}),t?.length){const r=t.map(a=>`${encodeURIComponent(a.name)}=${encodeURIComponent(a.value)}`).join("; ");n.set("Cookie",r)}return Array.from(n.entries()).map(([r,a])=>({name:r,value:a}))},Us=(e,t,n)=>{const r=e[t];r===void 0?e[t]=n:Array.isArray(r)?r.push(n):e[t]=[r,n]};function Kl(e=[]){return e.reduce((t,{name:n,value:r})=>(Us(t,n,r),t),{})}function jLe(e,t){return`${e}${t}`}function QLe(e){const t={};if(e.headers)for(const n of e.headers)n.value&&!/[; ]/.test(n.name)&&(t[n.name]=n.value);if(e.cookies&&e.cookies.length>0){const n=e.cookies.map(r=>`${encodeURIComponent(r.name)}=${encodeURIComponent(r.value)}`).join("; ");t.Cookie=n}return t}const w6=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"');class M2{name;constructor(t){this.name=t}toString(){return`:${this.name}`}}let x6=class{path;constructor(t){this.path=t}toString(){return`(clojure.java.io/file "${w6(this.path)}")`}};const Zj=e=>typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof M2)&&!(e instanceof x6)&&Object.keys(e).length===0,FLe=e=>{for(const t of Object.keys(e))Zj(e[t])&&delete e[t];return e},Pg=(e,t)=>t.replace(/\n/g,` 129${" ".repeat(e)}`),Iw=e=>{if(e==null)return"nil";if(e instanceof M2||e instanceof x6)return e.toString();if(typeof e=="string")return`"${w6(e)}"`;if(Array.isArray(e)){const t=e.reduce((n,r)=>`${n} ${Iw(r)}`,"").trim();return`[${Pg(1,t)}]`}if(typeof e=="object"){const t=Object.keys(e).reduce((n,r)=>{const a=Pg(r.length+2,Iw(e[r]));return`${n}:${r} ${a} 130 `},"").trim();return`{${Pg(1,t)}}`}return String(e)},Xj=(e,t)=>Object.keys(e).find(n=>n.toLowerCase()===t.toLowerCase()),N1=(e,t)=>{const n=Xj(e,t);n&&delete e[n]},zLe=["get","post","put","delete","patch","head","options"],VLe={target:"clojure",client:"clj_http",title:"clj-http",generate(e,t){const n=Bp(e?.method).toLowerCase();if(!zLe.includes(n))return"Method not supported";
130const r=new URL(e?.url??"");let a=r.pathname==="/"?r.origin:r.toString();const i=Kl([...Array.from(r.searchParams.entries()).map(([b,y])=>({name:b,value:y})),...e?.queryString??[]]);Object.keys(i).length>0&&(a=a.split("?")[0]??a);const o=(e?.headers??[]).reduce((b,y)=>(b[y.name]=y.value??"",b),{});e?.cookies?.length&&(o.Cookie=e.cookies.map(b=>`${encodeURIComponent(b.name)}=${encodeURIComponent(b.value)}`).join("; "));const s={headers:o,"query-params":i};t?.auth?.username&&t?.auth?.password&&(s["basic-auth"]=[t.auth.username,t.auth.password]);const l=e?.postData;switch(l?.mimeType){case"application/json":{if(s["content-type"]=new M2("json"),l.text)try{s["form-params"]=JSON.parse(l.text)}catch{s.body=l.text}N1(o,"content-type");break}case"application/x-www-form-urlencoded":{s["form-params"]=(l.params??[]).reduce((b,y)=>(y.name&&y.value!==void 0&&(b[y.name]=y.value),b),{}),N1(o,"content-type");break}case"multipart/form-data":{l.params&&(s.multipart=l.params.map(b=>typeof b.fileName=="string"&&!b.value?{name:b.name,content:new x6(b.fileName)}:{name:b.name,content:b.value})),N1(o,"content-type");break}default:l?.text&&(s.body=l.text,N1(o,"content-type"))}const c=Xj(o,"accept");c&&o[c]==="application/json"&&(s.accept=new M2("json"),delete o[c]);const u=FLe(s),d=`(require '[clj-http.client :as client]) 131`,f=w6(a);if(Zj(u))return`${d} 132(client/${n} "${f}")`;const p=11+n.length+f.length,h=Pg(p,Iw(u));return`${d} 133(client/${n} "${f}" ${h})`}},HLe={target:"csharp",client:"httpclient",title:"HttpClient",generate(e,t){const n={method:"GET",url:"",...e};n.method=n.method.toUpperCase();const r=Gl(n.queryString),a=`${n.url}${r}`,i=[];i.push("using var client = new HttpClient();"),i.push("");const o=qLe(n.method);return i.push(`var request = new HttpRequestMessage(${o}, "${a}");`),ZLe(i,n,t),XLe(i,n),i.push(""),i.push("using var response = await client.SendAsync(request);"),i.join(` 134`)}};function qLe(e){switch(e){case"GET":return"HttpMethod.Get";case"POST":return"HttpMethod.Post";case"PUT":return"HttpMethod.Put";case"DELETE":return"HttpMethod.Delete";case"PATCH":return"HttpMethod.Patch";case"HEAD":return"HttpMethod.Head";case"OPTIONS":return"HttpMethod.Options";default:return`new HttpMethod("${e}")`}}function ZLe(e,t,n){const r=t.headers||[],a=t.cookies||[],i=r.find(s=>s.name.toLowerCase()==="authorization");if(i){const[s,l]=i.value.split(" ",2);s&&l&&e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("${s}", "${l}");`)}else if(n?.auth?.username&&n?.auth?.password){const s=vd(`${n.auth.username}:${n.auth.password}`);e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "${s}");`)}const o=new Map;for(const s of r){const l=s.name,c=s.value;l.toLowerCase()!=="authorization"&&o.set(l,c)}for(const[s,l]of o)if(s.toLowerCase()==="accept"&&WLe(l))e.push(`request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("${l}"));`);else{if(s.toLowerCase()==="content-type"&&t.postData)continue;e.push(`request.Headers.TryAddWithoutValidation("${s}", "${l}");`)}if(a.length>
1340){const s=a.map(l=>`${l.name}=${l.value}`).join("; ");e.push(`request.Headers.TryAddWithoutValidation("Cookie", "${s}");`)}}function XLe(e,t){if(!t.postData)return;const{mimeType:n,text:r,params:a}=t.postData;if(n==="application/json"&&r)try{const i=JSON.parse(r),o=JSON.stringify(i,null,2),s=WO(o);e.push("request.Content = new StringContent("),e.push(`${s},`),e.push('System.Text.Encoding.UTF8, "application/json");')}catch{const i=WO(r);e.push("request.Content = new StringContent("),e.push(`${i},`),e.push('System.Text.Encoding.UTF8, "application/json");')}else if(n==="application/x-www-form-urlencoded"&&a){const i=a.map(s=>s.name);if(i.length!==new Set(i).size){e.push("var formParams = new List<KeyValuePair<string, string>>"),e.push("{");for(const s of a)e.push(` new("${s.name}", "${s.value}"),`);e.push("};"),e.push("request.Content = new FormUrlEncodedContent(formParams);")}else{e.push("var formParams = new Dictionary<string, string>"),e.push("{");for(const s of a)e.push(` ["${s.name}"] = "${s.value}",`);e.push("};"),e.push("request.Content = new FormUrlEncodedContent(formParams);")}}else if(n==="multipart/form-data"&&a){e.push("var content = new MultipartFormDataContent();");let i=0;for(const o of a)if(o.fileName!==void 0)if(o.contentType){const s=`fileContent${i++}`;e.push(`var ${s} = new StreamContent(File.OpenRead("${ks(o.fileName)}"));`),e.push(`${s}.Headers.ContentType = new MediaTypeHeaderValue("${o.contentType}");`),e.push(`content.Add(${s}, "${ks(o.name)}", "${ks(o.fileName)}");`)}else e.push(`content.Add(new StreamContent(File.OpenRead("${ks(o.fileName)}")), "${ks(o.name)}", "${ks(o.fileName)}");`);else if(o.contentType){const s=`stringContent${i++}`;e.push(`var ${s} = new StringContent("${ks(o.value??"")}");`),e.push(`${s}.Headers.ContentType = new MediaTypeHeaderValue("${o.contentType}");`),e.push(`content.Add(${s}, "${ks(o.name)}");`)}else e.push(`content.Add(new StringContent("${ks(o.value??"")}"), "${ks(o.name)}");`);e.push("request.Content = content;")}else if(n==="application/octet-stream"&&r)e.push('var content = new ByteArrayContent(System.Text.Encoding.UTF8.GetBytes("'+r.replace(/"/g,'\\"')+'"));'),e.push('content.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");'),e.push("request.Content = content;");else if(r){const i=WO(r);e.push("request.Content = new StringContent("),e.push(`${i},`),e.push(`System.Text.Encoding.UTF8, "${n}");`)}}function WO(e){let t=3;for(;e.includes('"'.repeat(t));)t++;const n='"'.repeat(t);return`${n} 135${e} 136${n}`}function ks(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function WLe(e){return/^[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*\/[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*(\s*;\s*[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*=.*)?$/.test(e)}const L2=/^[!#$%&'*+\-.^_`|~A-Za-z0-9]+$/,YLe=e=>`"${e.replaceAll(/(["\\])/g,"\\$1")}"`,GLe=e=>{const t=e.indexOf("=");if(t===-1)return null;const n=e.slice(0,t).trim().toLowerCase();if(!n||!L2.test(n))return null;const r=e.slice(t+1).trim();if(!r)return null;if(r.startsWith('"')&&r.endsWith('"')&&r.length>=2){const a=r.slice(1,-1).replaceAll(/\\(["\\])/g,"$1");return[n,a]}return[n,r]},XE=e=>{const[t="",n=""]=e.split("/",2),r=t.trim().toLowerCase(),a=n.trim().toLowerCase();if(!r||!a||!L2.test(r)||!L2.test(a))throw new Error(`Invalid MIME type: "${e}"`);return{essence:`${r}/${a}`,type:r,subtype:a}},ev=(e="text/plain")=>{const[t="",...n]=e.split(";");let r;try{r=XE(t)}catch{r=XE("text/plain")}const{essence:a,type:i,subtype:o}=r,s=new Map;return n.forEach(c=>{const u=GLe(c);if(!u)return;const[d,f]=u;s.set(d,f)}),{essence:a,type:i,subtype:o,parameters:s,toString:()=>{const c=Array.from(s.entries()).map(([u,d])=>{const f=L2.test(d)?d:YLe(d);return`${u}=${f}`});return c.length?`${a}; ${c.join("; ")}`:a}}},KLe=e=>{if(!e)return!1;const{subtype:t}=ev(e);return t==="json"||t.endsWith("+json")},JLe=e=>`Method.${e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}`,aa=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"),eDe=e=>{let t=3;for(;e.includes('"'.repeat(t));)t++;const n='"'.repeat(t);return`${n} 137${e} 138${n}`},tDe={target:"csharp",client:"restsharp",title:"RestSharp",generate(e,t){const n={method:"GET",url:"",...e};n.method=n.method.toUpperCase();const r=M0(n.url,n.queryString);let a="";try{a=new URL(r).host}catch{}const i=[];i.push(`var client = new RestClient("${aa(r)}");`),i.push(`var request = new RestRequest("", ${JLe(n.method)});`);const{username:o,password:s}=t?.auth??{},l=!!(o&&s);if(l){const c=vd(`${o}:${s}`);i.push(`request.AddHeader("Authorization", "Basic ${c}");`)}if(n.headers?.forEach(c=>{l&&c.name.toLowerCase()==="authorization"||i.push(`request.AddHeader("${aa(c.name)}", "${aa(c.value)}");`)}),n.cookies?.forEach(c=>{i.push(`request.AddCookie("${aa(c.name)}", "${aa(c.value)}", "/", "${aa(a)}");`)}),n.postData){const{mimeType:c,text:u,params:d}=n.postData,f=c?ev(c).essence:void 0;if(KLe(c)){if(u){let p=u;try{p=JSON.stringify(JSON.parse(u),null,2)}catch{}i.push(`request.AddStringBody(${eDe(p)}, ContentType.Json);`)}}else f==="application/x-www-form-urlencoded"&&d?d.forEach(p=>{i.push(`request.AddParameter("${aa(p.name)}", "${aa(p.value??"")}");`)}):f==="multipart/form-data"&&d?d.forEach(p=>{p.fileName!==void 0?p.contentType?i.push(`request.AddFile("${aa(p.name)}", "${aa(p.fileName)}", "${aa(p.contentType)}");`):i.push(`request.AddFile("${aa(p.name)}", "${aa(p.fileName)}");`):i.push(`request.AddParameter("${aa(p.name)}", "${aa(p.value??"")}");`)}):f==="application/octet-stream"&&u?i.push(`request.AddParameter("application/octet-stream", "${aa(u)}", ParameterType.RequestBody);`):u&&i.push(`request.AddParameter("${aa(c??"")}", "${aa(u)}", ParameterType.RequestBody);`)}return i.push("var response = await client.ExecuteAsync(request);"),i.join(` 139`)}},nDe={target:"dart",client:"http",title:"Http",generate(e,t){const n={method:"GET",...e};n.method=n.method.toUpperCase();let r=`import 'package:http/http.dart' as http; 140 141void main() async { 142`,a="",i="";n.cookies&&n.cookies.length>0&&(i=n.cookies.map(p=>`${encodeURIComponent(p.name)}=${encodeURIComponent(p.value)}`).join("; "),a=` "Cookie": "${i}", 143`);const o=n.headers?.reduce((p,h)=>(h.value&&!/[; ]/.test(h.name)&&(p[h.name]=h.value),p),{})||{};if(t?.auth){const{username:p,password:h}=t.auth;if(p&&h){const b=`${p}:${h}`;o.Authorization=`'Basic ' + base64Encode(utf8.encode('${b}'))`}}if(a&&(o.Cookie=i),Object.keys(o).length>0){r+=` final headers = <String,String>{ 144`;for(const[p,h]of Object.entries(o))h.includes("utf8.encode")?r+=` '${p}': ${h}, 145`:r+=` '${p}': '${h}', 146`;r+=` }; 147 148`}const s=n.queryString?.length?"?"+n.queryString.map(p=>`${p.name}=${p.value}`).join("&"):"",l=`${n.url}${s}`;let c="";if(n.postData)if(n.postData.mimeType==="application/json")c=` final body = r'${n.postData.text}'; 149 150`;else if(n.postData.mimeType==="application/x-www-form-urlencoded")c=` final body = '${n.postData.params?.map(p=>`${encodeURIComponent(p.name)}=${encodeURIComponent(p.value??"")}`).join("&")||""}'; 151 152`;else if(n.postData.mimeType==="multipart/form-data"){c=` final body = <String,String>{ 153`;for(const p of n.postData.params||[]){const h=p.value||"",b=p.fileName||"";c+=` '${p.name}': '${b||h}', 154`}c+=` }; 155 156`}else n.postData.mimeType==="application/octet-stream"&&(c=` final body = '${n.postData.text}'; 157 158`);c&&(r+=c);const u=n.method.toLowerCase(),d=Object.keys(o).length>0?", headers: headers":"";return r+=` final response = await http.${u}(Uri.parse('${l}')${d}${c?", body: body":""}); 159`,r+=` print(response.body); 160`,r+="}",r}},rDe={target:"fsharp",client:"httpclient",title:"HttpClient",generate:(e,t)=>
160{if(!e)return"";const n=iDe(e.url,e.queryString);let r="";return r+=oDe(e.method,n),e.headers&&e.headers.length>0&&(r+=sDe(e.headers)),e.postData&&(r+=cDe(e.postData)),e.cookies&&e.cookies.length>0&&e.url?(r+=lDe(e.cookies,e.url),r+=`let client = new HttpClient(handler) 161`):r+=`let client = new HttpClient() 162`,r+=`let! result = client.SendAsync(httpRequestMessage) 163`,r}};function aDe(e){return!e||e.length===0?"":"?"+e.map(n=>`${n.name}=${n.value}`).join("&")}function iDe(e,t){return e?!t||t.length===0?e:e+aDe(t):""}function oDe(e,t){return`let httpRequestMessage = new HttpRequestMessage( 164 HttpMethod("${e}"), 165 new Uri("${Ra(t)}") 166) 167 168`}function sDe(e){let t="";for(const n of e)t+=`httpRequestMessage.Headers.Add("${Ra(n.name??"")}", "${Ra(n.value??"")}") 169`;return t+=` 170`,t}function lDe(e,t){let n=`let cookieContainer = CookieContainer() 171`;for(const r of e)n+=`cookieContainer.Add(Uri("${Ra(t)}"), Cookie("${Ra(r.name??"")}", "${Ra(r.value??"")}")) 172`;return n+=`use handler = new HttpClientHandler() 173`,n+=`handler.CookieContainer <- cookieContainer 174 175`,n}function cDe(e){if(!e)return"";let t="";switch(e.mimeType){case"multipart/form-data":t+=dDe(e);break;case"application/x-www-form-urlencoded":t+=pDe(e);break;case"application/json":t+=fDe(e);break;default:t+=uDe(e,e.mimeType);break}return t+=`httpRequestMessage.Content <- content 176 177`,t}function uDe(e,t){let n=`let content = new StringContent("${Ra(e.text??"")}", Encoding.UTF8, "${Ra(t??"")}") 178`;return n+=`content.Headers.ContentType <- MediaTypeHeaderValue("${Ra(t??"")}") 179`,n}function dDe(e){let t=`let content = new MultipartFormDataContent() 180`,n=0,r=0;for(const a of e.params)if(a.value==="BINARY"){const i=Ra(a.fileName??"");t+=`let fileStreamContent_${n} = new StreamContent(File.OpenRead("${i}")) 181`,a.contentType&&(t+=`fileStreamContent_${n}.Headers.ContentType <- MediaTypeHeaderValue("${Ra(a.contentType)}") 182`),t+=`content.Add(fileStreamContent_${n}, "${i}", "${i}") 183`,n++}else{const i=Ra(a.name??""),o=Ra(a.value??"");a.contentType?(t+=`let stringContent_${r} = new StringContent("${o}") 184`,t+=`stringContent_${r}.Headers.ContentType <- MediaTypeHeaderValue("${Ra(a.contentType)}") 185`,t+=`content.Add(stringContent_${r}, "${i}") 186`,r++):t+=`content.Add(new StringContent("${o}"), "${i}") 187`}return t}function fDe(e){let t;try{t=JSON.stringify(JSON.parse(e.text??"{}"),null,2)}catch{t=e.text??"{}"}return`let content = new StringContent("""${t}""", Encoding.UTF8, "application/json") 188`}function pDe(e){let t=`let formUrlEncodedContentDictionary = new Dictionary<string, string>() 189`;for(const n of e.params)t+=`formUrlEncodedContentDictionary.Add("${Ra(n.name??"")}", "${Ra(n.value??"")}") 190`;return t+=`let content = new FormUrlEncodedContent(formUrlEncodedContentDictionary) 191`,t}function Ra(e){return e==null?"":e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}const hDe=e=>e.includes(" ")?e:Xa(e),Xa=e=>JSON.stringify(e),mDe=e=>{if(e===void 0)return"";try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},gDe=e=>!e.includes("`"),bDe=(e,t=!1)=>t&&gDe(e)?`\`${e}\``:Xa(e),yDe=e=>{const t=new Set;if(!e)return{imports:t,setupLines:[],requestBody:"nil",needsMultipartContentTypeHeader:!1};if(e.mimeType==="application/x-www-form-urlencoded"&&e.params?.length)return t.add('neturl "net/url"'),t.add("strings"),{imports:t,setupLines:["postData := neturl.Values{}",...e.params.map(r=>`postData.Set(${Xa(r.name)}, ${Xa(r.value??"")})`)],requestBody:"strings.NewReader(postData.Encode())",needsMultipartContentTypeHeader:!1};if(e.mimeType==="multipart/form-data"&&e.params?.length){t.add("bytes"),t.add("mime/multipart");const r=["payload := &bytes.Buffer{}","writer := multipart.NewWriter(payload)"],a=e.params.some(s=>s.fileName!==void 0);let i=!1,o=!1;return a&&(t.add("os"),t.add("io")),e.params.forEach(s=>{r.push(""),s.fileName!==void 0?(r.push(`part, _ ${i?"=":":="} writer.CreateFormFile(${Xa(s.name)}, ${Xa(s.fileName)})`),r.push(""),r.push(`f, _ ${o?"=":":="} os.Open(${Xa(s.fileName)})`),r.push("defer f.Close()"),r.push(""),r.push("_, _ = io.Copy(part, f)"),i=!0,o=!0):r.push(`_ = writer.WriteField(${Xa(s.name)}, ${Xa(s.value??"")})`)}
191),r.push("writer.Close()"),{imports:t,setupLines:r,requestBody:"payload",needsMultipartContentTypeHeader:!0}}t.add("strings");const n=e.mimeType==="application/json"?mDe(e.text):e.text??"";return{imports:t,setupLines:[`payload := strings.NewReader(${bDe(n,e.mimeType==="application/json")})`],requestBody:"payload",needsMultipartContentTypeHeader:!1}},vDe=e=>Array.from(new Set(["fmt","io","net/http",...e])).sort(),ODe={target:"go",client:"native",title:"NewRequest",generate(e,t){if(!e)return"";const n=Bp(e.method),r=Ky(M0(e.url??"",e.queryString)),a=Jy(e.headers,e.cookies),i=yDe(e.postData),s=["package main","","import (",...vDe(i.imports).map(l=>` ${hDe(l)}`),")","","func main() {",` requestUrl := ${Xa(r)}`,"",...i.setupLines.map(l=>l?` ${l}`:"")];return i.setupLines.length&&s.push(""),s.push(` req, _ := http.NewRequest(${Xa(n)}, requestUrl, ${i.requestBody})`),s.push(""),i.needsMultipartContentTypeHeader&&s.push(' req.Header.Set("Content-Type", writer.FormDataContentType())'),t?.auth?.username&&t?.auth?.password&&s.push(` req.SetBasicAuth(${Xa(t.auth.username)}, ${Xa(t.auth.password)})`),a.forEach(l=>{s.push(` req.Header.Add(${Xa(l.name)}, ${Xa(l.value)})`)}),(i.needsMultipartContentTypeHeader||a.length||t?.auth?.username&&t.auth.password)&&s.push(""),s.push(" res, _ := http.DefaultClient.Do(req)"),s.push(""),s.push(" defer res.Body.Close()"),s.push(" body, _ := io.ReadAll(res.Body)"),s.push(""),s.push(" fmt.Println(res)"),s.push(" fmt.Println(string(body))"),s.push(""),s.push("}"),s.join(` 192`)}},SDe={target:"http",client:"http1.1",title:"HTTP/1.1",generate(e){const t={method:"GET",headers:[],queryString:[],...e};t.method=t.method.toUpperCase();let n,r;try{n=new URL(t.url||"http://"),r=n.pathname+(n.search||"")}catch{r=t.url||"/"}const a=n?.hostname||"UNKNOWN_HOSTNAME";let i=`${t.method} ${r} HTTP/1.1\r 193`;if(t.queryString.length){const l=t.queryString.map(c=>`${c.name}=${c.value}`).join("&");i=`${t.method} ${r}?${l} HTTP/1.1\r 194`}const o=new Map;if(o.set("Host",a),t.headers.forEach(l=>{o.has(l.name)?o.set(l.name,`${o.get(l.name)}, ${l.value}`):o.set(l.name,l.value)}),t.queryString.length){const l=t.queryString.map(c=>`${c.name}=${c.value}`).join("&");i=`${t.method} ${r}?${l} HTTP/1.1\r 195`}let s="";if(t.postData){if(t.postData.mimeType==="application/json"&&t.postData.text)o.set("Content-Type","application/json"),s=t.postData.text;else if(t.postData.mimeType==="application/octet-stream"&&t.postData.text)o.set("Content-Type","application/octet-stream"),s=t.postData.text;else if(t.postData.mimeType==="application/x-www-form-urlencoded"&&t.postData.params){const l=t.postData.params.map(c=>`${encodeURIComponent(c.name)}=${encodeURIComponent(c.value??"")}`).join("&");o.set("Content-Type","application/x-www-form-urlencoded"),s=l}else if(t.postData.mimeType==="multipart/form-data"&&t.postData.params){const l="----WebKitFormBoundary7MA4YWxkTrZu0gW";o.set("Content-Type",`multipart/form-data; boundary=${l}`),s=t.postData.params.map(c=>{const u=c.contentType?`Content-Type: ${c.contentType}\r 196`:"";return c.fileName?`--${l}\r 197Content-Disposition: form-data; name="${c.name}"; filename="${c.fileName}"\r 198${u}\r 199`:`--${l}\r 200Content-Disposition: form-data; name="${c.name}"\r 201${u}\r 202${c.value??""}\r 203`}).join("")+`--${l}--\r 204`}}return o.forEach((l,c)=>{i+=`${c}: ${l}\r 205`}),i+=`\r 206${s}`,i}},WE="",YE=` 207`;class Jl{postProcessors;code;indentationCharacter;lineJoin;indentLine;unshift;push;blank;join;addPostProcessor;constructor({indent:t,join:n}={}){this.postProcessors=[],this.code=[],this.indentationCharacter=WE,this.lineJoin=YE,this.indentLine=(r,a=0)=>`${this.indentationCharacter.repeat(a)}${r}`,this.unshift=(r,a)=>{const i=this.indentLine(r,a);this.code.unshift(i)},this.push=(r,a)=>{const i=this.indentLine(r,a);this.code.push(i)},this.blank=()=>{this.code.push("")},this.join=()=>{const r=this.code.join(this.lineJoin);return this.postProcessors.reduce((i,o)=>o(i),r)},this.addPostProcessor=r=>{this.postProcessors=[...this.postProcessors,r]},this.indentationCharacter=t||WE,this.lineJoin=n??YE}}function D2(e,t={}){const{delimiter:n='"',escapeChar:r="\\",escapeNewlines:a=!0}=t;return[...e.toString()].map(o=>o==="\b"?`${r}b`:o===" "?`${r}t`:o===` 208`?a?`${r}n`:o:o==="\f"?`${r}f`:o==="\r"?a?`${r}r`:o:o===r?r+r:o===n?r+n:o<" "||o>"~"?JSON.stringify(o).slice(1,-1):o).join("")}const wDe=e=>D2(e,{delimiter:"'"}),td=e=>D2(e,{delimiter:'"'}),xDe={info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/AsyncHttpCl
208ient/async-http-client",description:"Asynchronous Http and WebSocket Client library for Java"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},a)=>{const i={indent:" ",...a},{blank:o,push:s,join:l}=new Jl({indent:i.indent});return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"),s(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach(c=>{s(`.setHeader("${c}", "${td(t[c])}")`,1)}),n?.text&&s(`.setBody(${JSON.stringify(n.text)})`,1),s(".execute()",1),s(".toCompletableFuture()",1),s(".thenAccept(System.out::println)",1),s(".join();",1),o(),s("client.close();"),l()}};function al(e,t){const n=new URL(t?.url??""),r=n.pathname==="/"?n.origin:n.toString(),a={method:t?.method??"GET",url:r,httpVersion:"HTTP/1.1",cookies:[],headers:t?.headers??[],headersSize:-1,bodySize:-1,queryString:Array.from(n.searchParams.entries()).map(([d,f])=>({name:d,value:f})),postData:t?.postData},i=(a?.headers??[]).reduce((d,f)=>({...d,[f.name]:f.value}),{}),o=Kl(a.queryString),s=(a.cookies??[]).reduce((d,f)=>({...d,[f.name]:f.value}),{}),l=new URL(a.url),c={protocol:l.protocol,hostname:l.hostname,host:l.hostname,port:l.port,pathname:l.pathname.split("/").map(d=>encodeURIComponent(decodeURIComponent(d))).join("/")+l.search,path:l.pathname.split("/").map(d=>encodeURIComponent(decodeURIComponent(d))).join("/")+l.search,search:l.search,hash:l.hash,href:l.href,origin:l.origin,password:l.password,searchParams:l.searchParams,username:l.username,toString:l.toString,toJSON:()=>l.toJSON()},u={url:a.url,uriObj:c,method:a.method?.toLocaleUpperCase()??"GET",httpVersion:a.httpVersion,cookies:a.cookies??[],headers:a.headers??[],headersSize:a.headersSize,headersObj:i??{},bodySize:a.bodySize,queryString:a.queryString??[],postData:a.postData?{mimeType:a.postData.mimeType??"application/json",text:a.postData.text??"",params:a.postData.params??[],paramsObj:a.postData.params?.reduce((d,f)=>(f.name&&f.value!==void 0&&(d[f.name]=f.value),d),{})??{}}:void 0,allHeaders:i??{},fullUrl:a.url,queryObj:o??{},cookiesObj:s??{}};if(u.postData?.mimeType==="application/json"&&u.postData.text)try{u.postData.jsonObj=JSON.parse(u.postData.text)}catch(d){console.error("Error parsing JSON:",d)}return typeof e.convert=="function"?e.convert(u):""}const kDe={target:"java",client:"asynchttp",title:"AsyncHttp",generate(e){return al(xDe,e)}},ADe={info:{key:"nethttp",title:"java.net.http",link:"https://openjdk.java.net/groups/net/httpclient/intro.html",description:"Java Standardized HTTP Client API"},convert:({allHeaders:e,fullUrl:t,method:n,postData:r},a)=>{const i={indent:" ",...a},{push:o,join:s}=new Jl({indent:i.indent});return o("HttpRequest request = HttpRequest.newBuilder()"),o(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(l=>{o(`.header("${l}", "${td(e[l])}")`,2)}),r?.text?o(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):o(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),o(".build();",2),o("HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyH
208andlers.ofString());"),o("System.out.println(response.body());"),s()}},TDe={target:"java",client:"nethttp",title:"java.net.http",generate(e){return al(ADe,e)}},EDe={info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:n,allHeaders:r},a)=>{const i={indent:" ",...a},{push:o,blank:s,join:l}=new Jl({indent:i.indent}),c=["GET","POST","PUT","DELETE","PATCH","HEAD"],u=["POST","PUT","DELETE","PATCH"];return o("OkHttpClient client = new OkHttpClient();"),s(),e!=null&&(e.mimeType==="application/x-www-form-urlencoded"&&e.params?(o("FormBody formBody = new FormBody.Builder()"),e.params.forEach(d=>{o(`.addEncoded("${d.name}", "${d.value}")`,1)}),o(".build();",1),s()):e.mimeType==="multipart/form-data"&&e.params?(o("MultipartBody body = new MultipartBody.Builder()"),o(".setType(MultipartBody.FORM)",1),e.params.forEach(d=>{d.fileName!==void 0?o(`.addFormDataPart("${d.name}", "${d.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), new File("${d.fileName}")))`,1):d.value!==void 0&&o(`.addFormDataPart("${d.name}", "${d.value}")`,1)}),o(".build();",1),s()):(o(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),o(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`))),o("Request request = new Request.Builder()"),o(`.url("${n}")`,1),c.includes(t.toUpperCase())?u.includes(t.toUpperCase())?e!=null&&(e.text||e.params)?o(`.${t.toLowerCase()}(body)`,1):o(`.${t.toLowerCase()}(null)`,1):o(`.${t.toLowerCase()}()`,1):e?.text?o(`.method("${t.toUpperCase()}", body)`,1):o(`.method("${t.toUpperCase()}", null)`,1),Object.keys(r).forEach(d=>{o(`.addHeader("${d}", "${td(r[d])}")`,1)}),o(".build();",1),s(),o("Response response = client.newCall(request).execute();"),l()}},_De={target:"java",client:"okhttp",title:"OkHttp",generate(e){return al(EDe,e)}},CDe={info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},a)=>{const i={indent:" ",...a},{join:o,push:s}=new Jl({indent:i.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?s(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):s(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),Object.keys(t).forEach(c=>{s(`.header("${c}", "${td(t[c])}")`,1)}),n?.text&&s(`.body(${JSON.stringify(n.text)})`,1),s(".asString();",1),o()}},$De={target:"java",client:"unirest",title:"Unirest",generate(e){return al(CDe,e)}};function PDe(e){return!/^[$A-Z_][0-9A-Z_$]*$/i.test(e)}function IDe(e){return e.replaceAll("\\","\\\\").replaceAll(` 209`,"\\n").replaceAll("\r","\\r").replaceAll("'","\\'")}let xo=class{value;constructor(t){this.value=t}};function qi(e,t=0){const n=[],r=" ".repeat(t),a=" ".repeat(t+2);if(Object.keys(e).length===0)return"{}";for(const[i,o]of Object.entries(e)){const s=PDe(i)?`'${IDe(i)}'`:i;if(o instanceof xo){const l=o.value.split(` 210`);let c=`${o.value}`;l.length>1&&(c=l.map((u,d)=>d===0?u:`${a}${u}`).join(` 211`)),n.push(`${a}${s}: ${c}`)}else if(Array.isArray(o)){const l=o.map(c=>typeof c=="string"?`'${c}'`:c&&typeof c=="object"?qi(c):JSON.stringify(c));if(l.some(c=>c.includes(` 212`))){const c=l.map(u=>NDe(u,t+4)).join(`, 213`);n.push(`${a}${s}: [ 214${c} 215${a}]`)}else n.push(`${a}${s}: [${l.join(", ")}]`)}else if(o&&typeof o=="object")n.push(`${a}${s}: ${qi(o,t+2)}`);else if(typeof o=="string"){const l=`'${o}'`;n.push(`${a}${s}: ${l}`)}else n.push(`${a}${s}: ${o}`)}return`{ 216${n.join(`, 217`)} 218${r}}`}function NDe(e,t){const n=" ".repeat(t);return e.split(` 219`).map(r=>`${n}${r}`).join(` 220`)}const co=e=>e.replaceAll("\\","\\\\").replaceAll(` 221`,"\\n").replaceAll("\r","\\r").replaceAll("'","\\'"),Gh=e=>typeof e=="string"?co(e):Array.isArray(e)?e.map(t=>Gh(t)):e&&typeof e=="object"&&!(e instanceof xo)?Object.entries(e).reduce((t,[n,r])=>(t[n]=Gh(r),t),{}):e,GE=(e,t,n)=>{if(n===""){e[t]=n;return}Us(e,t,n)},RDe=e=>{const t={};if(e?.headers?.forEach(n=>{GE(t,n.name,n.value)}),e?.cookies?.length){const n=e.cookies.map(r=>`${r.name}=${r.value}`).join("; ");
221GE(t,"Cookie",n)}return Object.keys(t).length?t:void 0},MDe=e=>{const t=[],n=e?.postData;if(!n)return{setup:t};if(n.mimeType==="application/json"){if(!n.text)return{setup:t};try{return{setup:t,data:JSON.parse(n.text)}}catch{return{setup:t,data:n.text}}}return n.mimeType==="application/x-www-form-urlencoded"&&n.params?.length?(t.push("const encodedParams = new URLSearchParams()"),n.params.forEach(r=>{const a=co(r.name),i=co(r.value??"");t.push(`encodedParams.append('${a}', '${i}')`)}),{setup:t,data:new xo("encodedParams")}):n.mimeType==="multipart/form-data"&&n.params?.length?(t.push("const formData = new FormData()"),n.params.forEach(r=>{const a=co(r.name);if(r.fileName!==void 0){const o=co(r.fileName),s=r.contentType?`, { type: '${co(r.contentType)}' }`:"";t.push(`formData.append('${a}', new Blob([]${s}), '${o}')`);return}if(r.contentType){const o=co(r.contentType),s=co(r.value??"");t.push(`formData.append('${a}', new Blob(['${s}'], { type: '${o}' }))`);return}const i=co(r.value??"");t.push(`formData.append('${a}', '${i}')`)}),{setup:t,data:new xo("formData")}):n.text?{setup:t,data:n.text}:{setup:t}},Wj=e=>({target:e,client:"axios",title:"Axios",generate(t,n){const r={method:"GET",...t};r.method=r.method.toUpperCase();const a={method:r.method,url:co(r.url??"")},i=Kl(r.queryString);Object.keys(i).length&&(a.params=Gh(i));const o=RDe(r);o&&(a.headers=Gh(o)),n?.auth?.username&&n?.auth?.password&&(a.auth={username:co(n.auth.username),password:co(n.auth.password)});const{setup:s,data:l}=MDe(r);return l!==void 0&&(a.data=l instanceof xo?l:Gh(l)),`import axios from 'axios' 222 223${s.length?`${s.join(` 224`)} 225 226`:""}const options = ${qi(a)} 227 228try { 229 const { data } = await axios.request(options) 230 console.log(data) 231} catch (error) { 232 console.error(error) 233}`}}),LDe=Wj("js"),DDe={target:"js",client:"fetch",title:"Fetch",generate(e){const t={method:"GET",...e};let n="";t.method=t.method.toUpperCase();const r={method:t.method==="GET"?void 0:t.method},a=Gl(t.queryString);if(t.headers?.length&&(r.headers={},t.headers.forEach(o=>{r.headers[o.name]=o.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(o=>{r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${o.name}=${o.value}`:`${o.name}=${o.value}`})),Object.keys(r).forEach(o=>{r[o]===void 0&&delete r[o]}),t.postData){const{mimeType:o,text:s,params:l}=t.postData;if(o==="application/json"&&s)try{r.body=new xo(`JSON.stringify(${qi(JSON.parse(s))})`)}catch{r.body=s}else if(o==="multipart/form-data"&&l)n=`const formData = new FormData() 234`,l.forEach(c=>{c.fileName!==void 0?n+=`formData.append('${c.name}', new Blob([]), '${c.fileName}') 235`:c.value!==void 0&&(n+=`formData.append('${c.name}', '${c.value}') 236`)}),n+=` 237`,r.body=new xo("formData");else if(o==="application/x-www-form-urlencoded"&&l){const c=Object.fromEntries(l.map(u=>[u.name,u.value]));r.body=new xo(`new URLSearchParams(${qi(c)})`)}else r.body=t.postData.text}const i=Object.keys(r).length?`, ${qi(r)}`:"";return`${n}fetch('${t.url}${a}'${i})`}},{toString:BDe}=Object.prototype;function UDe(e){return BDe.call(e)==="[object RegExp]"}function jDe(e){const t=typeof e;return e!==null&&(t==="object"||t==="function")}const{propertyIsEnumerable:QDe}=Object.prototype;function FDe(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>QDe.call(e,t))]}const zDe=["await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","new","null","return","super","switch","this","throw","true","try","typeof","var","void","while","with","yield","implements","interface","let","package","private","protected","public","static","arguments","eval"],VDe=["globalThis","Infinity","NaN","undefined"];function HDe({includeGlobalProperties:e=!1}={}){return new Set([...zDe,...e?VDe:[]])}const qDe=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u,ZDe="(?<![@#$_\\p{ID_Continue}\\p{ID_Start}])",XDe=`(?!(?:${[...HDe({includeGlobalProperties:!0})].join("|")})(?![$_\\p{ID_Continue}]))`,KE=new Map;function WDe({exact:e=!0,checkReserved:t=!0}={}){const n=`${e}${t}`;let r=KE.get(n);if(!r){const a=`${ZDe}${t?XDe:""}${qDe.source}`;r=new RegExp(e?`^${a}$`:a,"u"),KE.set(n,r)}return r}function YDe(e){const t=(...n)=>e(...n);return Object.defineProperty(t,"name",{value:`functionTimeout(${e.name||"<anonymous>"})`,configurable:!0}),t}const JE=typeof Worker<"u"?Worker:void 0;
237class GDe extends Error{constructor(t){super(t),this.name="TimeoutError"}}class KDe extends Error{constructor(t){super(),this.name="AbortError",this.message=t}}const e_=e=>globalThis.DOMException===void 0?new KDe(e):new DOMException(e),t_=e=>{const t=e.reason===void 0?e_("This operation was aborted."):e.reason;return t instanceof Error?t:e_(t)};function JDe(e,t){const{milliseconds:n,fallback:r,message:a,customTimers:i={setTimeout,clearTimeout}}=t;let o,s;const c=new Promise((u,d)=>{if(typeof n!="number"||Math.sign(n)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){const{signal:p}=t;p.aborted&&d(t_(p)),s=()=>{d(t_(p))},p.addEventListener("abort",s,{once:!0})}if(n===Number.POSITIVE_INFINITY){e.then(u,d);return}const f=new GDe;o=i.setTimeout.call(void 0,()=>{if(r){try{u(r())}catch(p){d(p)}return}typeof e.cancel=="function"&&e.cancel(),a===!1?u():a instanceof Error?d(a):(f.message=a??`Promise timed out after ${n} milliseconds`,d(f))},n),(async()=>{try{u(await e)}catch(p){d(p)}})()}).finally(()=>{c.clear(),s&&t.signal&&t.signal.removeEventListener("abort",s)});return c.clear=()=>{i.clearTimeout.call(void 0,o),o=void 0},c}const eBe=e=>{const t=e.addEventListener||e.on||e.addListener,n=e.removeEventListener||e.off||e.removeListener;if(!t||!n)throw new TypeError("Emitter is not compatible");return{addListener:t.bind(e),removeListener:n.bind(e)}};function tBe(e,t,n){let r;const a=new Promise((i,o)=>
237{if(n={rejectionEvents:["error"],multiArgs:!1,resolveImmediately:!1,...n},!(n.count>=0&&(n.count===Number.POSITIVE_INFINITY||Number.isInteger(n.count))))throw new TypeError("The `count` option should be at least 0 or more");n.signal?.throwIfAborted();const s=[t].flat(),l=[],{addListener:c,removeListener:u}=eBe(e),d=(...p)=>{const h=n.multiArgs?p:p[0];n.filter&&!n.filter(h)||(l.push(h),n.count===l.length&&(r(),i(l)))},f=p=>{r(),o(p)};r=()=>{for(const p of s)u(p,d);for(const p of n.rejectionEvents)u(p,f)};for(const p of s)c(p,d);for(const p of n.rejectionEvents)c(p,f);n.signal&&n.signal.addEventListener("abort",()=>{f(n.signal.reason)},{once:!0}),n.resolveImmediately&&i(l)});if(a.cancel=r,typeof n.timeout=="number"){const i=JDe(a,{milliseconds:n.timeout});return i.cancel=r,i}return a}function Kh(e,t,n){typeof n=="function"&&(n={filter:n}),n={...n,count:1,resolveImmediately:!1};const r=tBe(e,t,n),a=r.then(i=>i[0]);return a.cancel=r.cancel,a}const nBe=!!globalThis.process?.versions?.node,rBe=e=>new globalThis.Blob([e],{type:"text/javascript"}),aBe=e=>`data:text/javascript;base64,${globalThis.Buffer.from(e).toString("base64")}`;function Yj(e){let t,n;const r=()=>{t&&URL.revokeObjectURL(t),n?.terminate()};return nBe?n=new JE(aBe(e),{type:"module"}):(t=URL.createObjectURL(rBe(e)),n=new JE(t,{type:"module"})),{worker:n,cleanup:r}}const iBe=e=>` 238 globalThis.onmessage = async ({data: arguments_}) => { 239 try { 240 const output = await (${e.toString()})(...arguments_); 241 globalThis.postMessage({output}); 242 } catch (error) { 243 globalThis.postMessage({error}); 244 } 245 }; 246 `;function Gj(e){const t=iBe(e),n=()=>Yj(t);async function r({worker:i,arguments_:o}){const s=Kh(i,"message",{rejectionEvents:["error","messageerror"]});i.postMessage(o);const{data:{output:l,error:c}}=await s;if(c)throw c;return l}const a=async(...i)=>{const{worker:o,cleanup:s}=n();try{return await r({arguments_:i,worker:o})}finally{s()}};return a.withSignal=i=>async(...o)=>{i.throwIfAborted();const{worker:s,cleanup:l}=n(),c=Kh(i,[],{rejectionEvents:["abort"]});try{return await Promise.race([r({arguments_:o,worker:s}),c])}catch(u){throw i.throwIfAborted(),u}finally{c.cancel(),l()}},a}const oBe=e=>` 247 const nothing = Symbol('nothing'); 248 let iterator = nothing; 249 250 globalThis.onmessage = async ({data: arguments_}) => { 251 try { 252 if (iterator === nothing) { 253 iterator = await (${e.toString()})(...arguments_); 254 } 255 256 const output = await iterator.next(); 257 globalThis.postMessage({output}); 258 } catch (error) { 259 globalThis.postMessage({error}); 260 } 261 }; 262 `;function sBe(e){const t=oBe(e),n=()=>Yj(t),r=(...a)=>({async*[Symbol.asyncIterator](){const{worker:i,cleanup:o}=n();try{let s=!0;for(;;){const l=Kh(i,"message",{rejectionEvents:["error","messageerror"]});i.postMessage(s?a:void 0),s=!1;const{data:{output:c,error:u}}=await l;if(u)throw u;const{value:d,done:f}=c;if(f)break;yield d}}finally{o()}}});return r.withSignal=a=>(...i)=>({async*[Symbol.asyncIterator](){a.throwIfAborted();const{worker:o,cleanup:s}=n(),l=Kh(a,[],{rejectionEvents:["abort"]});try{let c=!0;for(;;){const u=Promise.race([Kh(o,"message",{rejectionEvents:["error","messageerror"]}),l]);o.postMessage(c?i:void 0),c=!1;const{data:{output:d,error:f}}=await u;if(f)throw f;const{value:p,done:h}=d;if(h)break;yield p}}catch(c){throw a.throwIfAborted(),c}finally{l.cancel(),s()}}}),r}const lBe={},cBe=e=>{if(e===void 0||Number.isNaN(e))return;const t=Math.max(1,Math.trunc(Math.abs(e)));if(Number.isFinite(t))return t};function uBe(e,t,{timeout:n,throwOnTimeout:r}={}){try{return YDe(()=>structuredClone(e).test(t),{timeout:cBe(n),context:lBe})()}catch(a){throw a}}Gj((e,t,n)=>new RegExp(e,t).test(n));Gj((e,t,n)=>{const a=new RegExp(e,t).exec(n);if(a!==null)return{match:a[0],index:a.index,groups:a.slice(1),namedGroups:a.groups??{},input:a.input}});sBe(function*(e,t,n){const r=new RegExp(e,t),a=n.matchAll(r);for(const i of a)yield{match:i[0],index:i.index,groups:i.slice(1),namedGroups:i.groups??{},input:i.input}});function dBe(e,{checkReserved:t=!0}={}){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\`.`);return e.length>1e5?!1:uBe(WDe({checkReserved:t}),e,{timeout:1e3})}const fBe={"\n":String.raw`\n`,"\r":String.raw`\r`," ":String.raw`\t`,"\b":String.raw`\b`,"\f":String.raw`\f`,"\v":String.raw`\v`,"\0":String.raw`\0`};function Kj(e,t,n){const r=[];return(function a(i,o={},s=""){const l=o.indent||" ";let c;o.inlineCharacterLimit===void 0?c={newline:`
263`,newlineOrSpace:` 264`,pad:s,indent:s+l}:c={newline:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newlineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const u=p=>{if(o.inlineCharacterLimit===void 0)return p;const h=p.replaceAll(c.newline,"").replaceAll(c.newlineOrSpace," ").replaceAll(c.pad,"").replaceAll(c.indent,"");return h.length<=o.inlineCharacterLimit?h:p.replaceAll(c.newline,` 265`).replaceAll(c.newlineOrSpace,` 266`).replaceAll(c.pad,s).replaceAll(c.indent,s+l)};if(r.includes(i))return'"[Circular]"';const d=typeof i;if(i==null||d==="number"||d==="boolean"||d==="function"||UDe(i))return String(i);if(d==="bigint")return String(i)+"n";if(d==="symbol"){const{description:p}=i;if(p===void 0)return"Symbol()";if(p?.startsWith("Symbol.")&&Symbol[p.slice(7)]===i)return p;const h=Symbol.keyFor(i);return h!==void 0?`Symbol.for(${a(h,o)})`:`Symbol(${a(p,o)})`}if(i instanceof Date)return Number.isNaN(i.getTime())?"new Date('Invalid Date')":`new Date('${i.toISOString()}')`;if(i instanceof Map||i instanceof Set){const p=i instanceof Map,h=p?"Map":"Set";if(i.size===0)return`new ${h}()`;r.push(i);const b=[...i].map(y=>{if(p){const[O,A]=y;return c.indent+`[${a(O,o,s+l)}, ${a(A,o,s+l)}]`}return c.indent+a(y,o,s+l)}).join(","+c.newlineOrSpace);return r.pop(),u(`new ${h}([${c.newline}${b}${c.newline}${c.pad}])`)}if(Array.isArray(i)){if(i.length===0)return"[]";r.push(i);const p=i.map((h,b)=>{let y=a(h,o,s+l);return o.transform&&(y=o.transform(i,b,y)),c.indent+y}).join(","+c.newlineOrSpace);return r.pop(),u(`[${c.newline}${p}${c.newline}${c.pad}]`)}if(jDe(i)){let p=FDe(i);if(o.filter&&(p=p.filter(b=>o.filter(i,b))),p.length===0)return"{}";r.push(i);const h=p.map(b=>{const y=typeof b=="symbol";let O;y?O=`[${a(b,o)}]`:dBe(b)?O=b:O=a(b,o);let A=a(i[b],o,s+l);return o.transform&&(A=o.transform(i,b,A)),c.indent+O+": "+A}).join(","+c.newlineOrSpace);return r.pop(),u(`{${c.newline}${h}${c.newline}${c.pad}}`)}const f=String(i).replaceAll("\\","\\\\").replaceAll(/[\u0000-\u001F\u007F]/g,p=>fBe[p]??`\\u${p.codePointAt(0).toString(16).padStart(4,"0")}`);return o.singleQuotes===!1?`"${f.replaceAll('"',String.raw`\"`)}"`:`'${f.replaceAll("'",String.raw`\'`)}'`})(e,t,n)}const tv=(e,t)=>Object.keys(e).find(n=>n.toLowerCase()===t.toLowerCase()),k6=(e,t)=>{const n=tv(e,t);if(n)return e[n]},Jj=(e,t)=>!!tv(e,t),pBe={info:{key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/",description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"},convert:({fullUrl:e,method:t,allHeaders:n,postData:r},a)=>{let i;const o={indent:" ",...a},{blank:s,push:l,join:c}=new Jl({indent:o.indent}),u={async:!0,crossDomain:!0,url:e,method:t,headers:n};switch(r?.mimeType){case"application/x-www-form-urlencoded":u.data=r?.paramsObj?r.paramsObj:r.text;break;case"application/json":u.processData=!1,u.data=r.text;break;case"multipart/form-data":if(!r?.params)break;if(l("const form = new FormData();"),r.params.forEach(f=>{l(`form.append('${f.name}', '${f.value||f.fileName||""}');`)}),u.processData=!1,u.contentType=!1,u.mimeType="multipart/form-data",u.data="[form]",Jj(n,"content-type")&&!((i=k6(n,"content-type"))===null||i===void 0)&&i.includes("boundary")){const f=tv(n,"content-type");f&&delete u.headers[f]}s();break;default:r?.text&&(u.data=r.text)}const d=Kj(u,{indent:o.indent}).replace("'[form]'","form");return l(`const settings = ${d};`),s(),l("$.ajax(settings).done(function (response) {"),l("console.log(response);",1),l("});"),c()}},hBe={target:"js",client:"jquery",title:"jQuery",generate(e){return al(pBe,e)}},mBe={target:"js",client:"ofetch",title:"ofetch",generate(e){const t={method:"GET",...e};t.method=t.method.toUpperCase();const n={method:t.method==="GET"?void 0:t.method};t.queryString?.length&&(n.query=Kl(t.queryString)),t.headers?.length&&(n.headers={},t.headers.forEach(a=>{n.headers[a.name]=a.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(a=>{n.headers["Set-Cookie"]=n.headers["Set-Cookie"]?`${n.headers["Set-Cookie"]}; ${a.name}=${a.value}`:`${a.name}=${a.value}`}
266)),Object.keys(n).forEach(a=>{n[a]===void 0&&delete n[a]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType==="application/json"&&(n.body=JSON.parse(n.body)));const r=Object.keys(n).length?`, ${qi(n)}`:"";return`import { ofetch } from 'ofetch' 267 268ofetch('${t.url}'${r})`}},gBe={info:{key:"xhr",title:"XMLHttpRequest",link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",description:"W3C Standard API that provides scripted client functionality"},convert:({postData:e,allHeaders:t,method:n,fullUrl:r},a)=>{let i;const o={indent:" ",cors:!0,...a},{blank:s,push:l,join:c}=new Jl({indent:o.indent});switch(e?.mimeType){case"application/json":l(`const data = JSON.stringify(${Kj(e?.jsonObj,{indent:o.indent})});`),s();break;case"multipart/form-data":if(!e?.params)break;if(l("const data = new FormData();"),e.params.forEach(u=>{l(`data.append('${u.name}', '${u.value||u.fileName||""}');`)}),Jj(t,"content-type")&&!((i=k6(t,"content-type"))===null||i===void 0)&&i.includes("boundary")){const u=tv(t,"content-type");u&&delete t[u]}s();break;default:l(`const data = ${e?.text?`'${e.text}'`:"null"};`),s()}return l("const xhr = new XMLHttpRequest();"),o.cors&&l("xhr.withCredentials = true;"),s(),l("xhr.addEventListener('readystatechange', function () {"),l("if (this.readyState === this.DONE) {",1),l("console.log(this.responseText);",2),l("}",1),l("});"),s(),l(`xhr.open('${n}', '${r}');`),Object.keys(t).forEach(u=>{l(`xhr.setRequestHeader('${u}', '${wDe(t[u])}');`)}),s(),l("xhr.send(data);"),c()}},bBe={target:"js",client:"xhr",title:"XHR",generate(e){return al(gBe,e)}},yBe=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\$/g,"\\$").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"),La=e=>`"${yBe(e)}"`,B2=(e,t)=>`${" ".repeat(e*4)}${t}`,Cm=(e,t,n,r)=>{if(e.length===0)return`${t}${n}`;const[a]=e;if(e.length===1&&a&&!a.includes(` 269`))return`${t}${a}${n}`;const i=e.map(o=>B2(r+1,o)).join(`, 270`);return`${t} 271${i} 272${B2(r,n)}`},n_=(e,t)=>Cm(e.map(({name:n,value:r})=>`${La(n)} => ${La(r)}`),"[","]",t),eQ=(e,t)=>Cm(e.map(({name:n,value:r})=>`${La(n)} => ${La(r)}`),"Dict(",")",t),Nw=(e,t)=>e==null?"nothing":typeof e=="boolean"?e?"true":"false":typeof e=="number"?Number.isFinite(e)?String(e):"nothing":typeof e=="string"?La(e):Array.isArray(e)?Cm(e.map(n=>Nw(n,t+1)),"[","]",t):typeof e=="object"?Cm(Object.entries(e).map(([n,r])=>`${La(n)} => ${Nw(r,t+1)}`),"Dict(",")",t):La(String(e)),vBe=["POST","PUT","PATCH","DELETE","QUERY"],r_=["GET","HEAD","OPTIONS"],_c=1,OBe=e=>{const t=La(e.name);if(e.fileName===void 0)return`${t} => ${La(e.value??"")}`;const n=La(e.fileName),r=[n,`open(${n})`];return e.contentType&&r.push(La(e.contentType)),`${t} => HTTP.Multipart(${r.join(", ")})`},SBe=e=>{if(!e)return;const{mimeType:t,text:n,params:r}=e;if(t==="application/json"&&n)try{return{value:`JSON.json(${Nw(JSON.parse(n),_c)})`,packages:["JSON"],omitContentType:!1}}catch{}if(t==="multipart/form-data"&&r?.length)return{value:Cm(r.map(OBe),"HTTP.Form([","])",_c),packages:[],omitContentType:!0};if(t==="application/x-www-form-urlencoded"&&r?.length)return{value:eQ(r.map(a=>({name:a.name,value:a.value??""})),_c),packages:[],omitContentType:!1};if(n)return{value:La(n),packages:[],omitContentType:!1}},wBe=(e,t,n,r)=>{const a=[...t,...n];if(n.length===0&&r.length===0)return[`response = ${e}(${a.join(", ")})`];const i=[`response = ${e}(`];return a.forEach((o,s)=>{const c=s===a.length-1?r.length?";":"":",";i.push(`${B2(_c,o)}${c}`)}),r.forEach((o,s)=>{i.push(`${B2(_c,o)}${s===r.length-1?"":","}`)}),i.push(")"),i},xBe={target:"julia",client:"http",title:"HTTP.jl",generate(e,t){const n={url:"https://example.com",...e},r=Bp(n.method),a=SBe(n.postData),i=new Map;for(const p of n.headers??[])!p.name||a?.omitContentType&&p.name.toLowerCase()==="content-type"||i.set(p.name,p.value??"");const o=[...vBe,...r_].includes(r)?r.toLowerCase():void 0,s=o?`HTTP.${o}`:"HTTP.request",l=La(n.url),c=o?[l]:[La(r),l],u=[],d=[];if(i.size&&u.push(n_([...i].map(([p,h])=>({name:p,value:h})),_c)),a&&(r_.includes(r)||i.size===0?d.push(`body = ${a.value}`):u.push(a.value)),n.queryString?.length&&d.push(`query = ${n_(n.queryString,_c)}`),n.cookies?.length&&d.push(`cookies = ${eQ(n.cookies,_c)}`),t?.auth?.username&&t?.auth?.password){const{username:p,password:h}=t.auth;d.push(`basicauth = (${La(p)}, ${La(h)})`)}return[...["HTTP",...a?.packages??[]].map(p=>`using ${p}`),"",...wBe(s,c,u,d),"","println(String(response.body))"].join(` 273`)}},kBe=["GET","POST","PUT","DELETE","PATCH","HEAD"],ABe=["POST","PUT","DELETE","PATCH"],ii=e=>`"${td(e)}"`,TBe={target:"kotlin",client:"okhttp",title:"OkHttp",generate(e,t){const n=Bp(e?.method),r=Ky(M0(e?.url??"",e?.queryString)),a=e?.postData,i=["val client = OkHttpClient()",""];let o=!1;a?.mimeType==="application/x-www-form-urlencoded"&&a.params?(i.push("val body = FormBody.Builder()"),a.params.forEac
273h(l=>{i.push(` .addEncoded(${ii(l.name??"")}, ${ii(l.value??"")})`)}),i.push(" .build()",""),o=!0):a?.mimeType==="multipart/form-data"&&a.params?(i.push("val body = MultipartBody.Builder()"," .setType(MultipartBody.FORM)"),a.params.forEach(l=>{l.fileName!==void 0?i.push(` .addFormDataPart(${ii(l.name??"")}, ${ii(l.fileName)}, RequestBody.create(MediaType.parse("application/octet-stream"), File(${ii(l.fileName)})))`):l.value!==void 0&&i.push(` .addFormDataPart(${ii(l.name??"")}, ${ii(l.value)})`)}),i.push(" .build()",""),o=!0):a&&(i.push(`val mediaType = MediaType.parse(${ii(a.mimeType??"")})`),i.push(`val body = RequestBody.create(mediaType, ${JSON.stringify(a.text??"")})`),o=!0),i.push("val request = Request.Builder()",` .url(${ii(r)})`);const s=o?"body":"null";return kBe.includes(n)?ABe.includes(n)?i.push(` .${n.toLowerCase()}(${s})`):i.push(` .${n.toLowerCase()}()`):i.push(` .method(${ii(n)}, ${s})`),t?.auth?.username&&t?.auth?.password&&i.push(` .addHeader("Authorization", Credentials.basic(${ii(t.auth.username)}, ${ii(t.auth.password)}))`),Jy(e?.headers,e?.cookies).forEach(l=>{i.push(` .addHeader(${ii(l.name)}, ${ii(l.value)})`)}),i.push(" .build()","","val response = client.newCall(request).execute()"),i.join(` 274`)}},EBe=Wj("node"),_Be={target:"node",client:"fetch",title:"Fetch",generate(e){const t={method:"GET",...e};let n="";t.method=t.method.toUpperCase();const r={method:t.method==="GET"?void 0:t.method},a=Gl(t.queryString);if(t.headers?.length&&(r.headers={},t.headers.forEach(o=>{r.headers[o.name]=o.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(o=>{r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${o.name}=${o.value}`:`${o.name}=${o.value}`})),Object.keys(r).forEach(o=>{r[o]===void 0&&delete r[o]}),t.postData){const{mimeType:o,text:s,params:l}=t.postData;let c=!1;if(o==="application/json"&&s)try{r.body=new xo(`JSON.stringify(${qi(JSON.parse(s))})`)}catch{r.body=s}else if(o==="multipart/form-data"&&l)n=`const formData = new FormData() 275`,l.forEach(u=>{u.fileName!==void 0?(c||(n=`import fs from 'node:fs' 276 277${n}`,c=!0),n+=`formData.append('${u.name}', new Blob([fs.readFileSync('${u.fileName}')]), '${u.fileName}') 278`):u.value!==void 0&&(n+=`formData.append('${u.name}', '${u.value}') 279`)}),n+=` 280`,r.body=new xo("formData");else if(o==="application/x-www-form-urlencoded"&&l){const u=Object.fromEntries(l.map(d=>[d.name,d.value]));r.body=new xo(`new URLSearchParams(${qi(u)})`)}else r.body=t.postData.text}const i=Object.keys(r).length?`, ${qi(r)}`:"";return`${n}fetch('${t.url}${a}'${i})`}},CBe={target:"node",client:"ofetch",title:"ofetch",generate(e){const t={method:"GET",...e};t.method=t.method.toUpperCase();const n={method:t.method==="GET"?void 0:t.method};t.queryString?.length&&(n.query=Kl(t.queryString)),t.headers?.length&&(n.headers={},t.headers.forEach(a=>{n.headers[a.name]=a.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(a=>{n.headers["Set-Cookie"]=n.headers["Set-Cookie"]?`${n.headers["Set-Cookie"]}; ${a.name}=${a.value}`:`${a.name}=${a.value}`})),Object.keys(n).forEach(a=>{n[a]===void 0&&delete n[a]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType==="application/json"&&(n.body=JSON.parse(n.body)));const r=Object.keys(n).length?`, ${qi(n)}`:"";return`import { ofetch } from 'ofetch' 281 282ofetch('${t.url}'${r})`}},$Be={target:"node",client:"undici",title:"undici",generate(e){const t={method:"GET",...e};t.method=t.method.toUpperCase();const n={method:t.method==="GET"?void 0:t.method},r=Gl(t.queryString);t.headers?.length&&(n.headers={},t.headers.forEach(i=>{n.headers[i.name]=i.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(i=>{n.headers["Set-Cookie"]=n.headers["Set-Cookie"]?`${n.headers["Set-Cookie"]}; ${i.name}=${i.value}`:`${i.name}=${i.value}`})),Object.keys(n).forEach(i=>{n[i]===void 0&&delete n[i]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType==="application/json"&&(n.body=new xo(`JSON.stringify(${qi(JSON.parse(n.body))})`)));const a=Object.keys(n).length?`, ${qi(n)}`:"";return`import { request } from 'undici' 283 284const { statusCode, body } = await request('${t.url}${r}'${a})`}},PBe="---011000010111000001101001",dc=e=>`@"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}"`,Rw=(e,t)=>{const n=t===void 0?", ":`, 285 ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":return`@[ ${e.map(a=>Rw(a)).join(n)} ]`;case"[object Object]":return`@{ ${Object.entries(e).map(([a,i])=>`@"${a}": ${Rw(i)}`).join(n)} }`;case"[object Boolean]":return e?"@YES":"@NO";default:return e==null?"[NSNull null]":dc(e.toString())}},YO=(e,t,n)=>{const r=`${e} *${t} = `;return`${r}${Rw(n,r.length)};`},IBe={target:"objc",client:"nsurlsession",title:"NSURLSession",generate(e,t){if(!e)return"";const n=Bp(e.method),r=Ky(M0(e.url??"",e.queryString)),a=Jy(e.headers,e.cookies),i=["#import <Foundation/Foundation.h>"],o=a.length>0;if(o){const l=Object.fromEntries(a.map(c=>[c.name,c.value]));i.push("",YO("NSDictionary","headers",l))}let s=!1;if(e.postData){const{mimeType:l,text:c,params:u}=e.postData;if(l==="application/json"&&c!==void 0)try{const d=JSON.parse(c);i.push("",YO("NSDictionary","parameters",d)),i.push("","NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"),s=!0}catch{i.push("",`NSData *postData = [${dc(c)} dataUsingEncoding:NSUTF8StringEncoding];`),s=!0}else if(l==="application/x-www-form-urlencoded"&&u?.length){s=!0;const[d,...f]=u;i.push("",`NSMutableData *postData = [[NSMutableData alloc] initWithData:[${dc(`${encodeURIComponent(d.name)}=${encodeURIComponent(d.value??"")}`)} dataUsingEncoding:NSUTF8StringEncoding]];`),f.forEach(p=>{i.push(`[postData appendData:[${dc(`&${encodeURIComponent(p.name)}=${encodeURIComponent(p.value??"")}`)} dataUsingEncoding:NSUTF8StringEncoding]];`)})}else l==="multipart/form-data"&&u?.length?(s=!0,i.push("",YO("NSArray","parameters",u),`NSString *boundary = @"${PBe}";`,"","NSError *error;","NSMutableString *body = [NSMutableString string];","for (NSDictionary *param in parameters) {",' [body appendFormat:@"--%@\\r\\n", boundary];',' if (param[@"fileName"]) {',' [body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',' [body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',' [body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];'," if (error) {",' NSLog(@"%@", error);'," }"," } else {",' [body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',' [body appendFormat:@"%@", param[@"value"]];'," }","}",'[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];',"NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];")):l==="application/octet-stream"?(s=!0,i.push("",`NSData *postData = [${dc(c??"")} dataUsingEncoding:NSUTF8StringEncoding];`)):c!==void 0&&(s=!0,i.push("",`NSData *postData = [${dc(c)} dataUsingEncoding:NSUTF8StringEncoding];`))}if(i.push("",`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:${dc(r)}]`," cachePolicy:NSURLRequestUseProtocolCachePolicy"," timeoutInterval:10.0];",`[request setHTTPMethod:@"${n}"];`),o&&i.push("[request setAllHTTPHeaderFields:headers];"),s&&i.push("[request setHTTPBody:postData];"),t?.auth?.username&&t?.auth?.password){const l=dc(`${t.auth.username}:${t.auth.password}`);i.push(`NSData *authData = [${l} dataUsingEncoding:NSUTF8StringEncoding];`,'NSString *authValue = [NSString stringWithFormat:@"Basic %@", [authData base64EncodedStringWithOptions:0]];','[request setValue:authValue forHTTPHeaderField:@"Authorization"];')}return i.push("","NSURLSession *session = [NSURLSession sharedSession];","NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request","completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"," if (error) {",' NSLog(@"%@", error);'," } else {"," NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",' NSLog(@"%@", httpResponse);'," }","}];","[dataTask resume];"),i.join(` 286`)}},NBe={info:{key:"cohttp",title:"CoHTTP",link:"https://github.com/mirage/ocaml-cohttp",description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml"},convert:({fullUrl:e,allHeaders:t,postData:n,method:r},a)=>{const i={indent:" ",...a},o=["get","post","head","delete","patch","put","options"],{push:s,blank:l,join:c}=new Jl({indent:i.indent});s("open Cohttp_lwt_unix"),s("open Cohttp"),s("open Lwt"),l(),s(`let uri = Uri.of_string "${e}" in`);const u=Object.keys(t);u.length===1?s(`let headers = Header.add (Header.init ()) "${u[0]}" "${td(t[u[0]])}" in`):u.length>1&&(s("let headers = Header.add_list (Header.init ()) ["),u.forEach(h=>{s(`("${h}", "${td(t[h])}");`,1)}),s("] in")),n?.text&&s(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(n.text)} in`),l();const d=u.length?"~headers ":"",f=n?.text?"~body ":"",p=o.includes(r.toLowerCase())?`\`${r.toUpperCase()}
286`:`(Code.method_of_string "${r}")`;return s(`Client.call ${d}${f}${p} uri`),s(">>= fun (res, body_stream) ->"),s("(* Do stuff with the result *)",1),c()}},RBe={target:"ocaml",client:"cohttp",title:"Cohttp",generate(e){return al(NBe,e)}};function yu(e){return" ".repeat(e*2)}class tQ{value;constructor(t){this.value=t}}function zo(e,t=0){if(e==null)return"null";if(e instanceof tQ){const n=e.value.split(` 287`);if(n.length>1){const r=yu(t+1);return n.map((a,i)=>i===0?a:`${r}${a}`).join(` 288`)}return e.value}if(typeof e=="string")return`'${e.replace(/\\/g,"\\\\").replace(/'/g,"\\'")}'`;if(typeof e=="number"||typeof e=="boolean")return String(e);if(Array.isArray(e)){if(e.length===0)return"[]";const n=e.map(r=>zo(r,t+1)).join(`, 289`+yu(t+1));return`[ 290${yu(t+1)}${n} 291${yu(t)}]`}if(typeof e=="object"){const n=Object.entries(e);if(n.length===0)return"[]";const r=n.map(([a,i])=>`'${a}' => ${zo(i,t+1)}`).join(`, 292`+yu(t+1));return`[ 293${yu(t+1)}${r} 294${yu(t)}]`}return"null"}const MBe={target:"php",client:"curl",title:"cURL",generate(e,t){const n={method:"GET",...e};n.method=n.method.toUpperCase();const r=[];let a=!1;const i=n.queryString?.length?"?"+n.queryString.map(c=>`${c.name}=${c.value}`).join("&"):"",o=`${n.url}${i}`;r.push(`$ch = curl_init("${o}");`),r.push(""),n.method==="POST"?r.push("curl_setopt($ch, CURLOPT_POST, true);"):n.method!=="GET"&&r.push(`curl_setopt($ch, CURLOPT_CUSTOMREQUEST, '${n.method}');`),t?.auth?.username&&t?.auth?.password&&r.push(`curl_setopt($ch, CURLOPT_USERPWD, '${t.auth.username}:${t.auth.password}');`);const s=[...n.headers||[]],l=()=>s.some(c=>c.name.toLowerCase()==="content-type");if(n.postData&&(n.postData.mimeType==="application/x-www-form-urlencoded"&&n.postData.params&&!l()?s.push({name:"Content-Type",value:"application/x-www-form-urlencoded"}):n.postData.mimeType==="application/octet-stream"&&!l()&&s.push({name:"Content-Type",value:"application/octet-stream"})),s.length){const c=s.map(d=>`'${d.name}: ${d.value}'`);r.push(`curl_setopt($ch, CURLOPT_HTTPHEADER, [${c.join(", ")}]);`);const u=s.find(d=>d.name.toLowerCase()==="accept-encoding");u&&/gzip|deflate/.test(u.value)&&r.push("curl_setopt($ch, CURLOPT_ENCODING, '');")}if(n.cookies?.length){const c=n.cookies.map(u=>{const d=encodeURIComponent(u.name),f=encodeURIComponent(u.value);return`${d}=${f}`}).join("; ");r.push(`curl_setopt($ch, CURLOPT_COOKIE, '${c}');`)}if(n.postData){if(n.postData.mimeType==="application/json"){if(n.postData.text)try{const c=JSON.parse(n.postData.text),u=zo(c);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${u}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}else if(n.postData.mimeType==="multipart/form-data"&&n.postData.params)a=!0,r.push("$mime = curl_mime_init($ch);"),n.postData.params.forEach((c,u)=>{const d=`$part${u}`;r.push(`${d} = curl_mime_addpart($mime);`),r.push(`curl_mime_name(${d}, '${c.name}');`),c.fileName!==void 0?r.push(`curl_mime_filedata(${d}, '${c.fileName}');`):c.value!==void 0&&r.push(`curl_mime_data(${d}, '${c.value}');`),c.contentType&&r.push(`curl_mime_type(${d}, '${c.contentType}');`)}),r.push("curl_setopt($ch, CURLOPT_MIMEPOST, $mime);");else if(n.postData.mimeType==="application/x-www-form-urlencoded"&&n.postData.params){const c=n.postData.params.map(u=>{const d=encodeURIComponent(u.name),f=u.value?encodeURIComponent(u.value):"";return`${d}=${f}`}).join("&");r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${c}');`)}else if(n.postData.mimeType==="application/octet-stream")r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text||""}');`);else if(n.postData.text)try{const c=JSON.parse(n.postData.text),u=zo(c);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${u}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}return r.push(""),r.push("curl_exec($ch);"),a&&r.push("curl_mime_free($mime);"),r.push(""),r.push("curl_close($ch);"),r.join(` 295`).replace(/\n\n\n/g,` 296 297`)}},LBe={target:"php",client:"guzzle",title:"Guzzle",generate(e,t){if(!e)return"";const n={},r=(e.method||"GET").toUpperCase(),a=e.url||"";if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){const o={};
297e.headers.forEach(s=>{o[s.name]===void 0?o[s.name]=s.value:Array.isArray(o[s.name])?o[s.name].push(s.value):o[s.name]=[o[s.name],s.value]}),n.headers=o}if(e.queryString&&e.queryString.length>0&&(n.query=Kl(e.queryString)),e.cookies&&e.cookies.length>0){const o={};e.cookies.forEach(s=>{o[s.name]=s.value}),n.cookies=o}if(t?.auth?.username&&t.auth.password&&(n.auth=[t.auth.username,t.auth.password]),e.postData)if(e.postData.mimeType==="application/json")try{n.json=JSON.parse(e.postData.text||"{}")}catch{n.body=e.postData.text}else if(e.postData.mimeType==="multipart/form-data"){if(e.postData.params)n.multipart=e.postData.params.map(o=>{const s={name:o.name,contents:o.fileName?new tQ(`fopen('${o.fileName}', 'r')`):o.value||""};return o.contentType&&(s.headers={"Content-Type":o.contentType}),s});else if(e.postData.text)try{n.form_params=JSON.parse(e.postData.text)}catch{n.body=e.postData.text}}else if(e.postData.mimeType==="application/x-www-form-urlencoded"){if(e.postData.params){const o={};e.postData.params.forEach(s=>{o[s.name]=s.value||""}),n.form_params=o}}else n.body=e.postData.text;e.headers&&Array.isArray(e.headers)&&e.headers.some(o=>o.name==="Accept-Encoding"&&o.value.includes("gzip"))&&(n.decode_content=!0);let i=`$client = new GuzzleHttp\\Client(); 298 299`;if(Object.keys(n).length>0){const o=zo(n);i+=`$response = $client->request('${r}', '${a}', ${o});`}else i+=`$response = $client->request('${r}', '${a}');`;return i}},nQ=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),ia=e=>`'${nQ(e)}'`,DBe=nQ,mc=e=>Array.isArray(e)?e.map(t=>mc(t)):e&&typeof e=="object"?Object.entries(e).reduce((t,[n,r])=>(t[DBe(n)]=mc(r),t),{}):e,BBe=e=>{if(!e)return"localhost";try{return new URL(e).hostname||"localhost"}catch{return"localhost"}},UBe={target:"php",client:"laravel",title:"Laravel HTTP Client",generate(e,t){const n={method:"GET",...e};n.method=n.method.toUpperCase();const r=Gl(n.queryString),a=`${n.url??""}${r}`,i=[];if(t?.auth?.username&&t.auth.password&&i.push(`withBasicAuth(${ia(t.auth.username)}, ${ia(t.auth.password)})`),n.headers?.length){const d={};n.headers.forEach(f=>{Us(d,f.name,f.value)}),i.push(`withHeaders(${zo(mc(d))})`)}if(n.cookies?.length){const d={};n.cookies.forEach(f=>{Us(d,f.name,f.value)}),i.push(`withCookies(${zo(mc(d))}, ${ia(BBe(n.url??""))})`)}let o;if(n.postData){if(n.postData.mimeType==="application/json"){if(n.postData.text)try{o=JSON.parse(n.postData.text)}catch{i.push(`withBody(${ia(n.postData.text)}, 'application/json')`)}}else if(n.postData.mimeType==="application/x-www-form-urlencoded"&&n.postData.params){const d={};n.postData.params.forEach(f=>{Us(d,f.name,f.value??"")}),i.push("asForm()"),o=d}else if(n.postData.mimeType==="multipart/form-data"&&n.postData.params){const d={};n.postData.params.forEach(f=>{if(f.fileName!==void 0){const p=[ia(f.name),`file_get_contents(${ia(f.fileName)})`,ia(f.fileName)];f.contentType&&p.push(zo(mc({"Content-Type":f.contentType}))),i.push(`attach(${p.join(", ")})`)}else f.contentType?i.push(`attach(${ia(f.name)}, ${ia(f.value??"")}, null, ${zo(mc({"Content-Type":f.contentType}))})`):Us(d,f.name,f.value??"")}),Object.keys(d).length>0&&(o=d)}else if(n.postData.mimeType==="application/octet-stream")i.push(`withBody(${ia(n.postData.text??"")}, 'application/octet-stream')`);else if(n.postData.text)try{o=JSON.parse(n.postData.text)}catch{i.push(`withBody(${ia(n.postData.text)}, ${ia(n.postData.mimeType||"text/plain")})`)}}const s=n.method.toLowerCase(),c=["delete","get","head","patch","post","put"].includes(s)?o!==void 0&&s!=="head"?`${s}(${ia(a)}, ${zo(mc(o),1)})`:`${s}(${ia(a)})`:o!==void 0?`send(${ia(n.method)}, ${ia(a)}, ${zo(mc(o),1)})`:`send(${ia(n.method)}, ${ia(a)})`;return`use Illuminate\\Support\\Facades\\Http; 300 301$response = ${i.length>0?[`Http::${i[0]}`,...i.slice(1).map(d=>` ->${d}`),` ->${c}`].join(` 302`):`Http::${c}`};`}},rQ=e=>({method:n,headersObj:r,cookies:a,uriObj:i,fullUrl:o,postData:s,allHeaders:l})=>{const{push:c,join:u}=new Jl;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(n.toUpperCase()))return"Method not supported";const f=[],p=Object.keys(r);return p.length&&(c("$headers=@{}"),p.forEach(h=>{h!=="connection"&&c(`$headers.Add("${h}", "${D2(r[h],{escapeChar:"`"})}")`)}
302),f.push("-Headers $headers")),a.length&&(c("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),a.forEach(h=>{c("$cookie = New-Object System.Net.Cookie"),c(`$cookie.Name = '${h.name}'`),c(`$cookie.Value = '${h.value}'`),c(`$cookie.Domain = '${i.host}'`),c("$session.Cookies.Add($cookie)")}),f.push("-WebSession $session")),s?.text&&(f.push(`-ContentType '${D2(k6(l,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),f.push(`-Body '${s.text}'`)),c(`$response = ${e} -Uri '${o}' -Method ${n} ${f.join(" ")}`),u()},jBe={info:{key:"restmethod",title:"Invoke-RestMethod",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",description:"Powershell Invoke-RestMethod client"},convert:rQ("Invoke-RestMethod")},QBe={target:"powershell",client:"restmethod",title:"Invoke-RestMethod",generate(e){return al(jBe,e)}},FBe={info:{key:"webrequest",title:"Invoke-WebRequest",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",description:"Powershell Invoke-WebRequest client"},convert:rQ("Invoke-WebRequest")},zBe={target:"powershell",client:"webrequest",title:"Invoke-WebRequest",generate(e){return al(FBe,e)}},Mw=40;function Lw(e){const t=[["true","True"],["false","False"],["null","None"]];let n=e;for(const[r,a]of t){const i=[`(: )${r}(?=,|\\n)`,`^( +)${r}(?=,|\\n)`];for(const o of i)n=n.replace(new RegExp(o,"gm"),`$1${a}`)}return n}function Ho(e,t=4){return Lw(JSON.stringify(e,null,2).split(` 303`).map((n,r)=>r===0?n:" ".repeat(t)+n).join(` 304`))}function A6(e,t,n){const r={url:"https://example.com",method:"get",...t},a=r.method.toLowerCase(),i={};if(r.headers?.length&&(i.headers=r.headers.reduce((l,c)=>(c.name in l||(l[c.name]=c.value),l),{})),r.queryString?.length&&(i.params=Kl(r.queryString)),r.cookies?.length&&(i.cookies=Object.fromEntries(r.cookies.map(l=>[l.name,l.value]))),n?.auth?.username&&n?.auth?.password&&(i.auth=[n.auth.username,n.auth.password]),r.postData){const{mimeType:l,text:c,params:u}=r.postData;if(l==="application/json"&&c)try{i.json=JSON.parse(c)}catch{i.data=c}else if(l==="application/octet-stream"&&c)i.data=c;else if(l==="multipart/form-data"&&u){const d=[],f={};u.forEach(p=>{if(p.fileName!==void 0){const h=JSON.stringify(p.name),b=JSON.stringify(p.fileName),y=`open(${b}, "rb")`;if(p.contentType){const O=JSON.stringify(p.contentType);d.push(`(${h}, (${b}, ${y}, ${O}))`)}else d.push(`(${h}, ${y})`)}else if(p.value!==void 0)if(p.contentType){const h=JSON.stringify(p.name),b=JSON.stringify(p.value),y=JSON.stringify(p.contentType);d.push(`(${h}, (None, ${b}, ${y}))`)}else Us(f,p.name,p.value)}),d.length&&(i.files=d),Object.keys(f).length&&(i.data=f)}else if(l==="application/x-www-form-urlencoded"&&u){const d={};u.forEach(f=>{Us(d,f.name,f.value??"")}),i.data=d}}const o=[],s=`"${r.url}"`;r.url.length>Mw?o.push(s):o.push("");for(const[l,c]of Object.entries(i))if(l==="auth")o.push(`${l}=(${Lw(JSON.stringify(c[0]))}, ${Lw(JSON.stringify(c[1]))})`);else if(l==="files"){const d=`[ 305`+c.map(f=>` ${f}`).join(`, 306`)+` 307 ]`;o.push(`${l}=${d}`)}else if(l==="json"){const u=Ho(c);o.push(`${l}=${u}`)}else if(l==="data"&&r.postData?.mimeType==="application/octet-stream")o.push(`${l}=b"${c}"`);else{const u=Ho(c);o.push(`${l}=${u}`)}return r.url.length>Mw?`${e}.${a}( 308 ${o.join(`, 309 `)} 310)`:o.length<=1?`${e}.${a}(${s})`:`${e}.${a}(${s}${o.length>1?",":""} 311 ${o.slice(1).join(`, 312 `)} 313)`}const VBe=(e,t=" ")=>e.split(` 314`).map(n=>n.trim()===""?n:`${t}${n}`).join(` 315`),HBe=(e,t,n,r)=>{const a=JSON.stringify(n);return n.length>Mw?`${e}.${t}( 316 ${[a,...r].join(`, 317 `)} 318)`:r.length===0?`${e}.${t}(${a})`:`${e}.${t}(${a}, 319 ${r.join(`, 320 `)} 321)`},qBe={target:"python",client:"aiohttp",title:"aiohttp",generate(e,t){const n={url:"https://example.com",method:"get",...e},r=n.method?.toLowerCase()??"get",a=[],i=[],o=[];if(n.headers?.length){const u=n.headers.reduce((d,f)=>(f.name in d||(d[f.name]=f.value),d),{});a.push(`headers=${Ho(u)}`)}if(n.queryString?.length&&a.push(`params=${Ho(Kl(n.queryString))}`),n.cookies?.length){const u=Object.fromEntries(n.cookies.map(d=>[d.name,d.value]));i.push(`cookies=${Ho(u)}`)}if(t?.auth?.username&&t?.auth?.password&&i.push(`auth=aiohttp.BasicAuth(${JSON.stringify(t.auth.username)}, ${JSON.stringify(t.auth.password)})`),n.postData){const{mimeType:u,text:d,params:f}=n.postData;if(u==="application/json"&&d)try{a.push(`json=${Ho(JSON.parse(d))}`)}catch{a.push(`data=${JSON.stringify(d)}`)}else if(u==="application/octet-stream"&&d)a.push(`data=b"${d}"`);else if(u==="multipart/form-data"&&f)o.push("data = aiohttp.FormData()"),f.forEach(p=>{if(p.fileName!==void 0){const h=[JSON.stringify(p.name),`open(${JSON.stringify(p.fileName)}, "rb")`,`filename=${JSON.stringify(p.fileName)}`];p.contentType&&h.push(`content_type=${JSON.stringify(p.contentType)}`),o.push(`data.add_field(${h.join(", ")})`);return}
321if(p.contentType){o.push(`data.add_field(${JSON.stringify(p.name)}, ${JSON.stringify(p.value??"")}, content_type=${JSON.stringify(p.contentType)})`);return}o.push(`data.add_field(${JSON.stringify(p.name)}, ${JSON.stringify(p.value??"")})`)}),a.push("data=data");else if(u==="application/x-www-form-urlencoded"&&f){const p={};f.forEach(h=>{Us(p,h.name,h.value??"")}),a.push(`data=${Ho(p)}`)}else d&&a.push(`data=${JSON.stringify(d)}`)}const s=i.length===0?"async with aiohttp.ClientSession() as session:":`async with aiohttp.ClientSession( 322 ${i.join(`, 323 `)} 324) as session:`,l=HBe("await session",r,n.url??"",a),c=[...o,l];return`${s} 325${VBe(c.join(` 326`))}`}},ZBe={target:"python",client:"httpx_async",title:"HTTPX (Async)",generate(e,t){let n=A6("await client",e,t);return n=n.split(` 327`).map(r=>r.trim()===""?r:" "+r).join(` 328`),`async with httpx.AsyncClient() as client: 329${n}`}},XBe={target:"python",client:"httpx_sync",title:"HTTPX (Sync)",generate(e,t){return A6("httpx",e,t)}},WBe=e=>{if(typeof globalThis.btoa=="function")return globalThis.btoa(e);if(typeof Buffer<"u")return Buffer.from(e,"utf-8").toString("base64");throw new Error("Could not encode basic auth credentials")},YBe=e=>{if(!e)return new URL("https://example.com");try{return new URL(e)}catch{return new URL(e,"https://example.com")}},GBe=(e,t=[])=>{if(!t.length)return e.search;const n=Gl(t);return e.search?`${e.search}&${n.slice(1)}`:n},KBe=e=>`b"${JSON.stringify(e).slice(1,-1)}"`,JBe=(e,t,n)=>{const r=e.postData;if(!r)return{payloadLines:[]};const{mimeType:a,text:i,params:o}=r;if(a==="application/json"&&i)try{const s=JSON.parse(i);return n.add("import json"),{payloadLines:[`payload = json.dumps(${Ho(s,0)})`],payloadVariable:"payload"}}catch{return{payloadLines:[`payload = ${JSON.stringify(i)}`],payloadVariable:"payload"}}if(a==="application/octet-stream"&&i)return{payloadLines:[`payload = ${KBe(i)}`],payloadVariable:"payload"};if(a==="application/x-www-form-urlencoded"&&o){n.add("import urllib.parse");const s={};return o.forEach(l=>{Us(s,l.name,l.value??"")}),t["Content-Type"]||(t["Content-Type"]="application/x-www-form-urlencoded"),{payloadLines:[`payload = urllib.parse.urlencode(${Ho(s,0)}, doseq=True)`],payloadVariable:"payload"}}if(a==="multipart/form-data"&&o){const s=['boundary = "----ScalarSnippetzBoundary"',"data_list = []"];return o.forEach(l=>{s.push('data_list.append("--" + boundary)'),l.fileName!==void 0?s.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${l.name}"; filename="${l.fileName}"`)})`):s.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${l.name}"`)})`),l.contentType&&s.push(`data_list.append(${JSON.stringify(`Content-Type: ${l.contentType}`)})`),s.push('data_list.append("")'),l.fileName!==void 0?s.push(`data_list.append(open(${JSON.stringify(l.fileName)}, "rb").read().decode("latin-1"))`):s.push(`data_list.append(${JSON.stringify(l.value??"")})`)}),s.push('data_list.append("--" + boundary + "--")'),s.push('data_list.append("")'),s.push('payload = "\\r\\n".join(data_list)'),t["Content-Type"]="multipart/form-data; boundary=----ScalarSnippetzBoundary",{payloadLines:s,payloadVariable:"payload"}}if(i)try{const s=JSON.parse(i);return n.add("import json"),{payloadLines:[`payload = json.dumps(${Ho(s,0)})`],payloadVariable:"payload"}}catch{return{payloadLines:[`payload = ${JSON.stringify(i)}`],payloadVariable:"payload"}}return{payloadLines:[]}},eUe={target:"python",client:"python3",title:"http.client",generate(e,t){const n=qj({url:"https://example.com",...e}),r=n.url??"https://example.com",a=YBe(r),i=GBe(a,n.queryString),o=`${a.pathname||"/"}${i}`,l=n.headers?.reduce((b,y)=>(y.name in b||(b[y.name]=y.value),b),{})??{};if(n.cookies?.length){const b=n.cookies.map(y=>`${encodeURIComponent(y.name)}=${encodeURIComponent(y.value)}`).join("; ");l.Cookie?l.Cookie=`${l.Cookie}; ${b}`:l.Cookie=b}if(t?.auth?.username&&t.auth.password){const b=WBe(`${t.auth.username}:${t.auth.password}`);l.Authorization=`Basic ${b}`}const c=new Set(["import http.client"]),u=[],d=JBe(n,l,c);u.push(...d.payloadLines),Object.keys(l).length&&u.push(`headers = ${Ho(l,0)}`);const f=[JSON.stringify(n.method),JSON.stringify(o)];
329d.payloadVariable&&f.push(`body=${d.payloadVariable}`),Object.keys(l).length&&f.push("headers=headers");const p=f.length<=2?`conn.request(${f.join(", ")})`:`conn.request( 330 ${f.join(`, 331 `)}, 332)`;return[...c,"",`conn = http.client.${a.protocol==="https:"?"HTTPSConnection":"HTTPConnection"}(${JSON.stringify(a.host)})`,...u.length?["",...u]:[],"",p,"","response = conn.getresponse()","print(response.read().decode())","","conn.close()"].join(` 333`)}},tUe={target:"python",client:"requests",title:"Requests",generate(e,t){return A6("requests",e,t)}},nUe=(e,t)=>{try{const n=JSON.parse(e);return Dw(n,t)}catch{return`"${e}"`}},Dw=(e,t)=>{if(e==null)return"NULL";if(typeof e=="boolean")return e?"TRUE":"FALSE";if(typeof e=="number")return String(e);if(typeof e=="string")return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`;if(Array.isArray(e))return e.length===0?"list()":`list( 334${e.map(r=>`${t} ${Dw(r,t+" ")}`).join(`, 335`)} 336${t})`;if(typeof e=="object"){const n=Object.entries(e);return n.length===0?"list()":`list( 337${n.map(([a,i])=>`${t} ${a} = ${Dw(i,t+" ")}`).join(`, 338`)} 339${t})`}return String(e)},rUe={target:"r",client:"httr2",title:"httr2",generate(e,t){const n={url:"https://example.com",method:"GET",...e},r=n.method.toUpperCase(),a=["library(httr2)",""];a.push(`response <- request("${n.url}") |>`);const i=[];r!=="GET"&&i.push(` req_method("${r}")`);const o={};if(n.headers?.length)for(const s of n.headers)o[s.name]=s.value;if(n.cookies?.length){const s=n.cookies.map(l=>`${l.name}=${l.value}`).join("; ");o.Cookie=s}if(t?.auth?.username&&t?.auth?.password&&i.push(` req_auth_basic("${t.auth.username}", "${t.auth.password}")`),Object.keys(o).length){const s=Object.entries(o);if(s.length===1){const[l,c]=s[0];i.push(` req_headers("${l}" = "${c}")`)}else{const l=s.map(([c,u])=>` "${c}" = "${u}"`).join(`, 340`);i.push(` req_headers( 341${l} 342 )`)}}if(n.queryString?.length){const s=Kl(n.queryString),l=Object.entries(s);if(l.length===1){const[c,u]=l[0];if(Array.isArray(u)){const d=u.map(f=>`"${f}"`).join(", ");i.push(` req_url_query("${c}" = c(${d}))`)}else i.push(` req_url_query("${c}" = "${u}")`)}else{const c=l.map(([u,d])=>{if(Array.isArray(d)){const f=d.map(p=>`"${p}"`).join(", ");return` "${u}" = c(${f})`}return` "${u}" = "${d}"`}).join(`, 343`);i.push(` req_url_query( 344${c} 345 )`)}}if(n.postData){const{mimeType:s,text:l,params:c}=n.postData;if(s==="application/json"&&l){const u=nUe(l," ");i.push(` req_body_json(${u})`)}else if(s==="multipart/form-data"&&c){const u=c.map(d=>d.fileName!==void 0?` ${d.name} = curl::form_file("${d.fileName}")`:` ${d.name} = "${d.value??""}"`).join(`, 346`);i.push(` req_body_multipart( 347${u} 348 )`)}else if(s==="application/x-www-form-urlencoded"&&c){const u=c.map(d=>` "${d.name}" = "${d.value??""}"`).join(`, 349`);i.push(` req_body_form( 350${u} 351 )`)}else l&&i.push(` req_body_raw("${l}", type = "${s??"application/octet-stream"}")`)}return i.push(" req_perform()"),a[a.length-1]=`response <- request("${n.url}") |>`,a.push(i.join(` |> 352`)),a.push(""),a.push("resp_body_string(response)"),a.join(` 353`)}},R1=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),ul=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),M1=e=>encodeURIComponent(e).replace(/'/g,"%27"),aUe=new Set(["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"]),aQ=e=>e.charAt(0)+e.slice(1).toLowerCase(),iUe=(e,t,n)=>{if(aUe.has(t))return;const r=aQ(t);e.push(`class Net::HTTP::${r} < Net::HTTPRequest`),e.push(` METHOD = '${t}'`),e.push(` REQUEST_HAS_BODY = '${n?"true":"false"}'`),e.push(" RESPONSE_HAS_BODY = true"),e.push("end"),e.push("")},oUe=e=>{try{const t=new URL(e),n=t.pathname.split("/").map(r=>encodeURIComponent(decodeURIComponent(r)).replace(/%5B/g,"[").replace(/%5D/g,"]").replace(/%24/g,"$")).join("/");return t.pathname==="/"?`${t.origin}${t.search}${t.hash}`:`${t.origin}${n}${t.search}${t.hash}`}catch{return e}},sUe={target:"ruby",client:"native",title:"net::http",generate(e,t){const n={method:"GET",...e};n.method=n.method.toUpperCase();const r=Gl(n.queryString),a=`${n.url??""}${r}
353`,i=oUe(a),o=["require 'uri'","require 'net/http'",""];iUe(o,n.method,!!n.postData?.text),o.push(`url = URI("${R1(i)}")`,""),o.push("http = Net::HTTP.new(url.host, url.port)"),i.startsWith("https://")&&o.push("http.use_ssl = true"),o.push("");const s=aQ(n.method);if(o.push(`request = Net::HTTP::${s}.new(url)`),t?.auth?.username&&t?.auth?.password){const l=R1(t.auth.username),c=R1(t.auth.password);o.push(`request.basic_auth("${l}", "${c}")`)}if(n.headers?.length&&n.headers.forEach(l=>{o.push(`request["${R1(l.name)}"] = '${ul(l.value)}'`)}),n.cookies?.length){const l=n.cookies.map(c=>`${M1(c.name)}=${M1(c.value)}`).join("; ");o.push(`request["Cookie"] = '${ul(l)}'`)}if(n.postData){const{mimeType:l,text:c,params:u}=n.postData;if(l==="application/json"&&c!==void 0)try{const d=JSON.parse(c),f=JSON.stringify(d,null,2);o.push("request.body = <<~JSON"),o.push(f),o.push("JSON")}catch{o.push(`request.body = ${JSON.stringify(c)}`)}else if(l==="application/x-www-form-urlencoded"&&u){const d=u.map(f=>`${M1(f.name)}=${M1(f.value??"")}`).join("&");o.push(`request.body = '${ul(d)}'`)}else l==="multipart/form-data"&&u?(o.push("form_data = []"),u.forEach(d=>{const f=ul(d.name);if(d.fileName!==void 0){const p=ul(d.fileName);if(d.contentType){const h=ul(d.contentType);o.push(`form_data << ['${f}', File.open('${p}'), { filename: '${p}', content_type: '${h}' }]`)}else o.push(`form_data << ['${f}', File.open('${p}')]`)}else if(d.contentType){const p=ul(d.value??""),h=ul(d.contentType);o.push(`form_data << ['${f}', '${p}', { content_type: '${h}' }]`)}else{const p=ul(d.value??"");o.push(`form_data << ['${f}', '${p}']`)}}),o.push("request.set_form(form_data, 'multipart/form-data')")):l==="application/octet-stream"?o.push(`request.body = ${JSON.stringify(c??"")}`):c!==void 0&&o.push(`request.body = ${JSON.stringify(c)}`)}return o.push("","response = http.request(request)","puts response.read_body"),o.join(` 354`)}};function lUe(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\0/g,"\\0")}function ca(e){return`"${lUe(e)}"`}function la(e,t){return`${" ".repeat(e*4)}${t}`}function Jh(e,...t){return la(1,`.${e}(${t.join(", ")})`)}function cUe(e){try{const t=JSON.parse(e),r=JSON.stringify(t,null,4).split(` 355`);return r.map((i,o)=>o===0?i:(o===r.length-1,la(1,i))).join(` 356`)}catch{return e}}const uUe={target:"rust",client:"reqwest",title:"reqwest",generate(e,t){if(!e)return"";const n=qj(e),r=Gl(n.queryString),a=jLe(n.url||"",r),i=QLe(n),o=[],s=fUe(t?.auth);s&&o.push(s),o.push(...pUe(i));const l=hUe(n.postData);return l&&o.push(l),mUe(a,n.method,o)}},dUe=e=>{if(e.fileName){const t=[la(2,`let part = reqwest::multipart::Part::text(${ca(e.value||"")})`),la(3,`.file_name(${ca(e.fileName)})`)];return e.contentType?(t.push(la(3,`.mime_str(${ca(e.contentType)})`)),t.push(la(3,".unwrap();"))):t[t.length-1]+=";",t.push(la(2,`form = form.part(${ca(e.name)}, part);`)),t.join(` 357`)}return e.contentType?[la(2,`let part = reqwest::multipart::Part::text(${ca(e.value||"")})`),la(3,`.mime_str(${ca(e.contentType)})`),la(3,".unwrap();"),la(2,`form = form.part(${ca(e.name)}, part);`)].join(` 358`):la(2,`form = form.text(${ca(e.name)}, ${ca(e.value||"")});`)},fUe=e=>!e?.username||!e?.password?null:Jh("basic_auth",ca(e.username),ca(e.password)),pUe=e=>Object.entries(e).map(([t,n])=>Jh("header",ca(t),ca(n))),hUe=e=>{if(!e)return null;const{mimeType:t,text:n,params:r}=e;switch(t){case"application/json":{const a=cUe(n);return Jh("json",`&serde_json::json!(${a})`)}case"application/x-www-form-urlencoded":{const a=r?.map(i=>`(${ca(i.name)}, ${ca(i.value||"")})`).join(", ")||"";return Jh("form",`&[${a}]`)}case"multipart/form-data":{const a=r?.map(dUe).join(` 359`)||"",i=[".multipart({",la(2,"let mut form = reqwest::multipart::Form::new();"),a,la(3,"form"),la(2,"})")].join(` 360`);return la(1,i)}default:return Jh("body",ca(n||""))}},mUe=(e,t,n)=>{const r=["let client = reqwest::Client::new();",""];n.length>0?(r.push("let request = client"),r.push(la(1,`.${t.toLowerCase()}(${ca(e)})`)),r.push(...n)):r.push(`let request = client.${t.toLowerCase()}(${ca(e)})`);const a=r[r.length-1];return r[r.length-1]=a+";
360",r.push(""),r.push("let response = request.send().await?;"),r.join(` 361`)},Jn=e=>e.replace(/'/g,"'\\''"),a_=e=>{if(!e)return!1;const{subtype:t}=ev(e);return t==="json"||t.endsWith("+json")},gUe={target:"shell",client:"curl",title:"Curl",generate(e,t){const n={method:"GET",...e};n.method=n.method.toUpperCase();const r=["curl"],a=n.url??"",i=a.includes("?")?"&":"?",o=n.queryString?.length?i+n.queryString.map(u=>`${u.name}=${u.value}`).join("&"):"",s=`${a}${o}`,c=/^[A-Za-z0-9._~:/%@+,=-]*$/.test(s)?s:`'${Jn(s)}'`;if(r[0]=`curl ${c}`,n.method!=="GET"&&r.push(`--request ${n.method}`),t?.auth?.username&&t?.auth?.password){const u=Jn(`${t.auth.username}:${t.auth.password}`);r.push(`--user '${u}'`)}if(n.headers?.length){n.headers.forEach(d=>{const f=Jn(`${d.name}: ${d.value}`);r.push(`--header '${f}'`)});const u=n.headers.find(d=>d.name.toLowerCase()==="accept-encoding");u&&/gzip|deflate/.test(u.value)&&r.push("--compressed")}if(n.cookies?.length){const u=n.cookies.map(f=>{const p=encodeURIComponent(f.name),h=encodeURIComponent(f.value);return`${p}=${h}`}).join("; "),d=Jn(u);r.push(`--cookie '${d}'`)}if(n.postData)if(a_(n.postData.mimeType)){if(n.postData.text)try{const u=JSON.parse(n.postData.text),d=JSON.stringify(u,null,2),f=Jn(d);r.push(`--data '${f}'`)}catch{const u=Jn(n.postData.text??"");r.push(`--data '${u}'`)}}else if(n.postData.mimeType==="application/octet-stream"){const u=Jn(n.postData.text??"");r.push(`--data-binary '${u}'`)}else if(n.postData.mimeType==="application/x-www-form-urlencoded"&&n.postData.params)n.postData.params.forEach(u=>{const d=Jn(u.value??""),f=encodeURIComponent(u.name),p=Jn(f);r.push(`--data-urlencode '${p}=${d}'`)});else if(n.postData.mimeType==="multipart/form-data"&&n.postData.params)n.postData.params.forEach(u=>{const d=Jn(u.name),f=u.contentType?`;type=${u.contentType}`:"";if(u.fileName!==void 0){const p=Jn(`${u.fileName}${f}`);r.push(`--form '${d}=@${p}'`)}else{const p=u.value??"",h=a_(u.contentType);let b=p;if(h&&p)try{b=JSON.stringify(JSON.parse(p),null,2)}catch{}const y=Jn(`${b}${f}`);r.push(`--form '${d}=${y}'`)}});else try{const u=JSON.parse(n.postData.text??""),d=JSON.stringify(u,null,2),f=Jn(d);r.push(`--data '${f}'`)}catch{const u=Jn(n.postData.text??"");r.push(`--data '${u}'`)}return r.join(` \\ 362 `)}},sc=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,bUe={info:{key:"httpie",title:"HTTPie",link:"http://httpie.org/",description:"a CLI, cURL-like tool for humans"},convert:({allHeaders:e,postData:t,queryObj:n,fullUrl:r,method:a,url:i},o)=>{const s={body:!1,cert:!1,headers:!1,indent:" ",pretty:!1,print:!1,queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...o},{push:l,join:c,unshift:u}=new Jl({indent:s.indent,join:s.indent!==!1?` \\ 363${s.indent}`:" "});let d=!1;const f=[];s.headers&&f.push(s.short?"-h":"--headers"),s.body&&f.push(s.short?"-b":"--body"),s.verbose&&f.push(s.short?"-v":"--verbose"),s.print&&f.push(`${s.short?"-p":"--print"}=${s.print}`),s.verify&&f.push(`--verify=${s.verify}`),s.cert&&f.push(`--cert=${s.cert}`),s.pretty&&f.push(`--pretty=${s.pretty}`),s.style&&f.push(`--style=${s.style}`),s.timeout&&f.push(`--timeout=${s.timeout}`),s.queryParams&&Object.keys(n).forEach(h=>{const b=n[h];Array.isArray(b)?b.forEach(y=>{l(`${h}==${sc(y)}`)}):l(`${h}==${sc(b)}`)}),Object.keys(e).sort().forEach(h=>{l(`${h}:${sc(e[h])}`)}),t?.mimeType==="application/x-www-form-urlencoded"?t.params?.length&&(f.push(s.short?"-f":"--form"),t.params.forEach(h=>{l(`${h.name}=${sc(h.value)}`)})):t?.mimeType==="multipart/form-data"?t?.params?.length&&(f.push("--multipart"),t.params.forEach(h=>{h.fileName?l(`${h.name}@${sc(h.fileName)}`):l(`${h.name}='${sc(h.value)}'`)})):d=!0;const p=f.length?`${f.join(" ")} `:"";if(i=sc(s.queryParams?i:r),u(`http ${p}${a} ${i}`),d&&t?.text){const h=sc(t.text);u(`echo ${h} | `)}return c()}},yUe={target:"shell",client:"httpie",title:"HTTPie",generate(e){return al(bUe,e)}},i_=e=>{if(!e)return!1;const{subtype:t}=ev(e);return t==="json"||t.endsWith("+json")},GO=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},vUe={target:"shell",client:"wget",title:"Wget",generate(e,t){const n={...e,method:(e?.method??"GET").toUpperCase()},r=n.url??"",a=r.includes("?")?"&":"?",i=n.queryString?.length?a+n.queryString.map(u=>`${u.name}=${u.value}`).join("&"):"",o=`${r}${i}`,l=/^[A-Za-z0-9._~:/%@+,=-]*$/.test(o)?o:`'${Jn(o)}'`,c=["wget --quiet",`--method ${n.method}`];if(t?.auth?.username&&t?.auth?.password&&(c.push(`--user '${Jn(t.auth.username)}'`),c.push(`--password '${Jn(t.auth.password)}
363'`)),n.headers?.length&&n.headers.forEach(u=>{const d=Jn(`${u.name}: ${u.value}`);c.push(`--header '${d}'`)}),n.cookies?.length){const u=n.cookies.map(d=>`${encodeURIComponent(d.name)}=${encodeURIComponent(d.value)}`).join("; ");c.push(`--header 'Cookie: ${Jn(u)}'`)}if(n.postData){const{mimeType:u,text:d,params:f}=n.postData;if(i_(u))d&&c.push(`--body-data '${Jn(GO(d))}'`);else if(u==="application/octet-stream")c.push(`--body-data '${Jn(d??"")}'`);else if(u==="application/x-www-form-urlencoded"&&f){const p=f.map(h=>`${encodeURIComponent(h.name)}=${encodeURIComponent(h.value??"")}`).join("&");c.push(`--body-data '${Jn(p)}'`)}else u==="multipart/form-data"&&f?f.forEach(p=>{if(p.fileName!==void 0)c.push(`--body-file='${Jn(p.fileName)}'`);else{const h=p.value??"",b=i_(p.contentType)&&h?GO(h):h;c.push(`--body-data '${Jn(`${p.name}=${b}`)}'`)}}):d&&c.push(`--body-data '${Jn(GO(d))}'`)}return c.push("--output-document",`- ${l}`),c.join(` \\ 364 `)}},li=e=>JSON.stringify(e),OUe=e=>{let t=1;for(;e.includes(`"""${"#".repeat(t)}`);)t+=1;return"#".repeat(t)},SUe=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},o_=e=>encodeURIComponent(e),KO=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),wUe=e=>{const t=["let boundary = UUID().uuidString","var body = Data()","","func appendToBody(_ value: String) {"," body.append(value.data(using: .utf8)!)","}",""];return e.forEach(n=>{const r=KO(n.name),a=KO(n.fileName??""),i=n.contentType?KO(n.contentType):void 0;t.push('appendToBody("--\\(boundary)\\r\\n")'),n.fileName!==void 0?(t.push(`appendToBody(${li(`Content-Disposition: form-data; name="${r}"; filename="${a}"\r 365`)})`),i&&t.push(`appendToBody(${li(`Content-Type: ${i}\r 366`)})`),t.push('appendToBody("\\r\\n")'),t.push(`appendToBody(${li(`<# File data for ${n.fileName||"file"} #>\r 367`)})`)):(t.push(`appendToBody(${li(`Content-Disposition: form-data; name="${r}"\r 368`)})`),i&&t.push(`appendToBody(${li(`Content-Type: ${i}\r 369`)})`),t.push('appendToBody("\\r\\n")'),t.push(`appendToBody(${li(n.value??"")})`),t.push('appendToBody("\\r\\n")')),t.push("")}),t.push('appendToBody("--\\(boundary)--\\r\\n")'),t},xUe={target:"swift",client:"nsurlsession",title:"NSURLSession",generate(e,t){if(!e)return"";const n=Bp(e.method),r=Ky(M0(e.url??"",e.queryString)),a=Jy(e.headers,e.cookies),i=["import Foundation","",`var request = URLRequest(url: URL(string: ${li(r)})!)`];if(i.push(`request.httpMethod = ${li(n)}`),a.forEach(o=>{i.push(`request.setValue(${li(o.value)}, forHTTPHeaderField: ${li(o.name)})`)}),t?.auth?.username&&t?.auth?.password&&(i.push(`let credentials = ${li(`${t.auth.username}:${t.auth.password}`)}`),i.push("let encodedCredentials = Data(credentials.utf8).base64EncodedString()"),i.push('request.setValue("Basic \\(encodedCredentials)", forHTTPHeaderField: "Authorization")')),e.postData){const{mimeType:o,text:s,params:l}=e.postData;if(o==="application/json"&&s!==void 0){const c=SUe(s),u=OUe(c);i.push(`let jsonBody = ${u}"""`),i.push(c),i.push(`"""${u}`),i.push("request.httpBody = jsonBody.data(using: .utf8)")}else if(o==="application/x-www-form-urlencoded"&&l?.length){const c=l.map(u=>`${o_(u.name)}=${o_(u.value??"")}`).join("&");i.push(`let formBody = ${li(c)}`),i.push("request.httpBody = formBody.data(using: .utf8)")}else o==="multipart/form-data"&&l?.length?(i.push(...wUe(l)),i.push('request.setValue("multipart/form-data; boundary=\\(boundary)", forHTTPHeaderField: "Content-Type")'),i.push("request.httpBody = body")):o==="application/octet-stream"?(i.push(`let binaryBody = Data(${li(s??"")}.utf8)`),i.push("request.httpBody = binaryBody")):s!==void 0&&(i.push(`let rawBody = ${li(s)}`),i.push("request.httpBody = rawBody.data(using: .utf8)"))}return i.push(""),i.push("let (data, response) = try await URLSession.shared.data(for: request)"),i.push(""),i.push("guard let httpResponse = response as? HTTPURLResponse,"),i.push(" 200..<300 ~= httpResponse.statusCode else {"),i.push(" throw URLError(.badServerResponse)"),i.push("}"),i.push(""),i.push('print(String(data: data, encoding: .utf8) ?? "")'),i.join(` 370`)}},JO=[{key:"c",title:"C",default:"libcurl",clients:[ULe]},{key:"csharp",title:"C#",default:"restsharp",clients:[HLe,tDe]},{key:"clojure",title:"Clojure",default:"clj_http",clients:[VLe]},{key:"dart",title:"Dart",default:"http",clients:[nDe]},{key:"fsharp",title:"F#",default:"httpclient",clients:[rDe]},{key:"go",title:"Go",default:"native",clients:[ODe]},{key:"http",title:"HTTP",default:"http1.1",clients:[SDe]},{key:"java",title:"Java",default:"unirest",clients:[kDe,TDe,_De,$De]},{key:"js",title:"JavaScript",default:"fetch",clients:[DDe,LDe,mBe,hBe,bBe]},{key:"julia",title:"Julia",default:"http",clients:[xBe]},{key:"kotlin",title:"Kotlin",default:"okhttp",clients:[TBe]},{key:"node",title:"Node.js",default:"fetch",clients:[_Be,EBe,CBe,$Be]},{key:"objc",title:"Objective-C",default:"nsurlsession",clients:[IBe]},{key:"ocaml",title:"OCaml",default:"cohttp",clients:[RBe]},{key:"php",title:"PHP",default:"curl",clients:[MBe,LBe,UBe]},{key:"powershell",title:"PowerShell",default:"webrequest",clients:[zBe,QBe]},{key:"python",title:"Python",default:"python3",clients:[eUe,tUe,qBe,XBe,ZBe]},{key:"r",title:"R",default:"httr2",clients:[rUe]},{key:"ruby",title:"Ruby",default:"native",clients:[sUe]},{key:"rust",title:"Rust",default:"reqwest",clients:[uUe]},{key:"shell",title:"Shell",default:"curl",clients:[gUe,vUe,yUe]},{key:"swift",title:"Swift",default:"nsurlsession",clients:[xUe]}];function Bw(){function e(t,n){return JO.find(({key:r})=>r===t)?.clients.find(r=>r.client===n)}return{print(t,n,r){return e(t,n)?.generate(r)},clients(){return JO},plugins(){return JO.flatMap(({key:t,clients:n})=>n.map(r=>({target:t,client:r.client})))},findPlugin:e,hasPlugin(t,n){return!!e(t,n)}}}var s_="shell/curl",iQ=e=>R2.includes(e),kUe=e=>
370iQ(e)||typeof e=="string"&&e.startsWith("custom/"),Uw=(e,t)=>{let n=a=>{for(let i of e){let o=i.options.find(s=>s.id===a);if(o)return o}},r=e.find(a=>a.key==="custom")?.options[0];if(t?.startsWith("custom"))return n(t)??r??n("shell/curl")??e[0]?.options[0];if(t){let a=n(t);if(a)return a}return r||(n("shell/curl")??e[0]?.options[0])},T6=e=>{let t=new Map;return e.map(n=>{let r=(n.lang||"plaintext").toLowerCase(),a=t.get(r)??0;return t.set(r,a+1),a===0?`custom/${r}`:`custom/${r}/${a}`})},AUe=(e=R2)=>{let t=new Set(e);return Bw().clients().flatMap(n=>{let r=n.clients.flatMap(a=>{let i=`${n.key}/${a.client}`;return t.has(i)?{id:i,lang:a.client==="curl"?"curl":n.key,title:`${B9(n.title)} ${a.title}`,label:a.title,targetKey:n.key,targetTitle:n.title,clientKey:a.client}:[]});return r.length===0?[]:{label:n.title,key:n.key,options:r}})},TUe=typeof OVERRIDE_PACKAGE_VERSION<"u"?OVERRIDE_PACKAGE_VERSION:"0.1.14";const EUe={"&":"&","<":"<",">":">",'"':""","'":"'"};function e4(e){return e.replace(/[&<>"']/g,t=>EUe[t]??t)}function l_(e,t={}){const{indent:n=" ",format:r=!0,xmlDeclaration:a=!0}=t,i=(s,l,c)=>{let u="";if(Array.isArray(s))for(let d=0,f=s.length;d<f;d++)u+=i(s[d],l,c);else if(typeof s=="object"&&s!==null){let d=!1,f="",p="";for(const h in s)h.charAt(0)==="@"&&(f+=" "+h.substr(1)+'="'+e4(s[h].toString())+'"');for(const h in s)if(h==="#text")p+=e4(s[h]?.toString()??"");else if(h==="#cdata"){const b=s[h]?.toString()??"";p+="<![CDATA["+b.replace(/]]>/g,"]]]]><![CDATA[>")+"]]>"}else h.charAt(0)!=="@"&&(d=!0,p+=i(s[h],h,c+n));d||p?(u+=c+"<"+l+f+`> 371`,u+=p,u+=c+"</"+l+`> 372`):u+=c+"<"+l+f+`/> 373`}else u+=c+"<"+l+">"+e4(s?.toString()||"")+"</"+l+`> 374`;return u};let o="";a&&(o+='<?xml version="1.0" encoding="UTF-8"?>',r&&(o+=` 375`));for(const s in e)Object.hasOwn(e,s)&&(o+=i(e[s],s,""));return r?o.trim():o.replace(/\n/g,"").replace(/>\s+</g,"><").trim()}var jw=(e,t,n,r=!1)=>{let a=[],i=Array.isArray(e)?e.filter(o=>!o.isDisabled).map(o=>[String(o.name),o.value]):Object.entries(e);for(let[o,s]of i){if(s==null)continue;let l=n?void 0:t?.[o],c=l&&(l.style!==void 0||l.explode!==void 0||l.allowReserved!==void 0),u=c||!r?void 0:l?.contentType,d=n?null:ble(o,s,l);if(d)for(let f of d)a.push({name:f.key,value:f.value});else if(s instanceof File){let f=Qt(s);a.push({name:o,value:`@${f.name}`,...u?{contentType:u}:{}})}else if(u&&typeof s=="object")a.push({name:o,value:JSON.stringify(Qt(s)),contentType:u});else if(r&&!n&&!c&&typeof s=="object"&&!Array.isArray(s))a.push({name:o,value:JSON.stringify(Qt(s)),contentType:"application/json"});else if(Array.isArray(s)&&r&&!n&&!c&&s.some(f=>Wu(f)&&!(f instanceof File)))a.push({name:o,value:JSON.stringify(Qt(s)),contentType:"application/json"});else if(Array.isArray(s))for(let f of s)if(f instanceof File){let p=Qt(f);a.push({name:o,value:`@${p.name}`})}else a.push({name:o,value:String(f)});else if(typeof s=="object"){let f=jw(s,void 0,o);for(let p of f)a.push({name:`${o}.${p.name}`,value:p.value})}else a.push({name:o,value:String(s),...u?{contentType:u}:{}})}return a},_Ue=({requestBody:e,contentType:t,example:n,requestBodyCompositionSelection:r})=>{let a=t||Object.keys(e.content)[0]||"",i=a==="other"?"":a,o=f=>`@${Qt(f).name||"filename"}`,s=e.content[a]?.encoding,l=a==="multipart/form-data"||a==="application/x-www-form-urlencoded",c=a==="application/xml",u=T8(e,n,t)?.value;if(u!==void 0){let f=typeof u=="object"&&u?Qt(u):u;return l&&typeof f=="object"&&f?{mimeType:i,params:jw(f,s,void 0,a==="multipart/form-data")}:c&&typeof f=="object"&&f?{mimeType:i,text:l_(f)}:f instanceof File?{mimeType:i,text:o(f)}:{mimeType:i,text:typeof f=="string"?f:JSON.stringify(f)}}let d=ke(e.content[a]?.schema);if(d!==void 0){let f=Ga(e2(d),{compositionSelection:r,mode:"write",xml:c},{schemaPath:["requestBody"]});if(f!==void 0)return l&&typeof f=="object"&&f?{mimeType:i,params:jw(f,s,void 0,a==="multipart/form-data")}:c&&typeof f=="object"&&f?{mimeType:i,text:l_(f)}:{mimeType:i,text:typeof f=="string"?f:JSON.stringify(f)}}},CUe=e=>(e??[]).map(t=>ke(t)),$Ue=e=>"allowReserved"in e&&e.allowReserved!==void 0?e.allowReserved:"schema"in e&&e.schema&&typeof e.schema=="object"&&"allowReserved"in e.schema?e.schema.allowReserved===!0:!1,dl=(e,t)=>$Ue(t)?e:encodeURIComponent(e),PUe=e=>{if(e.in==="header")return{style:"simple",explode:"explode"in e&&e.explode!==void 0&&e.explode};if(e.in==="cookie")return{style:"form",explode:"explode"in e&&e.explode!==void 0?e.explode:!0};let t={path:"simple",query:"form",header:"simple",cookie:"form"}[e.in],n="style"in e&&e.style?e.style:t;return{style:n,explode:"explode"in e&&e.explode!==void 0?e.explode:n==="form"}},IUe=(e,t,n,r)=>{let a=T8(e,t,n);if(oN(e,a,r))return;if(a?.value!==void 0)return Iue(a.value,e);if(!("schema"in e)||!e.schema)return;let i=e.in==="path"?{emptyString:`{${e.name}}`}:{};return Ga(ke(e.schema),i)},NUe=({harRequest:e,parameters:t,example:n,defaultDisabled:r})=>{let a=[...e.headers],i=[...e.queryString],o=e.url,s=CUe(t);for(let l of s){if(!l.in||!l.name)continue;let c=IUe(l,n,void 0,r);if(c===void 0)continue;let{style:u,explode:d}=PUe(l);switch(l.in){case"path":o=RUe(o,l,c,u,d);break;case"query":if("content"in l&&l.content){let f=mle(c,Object.keys(l.content)[0]??"application/json");i.push({name:l.name,value:dl(f,l)});break}switch(u){case"form":{let f=f2(c,d);if(Array.isArray(f))for(let p of f){let h=p.key||l.name;i.push({name:h,value:dl(String(p.value),l)})}else i.push({name:l.name,value:dl(String(f),l)});break}case"spaceDelimited":{let f=ZI(c);i.push({name:l.name,value:dl(f,l)});break}case"pipeDelimited":{let f=XI(c);i.push({name:l.name,value:dl(f,l)});break}case"deepObject":if(Array.isArray(c)){let f=f2(c,!0);if(Array.isArray(f))for(let p of f){let h=p.key||l.name;i.push({name:h,value:dl(String(p.value),l)})}else i.push({name:l.name,value:dl(String(f),l)})}else{let f=WI(l.name,c);for(let p of f)i.push({name:p.key,value:dl(p.value,l)})}break;default:i.push({name:l.name,value:dl(String(c),l)})}break;case"header":{let f=qI(c,d);a.push({name:l.name,value:String(f)});break}case"cookie":{let f=gle(c,d);if(Array.isArray(f))for(let p of f){let h=p.key||l.name,b=p.value===null?"null":String(p.value);e.cookies.push({name:h,value:b})}else{let p=f===null?"null":String(f);e.cookies.push({name:l.name,value:p})}break}}}return{url:o,headers:a,queryString:i,cookies:e.cookies}},RUe=(e,t,n,r,a)=>{switch(r){case"matrix":if(a){if(Array.isArray(n)){let i=n.map(o=>`${t.name}=${o}`).join(";");return e.replace(`{;${t.name}}`,`;${i}`)}if(typeof n=="object"&&n){let i=Object.entries(n).map(([o,s])=>`${o}=${s}`).join(";");return e.replace(`{;${t.name}}`,`;${i}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`)}if(Array.isArray(n))return e.replace(`{;${t.name}}`,`;${t.name}=${n.join(",")}`);
vendor: 6,117 bytes, line 375
375if(typeof n=="object"&&n){let i=Object.entries(n).map(([o,s])=>`${o},${s}`).join(",");return e.replace(`{;${t.name}}`,`;${t.name}=${i}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`);case"label":if(a){if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(".")}`);if(typeof n=="object"&&n){let i=Object.entries(n).map(([o,s])=>`${o}=${s}`).join(".");return e.replace(`{.${t.name}}`,`.${i}`)}return e.replace(`{.${t.name}}`,`.${n}`)}if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(",")}`);if(typeof n=="object"&&n){let i=Object.entries(n).map(([o,s])=>`${o},${s}`).join(",");return e.replace(`{.${t.name}}`,`.${i}`)}return e.replace(`{.${t.name}}`,`.${n}`);case"simple":{let i=qI(n,a);return e.replace(`{${t.name}}`,String(i))}default:return e.replace(`{${t.name}}`,String(n))}},MUe=e=>{let t={headers:[],queryString:[],cookies:[]};for(let n of e){if(n.type==="apiKey"){let r=n["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";if(!n.name)continue;let a={name:n.name,value:r};switch(n.in){case"header":t.headers.push(a);break;case"query":t.queryString.push(a);break;case"cookie":t.cookies.push(a);break}continue}if(n.type==="http"){if(n.scheme==="basic"){let r=`${n["x-scalar-secret-username"]||""}:${n["x-scalar-secret-password"]||""}`,a=r===":"?"username:password":vd(r);t.headers.push({name:"Authorization",value:`Basic ${a}`})}else if(n.scheme==="bearer"){let r=n["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";t.headers.push({name:"Authorization",value:`Bearer ${r}`})}continue}if(n.type==="oauth2"&&n.flows){let r=Object.values(n.flows).find(a=>a["x-scalar-secret-token"])?.["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";t.headers.push({name:"Authorization",value:`Bearer ${r}`})}}return t},LUe=(e,t)=>{if(!e?.url)return t;let n=e.url;return e.variables?wm(xle(n,Object.entries(e.variables).reduce((r,[a,i])=>(i.default!==void 0&&(r[a]=i.default),r),{})),t):wm(n,t)},oQ=({includeDefaultHeaders:e=!1,operation:t,contentType:n,method:r,path:a,server:i=null,example:o,securitySchemes:s,globalCookies:l,requestBodyCompositionSelection:c,defaultDisabledParameters:u=!1})=>{let d=Fue(e?Vue({method:r,operation:t,exampleName:o??"default",hideDisabledHeaders:!0,hideOverriddenHeaders:!0,options:{isElectron:sN(),appVersion:TUe}}):{}),f=t["x-scalar-disable-parameters"]?.["global-cookies"]?.[o??"default"]??{},p={method:r,url:LUe(i,a),headers:Object.entries(d).map(([y,O])=>({name:y,value:O})),queryString:[],postData:void 0,httpVersion:"HTTP/1.1",cookies:[],headersSize:-1,bodySize:-1};if(t.parameters){let{url:y,headers:O,queryString:A,cookies:x}=NUe({harRequest:p,parameters:t.parameters,example:o,defaultDisabled:u}),T=l?.filter(E=>JI({cookie:E,url:y,disabledGlobalCookies:f}))?.map(E=>({name:E.name,value:E.value}))??[];p.url=y,p.headers=O,p.queryString=A,p.cookies=[...T,...x]}let h=ke(t.requestBody);if(h?.content){let y=_Ue({requestBody:h,contentType:n,example:o,requestBodyCompositionSelection:c});if(y&&(p.postData=y,p.bodySize=y.text?.length??-1,y.mimeType)){let O=p.headers.find(A=>A.name.toLowerCase()==="content-type");O&&!O.value?O.value=y.mimeType:O||p.headers.push({name:"Content-Type",value:y.mimeType})}}if(s){let{headers:y,queryString:O,cookies:A}=MUe(s);p.headers.push(...y),p.queryString.push(...O),p.cookies.push(...A)}let b=0;for(let y of p.headers)b+=(y.name?.length??0)+2+(y.value?.length??0)+2;return p.headersSize=b,p},c_="ws://replace.me",DUe=(e,t,n)=>{try{if(!n.url)return[Error("Please enter a URL to see a code snippet"),null];let r=n.url.startsWith("/")?"":"/";try{new URL(n.url)}catch{n.url=`${c_}${r}${n.url}`}if(n.postData?.mimeType==="application/json")try{JSON.parse(n.postData.text||"{}")}catch(i){return console.error("[getSnippet] Invalid JSON body",i),[Error("Invalid JSON body"),null]}let a=e.replace("javascript","js");if(Bw().hasPlugin(a,t)){let i=Bw().print(a,t,n);return i?[null,i.replace(`${c_}${r}`,"")]:[Error("Error generating snippet"),null]}}catch(r){return console.error("[getSnippet] Error generating snippet",r),[Error("Error generating snippet"),null]}return[Error("No snippet found"),null]},BUe=({clientId:e,customCodeSamples:t,includeDefaultHeaders:n=!1,operation:r,method:a,path:i,example:o,contentType:s,server:l,securitySchemes:c,globalCookies:u,requestBodyCompositionSelection:d,defaultDisabledParameters:f})=>{try{if(!e)return"";if(e.startsWith("custom"))return t[T6(t).indexOf(e)]?.source??"Custom example not found";let p=oQ({operation:r,contentType:s,method:a,path:i,server:l,securitySchemes:c,example:o,globalCookies:u,includeDefaultHeaders:n,requestBodyCompositionSelection:d,defaultDisabledParameters:f}),[h,b]=e.split("/"),[y,O]=DUe(h,b,p);return y?(console.error("[generateCodeSnippet]",y),y.message??"Error generating code snippet"):O}catch(p){return console.error("[generateCodeSnippet]",p),"Error generating code snippet"}},sQ=(e,t)=>Object.entries(e??{}).map(([n,r])=>({lang:n,source:r,...t?{label:t}:{}})),UUe=e=>e?(Array.isArray(e)?e:[e]).flatMap(t=>sQ(t.request,t.title)):[],jUe=e=>(e??[]).map(t=>({lang:t.language,source:t.code,...t.name?{label:t.name}:{}})),t4="SDK",Qw="Code Examples",QUe=e=>{let t=e["x-scalar-examples"]??[];if(t.length)return{label:t4,samples:t};let n=sQ(e["x-stainless-snippets"]);if(n.length)return{label:t4,samples:n};let r=UUe(e["x-stainless-examples"]);if(r.length)return{label:t4,samples:r};let a=jUe(e["x-readme"]?.["code-samples"]);return a.length?{label:Qw,samples:a}:{label:Qw,samples:["x-custom-examples","x-codeSamples","x-code-samples"].flatMap(i=>e[i]??[])}};const FUe=(e="")=>(e[0]?.toUpperCase()??"")+e.slice(1);var zUe={c:"C",clojure:"Clojure",cpp:"C++","c++":"C++",csharp:"C#","c#":"C#",css:"CSS",curl:"cURL",dart:"Dart",fsharp:"F#","f#":"F#",go:"Go",golang:"Go",graphql:"GraphQL",html:"HTML",http:"HTTP",java:"Java",javascript:"JavaScript",js:"JavaScript",json:"JSON",jl:"Julia",julia:"Julia",kotlin:"Kotlin",node:"Node.js",nodejs:"Node.js",objc:"Objective-C","objective-c":"Objective-C",ocaml:"OCaml",php:"PHP",powershell:"PowerShell",py:"Python",python:"Python",r:"R",ruby:"Ruby",rust:"Rust",scala:"Scala",sh:"Shell",shell:"Shell",bash:"Shell",sql:"SQL",swift:"Swift",ts:"Type
375Script",typescript:"TypeScript",xml:"XML",yaml:"YAML",yml:"YAML"},VUe=e=>{if(e)return zUe[e.toLowerCase()]??FUe(e)},HUe=(e,t,n=Qw)=>{if(e.length){let r=T6(e);return[{label:n,key:"custom",options:e.map((a,i)=>{let o=r[i]??`custom/${i}`,s=a.label||VUe(a.lang)||o;return{id:o,lang:a.lang||"plaintext",title:s,label:s,clientKey:"custom"}})},...t]}return t},qUe=e=>e.flatMap(t=>t.type==="apiKey"?t["x-scalar-secret-token"]:t?.type==="http"?[t["x-scalar-secret-token"],t["x-scalar-secret-username"],t["x-scalar-secret-password"],vd(`${t["x-scalar-secret-username"]}:${t["x-scalar-secret-password"]}`)]:t.type==="oauth2"?Object.values(t.flows).map(n=>n["x-scalar-secret-token"]):[]).filter(Boolean),ZUe={class:"min-w-0 flex-1 truncate"},XUe=Q({inheritAttrs:!1,__name:"ExamplePicker",props:xn({examples:{default:()=>({})}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=yn(e,"modelValue"),n=I(()=>Object.entries(e.examples).map(([a,i])=>({id:a,label:i?.summary??a}))),r=I({get:()=>n.value.find(({id:a})=>a===t.value),set:a=>t.value=a?.id??""});return(a,i)=>(g(),L(m(nu),{modelValue:r.value,"onUpdate:modelValue":i[0]||=o=>r.value=o,class:"w-fit min-w-32",options:n.value,placement:"bottom-start",teleport:""},{default:P(()=>[N(m(Ln),Ae({class:"text-c-2 hover:text-c-1 flex h-full w-fit min-w-0 gap-1.5 px-1.5 py-0.75 text-base font-normal","data-testid":"example-picker",variant:"ghost"},a.$attrs),{default:P(()=>[w("div",ZUe,V(r.value?.label??"Select an example"),1),N(m(xi),{class:"ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1},16)]),_:1},8,["modelValue","options"]))}}),lQ=XUe,WUe=Q({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,n=I(()=>m0(String(t.method||""))),r=I(()=>bx(t.method));return(a,i)=>(g(),L(Yt(e.as??"span"),{class:"uppercase",style:kr({[e.property||"color"]:n.value.colorVar})},{default:P(()=>[H(a.$slots,"default"),J(" "+V(e.short?n.value.short:r.value),1)]),_:3},8,["style"]))}}),u_=WUe,cQ=Symbol(),YUe=e=>{const t=Rn(cQ,void 0);t&&(t.value=e)},GUe=()=>{const e=K();return In(cQ,e),{id:e}},KUe=Q({inheritAttrs:!1,__name:"ScalarCard",props:{label:{}},setup(e){const{id:t}=GUe(),n=I(()=>e.label?{"aria-label":e.label}:t.value?{"aria-labelledby":t.value}:{}),{cx:r}=At();return(a,i)=>(g(),S("div",Ae({role:"group"},{...n.value,...m(r)("scalar-card bg-b-2 flex flex-col divide-y rounded-xl border")}),[H(a.$slots,"default")],16))}}),$m=KUe,JUe=Q({inheritAttrs:!1,__name:"ScalarCardSection",setup(e){const{cx:t}=At();return(n,r)=>(g(),S("div",Rt(Ft(m(t)("scalar-card-content flex overflow-auto first:rounded-t-[inherit] last:rounded-b-[inherit]"))),[H(n.$slots,"default")],16))}}),nd=JUe,eje=Q({inheritAttrs:!1,__name:"ScalarCardFooter",setup(e){const{cx:t}=At();return(n,r)=>(g(),L(nd,Rt(Ft(m(t)("scalar-card-footer"))),{default:P(()=>[H(n.$slots,"default")]),_:3},16))}}),uQ=eje,tje=["id"],nje={key:0,class:"flex"},rje=Q({inheritAttrs:!1,__name:"ScalarCardHeader",setup(e){const{cx:t}=At(),n=vn();return YUe(n),(r,a)=>(g(),L(nd,Rt(Ft(m(t)("scalar-card-header leading-[22px] font-medium py-[6.75px] px-3 shrink-0"))),{default:P(()=>[w("div",{id:m(n),class:"scalar-card-header-title min-w-0 flex-1 truncate"},[H(r.$slots,"default")],8,tje),r.$slots.actions?(g(),S("div",nje,[H(r.$slots,"actions")])):B("",!0)]),_:3},16))}}),nv=rje,aje=Q({inheritAttrs:!1,__name:"ScalarCopyBackdrop",setup(e){const{cx:t}=At();return(n,r)=>(g(),S("div",Rt(Ft(m(t)("absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded"))),null,16))}}),rv=aje,ije={"aria-hidden":"true",class:"flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%"},oje={key:0,class:"whitespace-nowrap px-1.5"},sje={key:0,class:"sr-only",role:"alert"},lje={key:1,class:"sr-only"},cje=Q({inheritAttrs:!1,__name:"ScalarCopyButton",props:xn({showLabel:{type:Boolean},placement:{default:"right"}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){const t=yn(e,"copied"),{cx:n}=At(),r=I(()=>t.value?Sx:wx);return(a,i)=>(g(),S("button",Ae({type:"button"},m(n)("group/copy-button relative z-0 flex items-center justify-center","size-6 p-1.25 -m-1 rounded text-xs bg-b-2",t.value?"text-c-1":"text-c-2 hover:text-c-1")),[N(Wg,{enterActiveClass:"transition-transform",enterFromClass:"scale-0",enterToClass:"scale-100",leaveActiveClass:"transition-transform",leaveFromClass:"scale-100",leaveToClass:"scale-0",mode:"out-in"},{default:P(()=>[(g(),L(Yt(r.value),{class:"size-full"}))]),_:1}),i[4]||(i[4]=w("div",{class:"bg-inherit rounded-[inherit] absolute inset-0 -z-1"},null,-1)),w("div",{class:Se(["group/copy-label absolute flex items-center -inset-y-0.5 rounded",{"left-0 pl-[100%]":e.placement==="right","right-0 pr-[100%]":e.placement==="left"}])},[w("div",ije,[N(Wg,{enterActiveClass:"transition-transform ease-
375out",enterFromClass:"translate-y-1.5",enterToClass:"translate-y-0",leaveActiveClass:"transition-transform ease-in",leaveFromClass:"translate-y-0",leaveToClass:"-translate-y-1.5",mode:"out-in"},{default:P(()=>[t.value?(g(),S("div",oje,[H(a.$slots,"copied",{},()=>[i[0]||(i[0]=J("Copied",-1))])])):(g(),S("div",{key:1,class:Se(["whitespace-nowrap px-1.5",{"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])},[H(a.$slots,"copy",{},()=>[i[1]||(i[1]=J("Copy",-1))])],2))]),_:3})]),t.value?(g(),S("div",sje,[H(a.$slots,"copied",{},()=>[i[2]||(i[2]=J("Copied",-1))])])):(g(),S("div",lje,[H(a.$slots,"copy",{},()=>[i[3]||(i[3]=J("Copy",-1))])])),H(a.$slots,"backdrop",{},()=>[N(rv)])],2)],16))}}),dQ=cje,uje=Q({__name:"ScalarCopy",props:xn({content:{default:""},placement:{},showLabel:{type:Boolean},duration:{default:1500},immediate:{type:Boolean}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){const t=yn(e,"copied");Mt(()=>{e.immediate&&n(e.content)});const{copy:n,copied:r}=VD({legacy:!0,copiedDuring:e.duration});return qe(r,a=>t.value=a),(a,i)=>(g(),L(dQ,{copied:t.value||m(r),placement:e.placement,showLabel:e.showLabel,onClick:i[0]||(i[0]=o=>m(n)(e.content))},lr({_:2},[a.$slots.copy?{name:"copy",fn:P(()=>[H(a.$slots,"copy")]),key:"0"}:void 0,a.$slots.copied?{name:"copied",fn:P(()=>[H(a.$slots,"copied")]),key:"1"}:void 0,a.$slots.backdrop?{name:"backdrop",fn:P(()=>[H(a.$slots,"backdrop")]),key:"2"}:void 0]),1032,["copied","placement","showLabel"]))}}),dje=uje,d_={bash:"Bash",c:"C",clojure:"Clojure",cpp:"C++",csharp:"C#",css:"CSS",curl:"cURL",dart:"Dart",diff:"Diff",docker:"Docker",dockerfile:"Dockerfile",elixir:"Elixir",fsharp:"F#",go:"Go",graphql:"GraphQL",haskell:"Haskell",html:"HTML",http:"HTTP",ini:"INI",java:"Java",javascript:"JavaScript",json:"JSON",julia:"Julia",kotlin:"Kotlin",less:"Less",lua:"Lua",makefile:"Makefile",markdown:"Markdown",matlab:"MATLAB",mojo:"Mojo",nginx:"Nginx",objectivec:"Objective-C",ocaml:"OCaml",perl:"Perl",php:"PHP",plaintext:"Plain Text",powershell:"PowerShell",properties:"Properties",python:"Python",r:"R",ruby:"Ruby",rust:"Rust",scala:"Scala",scss:"SCSS",shell:"Shell",sql:"SQL",swift:"Swift",toml:"TOML",typescript:"TypeScript",xml:"XML",yaml:"YAML"},fje={class:"hidden group-hocus-within/code-block:inline"},pje=Q({inheritAttrs:!1,__name:"ScalarCodeBlockCopy",props:xn({showLang:{type:Boolean},content:{},lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){const t=yn(e,"copied"),n=I(()=>typeof e.content=="string"?e.content:JSON.stringify(e.content,null,2)),r=i=>i in d_,{cx:a}=At();return(i,o)=>(g(),L(m(dje),Ae({content:n.value,showLabel:"",copied:t.value,"onUpdate:copied":o[0]||(o[0]=s=>t.value=s),placement:"left"},{...m(a)(t.value?"opacity-100":"opacity-0 group-hocus-within/code-block:opacity-100")}),lr({backdrop:P(()=>[H(i.$slots,"backdrop")]),_:2},[e.lang?{name:"copy",fn:P(()=>[w("span",fje,[e.showLang?(g(),S("span",{key:0,class:Se(["group-hocus/copy-button:sr-only",{capitalize:!r(e.lang)}])},V(r(e.lang)?m(d_)[e.lang]:e.lang),3)):B("",!0),w("span",{class:Se({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},"Copy",2)])]),key:"0"}:void 0]),1040,["content","copied"]))}}),fQ=pje;const av=e=>{if(typeof e=="string")try{const t=JSON.parse(e);return typeof t=="object"&&t!==null?JSON.stringify(t,null,2):e}catch{return e}if(typeof e=="object")try{return mje(e)}catch(t){if(t===pQ)return gje(e);throw t}return e?.toString()??""},hje=1e5,pQ=new Error("Expanded JSON exceeded the node limit");function mje(e){const t=[];let n=0;return JSON.stringify(e,function(r,a){if(n+=1,n>hje)throw pQ;if(typeof a!="object"||a===null)return a;for(;t.length>0&&t[t.length-1]!==this;)t.pop();return t.includes(a)?"[Circular]":(t.push(a),a)},2)}function gje(e){const t=new Set;return JSON.stringify(e,(n,r)=>{if(typeof r=="object"&&r!==null){if(t.has(r))return"[Circular]";t.add(r)}return r},2)}var bje={tabindex:"0",class:"custom-scroll overflow-x-auto p-2 -outline-offset-2 rounded-[inherit] min-h-0 min-w-0 flex-1"},yje=["id","innerHTML"],vje=Q({inheritAttrs:!1,__name:"ScalarCodeBlock",props:{content:{},prettyPrintedContent:{},lang:{default:"plaintext"},lineNumbers:{type:Boolean,default:!1},hideCredentials:{},copy:{type:[String,Boolean],default:"hover"}},setup(e){const t=vn(),n=I(()=>e.prettyPrintedContent||av(e.content??"")),r=I(()=>D$e(n.value,{lang:e.lang.trim(),languages:FB,lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),a=I(()=>!n.value.includes(` 376`)),i=I(()=>n.value!==null&&n.value!=="null"&&n.value!=="404 Not Found"),o=I(()=>e.copy&&i.value),s=I(()=>a.value&&o.value),{cx:l}=At();return(c,u)=>(g(),S("div",Rt(Ft(m(l)("scalar-code-block group/code-block flex flex-col","relative bg-b-1 min-h-0 min-w-0 focus-visible:outline"))),[w("div",bje,[w("pre",{id:m(t),class:Se(["m-0 bg-transparent text-nowrap whitespace-pre w-fit",{"pr-6":s.value}]),innerHTML:r.value},null,10,yje)]),o.value?(g(),L(m(fQ),{key:0,class:Se(["scalar-code-copy absolute",[a.value?"top-1/2 -translate-y-1/2 m-0 right-1":"top-2.5 right-2.5",{"opacity-100":e.copy==="always"}]]),content:n.value,showLang:!a.value,lang:e.lang,"aria-controls":m(t)},{backdrop:P(()=>[N(rv,{class:Se(["scalar-code-copy-backdrop",[a.value?"-inset-y-0.75 -right-1 group-hocus-within/code-block:-left-0.5 left-3":"-right-1.5 -top-1"]])},null,8,["class"])]),_:1},8,["class","content","showLang","lang","aria-controls"])):B("",!0)],16))}}),iv=vje;function Oje(e){return e?.options!==void 0}function f_(e){return e[0]?Oje(e[0]):!1}var Sje=((e,t)=>e===""?t:t.filter(n=>n.label.toLowerCase().includes(e.toLowerCase()))),wje=["aria-selected"],xje=Q({__name:"ScalarComboboxOption",props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){const t=$r({base:["group/item","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","truncate bg-transparent text-c-1","cursor-pointer hover:bg-b-2"],variants:{selected:{true:"text-c-1"},active:{true:"bg-b-2"}}});return(n,r)=>(g(),S("li",{"aria-selected":e.selected,class:Se(m(Ku)(m(t)({active:e.active,selected:e.selected}))),role:"option",tabindex:"-1"},[H(n.$slots,"default",{active:e.active,selected:e.selected})],10,wje))}}),p_=xje,kje=["id","aria-labelledby","role"],Aje=["id"],Tje=Q({__name:"ScalarComboboxOptionGroup",props:{id:{default:()=>vn()},hidden:{type:Boolean,default:!1}},setup(e){return(t,n)=>(g(),S("div",{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:"contents",role:e.hidden?void 0:"group"},[e.hidden?B("",!0):(g(),S("div",{key:0,id:`${e.id}-label`,class:"min-w-0 truncate px-2.5 py-1.5 text-c-2"},[H(t.$slots,"label")],8,Aje)),H(t.$slots,"default")],8,kje))}}),Eje=Tje,_je={class:"relative flex"},Cje=["aria-activedescendant","placeholder"],$je=["aria-multiselectable"],Pje={class:"inline-block min-w-0 flex-1 truncate text-c-1"},Ije=Q({inheritAttrs:!1,__name:"ScalarComboboxOptions",props:xn({options:{},placeholder:{},filterFn:{type:Function,default:Sje},multiselect:{type:Boolean}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:xn(["add"],["update:modelValue"]),setup(e,{emit:t}){const n=t,r=yn(e,"modelValue"),a=m8(),i=`scalar-combobox-items-${vn()}`,o={id:`${vn()}-add`,label:"Add a new option"};function s(A){return`${i}-${A.id}`}const l=I(()=>f_(e.options)?e.options.flatMap(A=>A.options):e.options),c=I(()=>f_(e.options)?e.options:[{label:"",options:e.options}]),u=K(""),d=K(r.value?.[0]??l.value[0]);Mt(()=>{u.value="",d.value=r.value?.[0]??l.value[0],r.value[0]&&setTimeout(()=>{const A=r.value[0];A&&document?.getElementById(s(A))?.scrollIntoView({block:"nearest"})},10)}),qe(()=>u.value,()=>d.value=p.value[0]);const f=I(()=>e.filterFn(u.value,l.value,c.value)),p=I(()=>a.add?[...f.value,o]:f.value);function h(A){if(A){if(A.id===o.id){y();return}e.multiselect?r.value.some(x=>x.id===A.id)?r.value=r.value.filter(x=>x.id!==A.id):r.value=[...r.value,l.value.find(x=>x.id===A.id)]:r.value=[l.value.find(x=>x.id===A.id)]}}function b(A){const x=p.value,T=x.findIndex(E=>E.id===d.value?.id)+A;T<0||T>x.length-1||(d.value=x[T],d.value&&document?.getElementById(s(d.value))?.scrollIntoView({behavior:"smooth",block:"nearest"}))}function y(){n("add"),u.value=""}const O=K(null);return Mt(()=>setTimeout(()=>
376O.value?.focus(),0)),(A,x)=>(g(),S(le,null,[w("div",_je,[N(m(g0),{class:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4"}),ti(w("input",{ref_key:"input",ref:O,"onUpdate:modelValue":x[0]||(x[0]=T=>u.value=T),"aria-activedescendant":d.value?s(d.value):void 0,"aria-autocomplete":"list","aria-controls":i,class:"min-w-0 flex-1 rounded border-0 py-2.5 pl-8 pr-3 leading-none text-c-1 -outline-offset-1","data-1p-ignore":"",placeholder:e.placeholder,role:"combobox",tabindex:"0",type:"text",onKeydown:[x[1]||(x[1]=Sa(jt(T=>b(1),["prevent"]),["down"])),x[2]||(x[2]=Sa(jt(T=>d.value&&h(d.value),["prevent"]),["enter"])),x[3]||(x[3]=Sa(jt(T=>b(-1),["prevent"]),["up"]))]},null,40,Cje),[[ld,u.value]])]),ti(w("ul",{id:i,"aria-multiselectable":e.multiselect,class:"border-t p-0.75 custom-scroll overscroll-contain flex-1 min-h-0",role:"listbox",tabindex:"-1"},[(g(!0),S(le,null,it(c.value,(T,E)=>(g(),L(Eje,{id:`${i}-group-${E}`,key:E,hidden:!T.options.some(C=>f.value.some($=>$.id===C.id))||!T.label},{label:P(()=>[A.$slots.group?H(A.$slots,"group",{group:T},void 0,void 0,0):(g(),S(le,{key:1},[J(V(T.label),1)],64))]),default:P(()=>[(g(!0),S(le,null,it(f.value,C=>(g(),S(le,{key:C.id},[T.options.some($=>$.id===C.id)?(g(),L(p_,{key:0,id:s(C),active:d.value?.id===C.id,selected:r.value.some($=>$.id===C.id),onClick:$=>h(C),onMousedown:x[4]||(x[4]=jt(()=>{},["prevent"])),onMouseenter:$=>d.value=C},{default:P(({active:$,selected:R})=>[A.$slots.option?H(A.$slots,"option",{active:$,option:C,selected:R},void 0,void 0,0):(g(),S(le,{key:1},[N(m(Ly),{multiselect:e.multiselect,selected:r.value.some(j=>j.id===C.id)},null,8,["multiselect","selected"]),w("span",Pje,V(C.label),1)],64))]),_:2},1032,["id","active","selected","onClick","onMouseenter"])):B("",!0)],64))),128))]),_:2},1032,["id","hidden"]))),128)),a.add?(g(),L(p_,{key:0,id:s(o),active:d.value?.id===o.id,onClick:y,onMousedown:x[5]||(x[5]=jt(()=>{},["prevent"])),onMouseenter:x[6]||(x[6]=T=>d.value=o)},{default:P(({active:T})=>[N(m(xx),{class:"size-4 p-px"}),H(A.$slots,"add",{active:T})]),_:3},8,["id","active"])):B("",!0)],8,$je),[[fm,f.value.length||a.add]])],64))}}),hQ=Ije,Nje=Q({inheritAttrs:!1,__name:"ScalarComboboxPopover",props:{placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){const{cx:n}=At(),r=K(null),a=i=>{["ArrowUp","ArrowDown"].includes(i.key)&&(i.preventDefault(),i.target?.dispatchEvent(new KeyboardEvent("keydown",{key:"Enter"})))};return t({popoverButtonRef:r}),(i,o)=>(g(),L(m(Fx),{as:"template"},{default:P(({open:s})=>[N(m(w0),Rt(Ft(i.$props)),lr({default:P(()=>[N(m(hD),{ref_key:"popoverButtonRef",ref:r,as:"template",onKeydown:a},{default:P(()=>[H(i.$slots,"default",{open:s})]),_:2},1536)]),_:2},[s?{name:"floating",fn:P(({width:l})=>[N(m(mD),Ae({style:{width:l}},m(n)("relative flex flex-col max-h-[inherit] w-40 rounded text-sm")),{default:P(({close:c})=>[H(i.$slots,"popover",{close:c,open:s}),N(m($p))]),_:2},1040,["style"])]),key:"0"}:void 0]),1040)]),_:3}))}}),mQ=Nje,Rje=Q({__name:"ScalarCombobox",props:xn({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:xn(["add"],["update:modelValue"]),setup(e,{emit:t}){const n=t,r=yn(e,"modelValue");return(a,i)=>(g(),L(mQ,{middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",resize:e.resize,target:e.target,teleport:e.teleport},{default:P(({open:o})=>[H(a.$slots,"default",{open:o})]),popover:P(({open:o,close:s})=>[N(hQ,{filterFn:e.filterFn,modelValue:r.value?[r.value]:[],open:o,options:e.options,placeholder:e.placeholder,onAdd:()=>(s(),n("add")),"onUpdate:modelValue":l=>(s(),r.value=l[0])},lr({_:2},[a.$slots.option?{name:"option",fn:P(l=>[H(a.$slots,"option",Rt(Ft(l)))]),key:"0"}:void 0,a.$slots.group?{name:"group",fn:P(l=>[H(a.$slots,"group",Rt(Ft(l)))]),key:"1"}:void 0,a.$slots.add?{name:"add",fn:P(l=>[H(a.$slots,"add",Rt(Ft(l)))]),key:"2"}:void 0]),1032,["filterFn","modelValue","open","options","placeholder","onAdd","onUpdate:modelValue"])]),_:3},8,["middleware","offset","placement","resize","target","teleport"]))}}),ov=Rje,Mje=Q({__name:"ScalarComboboxMultiselect",props:xn({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:xn(["add"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const r=n,a=yn(e,"modelValue"),i=K(null);return t({comboboxPopoverRef:i}),(o,s)=>(g(),L(mQ,{ref_key:"comboboxPopoverRef",ref:i,middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",resize:e.resize,target:e.target,teleport:e.teleport},{default:P(({open:l})=>[H(o.$slots,"default",{open:l})]),popover:P(({open:l})=>[e.options?.length?(g(),L(hQ,{key:0,modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=c=>a.value=c),filterFn:e.filterFn,multiselect:"",open:l,options:e.options,placeholder:e.placeholder,onAdd:s[1]||(s[1]=c=>r("add"))},lr({_:2},[o.$slots.option?{name:"option",fn:P(c=>[H(o.$slots,"option",Rt(Ft(c)))]),key:"0"}:void 0,o.$slots.group?{name:"group",fn:P(c=>[H(o.$slots,"group",Rt(Ft(c)))]),key:"1"}:void 0,o.$slots.add?{name:"add",fn:P(c=>[H(o.$slots,"add",Rt(Ft(c)))]),key:"2"}:void 0]),1032,["modelValue","filterFn","open","options","placeholder"])):B("",!0)]),_:3},8,["middleware","offset","placement","resize","target","teleport"]))}}),gQ=Mje,Lje={key:0,class:"shrink-0 whitespace-nowrap text-xs tabular-nums text-c-3"},Dje=["disabled"],Bje=["disabled"],Uje=Q({__name:"ScalarVirtualTextSearch",props:{query:{},matchCount:{},activeMatchIndex:{}},emits:["update:query","next","prev","close"],setup(e,{expose:t,emit:n}){const r=e,a=n,i=K(null),o=K(r.query);qe(()=>r.query,c=>{o.value=c}),qe(o,c=>{a("update:query",c)});const s=()=>{Nn(()=>i.value?.focus())},l=c=>
376{c.key==="Enter"&&(c.preventDefault(),c.shiftKey?a("prev"):a("next")),c.key==="Escape"&&(c.preventDefault(),a("close"))};return t({focus:s}),(c,u)=>(g(),S("div",{class:"scalar-virtual-text-search ml-auto mr-2 mt-2 flex h-fit w-fit items-center gap-1 overflow-visible rounded-lg bg-b-2 px-2 py-1 shadow-md",onClick:u[4]||(u[4]=jt(()=>{},["stop"]))},[N(m(g0),{class:"pointer-events-none size-3.5 shrink-0 text-c-3"}),ti(w("input",{ref_key:"searchInputRef",ref:i,"onUpdate:modelValue":u[0]||(u[0]=d=>o.value=d),"aria-label":"Search in text",autocomplete:"off",class:"scalar-virtual-text-search-input min-w-0 w-36 appearance-none border-none bg-transparent px-1 py-0.5 text-xs text-c-1 outline-none",placeholder:"Find...",spellcheck:"false",type:"search",onKeydown:l},null,544),[[ld,o.value]]),o.value?(g(),S("span",Lje,V(e.matchCount>0?`${e.activeMatchIndex+1} of ${e.matchCount}`:"No results"),1)):B("",!0),u[5]||(u[5]=w("span",{class:"mx-0.5 h-3.5 w-px bg-b-3"},null,-1)),w("button",{"aria-label":"Previous match",class:"flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1 disabled:pointer-events-none disabled:opacity-30",disabled:e.matchCount===0,title:"Previous match (Shift+Enter)",type:"button",onClick:u[1]||(u[1]=d=>a("prev"))},[N(m(bpe),{class:"size-3"})],8,Dje),w("button",{"aria-label":"Next match",class:"flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1 disabled:pointer-events-none disabled:opacity-30",disabled:e.matchCount===0,title:"Next match (Enter)",type:"button",onClick:u[2]||(u[2]=d=>a("next"))},[N(m(xi),{class:"size-3"})],8,Bje),w("button",{"aria-label":"Close search",class:"flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1",title:"Close (Escape)",type:"button",onClick:u[3]||(u[3]=d=>a("close"))},[N(m(Cp),{class:"size-3"})])]))}}),jje=ys(Uje,[["__scopeId","data-v-95edadbb"]]),Qje={key:0,class:"sticky top-0 z-10 flex h-0 w-full justify-end overflow-visible"},Fje=Q({__name:"ScalarVirtualText",props:{text:{},lineHeight:{default:20},containerClass:{default:""},contentClass:{default:""},lineClass:{default:""},searchable:{type:Boolean,default:!1}},setup(e){const t=e,n=K(null),r=K(null),a=K(0),i=K(0),o=K(""),s=K(!1),l=K(0),c=I(()=>t.text.split(` 377`)),u=I(()=>c.value.length*t.lineHeight),d=I(()=>Math.floor(a.value/t.lineHeight)),f=I(()=>Math.min(Math.ceil((a.value+i.value)/t.lineHeight),c.value.length)),p=10,h=I(()=>Math.max(0,d.value-p)),b=I(()=>{const ee=Math.min(c.value.length,f.value+p);return c.value.slice(h.value,ee)}),y=I(()=>h.value*t.lineHeight),O=I(()=>{const ee=o.value;if(!ee)return[];const ae=ee.toLowerCase(),de=[];for(let ue=0;ue<c.value.length;ue++){const Ee=c.value[ue];if(!Ee)continue;const Te=Ee.toLowerCase();let D=0;for(;D<Te.length;){const oe=Te.indexOf(ae,D);if(oe===-1)break;de.push({line:ue,start:oe,end:oe+ee.length}),D=oe+ae.length}}return de}),A=I(()=>{const ee=new Set;for(const ae of O.value)ee.add(ae.line);return ee});qe(()=>O.value.length,ee=>{ee===0?l.value=0:l.value>=ee&&(l.value=ee-1)});const x=ee=>{if(!n.value)return;const ae=ee.line*t.lineHeight,de=n.value.scrollTop,ue=de+n.value.clientHeight;(ae<de||ae+t.lineHeight>ue)&&(n.value.scrollTop=ae-n.value.clientHeight/2)},T=ee=>{const ae=O.value[ee];ae&&(l.value=ee,x(ae))},E=()=>{O.value.length!==0&&T((l.value+1)%O.value.length)},C=()=>{O.value.length!==0&&T((l.value-1+O.value.length)%O.value.length)},$=()=>{s.value=!0,Nn(()=>r.value?.focus())},R=()=>{s.value=!1,o.value="",l.value=0},j=ee=>{t.searchable&&((ee.metaKey||ee.ctrlKey)&&ee.key==="f"&&(ee.preventDefault(),ee.stopPropagation(),$()),ee.key==="Escape"&&s.value&&(ee.preventDefault(),R()))};qe(o,()=>{l.value=0;const ee=O.value[0];ee&&x(ee)});const U=()=>n.value&&(a.value=n.value.scrollTop),Y=()=>n.value&&(i.value=n.value.clientHeight);Mt(()=>{Y(),window.addEventListener("resize",Y)}),to(()=>{window.removeEventListener("resize",Y)});const W=ee=>{const ae=c.value[ee]??"";if(!o.value||!A.value.has(ee))return[{text:ae,highlight:!1,active:!1}];const de=O.value.filter(Te=>Te.line===ee),ue=[];let Ee=0;for(const Te of de){Te.start>Ee&&ue.push({text:ae.slice(Ee,Te.start),highlight:!1,active:!1});const D=O.value.indexOf(Te)===l.value;ue.push({text:ae.slice(Te.start,Te.end),highlight:!0,active:D}),Ee=Te.end}return Ee<ae.length&&ue.push({text:ae.slice(Ee),highlight:!1,active:!1}),ue},pe=ee=>h.value+ee;return(ee,ae)=>(g(),S("div",{ref_key:"containerRef",ref:n,class:Se(["scalar-virtual-text relative overflow-auto",e.containerClass]),tabindex:"0",onKeydown:j,onScroll:U},[e.searchable&&s.value?(g(),S("div",Qje,[N(jje,{ref_key:"searchRef",ref:r,query:o.value,"onUpdate:query":ae[0]||(ae[0]=de=>o.value=de),activeMatchIndex:l.value,matchCount:O.value.length,onClose:R,onNext:E,onPrev:C}
377,null,8,["query","activeMatchIndex","matchCount"])])):B("",!0),w("div",{style:kr({height:`${u.value}px`})},null,4),w("code",{class:Se(["scalar-virtual-text-content absolute left-0 right-0 top-0",e.contentClass]),style:kr({transform:`translateY(${y.value}px)`})},[(g(!0),S(le,null,it(b.value,(de,ue)=>(g(),S("div",{key:h.value+ue,class:Se(["scalar-virtual-text-line",e.lineClass]),style:kr({height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})},[o.value&&A.value.has(pe(ue))?(g(!0),S(le,{key:0},it(W(pe(ue)),(Ee,Te)=>(g(),S(le,{key:Te},[Ee.highlight?(g(),S("mark",{key:0,class:Se(["scalar-virtual-text-highlight",Ee.active?"scalar-virtual-text-highlight-active":""])},V(Ee.text),3)):(g(),S(le,{key:1},[J(V(Ee.text),1)],64))],64))),128)):(g(),S(le,{key:1},[J(V(de),1)],64))],6))),128))],6)],34))}}),bQ=ys(Fje,[["__scopeId","data-v-77b9d685"]]);const yQ=e=>{if(!e)return()=>null;const n=e.getBoundingClientRect().top;let r=null;const a=new MutationObserver(i=>{i.some(s=>s.type==="childList"||s.type==="attributes"&&(s.attributeName==="style"||s.attributeName==="class"))&&(r!==null&&cancelAnimationFrame(r),r=requestAnimationFrame(()=>{const l=e.getBoundingClientRect().top;if(l!==n){const c=l-n;window.scrollBy(0,c)}r=null}))});return a.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"],characterData:!1}),()=>{r!==null&&cancelAnimationFrame(r),a.disconnect()}};var zje=["innerHTML"],Vje={key:1,class:"text-c-2 flex h-full w-fit items-center px-0.5 py-0 text-base font-normal","data-testid":"client-picker"},Hje=["id"],qje={key:0,class:"request-card-footer-addon"},Zje={class:"request-header"},Xje=Q({__name:"CodeExample",props:{integration:{},clientOptions:{},selectedClient:{},selectedServer:{default:null},selectedContentType:{},selectedExample:{},eventBus:{},securitySchemes:{default:()=>[]},method:{},path:{},operation:{},fallback:{type:Boolean},generateLabel:{type:Function},isWebhook:{type:Boolean},globalCookies:{},requestBodyCompositionSelection:{}},emits:["update:exampleKey"],setup(e,{emit:t}){let n=t,r=I(()=>{let T=ke(e.operation.requestBody)?.content??{},E=e.selectedContentType||Object.keys(T)[0];return E?T[E]?.examples??{}:{}}),a=K(""),i=T=>{let E=Object.keys(r.value);return T&&E.includes(T)?T:a.value&&E.includes(a.value)?a.value:E[0]??""};yS(()=>{a.value=i(e.selectedExample)}),qe(()=>e.selectedExample,T=>{a.value=i(T)}),qe(()=>e.selectedContentType,()=>{Object.keys(r.value).includes(a.value)||(a.value=i(e.selectedExample))}),cr(()=>{n("update:exampleKey",a.value)});let o=T=>{a.value=T,e.eventBus.emit("workspace:update:selected-example",T)},s=I(()=>QUe(e.operation)),l=I(()=>HUe(s.value.samples,e.clientOptions,s.value.label)),c=I(()=>l.value.reduce((T,E)=>T+E.options.length,0)),u=K(Uw(l.value,e.selectedClient));qe([()=>e.selectedClient,l],([T])=>{let E=Uw(l.value,T);E&&(u.value=E)});let d=I(()=>{if(!e.isWebhook)return null;try{return oQ({operation:e.operation,method:e.method,path:e.path,example:a.value,requestBodyCompositionSelection:e.requestBodyCompositionSelection,defaultDisabledParameters:!0})}catch(T){return console.error("[webhookHar]",T),null}}),f=I(()=>e.isWebhook?d.value?.postData?.text??"":BUe({defaultDisabledParameters:!0,includeDefaultHeaders:e.integration==="client",clientId:u.value?.id,customCodeSamples:s.value.samples,operation:e.operation,method:e.method,path:e.path,contentType:e.selectedContentType,server:e.selectedServer,securitySchemes:e.securitySchemes,example:a.value,globalCookies:e.globalCookies,requestBodyCompositionSelection:e.requestBodyCompositionSelection})),p=I(()=>e.isWebhook?h.value:u.value?.lang),h=I(()=>{if(!d.value?.postData)return"json";let T=d.value.postData.mimeType;return T?.includes("json")?"json":T?.includes("xml")?"xml":T?.includes("yaml")||T?.includes("yml")?"yaml":T?.includes("text/plain")?"text":"json"}),b=I(()=>qUe(e.securitySchemes)),y=K(null),O=T=>{if(y.value){let E=yQ(y.value.$el);setTimeout(()=>{E()},300)}u.value=T,T&&e.eventBus.emit("workspace:update:selected-client",T.id)},A=I(()=>(f.value.length??0)>2e4),x=vn();return(T,E)=>f.value?(g(),L(m($m),{key:0,ref_key:"elem",ref:y,class:"request-card dark-mode"},{default:P(()=>[N(m(nv),{class:"pr-2.5"},lr({default:P(()=>[E[1]||=w("span",{class:"sr-only"},"Request Example for",-1),N(u_,{as:"span",class:"request-method",method:e.method},null,8,["method"]),e.generateLabel?(g(),S("span",{key:0,innerHTML:e.generateLabel()},null,8,zje)):B("",!0),H(T.$slots,"header",{},void 0,!0)]),_:2},[!e.isWebhook&&c.value?{name:"actions",fn:P(()=>[c.value>1?(g(),L(m(ov),{key:0,class:"max-h-80",filterFn:m(Hj),modelValue:u.value,options:l.value,placement:"bottom-end",teleport:"","onUpdate:modelValue":E[0]||=C=>O(C)},{default:P(()=>[N(m(Ln),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-0.5 py-0 text-base font-normal","data-testid":"client-picker",variant:"ghost"},{default:P(()=>[J(V(u.value?.title)+" ",1),N(m(xi),{class:"ui-open:rotate-180 mt-px size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["filterFn","modelValue","options"])):(g(),S("span",Vje,V(u.value?.title),
3771))]),key:"0"}:void 0]),1024),N(m(nd),{class:"request-editor-section custom-scroll p-0"},{default:P(()=>[w("div",{id:`${m(x)}-example`,class:"code-snippet"},[A.value?(g(),L(m(bQ),{key:1,containerClass:"custom-scroll scalar-code-block border rounded-b flex flex-1 max-h-screen",contentClass:"language-plaintext whitespace-pre font-code text-base p-2",lineHeight:20,text:f.value},null,8,["text"])):(g(),L(m(iv),{key:0,class:"bg-b-2 h-full",content:f.value,hideCredentials:b.value,lang:p.value,lineNumbers:""},null,8,["content","hideCredentials","lang"]))],8,Hje)]),_:1}),Object.keys(r.value).length>1||T.$slots.footer?(g(),L(m(uQ),{key:0,class:"request-card-footer bg-b-3"},{default:P(()=>[Object.keys(r.value).length>1?(g(),S("div",qje,[Object.keys(r.value).length?(g(),L(lQ,{key:0,examples:r.value,modelValue:a.value,"onUpdate:modelValue":o},null,8,["examples","modelValue"])):B("",!0)])):B("",!0),H(T.$slots,"footer",{exampleName:a.value},void 0,!0)]),_:3})):B("",!0)]),_:3},512)):e.fallback?(g(),L(m($m),{key:1,class:"request-card dark-mode"},{default:P(()=>[N(m(nd),{class:"request-card-simple"},{default:P(()=>[w("div",Zje,[N(u_,{as:"span",class:"request-method",method:e.method},null,8,["method"]),H(T.$slots,"header",{},void 0,!0)]),H(T.$slots,"footer",{exampleName:a.value},void 0,!0)]),_:3})]),_:3})):B("",!0)}}),Wje=(e,t)=>{let n=e.__vccOpts||e;for(let[r,a]of t)n[r]=a;return n},vQ=Wje(Xje,[["__scopeId","data-v-e8761738"]]);const Yje=(e={})=>{const{debug:t=!1}=e,n=new Map,r=new Set,a=[];let i=null;const{execute:o,flushAll:s}=nB({delay:328}
377),l=x=>{const T=n.get(x)??new Set;return n.set(x,T),T},c=()=>{if(a.length!==0){if(t)if(a.length===1){const x=a[0];x&&console.log(`[EventBus] ${x.message}`,...x.args)}else{console.groupCollapsed(`[EventBus] ${a.length} operations`);for(const{message:x,args:T}of a)console.log(x,...T);console.groupEnd()}a.length=0,i=null}},u=(x,...T)=>{t&&(a.push({message:x,args:T}),i&&clearTimeout(i),i=setTimeout(c,500))},d=(x,T)=>{const E=C=>{p(x,E),T(C)};return f(x,E)},f=(x,T)=>{const E=l(x);return E.add(T),u(`Added listener for "${String(x)}" (${E.size} total)`),()=>p(x,T)},p=(x,T)=>{const E=n.get(x);E&&(E.delete(T),u(`Removed listener for "${String(x)}" (${E.size} remaining)`),E.size===0&&n.delete(x))},h=x=>(r.add(x),u(`Added wildcard listener (${r.size} total)`),()=>b(x)),b=x=>{r.delete(x),u(`Removed wildcard listener (${r.size} remaining)`)},y=(x,T,E)=>{const C=E?.skipUnpackProxy?T:Qt(T,{depth:5}),$=n.get(x),R=$!==void 0&&$.size>0;if(!R&&r.size===0){u(`ð No listeners for "${String(x)}"`);return}if(R&&$){u(`Emitting "${String(x)}" to ${$.size} listener(s)`,T);const j=Array.from($);for(const U of j)try{U(C)}catch(Y){console.error(`[EventBus] Error in listener for "${String(x)}":`,Y)}}if(r.size>0){u(`Emitting "${String(x)}" to ${r.size} wildcard listener(s)`,T);const j={event:x,payload:C},U=Array.from(r);for(const Y of U)try{Y(j)}catch(W){console.error(`[EventBus] Error in wildcard listener for "${String(x)}":`,W)}}};return{on:f,once:d,off:p,onAny:h,offAny:b,emit:(...x)=>{const[T,E,C]=x;if(!C?.debounceKey){y(T,E,C);return}const $=`${T}-${C.debounceKey}`;o($,()=>y(T,E,C))},flushDebouncedEmits:()=>{s()}}},Gje=(...e)=>{for(const t of e)if(t){if(!Array.isArray(t)){const n=ke(t);if(n?.url)return n;continue}for(const n of t){const r=ke(n);if(r?.url)return r}}return null},Kje=e=>e!==void 0&&Object.keys(e).length>0,h_=(e,t)=>{const n={};for(const r of t){const a=e.indexOf(`{${r}}`);a!==-1&&(n[r]=a)}return n},Jje=(e,t,n,r)=>{const a=lT(t,{includePath:!0,includeEnv:!1}).filter(p=>p!==void 0),i=lT(e,{includePath:!0,includeEnv:!1}).filter(p=>p!==void 0),o=h_(t,a),s=h_(e,i),l=Object.create(null);for(const p of n){const h=r(p);h?.in==="path"&&(l[h.name]=p)}const c=new Set,u=new Set,d=[];for(const p of i){if(l[p]){c.add(p),u.add(l[p]);continue}const h=s[p],b=a.find(y=>o[y]===h&&!c.has(y));if(b&&l[b]!==void 0){const y=l[b];y&&(r(y).name=p,u.add(y)),c.add(b);continue}d.push({in:"path",name:p})}const f=[];for(const p of n){const h=r(p),b=Qt(p,{depth:1});if(h?.in!=="path"){f.push(b);continue}u.has(p)&&f.push(b)}return f.concat(d)};function Kf(e,t,n){const r=new Map;t.forEach((o,s)=>r.set(o,s));const a=[],i=[];return e.forEach(o=>{const s=r.get(n(o));if(s===void 0){i.push(o);return}a[s]=o}),[...a.filter(o=>o!==void 0),...i]}const Kr=e=>!!(e?.["x-internal"]||e?.["x-scalar-ignore"]),OQ=(e,t)=>{const n=t?.modelsSectionLabel??di,r=Pa(n),a=i=>{const o=Pa(e);if(i.type==="text")return t?.generateHeadingSlug?t?.generateHeadingSlug({slug:i.slug}):i.slug?`${o}/description/${i.slug}`:`${o}/`;if(i.type==="tag"){const s=i.isTagGroup?"tag-group":"tag";return t?.generateTagSlug?`${o}/${s}/${t.generateTagSlug(i.tag)}`:`${o}/${s}/${Pa(i.tag.name??"")}`}if(i.type==="asyncapi-channel")return`${i.parentTag?`${a({type:"tag",tag:i.parentTag.tag,parentId:i.parentTag.id})}/`:`${o}/`}asyncapi-channel/${Pa(i.channelName)}`;if(i.type==="asyncapi-message")return`${i.parentId}/asyncapi-message/${Pa(i.messageName)}`;if(i.type==="asyncapi-operation")return`${i.parentId}/asyncapi-operation/${Pa(i.operationName)}`;if(i.type==="operation"){const s=i.parentTag?`${a({type:"tag",tag:i.parentTag.tag,parentId:i.parentTag.id})}/`:`${o}/`;return t?.generateOperationSlug?`${s}${t.generateOperationSlug({path:i.path,operationId:i.operation.operationId,method:i.method.toUpperCase(),summary:i.operation.summary})}`:`${s}${i.method.toUpperCase()}${i.path}`}if(i.type==="webhook"){const s=i.parentTag?`${a({type:"tag",parentId:i.parentTag.id,tag:i.parentTag.tag})}/`:`${o}/`;return t?.generateWebhookSlug?`${s}webhook/${t.generateWebhookSlug({name:i.name,method:i.method?.toUpperCase()})}`:`${s}webhook/${i.method?.toUpperCase()}/${Pa(i.name,{allowedSpecialChars:"."})}`}if(i.type==="model"){if(!i.name)return`${o}/${r}`;const s=i.parentTag?`${a({type:"tag",parentId:i.parentTag.id,tag:i.parentTag.tag})}/`:`${o}/`;return t?.generateModelSlug?`${s}${r}/${t.generateModelSlug({name:i.name})}`:`${s}${r}/${Pa(i.name,{preserveCase:!0})}`}return i.type==="example"?`${i.parentId}/example/${Pa(i.name)}`:i.type==="document"?o:(console.warn("[WARNING]: unhandled id generation for navigation item:",i),"unknown-id")}
377;return{hideModels:t?.hideModels??!1,modelsSectionLabel:n,operationsSorter:t?.operationsSorter,tagsSorter:t?.tagsSorter,operationTitleSource:t?.operationTitleSource,generateId:a}},qs=({tagsMap:e,name:t,documentId:n,generateId:r})=>(e.get(t)||e.set(t,{id:r({type:"tag",tag:{name:t},parentId:n}),parentId:n,entries:[],tag:{name:t}}),e.get(t));function m_(e){return e.replace(/!\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/(\*{3}|_{3})(.+?)\1/g,"$2").replace(/(\*{2}|_{2})(.+?)\1/g,"$2").replace(/(\*|_)(.+?)\1/g,"$2").replace(/~~(.+?)~~/g,"$1").replace(/`([^`]+)`/g,"$1").replace(/<[^>]+>/g,"").replace(/[<>]/g,"").trim()}function eQe(e){const t=e.split(/\r?\n/),n=[];let r=!1,a="",i=0;for(let o=0;o<t.length;o++){const s=t[o]??"",l=s.trimStart();if(r){const b=/^(`{3,}|~{3,})\s*$/.exec(l)?.[1];b&&b[0]===a&&b.length>=i&&(r=!1);continue}else{const b=/^(`{3,}|~{3,})/.exec(l)?.[1];if(b){r=!0,a=b.charAt(0),i=b.length;continue}}if(/^(?: {4}|\t)/.test(s))continue;const c=/^(#{1,6})\s+(.+?)(?:\s+#+\s*)?$/.exec(l),u=c?.[1],d=c?.[2];if(u&&d){const b=m_(d);b&&n.push({depth:u.length,value:b});continue}const f=t[o+1];if(!f||/^(?: {4}|\t)/.test(f))continue;const p=/^(=+|-+)\s*$/.exec(f.trim())?.[1];if(!p)continue;const h=m_(l);h&&(n.push({depth:p[0]==="="?1:2,value:h}),o++)}return n}const U2=(e={})=>{const t=new Map;return{slug(n){const r=Pa(n,e),a=t.get(r);if(a===void 0)return t.set(r,0),r;const i=a+1;return t.set(r,i),`${r}-${i}`},reset(){t.clear()}}},tQe=(e,t)=>e.map(n=>({...n,slug:t(n.value)}));function nQe(e){const{slug:t}=U2(),n=eQe(e);return tQe(n,t)}const rQe=e=>{const t=Math.min(...e.map(n=>n.depth));return t>=1&&t<=6?t:1},n4={TITLE:"Introduction",SLUG:"introduction"},g_=(e,t,n)=>({id:e({type:"text",depth:1,slug:n4.SLUG,parentId:t,info:n,value:n4.TITLE}),title:n4.TITLE,type:"text"}),SQ=({generateId:e,parentId:t,info:n})=>{const r=n.description?.trim();if(!r)return[g_(e,t,n)];const a=nQe(r),i=rQe(a),o=[];let s=null,l=null;if(!r.startsWith("#")){const c=g_(e,t,n);o.push(c),s=c}for(const c of a){if(c.depth!==i&&c.depth!==i+1)continue;const u={id:e({type:"text",depth:c.depth,slug:c.slug,parentId:t,info:n,value:c.value}),title:c.value,type:"text"};c.depth===i?(u.children=[],s?(s.children||(s.children=[]),s.children.push(u)):o.push(u),l=u):l&&l.children?.push(u)}return o},b_=({ref:e,name:t,generateId:n,parentTag:r,_schema:a,parentId:i})=>{const o=n({name:t,type:"model",parentTag:r,parentId:i,schema:a}),s=ke(a),l=s&&"title"in s&&s.title||t;return{id:o,title:l,name:t,ref:e,type:"model"}},wQ=({document:e,tagsMap:t,generateId:n,documentId:r})=>{const a=e.components?.schemas??{},i=[];for(const o in a){if(!Object.hasOwn(a,o))continue;const s=ke(a[o],Qr);if(Kr(s))continue;const l=`#/components/schemas/${o}`;s?.["x-tags"]?s["x-tags"].forEach(c=>{const{tag:u,id:d}=qs({tagsMap:t,name:c,documentId:r,generateId:n});t.get(c)?.entries.push(b_({ref:l,name:o,generateId:n,parentTag:{tag:u,id:d},parentId:r}))}):i.push(b_({ref:l,name:o,generateId:n,_schema:ke(a[o]),parentId:r}))}return i},E6=(...e)=>{for(const t of e){const n=t?.trim();if(n)return n}},xQ=(e,t)=>typeof t.address=="string"&&t.address.length>0?t.address:e,aQe=(e,t)=>E6(e.title,e.summary)??xQ(t,e),iQe=(e,t)=>E6(e.title,e.summary)??t,oQe=(e,t)=>E6(e.title,e.summary,e.name)??t,sQe=e=>e.match(/^#\/channels\/([^/]+)$/)?.[1],lQe=(e,t)=>{const n=t.channel;if(!n||!("$ref"in n))return;const r=sQe(n.$ref);if(!r)return;const a=e.channels?.[r];if(a)return{channelName:r,channel:ke(a,Qr)}},cQe=(e,t,n)=>{const r=t.messages??{};if(e.messages===void 0)return Od(r);if(e.messages.length===0)return[];const a=`#/channels/${n}/messages/`,i=new Set;for(const o of e.messages)if("$ref"in o){if(o.$ref.startsWith(a)){const s=o.$ref.slice(a.length);if(r[s]){i.add(s);continue}}for(const[s,l]of Object.entries(r))l&&"$ref"in l&&l.$ref===o.$ref&&i.add(s)}return[...i]},uQe=e=>{const t=ke(e,Qr);return{name:t.name,description:t.description}},dQe=(e,t)=>{if(t==="alpha"){e.sort((n,r)=>n.title.localeCompare(r.title));return}if(t==="method"){e.sort((n,r)=>n.action.localeCompare(r.action));return}typeof t=="function"&&e.sort((n,r)=>t({method:n.action,path:n.operationName,ref:n.operationName,httpVerb:n.action},{method:r.action,path:r.operationName,ref:r.operationName,httpVerb:r.action}))},fQe=e=>{e.sort((t,n)=>t.title.localeCompare(n.title))}
377,pQe=({channelName:e,channel:t,operationId:n,messageNames:r,generateId:a})=>{const i=r.flatMap(o=>{const s=t.messages?.[o];if(!s)return[];const l=ke(s,Qr);return Kr(l)?[]:[{type:"asyncapi-message",id:a({type:"asyncapi-message",messageName:o,channelName:e,parentId:n}),title:oQe(l,o),messageName:o,channelName:e}]});return fQe(i),i},hQe=({operationName:e,operation:t,channel:n,channelName:r,channelAddress:a,generateId:i,parentId:o})=>{if(Kr(t))return;const s=i({type:"asyncapi-operation",operationName:e,parentId:o}),l=pQe({channelName:r,channel:n,operationId:s,messageNames:cQe(t,n,r),generateId:i});return{type:"asyncapi-operation",id:s,title:iQe(t,e),operationName:e,action:t.action,channelName:r,channelAddress:a,children:l.length>0?l:void 0}},y_=({bucket:e,operationEntries:t,generateId:n,parentId:r,parentTag:a,operationsSorter:i,document:o})=>{if(Kr(e.channel))return;const s=n({type:"asyncapi-channel",channelName:e.channelName,parentId:r,parentTag:a}),l=t.flatMap(({operationName:u,operation:d})=>{const f=hQe({operationName:u,operation:d,channel:e.channel,channelName:e.channelName,channelAddress:e.channelAddress,generateId:n,parentId:s});return f?[f]:[]});if(dQe(l,i),l.length===0)return;const c=o.channels?.[e.channelName];return c&&!("$ref"in c)&&(c["x-scalar-order"]=l.map(u=>u.id)),{type:"asyncapi-channel",id:s,title:aQe(e.channel,e.channelName),channelName:e.channelName,channelAddress:e.channelAddress,children:l}},mQe=({tag:e,generateId:t,children:n,parentId:r})=>{const a=t({type:"tag",tag:e,parentId:r,isGroup:!1}),i=e["x-displayName"]??e.name??"Untitled Tag";return e["x-scalar-order"]=n.map(o=>o.id),{type:"tag",id:a,title:i,name:e.name||i,description:e.description,children:n,isGroup:!1,isWebhooks:!1}},gQe=({tagKeys:e,tagsMap:t,documentId:n,options:{tagsSorter:r,generateId:a},sortOrder:i})=>{const o=e.flatMap(s=>{const{tag:l,entries:c}=qs({tagsMap:t,name:s,documentId:n,generateId:a});if(Kr(l))return[];const u=l["x-scalar-order"];return mQe({tag:l,generateId:a,children:u?Kf(c,u,d=>d.id):c,parentId:n})});return i?Kf(o,i,s=>s.id):(r==="alpha"?o.sort((s,l)=>s.title.localeCompare(l.title)):typeof r=="function"&&o.sort((s,l)=>r(qs({tagsMap:t,name:s.name,documentId:n,generateId:a}).tag,qs({tagsMap:t,name:l.name,documentId:n,generateId:a}).tag)),o)},v_=(e,t,n)=>{const r=e.get(t);if(r)return r;const a={channelName:t,channel:n,channelAddress:xQ(t,n),channelTags:n.tags?.map(uQe)??[],operations:[]};return e.set(t,a),a},bQe=e=>{const t=new Map;for(const[n,r]of Object.entries(e.channels??{})){if(!r)continue;const a=ke(r,Qr);Kr(a)||v_(t,n,a)}for(const[n,r]of Object.entries(e.operations??{})){if(!r)continue;const a=ke(r,Qr);if(Kr(a))continue;const i=lQe(e,a);if(!i)continue;v_(t,i.channelName,i.channel).operations.push({operationName:n,operation:a})}return t},yQe=(e,t,n)=>{const{generateId:r,operationsSorter:a,tagsSorter:i,hideModels:o,modelsSectionLabel:s}=OQ(e,n),l=r({type:"document",info:t.info,name:e}),c=bQe(t),u=new Map,d=[];for(const O of c.values()){if(O.channelTags.length===0){const A=y_({bucket:O,operationEntries:O.operations,generateId:r,parentId:l,operationsSorter:a,document:t});A&&d.push(A)}for(const A of O.channelTags){const x=A.name??"Untitled Tag",{id:T,entries:E}
377=qs({tagsMap:u,name:x,documentId:l,generateId:r});if(E.some(R=>R.type==="asyncapi-channel"&&R.channelName===O.channelName))continue;const $=y_({bucket:O,operationEntries:O.operations,generateId:r,parentId:T,parentTag:{tag:A,id:T},operationsSorter:a,document:t});$&&E.push($)}}const f=t.components?ke(t.components,Qr):void 0,p=!o&&f?.schemas?wQ({documentId:l,document:{components:f},generateId:r,tagsMap:u}):[],h=SQ({generateId:r,parentId:l,info:t.info});u.size>0&&h.push(...gQe({tagKeys:[...u.keys()],tagsMap:u,documentId:l,options:{tagsSorter:i,generateId:r},sortOrder:t["x-scalar-order"]})),a==="alpha"&&d.sort((O,A)=>O.title.localeCompare(A.title)),h.push(...d),p.length&&h.push({type:"models",id:r({type:"model",parentId:l}),title:s,name:s,children:p});const b=t["x-scalar-order"],y=b?Kf(h,b,O=>O.id):h;return t["x-scalar-order"]=Qt(y.map(O=>O.id)),{id:l,type:"document",title:t.info?.title?.trim()||"Untitled Document",name:e,children:y,icon:t["x-scalar-icon"]}};function sv(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}const vQe=e=>{const t=new Set(e["x-draft-examples"]??[]);if(e.requestBody){const n=ke(e.requestBody);Object.values(n.content??{}).forEach(r=>{Object.keys(r.examples??{}).forEach(a=>{t.add(a)})})}return e.parameters&&e.parameters.forEach(n=>{const r=ke(n)??{};"content"in r&&r.content&&Object.values(r.content).forEach(a=>{Object.keys(a.examples??{}).forEach(i=>{t.add(i)})}),"examples"in r&&r.examples&&Object.keys(r.examples??{}).forEach(a=>{t.add(a)})}),Array.from(t)},Fw=e=>e.deprecated||e["x-scalar-stability"]===Koe.Deprecated,O_=({ref:e,operation:t,method:n,path:r,generateId:a,parentId:i,parentTag:o,operationTitleSource:s})=>{const l=a({type:"operation",operation:t,parentTag:o,method:n,path:r,parentId:i}),c=s==="path"?r:t.summary?.trim()?t.summary:r,u=Fw(t),d=vQe(t).map(p=>({type:"example",id:a({type:"example",parentId:l,name:p}),title:p,name:p}));return{id:l,title:c,path:r,method:n,ref:e,type:"operation",isDeprecated:u,children:d.length?d:void 0}},OQe=({document:e,tagsMap:t,generateId:n,documentId:r,operationTitleSource:a})=>{const i=[];return Object.entries(e.paths??{}).forEach(([o,s])=>{mN(s,(l,c)=>{const u=ke(c,Qr);if(!u||Kr(u))return;const d=`#/paths/${sv(o)}/${l}`;u.tags?.length?u.tags.forEach(f=>{const{tag:p,id:h}=qs({tagsMap:t,name:f,documentId:r,generateId:n});t.get(f)?.entries.push(O_({ref:d,operation:u,method:l,path:o,parentTag:{tag:p,id:h},generateId:n,parentId:h,operationTitleSource:a}))}):i.push(O_({ref:d,operation:u,method:l,path:o,generateId:n,parentId:r,operationTitleSource:a}))})}),{untaggedOperations:i}},SQe=e=>e?Object.fromEntries(Object.entries(e).filter(([t])=>t.startsWith("x-"))):{},kQ=({tag:e,generateId:t,children:n,isGroup:r=!1,isTagGroup:a=!1,parentId:i})=>{const o=t({type:"tag",tag:e,parentId:i,isGroup:r,isTagGroup:a}),s=e["x-displayName"]??e.summary??e.name??"Untitled Tag";return e["x-scalar-order"]=n.map(c=>c.id),{id:o,title:s,name:e.name||s,description:e.description,children:n,isGroup:r,...a?{isTagGroup:!0}:{},isWebhooks:!1,type:"tag",xKeys:SQe(Qt(e))}},r4=({_keys:e,tagsMap:t,options:{tagsSorter:n,operationsSorter:r,generateId:a},documentId:i,sortOrder:o})=>{const s=e.flatMap(l=>{const{tag:c,entries:u}=qs({tagsMap:t,name:l,documentId:i,generateId:a});if(Kr(c))return[];const d=c["x-scalar-order"];return d===void 0&&(r==="alpha"?u.sort((f,p)=>f.type==="operation"&&p.type==="operation"?f.title.localeCompare(p.title):0):r==="method"?u.sort((f,p)=>f.type==="operation"&&p.type==="operation"?f.method.localeCompare(p.method):0):typeof r=="function"&&u.sort((f,p)=>{if(!(f.type==="operation"||f.type==="webhook")||!(p.type==="operation"||p.type==="webhook"))return 0;const h=f.type==="operation"?f.path:f.name,b=p.type==="operation"?p.path:p.name;return r({method:f.method,path:h,ref:f.ref,httpVerb:f.method},{method:p.method,path:b,ref:p.ref,httpVerb:p.method})})),kQ({tag:c,generateId:a,children:d?Kf(u,d,f=>f.id):u,parentId:i,isGroup:!1})});return o?Kf(s,o,l=>l.id):(n==="alpha"?s.sort((l,c)=>(l.title||"Untitled Tag").localeCompare(c.title||"Untitled Tag")):typeof n=="function"&&s.sort((l,c)=>n(qs({tagsMap:t,name:l.name,documentId:i,generateId:a}).tag,qs({tagsMap:t,name:c.name,documentId:i,generateId:a}).tag)),s)},AQ=e=>{const t=new Set(e.flatMap(r=>typeof r.name=="string"?r.name:[])),n=new Map;for(const r of e)r.name&&r.parent&&r.parent!==r.name&&t.has(r.parent)&&n.set(r.name,r.parent);return n},TQ=(e,t)=>{const n=new Set([t]);let r=e.get(t);for(;r;){if(n.has(r))return!0;n.add(r),r=e.get(r)}return!1},wQe=({flatEntries:e,document:t,originalOrders:n})=>{const r=new Map,a=new Map;for(const c of e)c.type==="tag"&&(r.set(c.name,c),a.set(c.name,(c.children?.length??0)>0));const i=AQ(t.tags??[]),o=new Set,s=new Set;for(const[c,u]of r){const d=i.get(c);if(d===void 0||TQ(i,c))continue;const f=r.get(d);f&&(f.children=f.children??[],f.children.push(u),o.add(c),s.add(d))}const l=new Map;for(const c of t.tags??[])c.name&&l.set(c.name,c);for(const c of s){const u=r.get(c);if(!u)continue;const d=n.get(c);d&&(u.children=Kf(u.children??[],d,p=>p.id));const f=l.get(c);f&&(f["x-scalar-order"]=(u.children??[]).map(p=>p.id))}for(const[c,u]of r)(u.children??[]).some(f=>f.type==="tag")&&!a.get(c)&&(u.isGroup=!0);return e.filter(c=>!(c.type==="tag"&&o.has(c.name)))},xQe=({document:e,tagsMap:t,documentId:n,options:{generateId:r,tagsSorter:a,operationsSorter:i}})=>{const o=AQ(e.tags??[]);if(Array.from(o.keys()).some(u=>!TQ(o,u))){const u=new Map;for(const f of e.tags??[])f.name&&f["x-scalar-order"]&&u.set(f.name,f["x-scalar-order"]);const d=r4({_keys:Array.from(t.keys()),tagsMap:t,options:{generateId:r,tagsSorter:a,operationsSorter:i},documentId:n,sortOrder:e["x-scalar-order"]});return wQe({flatEntries:d,document:e,originalOrders:u})}if(e["x-tagGroups"])return e["x-tagGroups"].flatMap(d=>{const f=r4({_keys:d.tags,tagsMap:t,options:{tagsSorter:a,operationsSorter:i,generateId:r},documentId:n,sortOrder:d["x-scalar-order"]});return d["x-scalar-order"]=f.map(p=>p.id),f.length?kQ({tag:d,generateId:r,children:f,parentId:n,isGroup:!0,isTagGroup:!0}
377):[]});const l=Array.from(t.keys());return r4({_keys:l,tagsMap:t,options:{generateId:r,tagsSorter:a,operationsSorter:i},documentId:n,sortOrder:e["x-scalar-order"]})},S_=({ref:e,method:t,name:n,title:r,generateId:a,parentTag:i,webhook:o,isDeprecated:s,parentId:l})=>({id:a({type:"webhook",name:n,method:t,webhook:o,parentTag:i,parentId:l}),title:r,name:n,ref:e,method:t,type:"webhook",isDeprecated:s}),kQe=({document:e,tagsMap:t,generateId:n,untaggedWebhooksParentId:r,documentId:a})=>{const i=[];return Object.entries(e.webhooks??{}).forEach(([o,s])=>{mN(s,(l,c)=>{const u=ke(c,Qr);if(!u||Kr(u))return;const d=`#/webhooks/${o}/${l}`;u.tags?.length?u.tags.forEach(f=>{const{tag:p,id:h}=qs({tagsMap:t,name:f,documentId:a,generateId:n});t.get(f)?.entries.push(S_({ref:d,method:l,name:o,title:u.summary??o,webhook:u,generateId:n,parentTag:{tag:p,id:h},parentId:h,isDeprecated:Fw(u)}))}):i.push(S_({ref:d,method:l,name:o,title:u.summary??o,generateId:n,isDeprecated:Fw(u),webhook:u,parentId:r}))})}),i},w_=(e,t,n)=>{const{hideModels:r,modelsSectionLabel:a,tagsSorter:i,operationsSorter:o,generateId:s,operationTitleSource:l}=OQ(e,n),c=s({type:"document",info:t.info,name:e}),u=new Map(t.tags?.map(A=>[A.name??"Untitled Tag",{id:s({type:"tag",tag:A,parentId:c}),parentId:c,tag:A,entries:[]}])??[]),d=SQ({generateId:s,parentId:c,info:t.info}),{untaggedOperations:f}=OQe({document:t,tagsMap:u,generateId:s,documentId:c,operationTitleSource:l}),p=s({type:"webhook",name:"",parentId:c}),h=kQe({document:t,generateId:s,tagsMap:u,untaggedWebhooksParentId:p,documentId:c}),b=xQe({document:t,tagsMap:u,documentId:c,options:{tagsSorter:i,operationsSorter:o,generateId:s}});if(d.push(...b),d.push(...f),h.length&&d.push({type:"tag",id:p,title:"Webhooks",name:"Webhooks",children:h,isGroup:!1,isWebhooks:!0}),!r&&t.components?.schemas){const A=wQ({documentId:c,document:t,generateId:s,tagsMap:u});A.length&&d.push({type:"models",id:s({type:"model",parentId:c}),title:a,name:a,children:A})}const y=t["x-scalar-order"];y&&d.sort((A,x)=>{const T=y.indexOf(A.id),E=y.indexOf(x.id),C=T===-1?Number.POSITIVE_INFINITY:T,$=E===-1?Number.POSITIVE_INFINITY:E;return C-$}),t["x-scalar-order"]=Qt(d.map(A=>A.id));const O=t.info?.title?.trim()||"Untitled Document";return{id:c,type:"document",title:O,name:e,children:d,icon:t["x-scalar-icon"]}};var AQe={"aria-hidden":"true",class:"client-libraries-icon__more"},TQe={key:1,class:"client-libraries-icon",height:"50",role:"presentation",viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},EQe={key:0,class:"client-libraries-text client-libraries-text-more"},_Qe={class:"sr-only"},CQe=Q({__name:"ClientDropdown",props:{clientOptions:{},selectedClient:{},eventBus:{}},setup(e){const t=K(),{translate:n}=Ot(),r=o=>`programming-language-${o==="js"?"javascript":o}`,a=o=>{if(!t.value)return;const s=yQ(t.value);setTimeout(()=>{s()},300),o.clientKey!=="custom"&&e.eventBus.emit("workspace:update:selected-client",o.id)},i=I(()=>e.selectedClient?.split("/")[0]);return(o,s)=>(g(),S("div",{ref_key:"containerRef",ref:t,class:"client-libraries-more"},[N(m(ov),{filterFn:m(Hj),modelValue:m(Uw)(e.clientOptions,e.selectedClient),options:e.clientOptions,placement:"bottom-end",teleport:"","onUpdate:modelValue":s[0]||(s[0]=l=>a(l))},{default:P(()=>[w("button",{class:Se(["client-libraries client-libraries__select",{"client-libraries__active":e.selectedClient&&!m(Pw)(e.selectedClient)}]),type:"button"},[w("div",AQe,[e.selectedClient&&!m(Pw)(e.selectedClient)?(g(),S("div",{key:0,class:Se(`client-libraries-icon__${i.value}`)},[i.value?(g(),L(m(yr),{key:0,class:"client-libraries-icon",icon:r(i.value)},null,8,["icon"])):B("",!0)],2)):(g(),S("svg",TQe,[...s[1]||(s[1]=[w("g",{fill:"currentColor","fill-rule":"nonzero"},[w("path",{d:"M10.71 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M21.13 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M31.55 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0"})],-1)])]))]),e.clientOptions.length?(g(),S("span",EQe,V(m(n)("clientLibraries.more")),1)):B("",!0),w("span",_Qe,V(m(n)("clientLibraries.selectAll")),1)],2)]),_:1},8,["filterFn","modelValue","options"])],512))}}
377),$Qe=ct(CQe,[["__scopeId","data-v-da3e3bd2"]]),PQe={key:0,ref:"wrapper-ref"},IQe=["id"],NQe={class:"client-libraries-list"},RQe={class:"client-libraries-text"},MQe=["id"],LQe=Q({__name:"ClientSelector",props:{clientOptions:{},selectedClient:{default:()=>s_},eventBus:{}},setup(e,{expose:t}){const n=vn(),r=vn(),{translate:a}=Ot(),i=p=>!!p?.startsWith("custom/"),o=K(i(e.selectedClient)?s_:e.selectedClient);qe(()=>e.selectedClient,p=>{i(p)||(o.value=p)});const s=I(()=>e.clientOptions.flatMap(p=>p.options.find(h=>h.id===o.value)??[])[0]),l=I(()=>ILe(e.clientOptions)),c=I(()=>l.value.findIndex(p=>p.id===o.value)),u=vi("wrapper-ref"),d=p=>`programming-language-${p==="js"?"javascript":p}`,f=p=>{const h=l.value[p];!h||!u.value||e.eventBus.emit("workspace:update:selected-client",h.id)};return t({selectedClientOption:s}),(p,h)=>e.clientOptions.length?(g(),S("div",PQe,[N(m(bD),{manual:"",selectedIndex:c.value,onChange:f},{default:P(()=>[w("div",{id:m(n),class:"client-libraries-heading"},V(m(a)("clientLibraries.heading")),9,IQe),w("div",NQe,[N(m(yD),{"aria-labelledby":m(n),class:"client-libraries-tabs",style:kr({flexGrow:l.value.length})},{default:P(()=>[(g(!0),S(le,null,it(l.value,b=>(g(),L(m(vD),{key:b.clientKey,class:Se(["client-libraries rendered-code-sdks",{"client-libraries__active":b.id===o.value}])},{default:P(()=>[w("div",{class:Se(`client-libraries-icon__${b.targetKey}`)},[N(m(yr),{class:"client-libraries-icon",icon:d(b.targetKey)},null,8,["icon"])],2),w("span",RQe,V(b.targetTitle),1)]),_:2},1032,["class"]))),128))]),_:1},8,["aria-labelledby","style"]),N($Qe,{clientOptions:e.clientOptions,eventBus:e.eventBus,selectedClient:o.value},null,8,["clientOptions","eventBus","selectedClient"])]),N(m(uxe),null,{default:P(()=>[m(Pw)(o.value)?(g(!0),S(le,{key:0},it(l.value,b=>(g(),L(m(dxe),{key:b.id,class:"selected-client card-footer -outline-offset-2"},{default:P(()=>[J(V(b.title),1)]),_:2},1024))),128)):(g(),S("div",{key:1,id:m(r),class:"selected-client card-footer -outline-offset-2",role:"tabpanel",tabindex:"0"},V(s.value?.title),9,MQe))]),_:1})]),_:1},8,["selectedIndex"])],512)):B("",!0)}}),DQe=ct(LQe,[["__scopeId","data-v-34beffcc"]]),j2=e=>e?Object.fromEntries(Object.entries(e).filter(([t])=>t.startsWith("x-"))):{},BQe=Q({inheritAttrs:!1,__name:"Badge",props:{color:{}},setup(e){const{cx:t}=At(),n=I(()=>e.color?{backgroundColor:e.color,color:`color-mix(in srgb, ${e.color}, black 40%)`}:void 0);return(r,a)=>(g(),S("div",Ae(m(t)("badge inline-block rounded-2xl border bg-b-2 px-1.5 py-0.5 text-c-2 text-sm"),{style:n.value}),[H(r.$slots,"default",{},void 0,!0)],16))}}),Zi=ct(BQe,[["__scopeId","data-v-3f3e4ac3"]]);const UQe=new Set(["http:","https:","mailto:","tel:","ftp:","ftps:","sms:"]),jQe=/^([a-z][a-z0-9+.-]*):/i,QQe=/[\u0000-\u0020\u007f-\u009f]/g,FQe=e=>{if(!e)return!1;const t=e.replace(QQe,"");if(!t)return!1;const n=jQe.exec(t)?.[1];return n?UQe.has(`${n.toLowerCase()}:`):!0},Up=e=>FQe(e)?e:void 0;var zQe=["href"],VQe=Q({__name:"DownloadLink",props:{documentDownloadType:{},eventBus:{},documentUrl:{},documentType:{default:"openapi"}},setup(e){const{translate:t}=Ot(),n=I(()=>e.documentType==="asyncapi"?t("download.asyncapi"):t("download.openapi")),r=I(()=>Up(e.documentUrl)),a=i=>{e.eventBus.emit("ui:download:document",{format:i})};return(i,o)=>["yaml","json","both"].includes(e.documentDownloadType)||e.documentDownloadType==="direct"&&r.value?(g(),S("div",{key:0,class:Se(["download-container group",{"download-both":e.documentDownloadType==="both"}])},[e.documentDownloadType==="direct"&&r.value?(g(),S("a",{key:0,class:"download-link download-button",href:r.value},[w("span",null,V(n.value),1)],8,zQe)):B("",!0),e.documentDownloadType==="json"||e.documentDownloadType==="both"?(g(),S("button",{key:1,class:"download-button",type:"button",onClick:o[0]||(o[0]=jt(()=>a("json"),["prevent"]))},[w("span",null,V(n.value),1),N(Zi,{class:"extension hidden group-hover:flex"},{default:P(()=>[...o[2]||(o[2]=[J("json",-1)])]),_:1})])):B("",!0),e.documentDownloadType==="yaml"||e.documentDownloadType==="both"?(g(),S("button",{key:2,class:"download-button",type:"button",onClick:o[1]||(o[1]=jt(()=>a("yaml"),["prevent"]))},[w("span",null,V(n.value),1),N(Zi,{class:"extension hidden group-hover:flex"},{default:P(()=>[...o[3]||(o[3]=[J("yaml",-1)])]),_:1})])):B("",!0)],2)):B("",!0)}}),HQe=ct(VQe,[["__scopeId","data-v-0aba6db2"]]),qQe=Q({__name:"IntroductionCard",props:{row:{type:Boolean}},setup(e){return(t,n)=>(g(),S("div",{class:Se(["introduction-card",{"introduction-card-row":e.row}])},[H(t.$slots,"default",{},void 0,!0)],2))}}),ZQe=ct(qQe,[["__scopeId","data-v-e60166e1"]]),XQe=Q({__name:"Section",emits:["intersecting"],setup(e,{emit:t}){const n=t,r=vi("section");return Ed(r,()=>n("intersecting")),(a,i)=>(g(),S("section",{ref_key:"section",ref:r,class:"section"},[H(a.$slots,"default",{},void 0,!0)],512))}}),jp=ct(XQe,[["__scopeId","data-v-be4443e9"]]),WQe={},YQe={class:"section-column"};function GQe(e,t){return g(),S("div",YQe,[H(e.$slots,"default",{},void 0,!0)])}var Jf=ct(WQe,[["render",GQe],["__scopeId","data-v-699c28e3"]]),KQe={},JQe={class:"section-columns"};function eFe(e,t){return g(),S("div",JQe,[H(e.$slots,"default",{},void 0,!0)])}var _6=ct(KQe,[["render",eFe],["__scopeId","data-v-8b9602bf"]]),tFe={key:1,class:"section-container"},nFe=Q({__name:"SectionContainer",props:{omit:{type:Boolean}},setup(e){return(t,n)=>e.omit?H(t.$slots,"default",{},void 0,!0):(g(),S("div",tFe,[H(t.$slots,"default",{},void 0,!0)]))}}),L0=ct(nFe,[["__scopeId","data-v-20a1472a"]]),rFe={},aFe={class:"section-content"};function iFe(e,t){return g(),S("div",aFe,[H(e.$slots,"default",{},void 0,!0)])}var lv=ct(rFe,[["render",iFe],["__scopeId","data-v-6101128d"]]),oFe={class:"section-header-wrapper narrow:grid-cols-1 narrow:gap-0 grid grid-cols-2 gap-12"},sFe=Q({__name:"SectionHeader",props:{tight:{type:Boolean},removeMargin:{type:Boolean,default:!1}},setup(e){return(t,n)=>(g(),S("div",oFe,[w("div",{class:Se(["section-header",{tight:e.tight,"mb-3":!e.removeMargin}])},[H(t.$slots,"default",{},void 0,!0)],2),t.$slots.links?H(t.$slots,"links",{},void 0,!0):B("",!0)]))}}),rd=ct(sFe,[["__scopeId","data-v-7607c44e"]]),lFe=Q({__name:"SectionHeaderTag",props:{level:{default:1}},setup(e){return(t,n)=>(g(),L(Yt(`h${e.level}`),{class:"section-header-label"},{default:P(()=>[H(t.$slots,"default",{},void 0,!0)]),_:3}))}}),_o=ct(lFe,[["__scopeId","data-v-f1ac6c38"]]),cFe={key:1,class:"rounded border bg-b-2 p-3 text-sm"},uFe={key:0,class:"mt-2 rounded border bg-b-1 p-2 font-code text-c-2"},dFe=Q({__name:"ScalarErrorBoundary",setup(e){const t=K(!1),n=K();return UX((r,a,i)=>(console.error("[ERROR]",r,i),t.value=!0,n.value=r,!1)),(r,a)=>t.value?(g(),S("div",cFe,[a[0]||(a[0]=w("div",{class:"p-2"},"Oops, something went wrong here.",-1)),n.value?(g(),S("div",uFe,V(n.value?.name)+": "+V(n.value?.message),1)):B("",!0)])):H(r.$slots,"default",{},void 0,void 0)}}),Wo=dFe,fFe={key:0,class:"text-base"},pFe=Q({__name:"SpecificationExtension",props:{value:{}},setup(e){const{getSpecificationExtensions:t}=WD();function n(o){return Object.keys(o??{}).filter(s=>s.startsWith("x-"))}function r(o){return o.flatMap(s=>t(s)).filter(s=>s.component)}const a=I(()=>n(e.value)),i=I(()=>r(a.value));return(o,s)=>typeof e.value=="object"&&i.value.length?(g(),S("div",fFe,[(g(!0),S(le,null,it(i.value,l=>(g(),L(m(Wo),null,{default:P(()=>[l.renderer?(g(),L(Yt(l.renderer),Ae({key:0,ref_for:!0},{[l.name]:e.value?.[l.name],component:l.component}),null,16)):(g(),L(Yt(l.component),Ae({key:1,ref_for:!0},{[l.name]:e.value?.[l.name]}),null,16))]),_:2},1024))),256))])):B("",!0)}}),ep=pFe,hFe=["id"],mFe=Q({__name:"InfoMarkdownSection",props:{id:{},content:{},transformHeading:{type:Function},eventBus:{}},setup(e){const t=vi("element");return Ed(t,()=>e.id?e.eventBus?.emit("intersecting:nav-item",{id:e.id}):void 0),(n,r)=>(g(),S("div",{id:e.id,ref_key:"element",ref:t,class:"introduction-description-heading scroll-mt-16"},[N(m(Jr),{transform:e.transformHeading,transformType:"heading",value:e.content,withImages:""},null,8,["transform","value"])],8,hFe))}}),gFe=mFe,bFe={key:0,class:"introduction-description mt-6 flex flex-col"},yFe=Q({__name:"InfoDescription",props:{eventBus:{},headingSlugGenerator:{type:Function},description:{}},setup(e){const t=I(()=>
377{if(!e.description)return[];const{slug:r}=U2();return wLe(e.description).map(a=>{const i=SLe(a)[0];return{id:i?e.headingSlugGenerator({...i,slug:r(i.value)}):void 0,content:a}})}),n=r=>{if(!Qj(r))return r;const{slug:a}=U2(),i=Gy(r);return r.data={hProperties:{id:e.headingSlugGenerator({depth:r.depth,value:i,slug:a(i)})}},r};return(r,a)=>e.description?(g(),S("div",bFe,[(g(!0),S(le,null,it(t.value,i=>(g(),L(gFe,{id:i.id,key:i.id,content:i.content,eventBus:e.eventBus,transformHeading:n},null,8,["id","content","eventBus"]))),128))])):B("",!0)}}),vFe=ct(yFe,[["__scopeId","data-v-0370764f"]]),OFe=Q({__name:"LinkList",setup(e){const t=K(),n=K(!1),r=()=>{if(!t.value)return;const{scrollWidth:i,clientWidth:o}=t.value;n.value=i>o};let a=null;return Mt(()=>{r(),window.addEventListener("resize",r),t.value&&(a=new MutationObserver(()=>{r()}),a.observe(t.value,{childList:!0,subtree:!0}))}),Aa(()=>{window.removeEventListener("resize",r),a&&(a.disconnect(),a=null)}),(i,o)=>(g(),S("div",{ref_key:"containerRef",ref:t,class:Se(["custom-scroll narrow:mb-3 mb-1.5 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-x-auto text-base whitespace-nowrap",{"icons-only":n.value}])},[H(i.$slots,"default",{},void 0,!0)],2))}}),C6=ct(OFe,[["__scopeId","data-v-dc833d99"]]),SFe={key:0,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},wFe={key:0,class:"ml-1 empty:hidden"},xFe={key:1,class:"ml-1 empty:hidden"},kFe=Q({__name:"ExternalDocs",props:{value:{}},setup(e){const t=I(()=>Up(e.value?.url));return(n,r)=>e.value?(g(),S("div",SFe,[(g(),L(Yt(t.value?"a":"span"),{class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:t.value,rel:t.value?"noopener noreferrer":void 0,target:t.value?"_blank":void 0},{default:P(()=>[N(m(Rfe),{class:"size-3 text-current",weight:"bold"}),e.value.description?(g(),S("span",wFe,V(e.value.description),1)):(g(),S("span",xFe,V(e.value.url),1))]),_:1},8,["href","rel","target"]))])):B("",!0)}}),$6=kFe,AFe={key:0,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},TFe=["href"],EFe={class:"ml-1 empty:hidden"},_Fe={key:1,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},CFe=["href"],$Fe={class:"ml-1 empty:hidden"},PFe={key:2,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},IFe=Q({__name:"Contact",props:{value:{}},setup(e){const t=I(()=>Up(e.value?.url)),n=$r({base:"text-c-1 mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 group-last:mr-0 narrow:border",variants:{link:{true:"no-underline hover:bg-b-2"}}});return(r,a)=>e.value?(g(),S(le,{key:0},[e.value.email?(g(),S("div",AFe,[w("a",{class:Se(m(n)({link:!0})),href:`mailto:${e.value.email}`},[N(m(the),{class:"size-3 text-current",weight:"bold"}),w("span",EFe,V(e.value.name),1)],10,TFe)])):B("",!0),t.value?(g(),S("div",_Fe,[w("a",{class:Se(m(n)({link:!0})),href:t.value,rel:"noopener noreferrer",target:"_blank"},[N(m(v2),{class:"size-3 text-current",weight:"bold"}),w("span",$Fe,V(e.value.email?"":e.value.name),1)],10,CFe)])):!e.value.email&&e.value.name?(g(),S("div",PFe,[w("span",{class:Se(m(n)({link:!1}))},V(e.value.name),3)])):B("",!0)],64)):B("",!0)}}),NFe=IFe,RFe={class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},MFe=["href"],LFe={class:"ml-1 empty:hidden"},DFe={class:"ml-1 empty:hidden"},BFe=Q({__name:"InfoLink",props:{name:{},url:{}},setup(e){const t=I(()=>Up(e.url));return(n,r)=>(g(),S("div",RFe,[t.value?(g(),S("a",{key:0,class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:t.value,rel:"noopener noreferrer",target:"_blank"},[N(m(v2),{class:"size-3 text-current",weight:"bold"}),w("span",LFe,V(e.name),1)],8,MFe)):(g(),S(le,{key:1},[N(m(v2),{class:"size-3 text-current",weight:"bold"}),w("span",DFe,V(e.name),1)],64))]))}}),UFe=BFe,jFe={class:"group narrow:border-r-0 narrow:first:ml-0 flex h-fit items-center border-r first:ml-auto last:border-r-0"},QFe=["href"],FFe={class:"ml-1 empty:hidden"},zFe={class:"ml-1 empty:hidden"},VFe=Q({__name:"License",props:{value:{}},setup(e){const t=I(()=>Up(e.value?.url));return(n,r)=>(g(),S("div",jFe,[t.value?(g(),S("a",{key:0,class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:t.value,rel:"noopener noreferrer",target:"_blank"},[N(m(PA),{class:"size-3 text-current",weight:"bold"}),w("span",FFe,V(e.value?.name||e.value&&"identifier"in e.value&&e.value.identifier||t.value),1)],8,QFe)):(g(),S(le,{key:1},[N(m(PA),{class:"size-3 text-current",weight:"bold"}),w("span",zFe,V(e.value?.name),1)],64))]))}}),HFe=VFe,qFe={key:0,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},ZFe=["href"],XFe={class:"ml-1 empty:hidden"},WFe=Q({__name:"TermsOfService",props:{value:{}},setup(e){const{translate:t}=Ot(),n=I(()=>Up(e.value));return(r,a)=>n.value?(g(),S("div",qFe,[w("a",{class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:n.value,rel:"noopener noreferrer",target:"_blank"},[N(m(q0e),{class:"size-3 text-current",weight:"bold"}),w("span",XFe,V(m(t)("info.termsOfService")),1)],8,ZFe)])):B("",!0)}}),YFe=WFe,GFe=Q({__name:"InfoLinks",props:{info:{},externalDocs:{}},setup(e){const t=I(()=>{const r=e.info["x-scalar-links"];return Array.isArray(r)?r.filter(a=>typeof a?.name=="string"&&typeof a?.url=="string"):[]}),n=I(()=>!!(e.externalDocs||e.info.contact||e.info.license||e.info.termsOfService||t.value.length));return(r,a)=>n.value?(g(),L(m(C6),{key:0},{default:P(()=>[e.externalDocs?(g(),L(m($6),{key:0,value:e.externalDocs},null,8,["value"])):B("",!0),e.info.contact?(g(),L(m(NFe),{key:1,value:e.info.contact},null,8,["value"])):B("",!0),e.info.license?(g(),L(m(HFe),{key:2,value:m(ke)(e.info.license)},null,8,["value"])):B("",!0),e.info.termsOfService?(g(),L(m(YFe),{key:3,value:e.info.termsOfService},null,8,["value"])):B("",!0),(g(!0),S(le,null,it(t.value,i=>(g(),L(m(UFe),{key:i.url,name:i.name,url:i.url},null,8,["name","url"]))),128))]),_:1})):B("",!0)}}),KFe=GFe,JFe=Q({__name:"InfoVersion",props:{version:{}},setup(e){const t=I(()=>
377{if(e.version==null)return e.version;const n=String(e.version);return/^\d/.test(n)?`v${n}`:n});return(n,r)=>t.value?(g(),L(m(Zi),{key:0},{default:P(()=>[J(V(t.value),1)]),_:1})):B("",!0)}}),eze=JFe,tze={"aria-hidden":"true",class:"introduction-loading flex flex-col gap-5"},nze={key:0,class:"narrow:flex-col narrow:gap-3 flex gap-6"},rze=Q({__name:"IntroductionLoading",props:{hasAside:{type:Boolean,default:!0}},setup(e){return(t,n)=>(g(),S("div",tze,[n[3]||(n[3]=Vc('<div class="flex gap-1.5" data-v-41a61989><div class="introduction-skeleton h-6 w-14 rounded-full" data-v-41a61989></div><div class="introduction-skeleton h-6 w-24 rounded-full" data-v-41a61989></div></div><div class="narrow:grid-cols-1 narrow:gap-3 grid grid-cols-2 gap-12" data-v-41a61989><div class="introduction-skeleton h-9 w-3/5 rounded-lg" data-v-41a61989></div><div class="narrow:justify-start flex flex-wrap items-center justify-end gap-2" data-v-41a61989><div class="introduction-skeleton h-5 w-28 rounded" data-v-41a61989></div><div class="introduction-skeleton h-5 w-28 rounded" data-v-41a61989></div><div class="introduction-skeleton h-5 w-12 rounded" data-v-41a61989></div></div></div>',2)),N(m(_6),null,{default:P(()=>[N(m(Jf),null,{default:P(()=>[...n[0]||(n[0]=[w("div",{class:"flex flex-col gap-3"},[w("div",{class:"introduction-skeleton mb-2 h-5 w-56 rounded"}),w("div",{class:"introduction-skeleton h-4 w-full rounded"}),w("div",{class:"introduction-skeleton h-4 w-11/12 rounded"}),w("div",{class:"introduction-skeleton h-4 w-4/5 rounded"}),w("div",{class:"introduction-skeleton mt-4 h-6 w-40 rounded"}),w("div",{class:"introduction-skeleton h-4 w-3/4 rounded"}),w("div",{class:"introduction-skeleton h-4 w-2/3 rounded"}
377),w("div",{class:"introduction-skeleton h-4 w-1/2 rounded"})],-1)])]),_:1}),e.hasAside?(g(),L(m(Jf),{key:0},{default:P(()=>[...n[1]||(n[1]=[w("div",{class:"sticky-cards gap-3"},[w("div",{class:"introduction-skeleton h-20 w-full rounded-lg"}),w("div",{class:"introduction-skeleton h-28 w-full rounded-lg"}),w("div",{class:"introduction-skeleton h-28 w-full rounded-lg"})],-1)])]),_:1})):B("",!0)]),_:1}),e.hasAside?B("",!0):(g(),S("div",nze,[...n[2]||(n[2]=[w("div",{class:"introduction-skeleton h-28 w-full flex-1 rounded-lg"},null,-1),w("div",{class:"introduction-skeleton h-28 w-full flex-1 rounded-lg"},null,-1),w("div",{class:"introduction-skeleton h-28 w-full flex-1 rounded-lg"},null,-1)])]))]))}}),aze=ct(rze,[["__scopeId","data-v-41a61989"]]),ize=Q({__name:"SpecificationVersion",props:{documentType:{default:"openapi"},version:{}},setup(e){const t=I(()=>hN(e.documentType));return(n,r)=>e.version?(g(),L(m(Zi),{key:0},{default:P(()=>[J(V(t.value)+" "+V(e.version),1)]),_:1})):B("",!0)}}),oze=ize,sze={class:"flex gap-1.5"},lze={class:"sticky-cards"},cze=Q({__name:"IntroductionLayout",props:{id:{},documentType:{},specificationVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},headingSlugGenerator:{type:Function},eventBus:{}},setup(e){const{translate:t}=Ot();return(n,r)=>(g(),L(m(L0),null,{default:P(()=>[N(m(jp),{id:e.id,"aria-label":m(t)("navigation.introduction"),class:"introduction-section z-1 gap-12",onIntersecting:r[0]||(r[0]=()=>e.id&&e.eventBus?.emit("intersecting:nav-item",{id:e.id}))},{default:P(()=>[N(m(lv),null,{default:P(()=>[e.info?(g(),S(le,{key:1},[w("div",sze,[N(eze,{version:e.info?.version},null,8,["version"]),N(oze,{documentType:e.documentType,version:e.specificationVersion},null,8,["documentType","version"])]),N(m(rd),{tight:""},{links:P(()=>[N(KFe,{externalDocs:e.externalDocs,info:e.info},null,8,["externalDocs","info"])]),default:P(()=>[N(m(_o),{level:1},{default:P(()=>[J(V(e.info?.title),1)]),_:1})]),_:1}),N(m(_6),null,{default:P(()=>[N(m(Jf),null,{default:P(()=>[H(n.$slots,"download-link",{},void 0,!0),N(vFe,{description:e.info?.description,eventBus:e.eventBus,headingSlugGenerator:e.headingSlugGenerator},null,8,["description","eventBus","headingSlugGenerator"])]),_:3}),n.$slots.aside?(g(),L(m(Jf),{key:0},{default:P(()=>[w("div",lze,[H(n.$slots,"aside",{},void 0,!0)])]),_:3})):B("",!0)]),_:3}),N(m(ep),{value:e.documentExtensions},null,8,["value"]),N(m(ep),{value:e.infoExtensions},null,8,["value"])],64)):(g(),L(aze,{key:0,hasAside:!!n.$slots.aside},null,8,["hasAside"]))]),_:3}),H(n.$slots,"after",{},void 0,!0)]),_:3},8,["id","aria-label"])]),_:3}))}}),uze=ct(cze,[["__scopeId","data-v-d6744cde"]]),dze=Q({__name:"InfoBlock",props:{id:{},specificationVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},eventBus:{},headingSlugGenerator:{type:Function},layout:{},documentDownloadType:{default:"both"},documentUrl:{},documentType:{}},setup(e){const t=I(()=>e.layout==="classic"?"after":"aside");return(n,r)=>(g(),L(uze,{id:e.id,documentExtensions:e.documentExtensions,documentType:e.documentType,eventBus:e.eventBus,externalDocs:e.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.info,infoExtensions:e.infoExtensions,specificationVersion:e.specificationVersion},{[t.value]:P(()=>[N(ZQe,{row:e.layout==="classic"},{default:P(()=>[H(n.$slots,"selectors")]),_:3},8,["row"])]),"download-link":P(()=>[N(HQe,{documentDownloadType:e.documentDownloadType,documentType:e.documentType,documentUrl:e.documentUrl,eventBus:e.eventBus},null,8,["documentDownloadType","documentType","documentUrl","eventBus"])]),_:2},1032,["id","documentExtensions","documentType","eventBus","externalDocs","headingSlugGenerator","info","infoExtensions","specificationVersion"]))}}),fze=dze,pze={},hze={class:"introduction-card-item"};function mze(e,t){return g(),S("div",hze,[H(e.$slots,"default",{},void 0,!0)])}var Sh=ct(pze,[["render",mze],["__scopeId","data-v-dfab866f"]]),gze=e=>{const t=Math.max(0,...[...e.matchAll(/`+/g)].map(r=>r[0].length)),n="`".repeat(Math.max(3,t+1));return`${n} 378${e} 379${n}`},EQ=e=>Array.isArray(e)?e.flatMap(t=>{if(typeof t?.lang!="string")return[];
vendor: 7,169 bytes, lines 379-382
379const n=typeof t.description=="string"&&t.description.trim()?t.description:"",r=typeof t.source=="string"?t.source.trim():"";if(!n&&!r)return[];const a=[n,r&&gze(r)].filter(Boolean).join(` 380 381`);return[{lang:t.lang,description:a}]}):[],bze={c:"programming-language-c",clojure:"programming-language-clojure",csharp:"programming-language-csharp","c#":"programming-language-csharp",cs:"programming-language-csharp",css:"programming-language-css3",css3:"programming-language-css3",dart:"programming-language-dart",fsharp:"programming-language-fsharp","f#":"programming-language-fsharp",go:"programming-language-go",golang:"programming-language-go",html:"programming-language-html5",html5:"programming-language-html5",http:"programming-language-http",java:"programming-language-java",javascript:"programming-language-javascript",js:"programming-language-javascript",json:"programming-language-json",julia:"programming-language-julia",jl:"programming-language-julia",kotlin:"programming-language-kotlin",node:"programming-language-node","node.js":"programming-language-node",nodejs:"programming-language-node",objc:"programming-language-objc","objective-c":"programming-language-objc",ocaml:"programming-language-ocaml",php:"programming-language-php",powershell:"programming-language-powershell",python:"programming-language-python",py:"programming-language-python",r:"programming-language-r",ruby:"programming-language-ruby",rb:"programming-language-ruby",rust:"programming-language-rust",rs:"programming-language-rust",scala:"programming-language-scala",shell:"programming-language-shell",bash:"programming-language-shell",sh:"programming-language-shell",curl:"programming-language-shell",swift:"programming-language-swift",typescript:"programming-language-typescript",ts:"programming-language-typescript"},yze=e=>bze[e.trim().toLowerCase()],vze=(e,t,n)=>{const r=e.length;if(t<=0)return r;const a=i=>{let o=0,s=0;for(const l of e){if(o+l>t-i)break;o+=l,s++}return s};return a(0)>=r?r:Math.max(1,a(n))},Oze={key:0},Sze=["id"],wze={class:"client-libraries-content"},xze=["aria-labelledby"],kze=["id","aria-selected","tabindex","onClick","onKeydown"],Aze={class:"client-libraries-text"},Tze={class:"client-libraries-text"},Eze={"aria-hidden":"true",class:"client-libraries-measure-clip"},_ze={class:"client-libraries-text"},Cze={class:"client-libraries"},$ze={class:"client-libraries-text"},Pze=["aria-labelledby"],Ize=Q({__name:"SdkInstallationInstructions",props:{xScalarSdkInstallation:{},selectedClient:{},eventBus:{}},setup(e){const t=vn(),n=vn(),r=`${n}-panel`,{translate:a}=Ot(),i=I(()=>EQ(e.xScalarSdkInstallation).map(ee=>({...ee,icon:yze(ee.lang)}))),o=K(0),s=I(()=>i.value[o.value]),l=I(()=>T6(i.value.map(ee=>({lang:ee.lang,source:""})))),c=ee=>{o.value=ee;const ae=l.value[ee];ae&&e.eventBus?.emit("workspace:update:selected-client",ae)};qe([()=>e.selectedClient,l],([ee,ae])=>{const de=ee?ae.findIndex(ue=>ue===ee):-1;de>=0?o.value=de:o.value>ae.length-1&&(o.value=0)},{immediate:!0}),qe(()=>i.value.map(ee=>ee.lang).join(` 382`),()=>{Nn(y)});const u=K(),d=K(),f=K(),p=K(0),h=K([]),b=K(0),y=()=>{const ee=f.value,ae=u.value;if(!ee||!ae)return;const de=Array.from(ee.children).map(ue=>ue.offsetWidth);h.value=de.slice(0,i.value.length),b.value=de[i.value.length]??0,p.value=ae.clientWidth},O=I(()=>!h.value.length||p.value<=0?i.value.length:vze(h.value,p.value,b.value)),A=I(()=>i.value.slice(0,O.value)),x=I(()=>o.value>=O.value),T=I(()=>i.value.slice(O.value).map((ee,ae)=>({id:String(O.value+ae),label:ee.lang}))),E=I(()=>T.value.find(ee=>ee.id===String(o.value))),C=ee=>{ee&&c(Number(ee.id))},$=I(()=>x.value?t:`${n}-tab-${o.value}`),R=I(()=>x.value?-1:o.value),j=ee=>{Nn(()=>{d.value?.querySelectorAll('[role="tab"]')[ee]?.focus()})},U=(ee,ae)=>{const de=O.value-1;let ue=ae;switch(ee.key){case"ArrowRight":case"ArrowDown":ue=ae>=de?0:ae+1;break;case"ArrowLeft":case"ArrowUp":ue=ae<=0?de:ae-1;break;case"Home":ue=0;break;case"End":ue=de;break;default:return}ee.preventDefault(),c(ue),j(ue)};let Y,W=0;const pe=()=>{if(typeof requestAnimationFrame>"u"){y();return}cancelAnimationFrame(W),W=requestAnimationFrame(y)};return Mt(()=>{typeof ResizeObserver<"u"&&(Y=new ResizeObserver(pe),u.value&&Y.observe(u.value),f.value&&Y.observe(f.value)),y()}),to(()=>{Y?.disconnect(),typeof cancelAnimationFrame<"u"&&cancelAnimationFrame(W)}),(ee,ae)=>i.value.length?(g(),S("div",Oze,[w("div",{id:m(t),class:"client-libraries-heading"},V(m(a)("clientLibraries.heading")),9,Sze),w("div",wze,[w("div",{ref_key:"rowRef",ref:u,class:"client-libraries-row"},[w("div",{ref_key:"tabsRef",ref:d,"aria-labelledby":m(t),class:"client-libraries-tabs",role:"tablist"},[(g(!0),S(le,null,it(A.value,(de,ue)=>(g(),S("button",{id:`${m(n)}-tab-${ue}`,key:ue,"aria-controls":r,"aria-selected":ue===o.value,class:Se(["client-libraries",{"client-libraries__active":ue===o.value}]),role:"tab",tabindex:ue===R.value?0:-1,type:"button",onClick:Ee=>c(ue),onKeydown:Ee=>U(Ee,ue)},[de.icon?(g(),L(m(yr),{key:0,class:"client-libraries-icon",icon:de.icon},null,8,["icon"])):B("",!0),w("span",Aze,V(de.lang),1)],42,kze))),128))],8,xze),O.value<i.value.length?(g(),L(m(ov),{key:0,modelValue:E.value,options:T.value,placement:"bottom-end",teleport:"","onUpdate:modelValue":C},{default:P(()=>[w("button",{class:Se(["client-libraries client-libraries-more",{"client-libraries__active":x.value}]),type:"button"},[N(m(yr),{class:"client-libraries-icon",icon:x.value&&s.value?.icon?s.value.icon:"Ellipses"},null,8,["icon"]),w("span",Tze,V(m(a)("clientLibraries.more")),1)],2)]),_:1},8,["modelValue","options"])):B("",!0)],512),w("div",Eze,[w("div",{ref_key:"measureRef",ref:f,class:"client-libraries-row client-libraries-row--measure"},[(g(!0),S(le,null,it(i.value,(de,ue)=>(g(),S("span",{key:ue,class:"client-libraries"},[de.icon?(g(),L(m(yr),{key:0,class:"client-libraries-icon",icon:de.icon},null,8,["icon"])):B("",!0),w("span",_ze,V(de.lang),1)]))),128)),w("span",Cze,[N(m(yr),{class:"client-libraries-icon",icon:"Ellipses"}),w("span",$ze,V(m(a)("clientLibraries.more")),1)])],512)])]),s.value?.description?(g(),S("div",{key:0,id:r,"aria-labelledby":$.value,class:"selected-client",role:"tabpanel",tabindex:"0"},[N(m(Jr),{value:s.value.description},null,8,["value"])],8,Pze)):B("",!0)])):B("",!0)}}),Nze=ct(Ize,[["__scopeId","data-v-76e5ff4d"]]),Rze={class:"sr-only"},Mze={class:"overflow-x-auto"},Lze={key:1,class:"text-c-1 flex h-auto w-full items-center gap-0.75 !rounded-b-xl px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"},Dze={class:"sr-only"},Bze={class:"overflow-x-auto"},Uze=Q({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){const r=n,{translate:a}=Ot(),i=I(()=>e.servers.map(l=>({id:l.url,label:l.url}))),o=I(()=>e.selectedServer?.url?.replace(/\/$/,"")||""),s=I(()=>i.value.find(l=>l.id===e.selectedServer?.url));return t({servers:e.servers,serverUrlWithoutTrailingSlash:o,serverOptions:i,selectedServer:e.selectedServer}),(l,c)=>i.value.length>1?(g(),L(m(nu),{key:0,ref:"elem",class:"group",modelValue:s.value,options:i.value,placement:"bottom-start",resize:"",target:e.target,"onUpdate:modelValue":c[0]||(c[0]=u=>
382r("update:modelValue",u.id))},{default:P(()=>[N(m(Ln),{class:"bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base/5.25 font-normal whitespace-nowrap -outline-offset-1",variant:"ghost"},{default:P(()=>[w("span",Rze,V(m(a)("server.label"))+":",1),w("span",Mze,V(o.value||m(a)("server.select")),1),N(m(xi),{class:"text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["modelValue","options","target"])):(g(),S("div",Lze,[w("span",Dze,V(m(a)("server.label"))+":",1),w("span",Bze,V(o.value),1)]))}}),jze=Uze,Qze={class:"bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium"},Fze=["id"],zze=Q({__name:"ServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){const t=vn(),{translate:n}=Ot(),r=i=>{e.eventBus.emit("server:update:selected",{url:e.selectedServer?.url===i?"":i,meta:{type:"document"}})},a=(i,o)=>{const s=e.servers.findIndex(l=>l.url===e.selectedServer?.url);s!==-1&&e.eventBus.emit("server:update:variables",{index:s,key:i,value:o,meta:{type:"document"}})};return(i,o)=>(g(),S(le,null,[w("label",Qze,V(m(n)("server.label")),1),w("div",{id:m(t),class:Se(["border",{"rounded-b-xl":!e.selectedServer?.description&&!e.selectedServer?.variables}])},[e.servers.length?(g(),L(jze,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:m(t),"onUpdate:modelValue":r},null,8,["selectedServer","servers","target"])):B("",!0)],10,Fze),N(m(cB),{layout:"reference",variables:e.selectedServer?.variables,"onUpdate:variable":a},null,8,["variables"]),e.selectedServer?.description?(g(),L(m(Jr),{key:0,class:"text-c-3 rounded-b-xl border-x border-b px-3 py-1.5",value:e.selectedServer.description},null,8,["value"])):B("",!0)],64))}}),Vze=zze,Hze={class:"section-accordion-button-content"},qze={key:0,class:"section-accordion-button-actions"},Zze={key:0,class:"section-accordion-description"},Xze={class:"section-accordion-content-card"},Wze=Q({__name:"SectionAccordion",props:{transparent:{type:Boolean},modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,r=K(),a=H5e(r);return(i,o)=>(g(),L(m(kd),{as:"section",class:Se(["section-accordion",{"section-accordion-transparent":e.transparent}])},{default:P(()=>[N(m(Ll),{ref_key:"button",ref:r,class:"section-accordion-button",onClick:o[0]||(o[0]=()=>n("update:modelValue",!e.modelValue))},{default:P(()=>[w("div",Hze,[H(i.$slots,"title",{},void 0,!0)]),i.$slots.actions?(g(),S("div",qze,[H(i.$slots,"actions",{active:m(a)||e.modelValue},void 0,!0)])):B("",!0),N(m(wd),{class:Se(["section-accordion-chevron size-4.5 transition-transform",{"rotate-90":e.modelValue}])},null,8,["class"])]),_:3},512),e.modelValue?(g(),L(m(Ad),{key:0,class:"section-accordion-content",static:""},{default:P(()=>[i.$slots.description?(g(),S("div",Zze,[H(i.$slots,"description",{},void 0,!0)])):B("",!0),w("div",Xze,[H(i.$slots,"default",{},void 0,!0)])]),_:3})):B("",!0)]),_:3},8,["class"]))}}),P6=ct(Wze,[["__scopeId","data-v-ff689b94"]]),Yze={key:0,class:"screenreader-only"},Gze=Q({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.$props.if?(g(),S("span",Yze,[H(t.$slots,"default",{},void 0,!0)])):H(t.$slots,"default",{},void 0,!0)}}),fs=ct(Gze,[["__scopeId","data-v-df2e1026"]]),Kze=["id"],Jze={class:"relative"},eVe=Q({__name:"Anchor",emits:["copyAnchorUrl"],setup(e,{emit:t}){const n=t,r=vn(),{translate:a}=Ot(),{cx:i}=At();return(o,s)=>(g(),S("span",Rt(Ft(m(i)("group/heading wrap-break-word relative"))),[w("span",{id:m(r),class:"contents"},[H(o.$slots,"default")],8,Kze),w("span",Jze,[s[1]||(s[1]=w("span",null,"â",-1)),N(m(Ln),{"aria-describedby":m(r),class:"absolute top-1/2 left-0 inline-block h-fit -translate-y-1/2 px-1.5 py-1 opacity-0 group-hover/heading:opacity-100 group-has-focus-visible/heading:opacity-100",variant:"ghost",onClick:s[0]||(s[0]=jt(()=>n("copyAnchorUrl"),["stop"]))},{default:P(()=>[N(m(ume),{"aria-hidden":"true",class:"size-4.5"}),N(fs,null,{default:P(()=>[J(V(m(a)("actions.copyLink")),1)]),_:1})]),_:1},8,["aria-describedby"])])],16))}}),Js=eVe,Qi=e=>{if(e===null||typeof e!="object"||Array.isArray(e)||"oneOf"in e||"anyOf"in e||"allOf"in e||"not"in e)return!1;const t="type"in e;if(t&&Array.isArray(e.type))return e.type.includes("object");const n=t&&e.type==="object";if(n)return!0;
382if(t&&!n)return!1;const r="properties"in e,a="additionalProperties"in e,i="patternProperties"in e;return r||a||i},tVe={key:0,class:"schema-type"},nVe=["title"],rVe=Q({__name:"SchemaHeading",props:{value:{},name:{}},setup(e){const{translate:t}=Ot(),n=I(()=>"type"in e.value?e.value.type:e.value.enum?"enum":er(e.value)&&e.value.items?"array":Qi(e.value)&&(e.value.properties||e.value.additionalProperties)?"object":"unknown");return(r,a)=>typeof e.value=="object"?(g(),S("span",tVe,[w("span",{class:"schema-type-icon",title:"type"in e.value&&typeof e.value.type=="string"?e.value.type:"type"in e.value&&Array.isArray(e.value.type)?e.value.type.join(" | "):m(t)("schema.unknownType")},[m(Qi)(e.value)?(g(),S(le,{key:0},[J(" {} ")],64)):B("",!0),m(er)(e.value)?(g(),S(le,{key:1},[J(" [] ")],64)):B("",!0),e.value.enum?(g(),S(le,{key:2},[J(" enum ")],64)):B("",!0)],8,nVe),e.name?(g(),L(m(Ac),{key:0,preset:"property",text:e.name},null,8,["text"])):(g(),S(le,{key:1},[J(V(n.value),1)],64))])):B("",!0)}}),I6=ct(rVe,[["__scopeId","data-v-e2018ca6"]]),aVe=["id"],iVe={class:"sr-only"},oVe=Q({__name:"WithBreadcrumb",props:{breadcrumb:{},eventBus:{}},setup(e){const{translate:t}=Ot(),n=I(()=>t("actions.copyLinkTo",{name:e.breadcrumb?.[e.breadcrumb.length-1]??""}));return(r,a)=>e.breadcrumb&&e.breadcrumb.length>0?(g(),S("div",{key:0,id:e.breadcrumb.join("."),class:"relative scroll-mt-24"},[H(r.$slots,"default"),w("button",{class:"text-c-3 hover:text-c-1 absolute -top-2 -left-4.5 flex h-[calc(100%+16px)] w-4.5 cursor-pointer items-center justify-center pr-1.5 opacity-0 group-hover:opacity-100 focus-visible:opacity-100",type:"button",onClick:a[0]||(a[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.breadcrumb.join(".")}))},[N(m(v2),{class:"size-3",weight:"bold"}),w("span",iVe,[H(r.$slots,"sr-label",{},()=>[J(V(n.value),1)])])])],8,aVe)):H(r.$slots,"default",{},void 0,void 0)}}),sVe=oVe,_Q=Symbol("schema-dynamic-scope"),lVe=[],CQ=()=>Rn(_Q,lVe),zw=(e,t)=>Ib(e)?Rb(e.$dynamicRef,t)??e:e,cVe=["allOf","oneOf","anyOf"],$Q=e=>"type"in e&&e.type?Array.isArray(e.type)?e.type.includes("object"):e.type==="object":"properties"in e,PQ=e=>"$ref"in e||"discriminator"in e||cVe.some(t=>t in e),uVe=e=>{if(!er(e)||typeof e.items!="object")return!1;if("$ref"in e.items)return!0;const t=ke(e.items);return t?$Q(t)||PQ(t)||er(t):!1},IQ=e=>{if(!e||!er(e)||typeof e.items!="object")return!1;if("$ref"in e.items)return!0;const t=ke(e.items);return t?PQ(t)||$Q(t)?!0:uVe(t):!1},N6=e=>{if(!e)return null;const t=e.match(wi.REF_NAME);return t?t[1]:null},dVe=/^#\/components\/schemas\/([^/]+)$/,fVe=e=>{if(!e)return null;const t=e.match(dVe);return t?.[1]?decodeURIComponent(t[1]):null},NQ=["oneOf","anyOf","allOf","not"],pVe=(e,t)=>{if(!e||!er(e))return!1;const n=e.items;return!n||typeof n!="object"||!(t in n)?!1:!IQ(e)},hVe=e=>e.startsWith("#/")||e.includes("/")?e:`#/components/schemas/${e}`,R6=(e,t)=>{if(e.oneOf||e.anyOf||!t?.components?.schemas)return null;const n=Object.values(e.discriminator?.mapping??{}).filter(r=>typeof r=="string").map(r=>{const a=hVe(r),i=N6(a),o=i?vt.schema(t.components?.schemas?.[i]):void 0;if(o)return{$ref:a,"$ref-value":o}}).filter(Bi);return n.length===0?null:{...vt.schema(e),oneOf:n}},mVe=(e,t)=>{if(!e)return[];const n=R6(e,t);return NQ.map(r=>r==="oneOf"&&n?{composition:r,value:n}:pVe(e,r)&&er(e)&&e.items?{composition:r,value:vt.schema(e.items)}:e[r]&&!(er(e)&&e.items&&typeof e.items=="object"&&r in e.items)?{composition:r,value:vt.schema(e)}:null).filter(Bi)},x_=Symbol("schema-ancestors"),em=e=>{if(e&&typeof e=="object")return"$ref"in e&&typeof e.$ref=="string"?e.$ref:e},M6=Symbol(),gVe=e=>e?`array ${e.includes(" | ")?`(${e})`:e}[]`:"array",k_=(e,t=!1)=>{if(!e.items)return"array";const n=gVe(Q2(vt.schema(e.items)));return t?n:e.nullable?`${n} | null`:n},Q2=e=>{if(!e)return"";const t=vt.schema(e);if(t.const!==void 0)return"const";if("type"in t&&Array.isArray(t.type)){if(t.type.includes("array")&&t.items){const n=k_(t,!0),r=t.type.filter(a=>a!=="array");return r.length>0?`${n} | ${r.join(" | ")}`:n}return t.type.join(" | ")}return er(t)?k_(t,!1):"type"in t&&t.type&&t.contentEncoding?`${t.type} ⢠${t.contentEncoding}`:"type"in t?t.type:""},bVe=new Set(["description","title"]),Zs=(e,t,n=new Set)=>{if(!e?.allOf?.length||!Array.isArray(e.allOf))return t||{};const r={},{allOf:a,...i}=e;for(const o of e.allOf){if(!o||typeof o!="object")continue;const s=vt.schema(o);if(s.allOf){a4(r,Zs(s,void 0,n),!1,n);continue}a4(r,s,!1,n)}return Object.keys(i).length>0&&a4(r,i,!0,n),r},a4=(e,t,n=!1,r=new Set)=>{const a=Od(t);if(a.length!==0)for(const i of a){const o=ke(t[i]);if(o!==void 0)if(i==="required")Array.isArray(o)&&o.length>0&&(e.required?.length?e.required=[...new Set([...e.required,...o])]:e.required=o.slice());else if(i==="properties")o&&typeof o=="object"&&(e.properties||(e.properties={}),Pm(e.properties,o,r));else if(i==="items"){const s=vt.schema(o);if(s)if(er(t))if(e.items||(e.items={}),s.allOf){const l=Zs(s,void 0,r);Object.assign(e.items,l)}else yVe(ke(e.items),s,r);else if(s.allOf){const l=Zs(s,void 0,r);"properties"in l&&("properties"in e||(e.properties={}),"properties"in e&&Pm(e.properties,l.properties,r))}else"items"in e||(e.items=s)}else if(i==="enum")Array.isArray(o)&&o.length>0&&(e.enum=[...new Set([...e.enum||[],...o])]);else if(i==="oneOf"||i==="anyOf")Array.isArray(o)&&o.length>0&&(n||e[i]===void 0)&&(e[i]=o);else{if(i==="allOf")continue;(n||bVe.has(i)||e[i]===void 0)&&(e[i]=o)}}},Pm=(e,t,n=new Set)=>{const r=Object.keys(t??{});if(!(!t||!e||r.length===0))for(const a of r){const i=vt.schema(t[a]);if(!i){delete e[a];continue}if(typeof i!="object"){e[a]=i;continue}if(!e[a]){const c=t[a],u=c?.$ref;if(c&&typeof u=="string"&&n.has(u)){e[a]=c;continue}const d=typeof u=="string"?new Set(n).add(u):n;i.allOf?e[a]=Zs(i,void 0,d):er(i)&&vt.schema(i.items)?.allOf?e[a]={...i,items:Zs(vt.sc
382hema(i.items),void 0,n)}:t[a]&&(e[a]=t[a]);continue}const o=vt.schema(e[a]),s=i.$ref;if(typeof s=="string"&&n.has(s)){e[a]=o;continue}const l=typeof s=="string"?new Set(n).add(s):n;if(i.allOf)e[a]=Zs({allOf:[o,...i.allOf]},void 0,l);else if(er(i)&&er(o)&&i.items){const c=vt.schema(o.items);e[a]={...o,type:"array",items:c?vVe(c,vt.schema(i.items),l):vt.schema(i.items)}}else if("properties"in o&&"properties"in i){const c={...o,...i};c.properties={...o.properties},Pm(c.properties,i.properties,l),e[a]=c}else e[a]={...i,...o}}},yVe=(e,t,n=new Set)=>{if(t.allOf||e.allOf){const r=[];if(e.allOf)for(const i of e.allOf)r.push(vt.schema(i));else r.push(e);if(t.allOf)for(const i of t.allOf)r.push(vt.schema(i));else r.push(t);const a=Zs({allOf:r},void 0,n);Object.assign(e,a);return}Object.assign(e,t),"properties"in e&&"properties"in t&&Pm(e.properties,t.properties,n)},vVe=(e,t,n=new Set)=>{const r=t.$ref;return typeof r=="string"?n.has(r)?e:A_(e,t,new Set(n).add(r)):A_(e,t,n)},A_=(e,t,n=new Set)=>{if(e.allOf||t.allOf){const a=[];if(e.allOf)for(const i of e.allOf)a.push(vt.schema(i));else a.push(e);if(t.allOf)for(const i of t.allOf)a.push(vt.schema(i));else a.push(t);return Zs({allOf:a},void 0,n)}const r={...e,...t};return"properties"in e&&"properties"in t&&(r.properties={...e.properties},Pm(r.properties,t.properties,n)),r},OVe=["oneOf","anyOf"],Vw=(e,t,n)=>{const{allOf:r,oneOf:a,anyOf:i,not:o,if:s,then:l,else:c,...u}=e;Object.keys(u).length>0&&t.push({kind:"object",schema:u});for(const d of OVe){const f=d==="oneOf"?a:i;Array.isArray(f)&&f.length>0&&t.push({kind:"choice",composition:d,value:{[d]:f}})}if(Array.isArray(r)){for(const d of r)if(d&&typeof d=="object"){const f=vt.schema(d),p=f.$ref;if(typeof p=="string"){if(n.has(p))continue;Vw(f,t,new Set(n).add(p))}else Vw(f,t,n)}}},SVe=e=>{if(!e)return{segments:[]};const{allOf:t,oneOf:n,anyOf:r,not:a,if:i,then:o,else:s,...l}=e;if(!Array.isArray(t))return{segments:[{kind:"object",schema:e}]};const c=[];Object.keys(l).length>0&&c.push({kind:"object",schema:l});const u=new Set;for(const b of t)if(b&&typeof b=="object"){const y=vt.schema(b),O=y.$ref;Vw(y,c,typeof O=="string"?new Set(u).add(O):u)}const d=[];let f=[],p=0;const h=()=>{if(f.length===0)return;const b=f.length===1?f[0]:Zs({allOf:f});d.push({kind:"object",schema:b}),f=[]};for(const b of c)b.kind==="object"?f.push(b.schema):(h(),d.push({kind:"choice",composition:b.composition,value:b.value,choiceIndex:p++}));return h(),{segments:d}},F2=e=>{if(!e)return null;const t=vt.schema(e),n="$ref"in e?fVe(e.$ref):null;if(t.title)return{schemaKey:n,label:t.title};if(t.name)return{schemaKey:n,label:t.name};if("$ref"in e){const r=N6(e.$ref);if(r)return{schemaKey:n,label:r}}return null},wVe=e=>{if(!Qi(e))return!1;const t=Object.keys(e.properties??{}).length===0,n=e.additionalProperties===void 0||e.additionalProperties===!1,r=Object.keys(e.patternProperties??{}).length===0;return t&&n&&r},T_=(e,t)=>e.reduce((n,r)=>{const a=t?.[r];return a&&(n[r]=a),n},{}),RQ=(e,t,{hideReadOnly:n=!1,hideWriteOnly:r=!1,orderSchemaPropertiesBy:a="alpha",orderRequiredPropertiesFirst:i=!0}={})=>{if(!Qi(e)||!e.properties)return[];const o=Object.keys(e.properties),s=new Set(e.required||[]);return o.sort((l,c)=>{const u=l===t?.propertyName,d=c===t?.propertyName,f=s.has(l),p=s.has(c);if(u&&!d)return-1;if(!u&&d)return 1;const h=e.properties?.[l],b=e.properties?.[c],y=h&&typeof h=="object"&&"x-order"in h?h["x-order"]:void 0,O=b&&typeof b=="object"&&"x-order"in b?b["x-order"]:void 0;if(y!==void 0&&O!==void 0)return Number(y)-Number(O);if(y!==void 0&&O===void 0)return-1;if(y===void 0&&O!==void 0)return 1;if(i){if(f&&!p)return-1;if(!f&&p)return 1}return a==="alpha"?l.localeCompare(c):0}).filter(l=>{const c=e.properties&&vt.schema(e.properties[l]);return!(n&&c?.readOnly===!0||r&&c?.writeOnly===!0)})},xVe=Q({__name:"SchemaObjectProperties",props:{schema:{},discriminator:{},compact:{type:Boolean},hideHeading:{type:Boolean},level:{},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){const t=I(()=>RQ(e.schema,e.discriminator,e.options)),n=(c,u)=>
382{const d=typeof c=="boolean"?c:vt.schema(c);if(typeof d=="object"&&typeof d["x-additionalPropertiesName"]=="string"&&d["x-additionalPropertiesName"].trim().length>0)return`${d["x-additionalPropertiesName"].trim()}`;if(u){const f=vt.schema(u);if(f?.title)return f.title}return"propertyName"},r=c=>{if(!c)return;const u=vt.schema(c);if(u&&"enum"in u&&Array.isArray(u.enum)&&u.enum.length>0)return u.enum},a=I(()=>{if(!(!Qi(e.schema)||!e.schema.additionalProperties))return r(e.schema.propertyNames)}),i=I(()=>{if(!(!Qi(e.schema)||!e.schema.additionalProperties))return e.schema.propertyNames?vt.schema(e.schema.propertyNames):void 0}),o=c=>{if(c)return vt.schema(c)},s=c=>{if(c)return typeof c.description=="string"?c.description:void 0},l=c=>{const u=typeof c=="boolean"?c:vt.schema(c);return u===!0||typeof u=="object"&&Object.keys(u).length===0||typeof u!="object"||!("type"in u)?{type:"anything",...typeof u=="object"?u:{}}:u};return(c,u)=>(g(),S(le,null,[m(Qi)(e.schema)&&e.schema.properties?(g(!0),S(le,{key:0},it(t.value,d=>(g(),L(Cc,{key:d,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:d,cycleKey:m(em)(e.schema.properties[d]),description:s(e.schema.properties[d]),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:d,options:e.options,required:e.schema.required?.includes(d),schema:o(e.schema.properties[d]),schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","description","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","required","schema","schemaContext"]))),128)):B("",!0),m(Qi)(e.schema)&&e.schema.patternProperties?(g(!0),S(le,{key:1},it(Object.entries(e.schema.patternProperties),([d,f])=>(g(),L(Cc,{key:d,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:d,cycleKey:m(em)(f),description:s(f),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:d,options:e.options,schema:o(f),schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","description","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"]))),128)):B("",!0),m(Qi)(e.schema)&&e.schema.additionalProperties?(g(),L(Cc,{key:2,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:n(e.schema.additionalProperties,e.schema.propertyNames),cycleKey:m(em)(e.schema.additionalProperties),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:n(e.schema.additionalProperties,e.schema.propertyNames),noncollapsible:"",options:e.options,propertyNamesEnum:a.value,propertyNamesSchema:i.value,schema:l(e.schema.additionalProperties),schemaContext:e.schemaContext,variant:"additionalProperties"},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","propertyNamesEnum","propertyNamesSchema","schema","schemaContext"])):B("",!0)],64))}}),kVe=xVe,AVe={key:0,class:"schema-card-description"},TVe={key:1,class:"pt-2"},EVe={key:0,class:"schema-properties"},_Ve=Q({__name:"Schema",props:{schema:{},level:{default:0},name:{},compact:{type:Boolean},noncollapsible:{type:Boolean,default:!1},hideHeading:{type:Boolean},hideDescription:{type:Boolean,default:!1},additionalProperties:{type:Boolean},hideModelNames:{type:Boolean,default:!1},discriminator:{},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{},cycleKey:{}},setup(e){const{translate:t}=Ot(),n=CQ(),r=I(()=>{if(!e.schema||typeof e.schema!="object")return e.schema;const y=zw(e.schema,n);return"$ref"in y?vt.schema(y):y}),a=e.schema?zw(e.schema,n):void 0;In(_Q,a?Nb(n,a):n);const i=Rn(x_,void 0),o=I(()=>e.cycleKey!=null&&!!i?.has(e.cycleKey)),s=new Set(i??[]);e.cycleKey!=null&&s.add(e.cycleKey),In(x_,s);const l=I(()=>
382!!e.options.expandAllSchemaProperties&&!o.value),c=I(()=>!e.noncollapsible&&e.level>0),u=I(()=>{if(!e.breadcrumb?.length)return!1;const y=e.breadcrumb.join("."),O=Tm.value;return O===y||O.startsWith(`${y}.`)}),d=I(()=>e.noncollapsible||l.value||u.value),f=I(()=>e.schema?.title??t("schema.childAttributes")),p=I(()=>{const y=r.value;return e.hideDescription?null:e.schema?.allOf&&e.schema.allOf.length>0&&e.name==="Request Body"?Zs(e.schema)?.description||null:!y?.description||typeof y.description!="string"||y.enum||!("properties"in y)&&!("patternProperties"in y)&&!("additionalProperties"in y)&&!("allOf"in y)?null:y.description}),h=I(()=>e.schema&&!e.discriminator&&Qi(e.schema)?R6(e.schema,e.options.document):null),b=y=>{e.noncollapsible&&y.stopPropagation()};return(y,O)=>r.value&&Object.keys(r.value).length?(g(),L(m(kd),{key:0,defaultOpen:d.value},{default:P(({open:A})=>[w("div",{class:Se(["schema-card",[`schema-card--level-${e.level}`,{"schema-card--compact":e.compact,"schema-card--open":A},{"border-t":e.additionalProperties&&A}]])},[p.value?(g(),S("div",AVe,[N(m(Jr),{value:p.value},null,8,["value"])])):B("",!0),m(wVe)(r.value)?(g(),S("div",TVe,V(m(t)("schema.emptyObject")),1)):B("",!0),w("div",{class:Se(["schema-properties",{"schema-properties-open":A}])},[e.additionalProperties?ti((g(),S("div",EVe,[N(m(Ll),{as:"button",class:"schema-card-title schema-card-title--compact",onClickCapture:b},{default:P(()=>[N(m(yr),{class:"schema-card-title-icon",icon:"Add",size:"sm"}),J(" "+V(m(t)("schema.showAdditionalProperties"))+" ",1),e.name?(g(),L(fs,{key:0},{default:P(()=>[J(V(m(t)("schema.forName",{name:e.name})),1)]),_:1})):B("",!0)]),_:1})],512)),[[fm,!A]]):c.value?ti((g(),L(m(Ll),{key:1,as:e.noncollapsible?"div":"button",class:Se(["schema-card-title",{"schema-card-title--compact":e.compact}]),style:kr({top:`calc(var(--refs-viewport-offset) + calc(var(--schema-title-height) * ${e.level}))`}),onClickCapture:b},{default:P(()=>[e.compact?(g(),S(le,{key:0},[N(m(yr),{class:Se(["schema-card-title-icon",{"schema-card-title-icon--open":A}]),icon:"Add",size:"sm"},null,8,["class"]),A?(g(),S(le,{key:0},[J(V(m(t)("schema.hideChildAttributes",{name:f.value})),1)],64)):(g(),S(le,{key:1},[J(V(m(t)("schema.showChildAttributes",{name:f.value})),1)],64)),e.name?(g(),L(fs,{key:2},{default:P(()=>[J(V(m(t)("schema.forName",{name:e.name})),1)]),_:1})):B("",!0)],64)):(g(),S(le,{key:1},[N(m(yr),{class:Se(["schema-card-title-icon",{"schema-card-title-icon--open":A}]),icon:"Add",size:"sm"},null,8,["class"]),N(I6,{name:r.value?.title??e.name,value:r.value},null,8,["name","value"])],64))]),_:2},1032,["as","class","style"])),[[fm,!e.hideHeading&&!(e.noncollapsible&&e.compact)]]):B("",!0),!e.additionalProperties||A?(g(),L(m(Ad),{key:2,as:"ul",static:!c.value},{default:P(()=>[h.value?(g(),L(MQ,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,composition:"oneOf",compositionPath:e.compositionPath,discriminator:e.schema?.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:e.name,options:e.options,schema:h.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"])):m(Qi)(r.value)?(g(),L(kVe,{key:1,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,options:e.options,schema:r.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","options","schema","schemaContext"])):(g(),S(le,{key:2},[r.value?(g(),L(Cc,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,options:e.options,schema:r.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","options","schema","schemaContext"])):B("",!0)],64))]),_:1}
382,8,["static"])):B("",!0)],2)],2)]),_:1},8,["defaultOpen"])):B("",!0)}}),Xs=ct(_Ve,[["__scopeId","data-v-77b16bb4"]]),CVe={class:"property-rule"},$Ve={class:"composition-selector bg-b-1.5 hover:bg-b-2 flex w-full cursor-pointer items-center gap-1 rounded-t-lg border px-2.5 py-2.5 pr-3 text-left",type:"button"},PVe={class:"text-c-2"},IVe={key:0,class:"text-red"},NVe={class:"composition-panel"},RVe=Q({__name:"SchemaComposition",props:{composition:{},discriminator:{},name:{},schema:{},level:{},compact:{type:Boolean,default:!1},hideHeading:{type:Boolean,default:!1},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){const t=e,{translate:n}=Ot(),r=I(()=>t.composition==="allOf"?SVe(t.schema).segments:[]),a=I(()=>[t.schema[t.composition]].flat().map(b=>({value:vt.schema(b),original:b})).filter(b=>Bi(b.value))),i=I(()=>a.value.map((b,y)=>{const O=vt.schema(b.original),A=(F2(O)?.label??Q2(O))||n("schema.schema");return{id:String(y),label:A}})),o=I(()=>t.compositionPath?.length?[...t.compositionPath,t.composition].join("."):""),s=Rn(M6,void 0),l=I(()=>{if(t.schemaContext!=="requestBody"||!s?.value||!o.value)return 0;const b=s.value[o.value];return typeof b!="number"||Number.isNaN(b)?0:Math.max(0,Math.min(b,i.value.length-1))}),c=K();qe([i,l],([b,y])=>{(!c.value||!b.some(O=>O.id===c.value?.id))&&(c.value=b[y]??b[0])},{immediate:!0});const u=b=>n(`schema.${b}`),d=I(()=>a.value[Number(c.value?.id??"0")]?.value),f=I(()=>t.schemaContext==="requestBody"&&t.compositionPath?.length===1),p=I(()=>em(a.value[Number(c.value?.id??"0")]?.original)),h=K(!!t.options.expandAllSchemaProperties);return s&&t.schemaContext==="requestBody"&&o.value&&qe(c,b=>{const y=b?Number(b.id):0;Number.isNaN(y)||(s.value={...s.value,[o.value]:y})},{immediate:!0}),(b,y)=>{const O=Pb("SchemaComposition",!0);return g(),S("div",CVe,[t.composition==="allOf"?(g(!0),S(le,{key:0},it(r.value,(A,x)=>(g(),S(le,{key:x},[A.kind==="object"?(g(),L(Xs,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideDescription:f.value,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:A.schema,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideDescription","hideHeading","hideModelNames","level","name","options","schema","schemaContext"])):(g(),L(O,{key:1,breadcrumb:e.breadcrumb,compact:e.compact,composition:A.composition,compositionPath:[...e.compositionPath??[],String(A.choiceIndex)],eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,options:e.options,schema:A.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","composition","compositionPath","eventBus","hideHeading","hideModelNames","level","options","schema","schemaContext"]))],64))),128)):(g(),S(le,{key:1},[N(m(nu),{modelValue:c.value,"onUpdate:modelValue":y[0]||(y[0]=A=>c.value=A),options:i.value,resize:""},{default:P(()=>[w("button",$Ve,[w("span",PVe,V(u(t.composition)),1),w("span",{class:Se(["composition-selector-label text-c-1",{"line-through":d.value?.deprecated}])},V(c.value?.label||m(n)("schema.schema")),3),d.value?.deprecated?(g(),S("div",IVe,V(m(n)("common.deprecated")),1)):B("",!0),N(m(xi))])]),_:1},8,["modelValue","options"]),w("div",NVe,[!h.value&&e.level>2?(g(),S("button",{key:0,class:"bg-b-1 hover:bg-b-2 text-c-1 flex w-full items-center justify-center gap-2 rounded-b-lg border border-t-0 px-2 py-2 text-sm font-medium transition-colors",type:"button",onClick:y[1]||(y[1]=A=>h.value=!0)},[J(V(m(n)("schema.showSchemaDetails"))+" ",1),N(m(xi),{class:"h-3 w-3"})])):(g(),L(Xs,{key:c.value?.id??"0",breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,cycleKey:p.value,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:d.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","cycleKey","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"]))])],64))])}}}),MQ=RVe,MVe=e=>{if(!e)return[];if(e.enum)return e.enum;
382if(er(e)&&typeof e.items=="object"){const t=vt.schema(e.items);if(t&&"enum"in t&&t.enum)return t.enum}return[]},LVe={integer:{_default:"Integer numbers.",int32:"Signed 32-bit integers (commonly used integer type).",int64:"Signed 64-bit integers (long type)."},string:{date:"full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21","date-time":"the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z",password:"a hint to UIs to mask the input",base64:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",byte:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",binary:"binary data, used to describe files"}},DVe=e=>{if(!XX(e))return null;const t=Array.isArray(e.type)?e.type[0]:e.type;if(!t)return null;const n=LVe[t];return n?n["format"in e&&e.format||"contentEncoding"in e&&e.contentEncoding||"_default"]??null:null};function i4(...e){const t={},n={},r=new Set;let a=!1,i=!1;for(const o of e)if(o)for(const[s,l]of Object.entries(o)){if(s==="properties"&&l&&typeof l=="object"){Object.assign(n,l),a=!0;continue}if(s==="required"&&Array.isArray(l)){for(const c of l)r.add(c);i=!0;continue}t[s]=l}return a&&(t.properties=n),i&&(t.required=[...r]),t}function E_(e){if(!e||typeof e!="object")return e;const t=NQ.find(u=>u in e&&u!=="not");if(!t)return{...e};const n=e[t];if(!Array.isArray(n))return{...e};const{[t]:r,nullable:a,...i}=e,o=Object.keys(i).length>0,{filteredSchemas:s,hasNullSchema:l}=n.reduce((u,d)=>{const f=vt.schema(d);return"type"in f&&f.type==="null"?u.hasNullSchema=!0:u.filteredSchemas.push(f),u},{filteredSchemas:[],hasNullSchema:!1}),c=l||a===!0;if(s.length===1){const u=i4(s[0],i);return c&&(u.nullable=!0),u}if((t==="oneOf"||t==="anyOf")&&(o||s.some(u=>u.allOf))){const u=s.map(f=>{const p=vt.schema(f);if(p.allOf?.length===1){const{allOf:h,...b}=p;return i4(i,b,vt.schema(h[0]))}return i4(i,p)}),d={[t]:u};return typeof e.description=="string"&&(d.description=e.description),c&&(d.nullable=!0),d}if(s.length!==n.length){const u={...e,[t]:s};return c&&(u.nullable=!0),u}return{...e}}var BVe=(e,t)=>!e||e.allOf?null:t&&e.description?t===e.description?t:`${t} 383 384${e.description}`:t||e.description||null,UVe=(e,t,n=!1)=>t||n?!0:e?e.deprecated===!0||e.const!==void 0||e.enum?.length===1||"type"in e&&e.type!==void 0||"nullable"in e&&e.nullable===!0||e.writeOnly===!0||e.readOnly===!0:!1,jVe={class:"property-enum-value"},QVe={class:"property-enum-value-content"},FVe={class:"property-enum-value-label"},zVe={key:0,class:"property-enum-value-description"},VVe=Q({__name:"SchemaEnumPropertyItem",props:{label:{},description:{}},setup(e){return(t,n)=>(g(),S("li",jVe,[w("div",QVe,[w("span",FVe,[N(m(Ac),{text:e.label,preset:"property"},null,8,["text"])]),e.description?(g(),S("span",zVe,[N(m(Jr),{value:e.description},null,8,["value"])])):B("",!0)])]))}}),__=ct(VVe,[["__scopeId","data-v-4375ecfd"]]),HVe={key:0,class:"property-enum"},qVe={key:0,class:"property-enum-property-names"},ZVe={key:1,class:"property-enum-property-names"},XVe={class:"property-enum-values"},WVe={key:1},YVe=9,GVe=5,C_="â",KVe=Q({__name:"SchemaEnums",props:{value:{},propertyNames:{type:Boolean}},setup(e){const{translate:t}=Ot(),n=I(()=>{if(e.value)return e.value.enum?e.value:er(e.value)?vt.schema(e.value.items):void 0}),r=I(()=>n.value?.enum??[]),a=I(()=>r.value.length>YVe),i=I(()=>a.value?GVe:r.value.length),o=I(()=>r.value.slice(0,i.value)),s=I(()=>r.value.slice(i.value)),l=(f,p)=>{const h=n.value,b=h?.["x-enumDescriptions"]??h?.["x-enum-descriptions"];if(b){if(Array.isArray(b))return b[p];if(typeof b=="object"&&b!==null)return b[String(f)]}},c=(f,p)=>{const h=n.value?.["x-enum-varnames"]??n.value?.["x-enumNames"],b=Array.isArray(h)?h[p]:void 0;return b?`${f}${C_}=${C_}${b}`:String(f)},u=K(!1),d=()=>{u.value=!u.value};return(f,p)=>r.value.length>0?(g(),S("div",HVe,[e.propertyNames?(g(),S("div",qVe,V(m(t)("common.propertyNames")),1)):(g(),S("div",ZVe,V(m(t)("common.values")),1)),w("ul",XVe,[(g(!0),S(le,null,it(o.value,(h,b)=>(g(),L(__,{key:String(h),description:l(h,b),label:c(h,b)},null,8,["description","label"]))),128)),a.value&&u.value?(g(!0),S(le,{key:0},it(s.value,(h,b)=>
384(g(),L(__,{key:String(h),description:l(h,i.value+b),label:c(h,i.value+b)},null,8,["description","label"]))),128)):B("",!0),a.value?(g(),S("li",WVe,[N(m(Ln),{class:"enum-toggle-button my-2 flex h-fit gap-1 rounded-full border py-1.5 pr-2.5 pl-2 leading-none",variant:"ghost",onClick:d},{default:P(()=>[N(m(xx),{class:Se({"rotate-45":u.value}),weight:"bold"},null,8,["class"]),J(" "+V(u.value?m(t)("common.hideValues"):m(t)("common.showAllValues")),1)]),_:1})])):B("",!0)])])):B("",!0)}}),$_=ct(KVe,[["__scopeId","data-v-602e2e26"]]),JVe={},eHe={class:"text-c-3 hover:text-c-1 underline",type:"button"};function tHe(e,t){return g(),S("button",eHe,[H(e.$slots,"default")])}var Im=ct(JVe,[["render",tHe]]),LQ=(e,{hideModels:t,document:n})=>{if(!e||t)return!1;const r=n?.components?.schemas?.[e];return!Kr(ke(r,Qr))},nHe=Q({__name:"RenderString",props:{value:{}},setup(e){const t=I(()=>e.value===""?"''":e.value===null?"null":e.value===void 0?"undefined":e.value);return(n,r)=>V(t.value)}}),rHe=nHe;function P_(e){return Array.isArray(e)?`[${e.map(t=>typeof t=="string"?`"${t.toString().trim()}"`:typeof t=="object"?JSON.stringify(t):t===void 0?"undefined":t===null?"null":t).join(", ")}]`:e===null?"null":typeof e=="object"?JSON.stringify(e):e===void 0?"undefined":typeof e=="string"?e.trim():e.toString().trim()}var aHe={key:0,class:"property-default"},iHe={class:"property-default-label",type:"button"},oHe={class:"property-default-value-list"},sHe=Q({__name:"SchemaPropertyDefault",props:{value:{}},setup(e){const{copyToClipboard:t}=au(),{translate:n}=Ot();return(r,a)=>e.value!==void 0?(g(),S("div",aHe,[w("button",iHe,[w("span",null,V(m(n)("schema.default")),1)]),w("div",oHe,[w("button",{class:"property-default-value group",type:"button",onClick:a[0]||(a[0]=i=>m(t)(m(P_)(e.value)))},[w("span",null,V(m(P_)(e.value)),1),N(m(yr),{class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})])])])):B("",!0)}}),lHe=ct(sHe,[["__scopeId","data-v-cc878a44"]]),cHe={key:0,class:"property-detail-prefix"},uHe={key:1,class:"property-detail-value"},dHe={key:2,class:"property-detail-value"},fHe=Q({__name:"SchemaPropertyDetail",props:{truncate:{type:Boolean},code:{type:Boolean}},setup(e){return(t,n)=>(g(),S("span",{class:Se(["property-detail",{"property-detail-truncate":e.truncate}])},[t.$slots.prefix?(g(),S("div",cHe,[H(t.$slots,"prefix",{},void 0,!0),n[0]||(n[0]=J("Â ",-1))])):B("",!0),e.code?(g(),S("code",uHe,[H(t.$slots,"default",{},void 0,!0)])):(g(),S("span",dHe,[H(t.$slots,"default",{},void 0,!0)]))],2))}}),qd=ct(fHe,[["__scopeId","data-v-1295f965"]]);function o4(e){const t=e.trim();return t===""?e:t}function L1(e){return Array.isArray(e)?`[${e.map(t=>typeof t=="string"?`"${o4(t)}"`:typeof t=="object"?JSON.stringify(t):t===void 0?"undefined":t===null?"null":t).join(", ")}]`:e===null?"null":typeof e=="object"?JSON.stringify(e):e===void 0?"undefined":o4(typeof e=="string"?e:e.toString())}var pHe={key:0,class:"property-example"},hHe={class:"property-example-value-list"},mHe={key:1,class:"property-example"},gHe={class:"property-example-value-list"},bHe=["onClick"],yHe=Q({__name:"SchemaPropertyExamples",props:{examples:{},example:{}},setup(e){const{copyToClipboard:t}=au(),{translate:n}=Ot(),r=I(()=>e.example!==void 0),a=I(()=>e.examples&&typeof e.examples=="object"?e.examples:{}),i=I(()=>Object.keys(a.value).length>0),o=I(()=>Object.keys(a.value).length===1?n("schema.example"):n("schema.examples"));function s(l){if(Ge(l)){if("value"in l)return l.value;if("externalValue"in l)return l.externalValue}return l}return(l,c)=>(g(),S(le,null,[r.value?(g(),S("div",pHe,[N(Im,{class:"decoration-dotted"},{default:P(()=>[J(V(m(n)("schema.example")),1)]),_:1}),w("div",hHe,[w("button",{class:"property-example-value group",type:"button",onClick:c[0]||(c[0]=u=>m(t)(m(L1)(e.example)))},[w("span",null,V(m(L1)(e.example)),1),N(m(yr),{class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})])])])):B("",!0),i.value?(g(),S("div",mHe,[N(Im,{class:"decoration-dotted"},{default:P(()=>[J(V(o.value),1)]),_:1}),w("div",gHe,[(g(!0),S(le,null,it(a.value,(u,d)=>(g(),S("button",{key:d,class:"property-example-value group",type:"button",onClick:f=>m(t)(m(L1)(s(u)))},[w("span",null,V(m(L1)(s(u))),1),N(m(yr),{class:"text-c-3 group-hover:text-c-1 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})],8,bHe))),128))])])):B("",!0)],64))}}),vHe=ct(yHe,[["__scopeId","data-v-370db0bd"]]),OHe={class:"property-pattern-popup"},SHe=["aria-label"],wHe=Q({__name:"SchemaPropertyPattern",props:{pattern:{}},setup(e){const{copyToClipboard:t}=au(),{translate:n}=Ot(),r=K(null),a=K(!1),i=()=>{a.value=!a.value},o=()=>{a.value=!1};return By(r,o),zD("Escape",()=>{a.value&&o()}),(s,l)=>(g(),S("div",{ref_key:"rootRef",ref:r,class:Se(["property-pattern",{"is-open":a.value}])},[N(Im,{class:"decoration-dotted",onClick:i},{default:P(()=>[J(V(m(n)("common.pattern")),1)]),_:1}),w("div",OHe,[w("button",{class:"property-pattern-value group",type:"button","aria-label":`${m(n)("common.copyPattern")}: ${e.pattern}`,onClick:l[0]||(l[0]=c=>m(t)(e.pattern))},[w("code",null,V(e.pattern),1),N(m(yr),{"aria-hidden":"true",class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})],8,SHe)])],2))}}),xHe=ct(wHe,[["__scopeId","data-v-2034a630"]]),kHe={class:"property-heading"},AHe={key:1,class:"property-discriminator"},THe={key:3,class:"property-additional"},EHe={key:4,class:"property-deprecated"},_He={key:5,class:"property-const"},CHe={key:7,class:"property-write-only"},$He={key:8,class:"property-read-only"},PHe={key:9,class:"property-required"},IHe=Q({__name:"SchemaPropertyHeading",props:{value:{},enum:{type:Boolean},isDiscriminator:{type:Boolean,default:!1},required:{type:Boolean,default:!1},additional:{type:Boolean},withExamples:{type:Boolean,default:!0},hideModelNames:{type:Boolean,default:!1},modelLinkOptions:{},modelName:{},propertyNames:{},eventBus:{default:null}},setup(e){const t=e,{translate:n}=Ot(),r=D9(t,"value"),a=I(()=>
384{if(!r.value)return;const h=r.value;if(h.const!==void 0)return h.const;if(h.enum?.length===1)return h.enum[0];if(er(h)&&h.items){const b=vt.schema(h.items);if(Bi(b.const))return b.const;if(b.enum?.length===1)return b.enum[0]}}),i=h=>{const b=[];return n1(h)&&(h.minLength&&b.push({key:"min-length",prefix:`${n("common.minLength")}: `,value:h.minLength}),h.maxLength&&b.push({key:"max-length",prefix:`${n("common.maxLength")}: `,value:h.maxLength})),(n1(h)||vk(h))&&h.format&&b.push({key:"format",value:h.format,truncate:!0}),vk(h)&&(Bi(h.exclusiveMinimum)&&b.push({key:"exclusive-minimum",prefix:`${n("common.greaterThan")}: `,value:h.exclusiveMinimum}),Bi(h.minimum)&&b.push({key:"minimum",prefix:`${n("common.min")}: `,value:h.minimum}),Bi(h.exclusiveMaximum)&&b.push({key:"exclusive-maximum",prefix:`${n("common.lessThan")}: `,value:h.exclusiveMaximum}),Bi(h.maximum)&&b.push({key:"maximum",prefix:`${n("common.max")}: `,value:h.maximum}),Bi(h.multipleOf)&&b.push({key:"multiple-of",prefix:`${n("common.multipleOf")}: `,value:h.multipleOf})),b},o=I(()=>{if(!r.value)return[];const h=r.value,b=[];return er(h)&&((h.minItems||h.maxItems)&&b.push({key:"array-range",value:`${h.minItems||""}â¦${h.maxItems||""}`}),h.uniqueItems&&b.push({key:"unique-items",value:`${n("common.unique")}!`})),b.push(...i(h)),er(h)&&h.items&&b.push(...i(vt.schema(h.items))),b}),s=I(()=>{if(!t.value||t.hideModelNames)return null;if(t.modelName)return{schemaKey:t.modelName,label:t.modelName};const h=F2(t.value);if(h)return{schemaKey:h.schemaKey,label:h.label};
384if(er(t.value)&&t.value.items){const b=F2(t.value.items);return b?{schemaKey:b.schemaKey,label:`${b.label}[]`}:null}return null}),l=I(()=>LQ(s.value?.schemaKey,t.modelLinkOptions??{})),c=I(()=>!t.value||!("type"in t.value)?!1:t.value.type==="array"?!0:!a.value),u=I(()=>t.value?Q2(t.value):""),d=I(()=>{const h=t.propertyNames;if(!h)return;const b=[Q2(h)];"format"in h&&typeof h.format=="string"&&b.push(h.format);const y=b.filter(Boolean).join(" · ");return y.length>0?y:void 0}),f=I(()=>{if(t.value&&"example"in t.value&&t.value.example!==void 0)return t.value.example;if(t.value&&er(t.value)){const h=vt.schema(t.value.items);if(h&&"example"in h&&h.example!==void 0)return h.example}}),p=I(()=>{const h=r.value;if(h){if(n1(h)&&h.pattern)return h.pattern;if(er(h)&&h.items){const b=vt.schema(h.items);if(n1(b)&&b.pattern)return b.pattern}}});return(h,b)=>(g(),S("div",kHe,[h.$slots.name?(g(),S("div",{key:0,class:Se(["property-name",{deprecated:t.value?.deprecated}])},[H(h.$slots,"name",{},void 0,!0)],2)):B("",!0),t.isDiscriminator?(g(),S("div",AHe,V(m(n)("common.discriminator")),1)):B("",!0),t.value?(g(),S(le,{key:2},[c.value?(g(),L(qd,{key:0,truncate:""},{default:P(()=>[N(fs,null,{default:P(()=>[J(V(m(n)("common.type"))+":",1)]),_:1}),J(" "+V(u.value)+" ",1),s.value?(g(),S(le,{key:0},[b[1]||(b[1]=J(" · ",-1)),t.eventBus&&s.value.schemaKey&&l.value?(g(),L(Im,{key:0,onClick:b[0]||(b[0]=y=>t.eventBus.emit("scroll-to:model-by-name",{name:s.value.schemaKey}))},{default:P(()=>[J(V(s.value.label),1)]),_:1})):(g(),S(le,{key:1},[J(V(s.value.label),1)],64))],64)):B("",!0)]),_:1})):B("",!0),d.value?(g(),L(qd,{key:1,truncate:""},{prefix:P(()=>[J(V(m(n)("common.keys"))+":",1)]),default:P(()=>[J(" "+V(d.value),1)]),_:1})):B("",!0),(g(!0),S(le,null,it(o.value,y=>(g(),L(qd,{key:y.key,code:y.code,truncate:y.truncate},lr({default:P(()=>[y.key==="format"?(g(),L(fs,{key:0},{default:P(()=>[J(V(m(n)("common.format"))+": ",1)]),_:1})):B("",!0),J(" "+V(y.value),1)]),_:2},[y.prefix?{name:"prefix",fn:P(()=>[J(V(y.prefix),1)]),key:"0"}:void 0]),1032,["code","truncate"]))),128)),p.value?(g(),L(xHe,{key:2,pattern:p.value},null,8,["pattern"])):B("",!0),t.enum?(g(),L(qd,{key:3},{default:P(()=>[J(V(m(n)("common.enum")),1)]),_:1})):B("",!0)],64)):B("",!0),t.additional?(g(),S("div",THe,[t.value?.["x-additionalPropertiesName"]?(g(),S(le,{key:0},[J(V(t.value["x-additionalPropertiesName"]),1)],64)):(g(),S(le,{key:1},[J(V(m(n)("common.additionalProperties")),1)],64))])):B("",!0),t.value?.deprecated?(g(),S("div",EHe,[N(m(Zi),null,{default:P(()=>[J(V(m(n)("common.deprecated")),1)]),_:1})])):B("",!0),a.value!==void 0?(g(),S("div",_He,[N(qd,{truncate:""},{prefix:P(()=>[J(V(m(n)("common.const"))+": ",1)]),default:P(()=>[N(rHe,{value:a.value},null,8,["value"])]),_:1})])):(g(),S(le,{key:6},[t.value?.nullable===!0?(g(),L(qd,{key:0},{default:P(()=>[J(V(m(n)("common.nullable")),1)]),_:1})):B("",!0)],64)),t.value?.writeOnly?(g(),S("div",CHe,V(m(n)("common.writeOnly")),1)):t.value?.readOnly?(g(),S("div",$He,V(m(n)("common.readOnly")),1)):B("",!0),t.required?(g(),S("div",PHe,V(m(n)("common.required")),1)):B("",!0),N(lHe,{value:t.value?.default},null,8,["value"]),t.withExamples?(g(),L(vHe,{key:10,example:f.value,examples:t.value?.examples},null,8,["example","examples"])):B("",!0)]))}}),NHe=ct(IHe,[["__scopeId","data-v-8af95d8d"]]),RHe={key:0,class:"property-name-pattern-properties"},MHe={key:1,class:"property-name-additional-properties"},LHe={key:1,class:"property-description"},DHe={key:4,class:"children"},BHe={key:5,class:"children"},UHe=Q({__name:"SchemaProperty",props:{is:{},schema:{},noncollapsible:{type:Boolean},level:{default:0},name:{},required:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},discriminator:{},description:{},hideModelNames:{type:Boolean,default:!1},hideHeading:{type:Boolean},modelName:{},variant:{},breadcrumb:{},eventBus:{},options:{},propertyNamesEnum:{},propertyNamesSchema:{},schemaContext:{},compositionPath:{},compositionPathSegment:{},cycleKey:{}},setup(e){const t=["oneOf","anyOf","allOf"],n=e,r=CQ(),a=I(()=>E_(zw(n.schema,r))),i=I(()=>n.breadcrumb?n.name?[...n.breadcrumb,n.name]:n.breadcrumb:void 0),o=I(()=>
384n.compositionPathSegment?[...n.compositionPath??[],n.compositionPathSegment]:n.compositionPath??[]),s=I(()=>[...o.value,"items"]),l=I(()=>n.level<=2),c=I(()=>{const R=a.value;if(!R||!er(R)||!Ib(R.items))return R;const j=Rb(R.items.$dynamicRef,r);return j?{...R,items:j}:R}),u=I(()=>IQ(c.value)),d=I(()=>h.value.length>0),f=I(()=>{const R=a.value;if(!R||!("properties"in R||"additionalProperties"in R)||"allOf"in R)return!1;const j=R.type,U=typeof j=="string"&&j!=="object";return Qi(R)||!U}),p=I(()=>{const R=a.value;return!R||!er(R)||typeof R.items!="object"?!1:u.value}),h=I(()=>MVe(a.value)),b=I(()=>DVe(a.value)),y=I(()=>BVe(a.value,n.description)),O=I(()=>{const R=a.value;if(!R)return R;const{oneOf:j,anyOf:U,allOf:Y,not:W,discriminator:pe,...ee}=R;if(y.value&&"description"in ee){const{description:ae,...de}=ee;return de}return ee}),A=I(()=>UVe(a.value,n.name,n.required)),x=I(()=>mVe(a.value,n.options.document)),T=R=>R==="allOf"?n.schema?.discriminator??n.discriminator:n.schema?.discriminator,E=I(()=>{const R=c.value;if(!R||!er(R)||typeof R.items!="object")return;const j=vt.schema(R.items);return t.some(U=>Array.isArray(j?.[U])&&j[U]?.length===1)?E_(j):j}),C=I(()=>{const R=a.value;if(!(!R||!er(R)))return em(R.items)}),$=I(()=>!!(n.name&&n.discriminator?.propertyName===n.name));return(R,j)=>(g(),L(Yt(e.is??"li"),{class:Se(["property",[`property--level-${e.level}`,{"property--compact":e.compact,"property--deprecated":a.value?.deprecated}]])},{default:P(()=>[A.value?(g(),L(NHe,{key:0,class:"group",enum:d.value,eventBus:e.eventBus,hideModelNames:e.hideModelNames,isDiscriminator:$.value,modelLinkOptions:{hideModels:e.options.hideModels,document:e.options.document},modelName:e.modelName,propertyNames:e.propertyNamesSchema,required:e.required,value:a.value},lr({_:2},[e.name?{name:"name",fn:P(()=>[N(m(sVe),{breadcrumb:l.value?i.value:void 0,eventBus:e.eventBus},{default:P(()=>[e.variant==="patternProperties"?(g(),S("span",RHe,[N(m(Ac),{preset:"property",text:e.name},null,8,["text"])])):e.variant==="additionalProperties"?(g(),S("span",MHe,[N(m(Ac),{preset:"property",text:e.name},null,8,["text"])])):(g(),L(m(Ac),{key:2,preset:"property",text:e.name},null,8,["text"]))]),_:1},8,["breadcrumb","eventBus"])]),key:"0"}:void 0,a.value?.example!==void 0?{name:"example",fn:P(()=>[J(" Example: "+V(a.value.example),1)]),key:"1"}:void 0]),1032,["enum","eventBus","hideModelNames","isDiscriminator","modelLinkOptions","modelName","propertyNames","required","value"])):B("",!0),y.value||b.value?(g(),S("div",LHe,[N(m(Jr),{value:y.value||b.value||""},null,8,["value"])])):B("",!0),e.propertyNamesEnum&&e.propertyNamesEnum.length>0?(g(),L($_,{key:2,propertyNames:"",value:{enum:e.propertyNamesEnum}},null,8,["value"])):B("",!0),h.value.length>0&&!p.value?(g(),L($_,{key:3,value:a.value},null,8,["value"])):B("",!0),f.value?(g(),S("div",DHe,[N(Xs,{breadcrumb:i.value,compact:e.compact,compositionPath:o.value,cycleKey:e.cycleKey,eventBus:e.eventBus,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:O.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","cycleKey","eventBus","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"])])):B("",!0),p.value&&E.value?(g(),S("div",BHe,[N(Xs,{compact:e.compact,compositionPath:s.value,cycleKey:C.value,eventBus:e.eventBus,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:m(vt).schema(E.value),schemaContext:e.schemaContext},null,8,["compact","compositionPath","cycleKey","eventBus","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"])])):B("",!0),(g(!0),S(le,null,it(x.value,U=>(g(),L(MQ,{key:U.composition,breadcrumb:e.breadcrumb,compact:e.compact,composition:U.composition,compositionPath:o.value,discriminator:T(U.composition),eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:U.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","composition","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"]))),128)),N(m(ep),{value:a.value},null,8,["value"])]),_:1},8,["class"]))}}),Cc=ct(UHe,[["__scopeId","data-v-933ce0d5"]]),jHe={key:0,class:"properties"},QHe={key:1},FHe=Q({__name:"ClassicLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},options:{}},setup(e){return(t,n)=>(g(),L(m(P6),{"aria-label":e.schema.title??e.name,modelValue:!e.isCollapsed,"onUpdate:modelValue":n[1]||(n[1]=r=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:r}))},{title:P(()=>[N(m(Js),{class:"reference-models-anchor",eventBus:e.eventBus,onCopyAnchorUrl:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}))},{default:P(()=>[N(m(_o),{level:3},{default:P(()=>[N(m(I6),{class:"reference-models-label",name:e.schema.title??e.name,value:e.schema},null,8,["name","value"])]),_:1})]),_:1},8,["eventBus"])]),default:P(()=>["properties"in e.schema?(g(),S("div",jHe,[(g(!0),S(le,null,it(Object.entries(e.schema.properties??{}),([r,a])=>(g(),L(m(Cc),{key:r,eventBus:e.eventBus,hideModelNames:e.options.hideModels,name:r,options:{...e.options,document:e.document},required:e.schema.required?.includes(r),schema:m(vt).schema(a)},null,8,["eventBus","hideModelNames","name","options","required","schema"]))),128))])):(g(),S("div",QHe,[N(m(Cc),{eventBus:e.eventBus,hideModelNames:e.options.hideModels,options:{...e.options,document:e.document},schema:e.schema},null,8,["eventBus","hideModelNames","options","schema"])]))]),_:1},8,["aria-label","modelValue"]))}}
384),zHe=ct(FHe,[["__scopeId","data-v-f3ae088e"]]),VHe=["aria-label"],HHe=["id","aria-controls","aria-expanded","aria-labelledby"],qHe=["id"],ZHe=Q({__name:"CompactSection",props:{id:{},label:{},modelValue:{type:Boolean}},emits:["update:modelValue","copyAnchorUrl"],setup(e,{emit:t}){const n=t,r=I(()=>`${e.id}-content`),a=vn();return(i,o)=>(g(),S("section",{"aria-label":e.label,class:"collapsible-section"},[w("button",{id:e.id,"aria-controls":e.modelValue?r.value:void 0,"aria-expanded":e.modelValue,"aria-labelledby":m(a),class:Se(["collapsible-section-trigger",{"collapsible-section-trigger-open":e.modelValue}]),type:"button",onClick:o[1]||(o[1]=s=>n("update:modelValue",!e.modelValue))},[N(m(wd),{class:Se(["size-3 transition-transform duration-100",{"rotate-90":e.modelValue}]),weight:"bold"},null,8,["class"]),N(m(Js),{class:"collapsible-section-header",onCopyAnchorUrl:o[0]||(o[0]=()=>n("copyAnchorUrl"))},{default:P(()=>[w("span",{id:m(a),class:"contents"},[H(i.$slots,"heading",{},void 0,!0)],8,qHe)]),_:3})],10,HHe),e.modelValue?(g(),L(jp,{key:0,id:r.value,class:"collapsible-section-content",label:e.label},{default:P(()=>[H(i.$slots,"default",{},void 0,!0)]),_:3},8,["id","label"])):B("",!0)],8,VHe))}}),XHe=ct(ZHe,[["__scopeId","data-v-ea5f870d"]]),WHe=Q({__name:"ModernLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},options:{}},setup(e){return(t,n)=>(g(),L(m(XHe),{id:e.id,key:e.name,label:e.name,modelValue:!e.isCollapsed,onCopyAnchorUrl:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id})),"onUpdate:modelValue":n[1]||(n[1]=r=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:r}))},{heading:P(()=>[N(m(_o),{level:3},{default:P(()=>[N(m(I6),{name:e.schema.title??e.name,value:e.schema},null,8,["name","value"])]),_:1})]),default:P(()=>[N(m(Wo),null,{default:P(()=>[N(m(Xs),{eventBus:e.eventBus,hideModelNames:e.options.hideModels,hideHeading:"",level:1,noncollapsible:"",options:{...e.options,document:e.document},schema:e.schema},null,8,["eventBus","hideModelNames","options","schema"])]),_:1})]),_:1},8,["id","label","modelValue"]))}}),YHe=WHe,GHe=Q({__name:"Model",props:{id:{},name:{},options:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{}},setup(e){const t=vi("section");return Ed(t,()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id})),(n,r)=>e.schema?(g(),S("div",{key:0,ref_key:"section",ref:t},[e.options.layout==="classic"?(g(),L(zHe,{key:0,id:e.id,document:e.document,eventBus:e.eventBus,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema},null,8,["id","document","eventBus","isCollapsed","name","options","schema"])):(g(),L(YHe,{key:1,id:e.id,document:e.document,eventBus:e.eventBus,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema},null,8,["id","document","eventBus","isCollapsed","name","options","schema"]))],512)):B("",!0)}}),DQ=GHe,KHe={class:"section-accordion-wrapper"},JHe={class:"section-accordion-title"},eqe=Q({__name:"SectionContainerAccordion",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t;return(r,a)=>(g(),S("section",KHe,[N(m(kd),{as:"div",class:"section-accordion"},{default:P(()=>[N(m(Ll),{class:"section-accordion-button",onClick:a[0]||(a[0]=i=>n("update:modelValue",!e.modelValue))},{default:P(()=>[N(m(wd),{class:Se(["section-accordion-chevron size-5 transition-transform",{"rotate-90":e.modelValue}])},null,8,["class"]),w("div",JHe,[H(r.$slots,"title",{},void 0,!0)])]),_:3}),e.modelValue?(g(),L(m(Ad),{key:0,class:"section-accordion-content",static:""},{default:P(()=>[H(r.$slots,"default",{},void 0,!0)]),_:3})):B("",!0)]),_:3})]))}}),L6=ct(eqe,[["__scopeId","data-v-9419dd23"]]),tqe={class:"show-more",type:"button"},nqe=Q({__name:"ShowMoreButton",setup(e){const{translate:t}=Ot();return(n,r)=>(g(),S("button",tqe,[J(V(m(t)("actions.showMore"))+" ",1),N(m(xi),{class:"text-c-2 mt-0.25 size-3",weight:"bold"})]))}}),BQ=ct(nqe,[["__scopeId","data-v-bb0811ed"]]),rqe=Q({__name:"ModelTag",props:{id:{},isCollapsed:{type:Boolean},eventBus:{},layout:{},modelsSectionLabel:{default:()=>di}},setup(e){return(t,n)=>e.layout==="modern"?(g(),L(L0,{key:0},{default:P(()=>[N(m(jp),{id:e.id,"aria-label":e.modelsSectionLabel,onIntersecting:n[1]||(n[1]=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id}))},{default:P(()=>[N(m(rd),null,{default:P(()=>[N(_o,{level:2},{default:P(()=>[J(V(e.modelsSectionLabel),1)]),_:1})]),_:1}),e.isCollapsed?(g(),L(BQ,{key:1,id:e.id,class:"top-0",onClick:n[0]||(n[0]=()=>e.eventBus.emit("toggle:nav-item",{id:e.id,open:!0}))},null,8,["id"])):H(t.$slots,"default",{},void 0,void 0,0)]),_:3},8,["id","aria-label"])]),_:3})):(g(),L(L6,{key:1,"aria-label":e.modelsSectionLabel,class:"pb-12",modelValue:!e.isCollapsed,"onUpdate:modelValue":n[2]||(n[2]=()=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:e.isCollapsed}))},{title:P(()=>[N(m(rd),{level:2},{default:P(()=>[J(V(e.modelsSectionLabel),1)]),_:1})]),default:P(()=>[H(t.$slots,"default")]),_:3},8,["aria-label","modelValue"]))}}),UQ=rqe,aqe=Q({__name:"ClassicLayout",props:{tag:{},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean}},setup(e){return(t,n)=>(g(),L(m(L6),{"aria-label":e.tag.title,class:Se(["tag-section",{"tag-section-group":e.tag.isGroup,"tag-section-nested":e.nested}]),modelValue:!e.isCollapsed,"onUpdate:modelValue":n[1]||(n[1]=r=>e.eventBus?.emit("toggle:nav-item",{id:e.tag.id,open:r}))},{title:P(()=>[N(m(rd),{class:Se(["tag-name",{"tag-group-name":e.tag.isGroup}])},{default:P(()=>[N(m(Js),{onCopyAnchorUrl:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.tag.id}))},{default:P(()=>[N(m(_o),{level:2},{default:P(()=>
384[J(V(e.tag.title),1)]),_:1})]),_:1})]),_:1},8,["class"]),N(m(Jr),{class:"tag-description",value:e.tag?.description,withImages:""},null,8,["value"])]),default:P(()=>[H(t.$slots,"default",{},void 0,!0)]),_:3},8,["aria-label","class","modelValue"]))}}),iqe=ct(aqe,[["__scopeId","data-v-30009843"]]),oqe=["aria-label"],sqe=["onClick"],lqe=Q({__name:"ChannelsList",props:{tag:{},eventBus:{}},setup(e){const{translate:t}=Ot(),n=I(()=>e.tag.children?.filter(r=>r.type==="asyncapi-channel")??[]);return(r,a)=>n.value.length?(g(),L(m($m),{key:0,class:"channels-card"},{default:P(()=>[N(m(nv),{muted:""},{default:P(()=>[N(fs,null,{default:P(()=>[J(V(e.tag.title),1)]),_:1}),J(" "+V(m(t)("navigation.channels")),1)]),_:1}),N(m(nd),{class:"custom-scroll max-h-[60vh]"},{default:P(()=>[w("ul",{"aria-label":m(t)("navigation.channels"),class:"channels"},[(g(!0),S(le,null,it(n.value,i=>(g(),S("li",{key:i.id,class:"contents"},[w("a",{class:"channel",onClick:jt(()=>e.eventBus?.emit("scroll-to:nav-item",{id:i.id}),["prevent"])},V(i.title||i.channelAddress),9,sqe)]))),128))],8,oqe)]),_:1})]),_:1})):B("",!0)}}),cqe=ct(lqe,[["__scopeId","data-v-817abeb3"]]),uqe=Q({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){const t=e,n=I(()=>m0(String(t.method||""))),r=I(()=>bx(t.method));return(a,i)=>(g(),L(Yt(e.as??"span"),{class:"uppercase",style:kr({[e.property||"color"]:n.value.colorVar})},{default:P(()=>[H(a.$slots,"default"),J(" "+V(e.short?n.value.short:r.value),1)]),_:3},8,["style"]))}}),D6=uqe,dqe=Q({__name:"OperationsListItem",props:{operation:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){const t=I(()=>"path"in e.operation?e.operation.path:e.operation.title),n=r=>r.type==="webhook";return(r,a)=>(g(),S("li",{key:e.operation.id,class:"contents"},[e.isCollapsed?(g(),L(m(_o),{key:0,class:"sr-only",level:3},{default:P(()=>[J(V(e.operation.title)+" (Hidden) ",1)]),_:1})):B("",!0),w("a",{class:"endpoint",onClick:a[0]||(a[0]=jt(()=>e.eventBus?.emit("scroll-to:nav-item",{id:e.operation.id}),["prevent"]))},[N(m(D6),{class:"endpoint-method items-center justify-end gap-2",method:e.operation.method},{default:P(()=>[n(e.operation)?(g(),L(m(b0),{key:0,class:"size-3.5",style:kr({color:m(m0)(e.operation.method).colorVar})},null,8,["style"])):B("",!0)]),_:1},8,["method"]),w("span",{class:Se(["endpoint-path",{deprecated:e.operation.isDeprecated}])},V(t.value),3)])]))}}),fqe=ct(dqe,[["__scopeId","data-v-ad8530a6"]]),pqe=["aria-label"],hqe=Q({__name:"OperationsList",props:{tag:{},eventBus:{}},setup(e){const{translate:t}=Ot(),n=I(()=>e.tag.children?.filter(r=>r.type==="operation"||r.type==="webhook")??[]);return(r,a)=>e.tag.children&&e.tag.children?.length>0?(g(),L(m($m),{key:0,class:"endpoints-card"},{default:P(()=>[N(m(nv),{muted:""},{default:P(()=>[N(fs,null,{default:P(()=>[J(V(e.tag.title),1)]),_:1}),J(" "+V(e.tag.isWebhooks?m(t)("navigation.webhooks"):m(t)("navigation.operations")),1)]),_:1}),N(m(nd),{class:"custom-scroll max-h-[60vh]"},{default:P(()=>[w("ul",{"aria-label":m(t)("navigation.endpoints",{name:e.tag.title}),class:"endpoints"},[(g(!0),S(le,null,it(n.value,i=>(g(),L(fqe,{key:i.id,eventBus:e.eventBus,operation:i},null,8,["eventBus","operation"]))),128))],8,pqe)]),_:1})]),_:1})):B("",!0)}}),mqe=ct(hqe,[["__scopeId","data-v-0315c99b"]]),gqe=Q({__name:"TagSection",props:{tag:{},headerId:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){const{translate:t}=Ot(),n=I(()=>e.tag.children?.some(r=>r.type==="asyncapi-channel")??!1);return(r,a)=>e.tag?(g(),L(m(jp),{key:0,id:e.tag.id,role:"none",onIntersecting:a[1]||(a[1]=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.tag.id}))},{default:P(()=>[N(m(rd),null,{default:P(()=>[N(m(Js),{onCopyAnchorUrl:a[0]||(a[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.tag.id}))},{default:P(()=>[N(m(_o),{id:e.headerId,level:2},{default:P(()=>[J(V(e.tag.title)+" ",1),e.isCollapsed?(g(),L(fs,{key:0},{default:P(()=>[J(" ("+V(m(t)("navigation.collapsed"))+") ",1)]),_:1})):B("",!0)]),_:1},8,["id"])]),_:1})]),_:1}),N(m(lv),null,{default:P(()=>[N(m(_6),null,{default:P(()=>[N(m(Jf),null,{default:P(()=>[N(m(Jr),{clamp:e.isCollapsed?7:void 0,value:e.tag?.description??"",withImages:""},null,8,["clamp","value"])]),_:1}),N(m(Jf),null,{default:P(()=>[n.value?(g(),L(cqe,{key:0,eventBus:e.eventBus,tag:e.tag},null,8,["eventBus","tag"])):(g(),L(m(mqe),{key:1,eventBus:e.eventBus,tag:e.tag},null,8,["eventBus","tag"]))]),_:1})]),_:1})]),_:1}),N(m(ep),{value:e.tag.xKeys},null,8,["value"])]),_:1},8,["id"])):B("",!0)}}),bqe=gqe,yqe={key:2,class:"contents divide-y"},vqe=Q({__name:"ModernLayout",props:{tag:{},moreThanOneTag:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean,default:!1}},setup(e){const{translate:t}=Ot(),n=vn(),r=I(()=>e.moreThanOneTag||e.tag?.title!=="default"||e.tag?.description!==""),a=I(()=>(e.tag?.children?.length??0)>0),i=I(()=>e.moreThanOneTag||e.nested),o=I(()=>e.isCollapsed&&i.value),s=I(()=>
384o.value&&a.value),l=I(()=>s.value&&!e.nested);return(c,u)=>(g(),L(m(L0),{"aria-labelledby":m(n),class:Se(["tag-section-container",{"tag-section-collapsed":l.value,"tag-section-nested":e.nested}]),role:"region"},{default:P(()=>[r.value?(g(),L(bqe,{key:0,eventBus:e.eventBus,headerId:m(n),isCollapsed:e.isCollapsed,tag:e.tag},null,8,["eventBus","headerId","isCollapsed","tag"])):B("",!0),s.value?(g(),L(BQ,{key:1,id:e.tag.id,"aria-label":m(t)("navigation.showAllEndpoints",{name:e.tag.title}),onClick:u[0]||(u[0]=()=>e.eventBus?.emit("toggle:nav-item",{id:e.tag.id,open:!0}))},null,8,["id","aria-label"])):B("",!0),o.value?B("",!0):(g(),S("div",yqe,[H(c.$slots,"default",{},void 0,!0)]))]),_:3},8,["aria-labelledby","class"]))}}),Oqe=ct(vqe,[["__scopeId","data-v-831b6e40"]]),Sqe=Q({__name:"Tag",props:{tag:{},layout:{},moreThanOneTag:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean}},setup(e){return(t,n)=>e.layout==="classic"?(g(),L(iqe,{key:0,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,nested:e.nested,tag:e.tag},{default:P(()=>[H(t.$slots,"default")]),_:3},8,["eventBus","isCollapsed","layout","nested","tag"])):(g(),L(Oqe,{key:1,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,moreThanOneTag:e.moreThanOneTag,nested:e.nested,tag:e.tag},{default:P(()=>[H(t.$slots,"default")]),_:3},8,["eventBus","isCollapsed","layout","moreThanOneTag","nested","tag"]))}}),jQ=Sqe,wqe=["id","data-placeholder"],xqe=760,kqe=1200,Aqe=Q({__name:"Lazy",props:{id:{},expanded:{type:Boolean,default:!1}},setup(e){const t=`${kqe}px 0px`,{isReady:n}=Dke(e.id),r=K(null),a=K(Pke(e.id)??xqe);let i=null;const o=I(()=>n.value||e.expanded);return Mt(()=>{if(!(typeof window>"u")){if(!("IntersectionObserver"in window)){vT(e.id,!0);return}HD(r,([s])=>{s?.isIntersecting&&!n.value&&vT(e.id,!0)},{rootMargin:t})}}),qe(()=>o.value,(s,l)=>{if(l&&!s&&r.value){const c=r.value.offsetHeight;Number.isFinite(c)&&c>0&&(a.value=c,TO(e.id,c))}},{flush:"pre"}),qe(()=>o.value,s=>{if(!s){i?.disconnect(),i=null;return}Nn(()=>{if(!r.value||typeof ResizeObserver>"u")return;i||(i=new ResizeObserver(()=>{if(!r.value)return;const c=r.value.offsetHeight;Number.isFinite(c)&&c>0&&(a.value=c,TO(e.id,c))})),i.observe(r.value);const l=r.value.offsetHeight;Number.isFinite(l)&&l>0&&(a.value=l,TO(e.id,l))})},{immediate:!0}),to(()=>{i?.disconnect()}),(s,l)=>(g(),S("div",{id:o.value?void 0:e.id,ref_key:"lazyContainerRef",ref:r,"data-placeholder":!o.value,"data-testid":"lazy-container",style:kr({height:o.value?void 0:`${a.value}px`})},[o.value?H(s.$slots,"default",{},void 0,void 0):B("",!0)],12,wqe))}}),QQ=Aqe,Tqe=Q({inheritAttrs:!1,__name:"ContentTypeSelect",props:xn({content:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const{translate:t}=Ot(),n=yn(e,"modelValue"),r=I(()=>Object.keys(e.content??{})),a=I({get:()=>i.value.find(s=>s.id===n.value),set:s=>{s&&(n.value=s.id)}}),i=I(()=>r.value.map(s=>({id:s,label:s}))),o=$r({base:"font-normal text-c-2 bg-b-1 py-1 flex items-center gap-1 rounded-full text-xs leading-none border",variants:{dropdown:{true:"hover:text-c-1 pl-2 pr-1.5 font-medium cursor-pointer",false:"px-2"}}});return(s,l)=>r.value.length>1?(g(),L(m(nu),{key:0,modelValue:a.value,"onUpdate:modelValue":l[1]||(l[1]=c=>a.value=c),options:i.value,placement:"bottom-end",teleport:"",onClick:l[2]||(l[2]=jt(()=>{},["stop"]))},{default:P(({open:c})=>[N(m(Ln),Ae({class:["h-fit",m(o)({dropdown:!0})],variant:"ghost"},s.$attrs,{onClick:l[0]||(l[0]=jt(()=>{},["stop"]))}),{default:P(()=>[N(fs,null,{default:P(()=>[J(V(m(t)("operation.selectedContentType"))+": ",1)]),_:1}),w("span",null,V(n.value),1),N(m(xi),{class:Se(["size-2.75 transition-transform duration-100",{"rotate-180":c}]),weight:"bold"},null,8,["class"])]),_:2},1040,["class"])]),_:1},8,["modelValue","options"])):(g(),S("div",Ae({key:1,class:["selected-content-type",m(o)({dropdown:!1})]},s.$attrs,{tabindex:"0"}),[w("span",null,V(n.value),1)],16))}}),FQ=Tqe,Eqe=Q({__name:"Header",props:{header:{},name:{},breadcrumb:{},eventBus:{},document:{},orderSchemaPropertiesBy:{},orderRequiredPropertiesFirst:{type:Boolean},expandAllSchemaProperties:{type:Boolean},hideModels:{type:Boolean}},setup(e){return(t,n)=>"schema"in e.header&&e.header.schema?(g(),L(Cc,{key:0,breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,description:e.header.description,eventBus:e.eventBus,name:e.name,options:{orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy,expandAllSchemaProperties:e.expandAllSchemaProperties,hideModels:e.hideModels,document:e.document},schema:m(ke)(e.header.schema)},null,8,["breadcrumb","description","eventBus","name","options","schema"])):B("",!0)}}),_qe=Eqe,Cqe=Q({__name:"Headers",props:{headers:{},breadcrumb:{},eventBus:{},document:{},orderRequiredPropertiesFirst:{type:Boolean},orderSchemaPropertiesBy:{},expandAllSchemaProperties:{type:Boolean},hideModels:{type:Boolean}},setup(e){const{translate:t}=Ot();return(n,r)=>(g(),L(m(kd),null,{default:P(({open:a})=>[w("div",{class:Se(["headers-card headers-card--compact",[{"headers-card--open":a}]])},[w("div",{class:Se(["headers-properties",{"headers-properties-open":a}])},[N(m(Ll),{class:"headers-card-title headers-card-title--compact",style:{to
384p:"calc(var(--refs-viewport-offset)))"}},{default:P(()=>[N(m(yr),{class:Se(["headers-card-title-icon",{"headers-card-title-icon--open":a}]),icon:"Add",size:"sm"},null,8,["class"]),a?(g(),S(le,{key:0},[J(V(m(t)("operation.hideHeaders")),1)],64)):(g(),S(le,{key:1},[J(V(m(t)("operation.showHeaders")),1)],64))]),_:2},1024),N(m(Ad),null,{default:P(()=>[(g(!0),S(le,null,it(e.headers,(i,o)=>(g(),L(_qe,{key:o,breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,document:e.document,eventBus:e.eventBus,expandAllSchemaProperties:e.expandAllSchemaProperties,header:m(ke)(i),hideModels:e.hideModels,name:o,orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy},null,8,["breadcrumb","document","eventBus","expandAllSchemaProperties","header","hideModels","name","orderRequiredPropertiesFirst","orderSchemaPropertiesBy"]))),128))]),_:1})],2)],2)]),_:1}))}}),$qe=ct(Cqe,[["__scopeId","data-v-9ba640f2"]]),I_=e=>e!==void 0,Pqe=({parameter:e,schemaExamples:t,contentExamples:n})=>{const r="examples"in e&&Wu(e.examples)?e.examples:{},a=Object.values({...r,...Wu(n)?n:{}}).filter(I_),i=a.length===0&&"example"in e&&e.example!==void 0?[e.example]:[],o=(t??i).filter(I_);return[...a,...o]},Iqe={class:"parameter-item group/parameter-item"},Nqe={class:"parameter-item-name min-w-0"},Rqe={key:1,class:"flex-1"},Mqe=Q({__name:"ParameterListItem",props:{parameter:{},name:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},document:{},options:{}},setup(e){const t=K(!1),n=I(()=>"schema"in e.parameter&&e.parameter.schema?ke(e.parameter.schema):null),r=I(()=>!("content"in e.parameter)||!e.parameter.content||Object.keys(e.parameter.content).length===0?null:e.parameter.content),a=K(Object.keys(r.value||{})[0]??""),i=I(()=>"headers"in e.parameter&&e.parameter.headers?e.parameter.headers:null),o=I(()=>r.value?r.value?.[a.value]?.schema:"schema"in e.parameter&&e.parameter.schema?e.parameter.schema:null),s=I(()=>{const f=o.value;return f&&"$ref"in f?N6(f.$ref):null}),l=I(()=>{const f=o.value,p=r.value?ke(f):n.value,h="deprecated"in e.parameter?e.parameter.deprecated:n.value?.deprecated,b=Pqe({parameter:e.parameter,schemaExamples:n.value?.examples,contentExamples:r.value?.[a.value]?.examples});return{...p,deprecated:h,examples:b}}),c=I(()=>!!(r.value||i.value||n.value||t.value)),u=I(()=>e.collapsableItems&&e.breadcrumb&&e.name?[...e.breadcrumb,e.name]:e.breadcrumb),d=I(()=>{const f=u.value?.join(".");if(!f)return!1;const p=Tm.value;return p===f||p.startsWith(`${f}.`)});return(f,p)=>(g(),S("li",Iqe,[N(m(kd),{defaultOpen:d.value},{default:P(({open:h})=>[e.collapsableItems?(g(),L(Yt(c.value?m(Ll):"div"),{key:0,class:Se(["parameter-item-trigger",{"parameter-item-trigger-open":h}])},{default:P(()=>[w("div",Nqe,[c.value?(g(),L(m(wd),{key:0,class:Se(["parameter-item-icon size-3 transition-transform duration-100",{"rotate-90":h}]),weight:"bold"},null,8,["class"])):B("",!0),w("div",null,[N(m(Ac),{preset:"property",text:e.name},null,8,["text"])])]),!h&&e.parameter.description?(g(),L(m($w),{key:0,truncated:t.value,"onUpdate:truncated":p[0]||(p[0]=b=>t.value=b),class:"parameter-item-description-summary min-w-0 flex-1",controlled:"",value:e.parameter.description},null,8,["truncated","value"])):(g(),S("div",Rqe))]),_:2},1032,["class"])):B("",!0),N(m(Ad),{class:"parameter-item-container parameter-item-container-markdown",static:!e.collapsableItems},{default:P(()=>[e.collapsableItems&&e.parameter.description?(g(),L(m(Jr),{key:0,class:"parameter-item-description",value:e.parameter.description},null,8,["value"])):B("",!0),i.value?(g(),L($qe,{key:1,breadcrumb:e.breadcrumb,document:e.document,eventBus:e.eventBus,expandAllSchemaProperties:e.options.expandAllSchemaProperties,headers:i.value,hideModels:e.options.hideModels,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},null,8,["breadcrumb","document","eventBus","expandAllSchemaProperties","headers","hideModels","orderRequiredPropertiesFirst","orderSchemaPropertiesBy"])):B("",!0),N(Cc,{is:"div",breadcrumb:u.value,compact:"",description:e.collapsableItems?"":e.parameter.description,eventBus:e.eventBus,hideWriteOnly:!0,modelName:s.value,
384name:e.collapsableItems?"":e.name,noncollapsible:!0,options:{hideWriteOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,hideModels:e.options.hideModels,document:e.document},required:"required"in e.parameter&&e.parameter.required,schema:l.value},null,8,["breadcrumb","description","eventBus","modelName","name","options","required","schema"])]),_:1},8,["static"]),c.value&&r.value?(g(),S("div",{key:1,class:Se(["absolute top-[calc(10px+0.5lh)] right-0 z-0 flex -translate-y-1/2 items-center text-base",{"opacity-0 group-focus-within/parameter-item:opacity-100 group-hover/parameter-item:opacity-100":!h}])},[p[2]||(p[2]=w("div",{class:"from-b-1 absolute inset-y-0 -left-6 -z-1 w-8 bg-linear-to-l from-40% to-transparent"},null,-1)),N(FQ,{modelValue:a.value,"onUpdate:modelValue":p[1]||(p[1]=b=>a.value=b),content:r.value},null,8,["modelValue","content"])],2)):B("",!0)]),_:1},8,["defaultOpen"])]))}}),zQ=ct(Mqe,[["__scopeId","data-v-df03174a"]]),Lqe={key:0,class:"mt-6"},Dqe=["id"],Bqe=["aria-labelledby"],Uqe=Q({__name:"ParameterList",props:{parameters:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},document:{},options:{}},setup(e){const t=vn();return(n,r)=>e.parameters?.length?(g(),S("div",Lqe,[w("div",{id:m(t),class:"text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium"},[H(n.$slots,"title")],8,Dqe),w("ul",{"aria-labelledby":m(t),class:"mb-3 list-none p-0 text-sm"},[(g(!0),S(le,null,it(e.parameters,a=>(g(),L(zQ,{key:a.name,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,document:e.document,eventBus:e.eventBus,name:a.name,options:e.options,parameter:a},null,8,["breadcrumb","collapsableItems","document","eventBus","name","options","parameter"]))),128))],8,Bqe)])):B("",!0)}}),cf=Uqe,jqe={key:0,class:"async-api-labels"},Qqe={class:"sr-only"},Fqe={class:"sr-only"},zqe=Q({__name:"AsyncApiLabels",props:{servers:{default:()=>[]},protocols:{default:()=>[]}},setup(e){const{translate:t}=Ot(),n=I(()=>e.servers.length>0||e.protocols.length>0);return(r,a)=>n.value?(g(),S("div",jqe,[e.servers.length?(g(),S(le,{key:0},[w("span",Qqe,V(m(t)("asyncapi.servers"))+":",1),(g(!0),S(le,null,it(e.servers,i=>(g(),L(m(Zi),{key:`server-${i}`,class:"async-api-label--server",title:i},{default:P(()=>[J(V(i),1)]),_:2},1032,["title"]))),128))],64)):B("",!0),e.protocols.length?(g(),S(le,{key:1},[w("span",Fqe,V(m(t)("asyncapi.protocols"))+":",1),(g(!0),S(le,null,it(e.protocols,i=>(g(),L(m(Zi),{key:`protocol-${i}`,class:"async-api-label--protocol",title:i},{default:P(()=>[J(V(i),1)]),_:2},1032,["title"]))),128))],64)):B("",!0)])):B("",!0)}}),Hw=ct(zqe,[["__scopeId","data-v-6f21951e"]]),Vqe=e=>e?Object.entries(e).map(([t,n])=>{const r=ke(n)??{},a={type:"string"};r.enum&&(a.enum=r.enum),r.default!==void 0&&(a.default=r.default),r.examples&&(a.examples=r.examples);const i={name:t,in:"path",required:!0,schema:a};return r.description&&(i.description=r.description),i}):[],VQ=e=>({orderRequiredPropertiesFirst:e?.orderRequiredPropertiesFirst??!1,orderSchemaPropertiesBy:e?.orderSchemaPropertiesBy??"preserve",expandAllSchemaProperties:e?.expandAllSchemaProperties??!1}),HQ=(e,t)=>(e??[]).filter(n=>n.type===t),qQ=(e,t)=>{const n=Hx(e,{channel:t??null,webSocketOnly:!1});return{servers:n.map(r=>r.name),protocols:[...new Set(n.map(r=>r.protocol).filter(Boolean))]}},B6=(...e)=>{for(const t of e){const n=t?.trim();if(n)return n}return""},U6=(e,t)=>{const n=e.channels?.[t];return n?ke(n,Qr):void 0},Hqe=(e,t,n)=>{const r=U6(e,t)?.messages?.[n];return r?ke(r,Qr):void 0},qqe=(e,t)=>{const n=e.operations?.[t];return n?p6e(ke(n,Qr)):void 0},ZQ=(e,t)=>{const n=e?.security??t.security??[],r=t.components?.securitySchemes??{};let a=!1;const i=[];for(const o of n){if(!Kje(o)){a=!0;continue}const s=Object.entries(o).map(([l,c])=>({name:l,scheme:ke(r[l]),scopes:c.filter(u=>u.length>0)}));s.length>0&&i.push({schemes:s})}return i.length===0?{state:a?"optional":"none",requirements:[]}:{state:a?"optional":"required",requirements:i}},XQ=e=>{const t=[];for(const n of e.requirements){const r=new Set;for(const a of n.schemes)for(const i of a.scopes)r.add(i);r.size>0&&t.push([...r])}return t},Zqe={key:0,class:"mt-6"},Xqe={class:"text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium"},Wqe={key:0,class:"text-c-2 mb-2 text-sm"},Yqe=Q({__name:"OperationScopes",props:{requiredSecurity:{}},setup(e){const{translate:t}=Ot(),n=I(()=>XQ(e.requiredSecurity)),r=I(()=>e.requiredSecurity.requirements.some(i=>i.schemes.every(o=>o.scopes.length===0))),a=I(()=>n.value.length>1||n.value.length>0&&r.value);return(i,o)=>n.value.length?(g(),S("div",Zqe,[w("div",Xqe,V(m(t)("authentication.scopes")),1),a.value?(g(),S("div",Wqe,V(m(t)("authentication.oneOf")),1)):B("",!0),(g(!0),S(le,null,it(n.value,(s,l)=>(g(),S("ul",{key:l,class:Se(["mb-3 list-none p-0 text-sm",{"mt-3 border-t pt-3":n.value.length>1&&l>0}])},[(g(!0),S(le,null,it(s,c=>(g(),S("li",{key:c,class:"font-code text-c-2"}
384,V(c),1))),128))],2))),128))])):B("",!0)}}),j6=Yqe,Gqe=(e,t)=>ZQ({security:ID(e,t,null)},{components:void 0}),Kqe=["id"],Jqe={class:"message-heading"},eZe={key:1,class:"message-schema"},tZe={key:2,class:"message-schema"},nZe=Q({__name:"Message",props:{message:{},document:{},eventBus:{},options:{},expandedItems:{default:()=>({})}},setup(e){const t=vn(),n=vi("section");Ed(n,()=>e.eventBus?.emit("intersecting:nav-item",{id:e.message.id}));const r=I(()=>Hqe(e.document,e.message.channelName,e.message.messageName)),a=I(()=>B6(r.value?.title,e.message.title,e.message.messageName)),i=I(()=>r.value?.description||r.value?.summary||""),o=I(()=>{const p=r.value?.bindings;if(!p)return[];const h=ke(p);return Object.entries(h).filter(([,b])=>b!=null).map(([b])=>b.toLowerCase())}),s=I(()=>{const p=U6(e.document,e.message.channelName),{protocols:h}=qQ(e.document,p);return[...new Set([...h,...o.value])]}),l=I(()=>r.value?oY(r.value):void 0),c=I(()=>r.value?sY(r.value):void 0),u=I(()=>({hideReadOnly:!1,...VQ(e.options)})),d=K(e.expandedItems[e.message.id]??!1);qe(()=>e.expandedItems[e.message.id],p=>{p!==void 0&&(d.value=p)});const f=p=>{d.value=p,e.eventBus?.emit("toggle:nav-item",{id:e.message.id,open:p})};return(p,h)=>(g(),S("div",{id:e.message.id,ref_key:"section",ref:n,class:"message"},[N(m(P6),{class:"message-accordion",modelValue:d.value,"onUpdate:modelValue":f},{title:P(()=>[N(m(Js),{onCopyAnchorUrl:h[0]||(h[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.message.id}))},{default:P(()=>[w("span",Jqe,[N(m(_o),{id:m(t),class:"message-title",level:4},{default:P(()=>[J(V(a.value),1)]),_:1},8,["id"]),N(Hw,{protocols:s.value},null,8,["protocols"])])]),_:1})]),default:P(()=>[i.value?(g(),L(m(Jr),{key:0,class:"message-description",value:i.value,withImages:""},null,8,["value"])):B("",!0),c.value?(g(),S("div",eZe,[h[1]||(h[1]=w("div",{class:"message-schema-title"},"Headers",-1)),N(m(Xs),{compact:"",eventBus:e.eventBus,name:"Headers",noncollapsible:"",options:u.value,schema:c.value},null,8,["eventBus","options","schema"])])):B("",!0),l.value?(g(),S("div",tZe,[h[2]||(h[2]=w("div",{class:"message-schema-title"},"Payload",-1)),N(m(Xs),{compact:"",eventBus:e.eventBus,name:"Payload",noncollapsible:"",options:u.value,schema:l.value},null,8,["eventBus","options","schema"])])):B("",!0)]),_:1},8,["modelValue"])],8,Kqe))}}),rZe=ct(nZe,[["__scopeId","data-v-50be0795"]]),aZe=["id"],iZe={class:"operation-header"},oZe=Q({__name:"Operation",props:{operation:{},document:{},eventBus:{},options:{},expandedItems:{default:()=>({})}},setup(e){const t=vn(),n=vi("section");Ed(n,()=>e.eventBus?.emit("intersecting:nav-item",{id:e.operation.id}));const r=I(()=>qqe(e.document,e.operation.operationName)),a=I(()=>B6(r.value?.title,e.operation.title,e.operation.operationName)),i=I(()=>r.value?.description||r.value?.summary||""),o=I(()=>HQ(e.operation.children,"asyncapi-message")),s=I(()=>Gqe(e.document,r.value));return(l,c)=>(g(),S("div",{id:e.operation.id,ref_key:"section",ref:n,class:Se(["operation",`operation--${e.operation.action}`])},[w("div",iZe,[w("span",{class:Se(["operation-action",`operation-action--${e.operation.action}`])},V(e.operation.action),3),N(m(Js),{onCopyAnchorUrl:c[0]||(c[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.operation.id}))},{default:P(()=>[N(m(_o),{id:m(t),class:"operation-title",level:3},{default:P(()=>[J(V(a.value),1)]),_:1},8,["id"])]),_:1})]),i.value?(g(),L(m(Jr),{key:0,class:"operation-description",value:i.value,withImages:""},null,8,["value"])):B("",!0),N(j6,{requiredSecurity:s.value},null,8,["requiredSecurity"]),(g(!0),S(le,null,it(o.value,u=>(g(),L(rZe,{key:u.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,message:u,options:e.options},null,8,["document","eventBus","expandedItems","message","options"]))),128))],10,aZe))}}),N_=ct(oZe,[["__scopeId","data-v-91a717db"]]),sZe=Q({__name:"Channel",props:{channel:{},document:{},layout:{},isCollapsed:{type:Boolean},eventBus:{},options:{},expandedItems:{default:()=>({})},level:{default:0}},setup(e){const t=vn(),n=I(()=>U6(e.document,e.channel.channelName)),r=I(()=>n.value?.description??""),a=I(()=>B6(n.value?.title,e.channel.channelAddress)),i=I(()=>Vqe(n.value?.parameters)),o=I(()=>({hideModels:e.options?.hideModels??!1,...VQ(e.options)})),s=I(()=>qQ(e.document,n.value)),l=I(()=>HQ(e.channel.children,"asyncapi-operation"));return(c,u)=>e.layout==="classic"?(g(),L(m(L6),{key:0,"aria-label":a.value,class:"channel-section",modelValue:!e.isCollapsed,"onUpdate:modelValue":u[1]||(u[1]=d=>
384e.eventBus?.emit("toggle:nav-item",{id:e.channel.id,open:d}))},{title:P(()=>[N(m(rd),{class:"channel-name"},{default:P(()=>[N(m(Js),{onCopyAnchorUrl:u[0]||(u[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.channel.id}))},{default:P(()=>[N(m(_o),{level:2},{default:P(()=>[J(V(a.value),1)]),_:1})]),_:1})]),_:1}),N(Hw,{class:"channel-labels",protocols:s.value.protocols,servers:s.value.servers},null,8,["protocols","servers"]),N(m(Jr),{class:"channel-description",value:r.value,withImages:""},null,8,["value"])]),default:P(()=>[i.value.length?(g(),L(cf,{key:0,eventBus:e.eventBus,options:o.value,parameters:i.value},{title:P(()=>[...u[4]||(u[4]=[J("Parameters",-1)])]),_:1},8,["eventBus","options","parameters"])):B("",!0),(g(!0),S(le,null,it(l.value,d=>(g(),L(N_,{key:d.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,operation:d,options:e.options},null,8,["document","eventBus","expandedItems","operation","options"]))),128))]),_:1},8,["aria-label","modelValue"])):(g(),L(m(L0),{key:1,"aria-labelledby":m(t),omit:e.level!==0,role:"region"},{default:P(()=>
384[N(m(jp),{id:e.channel.id,role:"none",onIntersecting:u[3]||(u[3]=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.channel.id}))},{default:P(()=>[N(m(rd),null,{default:P(()=>[N(m(Js),{onCopyAnchorUrl:u[2]||(u[2]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.channel.id}))},{default:P(()=>[N(m(_o),{id:m(t),level:2},{default:P(()=>[J(V(a.value),1)]),_:1},8,["id"])]),_:1})]),_:1}),N(m(lv),null,{default:P(()=>[N(Hw,{class:"channel-labels",protocols:s.value.protocols,servers:s.value.servers},null,8,["protocols","servers"]),N(m(Jr),{value:r.value,withImages:""},null,8,["value"]),i.value.length?(g(),L(cf,{key:0,eventBus:e.eventBus,options:o.value,parameters:i.value},{title:P(()=>[...u[5]||(u[5]=[J("Parameters",-1)])]),_:1},8,["eventBus","options","parameters"])):B("",!0),(g(!0),S(le,null,it(l.value,d=>(g(),L(N_,{key:d.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,operation:d,options:e.options},null,8,["document","eventBus","expandedItems","operation","options"]))),128))]),_:1})]),_:1},8,["id"])]),_:1},8,["aria-labelledby","omit"]))}}),lZe=ct(sZe,[["__scopeId","data-v-2b0efcde"]]),cZe=Q({__name:"AsyncApiTraversedEntry",props:{entries:{},document:{},expandedItems:{},options:{},eventBus:{},level:{default:0}},setup(e){const t=l=>l.type==="tag"&&l.isGroup===!0,n=l=>l.type==="tag"&&!t(l),r=l=>l.type==="asyncapi-channel",a=l=>l.type==="models",i=l=>l.type==="model",o=I(()=>e.document.components?ke(e.document.components,Qr).schemas:void 0),s=l=>K9(e.document,l);return(l,c)=>{const u=Pb("AsyncApiTraversedEntry",!0);return g(!0),S(le,null,it(e.entries,d=>(g(),L(QQ,{id:d.id,key:`${d.id}-${e.options.layout}`,expanded:!!e.expandedItems[d.id]},{default:P(()=>[r(d)?(g(),L(lZe,{key:0,channel:d,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,isCollapsed:!e.expandedItems[d.id],layout:e.options.layout,level:e.level,options:e.options},null,8,["channel","document","eventBus","expandedItems","isCollapsed","layout","level","options"])):n(d)||t(d)&&e.options.layout==="classic"?(g(),L(m(jQ),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[d.id],layout:e.options.layout,moreThanOneTag:e.entries.filter(n).length>1,tag:d},{default:P(()=>[d.children?.length?(g(),L(u,{key:0,document:e.document,entries:d.children,eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options},null,8,["document","entries","eventBus","expandedItems","level","options"])):B("",!0)]),_:2},1032,["eventBus","isCollapsed","layout","moreThanOneTag","tag"])):t(d)?(g(),L(u,{key:2,document:e.document,entries:d.children??[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options},null,8,["document","entries","eventBus","expandedItems","level","options"])):a(d)&&o.value?(g(),L(UQ,{key:3,id:d.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[d.id],layout:e.options.layout,modelsSectionLabel:e.options.modelsSectionLabel},{default:P(()=>[N(u,{document:e.document,entries:d.children??[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options},null,8,["document","entries","eventBus","expandedItems","level","options"])]),_:2},1032,["id","eventBus","isCollapsed","layout","modelsSectionLabel"])):i(d)&&s(d.name)?(g(),L(DQ,{key:4,id:d.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[d.id],name:d.name,options:e.options,schema:s(d.name)},null,8,["id","eventBus","isCollapsed","name","options","schema"])):B("",!0)]),_:2},1032,["id","expanded"]))),128)}}}),uZe=cZe,dZe=Q({name:"ValueEmitter",props:{value:{}},emits:["change","unmount"],setup(e,{emit:t}){const n=t;return qe(()=>e.value,r=>n("change",r),{immediate:!0}),to(()=>n("unmount")),(r,a)=>null}}),fZe=dZe,pZe=["aria-labelledby"],hZe={class:"text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]"},mZe=["id"],gZe={key:0,class:"sr-only"},bZe={key:0,class:"bg-b-2 text-c-2 inline-flex h-5 w-5 items-center justify-center rounded-full border text-xs font-semibold"},yZe={class:"sr-only"},vZe={key:0,class:"ui-not-open:hidden flex items-center gap-2 pr-0.75"},OZe=Q({name:"CollapsibleSection",props:{defaultOpen:{type:Boolean,default:!0},itemCount:{default:0},isStatic:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,r=vn();return(a,i)=>(g(),L(m(kd),{as:"div",class:Se(["group/collapse text-c-2 focus-within:text-c-1 last:ui-open:border-b-0",{"last-of-type:first-of-type:border-b-0":e.isStatic,"border-b":!e.isStatic}]),defaultOpen:e.defaultOpen,static:e.isStatic},{default:P(({open:o})=>[N(fZe,{value:o,onChange:i[0]||(i[0]=s=>n("update:modelValue",s))},null,8,["value"]),w("section",{"aria-labelledby":m(r),class:"contents"},[w("div",{class:Se(["bg-b-2 flex items-center",e.isStatic&&"rounded-t-xl border-x border-t"])},[N(m(Ll),{class:Se(["hover:text-c-1 group box-content flex max-h-8 flex-1 items-center gap-2.5 overflow-hidden px-1 py-1.5 text-base font-medium outline-none md:px-1.5 xl:pr-0.5 xl:pl-2",e.isStatic&&"!pl-3"]),disabled:e.isStatic},{default:P(()=>[e.isStatic?B("",!0):(g(),L(m(yr),{key:0,class:"text-c-3 group-hover:text-c-1 rounded-px ui-open:rotate-90 ui-not-open:rotate-0 outline-offset-2 group-focus-visible:outline",icon:"ChevronRight",size:"md"})),w("h2",hZe,[w("span",{id:m(r),class:"contents"},[H(a.$slots,"title",{open:o}),o?B("",!0):(g(),S("span",gZe," (Collapsed) "))],8,mZe),!o&&e.itemCount?(g(),S("span",bZe,[J(V(e.itemCount)+" ",1),w("span",yZe,"Item"+V(e.itemCount===1?"":"s"),1)])):B("",!0)])]),_:2},1032,["class","disabled"]),a.$slots.actions?(g(),S("div",vZe,[H(a.$slots,"actions",{open:o})])):B("",!0)],2),N(m(Ad),Ae(a.$attrs,{class:"diclosure-panel h-full max-h-fit roun
384ded-b"}),{default:P(()=>[H(a.$slots,"default",{open:o})]),_:2},1040)],8,pZe)]),_:3},8,["class","defaultOpen","static"]))}}),SZe=OZe,wZe={class:"text-c-2 mb-4 text-sm leading-normal"},xZe={class:"flex justify-between gap-2"},kZe=Q({__name:"DeleteRequestAuthModal",props:{state:{},label:{}},emits:["close","delete"],setup(e,{emit:t}){const n=t,r=()=>{n("delete")};return(a,i)=>(g(),L(m(My),{size:"xxs",state:e.state,title:"Delete Security Scheme"},{default:P(()=>[w("p",wZe," This cannot be undone. You're about to delete the "+V(e.label)+" security scheme from the collection. ",1),w("div",xZe,[N(m(Ln),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"button",variant:"outlined",onClick:i[0]||(i[0]=o=>n("close"))},{default:P(()=>[...i[1]||(i[1]=[J(" Cancel ",-1)])]),_:1}),N(m(Ln),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"submit",onClick:r},{default:P(()=>[J(" Delete "+V(e.label),1)]),_:1})])]),_:1},8,["state"]))}}),AZe=kZe,TZe={apiKeyCookie:{label:"API Key in Cookies",payload:{type:"apiKey",in:"cookie",name:"apiKeyCookie"}},apiKeyHeader:{label:"API Key in Headers",payload:{type:"apiKey",in:"header",name:"apiKeyHeader"}},apiKeyQuery:{label:"API Key in Query Params",payload:{type:"apiKey",in:"query",name:"apiKeyQuery"}},httpBasic:{label:"HTTP Basic",payload:{type:"http",scheme:"basic"}},httpBearer:{label:"HTTP Bearer",payload:{type:"http",scheme:"bearer"}},oauth2Implicit:{label:"Oauth2 Implicit Flow",payload:{type:"oauth2",flows:{implicit:{authorizationUrl:"",refreshUrl:"",scopes:{}}}}},oauth2Password:{label:"Oauth2 Password Flow",payload:{type:"oauth2",flows:{password:{tokenUrl:"",refreshUrl:"",scopes:{}}}}},oauth2ClientCredentials:{label:"Oauth2 Client Credentials",payload:{type:"oauth2",flows:{clientCredentials:{tokenUrl:"",refreshUrl:"",scopes:{}}}}},oauth2AuthorizationFlow:{label:"Oauth2 Authorization Code",payload:{type:"oauth2",flows:{authorizationCode:{authorizationUrl:"",tokenUrl:"",refreshUrl:"","x-usePkce":"no",scopes:{}}}}}};const tm=e=>{let n=0,r=0;const a=e.length,i=a&15,o=a-i,s=2277735313,l=1291169091,c=1390208809,u=944331445;for(let d=0;d<o;d+=16){let f=e.charCodeAt(d)&255|(e.charCodeAt(d+1)&255)<<8|(e.charCodeAt(d+2)&255)<<16|(e.charCodeAt(d+3)&255)<<24,p=e.charCodeAt(d+4)&255|(e.charCodeAt(d+5)&255)<<8|(e.charCodeAt(d+6)&255)<<16|(e.charCodeAt(d+7)&255)<<24,h=e.charCodeAt(d+8)&255|(e.charCodeAt(d+9)&255)<<8|(e.charCodeAt(d+10)&255)<<16|(e.charCodeAt(d+11)&255)<<24,b=e.charCodeAt(d+12)&255|(e.charCodeAt(d+13)&255)<<8|(e.charCodeAt(d+14)&255)<<16|(e.charCodeAt(d+15)&255)<<24;f=Math.imul(f,s),f=f<<15|f>>>17,f=Math.imul(f,l),n^=f,n=n<<13|n>>>19,n=Math.imul(n,5)+3864292196,p=Math.imul(p,l),p=p<<16|p>>>16,p=Math.imul(p,c),r^=p,r=r<<17|r>>>15,r=Math.imul(r,5)+461845907,h=Math.imul(h,c),h=h<<17|h>>>15,h=Math.imul(h,u),n^=h,n=n<<15|n>>>17,n=Math.imul(n,5)+1390208809,b=Math.imul(b,u),b=b<<18|b>>>14,b=Math.imul(b,s),r^=b,r=r<<13|r>>>19,r=Math.imul(r,5)+944331445}if(i>0){let d=0,f=0,p=0,h=0;i>=15&&(h^=(e.charCodeAt(o+14)&255)<<16),i>=14&&(h^=(e.charCodeAt(o+13)&255)<<8),i>=13&&(h^=e.charCodeAt(o+12)&255,h=Math.imul(h,u),h=h<<18|h>>>14,h=Math.imul(h,s),r^=h),i>=12&&(p^=(e.charCodeAt(o+11)&255)<<24),i>=11&&(p^=(e.charCodeAt(o+10)&255)<<16),i>=10&&(p^=(e.charCodeAt(o+9)&255)<<8),i>=9&&(p^=e.charCodeAt(o+8)&255,p=Math.imul(p,c),p=p<<17|p>>>15,p=Math.imul(p,u),n^=p),i>=8&&(f^=(e.charCodeAt(o+7)&255)<<24),i>=7&&(f^=(e.charCodeAt(o+6)&255)<<16),i>=6&&(f^=(e.charCodeAt(o+5)&255)<<8),i>=5&&(f^=e.charCodeAt(o+4)&255,f=Math.imul(f,l),f=f<<16|f>>>16,f=Math.imul(f,c),r^=f),i>=4&&(d^=(e.charCodeAt(o+3)&255)<<24),i>=3&&(d^=(e.charCodeAt(o+2)&255)<<16),i>=2&&(d^=(e.charCodeAt(o+1)&255)<<8),i>=1&&(d^=e.charCodeAt(o)&255,d=Math.imul(d,s),d=d<<15|d>>>17,d=Math.imul(d,l),n^=d)}return n^=a,r^=a,n+=r,r+=n,n^=n>>>16,n=Math.imul(n,2246822507),n^=n>>>13,n=Math.imul(n,3266489909),n^=n>>>16,r^=r>>>16,r=Math.imul(r,2246822507),r^=r>>>13,r=Math.imul(r,3266489909),r^=r>>>16,n+=r,r+=n,(n>>>0).toString(16).padStart(8,"0")+(r>>>0).toString(16).padStart(8,"0")};var R_=e=>JSON.stringify(Object.keys(e)),cv=({name:e,value:t})=>({id:tm(JSON.stringify(t)),label:e,value:t,isDeletable:!0}),WQ=e=>cv({name:Object.keys(e).join(" & "),value:e}),M_=(e,t)=>{const n=Object.keys(e);if(n.length>1)return n.some(r=>{const a=ke(t[r]);return a?Kr(a):!1})?void 0:WQ(e);if(n[0]){const r=ke(t[n[0]]);return!r||Kr(r)?void 0:cv({name:n[0],value:e})}},EZe=e=>{let t=null;for(const[n,r]of Object.entries(e)){const a=ke(r);
384if(a?.type!=="oauth2"||Kr(a))continue;const i=a.flows;if(!i)continue;const o=a["x-default-scopes"]??[];if(i.authorizationCode&&!Kr(i.authorizationCode))return{name:n,flows:i,flowType:"authorizationCode",scopes:o};i.implicit&&!Kr(i.implicit)&&!t&&(t={name:n,flows:i,flowType:"implicit",scopes:o})}return t},_Ze=(e,t,n,r=!1)=>{const a=new Map(n.map(u=>[R_(u),u])),{requiredFormatted:i,requiredSchemeNames:o,existingIds:s}=e.reduce((u,d)=>{const f=M_(a.get(R_(d))??d,t);f&&(u.requiredFormatted.push(f),u.existingIds.add(f.id));for(const p of Object.keys(d))u.requiredSchemeNames.add(p);return u},{requiredFormatted:[],requiredSchemeNames:new Set,existingIds:new Set}),l=[];for(const[u,d]of Object.entries(t)){if(o.has(u))continue;const f=ke(d);if(f&&!Kr(f)){const p=cv({name:u,value:{[u]:[]}});l.push(p),s.add(p.id)}}for(const u of n){const d=M_(u,t);d&&!s.has(d.id)&&(l.push(d),s.add(d.id))}const c=[{label:"Required authentication",options:i},{label:"Available authentication",options:l}];return r?(c.push({label:"Add new authentication",options:Object.entries(TZe).map(([u,d])=>({id:u,label:d.label,value:{[u]:[]},payload:d.payload,isDeletable:!1}))}),c):i.length?c:l},CZe=["role"],$Ze={key:0,class:"sr-only"},PZe=Q({__name:"DataTable",props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){const{cx:t}=At();return(n,r)=>(g(),S("div",Rt(Ft(m(t)(e.scroll?"overflow-x-auto custom-scroll":"overflow-visible","scalar-data-table"))),[w("table",{class:Se(["mb-0 grid min-h-8 auto-rows-auto",{"w-max min-w-full":e.scroll}]),role:e.presentational?"presentation":"table",style:kr({gridTemplateColumns:e.columns.map(a=>a||"1fr").join(" ")})},[n.$slots.caption?(g(),S("caption",$Ze,[H(n.$slots,"caption")])):B("",!0),H(n.$slots,"default")],14,CZe)],16))}}),YQ=PZe,IZe=Q({inheritAttrs:!1,__name:"DataTableCell",props:{is:{default:"td"}},setup(e){const{cx:t}=At();return(n,r)=>(g(),L(Yt(e.is),Ae(m(t)("box-content max-h-8 min-h-8 min-w-8 border-l-0 border-t border-b-0 border-r flex text-base/5 last:border-r-0 group-last:border-b-transparent p-0 m-0 relative"),{class:"group-[.alert]:bg-b-alert group-[.error]:bg-b-danger"}),{default:P(()=>[H(n.$slots,"default")]),_:3},16))}}),tp=IZe,uv=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},NZe={},RZe={class:"group contents"};function MZe(e,t){return g(),S("tr",RZe,[H(e.$slots,"default")])}var En=uv(NZe,[["render",MZe]]),LZe=e=>{const t=new URL(e);return{searchParams:t.searchParams,hashParams:new URLSearchParams(t.hash.slice(1))}},L_=(e,t,n)=>{const r=e.get(n);if(r!==null)return{params:e,value:r};const a=t.get(n);return a!==null?{params:t,value:a}:{params:null,value:null}},D_=(e,t="access_token")=>{try{const{searchParams:n,hashParams:r}=LZe(e()),a=L_(n,r,t),i=L_(n,r,"code");return{accessToken:a.value,accessTokenParams:a.params,code:i.value,codeParams:i.params,error:n.get("error")??r.get("error"),errorDescription:n.get("error_description")??r.get("error_description"),refreshToken:n.get("refresh_token")??r.get("refresh_token")}}catch{return{accessToken:null,accessTokenParams:null,code:null,codeParams:null,error:null,errorDescription:null,refreshToken:null}}};const dv=(e,{baseUrl:t,basePath:n}={})=>{if(typeof window>"u"&&!t)return e;try{return new URL(e),e}catch{}try{let r=t||window.location.href;if(n){const a=t?new URL(t).origin:window.location.origin;r=kc(a,n+"/")}return new URL(e,r).toString()}catch{return e}};var GQ=(e,t={})=>Dr(p2(e?.url??"",Lue(e)),t),Q6=(e,t={})=>{const n=GQ(e,t);return n?Ic(n)?typeof window>"u"?{}:{basePath:n}:{baseUrl:n}:{}},DZe=()=>{const e=new Uint8Array(32);return crypto.getRandomValues(e),KI(e,!0)},BZe=async(e,t)=>{if(t==="plain")return e;if(typeof crypto?.subtle?.digest!="function")return console.warn("SHA-256 is only supported when using https, using a plain text code challenge instead."),e;const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n);return KI(new Uint8Array(r),!0)},KQ=async(e,t,n,r,a,i={},o,s)=>{const l=e[t];try{if(!l)return[new Error("Flow not found"),null];const c=n.join(" ");if(t==="clientCredentials"||t==="password")return s4(e,t,c,{proxyUrl:a,customFetch:o},r,i);const u=(Math.random()+1).toString(36).substring(2,10),d=dv(e[t]["x-scalar-secret-auth-url"]??e[t].authorizationUrl,Q6(r,i)),f=new URL(d);let p=null;if(t==="implicit")f.searchParams.set("response_type","token");else if(t==="authorizationCode"){const y=e[t];if(f.searchParams.set("response_type","code"),y["x-usePkce"]!=="no"){const O=DZe(),A=await BZe(O,y["x-usePkce"]);p={codeVerifier:O,codeChallenge:A,codeChallengeMethod:y["x-usePkce"]==="SHA-256"?"S256":"plain"}
384,f.searchParams.set("code_challenge",A),f.searchParams.set("code_challenge_method",p.codeChallengeMethod)}}const h=e[t];if(!s)if(h["x-scalar-secret-redirect-uri"].startsWith("/")){const y=GQ(r,i)||window.location.origin+window.location.pathname,O=new URL(h["x-scalar-secret-redirect-uri"],y).toString();f.searchParams.set("redirect_uri",O)}else f.searchParams.set("redirect_uri",h["x-scalar-secret-redirect-uri"]);if(l["x-scalar-security-query"]&&Object.keys(l["x-scalar-security-query"]).forEach(y=>{const O=l["x-scalar-security-query"]?.[y];O&&f.searchParams.set(y,O)}),f.searchParams.set("client_id",l["x-scalar-secret-client-id"]),f.searchParams.set("state",u),c&&f.searchParams.set("scope",c),s){const[y,O]=await s({authorizationUrl:f.toString()});if(y||!O)return[y??new Error("Failed to capture the OAuth2 redirect"),null];const{accessToken:A,accessTokenParams:x,code:T,codeParams:E,error:C,errorDescription:$,refreshToken:R}=D_(()=>O.callbackUrl,l["x-tokenName"]||"access_token");return C?[new Error(`OAuth error: ${C}${$?` (${$})`:""}`),null]:A?(x?.get("state")??null)!==u?[new Error("State mismatch"),null]:[null,{accessToken:A,...R?{refreshToken:R}:{}}]:T&&t==="authorizationCode"?(E?.get("state")??null)!==u?[new Error("State mismatch"),null]:s4(e,t,c,{code:T,pkce:p,proxyUrl:a,customFetch:o,redirectUri:O.redirectUri},r,i):[new Error("No authorization code or access token was returned"),null]}const b=window.open(f,"openAuth2Window","left=100,top=100,width=800,height=600");return b?new Promise(y=>{const O=setInterval(()=>{const{accessToken:A,accessTokenParams:x,code:T,codeParams:E,error:C,errorDescription:$,refreshToken:R}=D_(()=>b.location.href,l["x-tokenName"]||"access_token");if(b.closed||A||T||C){if(clearInterval(O),b.close(),C){y([new Error(`OAuth error: ${C}${$?` (${$})`:""}`),null]);return}if(A){(x?.get("state")??null)===u?y([null,{accessToken:A,...R?{refreshToken:R}:{}}]):y([new Error("State mismatch"),null]);return}if(T&&t==="authorizationCode"){(E?.get("state")??null)===u?s4(e,t,c,{code:T,pkce:p,proxyUrl:a,customFetch:o},r,i).then(y).catch(j=>{y([j instanceof Error?j:new Error("Failed to get an access token",{cause:j}),null])}):y([new Error("State mismatch"),null]);return}y([new Error("Window was closed without granting authorization"),null])}},200)}):[new Error("Failed to open auth window"),null]}catch(c){return[c instanceof Error?c:new Error("Failed to authorize oauth2 flow",{cause:c}),null]}},s4=async(e,t,n,{code:r,pkce:a,proxyUrl:i,customFetch:o=fetch,redirectUri:s}={},l,c={})=>{const u=e[t];if(!u)return[new Error("OAuth2 flow was not defined"),null];const d=new URLSearchParams;n&&(t==="clientCredentials"||t==="password")&&d.set("scope",n);const f=u["x-scalar-credentials-location"]==="body",p=!!u["x-scalar-secret-client-secret"];if((f||t==="authorizationCode"&&!p)&&d.set("client_id",u["x-scalar-secret-client-id"]),f&&p&&d.set("client_secret",u["x-scalar-secret-client-secret"]),s?d.set("redirect_uri",s):"x-scalar-secret-redirect-uri"in u&&u["x-scalar-secret-redirect-uri"]&&d.set("redirect_uri",u["x-scalar-secret-redirect-uri"]),r)d.set("code",r),d.set("grant_type","authorization_code"),a&&d.set("co
384de_verifier",a.codeVerifier);else if(t==="password"){const h=e[t];d.set("grant_type","password"),d.set("username",h["x-scalar-secret-username"]),d.set("password",h["x-scalar-secret-password"])}else d.set("grant_type","client_credentials");u["x-scalar-security-body"]&&Object.entries(u["x-scalar-security-body"]).forEach(([h,b])=>{b!=null&&d.set(h,String(b))});try{const h={"Content-Type":"application/x-www-form-urlencoded"};!f&&p&&(h.Authorization=`Basic ${vd(`${u["x-scalar-secret-client-id"]}:${u["x-scalar-secret-client-secret"]}`)}`);const b=dv(u["x-scalar-secret-token-url"]??u.tokenUrl,Q6(l,c)),y=await(await o(vy(i,b)?`${i}?${new URLSearchParams([["scalar_url",b]]).toString()}`:b,{method:"POST",headers:h,body:d})).json(),O=y[u["x-tokenName"]||"access_token"],A=y.refresh_token;return O?[null,{accessToken:O,...typeof A=="string"?{refreshToken:A}:{}}]:[new Error(y.error_description??y.error??"Failed to get an access token"),null]}catch(h){return[h instanceof Error?h:new Error("Failed to get an access token. Please check your credentials.",{cause:h}),null]}},JQ=async(e,t,n,r,a={},i=fetch)=>{const o=e[t];if(!o)return[new Error("OAuth2 flow was not defined"),null];const s=o["x-scalar-secret-refresh-token"];if(!s)return[new Error("No refresh token available"),null];const l=new URLSearchParams;l.set("grant_type","refresh_token"),l.set("refresh_token",s);const c=o["x-scalar-credentials-location"]==="body",u=!!o["x-scalar-secret-client-secret"];(c||t==="authorizationCode"&&!u)&&l.set("client_id",o["x-scalar-secret-client-id"]),c&&u&&l.set("client_secret",o["x-scalar-secret-client-secret"]),o["x-scalar-security-body"]&&Object.entries(o["x-scalar-security-body"]).forEach(([d,f])=>{f!=null&&l.set(d,String(f))});try{const d={"Content-Type":"application/x-www-form-urlencoded"};!c&&u&&(d.Authorization=`Basic ${vd(`${o["x-scalar-secret-client-id"]}:${o["x-scalar-secret-client-secret"]}`)}`);const f=dv(o.refreshUrl||o["x-scalar-secret-token-url"]||o.tokenUrl,Q6(r,a)),p=await(await i(vy(n,f)?`${n}?${new URLSearchParams([["scalar_url",f]]).toString()}`:f,{method:"POST",headers:d,body:l})).json(),h=p[o["x-tokenName"]||"access_token"],b=p.refresh_token;return h?[null,{accessToken:h,...typeof b=="string"?{refreshToken:b}:{refreshToken:s}}]:[new Error(p.error_description??p.error??"Token refresh failed"),null]}catch(d){return[d instanceof Error?d:new Error("Failed to refresh the access token. Please re-authorize.",{cause:d}),null]}},B_=e=>e?Object.entries(e).filter(t=>t[1]!==void 0&&!Kr(t[1])).map(([t,n],r)=>({key:t,order:n["x-order"],index:r})).sort((t,n)=>t.order!==void 0&&n.order!==void 0?t.order-n.order:t.order!==void 0?-1:n.order!==void 0?1:t.index-n.index).map(t=>t.key):[],qw=e=>e.oauth2RedirectUri?e.oauth2RedirectUri:typeof window>"u"||window.location.protocol==="file:"?"":window.location.origin+window.location.pathname,eF=(e,t)=>{const{bearerSchemeName:n,oauth2Name:r,flowType:a,tokens:i}=t;e.emit("auth:update:security-scheme-secrets",{payload:{type:"http","x-scalar-secret-token":i.accessToken},name:n}),i.refreshToken&&e.emit("auth:update:security-scheme-secrets",{payload:{type:"oauth2",[a]:{"x-scalar-secret-refresh-token":i.refreshToken}},name:r})},UZe=async e=>{const{eventBus:t,bearerSchemeName:n,oauth2Name:r,flows:a,flowType:i,scopes:o,server:s,proxyUrl:l,environment:c,options:u}=e,d=a[i],f=await KQ(d&&(i==="authorizationCode"||i==="implicit")?{...a,[i]:{...d,"x-scalar-secret-redirect-uri":d["x-scalar-secret-redirect-uri"]||qw(u??{})||""}}:a,i,o,s,l,xm(c),u?.customFetch,u?.captureOAuth2Callback),p=f[1];return p?.accessToken&&eF(t,{bearerSchemeName:n,oauth2Name:r,flowType:i,tokens:p}),f},jZe={class:"custom-scroll min-h-0 flex-1"},QZe={class:"flex flex-col p-0.75"},FZe=Q({inheritAttrs:!1,__name:"ScalarDropdownMenu",props:{is:{}},setup(e){const{cx:t}=At();return(n,r)=>(g(),L(Yt(e.is??"div"),Rt(Ft(m(t)("relative flex w-56"))),{default:P(()=>[w("div",jZe,[H(n.$slots,"menu",{},()=>[w("div",QZe,[H(n.$slots,"default")])]),H(n.$slots,"backdrop",{},()=>[N(m($p))])])]),_:3},16))}}),zZe=FZe,tF=Symbol();function VZe(){const e=K();return In(tF,e),{active:e}}function HZe(){const e=Rn(tF);return e||console.warn("useDropdownItem must be used within a ScalarDropdown"),{active:e}}var qZe=["id","aria-activedescendant","aria-labelledby","onKeydown"],ZZe=Q({inheritAttrs:!1,__name:"ScalarDropdown",props:xn({placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:["update:open"],setup(e){const t=K(),n=K(),r=yn(e,"open"),{active:a}=VZe(),i=vn(),o=K(i),s=vn();async function l(){r.value=!r.value,await Nn(),r.value&&n.value?.focus()}async function c(h){if(["ArrowDown","ArrowUp"," ","Enter"].includes(h.key))h.preventDefault();else return;r.value||(r.value=!0),await Nn(),n.value?.focus(),["ArrowDown"," ","Enter"].includes(h.key)?f(1):h.key==="ArrowUp"&&f(-1)}qe(()=>t.value?.targetRef,(h,b)=>{h&&(h.id?o.value=h.id:(o.value=i,h.setAttribute("id",o.value)),h.setAttribute("aria-haspopup","menu"),h.setAttribute("aria-expanded",`${r.value}`),r.value&&h.setAttribute("aria-controls",s),h.addEventListener("click",l),h.addEventListener("keydown",c)),b&&b!==h&&(b.id===i&&b.removeAttribute("id"),b.removeAttribute("aria-controls"),b.removeAttribute("aria-haspopup"),b.removeAttribute("aria-expanded"),b.removeEventListener("click",l),b.removeEventListener("keydown",c))},{immediate:!0}),qe(r,h=>{const b=t.value?.targetRef;b&&(b.setAttribute("aria-expanded",`${h}`),h?b.setAttribute("aria-controls",s):b.removeAttribute("aria-controls"))},{immediate:!0});async function u(){t.value?.targetRef?.focus(),r.value=!1}function d(){if(!a.value||!n.value)return;const h=n.value.querySelector(`#${a.value}[role="menuitem"]:not([aria-disabled="true"])`);h&&(h.click(),u())}function f(h){if(!r.value||!n.value)return;const b=Array.from(n.value.querySelectorAll('[role="menuitem"]:not([aria-disabled="true"])'));if(b.length===0)return;const y=b.findIndex(x=>x.id===a.value);if(y===-1){const x=b[h>0?0:b.length-1];x?.id&&(a.value=x.id);return}const O=y+h;if(O<0||O>b.length-1)return;const A=b[O];A?.id&&(a.value=A.id)}By(n,u,{ignore:[I(()=>t.value?.targetRef)]});const{cx:p}=At();
384return(h,b)=>(g(),L(m(w0),Ae({ref_key:"floatingRef",ref:t},h.$props,{placement:e.placement??"bottom-start"}),lr({default:P(()=>[H(h.$slots,"default",{open:r.value})]),_:2},[r.value?{name:"floating",fn:P(({width:y})=>[N(zZe,Ae({style:{width:y}},m(p)("max-h-[inherit] max-w-[inherit]")),{menu:P(()=>[w("div",{id:m(s),ref_key:"menuRef",ref:n,"aria-activedescendant":m(a),"aria-labelledby":o.value,class:"flex flex-col p-0.75 outline-none",role:"menu",tabindex:"-1",onClick:jt(u,["stop"]),onKeydown:[b[0]||(b[0]=Sa(jt(O=>f(1),["prevent","stop"]),["down"])),Sa(jt(d,["prevent","stop"]),["enter"]),Sa(jt(u,["prevent","stop"]),["escape"]),Sa(jt(d,["prevent","stop"]),["space"]),Sa(jt(u,["prevent","stop"]),["tab"]),b[1]||(b[1]=Sa(jt(O=>f(-1),["prevent","stop"]),["up"]))]},[H(h.$slots,"items",{open:r.value})],40,qZe)]),_:3},16,["style"])]),key:"0"}:void 0]),1040,["placement"]))}}),XZe=ZZe,WZe=Q({__name:"ScalarDropdownButton",props:{is:{default:"button"},active:{type:Boolean},disabled:{type:Boolean}},setup(e){const t=$r({base:["block h-8 min-w-0 gap-1.5 rounded px-2.5 py-1.5 text-left","truncate no-underline text-sm text-c-1","cursor-pointer hover:bg-b-2 highlighted:bg-b-2"],variants:{disabled:{true:"pointer-events-none text-c-3"},active:{true:""}},compoundVariants:[{disabled:!1,active:!0,class:"bg-b-2"}]});return(n,r)=>(g(),L(Yt(e.is),{"aria-disabled":e.disabled,class:Se(["item",m(Ku)("scalar-dropdown-item",m(t)({active:e.active,disabled:e.disabled}))]),type:e.is==="button"?"button":void 0},{default:P(()=>[H(n.$slots,"default",{},void 0,!0)]),_:3},8,["aria-disabled","class","type"]))}}),YZe=ys(WZe,[["__scopeId","data-v-f5e0d3d8"]]),GZe={},KZe={class:"-mx-0.75 my-0.75 h-border bg-border"};function JZe(e,t,n,r,a,i){return g(),S("div",KZe)}var eXe=ys(GZe,[["render",JZe]]),tXe=Q({__name:"ScalarDropdownItem",props:{id:{default:()=>vn()},disabled:{type:Boolean}},emits:["click"],setup(e){const{active:t}=HZe();return(n,r)=>(g(),L(YZe,{id:e.id,active:m(t)===e.id,disabled:e.disabled,role:"menuitem",tabindex:"-1",onClick:r[0]||(r[0]=a=>n.$emit("click",a)),onMouseenter:r[1]||(r[1]=a=>t.value=e.id)},{default:P(()=>[H(n.$slots,"default",{},void 0,!0)]),_:3},8,["id","active","disabled"]))}}),U_=ys(tXe,[["__scopeId","data-v-3402682d"]]),nXe={class:"group-[.alert]:outline-orange group-[.error]:outline-red w-full pr-10 -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline"},rXe={class:"text-c-1 whitespace-nowrap"},aXe={class:"text-c-1 overflow-hidden text-ellipsis"},iXe={class:"overflow-hidden text-ellipsis"},oXe={class:"flex h-4 w-4 items-center justify-center"},sXe=Q({__name:"DataTableInputSelect",props:{modelValue:{type:[String,Number,Boolean,Array,Object]},value:{},default:{type:[String,Number,Boolean,Array,Object]},canAddCustomValue:{type:Boolean,default:!0},type:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,a=I(()=>n.value??[]),i=K(!1),o=K(""),s=K(null);qe(o,y=>{r("update:modelValue",y)});const l=y=>{r("update:modelValue",y),i.value=!1},c=()=>{o.value.trim()&&l(o.value)},u=()=>{o.value.trim()||r("update:modelValue",""),i.value=!1},d=y=>n.modelValue.toString()===y;qe(i,y=>{y&&Nn(()=>{s.value?.focus()})});const f=I(()=>n.modelValue!==void 0?n.modelValue:n.default),p=I(()=>a.value.map(y=>{const O=y.toString();return{id:O,label:O,value:O}})),h=I(()=>{const y=new Set(n.modelValue.toString().split(","));return p.value.filter(O=>y.has(O.id))}),b=y=>{const O=y.map(A=>A.value);r("update:modelValue",O.join(","))};return(y,O)=>(g(),S("div",nXe,[e.type==="array"?(g(),L(m(gQ),{key:0,modelValue:h.value,options:p.value,"onUpdate:modelValue":b},{default:P(()=>[N(m(Ln),{class:"custom-scroll h-full justify-start gap-1.5 px-2 py-1.5 pr-6 font-normal outline-none",fullWidth:"",variant:"ghost"},{default:P(()=>[w("span",rXe,V(h.value.length>0?h.value.map(A=>A.label).join(", "):"Select a value"),1),N(m(yr),{class:"min-w-4",icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["modelValue","options"])):i.value?ti((g(),S("input",{key:1,ref_key:"inputRef",ref:s,"onUpdate:modelValue":O[0]||(O[0]=A=>o.value=A),class:"text-c-1 w-full min-w-0 border-none px-2 py-1.5 outline-none",placeholder:"Value",type:"text",onBlur:u,onKeyup:Sa(c,["enter"])},null,544)),[[ld,o.value]]):(g(),L(m(XZe),{key:2,resize:"",value:f.value},{items:P(()=>[(g(!0),S(le,null,it(a.value,A=>(g(),L(m(U_),{key:A,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",value:A,onClick:x=>l(A)},{default:P(()=>[w("div",{class:Se(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",d(A)?"bg-c-accent text-b-1":"shadow-border text-transparent"])},[N(m(yr),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),w("span",iXe,V(A),1)]),_:2},1032,["value","onClick"]))),128)),e.canAddCustomValue?(g(),S(le,{key:0},[a.value.length?(g(),L(m(eXe),{key:0})):B("",!0),N(m(U_),{class:"flex items-center gap-1.5",onClick:O[1]||(O[1]=A=>i.value=!0)},{default:P(()=>[w("div",oXe,[N(m(yr),{icon:"Add",size:"sm"})]),O[2]||(O[2]=w("span",null,"Add value",-1))]),_:1})],64)):B("",!0)]),default:P(()=>[N(m(Ln),{class:"size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none",variant:"ghost"},{default:P(()=>[w("span",aXe,V(f.value??"Select a value"),1),N(m(yr),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["value"]))]))}}),Ig=sXe,lXe=["id"],cXe=["id","aria-selected","onClick"],uXe={class:"flex items-center gap-2 whitespace-nowrap"},dXe={key:1,class:"text-c-3 bg-b-3 flex h-4.5 min-w-4.5 items-center justify-center rounded px-0.5 font-sans text-[9px] font-semibold"},fXe={class:"max-w-[9rem] overflow-hidden text-right text-ellipsis whitespace-nowrap"},j_=12,pXe=Q({__name:"EnvironmentVariablesDropdown",props:{query:{},environment:{},dropdownPosition:{},contextFunctionItems:{default:()=>[]},listboxId:{}},emits:["select","redirect","close"],setup(e,{expose:t,emit:n}){const r=n,a=K(!0),i=K(null),o=K(0),s=()=>{r("redirect"),a.value=!1,r("close")},l=I(()=>(e.environment?.variables??[]).map($=>({key:$.name,value:typeof $.value=="string"?$.value:$.value.default}))),c=I(()=>e.contextFunctionItems.map($=>({kind:"context",key:$.key,secondary:$.description}))),u=I(()=>l.value.filter(({key:$,value:R})=>$!==""||R!=="").map(({key:$,value:R})=>({kind:"env",key:$,secondary:R}))),d=I(()=>u.value.map($=>({...$,fuseText:`${$.key} ${$.secondary}`}))),f=I(()=>c.value.map($=>({...$,fuseText:`${$.key} ${$.secondary}`}))),p=I(()=>new _S(d.value,{keys:["fuseText"],threshold:.35})),h=I(()=>new _S(f.value,{keys:["fuseText"],threshold:.35})),b=I(()=>{const $=new Map(e.contextFunctionItems.map(R=>[R.key,R]));return Tue.flatMap(R=>{const j=$.get(R);return j?[{kind:"context",key:j.key,secondary:j.description}]:[]})}),y=I(()=>
384{if(!e.query.trim())return[...u.value.slice(-4),...b.value];const $=e.query.trim(),R=p.value.search($,{limit:j_}).map(Y=>{const{kind:W,key:pe,secondary:ee}=Y.item;return{kind:W,key:pe,secondary:ee}}),j=j_-R.length,U=j>0?h.value.search($,{limit:j}).map(Y=>{const{kind:W,key:pe,secondary:ee}=Y.item;return{kind:W,key:pe,secondary:ee}}):[];return[...R,...U]}),O=$=>e.listboxId?`${e.listboxId}-option-${$}`:void 0,A=I(()=>y.value.length?O(o.value):void 0),x=$=>{r("select",$)};qe(()=>y.value.length,$=>{o.value>$-1&&(o.value=Math.max(0,$-1))}),t({handleArrowKey:$=>{const R=$==="up"?-1:1,j=y.value.length;j!==0&&(o.value=(o.value+R+j)%j)},handleSelect:()=>{if(o.value>=0){const $=y.value[o.value];$&&x($.key)}},activeOptionId:A}),Mt(()=>{o.value=0});const C=I(()=>({left:(e.dropdownPosition?.left??0)+"px",top:(e.dropdownPosition?.top??0)+5+"px"}));return By(i,()=>{a.value=!1,r("close")},{ignore:[i]}),($,R)=>a.value?(g(),L(m(wD),{key:0,class:"scalar-client"},{default:P(()=>[w("div",{ref_key:"dropdownRef",ref:i,class:"custom-scroll z-context fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75",style:kr(C.value),onMousedown:R[0]||(R[0]=jt(()=>{},["prevent"]))},[w("ul",{id:e.listboxId,"aria-label":"Variable suggestions",class:"gap-1/2 flex flex-col",role:"listbox"},[(g(!0),S(le,null,it(y.value,(j,U)=>(g(),S("li",{key:`${j.kind}-${j.key}`,id:O(U),"aria-selected":U===o.value,class:Se(["font-code text-xxs hover:bg-b-3 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",{"bg-b-3":U===o.value}]),role:"option",onClick:Y=>x(j.key)},[w("div",uXe,[j.kind==="env"?(g(),S("span",{key:0,class:"h-2.25 w-2.25 min-w-2.25 rounded-full",style:kr({backgroundColor:e.environment?.color})},null,4)):(g(),S("span",dXe," fn ")),J(" "+V(j.key),1)]),w("span",fXe,V(j.secondary),1)],10,cXe))),128))],8,lXe),y.value.length?B("",!0):(g(),L(m(Ln),{key:0,class:"font-code text-xxs bg-b-inherit hover:bg-b-3 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",variant:"outlined",onClick:s},{default:P(()=>[N(m(xx),{class:"size-3"}),R[1]||(R[1]=J(" Add Variable ",-1))]),_:1})),R[2]||(R[2]=w("div",{class:"bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg"},null,-1))],36)]),_:1})):B("",!0)}}),hXe=pXe,mXe=Q({name:"PillTooltipHost",__name:"PillTooltipHost",props:{context:{},target:{}},setup(e){const t=e,n=t.context.type==="contextFunction",r=I(()=>{if(!n||typeof document>"u"||t.context.type!=="contextFunction")return"";const o=document.createElement("div");return jX(Pn("div",{class:"flex flex-col gap-1.5 text-left"},[Pn("span",{},t.context.details),Pn("div",{class:"text-[color:var(--scalar-color-3)] text-[10px] font-normal"},"Computed at request execution")]),o),o.innerHTML}),a=I(()=>t.context.type==="environment"?t.context.value:""),i=K(t.target);return QL({content:n?r:a,contentTarget:n?"innerHTML":"textContent",delay:0,placement:"bottom-start",offset:6,targetRef:i}),(o,s)=>null}}),nF=mXe,rF=(e,t)=>{const n=e?.variables?.find(r=>r.name===t);if(n)return typeof n.value=="string"?n.value:n.value?.default},gXe=(e,t)=>{if(mx(e))return{type:"contextFunction",identifier:e,details:hx(e)};const n=rF(t,e);return{type:"environment",name:e,value:n||"No value",isDefined:!!n}},vu=(e,t)=>{if(!t||!e.includes("{{"))return"";const n=new RegExp(wi.VARIABLES.source,wi.VARIABLES.flags);let r="",a;for(;(a=n.exec(e))!==null;)r+=`|${a[1]??""}`;return r},D1=e=>typeof e=="string"?e:e==null?"":JSON.stringify(e),bXe={class:"whitespace-nowrap"},yXe=["id"],vXe=["aria-activedescendant","aria-autocomplete","aria-controls","aria-expanded","aria-invalid","aria-label","aria-readonly","aria-required","contenteditable","data-placeholder","role"],OXe={key:5,class:"centered-y text-orange absolute right-7 text-xs"},SXe={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.code-input-lite__editor:focus]:z-1"},wXe={key:7,class:"required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 peer-has-[.code-input-lite__editor:focus]:opacity-0"},xXe=Q({inheritAttrs:!1,__name:"CodeInputLite",props:{modelValue:{type:[String,Number,Boolean,Array,Object]},environment:{},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},error:{type:Boolean,default:!1},layout:{default:"desktop"},placeholder:{},required:{type:Boolean,default:!1},emitOnBlur:{type:Boolean,default:!0},withVariables:{type:Boolean,default:!0},withFakeData:{type:Boolean,default:!1},alwaysEmitChange:{type:Boolean,default:!1},linethrough:{type:Boolean,default:!1},type:{},enum:{},examples:{},default:{type:[String,Number,Boolean,Array,Object]},nullable:{type:Boolean,default:!1}},emits:["update:modelValue","submit","blur","navigate"],setup(e,{expose:t,emit:n}){const r=n,a=f8(),i=K(null),o=I(()=>a.id??i.value??void 0),s=()=>{!a.id&&i.value===null&&(i.value=`id-${Yx()}`)},l=vi("editorRef"),c=K(null),u=I(()=>o.value?`${o.value}-listbox`:void 0),d=I(()=>c.value?.activeOptionId),f=K(!1),p=K(!0),h=K(!1),b=ge=>ge.trim().length===0,y=I(()=>e.enum?.length?!1:e.type==="boolean"||Array.isArray(e.type)&&e.type.includes("boolean")),O=I(()=>e.nullable?["true","false","null"]:["true","false"]),A=I(()=>Array.isArray(e.type)?e.type.find(ge=>ge!=="null")??"string":e.type),x=ge=>r("update:modelValue",ge);let T=[],E=!1;const C=()=>{for(const ge of T)ge.unmount();T=[]},$=()=>{if(!l.value||e.layout==="modal")return;const ge=l.value.querySelectorAll(".scalar-pill");for(const je of ge){const ot=U9(nF,{context:gXe(je.dataset.variable??"",e.environment),target:je});ot.mount(document.createElement("div")),T.push(ot)}},R=(ge,je,ot)=>{const Lt=mx(ge),Ct=document.createElement("span");Ct.className=Lt?"scalar-pill scalar-pill--context-fn":"scalar-pill",Ct.contentEditable="false",Ct.dataset.variable=ge,Ct.dataset.pillStart=String(je),Ct.dataset.pillEnd=String(ot);
384const zt=Lt?"var(--scalar-color-3)":e.environment?.color||"var(--scalar-color-1)";return Ct.style.setProperty("--tw-bg-base",zt),!Lt&&!rF(e.environment,ge)&&(Ct.style.opacity="0.5"),Ct.textContent=ge,Ct},j=ge=>{const je=l.value;if(!je)return;if(C(),je.replaceChildren(),!e.withVariables||!ge.includes("{{")){ge&&je.appendChild(document.createTextNode(ge)),p.value=b(ge);return}const ot=new RegExp(wi.VARIABLES.source,wi.VARIABLES.flags);let Lt=0,Ct;for(;(Ct=ot.exec(ge))!==null;){const zt=Ct.index,jn=zt+Ct[0].length;zt>Lt&&je.appendChild(document.createTextNode(ge.slice(Lt,zt))),je.appendChild(R(Ct[1]??"",zt,jn)),Lt=jn}Lt<ge.length&&je.appendChild(document.createTextNode(ge.slice(Lt))),p.value=!1,E&&$()},U=ge=>ge.nodeType===Node.TEXT_NODE?(ge.textContent??"").length:ge instanceof HTMLElement&&ge.classList.contains("scalar-pill")?`{{${ge.dataset.variable??""}}}`.length:(ge.textContent??"").length,Y=()=>{const ge=l.value;if(!ge)return"";let je="";for(const ot of Array.from(ge.childNodes))ot.nodeType===Node.TEXT_NODE?je+=ot.textContent??"":ot instanceof HTMLElement&&ot.classList.contains("scalar-pill")?je+=`{{${ot.dataset.variable??""}}}`:ot instanceof HTMLElement&&(je+=ot.textContent??"");return je};let W=null,pe="";const ee=()=>{const ge=e.environment?.color??"",je=e.withVariables?"1":"0",ot=e.environment?.variables??[];let Lt="";for(const Ct of ot){const zt=typeof Ct.value=="string"?Ct.value:Ct.value?.default??"";Lt+=`�${Ct.name}�${zt}`}return`${ge}|${je}|${Lt}`},ae=()=>{E||(E=!0,$())},de=()=>{const ge=l.value;if(!ge)return null;const je=window.getSelection();if(!je||je.rangeCount===0)return null;const ot=je.getRangeAt(0);if(ot.startContainer!==ge&&!ge.contains(ot.startContainer))return null;if(ot.startContainer===ge){let Ct=0;for(let zt=0;zt<ot.startOffset&&zt<ge.childNodes.length;zt++)Ct+=U(ge.childNodes[zt]);return Ct}let Lt=0;for(const Ct of Array.from(ge.childNodes)){if(Ct===ot.startContainer)return Lt+ot.startOffset;if(Ct.contains(ot.startContainer))return ot.startOffset===0?Lt:Lt+U(Ct);Lt+=U(Ct)}return Lt},ue=ge=>{const je=l.value;if(!je)return;const ot=document.createRange();let Lt=0,Ct=!1;for(const jn of Array.from(je.childNodes)){const Rr=U(jn);if(Lt+Rr>=ge){if(jn.nodeType===Node.TEXT_NODE){const ba=Math.max(0,Math.min(ge-Lt,(jn.textContent??"").length));ot.setStart(jn,ba)}else ge-Lt<=0?ot.setStartBefore(jn):ot.setStartAfter(jn);Ct=!0;break}Lt+=Rr}Ct?ot.collapse(!0):(ot.selectNodeContents(je),ot.collapse(!1));const zt=window.getSelection();zt&&(zt.removeAllRanges(),zt.addRange(ot))},Ee=K(!1),Te=K(""),D=K({left:0,top:0}),oe=I(()=>e.withFakeData?Eue.map(ge=>({key:ge,description:hx(ge)})):[]),fe=I(()=>Ee.value&&e.withVariables&&e.layout!=="modal"&&(!!e.environment||e.withFakeData)),z=()=>{if(!l.value)return;const ge=de();if(ge===null){Ee.value=!1;return}const je=Y().slice(0,ge),ot=je.lastIndexOf("{{");if(ot<=je.lastIndexOf("}}")){Ee.value=!1;return}Te.value=je.slice(ot+2),s(),Ee.value=!0,Nn(()=>{const Lt=window.getSelection();if(!Lt||Lt.rangeCount===0||!l.value)return;const Ct=Lt.getRangeAt(0).cloneRange();Ct.collapse(!0);const zt=Ct.getBoundingClientRect(),jn=l.value.getBoundingClientRect();D.value={left:zt.left||jn.left,top:zt.bottom||jn.bottom}})},mt=ge=>{if(e.readOnly)return;const je=de()??0,ot=Y(),Lt=Math.max(0,je-Te.value.length-2),Ct=je,zt=`${ot.slice(0,Lt)}{{${ge}}}${ot.slice(Ct)}`,jn=Lt+`{{${ge}}}`.length;W=vu(zt,e.withVariables),j(zt),ue(jn),Ee.value=!1,te(zt,{skipDropdownCheck:!0})},te=(ge,je={})=>{const ot=ge===D1(e.modelValue);(e.alwaysEmitChange||!ot)&&r("update:modelValue",ge),je.skipDropdownCheck||z()},Oe=()=>{const ge=Y();p.value=b(ge);const je=vu(ge,e.withVariables);if(!h.value&&je!==W){const ot=de();W=je,j(ge),ot!==null&&ue(ot)}te(ge)},Et=()=>{h.value=!0},Pt=()=>{h.value=!1,Oe()},gt=()=>{f.value=!0,s(),ae()},kn=ge=>{f.value=!1,Ee.value=!1;const je=Y();e.emitOnBlur&&je&&r("submit",je,ge),r("blur",je,ge)},Nr=ge=>{ge.preventDefault();const je=ge.clipboardData?.getData("text/plain")??"";je&&(document.execCommand("insertText",!1,je.replace(/\r?\n/g," ")),Oe())},rr=ge=>{if(Ee.value){if(ge.key==="ArrowDown"||ge.key==="ArrowUp"){ge.preventDefault(),ge.stopPropagation(),c.value?.handleArrowKey(ge.key==="ArrowDown"?"down":"up");return}if(ge.key==="Enter"){ge.preventDefault(),ge.stopPropagation(),c.value?.handleSelect();return}if(ge.key==="Escape"){ge.preventDefault(),ge.stopPropagation(),Ee.value=!1;return}}if(ge.key==="Enter"){ge.preventDefault(),r("submit",Y(),ge);return}},qr=ge=>{const je=ge.target?.closest(".scalar-pill");
384if(!je)return;const ot=l.value;if(!ot)return;ot.focus();const Lt=document.createRange();Lt.selectNode(je);const Ct=window.getSelection();Ct?.removeAllRanges(),Ct?.addRange(Lt),z()};return Mt(()=>{const ge=D1(e.modelValue);W=vu(ge,e.withVariables),pe=ee(),j(ge),p.value=b(ge),Object.hasOwn(a,"autofocus")&&l.value?.focus()}),qe(()=>e.modelValue,ge=>{const je=D1(ge);p.value=b(je),Y()!==je&&(W=vu(je,e.withVariables),j(je))}),qe(l,ge=>{if(!ge||!b(Y()))return;const je=D1(e.modelValue);je!==""&&(W=vu(je,e.withVariables),j(je))},{flush:"sync"}),qe([()=>e.environment,()=>e.withVariables],()=>{const ge=ee();if(ge===pe||(pe=ge,W===""))return;W=vu(Y(),e.withVariables);const je=de();j(Y()),je!==null&&ue(je)},{deep:!0}),to(()=>{C()}),t({focus:ge=>{const je=l.value;if(!je||(je.focus(),!Bi(ge)))return;const ot=Y().length;ue(ge==="start"?0:ge==="end"?ot:ge)},setContent:(ge="")=>{Y()!==ge&&(W=vu(ge,e.withVariables),j(ge),p.value=b(ge))},getValue:()=>Y(),cursorPosition:()=>{const ge=de();return ge===null?void 0:ge},isFocused:f,editorRef:l}),(ge,je)=>(g(),S(le,null,[e.disabled?(g(),S("div",{key:0,class:Se(["text-c-2 flex cursor-default items-center justify-center",{"font-code pr-2 pl-1 text-base":e.layout==="modal","px-2":e.layout!=="modal","line-through":e.linethrough}]),"data-testid":"code-input-lite-disabled"},[w("span",bXe,V(e.modelValue),1)],2)):e.enum?.length?(g(),L(Ig,{key:1,default:e.default,modelValue:e.modelValue,type:A.value,value:e.enum,"onUpdate:modelValue":x},null,8,["default","modelValue","type","value"])):y.value?(g(),L(Ig,{key:2,default:e.default,modelValue:e.modelValue,value:O.value,"onUpdate:modelValue":x},null,8,["default","modelValue","value"])):e.examples?.length?(g(),L(Ig,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":x},null,8,["default","modelValue","value"])):(g(),S("div",Ae({key:4,id:o.value},ge.$attrs,{class:["code-input-lite group/code-input-lite peer relative w-full leading-[1.44] -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline",{"code-input-lite--error":e.error,"code-input-lite--empty":p.value,"line-through":e.linethrough}]}),[w("div",{ref_key:"editorRef",ref:l,"aria-activedescendant":fe.value?d.value:void 0,"aria-autocomplete":e.withVariables?"list":void 0,"aria-controls":fe.value?u.value:void 0,"aria-expanded":fe.value?"true":void 0,"aria-invalid":e.error?"true":void 0,"aria-label":m(a)["aria-label"],"aria-readonly":e.readOnly?"true":void 0,"aria-required":e.required?"true":void 0,class:"code-input-lite__editor",contenteditable:e.readOnly?"false":"true","data-placeholder":e.placeholder,role:e.withVariables?"combobox":"textbox",spellcheck:"false",onBlur:kn,onClick:qr,onCompositionend:Pt,onCompositionstart:Et,onFocus:gt,onInput:Oe,onKeydown:rr,onPaste:Nr,onPointerover:ae},null,40,vXe)],16,yXe)),ge.$slots.warning?(g(),S("div",OXe,[H(ge.$slots,"warning",{},void 0,!0)])):B("",!0),ge.$slots.icon?(g(),S("div",SXe,[H(ge.$slots,"icon",{},void 0,!0)])):B("",!0),e.required?(g(),S("div",wXe," Required ")):B("",!0),fe.value?(g(),L(hXe,{key:8,ref_key:"dropdownRef",ref:c,contextFunctionItems:oe.value,dropdownPosition:D.value,environment:e.environment,listboxId:u.value,query:Te.value,onClose:je[0]||(je[0]=ot=>Ee.value=!1),onRedirect:je[1]||(je[1]=ot=>r("navigate",{page:"document",path:"environment"})),onSelect:mt},null,8,["contextFunctionItems","dropdownPosition","environment","listboxId","query"])):B("",!0)],64))}}),kXe=uv(xXe,[["__scopeId","data-v-4dfd05a3"]]),AXe=["for"],TXe={class:"relative flex min-w-0 flex-1"},EXe=["readOnly","type","value"],_Xe={key:1,class:"centered-y text-orange absolute right-7 text-xs"},CXe=Q({inheritAttrs:!1,__name:"DataTableInput",props:{id:{},type:{},containerClass:{},required:{type:Boolean,default:!1},modelValue:{},canAddCustomEnumValue:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},enum:{},environment:{},description:{},withFakeData:{type:Boolean,default:!0}},emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],setup(e,{emit:t}){const n=e,r=t,a=K(!0),i=K(!1),o=vi("codeInput"),s=()=>!i.value&&r("inputBlur"),l=I(()=>n.type==="password"?"text":n.type??"text"),c=()=>{!n.enum?.length&&!n.readOnly&&o.value?.focus()};return(u,d)=>(g(),L(tp,{class:Se(["relative flex",e.containerClass])},{default:P(()=>[u.$slots.default?(g(),S("div",{key:0,class:"text-c-1 flex items-center pr-0 pl-3",for:e.id??"",onClick:c}
384,[H(u.$slots,"default",{},void 0,!0),d[6]||(d[6]=J(": ",-1))],8,AXe)):B("",!0),w("div",TXe,[n.enum&&n.enum.length?(g(),L(Ig,{key:0,canAddCustomValue:n.canAddCustomEnumValue,modelValue:n.modelValue,value:n.enum,"onUpdate:modelValue":d[0]||(d[0]=f=>r("update:modelValue",f))},null,8,["canAddCustomValue","modelValue","value"])):(g(),S(le,{key:1},[a.value&&e.type==="password"?(g(),S("input",Ae({key:0},e.id?{...u.$attrs,id:e.id}:u.$attrs,{autocomplete:"off",class:["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none px-2 py-1.25 -outline-offset-1",{"scalar-password-input":e.type==="password"}],"data-1p-ignore":"",readOnly:e.readOnly,spellcheck:"false",type:l.value,value:e.modelValue,onInput:d[1]||(d[1]=f=>r("update:modelValue",f.target.value??""))}),null,16,EXe)):(g(),L(m(kXe),Ae({key:1},u.$attrs,{id:e.id,ref_key:"codeInput",ref:o,class:["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1",[e.type==="password"&&e.description&&"pr-12",e.description&&"pr-8",e.type==="password"&&"scalar-password-input"]],environment:e.environment,modelValue:e.modelValue??"",readOnly:e.readOnly,required:!!e.required,type:l.value,withFakeData:e.withFakeData,onBlur:s,onFocus:d[2]||(d[2]=f=>r("inputFocus")),"onUpdate:modelValue":d[3]||(d[3]=f=>r("update:modelValue",f))}),null,16,["id","class","environment","modelValue","readOnly","required","type","withFakeData"]))],64))]),u.$slots.warning?(g(),S("div",_Xe,[H(u.$slots,"warning",{},void 0,!0)])):B("",!0),H(u.$slots,"icon",{},void 0,!0),e.modelValue?(g(),L(m(eo),{key:2,class:"-ml-.25 h-6 w-6 self-center p-1.25",icon:m(Cp),label:"Clear Value",onClick:d[4]||(d[4]=f=>r("update:modelValue",""))},null,8,["icon"])):B("",!0),e.type==="password"?(g(),L(m(eo),{key:3,class:"-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25","data-testid":"data-table-password-toggle",icon:a.value?m(che):m(bhe),label:a.value?"Show Password":"Hide Password",onClick:d[5]||(d[5]=f=>a.value=!a.value)},null,8,["icon","label"])):B("",!0)]),_:3},8,["class"]))}}),$Xe=uv(CXe,[["__scopeId","data-v-a6f4752a"]]),PXe=["for"],IXe=Q({__name:"RequestAuthDataTableInput",props:xn({containerClass:{},environment:{},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{modelValue:{default:"",required:!0},modelModifiers:{}}),emits:xn(["inputFocus","inputBlur","selectVariable"],["update:modelValue"]),setup(e,{emit:t}){const n=t,r=yn(e,"modelValue"),a=vn();return(i,o)=>(g(),L(m($Xe),Ae({id:m(a)},i.$attrs,{modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=s=>r.value=s),canAddCustomEnumValue:!e.readOnly,containerClass:e.containerClass,environment:e.environment,readOnly:e.readOnly,required:e.required,type:e.type,onInputBlur:o[1]||(o[1]=s=>n("inputBlur")),onInputFocus:o[2]||(o[2]=s=>n("inputFocus")),onSelectVariable:o[3]||(o[3]=s=>n("selectVariable",s))}),{default:P(()=>[w("label",{for:m(a)},[H(i.$slots,"default")],8,PXe)]),icon:P(()=>[H(i.$slots,"icon")]),_:3},16,["id","modelValue","canAddCustomEnumValue","containerClass","environment","readOnly","required","type"]))}}),gr=IXe,NXe=["aria-label","checked","disabled"],RXe=Q({__name:"DataTableCheckbox",props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:"center"},ariaLabel:{default:"Toggle"}},emits:["update:modelValue"],setup(e){const t=$r({base:"w-8 h-8 flex items-center justify-center text-b-2 peer-checked:text-c-1 pointer-events-none absolute",variants:{align:{left:"left-0",center:"centered"}}});return(n,r)=>(g(),L(tp,{class:"group/cell relative flex min-w-8"},{default:P(()=>[w("input",{"aria-label":e.ariaLabel,checked:e.modelValue,class:"peer absolute inset-0 size-full cursor-pointer opacity-0 disabled:cursor-default",disabled:!!e.disabled,type:"checkbox",onChange:r[0]||(r[0]=a=>n.$emit("update:modelValue",a.target.checked))},null,40,NXe),w("div",{class:Se(m(t)({align:e.align}))},[w("div",{class:Se(["absolute m-auto size-3/4 rounded border-[1px] opacity-0",!e.disabled&&"group-has-[:focus-visible]/cell:border-c-accent group-hover:opacity-100 group-has-[:focus-visible]/cell:opacity-100"])},null,2),N(m(yr),{icon:"Checkmark",size:"xs",thickness:"2.5"})],2)]),_:1}))}}),MXe=RXe,LXe={class:"flex gap-2"},DXe={class:"flex max-h-8 flex-1"},BXe=Q({name:"CommandActionForm",props:{loader:{},disabled:{type:Boolean,default:!1}},emits:["submit","cancel","back"],setup(e,{emit:t}){const n=t,{cx:r}=At(),a=()=>{e.disabled||n("submit")};return(i,o)=>(g(),S("form",{class:"flex w-full flex-col gap-3",onKeydown:o[0]||(o[0]=Sa(jt(()=>{},["stop"]),["enter"])),onSubmit:jt(a,["prevent","stop"])},[w("div",Rt(Ft(m(r)("relative flex min-h-20 flex-col rounded"))),[H(i.$slots,"default")],16),w("div",LXe,[w("div",DXe,[H(i.$slots,"options")]),N(m(Ln),{class:"max-h-8 px-3 text-xs",disabled:e.disabled,loader:e.loader,type:"submit"},{default:P(()=>[H(i.$slots,"submit",{},()=>[o[1]||(o[1]=J("Continue",-1))])]),_:3},8,["disabled","loader"])])],32))}}),UXe=BXe,jXe=["placeholder"],QXe=Q({name:"CommandActionInput",inheritAttrs:!1,props:{modelValue:{},placeholder:{},autofocus:{type:Boolean,default:!0}},emits:["update:modelValue","delete"],setup(e,{emit:t}){const n=t,r=K(null),a=I({get:()=>e.modelValue??"",set:s=>n("update:modelValue",s)});Mt(()=>{Nn(()=>{e.autofocus&&r.value?.focus()})});const i=s=>{if(s.shiftKey||!s.target)return;s.preventDefault();const l=s.target,c=new Event("submit",{cancelable:!0});l.form?.dispatchEvent(c)},o=s=>{a.value===""&&(s.preventDefault(),s.stopPropagation(),n("delete",s))};return(s,l)=>ti((g(),S("textarea",Ae({id:"command-action-input",ref_key:"input",ref:r,"onUpdate:modelValue":l[0]||(l[0]=c=>a.value=c),class:"min-h-8 w-full flex-1 resize-none border border-transparent py-1.5 pl-8.5 text-sm outline-none focus:border-b-1",placeholder:e.placeholder??"",wrap:"hard"},s.$attrs,{onKeydown:[Sa(o,["delete"]),Sa(i,["enter"])]}),null,16,jXe)),[[ld,a.value]])}}),Q_=QXe,FXe={class:"flex min-h-8 items-start gap-2 text-sm"},zXe={class:"flex min-h-8 items-start gap-2 text-sm"},VXe={key:0,class:"text-red text-xs",role:"alert"},HXe=Q({__name:"OAuthScopesAddModal",props:{state:{},scopes:{},scope:{default:null}},emits:["cancel","submit"],setup(e,{emit:t}){const n=t,r=I(()=>e.scope!==null),a=I(()=>r.value?"Edit Scope":"Add Scope"),i=I(()=>
384r.value?"Save":"Add Scope"),o=K({name:"",description:""}),s=K(!1);qe(()=>o.value.name,()=>{s.value=!0});const l=I(()=>o.value.name.trim()),c=I(()=>!l.value||r.value&&l.value===e.scope?.name?!1:e.scopes.includes(l.value)),u=I(()=>c.value?`A scope named "${l.value}" already exists.`:s.value&&!l.value?"Scope name is required.":null),d=I(()=>!l.value||c.value),f=()=>{d.value||(n("submit",{name:l.value,description:o.value.description,...r.value&&e.scope?{oldName:e.scope.name}:{}}),e.state.hide())};return qe(()=>e.state.open,p=>{p&&(o.value=e.scope?{name:e.scope.name,description:e.scope.description}:{name:"",description:""},Nn(()=>{s.value=!1}))}),(p,h)=>(g(),L(m(My),{bodyClass:"overflow-y-auto",size:"xs",state:e.state,title:a.value},{default:P(()=>[N(m(UXe),{disabled:d.value,onCancel:h[2]||(h[2]=b=>n("cancel")),onSubmit:f},{submit:P(()=>[J(V(i.value),1)]),default:P(()=>[w("div",FXe,[h[3]||(h[3]=J(" Name: ",-1)),N(m(Q_),{modelValue:o.value.name,"onUpdate:modelValue":h[0]||(h[0]=b=>o.value.name=b),autofocus:"",class:"field-sizing-content !p-0",placeholder:"read:user"},null,8,["modelValue"])]),w("div",zXe,[h[4]||(h[4]=J(" Description: ",-1)),N(m(Q_),{modelValue:o.value.description,"onUpdate:modelValue":h[1]||(h[1]=b=>o.value.description=b),autofocus:!1,class:"field-sizing-content !p-0",placeholder:"Read user data"},null,8,["modelValue"])]),u.value?(g(),S("div",VXe,V(u.value),1)):B("",!0)]),_:1},8,["disabled"])]),_:1},8,["state","title"]))}}),qXe=HXe,ZXe={class:"flex h-fit w-full"},XXe={class:"group/scopes-accordion flex h-auto min-h-8 items-center gap-1.5 pr-2.25 pl-3 text-left"},WXe={class:"flex shrink-0 items-center gap-1.75"},YXe={class:"grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-auto",style:{gridTemplateColumns:"1fr auto"}},GXe={class:"no-scrollbar text-c-2 group-hover/scope-row:text-c-1 flex min-h-8 min-w-0 flex-1 items-center gap-1 overflow-x-auto px-3 py-1.5 pr-20 text-xs text-nowrap"},KXe={class:"font-code shrink-0 text-xs"},JXe={class:"whitespace-nowrap"},eWe=Q({__name:"OAuthScopesInput",props:{flowType:{},flow:{},selectedScopes:{}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){const n=t,r=K(""),a=K(null),i=I(()=>Object.entries(e.flow?.scopes??{}).map(([E,C])=>({id:E,label:E,description:C}))),o=I(()=>Object.keys(e.flow?.scopes??{}).length),s=I(()=>o.value>=10),l=I(()=>{const E=s.value?r.value:"";if(!E)return i.value;const C=new RegExp(E.split("").map($=>$.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*"),"i");return i.value.filter(({label:$,description:R})=>C.test(`${$} ${R}`))}),c=I(()=>Object.keys(e.flow?.scopes??{}).length>0),u=I(()=>e.selectedScopes.length===Object.keys(e.flow?.scopes??{}).length),d=(E,C)=>{n("update:selectedScopes",{scope:E,selected:C})},f=()=>n("update:selectedScopes",{scopes:Object.keys(e.flow?.scopes??{})}),p=()=>n("update:selectedScopes",{scopes:[]}),h=Ry(),b=K(0),y=K(!1);qe(c,(E,C)=>{C&&!E&&(y.value=!1,b.value+=1)});const O=()=>{a.value=null,h.show()},A=E=>{a.value={name:E.id,description:E.description??""},h.show()},x=async E=>{const C=!E.oldName;n("upsert:scope",{scope:E.name,description:E.description,flowType:e.flowType,...E.oldName?{oldScope:E.oldName}:{},...C?{enable:!0}:{}}),C&&(y.value=!0,b.value+=1,await Nn(),y.value=!1)},T=E=>{n("delete:scope",{scope:E,flowType:e.flowType})};return(E,C)=>(g(),L(m(tp),{class:"h-auto !max-h-[initial] min-h-8 items-center"},{default:P(()=>[w("div",ZXe,[C[7]||(C[7]=w("div",{class:"text-c-1 h-full items-center"},null,-1)),(g(),L(m(kd),{key:b.value,as:"div",class:"bl flex w-full flex-col",defaultOpen:y.value},{default:P(()=>[w("div",XXe,[N(m(Ll),{class:Se(["min-w-0 flex-1 text-left",c.value?"hover:text-c-1 cursor-pointer":"cursor-default",(e.selectedScopes.length||0)>0?"text-c-1":"text-c-3"]),disabled:!c.value},{default:P(()=>[c.value?(g(),S(le,{key:0},[J(" Scopes Selected "+V(e.selectedScopes.length||0)+" / "+V(Object.keys(e.flow?.scopes??{}).length||0),1)],64)):(g(),S(le,{key:1},[J(" No Scopes Defined ")],64))]),_:1},8,["class","disabled"]),w("div",WXe,[N(m(Ln),{class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:jt(O,["stop"])},{default:P(()=>[...C[3]||(C[3]=[J(" Add Scope ",-1)])]),_:1}),c.value&&u.value?(g(),L(m(Ln),{key:0,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:jt(p,["stop"])},{default:P(()=>[...C[4]||(C[4]=[J(" Deselect All ",-1)])]),_:1})):B("",!0),c.value&&!u.value?(g(),L(m(Ln),{key:1,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:jt(f,["stop"])},{default:P(()=>[...C[5]||(C[5]=[J(" Select All ",-1)])]),_:1})):B("",!0),c.value?(g(),L(m(Ll),{key:2,class:"text-c-3 hover:text-c-2 -m-0.5 flex shrink-0 items-center justify-center rounded p-0.5 focus-visible:outline-offset-2"},{default:P(({open:$})=>[N(m(yr),{class:"group-hover/scopes-accordion:text-c-2",icon:$?"ChevronDown":"ChevronRight",size:"md"},null,8,["icon"])]),_:1})):B("",!0)])]),N(m(Ad),{as:"template"},{default:P(()=>[w("div",null,[s.value?(g(),L(m(OD),{key:0,modelValue:r.value,"onUpdate:modelValue":C[0]||(C[0]=$=>r.value=$),class:"flex items-center text-xs"},null,8,["modelValue"])):B("",!0),w("table",YXe,[(g(!0),S(le,null,it(l.value,({id:$,label:R,description:j})=>(g(),L(m(En),{key:$,class:"text-c-2 group/scope-row",onClick:U=>d($,!e.selectedScopes.includes($))},{default:P(()=>[N(m(tp),{class:"box-border flex !max-h-[initial] w-full min-w-0 cursor-pointer items-stretch overflow-hidden px-0 py-0"},{default:P(()=>[w("div",GXe,[w("span",KXe,V(R),1),String(j??"").trim()?(g(),S(le,{key:0},[C[6]||(C[6]=w("span",{class:"shrink-0"},"â",-1)),w("span",JXe,V(j),1)],64)):B("",!0)]),w("div",{class:"oauth-scope-row-action-rail absolute top-0 right-0 z-[1] flex h-full min-w-[4.5rem] items-center justify-end gap-0.5 py-1 pr-2 pl-4 opacity-0 transition-opacity group-focus-within/scope-row:opacity-100 group-hover/scope-row:opacity-100",onClick:C[1]||(C[1]=jt(()=>{},["stop"]))},[N(m(eo),{icon:m(g0e),label:`Edit ${R}`,size:"sm",onClick:jt(U=>A({id:$,description:j??""}),["stop"])},null,8,["icon","label","onClick"]),N(m(eo),{icon:m(FN),label:`Delete ${R}`,size:"sm",onClick:jt(U=>T($),["stop"])},null,8,["icon","label","onClick"])])]),_:2},1024),N(m(MXe),{ariaLabel:`Select ${R} scope`,modelValue:e.selectedScopes.includes($),onClick:C[2]||(C[2]=jt(()=>{},["stop"])),"onUpdate:modelValue":U=>d($,U)},null,8,["ariaLabel","modelValue","onUpdate:modelValue"])]),_:2},1032,["onClick"]))),128))])])]),_:1})]),_:1},8,["defaultOpen"]))]),N(qXe,{scope:a.value,scopes:Object.keys(e.flow.scopes??{}),state:m(h),onSubmit:x},null,8,["scope","scopes","state"])]),_:1}))}}),tWe=eWe,F_;function we(e,t,n){function r(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:o,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,l);const c=o.prototype,u=Object.keys(c);for(let d=0;d<u.length;d++){const f=u[d];f in s||(s[f]=c[f].bind(s))}}
384const a=n?.Parent??Object;class i extends a{}Object.defineProperty(i,"name",{value:e});function o(s){var l;const c=n?.Parent?new i:this;r(c,s),(l=c._zod).deferred??(l.deferred=[]);for(const u of c._zod.deferred)u();return c}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}class Af extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class aF extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(F_=globalThis).__zod_globalConfig??(F_.__zod_globalConfig={});const F6=globalThis.__zod_globalConfig;function Bl(e){return F6}function iF(e){const t=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,a])=>t.indexOf(+r)===-1).map(([r,a])=>a)}function Zw(e,t){return typeof t=="bigint"?t.toString():t}function fv(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function z6(e){return e==null}function V6(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function nWe(e,t){const n=e/t,r=Math.round(n),a=Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-r)<a?0:n-r}const z_=Symbol("evaluating");function gn(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==z_)return r===void 0&&(r=z_,r=n()),r},set(a){Object.defineProperty(e,t,{value:a})},configurable:!0})}function Id(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function ou(...e){const t={};for(const n of e){const r=Object.getOwnPropertyDescriptors(n);Object.assign(t,r)}return Object.defineProperties({},t)}function V_(e){return JSON.stringify(e)}function rWe(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const oF="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Nm(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const aWe=fv(()=>{if(F6.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function np(e){if(Nm(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(Nm(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function sF(e){return np(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const iWe=new Set(["string","number","symbol"]);function rp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function su(e,t,n){const r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function ht(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function oWe(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const sWe={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function lWe(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const i=ou(e._zod.def,{get shape(){const o={};for(const s in t){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(o[s]=n.shape[s])}return Id(this,"shape",o),o},checks:[]});return su(e,i)}function cWe(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const i=ou(e._zod.def,{get shape(){const o={...e._zod.def.shape};for(const s in t){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&delete o[s]}return Id(this,"shape",o),o},checks:[]});return su(e,i)}function uWe(e,t){if(!np(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0){const i=e._zod.def.shape;for(const o in t)if(Object.getOwnPropertyDescriptor(i,o)!==void 0)throw new Error("Cannot over
384write keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const a=ou(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t};return Id(this,"shape",i),i}});return su(e,a)}function dWe(e,t){if(!np(t))throw new Error("Invalid input to safeExtend: expected a plain object");const n=ou(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t};return Id(this,"shape",r),r}});return su(e,n)}function fWe(e,t){if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const n=ou(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t._zod.def.shape};return Id(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return su(e,n)}function pWe(e,t,n){const a=t._zod.def.checks;if(a&&a.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const o=ou(t._zod.def,{get shape(){const s=t._zod.def.shape,l={...s};if(n)for(const c in n){if(!(c in s))throw new Error(`Unrecognized key: "${c}"`);n[c]&&(l[c]=e?new e({type:"optional",innerType:s[c]}):s[c])}else for(const c in s)l[c]=e?new e({type:"optional",innerType:s[c]}):s[c];return Id(this,"shape",l),l},checks:[]});return su(t,o)}function hWe(e,t,n){const r=ou(t._zod.def,{get shape(){const a=t._zod.def.shape,i={...a};if(n)for(const o in n){if(!(o in i))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(i[o]=new e({type:"nonoptional",innerType:a[o]}))}else for(const o in a)i[o]=new e({type:"nonoptional",innerType:a[o]});return Id(this,"shape",i),i}});return su(t,r)}function uf(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function mWe(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function df(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function B1(e){return typeof e=="string"?e:e?.message}function Ul(e,t,n){const r=e.message?e.message:B1(e.inst?._zod.def?.error?.(e))??B1(t?.error?.(e))??B1(n.customError?.(e))??B1(n.localeError?.(e))??"Invalid input",{inst:a,continue:i,input:o,...s}=e;return s.path??(s.path=[]),s.message=r,t?.reportInput&&(s.input=o),s}function H6(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Rm(...e){const[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}const lF=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Zw,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},cF=we("$ZodError",lF),uF=we("$ZodError",lF,{Parent:Error});function gWe(e,t=n=>n.message){const n={},r=[];for(const a of e.issues)a.path.length>0?(n[a.path[0]]=n[a.path[0]]||[],n[a.path[0]].push(t(a))):r.push(t(a));return{formErrors:r,fieldErrors:n}}function bWe(e,t=n=>n.message){const n={_errors:[]},r=(a,i=[])=>{for(const o of a.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(s=>r({issues:s},[...i,...o.path]));else if(o.code==="invalid_key")r({issues:o.issues},[...i,...o.path]);else if(o.code==="invalid_element")r({issues:o.issues},[...i,...o.path]);else{const s=[...i,...o.path];if(s.length===0)n._errors.push(t(o));else{let l=n,c=0;for(;c<s.length;){const u=s[c];c===s.length-1?(l[u]=l[u]||{_errors:[]},l[u]._errors.push(t(o))):l[u]=l[u]||{_errors:[]},l=l[u],c++}}}};return r(e),n}const q6=e=>(t,n,r,a)=>{const i=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},i);if(o instanceof Promise)throw new Af;if(o.issues.length){const s=new(a?.Err??e)(o.issues.map(l=>Ul(l,i,Bl())));throw oF(s,a?.callee),s}return o.value},Z6=e=>async(t,n,r,a)=>{const i=r?{...r,async:!0}:{async:!0};let o=t._zod.run({value:n,issues:[]},i);if(o instanceof Promise&&(o=await o),o.issues.length){const s=new(a?.Err??e)(o.issues.map(l=>Ul(l,i,Bl())));throw oF(s,a?.callee),s}return o.value},pv=e=>(t,n,r)=>{const a=r?{...r,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},a);if(i instanceof Promise)throw new Af;return i.issues.length?{success:!1,error:new(e??cF)(i.issues.map(o=>Ul(o,a,Bl())))}:{success:!0,data:i.value}},yWe=pv(uF),hv=e=>async(t,n,r)=>{const a=r?{...r,async:!0}:{async:!0};let i=t._zod.run({value:n,issues:[]},a);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(o=>Ul(o,a,Bl())))}:{success:!0,data:i.value}},vWe=hv(uF),OWe=e=>(t,n,r)=>{const a=r?{...r,direction:"backward"}:{direction:"backward"};return q6(e)(t,n,a)},SWe=e=>(t,n,r)=>q6(e)(t,n,r),wWe=e=>async(t,n,r)=>{const a=r?{...r,direction:"backward"}:{direction:"backward"};return Z6(e)(t,n,a)},xWe=e=>async(t,n,r)=>Z6(e)(t,n,r),kWe=e=>(t,n,r)=>{const a=r?{...r,direction:"backward"}:{direction:"backward"};return pv(e)(t,n,a)},AWe=e=>(t,n,r)=>pv(e)(t,n,r),TWe=e=>async(t,n,r)=>{const a=r?{...r,direction:"backward"}:{direction:"backward"};return hv(e)(t,n,a)},EWe=e=>async(t,n,r)=>hv(e)(t,n,r),_We=/^[cC][0-9a-z]{6,}
vendor: 4,726 bytes, line 384
384$/,CWe=/^[0-9a-z]+$/,$We=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,PWe=/^[0-9a-vA-V]{20}$/,IWe=/^[A-Za-z0-9]{27}$/,NWe=/^[a-zA-Z0-9_-]{21}$/,RWe=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,MWe=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,H_=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,LWe=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,DWe="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function BWe(){return new RegExp(DWe,"u")}const UWe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,jWe=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,QWe=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,FWe=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,zWe=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,dF=/^[A-Za-z0-9_-]*$/,VWe=/^https?$/,HWe=/^\+[1-9]\d{6,14}$/,fF="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",qWe=new RegExp(`^${fF}$`);function pF(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function ZWe(e){return new RegExp(`^${pF(e)}$`)}function XWe(e){const t=pF({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${t}(?:${n.join("|")})`;return new RegExp(`^${fF}T(?:${r})$`)}const WWe=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},YWe=/^-?\d+$/,hF=/^-?\d+(?:\.\d+)?$/,GWe=/^(?:true|false)$/i,KWe=/^null$/i,JWe=/^[^A-Z]*$/,eYe=/^[^a-z]*$/,Ei=we("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),mF={number:"number",bigint:"bigint",object:"date"},gF=we("$ZodCheckLessThan",(e,t)=>{Ei.init(e,t);const n=mF[typeof t.value];e._zod.onattach.push(r=>{const a=r._zod.bag,i=(t.inclusive?a.maximum:a.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<i&&(t.inclusive?a.maximum=t.value:a.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),bF=we("$ZodCheckGreaterThan",(e,t)=>{Ei.init(e,t);const n=mF[typeof t.value];e._zod.onattach.push(r=>{const a=r._zod.bag,i=(t.inclusive?a.minimum:a.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>i&&(t.inclusive?a.minimum=t.value:a.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),tYe=we("$ZodCheckMultipleOf",(e,t)=>{Ei.init(e,t),e._zod.onattach.push(n=>{var r;(r=n._zod.bag).multipleOf??(r.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):nWe(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),nYe=we("$ZodCheckNumberFormat",(e,t)=>{Ei.init(e,t),t.format=t.format||"float64";const n=t.format?.includes("int"),r=n?"int":"number",[a,i]=sWe[t.format];e._zod.onattach.push(o=>{const s=o._zod.bag;s.format=t.format,s.minimum=a,s.maximum=i,n&&(s.pattern=YWe)}),e._zod.check=o=>{const s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>
vendor: 4,156 bytes, line 384
3840?o.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<a&&o.issues.push({origin:"number",input:s,code:"too_small",minimum:a,inclusive:!0,inst:e,continue:!t.abort}),s>i&&o.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),rYe=we("$ZodCheckMaxLength",(e,t)=>{var n;Ei.init(e,t),(n=e._zod.def).when??(n.when=r=>{const a=r.value;return!z6(a)&&a.length!==void 0}),e._zod.onattach.push(r=>{const a=r._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<a&&(r._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{const a=r.value;if(a.length<=t.maximum)return;const o=H6(a);r.issues.push({origin:o,code:"too_big",maximum:t.maximum,inclusive:!0,input:a,inst:e,continue:!t.abort})}}),aYe=we("$ZodCheckMinLength",(e,t)=>{var n;Ei.init(e,t),(n=e._zod.def).when??(n.when=r=>{const a=r.value;return!z6(a)&&a.length!==void 0}),e._zod.onattach.push(r=>{const a=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>a&&(r._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{const a=r.value;if(a.length>=t.minimum)return;const o=H6(a);r.issues.push({origin:o,code:"too_small",minimum:t.minimum,inclusive:!0,input:a,inst:e,continue:!t.abort})}}),iYe=we("$ZodCheckLengthEquals",(e,t)=>{var n;Ei.init(e,t),(n=e._zod.def).when??(n.when=r=>{const a=r.value;return!z6(a)&&a.length!==void 0}),e._zod.onattach.push(r=>{const a=r._zod.bag;a.minimum=t.length,a.maximum=t.length,a.length=t.length}),e._zod.check=r=>{const a=r.value,i=a.length;if(i===t.length)return;const o=H6(a),s=i>t.length;r.issues.push({origin:o,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),mv=we("$ZodCheckStringFormat",(e,t)=>{var n,r;Ei.init(e,t),e._zod.onattach.push(a=>{const i=a._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=a=>{t.pattern.lastIndex=0,!t.pattern.test(a.value)&&a.issues.push({origin:"string",code:"invalid_format",format:t.format,input:a.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),oYe=we("$ZodCheckRegex",(e,t)=>{mv.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),sYe=we("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=JWe),mv.init(e,t)}),lYe=we("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=eYe),mv.init(e,t)}),cYe=we("$ZodCheckIncludes",(e,t)=>{Ei.init(e,t);const n=rp(t.includes),r=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(a=>{const i=a._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(r)}),e._zod.check=a=>{a.value.includes(t.includes,t.position)||a.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:a.value,inst:e,continue:!t.abort})}}),uYe=we("$ZodCheckStartsWith",(e,t)=>{Ei.init(e,t);const n=new RegExp(`^${rp(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(r=>{const a=r._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(n)}),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),dYe=we("$ZodCheckEndsWith",(e,t)=>{Ei.init(e,t);const n=new RegExp(`.*${rp(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(r=>{const a=r._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(n)}),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}}),fYe=we("$ZodCheckOverwrite",(e,t)=>{Ei.init(e,t),e._zod.check=n=>
vendor: 11,884 bytes, lines 384-429
384{n.value=t.tx(n.value)}});class pYe{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const r=t.split(` 385`).filter(o=>o),a=Math.min(...r.map(o=>o.length-o.trimStart().length)),i=r.map(o=>o.slice(a)).map(o=>" ".repeat(this.indent*2)+o);for(const o of i)this.content.push(o)}compile(){const t=Function,n=this?.args,a=[...(this?.content??[""]).map(i=>` ${i}`)];return new t(...n,a.join(` 386`))}}const hYe={major:4,minor:4,patch:3},tr=we("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=hYe;const r=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&r.unshift(e);for(const a of r)for(const i of a._zod.onattach)i(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const a=(o,s,l)=>{let c=uf(o),u;for(const d of s){if(d._zod.def.when){if(mWe(o)||!d._zod.def.when(o))continue}else if(c)continue;const f=o.issues.length,p=d._zod.check(o);if(p instanceof Promise&&l?.async===!1)throw new Af;if(u||p instanceof Promise)u=(u??Promise.resolve()).then(async()=>{await p,o.issues.length!==f&&(c||(c=uf(o,f)))});else{if(o.issues.length===f)continue;c||(c=uf(o,f))}}return u?u.then(()=>o):o},i=(o,s,l)=>{if(uf(o))return o.aborted=!0,o;const c=a(s,r,l);if(c instanceof Promise){if(l.async===!1)throw new Af;return c.then(u=>e._zod.parse(u,l))}return e._zod.parse(c,l)};e._zod.run=(o,s)=>{if(s.skipChecks)return e._zod.parse(o,s);if(s.direction==="backward"){const c=e._zod.parse({value:o.value,issues:[]},{...s,skipChecks:!0});return c instanceof Promise?c.then(u=>i(u,o,s)):i(c,o,s)}const l=e._zod.parse(o,s);if(l instanceof Promise){if(s.async===!1)throw new Af;return l.then(c=>a(c,r,s))}return a(l,r,s)}}gn(e,"~standard",()=>({validate:a=>{try{const i=yWe(e,a);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return vWe(e,a).then(o=>o.success?{value:o.data}:{issues:o.error?.issues})}},vendor:"zod",version:1}))}),X6=we("$ZodString",(e,t)=>{tr.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??WWe(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),pr=we("$ZodStringFormat",(e,t)=>{mv.init(e,t),X6.init(e,t)}),mYe=we("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=MWe),pr.init(e,t)}),gYe=we("$ZodUUID",(e,t)=>{if(t.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(r===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=H_(r))}else t.pattern??(t.pattern=H_());pr.init(e,t)}),bYe=we("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=LWe),pr.init(e,t)}),yYe=we("$ZodURL",(e,t)=>{pr.init(e,t),e._zod.check=n=>{try{const r=n.value.trim();if(!t.normalize&&t.protocol?.source===VWe.source&&!/^https?:\/\//i.test(r)){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}const a=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(a.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(a.protocol.endsWith(":")?a.protocol.slice(0,-1):a.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=a.href:n.value=r;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),vYe=we("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=BWe()),pr.init(e,t)}),OYe=we("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=NWe),pr.init(e,t)}),SYe=we("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=_We),pr.init(e,t)}),wYe=we("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=CWe),pr.init(e,t)}),xYe=we("$ZodULID",(e,t)=>{t.pattern??(t.pattern=$We),pr.init(e,t)}),kYe=we("$ZodXID",(e,t)=>{t.pattern??(t.pattern=PWe),pr.init(e,t)}),AYe=we("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=IWe),pr.init(e,t)}),TYe=we("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=XWe(t)),pr.init(e,t)}),EYe=we("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=qWe),pr.init(e,t)}),_Ye=we("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=ZWe(t)),pr.init(e,t)}),CYe=we("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=RWe),pr.init(e,t)}),$Ye=we("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=UWe),pr.init(e,t),e._zod.bag.format="ipv4"}),PYe=we("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=jWe),pr.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),IYe=we("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=QWe),pr.init(e,t)}),NYe=we("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=FWe),pr.init(e,t),e._zod.check=n=>{const r=n.value.split("/");try{if(r.length!==2)throw new Error;const[a,i]=r;if(!i)throw new Error;const o=Number(i);if(`${o}`!==i)throw new Error;if(o<0||o>128)throw new Error;new URL(`http://[${a}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function yF(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const RYe=we("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=zWe),pr.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{yF(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function MYe(e){if(!dF.test(e))return!1;const t=e.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return yF(n)}const LYe=we("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=dF),pr.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{MYe(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),DYe=we("$ZodE164",(e,t)=>{t.pattern??(t.pattern=HWe),pr.init(e,t)});function BYe(e,t=null){try{const n=e.split(".");if(n.length!==3)return!1;const[r]=n;if(!r)return!1;const a=JSON.parse(atob(r));return!("typ"in a&&a?.typ!=="JWT"||!a.alg||t&&(!("alg"in a)||a.alg!==t))}catch{return!1}}const UYe=we("$ZodJWT",(e,t)=>{pr.init(e,t),e._zod.check=n=>{BYe(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),vF=we("$ZodNumber",(e,t)=>{tr.init(e,t),e._zod.pattern=e._zod.bag.pattern??hF,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}const a=n.value;if(typeof a=="number"&&!Number.isNaN(a)&&Number.isFinite(a))return n;const i=typeof a=="number"?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:a,inst:e,...i?{received:i}:{}}),n}}),jYe=we("$ZodNumberFormat",(e,t)=>{nYe.init(e,t),vF.init(e,t)}),QYe=we("$ZodBoolean",(e,t)=>{tr.init(e,t),e._zod.pattern=GWe,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}const a=n.value;return typeof a=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:a,inst:e}),n}}),FYe=we("$ZodNull",(e,t)=>{tr.init(e,t),e._zod.pattern=KWe,e._zod.values=new Set([null]),e._zod.parse=(n,r)=>{const a=n.value;return a===null||n.issues.push({expected:"null",code:"invalid_type",input:a,inst:e}),n}}),zYe=we("$ZodUnknown",(e,t)=>{tr.init(e,t),e._zod.parse=n=>n}),VYe=we("$ZodNever",(e,t)=>{tr.init(e,t),e._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function q_(e,t,n){e.issues.length&&t.issues.push(...df(n,e.issues)),t.value[n]=e.value}const HYe=we("$ZodArray",(e,t)=>{tr.init(e,t),e._zod.parse=(n,r)=>{const a=n.value;if(!Array.isArray(a))return n.issues.push({expected:"array",code:"invalid_type",input:a,inst:e}),n;n.value=Array(a.length);const i=[];for(let o=0;o<a.length;o++){const s=a[o],l=t.element._zod.run({value:s,issues:[]},r);l instanceof Promise?i.push(l.then(c=>q_(c,n,o))):q_(l,n,o)}return i.length?Promise.all(i).then(()=>n):n}});function z2(e,t,n,r,a,i){const o=n in r;if(e.issues.length){if(a&&i&&!o)return;t.issues.push(...df(n,e.issues))}if(!o&&!a){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?o&&(t.value[n]=void 0):t.value[n]=e.value}function OF(e){const t=Object.keys(e.shape);for(const r of t)if(!e.shape?.[r]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${r}": expected a Zod schema`);const n=oWe(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function SF(e,t,n,r,a,i){const o=[],s=a.keySet,l=a.catchall._zod,c=l.def.type,u=l.optin==="optional",d=l.optout==="optional";for(const f in t){if(f==="__proto__"||s.has(f))continue;if(c==="never"){o.push(f);continue}const p=l.run({value:t[f],issues:[]},r);p instanceof Promise?e.push(p.then(h=>z2(h,n,f,t,u,d))):z2(p,n,f,t,u,d)}return o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:i}),e.length?Promise.all(e).then(()=>n):n}const qYe=we("$ZodObject",(e,t)=>{if(tr.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const s=t.shape;Object.defineProperty(t,"shape",{get:()=>{const l={...s};return Object.defineProperty(t,"shape",{value:l}),l}})}const r=fv(()=>OF(t));gn(e._zod,"propValues",()=>{const s=t.shape,l={};for(const c in s){const u=s[c]._zod;if(u.values){l[c]??(l[c]=new Set);for(const d of u.values)l[c].add(d)}}return l});const a=Nm,i=t.catchall;let o;e._zod.parse=(s,l)=>{o??(o=r.value);const c=s.value;if(!a(c))return s.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),s;s.value={};const u=[],d=o.shape;for(const f of o.keys){const p=d[f],h=p._zod.optin==="optional",b=p._zod.optout==="optional",y=p._zod.run({value:c[f],issues:[]},l);y instanceof Promise?u.push(y.then(O=>z2(O,s,f,c,h,b))):z2(y,s,f,c,h,b)}return i?SF(u,c,s,l,r.value,e):u.length?Promise.all(u).then(()=>s):s}}),ZYe=we("$ZodObjectJIT",(e,t)=>{qYe.init(e,t);const n=e._zod.parse,r=fv(()=>OF(t)),a=f=>{const p=new pYe(["shape","payload","ctx"]),h=r.value,b=x=>{const T=V_(x);return`shape[${T}]._zod.run({ value: input[${T}], issues: [] }, ctx)`};p.write("const input = payload.value;");const y=Object.create(null);let O=0;for(const x of h.keys)y[x]=`key_${O++}`;p.write("const newResult = {};");for(const x of h.keys){const T=y[x],E=V_(x),C=f[x],$=C?._zod?.optin==="optional",R=C?._zod?.optout==="optional";p.write(`const ${T} = ${b(x)};`),$&&R?p.write(` 387 if (${T}.issues.length) { 388 if (${E} in input) { 389 payload.issues = payload.issues.concat(${T}.issues.map(iss => ({ 390 ...iss, 391 path: iss.path ? [${E}, ...iss.path] : [${E}] 392 }))); 393 } 394 } 395 396 if (${T}.value === undefined) { 397 if (${E} in input) { 398 newResult[${E}] = undefined; 399 } 400 } else { 401 newResult[${E}] = ${T}.value; 402 } 403 404 `):$?p.write(` 405 if (${T}.issues.length) { 406 payload.issues = payload.issues.concat(${T}.issues.map(iss => ({ 407 ...iss, 408 path: iss.path ? [${E}, ...iss.path] : [${E}] 409 }))); 410 } 411 412 if (${T}.value === undefined) { 413 if (${E} in input) { 414 newResult[${E}] = undefined; 415 } 416 } else { 417 newResult[${E}] = ${T}.value; 418 } 419 420 `):p.write(` 421 const ${T}_present = ${E} in input; 422 if (${T}.issues.length) { 423 payload.issues = payload.issues.concat(${T}.issues.map(iss => ({ 424 ...iss, 425 path: iss.path ? [${E}, ...iss.path] : [${E}] 426 }))); 427 } 428 if (!${T}_present && !${T}.issues.length) { 429 payload.issues.push({
430 code: "invalid_type", 431 expected: "nonoptional", 432 input: undefined, 433 path: [${E}] 434 }); 435 } 436 437 if (${T}_present) { 438 if (${T}.value === undefined) { 439 newResult[${E}] = undefined; 440 } else { 441 newResult[${E}] = ${T}.value; 442 } 443 } 444 445 `)}p.write("payload.value = newResult;"),p.write("return payload;");const A=p.compile();return(x,T)=>A(f,x,T)};let i;const o=Nm,s=!F6.jitless,c=s&&aWe.value,u=t.catchall;let d;e._zod.parse=(f,p)=>{d??(d=r.value);const h=f.value;return o(h)?s&&c&&p?.async===!1&&p.jitless!==!0?(i||(i=a(t.shape)),f=i(f,p),u?SF([],h,f,p,d,e):f):n(f,p):(f.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),f)}});function Z_(e,t,n,r){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const a=e.filter(i=>!uf(i));return a.length===1?(t.value=a[0].value,a[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(o=>Ul(o,r,Bl())))}),t)}const wF=we("$ZodUnion",(e,t)=>{tr.init(e,t),gn(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),gn(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),gn(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),gn(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){const r=t.options.map(a=>a._zod.pattern);return new RegExp(`^(${r.map(a=>V6(a.source)).join("|")})$`)}});const n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,a)=>{if(n)return n(r,a);let i=!1;const o=[];for(const s of t.options){const l=s._zod.run({value:r.value,issues:[]},a);if(l instanceof Promise)o.push(l),i=!0;else{if(l.issues.length===0)return l;o.push(l)}}return i?Promise.all(o).then(s=>Z_(s,r,e,a)):Z_(o,r,e,a)}}),XYe=we("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,wF.init(e,t);const n=e._zod.parse;gn(e._zod,"propValues",()=>{const a={};for(const i of t.options){const o=i._zod.propValues;if(!o||Object.keys(o).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(const[s,l]of Object.entries(o)){a[s]||(a[s]=new Set);for(const c of l)a[s].add(c)}}return a});const r=fv(()=>{const a=t.options,i=new Map;for(const o of a){const s=o._zod.propValues?.[t.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(o)}"`);for(const l of s){if(i.has(l))throw new Error(`Duplicate discriminator value "${String(l)}"`);i.set(l,o)}}return i});e._zod.parse=(a,i)=>{const o=a.value;if(!Nm(o))return a.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),a;const s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(a,i):t.unionFallback||i.direction==="backward"?n(a,i):(a.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(r.value.keys()),input:o,path:[t.discriminator],inst:e}),a)}}),WYe=we("$ZodIntersection",(e,t)=>{tr.init(e,t),e._zod.parse=(n,r)=>{const a=n.value,i=t.left._zod.run({value:a,issues:[]},r),o=t.right._zod.run({value:a,issues:[]},r);return i instanceof Promise||o instanceof Promise?Promise.all([i,o]).then(([l,c])=>X_(n,l,c)):X_(n,i,o)}});function Xw(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(np(e)&&np(t)){const n=Object.keys(t),r=Object.keys(e).filter(i=>n.indexOf(i)!==-1),a={...e,...t};for(const i of r){const o=Xw(e[i],t[i]);if(!o.valid)return{valid:!1,mergeErrorPath:[i,...o.mergeErrorPath]};a[i]=o.data}return{valid:!0,data:a}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<e.length;r++){const a=e[r],i=t[r],o=Xw(a,i);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function X_(e,t,n){const r=new Map;let a;for(const s of t.issues)if(s.code==="unrecognized_keys"){a??(a=s);for(const l of s.keys)r.has(l)||r.set(l,{}),r.get(l).l=!0}else e.issues.push(s);for(const s of n.issues)if(s.code==="unrecognized_keys")for(const l of s.keys)r.has(l)||r.set(l,{}),r.get(l).r=!0;else e.issues.push(s);const i=[...r].filter(([,s])=>s.l&&s.r).map(([s])=>s);if(i.length&&a&&e.issues.push({...a,keys:i}),uf(e))return e;const o=Xw(t.value,n.value);
vendor: 12,790 bytes, line 445
445if(!o.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}const YYe=we("$ZodRecord",(e,t)=>{tr.init(e,t),e._zod.parse=(n,r)=>{const a=n.value;if(!np(a))return n.issues.push({expected:"record",code:"invalid_type",input:a,inst:e}),n;const i=[],o=t.keyType._zod.values;if(o){n.value={};const s=new Set;for(const c of o)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){s.add(typeof c=="number"?c.toString():c);const u=t.keyType._zod.run({value:c,issues:[]},r);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(u.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(p=>Ul(p,r,Bl())),input:c,path:[c],inst:e});continue}const d=u.value,f=t.valueType._zod.run({value:a[c],issues:[]},r);f instanceof Promise?i.push(f.then(p=>{p.issues.length&&n.issues.push(...df(c,p.issues)),n.value[d]=p.value})):(f.issues.length&&n.issues.push(...df(c,f.issues)),n.value[d]=f.value)}let l;for(const c in a)s.has(c)||(l=l??[],l.push(c));l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:a,inst:e,keys:l})}else{n.value={};for(const s of Reflect.ownKeys(a)){if(s==="__proto__"||!Object.prototype.propertyIsEnumerable.call(a,s))continue;let l=t.keyType._zod.run({value:s,issues:[]},r);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&hF.test(s)&&l.issues.length){const d=t.keyType._zod.run({value:Number(s),issues:[]},r);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(l=d)}if(l.issues.length){t.mode==="loose"?n.value[s]=a[s]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(d=>Ul(d,r,Bl())),input:s,path:[s],inst:e});continue}const u=t.valueType._zod.run({value:a[s],issues:[]},r);u instanceof Promise?i.push(u.then(d=>{d.issues.length&&n.issues.push(...df(s,d.issues)),n.value[l.value]=d.value})):(u.issues.length&&n.issues.push(...df(s,u.issues)),n.value[l.value]=u.value)}}return i.length?Promise.all(i).then(()=>n):n}}),GYe=we("$ZodEnum",(e,t)=>{tr.init(e,t);const n=iF(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.filter(a=>iWe.has(typeof a)).map(a=>typeof a=="string"?rp(a):a.toString()).join("|")})$`),e._zod.parse=(a,i)=>{const o=a.value;return r.has(o)||a.issues.push({code:"invalid_value",values:n,input:o,inst:e}),a}}),KYe=we("$ZodLiteral",(e,t)=>{if(tr.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(r=>typeof r=="string"?rp(r):r?rp(r.toString()):String(r)).join("|")})$`),e._zod.parse=(r,a)=>{const i=r.value;return n.has(i)||r.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),r}}),JYe=we("$ZodTransform",(e,t)=>{tr.init(e,t),e._zod.optin="optional",e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new aF(e.constructor.name);const a=t.transform(n.value,n);if(r.async)return(a instanceof Promise?a:Promise.resolve(a)).then(o=>(n.value=o,n.fallback=!0,n));if(a instanceof Promise)throw new Af;return n.value=a,n.fallback=!0,n}});function W_(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const xF=we("$ZodOptional",(e,t)=>{tr.init(e,t),e._zod.optin="optional",e._zod.optout="optional",gn(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),gn(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${V6(n.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(t.innerType._zod.optin==="optional"){const a=n.value,i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(o=>W_(o,a)):W_(i,a)}return n.value===void 0?n:t.innerType._zod.run(n,r)}}),eGe=we("$ZodExactOptional",(e,t)=>{xF.init(e,t),gn(e._zod,"values",()=>t.innerType._zod.values),gn(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,r)=>t.innerType._zod.run(n,r)}),tGe=we("$ZodNullable",(e,t)=>{tr.init(e,t),gn(e._zod,"optin",()=>t.innerType._zod.optin),gn(e._zod,"optout",()=>t.innerType._zod.optout),gn(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${V6(n.source)}|null)$`):void 0}),gn(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,r)=>n.value===null?n:t.innerType._zod.run(n,r)}),nGe=we("$ZodDefault",(e,t)=>{tr.init(e,t),e._zod.optin="optional",gn(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);if(n.value===void 0)return n.value=t.defaultValue,n;const a=t.innerType._zod.run(n,r);return a instanceof Promise?a.then(i=>Y_(i,t)):Y_(a,t)}});function Y_(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const rGe=we("$ZodPrefault",(e,t)=>{tr.init(e,t),e._zod.optin="optional",gn(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,r))}),aGe=we("$ZodNonOptional",(e,t)=>{tr.init(e,t),gn(e._zod,"values",()=>{const n=t.innerType._zod.values;return n?new Set([...n].filter(r=>r!==void 0)):void 0}),e._zod.parse=(n,r)=>{const a=t.innerType._zod.run(n,r);return a instanceof Promise?a.then(i=>G_(i,e)):G_(a,e)}});function G_(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const iGe=we("$ZodCatch",(e,t)=>{tr.init(e,t),e._zod.optin="optional",gn(e._zod,"optout",()=>t.innerType._zod.optout),gn(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const a=t.innerType._zod.run(n,r);return a instanceof Promise?a.then(i=>(n.value=i.value,i.issues.length&&(n.value=t.catchValue({...n,error:{issues:i.issues.map(o=>Ul(o,r,Bl()))},input:n.value}),n.issues=[],n.fallback=!0),n)):(n.value=a.value,a.issues.length&&(n.value=t.catchValue({...n,error:{issues:a.issues.map(i=>Ul(i,r,Bl()))},input:n.value}),n.issues=[],n.fallback=!0),n)}}),oGe=we("$ZodPipe",(e,t)=>{tr.init(e,t),gn(e._zod,"values",()=>t.in._zod.values),gn(e._zod,"optin",()=>t.in._zod.optin),gn(e._zod,"optout",()=>t.out._zod.optout),gn(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,r)=>{if(r.direction==="backward"){const i=t.out._zod.run(n,r);return i instanceof Promise?i.then(o=>U1(o,t.in,r)):U1(i,t.in,r)}const a=t.in._zod.run(n,r);return a instanceof Promise?a.then(i=>U1(i,t.out,r)):U1(a,t.out,r)}});function U1(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}const sGe=we("$ZodReadonly",(e,t)=>{tr.init(e,t),gn(e._zod,"propValues",()=>t.innerType._zod.propValues),gn(e._zod,"values",()=>t.innerType._zod.values),gn(e._zod,"optin",()=>t.innerType?._zod?.optin),gn(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const a=t.innerType._zod.run(n,r);return a instanceof Promise?a.then(K_):K_(a)}});function K_(e){return e.value=Object.freeze(e.value),e}const lGe=we("$ZodLazy",(e,t)=>{tr.init(e,t),gn(e._zod,"innerType",()=>{const n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),gn(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),gn(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),gn(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),gn(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,r)=>e._zod.innerType._zod.run(n,r)}),cGe=we("$ZodCustom",(e,t)=>{Ei.init(e,t),tr.init(e,t),e._zod.parse=(n,r)=>n,e._zod.check=n=>{const r=n.value,a=t.fn(r);if(a instanceof Promise)return a.then(i=>J_(i,n,r,e));J_(a,n,r,e)}});function J_(e,t,n,r){if(!e){const a={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(a.params=r._zod.def.params),t.issues.push(Rm(a))}}var eC;class uGe{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const r=n[0];return this._map.set(t,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){const n=t._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const a={...r,...this._map.get(t)};return Object.keys(a).length?a:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function dGe(){return new uGe}(eC=globalThis).__zod_globalRegistry??(eC.__zod_globalRegistry=dGe());const Lh=globalThis.__zod_globalRegistry;function fGe(e,t){return new e({type:"string",...ht(t)})}function pGe(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...ht(t)})}function tC(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...ht(t)})}function hGe(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...ht(t)})}function mGe(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...ht(t)})}function gGe(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...ht(t)})}function bGe(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...ht(t)})}function yGe(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...ht(t)})}function vGe(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...ht(t)})}function OGe(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...ht(t)})}function SGe(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...ht(t)})}function wGe(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...ht(t)})}function xGe(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...ht(t)})}function kGe(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...ht(t)})}function AGe(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...ht(t)})}function TGe(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...ht(t)})}function EGe(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...ht(t)})}function _Ge(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...ht(t)})}function CGe(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...ht(t)})}function $Ge(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...ht(t)})}function PGe(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...ht(t)})}function IGe(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...ht(t)})}function NGe(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...ht(t)})}function RGe(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...ht(t)})}function MGe(e,t){return new e({type:"string",format:"date",check:"string_format",...ht(t)})}function LGe(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...ht(t)})}function DGe(e,t){return new e({type:"string",format:"duration",check:"string_format",...ht(t)})}function BGe(e,t){return new e({type:"number",checks:[],...ht(t)})}function UGe(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...ht(t)})}function jGe(e,t){return new e({type:"boolean",...ht(t)})}function QGe(e,t){return new e({type:"null",...ht(t)})}function FGe(e){return new e({type:"unknown"})}function zGe(e,t){return new e({type:"never",...ht(t)})}function nC(e,t){return new gF({check:"less_than",...ht(t),value:e,inclusive:!1})}function l4(e,t){return new gF({check:"less_than",...ht(t),value:e,inclusive:!0})}function rC(e,t){return new bF({check:"greater_than",...ht(t),value:e,inclusive:!1})}function c4(e,t){return new bF({check:"greater_than",...ht(t),value:e,inclusive:!0})}function aC(e,t){return new tYe({check:"multiple_of",...ht(t),value:e})}function kF(e,t){return new rYe({check:"max_length",...ht(t),maximum:e})}function V2(e,t){return new aYe({check:"min_length",...ht(t),minimum:e})}function AF(e,t){return new iYe({check:"length_equals",...ht(t),length:e})}function VGe(e,t){return new oYe({check:"string_format",format:"regex",...ht(t),pattern:e})}function HGe(e){return new sYe({check:"string_format",format:"lowercase",...ht(e)})}function qGe(e){return new lYe({check:"string_format",format:"up
445percase",...ht(e)})}function ZGe(e,t){return new cYe({check:"string_format",format:"includes",...ht(t),includes:e})}function XGe(e,t){return new uYe({check:"string_format",format:"starts_with",...ht(t),prefix:e})}function WGe(e,t){return new dYe({check:"string_format",format:"ends_with",...ht(t),suffix:e})}function Qp(e){return new fYe({check:"overwrite",tx:e})}function YGe(e){return Qp(t=>t.normalize(e))}function GGe(){return Qp(e=>e.trim())}function KGe(){return Qp(e=>e.toLowerCase())}function JGe(){return Qp(e=>e.toUpperCase())}function eKe(){return Qp(e=>rWe(e))}function tKe(e,t,n){return new e({type:"array",element:t,...ht(n)})}function nKe(e,t,n){const r=ht(n);return r.abort??(r.abort=!0),new e({type:"custom",check:"custom",fn:t,...r})}function rKe(e,t,n){return new e({type:"custom",check:"custom",fn:t,...ht(n)})}function aKe(e,t){const n=iKe(r=>(r.addIssue=a=>{if(typeof a=="string")r.issues.push(Rm(a,r.value,n._zod.def));else{const i=a;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=r.value),i.inst??(i.inst=n),i.continue??(i.continue=!n._zod.def.abort),r.issues.push(Rm(i))}},e(r.value,r)),t);return n}function iKe(e,t){const n=new Ei({check:"custom",...ht(t)});return n._zod.check=e,n}function H2(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Lh,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function Kn(e,t,n={path:[],schemaPath:[]}){var r;const a=e._zod.def,i=t.seen.get(e);if(i)return i.count++,n.schemaPath.includes(e)&&(i.cycle=n.path),i.schema;const o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);const s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{const u={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,u);else{const f=o.schema,p=t.processors[a.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`);p(e,t,f,u)}const d=e._zod.parent;d&&(o.ref||(o.ref=d),Kn(d,t,u),t.seen.get(d).isParent=!0)}const l=t.metadataRegistry.get(e);return l&&Object.assign(o.schema,l),t.io==="input"&&Ha(e)&&(delete o.schema.examples,delete o.schema.default),t.io==="input"&&"_prefault"in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function q2(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=new Map;for(const o of e.seen.entries()){const s=e.metadataRegistry.get(o[0])?.id;if(s){const l=r.get(s);if(l&&l!==o[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(s,o[0])}}const a=o=>{const s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const d=e.external.registry.get(o[0])?.id,f=e.external.uri??(h=>h);if(d)return{ref:f(d)};const p=o[1].defId??o[1].schema.id??`schema${e.counter++}`;return o[1].defId=p,{defId:p,ref:`${f("__shared")}#/${s}/${p}`}}if(o[1]===n)return{ref:"#"};const c=`#/${s}/`,u=o[1].schema.id??`__schema${e.counter++}`;return{defId:u,ref:c+u}},i=o=>{if(o[1].schema.$ref)return;const s=o[1],{ref:l,defId:c}=a(o);s.def={...s.schema},c&&(s.defId=c);const u=s.schema;for(const d in u)delete u[d];u.$ref=l};if(e.cycles==="throw")for(const o of e.seen.entries()){const s=o[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root> 446 447Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const o of e.seen.entries()){const s=o[1];if(t===o[0]){i(o);continue}if(e.external){const c=e.external.registry.get(o[0])?.id;if(t!==o[0]&&c){i(o);continue}}if(e.metadataRegistry.get(o[0])?.id){i(o);continue}if(s.cycle){i(o);continue}if(s.count>1&&e.reused==="ref"){i(o);continue}}}function Z2(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=s=>{const l=e.seen.get(s);if(l.ref===null)return;const c=l.def??l.schema,u={...c},d=l.ref;
447if(l.ref=null,d){r(d);const p=e.seen.get(d),h=p.schema;if(h.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(c.allOf=c.allOf??[],c.allOf.push(h)):Object.assign(c,h),Object.assign(c,u),s._zod.parent===d)for(const y in c)y==="$ref"||y==="allOf"||y in u||delete c[y];if(h.$ref&&p.def)for(const y in c)y==="$ref"||y==="allOf"||y in p.def&&JSON.stringify(c[y])===JSON.stringify(p.def[y])&&delete c[y]}const f=s._zod.parent;if(f&&f!==d){r(f);const p=e.seen.get(f);if(p?.schema.$ref&&(c.$ref=p.schema.$ref,p.def))for(const h in c)h==="$ref"||h==="allOf"||h in p.def&&JSON.stringify(c[h])===JSON.stringify(p.def[h])&&delete c[h]}e.override({zodSchema:s,jsonSchema:c,path:l.path??[]})};for(const s of[...e.seen.entries()].reverse())r(s[0]);const a={};if(e.target==="draft-2020-12"?a.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?a.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?a.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");a.$id=e.external.uri(s)}Object.assign(a,n.def??n.schema);const i=e.metadataRegistry.get(t)?.id;i!==void 0&&a.id===i&&delete a.id;const o=e.external?.defs??{};for(const s of e.seen.entries()){const l=s[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,o[l.defId]=l.def)}e.external||Object.keys(o).length>0&&(e.target==="draft-2020-12"?a.$defs=o:a.definitions=o);try{const s=JSON.parse(JSON.stringify(a));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:X2(t,"input",e.processors),output:X2(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function Ha(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const r=e._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return Ha(r.element,n);if(r.type==="set")return Ha(r.valueType,n);if(r.type==="lazy")return Ha(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault")return Ha(r.innerType,n);if(r.type==="intersection")return Ha(r.left,n)||Ha(r.right,n);if(r.type==="record"||r.type==="map")return Ha(r.keyType,n)||Ha(r.valueType,n);if(r.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Ha(r.in,n)||Ha(r.out,n);if(r.type==="object"){for(const a in r.shape)if(Ha(r.shape[a],n))return!0;return!1}if(r.type==="union"){for(const a of r.options)if(Ha(a,n))return!0;return!1}if(r.type==="tuple"){for(const a of r.items)if(Ha(a,n))return!0;return!!(r.rest&&Ha(r.rest,n))}return!1}const oKe=(e,t={})=>n=>{const r=H2({...n,processors:t});return Kn(e,r),q2(r,e),Z2(r,e)},X2=(e,t,n={})=>r=>{const{libraryOptions:a,target:i}=r??{},o=H2({...a??{},target:i,io:t,processors:n});return Kn(e,o),q2(o,e),Z2(o,e)},sKe={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},TF=(e,t,n,r)=>{const a=n;a.type="string";const{minimum:i,maximum:o,format:s,patterns:l,contentEncoding:c}=e._zod.bag;if(typeof i=="number"&&(a.minLength=i),typeof o=="number"&&(a.maxLength=o),s&&(a.format=sKe[s]??s,a.format===""&&delete a.format,s==="time"&&delete a.format),c&&(a.contentEncoding=c),l&&l.size>0){const u=[...l];u.length===1?a.pattern=u[0].source:u.length>1&&(a.allOf=[...u.map(d=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:d.source}))])}},EF=(e,t,n,r)=>{const a=n,{minimum:i,maximum:o,format:s,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:u}=e._zod.bag;typeof s=="string"&&s.includes("int")?a.type="integer":a.type="number";const d=typeof u=="number"&&u>=(i??Number.NEGATIVE_INFINITY),f=typeof c=="number"&&c<=(o??Number.POSITIVE_INFINITY),p=t.target==="draft-04"||t.target==="openapi-3.0";d?p?(a.minimum=u,a.exclusiveMinimum=!0):a.exclusiveMinimum=u:typeof i=="number"&&(a.minimum=i),f?p?(a.maximum=c,a.exclusiveMaximum=!0):a.exclusiveMaximum=c:typeof o=="number"&&(a.maximum=o),typeof l=="number"&&(a.multipleOf=l)},_F=(e,t,n,r)=>{n.type="boolean"},lKe=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},cKe=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},CF=(e,t,n,r)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},uKe=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},dKe=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},$F=(e,t,n,r)=>{n.not={}},fKe=(e,t,n,r)=>{},PF=(e,t,n,r)=>{},pKe=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},IF=(e,t,n,r)=>{const a=e._zod.def,i=iF(a.entries);i.every(o=>typeof o=="number")&&(n.type="number"),i.every(o=>
vendor: 4,308 bytes, line 447
447typeof o=="string")&&(n.type="string"),n.enum=i},NF=(e,t,n,r)=>{const a=e._zod.def,i=[];for(const o of a.values)if(o===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof o=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(o))}else i.push(o);if(i.length!==0)if(i.length===1){const o=i[0];n.type=o===null?"null":typeof o,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[o]:n.const=o}else i.every(o=>typeof o=="number")&&(n.type="number"),i.every(o=>typeof o=="string")&&(n.type="string"),i.every(o=>typeof o=="boolean")&&(n.type="boolean"),i.every(o=>o===null)&&(n.type="null"),n.enum=i},hKe=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},mKe=(e,t,n,r)=>{const a=n,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");a.type="string",a.pattern=i.source},gKe=(e,t,n,r)=>{const a=n,i={type:"string",format:"binary",contentEncoding:"binary"},{minimum:o,maximum:s,mime:l}=e._zod.bag;o!==void 0&&(i.minLength=o),s!==void 0&&(i.maxLength=s),l?l.length===1?(i.contentMediaType=l[0],Object.assign(a,i)):(Object.assign(a,i),a.anyOf=l.map(c=>({contentMediaType:c}))):Object.assign(a,i)},bKe=(e,t,n,r)=>{n.type="boolean"},RF=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},yKe=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},MF=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},vKe=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},OKe=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},LF=(e,t,n,r)=>{const a=n,i=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o=="number"&&(a.minItems=o),typeof s=="number"&&(a.maxItems=s),a.type="array",a.items=Kn(i.element,t,{...r,path:[...r.path,"items"]})},DF=(e,t,n,r)=>{const a=n,i=e._zod.def;a.type="object",a.properties={};const o=i.shape;for(const c in o)a.properties[c]=Kn(o[c],t,{...r,path:[...r.path,"properties",c]});const s=new Set(Object.keys(o)),l=new Set([...s].filter(c=>{const u=i.shape[c]._zod;return t.io==="input"?u.optin===void 0:u.optout===void 0}));l.size>0&&(a.required=Array.from(l)),i.catchall?._zod.def.type==="never"?a.additionalProperties=!1:i.catchall?i.catchall&&(a.additionalProperties=Kn(i.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):t.io==="output"&&(a.additionalProperties=!1)},BF=(e,t,n,r)=>{const a=e._zod.def,i=a.inclusive===!1,o=a.options.map((s,l)=>Kn(s,t,{...r,path:[...r.path,i?"oneOf":"anyOf",l]}));i?n.oneOf=o:n.anyOf=o},UF=(e,t,n,r)=>{const a=e._zod.def,i=Kn(a.left,t,{...r,path:[...r.path,"allOf",0]}),o=Kn(a.right,t,{...r,path:[...r.path,"allOf",1]}),s=c=>"allOf"in c&&Object.keys(c).length===1,l=[...s(i)?i.allOf:[i],...s(o)?o.allOf:[o]];n.allOf=l},SKe=(e,t,n,r)=>{const a=n,i=e._zod.def;a.type="array";const o=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",l=i.items.map((f,p)=>Kn(f,t,{...r,path:[...r.path,o,p]})),c=i.rest?Kn(i.rest,t,{...r,path:[...r.path,s,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;t.target==="draft-2020-12"?(a.prefixItems=l,c&&(a.items=c)):t.target==="openapi-3.0"?(a.items={anyOf:l},c&&a.items.anyOf.push(c),a.minItems=l.length,c||(a.maxItems=l.length)):(a.items=l,c&&(a.additionalItems=c));const{minimum:u,maximum:d}=e._zod.bag;typeof u=="number"&&(a.minItems=u),typeof d=="number"&&(a.maxItems=d)},jF=(e,t,n,r)=>{const a=n,i=e._zod.def;a.type="object";const o=i.keyType,l=o._zod.bag?.patterns;if(i.mode==="loose"&&l&&l.size>0){const u=Kn(i.valueType,t,{...r,path:[...r.path,"patternProperties","*"]});a.patternProperties={};for(const d of l)a.patternProperties[d.source]=u}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(a.propertyNames=Kn(i.keyType,t,{...r,path:[...r.path,"propertyNames"]})),a.additionalProperties=Kn(i.valueType,t,{...r,path:[...r.path,"additionalProperties"]});const c=o._zod.values;if(c){const u=[...c].filter(d=>
447typeof d=="string"||typeof d=="number");u.length>0&&(a.required=u)}},QF=(e,t,n,r)=>{const a=e._zod.def,i=Kn(a.innerType,t,r),o=t.seen.get(e);t.target==="openapi-3.0"?(o.ref=a.innerType,n.nullable=!0):n.anyOf=[i,{type:"null"}]},FF=(e,t,n,r)=>{const a=e._zod.def;Kn(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType},zF=(e,t,n,r)=>{const a=e._zod.def;Kn(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType,n.default=JSON.parse(JSON.stringify(a.defaultValue))},VF=(e,t,n,r)=>{const a=e._zod.def;Kn(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(a.defaultValue)))},HF=(e,t,n,r)=>{const a=e._zod.def;Kn(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType;let o;try{o=a.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=o},qF=(e,t,n,r)=>{const a=e._zod.def,i=a.in._zod.traits.has("$ZodTransform"),o=t.io==="input"?i?a.out:a.in:a.out;Kn(o,t,r);const s=t.seen.get(e);s.ref=o},ZF=(e,t,n,r)=>{const a=e._zod.def;Kn(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType,n.readOnly=!0},wKe=(e,t,n,r)=>{const a=e._zod.def;Kn(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType},W6=(e,t,n,r)=>{const a=e._zod.def;Kn(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType},XF=(e,t,n,r)=>{const a=e._zod.innerType;Kn(a,t,r);const i=t.seen.get(e);i.ref=a},iC={string:TF,number:EF,boolean:_F,bigint:lKe,symbol:cKe,null:CF,undefined:uKe,void:dKe,never:$F,any:fKe,unknown:PF,date:pKe,enum:IF,literal:NF,nan:hKe,template_literal:mKe,file:gKe,success:bKe,custom:RF,function:yKe,transform:MF,map:vKe,set:OKe,array:LF,object:DF,union:BF,intersection:UF,tuple:SKe,record:jF,nullable:QF,nonoptional:FF,default:zF,prefault:VF,catch:HF,pipe:qF,readonly:ZF,promise:wKe,optional:W6,lazy:XF};function w2t(e,t){if("_idmap"in e){const r=e,a=H2({...t,processors:iC}),i={};
447for(const l of r._idmap.entries()){const[c,u]=l;Kn(u,a)}const o={},s={registry:r,uri:t?.uri,defs:i};a.external=s;for(const l of r._idmap.entries()){const[c,u]=l;q2(a,u),o[c]=Z2(a,u)}if(Object.keys(i).length>0){const l=a.target==="draft-2020-12"?"$defs":"definitions";o.__shared={[l]:i}}return{schemas:o}}const n=H2({...t,processors:iC});return Kn(e,n),q2(n,e),Z2(n,e)}const xKe=we("ZodISODateTime",(e,t)=>{TYe.init(e,t),wr.init(e,t)});function kKe(e){return RGe(xKe,e)}const AKe=we("ZodISODate",(e,t)=>{EYe.init(e,t),wr.init(e,t)});function TKe(e){return MGe(AKe,e)}const EKe=we("ZodISOTime",(e,t)=>{_Ye.init(e,t),wr.init(e,t)});function _Ke(e){return LGe(EKe,e)}const CKe=we("ZodISODuration",(e,t)=>{CYe.init(e,t),wr.init(e,t)});function $Ke(e){return DGe(CKe,e)}const PKe=(e,t)=>{cF.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>bWe(e,n)},flatten:{value:n=>gWe(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,Zw,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,Zw,2)}},isEmpty:{get(){return e.issues.length===0}}})},Ro=we("ZodError",PKe,{Parent:Error}),IKe=q6(Ro),NKe=Z6(Ro),RKe=pv(Ro),MKe=hv(Ro),LKe=OWe(Ro),DKe=SWe(Ro),BKe=wWe(Ro),UKe=xWe(Ro),jKe=kWe(Ro),QKe=AWe(Ro),FKe=TWe(Ro),zKe=EWe(Ro),oC=new WeakMap;function D0(e,t,n){const r=Object.getPrototypeOf(e);let a=oC.get(r);if(a||(a=new Set,oC.set(r,a)),!a.has(t)){a.add(t);for(const i in n){const o=n[i];Object.defineProperty(r,i,{configurable:!0,enumerable:!1,get(){const s=o.bind(this);return Object.defineProperty(this,i,{configurable:!0,writable:!0,enumerable:!0,value:s}),s},set(s){Object.defineProperty(this,i,{configurable:!0,writable:!0,enumerable:!0,value:s})}})}}}const nr=we("ZodType",(e,t)=>(tr.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:X2(e,"input"),output:X2(e,"output")}}),e.toJSONSchema=oKe(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(n,r)=>IKe(e,n,r,{callee:e.parse}),e.safeParse=(n,r)=>RKe(e,n,r),e.parseAsync=async(n,r)=>NKe(e,n,r,{callee:e.parseAsync}),e.safeParseAsync=async(n,r)=>MKe(e,n,r),e.spa=e.safeParseAsync,e.encode=(n,r)=>LKe(e,n,r),e.decode=(n,r)=>DKe(e,n,r),e.encodeAsync=async(n,r)=>BKe(e,n,r),e.decodeAsync=async(n,r)=>UKe(e,n,r),e.safeEncode=(n,r)=>jKe(e,n,r),e.safeDecode=(n,r)=>QKe(e,n,r),e.safeEncodeAsync=async(n,r)=>FKe(e,n,r),e.safeDecodeAsync=async(n,r)=>zKe(e,n,r),D0(e,"ZodType",{check(...n){const r=this.def;return this.clone(ou(r,{checks:[...r.checks??[],...n.map(a=>typeof a=="function"?{_zod:{check:a,def:{check:"custom"},onattach:[]}}:a)]}),{parent:!0})},with(...n){return this.check(...n)},clone(n,r){return su(this,n,r)},brand(){return this},register(n,r){return n.add(this,r),this},refine(n,r){return this.check(LJe(n,r))},superRefine(n,r){return this.check(DJe(n,r))},overwrite(n){return this.check(Qp(n))},optional(){return dC(this)},exactOptional(){return xJe(this)},nullable(){return fC(this)},nullish(){return dC(fC(this))},nonoptional(n){return CJe(this,n)},array(){return gv(this)},or(n){return Y6([this,n])},and(n){return yJe(this,n)},transform(n){return pC(this,SJe(n))},default(n){return TJe(this,n)},prefault(n){return _Je(this,n)},catch(n){return PJe(this,n)},pipe(n){return pC(this,n)},readonly(){return RJe(this)},describe(n){const r=this.clone();return Lh.add(r,{description:n}),r},meta(...n){if(n.length===0)return Lh.get(this);const r=this.clone();return Lh.add(r,n[0]),r},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(n){return n(this)}}),Object.defineProperty(e,"description",{get(){return Lh.get(e)?.description},configurable:!0}),e)),WF=we("_ZodString",(e,t)=>{X6.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(r,a,i)=>TF(e,r,a);const n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,D0(e,"_ZodString",{regex(...r){return this.check(VGe(...r))},includes(...r){return this.check(ZGe(...r))},startsWith(...r){return this.check(XGe(...r))},endsWith(...r){return this.check(WGe(...r))},min(...r){return this.check(V2(...r))},max(...r){return this.check(kF(...r))},length(...r){return this.check(AF(...r))},nonempty(...r){return this.check(V2(1,...r))},lowercase(r){return this.check(HGe(r))},uppercase(r){return this.check(qGe(r))},trim(){return this.check(GGe())},normalize(...r){return this.check(YGe(...r))},toLowerCase(){return this.check(KGe())},toUpperCase(){return this.check(JGe())},slugify(){return this.check(eKe())}})}),VKe=we("ZodString",(e,t)=>{X6.init(e,t),WF.init(e,t),e.email=n=>e.check(pGe(HKe,n)),e.url=n=>e.check(yGe(qKe,n)),e.jwt=n=>e.check(NGe(sJe,n)),e.emoji=n=>e.check(vGe(ZKe,n)),e.guid=n=>e.check(tC(sC,n)),e.uuid=n=>e.check(hGe(j1,n)),e.uuidv4=n=>e.check(mGe(j1,n)),e.uuidv6=n=>e.check(gGe(j1,n)),e.uuidv7=n=>e.check(bGe(j1,n)),e.nanoid=n=>e.check(OGe(XKe,n)),e.guid=n=>e.check(tC(sC,n)),e.cuid=n=>e.check(SGe(WKe,n)),e.cuid2=n=>e.check(wGe(YKe,n)),e.ulid=n=>e.check(xGe(GKe,n)),e.base64=n=>e.check($Ge(aJe,n)),e.base64url=n=>e.check(PGe(iJe,n)),e.xid=n=>e.check(kGe(KKe,n)),e.ksuid=n=>e.check(AGe(JKe,n)),e.ipv4=n=>e.check(TGe(eJe,n)),e.ipv6=n=>e.check(EGe(tJe,n)),e.cidrv4=n=>e.check(_Ge(nJe,n)),e.cidrv6=n=>e.check(CGe(rJe,n)),e.e164=n=>e.check(IGe(oJe,n)),e.datetime=n=>e.check(kKe(n)),e.date=n=>e.check(TKe(n)),e.time=n=>e.check(_Ke(n)),e.duration=n=>
447e.check($Ke(n))});function cn(e){return fGe(VKe,e)}const wr=we("ZodStringFormat",(e,t)=>{pr.init(e,t),WF.init(e,t)}),HKe=we("ZodEmail",(e,t)=>{bYe.init(e,t),wr.init(e,t)}),sC=we("ZodGUID",(e,t)=>{mYe.init(e,t),wr.init(e,t)}),j1=we("ZodUUID",(e,t)=>{gYe.init(e,t),wr.init(e,t)}),qKe=we("ZodURL",(e,t)=>{yYe.init(e,t),wr.init(e,t)}),ZKe=we("ZodEmoji",(e,t)=>{vYe.init(e,t),wr.init(e,t)}),XKe=we("ZodNanoID",(e,t)=>{OYe.init(e,t),wr.init(e,t)}),WKe=we("ZodCUID",(e,t)=>{SYe.init(e,t),wr.init(e,t)}),YKe=we("ZodCUID2",(e,t)=>{wYe.init(e,t),wr.init(e,t)}),GKe=we("ZodULID",(e,t)=>{xYe.init(e,t),wr.init(e,t)}),KKe=we("ZodXID",(e,t)=>{kYe.init(e,t),wr.init(e,t)}),JKe=we("ZodKSUID",(e,t)=>{AYe.init(e,t),wr.init(e,t)}),eJe=we("ZodIPv4",(e,t)=>{$Ye.init(e,t),wr.init(e,t)}),tJe=we("ZodIPv6",(e,t)=>{PYe.init(e,t),wr.init(e,t)}),nJe=we("ZodCIDRv4",(e,t)=>{IYe.init(e,t),wr.init(e,t)}),rJe=we("ZodCIDRv6",(e,t)=>{NYe.init(e,t),wr.init(e,t)}),aJe=we("ZodBase64",(e,t)=>{RYe.init(e,t),wr.init(e,t)}),iJe=we("ZodBase64URL",(e,t)=>{LYe.init(e,t),wr.init(e,t)}),oJe=we("ZodE164",(e,t)=>{DYe.init(e,t),wr.init(e,t)}),sJe=we("ZodJWT",(e,t)=>{UYe.init(e,t),wr.init(e,t)}),YF=we("ZodNumber",(e,t)=>{vF.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(r,a,i)=>EF(e,r,a),D0(e,"ZodNumber",{gt(r,a){return this.check(rC(r,a))},gte(r,a){return this.check(c4(r,a))},min(r,a){return this.check(c4(r,a))},lt(r,a){return this.check(nC(r,a))},lte(r,a){return this.check(l4(r,a))},max(r,a){return this.check(l4(r,a))},int(r){return this.check(lC(r))},safe(r){return this.check(lC(r))},positive(r){return this.check(rC(0,r))},nonnegative(r){return this.check(c4(0,r))},negative(r){return this.check(nC(0,r))},nonpositive(r){return this.check(l4(0,r))},multipleOf(r,a){return this.check(aC(r,a))},step(r,a){return this.check(aC(r,a))},finite(){return this}});const n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function lJe(e){return BGe(YF,e)}const cJe=we("ZodNumberFormat",(e,t)=>{jYe.init(e,t),YF.init(e,t)});function lC(e){return UGe(cJe,e)}const uJe=we("ZodBoolean",(e,t)=>{QYe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>_F(e,n,r)});function GF(e){return jGe(uJe,e)}const dJe=we("ZodNull",(e,t)=>{FYe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>CF(e,n,r)});function x2t(e){return QGe(dJe,e)}const fJe=we("ZodUnknown",(e,t)=>{zYe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>PF()});function cC(){return FGe(fJe)}const pJe=we("ZodNever",(e,t)=>{VYe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>$F(e,n,r)});function KF(e){return zGe(pJe,e)}const hJe=we("ZodArray",(e,t)=>{HYe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>LF(e,n,r,a),e.element=t.element,D0(e,"ZodArray",{min(n,r){return this.check(V2(n,r))},nonempty(n){return this.check(V2(1,n))},max(n,r){return this.check(kF(n,r))},length(n,r){return this.check(AF(n,r))},unwrap(){return this.element}})});function gv(e,t){return tKe(hJe,e,t)}const JF=we("ZodObject",(e,t)=>{ZYe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>DF(e,n,r,a),gn(e,"shape",()=>t.shape),D0(e,"ZodObject",{keyof(){return B0(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:cC()})},loose(){return this.clone({...this._zod.def,catchall:cC()})},strict(){return this.clone({...this._zod.def,catchall:KF()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return uWe(this,n)},safeExtend(n){return dWe(this,n)},merge(n){return fWe(this,n)},pick(n){return lWe(this,n)},omit(n){return cWe(this,n)},partial(...n){return pWe(tz,this,n[0])},required(...n){return hWe(nz,this,n[0])}})});function Fp(e,t){const n={type:"object",shape:e??{},...ht(t)};return new JF(n)}function k2t(e,t){return new JF({type:"object",shape:e,catchall:KF(),...ht(t)})}const ez=we("ZodUnion",(e,t)=>{wF.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>BF(e,n,r,a),e.options=t.options});function Y6(e,t){return new ez({type:"union",options:e,...ht(t)})}const mJe=we("ZodDiscriminatedUnion",(e,t)=>{ez.init(e,t),XYe.init(e,t)});function gJe(e,t,n){return new mJe({type:"union",options:t,discriminator:e,...ht(n)})}const bJe=we("ZodIntersection",(e,t)=>{WYe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>UF(e,n,r,a)});function yJe(e,t){return new bJe({type:"intersection",left:e,right:t})}const uC=we("ZodRecord",(e,t)=>{YYe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>jF(e,n,r,a),e.keyType=t.keyType,e.valueType=t.valueType});function Ng(e,t,n){return!t||!t._zod?new uC({type:"record",keyType:cn(),valueType:e,...ht(t)}):new uC({type:"record",keyType:e,valueType:t,...ht(n)})}const Ww=we("ZodEnum",(e,t)=>
447{GYe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(r,a,i)=>IF(e,r,a),e.enum=t.entries,e.options=Object.values(t.entries);const n=new Set(Object.keys(t.entries));e.extract=(r,a)=>{const i={};for(const o of r)if(n.has(o))i[o]=t.entries[o];else throw new Error(`Key ${o} not found in enum`);return new Ww({...t,checks:[],...ht(a),entries:i})},e.exclude=(r,a)=>{const i={...t.entries};for(const o of r)if(n.has(o))delete i[o];else throw new Error(`Key ${o} not found in enum`);return new Ww({...t,checks:[],...ht(a),entries:i})}});function B0(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new Ww({type:"enum",entries:n,...ht(t)})}const vJe=we("ZodLiteral",(e,t)=>{KYe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>NF(e,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function yl(e,t){return new vJe({type:"literal",values:Array.isArray(e)?e:[e],...ht(t)})}const OJe=we("ZodTransform",(e,t)=>{JYe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>MF(e,n),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new aF(e.constructor.name);n.addIssue=i=>{if(typeof i=="string")n.issues.push(Rm(i,n.value,t));else{const o=i;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=n.value),o.inst??(o.inst=e),n.issues.push(Rm(o))}};const a=t.transform(n.value,n);return a instanceof Promise?a.then(i=>(n.value=i,n.fallback=!0,n)):(n.value=a,n.fallback=!0,n)}});function SJe(e){return new OJe({type:"transform",transform:e})}const tz=we("ZodOptional",(e,t)=>{xF.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>W6(e,n,r,a),e.unwrap=()=>e._zod.def.innerType});function dC(e){return new tz({type:"optional",innerType:e})}const wJe=we("ZodExactOptional",(e,t)=>{eGe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>W6(e,n,r,a),e.unwrap=()=>e._zod.def.innerType});function xJe(e){return new wJe({type:"optional",innerType:e})}const kJe=we("ZodNullable",(e,t)=>{tGe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>QF(e,n,r,a),e.unwrap=()=>e._zod.def.innerType});function fC(e){return new kJe({type:"nullable",innerType:e})}const AJe=we("ZodDefault",(e,t)=>{nGe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>zF(e,n,r,a),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function TJe(e,t){return new AJe({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():sF(t)}})}const EJe=we("ZodPrefault",(e,t)=>{rGe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>VF(e,n,r,a),e.unwrap=()=>e._zod.def.innerType});function _Je(e,t){return new EJe({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():sF(t)}})}const nz=we("ZodNonOptional",(e,t)=>{aGe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>FF(e,n,r,a),e.unwrap=()=>e._zod.def.innerType});function CJe(e,t){return new nz({type:"nonoptional",innerType:e,...ht(t)})}const $Je=we("ZodCatch",(e,t)=>{iGe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>HF(e,n,r,a),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function PJe(e,t){return new $Je({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const IJe=we("ZodPipe",(e,t)=>{oGe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>qF(e,n,r,a),e.in=t.in,e.out=t.out});function pC(e,t){return new IJe({type:"pipe",in:e,out:t})}const NJe=we("ZodReadonly",(e,t)=>{sGe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>ZF(e,n,r,a),e.unwrap=()=>e._zod.def.innerType});function RJe(e){return new NJe({type:"readonly",innerType:e})}const MJe=we("ZodLazy",(e,t)=>{lGe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>XF(e,n,r,a),e.unwrap=()=>e._zod.def.getter()});function A2t(e){return new MJe({type:"lazy",getter:e})}const G6=we("ZodCustom",(e,t)=>{cGe.init(e,t),nr.init(e,t),e._zod.processJSONSchema=(n,r,a)=>RF(e,n)});function T2t(e,t){return nKe(G6,e??(()=>!0),t)}function LJe(e,t={}){return rKe(G6,e,t)}function DJe(e,t){return aKe(e,t)}function E2t(e,t={}){const n=new G6({type:"custom",check:"custom",fn:r=>r instanceof e,abort:!0,...ht(t)});return n._zod.bag.Class=e,n._zod.check=r=>{r.value instanceof e||r.issues.push({code:"invalid_type",expected:e.name,input:r.value,inst:n,path:[...n._zod.def.path??[]]})},n}const BJe=cn().min(7).default(()=>Yx()),bv=Fp({description:cn().optional(),"x-scalar-ignore":GF().optional()}),yv=Fp({uid:BJe.brand(),nameKey:cn().optional().default("")}),UJe=["query","header","cookie"],rz=bv.extend({type:yl("apiKey"),name:cn().optional().default(""),in:B0(UJe).optional().default("header").catch("header")}),jJe=Fp({value:cn().default("")}
vendor: 1,147 bytes, line 447
447),QJe=rz.merge(yv).merge(jJe),az=bv.extend({type:yl("http"),scheme:cn().toLowerCase().pipe(B0(["basic","bearer"])).optional().default("basic"),bearerFormat:Y6([yl("JWT"),cn()]).optional().default("JWT")}),FJe=Fp({username:cn().default(""),password:cn().default(""),token:cn().default("")}),zJe=az.merge(yv).merge(FJe),iz=bv.extend({type:yl("openIdConnect"),openIdConnectUrl:cn().optional().default("")}),VJe=iz.merge(yv),hC=cn().default(""),u4=cn().default(""),Q1=Fp({refreshUrl:cn().optional().default(""),scopes:Ng(cn(),cn().optional().default("")).optional().default({}).catch({}),selectedScopes:gv(cn()).optional().default([]),"x-scalar-client-id":cn().optional().default(""),token:cn().default(""),"x-scalar-security-query":Ng(cn(),cn()).optional(),"x-scalar-security-body":Ng(cn(),cn()).optional(),"x-tokenName":cn().optional(),"x-order":lJe().optional(),"x-scalar-ignore":GF().optional()}),d4=typeof window<"u"?window.location.origin+window.location.pathname:"",oz=["SHA-256","plain","no"],f4=B0(["header","body"]).optional(),sz=bv.extend({type:yl("oauth2"),"x-default-scopes":gv(cn()).optional(),flows:Fp({implicit:Q1.extend({type:yl("impl
447icit").default("implicit"),authorizationUrl:hC,"x-scalar-redirect-uri":cn().optional().default(d4)}),password:Q1.extend({type:yl("password").default("password"),tokenUrl:u4,clientSecret:cn().default(""),username:cn().default(""),password:cn().default(""),"x-scalar-credentials-location":f4}),clientCredentials:Q1.extend({type:yl("clientCredentials").default("clientCredentials"),tokenUrl:u4,clientSecret:cn().default(""),"x-scalar-credentials-location":f4}),authorizationCode:Q1.extend({type:yl("authorizationCode").default("authorizationCode"),authorizationUrl:hC,"x-usePkce":B0(oz).optional().default("no"),"x-scalar-redirect-uri":cn().optional().default(d4),tokenUrl:u4,clientSecret:cn().default(""),"x-scalar-credentials-location":f4})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":"",refreshUrl:"",token:"",type:"implicit",authorizationUrl:"http://localhost:8080","x-scalar-redirect-uri":d4}})}),HJe=sz.merge(yv);Ng(cn(),gv(cn()).optional().default([]));Y6([rz,az,sz,iz]);gJe("type",[QJe,zJe,VJe,HJe]).transform(e=>(e.type==="oauth2"&&e["x-default-scopes"]?.length&&Object.keys(e.flows).forEach(n=>{e.flows[n]?.selectedScopes&&e["x-default-scopes"]&&(e.flows[n].selectedScopes=[e["x-default-scopes"]].flat())}),e));var qJe={class:"flex h-8 items-center justify-end gap-2 border-t"},ZJe={class:"flex h-8 w-full items-center justify-end border-t"},XJe=Q({__name:"OAuth2",props:{environment:{},flows:{},type:{},selectedScopes:{},scheme:{},server:{},proxyUrl:{},name:{},eventBus:{},options:{default:()=>({})},hideActions:{type:Boolean}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){const n=t,r=Pp(),{toast:a}=ru(),i=I(()=>e.flows[e.type]),o=I(()=>{const E=i.value.scopes;return E?e.selectedScopes.filter(C=>Object.hasOwn(E,C)):[]}),s=I(()=>"x-scalar-secret-client-secret"in i.value),l=I(()=>i.value["x-scalar-secret-client-secret"]??""),c=E=>{if(e.scheme.type==="openIdConnect")return u(E);e.scheme.type==="oauth2"&&e.eventBus.emit("auth:update:security-scheme",{payload:{type:e.scheme.type,flows:{[e.type]:E}},name:e.name})},u=E=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:e.scheme.type,[e.type]:E},name:e.name}),d=()=>{r.isLoading||e.eventBus.emit("auth:clear:security-scheme-secrets",{name:e.name})},f=()=>{r.isLoading||u({"x-scalar-secret-token":"","x-scalar-secret-refresh-token":""})},p=K(null),h=K(!1),b=E=>JSON.stringify({type:e.type,authorizationUrl:E&&"authorizationUrl"in E?E.authorizationUrl:"",tokenUrl:E&&"tokenUrl"in E?E.tokenUrl:"",refreshUrl:E?.refreshUrl??"",scopes:Object.keys(E?.scopes??{})});qe(()=>i.value,E=>{if(!E||!("x-scalar-secret-redirect-uri"in E))return;const C=b(E);if(p.value!==C&&(p.value=C,h.value=!1),h.value)return;const $=E["x-scalar-secret-redirect-uri"],R=qw(e.options);h.value=!0,!($||!R||e.options.captureOAuth2Callback)&&u({"x-scalar-secret-redirect-uri":R})},{immediate:!0});const y=async()=>{if(r.isLoading)return;r.start();const[E,C]=await KQ(e.flows,e.type,o.value,e.server,e.proxyUrl,xm(e.environment),e.options.customFetch,e.options.captureOAuth2Callback);await r.clear(),C?.accessToken?u({"x-scalar-secret-token":C.accessToken,...C.refreshToken?{"x-scalar-secret-refresh-token":C.refreshToken}:{}}):(console.error(E),a(E?.message??"Failed to authorize","error"))},O=I(()=>e.type!=="implicit"),A=I(()=>"tokenUrl"in i.value&&i.value.tokenUrl?i.value.tokenUrl:"https://galaxy.scalar.com/oauth/refresh"),x=async()=>{if(r.isLoading||e.type==="implicit")return;r.start();const[E,C]=await JQ(e.flows,e.type,e.proxyUrl,e.server,xm(e.environment),e.options.customFetch);await r.clear(),C?.accessToken?u({"x-scalar-secret-token":C.accessToken,...C.refreshToken?{"x-scalar-secret-refresh-token":C.refreshToken}:{}}):(console.error(E),a(E?.message??"Failed to refresh token","error"))},T=E=>{const C=E==="body"?"body":"header";e.scheme.type!=="openIdConnect"&&c({"x-scalar-credentials-location":C}),u({"x-scalar-credentials-location":C})};return(E,C)=>i.value["x-scalar-secret-token"]?(g(),S(le,{key:0},[N(m(En),null,{default:P(()=>[N(gr,{class:"border-r-transparent",environment:e.environment,modelValue:i.value["x-scalar-secret-token"],placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":C[0]||(C[0]=$=>u({"x-scalar-secret-token":$}))},{default:P(()=>[...C[14]||(C[14]=[J(" Access Token ",-1)])]),_:1},8,["environment","modelValue"])]),_:1}),O.value?(g(),L(m(En),{key:0},{default:P(()=>[N(gr,{class:"border-r-transparent",environment:e.environment,modelValue:i.value.refreshUrl??"",placeholder:A.value,"onUpdate:modelValue":C[1]||(C[1]=$=>c({refreshUrl:$}))},{default:P(()=>
447[...C[15]||(C[15]=[J(" Refresh URL ",-1)])]),_:1},8,["environment","modelValue","placeholder"])]),_:1})):B("",!0),e.hideActions?B("",!0):(g(),L(m(En),{key:1,class:"min-w-full"},{default:P(()=>[w("div",qJe,[O.value?(g(),L(m(Ln),{key:0,class:"p-0 px-2 py-0.5",loader:m(r),size:"sm",variant:"outlined",onClick:x},{default:P(()=>[...C[16]||(C[16]=[J(" Refresh ",-1)])]),_:1},8,["loader"])):B("",!0),N(m(Ln),{class:"mr-1 p-0 px-2 py-0.5",disabled:m(r).isLoading,size:"sm",variant:"outlined",onClick:f},{default:P(()=>[...C[17]||(C[17]=[J(" Clear ",-1)])]),_:1},8,["disabled"])])]),_:1}))],64)):(g(),S(le,{key:1},[N(m(En),null,{default:P(()=>["authorizationUrl"in i.value?(g(),L(gr,{key:0,containerClass:"border-r-0",environment:e.environment,modelValue:i.value["x-scalar-secret-auth-url"]??"",placeholder:"https://galaxy.scalar.com/authorize","onUpdate:modelValue":C[2]||(C[2]=$=>{u({"x-scalar-secret-auth-url":$}),c({authorizationUrl:$})})},{default:P(()=>[...C[18]||(C[18]=[J(" Auth URL ",-1)])]),_:1},8,["environment","modelValue"])):B("",!0),"tokenUrl"in i.value?(g(),L(gr,{key:1,environment:e.environment,modelValue:i.value["x-scalar-secret-token-url"]??"",placeholder:"https://galaxy.scalar.com/token","onUpdate:modelValue":C[3]||(C[3]=$=>{u({"x-scalar-secret-token-url":$}),c({tokenUrl:$})})},{default:P(()=>[...C[19]||(C[19]=[J(" Token URL ",-1)])]),_:1},8,["environment","modelValue"])):B("",!0)]),_:1}),"x-scalar-secret-redirect-uri"in i.value?(g(),L(m(En),{key:0},{default:P(()=>[N(gr,{environment:e.environment,modelValue:i.value["x-scalar-secret-redirect-uri"],placeholder:e.options.captureOAuth2Callback?`${m(qw)(e.options)||"http://127.0.0.1"} (handled automatically)`:"Optional redirect URL","onUpdate:modelValue":C[4]||(C[4]=$=>{h.value=!0,u({"x-scalar-secret-redirect-uri":$})})},{default:P(()=>[...C[20]||(C[20]=[J(" Redirect URL ",-1)])]),_:1},8,["environment","modelValue","placeholder"])]),_:1})):B("",!0),"x-scalar-secret-username"in i.value&&"x-scalar-secret-password"in i.value?(g(),S(le,{key:1},[N(m(En),null,{default:P(()=>[N(gr,{class:"text-c-2",environment:e.environment,modelValue:i.value["x-scalar-secret-username"],placeholder:"janedoe","onUpdate:modelValue":C[5]||(C[5]=$=>u({"x-scalar-secret-username":$}))},{default:P(()=>[...C[21]||(C[21]=[J(" Username ",-1)])]),_:1},8,["environment","modelValue"])]),_:1}),N(m(En),null,{default:P(()=>[N(gr,{environment:e.environment,modelValue:i.value["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":C[6]||(C[6]=$=>u({"x-scalar-secret-password":$}))},{default:P(()=>[...C[22]||(C[22]=[J(" Password ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})],64)):B("",!0),N(m(En),null,{default:P(()=>[N(gr,{environment:e.environment,modelValue:i.value["x-scalar-secret-client-id"],placeholder:"12345","onUpdate:modelValue":C[7]||(C[7]=$=>u({"x-scalar-secret-client-id":$}))},{default:P(()=>[...C[23]||(C[23]=[J(" Client ID ",-1)])]),_:1},8,["environment","modelValue"])]),_:1}),s.value?(g(),L(m(En),{key:2},{default:P(()=>[N(gr,{environment:e.environment,modelValue:l.value,placeholder:"XYZ123",type:"password","onUpdate:modelValue":C[8]||(C[8]=$=>u({"x-scalar-secret-client-secret":$}))},{default:P(()=>[...C[24]||(C[24]=[J(" Client Secret ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})):B("",!0),"x-usePkce"in i.value?(g(),L(m(En),{key:3},{default:P(()=>[N(gr,{enum:m(oz),environment:e.environment,modelValue:i.value["x-usePkce"],readOnly:"","onUpdate:modelValue":C[9]||(C[9]=$=>c({"x-usePkce":$}))},{default:P(()=>[...C[25]||(C[25]=[J(" Use PKCE ",-1)])]),_:1},8,["enum","environment","modelValue"])]),_:1})):B("",!0),e.type!=="implicit"?(g(),L(m(En),{key:4},{default:P(()=>[N(gr,{enum:["header","body"],environment:e.environment,modelValue:i.value["x-scalar-credentials-location"]||"header",placeholder:"header",readOnly:"","onUpdate:modelValue":C[10]||(C[10]=$=>T($))},{default:P(()=>[...C[26]||(C[26]=[J(" Credentials Location ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})):B("",!0),N(m(En),null,{default:P(()=>[N(tWe,{flow:i.value,flowType:e.type,selectedScopes:o.value,"onUpdate:selectedScopes":C[11]||(C[11]=$=>n("update:selectedScopes",$)),"onUpsert:scope":C[12]||(C[12]=$=>n("upsert:scope",$)),"onDelete:scope":C[13]||(C[13]=$=>n("delete:scope",$))},null,8,["flow","flowType","selectedScopes"])]),_:1}),e.hideActions?B("",!0):(g(),L(m(En),{key:5,class:"min-w-full"},{default:P(()=>[w("div",ZJe,[e.scheme.type==="openIdConnect"?(g(),L(m(Ln),{key:0,class:"mr-1 p-0 px-2 py-0.5",disabled:m(r).isLoading,size:"sm",variant:"outlined",onClick:d},{default:P(()=>[...C[27]||(C[27]=[J(" Clear ",-1)])]),_:1},8,["disabled"])):B("",!0),N(m(Ln),{class:"mr-0.75 p-0 px-2 py-0.5",loader:m(r),size:"sm",variant:"outlined",onClick:y},{default:P(()=>[...C[28]||(C[28]=[J(" Authorize ",-1)])]),_:1},8,["loader"])])]),_:1}))],64))}}),mC=XJe,WJe=v.Object({authorization_endpoint:v.Optional(v.String()),token_endpoint:v.Optional(v.String()),scopes_supported:v.Optional(v.Array(v.String())),grant_types_supported:v.Optional(v.Array(v.String())),code_challenge_methods_supported:v.Optional(v.Array(v.String()))}),YJe=async(e,t,n=fetch)=>{try{let r=e.trim();if(!r)return[new Error("URL cannot be empty"),null];r.endsWith("/")&&(r=r.slice(0,-1)),r.includes("/.well-known/openid-configuration")||(r=`${r}/.well-known/openid-configuration`);const a=await n(yy(t,r));if(!a.ok)return[new Error(`Failed to fetch OpenID Connect discovery document: ${a.status} ${a.statusText}`),null];const i=ts(WJe,await a.json());return!i.authorization_endpoint&&!i.token_endpoint?[new Error("Invalid OpenID Connect discovery document: missing required endpoints"),null]:[null,i]}catch(r){return r instanceof Error?[r,null]:[new Error("Failed to fetch OpenID Connect discovery document"),null]}},GJe=e=>{const t=Object.fromEntries((e.scopes_supported??[]).map(s=>[s,""])),n=new Set(e.grant_types_supported??["authorization_code","implicit"]),r=e.authorization_endpoint,a=e.token_endpoint,i=e.code_challenge_methods_supported?.includes("S256")?"SHA-256":e.code_challenge_methods_supported?.includes("plain")?"plain":"no",o={};return n.has("implicit")&&r&&(o.implicit={authorizationUrl:r,refreshUrl:r,scopes:t}),n.has("password")&&a&&(o.password={tokenUrl:a,refreshUrl:a,scopes:t}),n.has("client_credentials")&&a&&(o.clientCredentials={tokenUrl:a,refreshUrl:a,scopes:t}),n.has("authorization_code")&&r&&a&&(o.authorizationCode={authorizationUrl:r,tokenUrl:a,refreshUrl:a,"x-usePkce":i,scopes:t}),ts(GD,o)},KJe={class:"flex h-8 w-full items-center justify-end border-t"},JJe=Q({__name:"OpenIDConnect",props:{environment:{},eventBus:{}
447,getStaticBorderClass:{type:Function},name:{},proxyUrl:{},scheme:{},customFetch:{}},setup(e){const t=Pp(),{toast:n}=ru(),r=async()=>{if(t.isLoading||!e.scheme.openIdConnectUrl)return;t.start();const[i,o]=await YJe(e.scheme.openIdConnectUrl,e.proxyUrl,e.customFetch);if(await t.clear(),i){console.error(i),n(i?.message??"Failed to fetch OpenID Connect configuration","error");return}const s=GJe(o);e.eventBus.emit("auth:update:security-scheme-secrets",{payload:s,name:e.name,overwrite:!0})},a=i=>e.eventBus.emit("auth:update:security-scheme",{payload:{type:"openIdConnect",openIdConnectUrl:i},name:e.name});return(i,o)=>(g(),S(le,null,[N(m(En),null,{default:P(()=>[N(gr,{containerClass:e.getStaticBorderClass(),environment:e.environment,modelValue:e.scheme.openIdConnectUrl,placeholder:"https://example.com/.well-known/openid-configuration",required:"","onUpdate:modelValue":a},{default:P(()=>[...o[0]||(o[0]=[J(" Discovery URL ",-1)])]),_:1},8,["containerClass","environment","modelValue"])]),_:1}),N(m(En),{class:"min-w-full"},{default:P(()=>[w("div",KJe,[N(m(Ln),{class:"mr-0.75 p-0 px-2 py-0.5",disabled:!e.sc
447heme.openIdConnectUrl,loader:m(t),size:"sm",variant:"outlined",onClick:r},{default:P(()=>[...o[1]||(o[1]=[J(" Fetch Configuration ",-1)])]),_:1},8,["disabled","loader"])])]),_:1})],64))}}),eet=JJe,tet={class:"bg-b-1 min-w-0 flex-1 px-3 py-1.25"},net={class:"text-c-1 leading-5.5 font-medium"},ret={class:"flex h-8 items-center gap-2 border-t px-3"},aet={class:"flex min-h-8 border-t text-base"},iet={class:"flex h-8 max-w-full gap-2.5 overflow-x-auto px-3"},oet=["onClick"],set={class:"relative z-10"},cet={key:9,class:"text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance"},uet={key:10,class:"text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance"},det={class:"flex h-8 items-center justify-end gap-2 border-t"},fet=Q({__name:"RequestAuthTab",props:{environment:{},isStatic:{type:Boolean},proxyUrl:{},selectedSecuritySchemas:{},securitySchemes:{},server:{},eventBus:{},options:{},documentType:{default:"openapi"}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){const n=I(()=>hN(e.documentType)),r=t,a=I(()=>Object.entries(e.selectedSecuritySchemas).map(([D,oe=[]])=>{const fe=ke(e.securitySchemes[D]);return{scheme:fe,name:D,scopes:oe,visibleFlowKeys:fe?.type==="oauth2"||fe?.type==="openIdConnect"?B_(fe.flows):[]}})),i=K(""),o=I(()=>a.value.flatMap(D=>D.visibleFlowKeys).some(D=>D===i.value)?i.value:""),s=D=>{i.value=D},l=I(()=>a.value.length>1),c=(D,oe)=>{const fe=B9(D);switch(oe.type){case"apiKey":return`${fe}: ${oe.in}`;case"openIdConnect":case"oauth2":{const z=B_(oe.flows)[0],mt=o.value||z;return mt?`${fe}: ${mt}`:fe}case"http":return`${fe}: ${oe.scheme}`;default:return fe}},u=D=>D.in!=="user"&&D.in!=="password",d=D=>dN(D?.type),f=D=>fN(D?.type),p=D=>D?.type==="X509",h=D=>D?.type==="gssapi",b=D=>D?.type,y=(D,oe)=>o.value===D||oe===0&&!o.value,O=()=>e.isStatic&&"border-t",A=(D,oe)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:"http",...D},name:oe}),x=(D,oe)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:"apiKey",...D},name:oe}),T=(D,oe)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:D,name:oe}),E=(D,oe)=>e.eventBus.emit("auth:update:security-scheme",{payload:{type:"apiKey",...D},name:oe}),C=(D,oe)=>{r("update:selectedScopes",{id:Object.keys(e.selectedSecuritySchemas),name:D,...oe})},$=(D,oe)=>{r("upsert:scope",{...oe,name:D})},R=(D,oe)=>{r("delete:scope",{...oe,name:D})},j=(D,oe)=>{const fe="floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium";return y(D,oe)?`${fe} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?"opacity-100":""}`:fe},U=I(()=>EZe(e.securitySchemes)),Y=I(()=>U.value?ke(e.securitySchemes[U.value.name]):void 0),W=Pp(),{toast:pe}=ru(),ee=Ry(),ae=K(),de=async D=>{const oe=U.value;if(!oe||W.isLoading)return;W.start();const[fe]=await UZe({eventBus:e.eventBus,bearerSchemeName:D,oauth2Name:oe.name,flows:oe.flows,flowType:oe.flowType,scopes:oe.scopes,server:e.server,proxyUrl:e.proxyUrl,environment:e.environment,options:e.options});await W.clear(),fe&&pe(fe?.message??"Failed to authorize","error")},ue=async D=>{const oe=U.value;if(!oe||oe.flowType!=="authorizationCode"||W.isLoading)return;W.start();const[fe,z]=await JQ(oe.flows,oe.flowType,e.proxyUrl,e.server,xm(e.environment),e.options?.customFetch);await W.clear(),z?.accessToken?eF(e.eventBus,{bearerSchemeName:D,oauth2Name:oe.name,flowType:oe.flowType,tokens:z}):fe&&pe(fe?.message??"Failed to refresh","error")},Ee=D=>{ae.value=D,ee.show()},Te=()=>{const D=ae.value;ee.hide(),D&&de(D)};return(D,oe)=>(g(),S(le,null,[(g(!0),S(le,null,it(a.value,({scheme:fe,name:z,scopes:mt,visibleFlowKeys:te})=>(g(),S(le,{key:z},[l.value&&fe?(g(),L(m(En),{key:0},{default:P(()=>[N(m(tp),{"aria-label":c(z,fe),class:"max-h-[auto]"},{default:P(()=>
vendor: 4,445 bytes, line 447
447[w("div",tet,[w("p",net,V(c(z,fe)),1),fe.description?(g(),L(m($w),{key:0,class:"auth-description text-c-2 w-full",value:fe.description},null,8,["value"])):B("",!0)])]),_:2},1032,["aria-label"])]),_:2},1024)):B("",!0),fe?.description&&!l.value?(g(),L(m(En),{key:1},{default:P(()=>[N(m(tp),{"aria-label":fe.description,class:"max-h-[auto]"},{default:P(()=>[N(m($w),{class:"auth-description bg-b-1 text-c-2 min-w-0 flex-1 px-3 py-1.25",value:fe.description},null,8,["value"])]),_:2},1032,["aria-label"])]),_:2},1024)):B("",!0),fe?.type==="http"?(g(),S(le,{key:2},[fe.scheme==="bearer"?(g(),L(m(En),{key:0},{default:P(()=>[N(gr,{containerClass:O(),environment:e.environment,modelValue:fe["x-scalar-secret-token"],placeholder:"Token",type:"password","onUpdate:modelValue":Oe=>A({"x-scalar-secret-token":Oe},z)},{default:P(()=>[...oe[4]||(oe[4]=[J(" Bearer Token ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):B("",!0),fe.scheme==="bearer"&&U.value?(g(),L(m(En),{key:1},{default:P(()=>[w("div",ret,[oe[6]||(oe[6]=w("span",{class:"text-c-3 mr-auto text-xs"},"Get a token",-1)),N(m(Ln),{class:"p-0 px-2 py-0.5",loader:m(W),size:"sm",type:"button",variant:"outlined",onClick:Oe=>de(z)},{default:P(()=>[J(" Authorize via "+V(U.value.name),1)]),_:2},1032,["loader","onClick"]),fe["x-scalar-secret-token"]&&U.value.flowType==="authorizationCode"?(g(),L(m(Ln),{key:0,class:"p-0 px-2 py-0.5",disabled:m(W).isLoading,size:"sm",type:"button",variant:"outlined",onClick:Oe=>ue(z)},{default:P(()=>[...oe[5]||(oe[5]=[J(" Refresh ",-1)])]),_:1},8,["disabled","onClick"])):B("",!0),N(m(eo),{icon:m(jhe),label:`Configure ${U.value.name}`,size:"xs",onClick:Oe=>Ee(z)},null,8,["icon","label","onClick"])])]),_:2},1024)):fe?.scheme==="basic"?(g(),S(le,{key:2},[N(m(En),null,{default:P(()=>[N(gr,{class:"text-c-2",environment:e.environment,modelValue:fe["x-scalar-secret-username"],placeholder:"janedoe",required:"","onUpdate:modelValue":Oe=>A({"x-scalar-secret-username":Oe},z)},{default:P(()=>[...oe[7]||(oe[7]=[J(" Username ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024),N(m(En),null,{default:P(()=>[N(gr,{environment:e.environment,modelValue:fe["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":Oe=>A({"x-scalar-secret-password":Oe},z)},{default:P(()=>[...oe[8]||(oe[8]=[J(" Password ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):B("",!0)],64)):fe?.type==="apiKey"?(g(),S(le,{key:3},[u(fe)?(g(),L(m(En),{key:0},{default:P(()=>[N(gr,{containerClass:O(),environment:e.environment,modelValue:fe.name,placeholder:"api-key","onUpdate:modelValue":Oe=>E({name:Oe},z)},{default:P(()=>[...oe[9]||(oe[9]=[J(" Name ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):B("",!0),N(m(En),null,{default:P(()=>[N(gr,{containerClass:u(fe)?void 0:O(),environment:e.environment,modelValue:fe["x-scalar-secret-token"],placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":Oe=>x({"x-scalar-secret-token":Oe},z)},{default:P(()=>[...oe[10]||(oe[10]=[J(" Value ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):fe?.type==="oauth2"||fe?.type==="openIdConnect"?(g(),S(le,{key:4},[fe?.type==="openIdConnect"&&!te.length?(g(),L(eet,{key:0,customFetch:e.options?.customFetch,environment:e.environment,eventBus:e.eventBus,getStaticBorderClass:O,name:z,proxyUrl:e.proxyUrl,scheme:fe},null,8,["customFetch","environment","eventBus","name","proxyUrl","scheme"])):B("",!0),te.length>1?(g(),L(m(En),{key:1},{default:P(()=>[w("div",aet,[w("div",iet,[(g(!0),S(le,null,it(te,(Oe,Et)=>(g(),S("button",{key:Oe,class:Se(j(Oe,Et)),type:"button",onClick:Pt=>s(Oe)},[w("span",set,V(Oe),1)],10,oet))),128))])])]),_:2},1024)):B("",!0),(g(!0),S(le,null,it(te,(Oe,Et)=>(g(),S(le,{key:Oe},[fe.flows&&y(Oe,Et)?(g(),L(mC,{key:0,environment:e.environment,eventBus:e.eventBus,flows:fe.flows,name:z,options:e.options,proxyUrl:e.proxyUrl,scheme:fe,selectedScopes:mt,server:e.server,type:Oe,"onDelete:scope":Pt=>R(z,Pt),"onUpdate:selectedScopes":Pt=>C(z,Pt),"onUpsert:scope":Pt=>$(z,Pt)},null,8,["environment","eventBus","flows","name","options","proxyUrl","scheme","selectedScopes","server","type","onDelete:scope","onUpdate:selectedScopes","onUpsert:scope"])):B("",!0)],64))),128))],64)):d(fe)?(g(),S(le,{key:5}
447,[N(m(En),null,{default:P(()=>[N(gr,{class:"text-c-2",containerClass:O(),environment:e.environment,modelValue:fe["x-scalar-secret-username"],placeholder:"janedoe",required:"","onUpdate:modelValue":Oe=>T({type:fe.type,"x-scalar-secret-username":Oe},z)},{default:P(()=>[...oe[11]||(oe[11]=[J(" Username ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024),N(m(En),null,{default:P(()=>[N(gr,{environment:e.environment,modelValue:fe["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":Oe=>T({type:fe.type,"x-scalar-secret-password":Oe},z)},{default:P(()=>[...oe[12]||(oe[12]=[J(" Password ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):p(fe)?(g(),S(le,{key:6},[N(m(En),null,{default:P(()=>[N(gr,{containerClass:O(),environment:e.environment,modelValue:fe["x-scalar-secret-client-certificate"],placeholder:"-----BEGIN CERTIFICATE-----",type:"password","onUpdate:modelValue":Oe=>T({type:fe.type,"x-scalar-secret-client-certificate":Oe},z)},{default:P(()=>[...oe[13]||(oe[13]=[J(" Client Certificate ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024),N(m(En),null,{default:P(()=>[N(gr,{environment:e.environment,modelValue:fe["x-scalar-secret-private-key"],placeholder:"-----BEGIN PRIVATE KEY-----",type:"password","onUpdate:modelValue":Oe=>T({type:fe.type,"x-scalar-secret-private-key":Oe},z)},{default:P(()=>[...oe[14]||(oe[14]=[J(" Private Key ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):f(fe)?(g(),L(m(En),{key:7},{default:P(()=>[N(gr,{containerClass:O(),environment:e.environment,modelValue:fe["x-scalar-secret-token"],placeholder:"********",type:"password","onUpdate:modelValue":Oe=>T({type:fe.type,"x-scalar-secret-token":Oe},z)},{default:P(()=>[...oe[15]||(oe[15]=[J(" Key ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):h(fe)?(g(),L(m(En),{key:8},{default:P(()=>[N(gr,{containerClass:O(),environment:e.environment,modelValue:fe["x-scalar-secret-service-name"],placeholder:"kafka","onUpdate:modelValue":Oe=>T({type:fe.type,"x-scalar-secret-service-name":Oe},z)},{default:P(()=>[...oe[16]||(oe[16]=[J(" Service Name ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):b(fe)?(g(),S("div",cet,[oe[17]||(oe[17]=J(" The ",-1)),w("code",null,V(b(fe)),1),oe[18]||(oe[18]=J(" security scheme type is not supported yet. ",-1))])):(g(),S("div",uet," The security scheme is missing a type, please double check your "+V(n.value)+" document or Authentication Configuration ",1))],64))),128)),U.value&&Y.value?(g(),L(m(My),{key:0,state:m(ee),size:"sm",title:`Configure ${U.value.name}`},{default:P(()=>[N(m(YQ),{columns:[""],presentational:""},{default:P(()=>[N(mC,{hideActions:"",environment:e.environment,eventBus:e.eventBus,flows:U.value.flows,name:U.value.name,options:e.options,proxyUrl:e.proxyUrl,scheme:Y.value,selectedScopes:U.value.scopes,server:e.server,type:U.value.flowType,"onDelete:scope":oe[0]||(oe[0]=fe=>R(U.value.name,fe)),"onUpdate:selectedScopes":oe[1]||(oe[1]=fe=>C(U.value.name,fe)),"onUpsert:scope":oe[2]||(oe[2]=fe=>$(U.value.name,fe))},null,8,["environment","eventBus","flows","name","options","proxyUrl","scheme","selectedScopes","server","type"])]),_:1}),w("div",det,[N(m(Ln),{class:"p-0 px-2 py-0.5",size:"sm",variant:"outlined",onClick:oe[3]||(oe[3]=fe=>m(ee).hide())},{default:P(()=>[...oe[19]||(oe[19]=[J(" Cancel ",-1)])]),_:1}),N(m(Ln),{class:"p-0 px-2 py-0.5",loader:m(W),size:"sm",onClick:Te},{default:P(()=>[...oe[20]||(oe[20]=[J(" Authorize ",-1)])]),_:1},8,["loader"])])]),_:1},8,["state","title"])):B("",!0)],64))}}),pet=fet,het=["onClick"],met={class:"relative z-10 font-medium whitespace-nowrap"},get={key:0,class:"absolute inset-x-1 bottom-[var(--scalar-border-width)] left-1/2 z-1 h-px w-full -translate-x-1/2 bg-current"},bet=Q({__name:"RequestAuthDataTable",props:{environment:{},isStatic:{type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{},options:{},documentType:{}},setup(e,{expose:t}){const n=I(()=>e.selectedSchemeOptions[e.activeAuthIndex]),r=I(()=>e.selectedSchemeOptions.length>1),a=c=>e.eventBus.emit("auth:update:active-index",{index:c,meta:e.meta}),i=c=>e.eventBus.emit("auth:update:selected-scopes",{...c,meta:e.meta}),o=c=>e.eventBus.emit("auth:upsert:scopes",c),s=c=>e.eventBus.emit("auth:delete:scopes",c),l=c=>e.activeAuthIndex===c;return t({activeScheme:n}),(c,u)=>(g(),S("form",{onSubmit:u[0]||(u[0]=jt(()=>{},["prevent"]))},[r.value?(g(),S("div",{key:0,class:Se(["box-content flex flex-wrap gap-x-2.5 overflow-hidden border-x border-t px-3",{"border-x-0":!e.isStatic}]),"data-testid":"auth-tabs"},[(g(!0),S(le,null,it(e.selectedSchemeOptions,(d,f)=>(g(),S("div",{key:d.id,class:"relative z-1 -mb-[var(--scalar-border-width)] flex h-8"},[w("button",{class:Se(["floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors",l(f)?"text-c-1":"text-c-3"]),type:"button",onClick:p=>a(f)},[w("span",met,V(d.label),1)],10,het),l(f)?(g(),S("div",get)):B("",!0)]))),128))],2)):B("",!0),n.value?(g(),L(m(YQ),{key:1,class:Se(["flex-1",{"bg-b-1 rounded-b-lg border-x border-b":e.isStatic}]),columns:[""],presentational:""},{default:P(()=>[N(pet,{documentType:e.documentType,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSecuritySchemas:n.value.value,server:e.server,"onDelete:scope":s,"onUpdate:selectedScopes":i,"onUpsert:scope":o},null,8,["documentType","environment","eventBus","isStatic","options","proxyUrl","securitySchemes","selectedSecuritySchemas","server"])]),_:1},8,["class"])):(g(),S("div",{key:2,class:Se(["bg-b-1 text-c-3 flex min-h-16 items-center justify-center border-t px-4 text-sm",{"min-h-[calc(4rem+0.5px)] rounded-b-lg border":e.isStatic}])}," No authentication selected ",2))],32))}}),yet=bet,vet=["id"],Oet={class:"min-w-0 flex-1 truncate"},wet=Q({__name:"AuthSelector",props:{environment:{},eventBus:{},createAnySecurityScheme:{type:Boolean,default:!1},canDeleteSchemes:{type:Boolean,default:!0},defaultOpen:{type:Boolean,default:!0},isStatic:{type:Boolean,default:!1},meta:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},selectedSecurity:{},server:{},title:{},options:{},documentType:{}},setup(e,{expose:t}){const n=vn(),r=K(null),a=K(!1),i=Ry(),o=K(null),s=I(()=>
447{if(!e.securityRequirements?.length)return null;const h=bN(e.securityRequirements);return{icon:h?"Unlock":"Lock",text:h?"Optional":"Required"}}),l=I(()=>_Ze(e.securityRequirements??[],e.securitySchemes??{},e.selectedSecurity?.selectedSchemes??[],e.createAnySecurityScheme)),c=I(()=>{const h=e.selectedSecurity?.selectedSchemes;return h?.length?h.flatMap(b=>{const y=Object.keys(b);if(y.length===0)return[];if(y.length>1)return WQ(b);const O=y[0];return O?ke(e.securitySchemes?.[O])?cv({name:O,value:b}):[]:[]}):[]}),u=h=>{a.value&&h.stopPropagation(),r.value?.$el.click()},d=h=>{const b=h.filter(O=>O.payload===void 0).map(O=>Qt(O.value,{depth:2})),y=h.filter(O=>O.payload!==void 0).map(O=>({name:O.label,scheme:O.payload}));e.eventBus.emit("auth:update:selected-security-schemes",{selectedRequirements:b,newSchemes:y,meta:e.meta})},f=h=>{o.value={label:h.label,payload:h.value},i.show()},p=()=>{o.value&&(e.eventBus.emit("auth:delete:security-scheme",{names:Object.keys(o.value.payload)}),o.value=null,i.hide())};return t({authIndicator:s,selectedSchemeOptions:c,schemeOptions:l}),(h,b)=>(g(),L(m(SZe),{class:"group/params relative",defaultOpen:e.defaultOpen,isStatic:e.isStatic,itemCount:c.value.length,"onUpdate:modelValue":b[1]||(b[1]=y=>a.value=y)},{title:P(()=>[w("div",{id:m(n),class:"inline-flex items-center gap-0.5 leading-[20px]"},[w("span",null,V(e.title),1),s.value?(g(),S("span",{key:0,class:Se(["text-c-3 hover:bg-b-3 hover:text-c-1 -my-0.5 -mr-1 cursor-pointer rounded px-1 py-0.5 leading-[normal] font-normal",{"text-c-1":s.value.text==="Required"}]),"data-testid":"auth-indicator",onClick:u},V(s.value.text),3)):B("",!0)],8,vet)]),actions:P(()=>[N(m(gQ),{class:"w-72 text-xs",modelValue:c.value,multiple:"",options:l.value,placement:"bottom-end",teleport:"",onDelete:f,"onUpdate:modelValue":d},{option:P(({option:y,selected:O})=>[N(m(Ly),{multiselect:"",selected:O},null,8,["selected"]),w("div",Oet,V(y.label),1),y.isDeletable&&e.canDeleteSchemes?(g(),L(m(eo),{key:0,class:"-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",icon:m(FN),label:`Delete ${y.label}`,size:"xs",onClick:jt(A=>f(y),["stop"])},null,8,["icon","label","onClick"])):B("",!0)]),default:P(()=>[N(m(Ln),{ref_key:"comboboxButtonRef",ref:r,"aria-describedby":m(n),class:"group/combobox-button hover:text-c-1 text-c-2 flex h-fit w-full items-center gap-1 px-0.75 py-0.25 text-base font-normal",variant:"ghost"},{default:P(()=>[c.value.length===1?(g(),S(le,{key:0},[b[2]||(b[2]=w("span",{class:"sr-only"},"Selected Auth Type:",-1)),J(" "+V(c.value[0]?.label),1)],64)):c.value.length>1?(g(),S(le,{key:1},[b[3]||(b[3]=J(" Multiple ",-1)),b[4]||(b[4]=w("span",{class:"sr-only"},"Auth Types Selected",-1))],64)):(g(),S(le,{key:2},[b[5]||(b[5]=w("span",{class:"sr-only"},"Select",-1)),b[6]||(b[6]=J(" Auth Type ",-1))],64)),N(m(xi),{class:"size-3 shrink-0 transition-transform duration-100 group-aria-expanded/combobox-button:rotate-180",weight:"bold"})]),_:1},8,["aria-describedby"])]),_:1},8,["modelValue","options"])]),default:P(()=>[N(yet,{activeAuthIndex:e.selectedSecurity?.selectedIndex??0,documentType:e.documentType,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,meta:e.meta,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSchemeOptions:c.value,server:e.server},null,8,["activeAuthIndex","documentType","environment","eventBus","isStatic","meta","options","proxyUrl","securitySchemes","selectedSchemeOptions","server"]),o.value?(g(),L(AZe,{key:0,label:o.value.label,scheme:o.value,state:m(i),onClose:b[0]||(b[0]=y=>m(i).hide()),onDelete:p},null,8,["label","scheme","state"])):B("",!0)]),_:1},8,["defaultOpen","isStatic","itemCount"]))}}),xet=wet,ket=Q({__name:"Auth",props:{options:{},authStore:{},document:{},eventBus:{},securitySchemes:{},selectedServer:{},environment:{}},setup(e){const{translate:t}=Ot(),n=I(()=>Eo(e.document)||So(e.document)?e.document["x-scalar-navigation"]?.name??"":""),r=I(()=>pN(e.document)),a=I(()=>So(e.document)?d6e(e.document):Yue(Eo(e.document)?e.document.security:void 0)),i=I(()=>e.authStore.getAuthSelectedSchemas({type:"document",documentName:n.value})),o=I(()=>yN(i.value,void 0,a.value,e.securitySchemes,e.options.authentication?.preferredSecurityScheme));return(s,l)=>Object.keys(e.securitySchemes).length?(g(),L(m(xet),{key:0,canDeleteSchemes:!1,createAnySecurityScheme:e.options.authentication?.createAnySecurityScheme??!1,documentType:r.value,environment:e.environment,eventBus:e.eventBus,isStatic:"",layout:"reference",meta:{type:"document"},options:{oauth2RedirectUri:e.options.oauth2RedirectUri},persistAuth:e.options.persistAuth,proxyUrl:e.options.proxyUrl??"",securityRequirements:a.value,securitySchemes:e.securitySchemes,selectedSecurity:o.value,server:e.selectedServer,title:m(t)("authentication.title")},null,8,["createAnySecurityScheme","documentType","environment","eventBus","options","persistAuth","proxyUrl","securityRequirements","securitySchemes","selectedSecurity","server","title"])):B("",!0)}}),Aet=ket,gC=e=>"ellipsis"in e,Tet=e=>{if(e.length<4)return e;const[t]=e,n=e.slice(-2),r=e.slice(1,-2);return[...t?[t]:[],{ellipsis:!0,hiddenTitles:r.map(a=>a.title)},...n]},Eet=(e,t)=>lz(e,t).length>=2,lz=(e,t)=>{const n=(r,a)=>{for(const i of r){const o=i.type==="tag"&&(i.isTagGroup!==!0||t==="classic")?[...a,{id:i.id,title:i.title}]:a;if(o.length>=2)return o;if("children"in i&&i.children!==void 0){const s=n(i.children,o);if(s.length>=2)return s}}return[]};return n(e,[])},_et=["aria-hidden","aria-label","data-stuck"],Cet=["title"],$et={key:2,"aria-current":"page",class:"text-c-1 shrink-0 font-medium whitespace-nowrap"},Pet=["onClick"],Iet=Q({__name:"ContextBar",props:{chain:{}},emits:["navigate"],setup(e,{emit:t}){const n=t,r=K(null),a=K(!1),i=K(!1),o=I(()=>e.chain.length>=2),s=I(()=>o.value?a.value?Tet(e.chain):e.chain:[]),l=O=>O===s.value.length-1,c=O=>n("navigate",O),u=()=>{const O=r.value;if(!O)return;
447const A=getComputedStyle(O),x=Number.parseFloat(A.columnGap)||0,T=O.clientWidth-Number.parseFloat(A.paddingLeft)-Number.parseFloat(A.paddingRight),E=Array.from(O.children),C=E.reduce(($,R)=>$+R.getBoundingClientRect().width,0)+x*Math.max(0,E.length-1);a.value=C>T+1};let d=null,f=null,p=null;const h=()=>{if(a.value=!1,f===null){if(typeof requestAnimationFrame>"u"){Nn(u);return}f=requestAnimationFrame(()=>{f=null,Nn(u)})}},b=()=>{const O=r.value;if(!O)return;const A=Number.parseFloat(getComputedStyle(O).top)||0;i.value=O.getBoundingClientRect().top<=A},y=()=>{if(p===null){if(typeof requestAnimationFrame>"u"){b();return}p=requestAnimationFrame(()=>{p=null,b()})}};return qe(r,O=>{d?.disconnect(),O&&typeof ResizeObserver<"u"&&(d=new ResizeObserver(()=>{h(),y()}),d.observe(O),h(),y())},{immediate:!0}),qe(()=>e.chain,h,{flush:"post"}),Mt(()=>{window.addEventListener("scroll",y,{capture:!0,passive:!0}),window.addEventListener("resize",y,{passive:!0}),y()}),to(()=>{d?.disconnect(),window.removeEventListener("scroll",y,!0),window.removeEventListener("resize",y),f!==null&&typeof cancelAnimationFrame<"u"&&cancelAnimationFrame(f),p!==null&&typeof cancelAnimationFrame<"u"&&cancelAnimationFrame(p)}),(O,A)=>(g(),S("nav",{ref_key:"navRef",ref:r,"aria-hidden":!o.value,"aria-label":o.value?"Breadcrumb":void 0,class:"context-bar bg-b-1.5 text-c-2 sticky top-(--refs-header-height) z-10 flex items-center gap-1.5 text-sm","data-stuck":i.value||void 0},[(g(!0),S(le,null,it(s.value,(x,T)=>(g(),S(le,{key:m(gC)(x)?`ellipsis-${T}`:x.id},[T>0?(g(),L(m(wd),{key:0,class:"text-c-3 size-2.5 shrink-0",weight:"bold"})):B("",!0),m(gC)(x)?(g(),S("span",{key:1,class:"text-c-3 shrink-0",title:x.hiddenTitles.join(" ⺠")}," ⦠",8,Cet)):l(T)?(g(),S("span",$et,V(x.title),1)):(g(),S("button",{key:3,class:"hover:text-c-1 shrink-0 cursor-pointer whitespace-nowrap transition-colors",type:"button",onClick:E=>c(x.id)},V(x.title),9,Pet))],64))),128))],8,_et))}}),Net=ct(Iet,[["__scopeId","data-v-5f62f72b"]]),p4=e=>Object.keys(e).sort().join(","),Ret=(e,t,n,r,a={})=>{const i=t?.security??e.security??[],o=yN(n,r,i),s=new Set(i.map(c=>p4(c))),l=o.selectedSchemes[o.selectedIndex];if(l&&s.has(p4(l)))return pO(a,l);for(const c of o.selectedSchemes)if(s.has(p4(c)))return pO(a,c);return t?.security?.length?pO(a,i[0]??{}):[]},Met={key:0},Let=Q({__name:"OperationPath",props:{path:{},deprecated:{type:Boolean}},setup(e){const t=e,n=a=>a.startsWith("{")&&a.endsWith("}"),r=I(()=>t.path.split(/({[^}]+})/));return(a,i)=>(g(),S("span",{class:Se(["operation-path",{deprecated:e.deprecated}])},[(g(!0),S(le,null,it(r.value,(o,s)=>(g(),S(le,{key:s},[n(o)?(g(),S("em",Met,V(o),1)):(g(),S(le,{key:1},[J(V(o),1)],64))],64))),128))],2))}}),cz=ct(Let,[["__scopeId","data-v-ec6c8861"]]),Det=Q({inheritAttrs:!1,__name:"ScalarVirtualCodeBlock",props:{content:{},lang:{default:"plaintext"},copy:{type:[String,Boolean],default:"hover"},lineHeight:{default:20}},setup(e){const{cx:t}=At();return(n,r)=>(g(),S("div",Rt(Ft(m(t)("scalar-code-block group/code-block flex flex-col","relative bg-b-1 min-h-0 min-w-0"))),[N(bQ,{containerClass:"custom-scroll overflow-auto flex flex-1 max-h-screen",contentClass:"language-plaintext whitespace-pre font-code text-base p-2",lineHeight:e.lineHeight,text:e.content},null,8,["lineHeight","text"]),e.copy?(g(),L(fQ,{key:0,class:Se(["scalar-code-copy absolute top-2.5 right-2.5",[{"opacity-100":e.copy==="always"}]]),content:e.content,showLang:!0,lang:e.lang},{backdrop:P(()=>[N(rv,{class:"scalar-code-copy-backdrop -right-1.5 -top-1"})]),_:1},8,["class","content","lang"])):B("",!0)],16))}}),uz=Det,Bet=2e4,Uet=Q({__name:"ExampleSchema",props:{id:{},schema:{}},setup(e){const t=I(()=>{if(e.schema)return av(e2(e.schema))}),n=I(()=>(t.value?.length??0)>Bet);return(r,a)=>n.value?(g(),L(m(uz),{key:1,id:e.id,class:"bg-b-2",content:t.value??"",lang:"json"},null,8,["id","content"])):(g(),L(m(iv),{key:0,id:e.id,class:"bg-b-2",lang:"json",prettyPrintedContent:t.value??""},null,8,["id","prettyPrintedContent"]))}}),jet=Uet,Qet={key:2,class:"empty-state"},Fet=2e4,zet=Q({__name:"ExampleResponse",props:{response:{},example:{}},setup(e){const{translate:t}=Ot(),n=()=>
447{if(e.example!==void 0)return e2(e.example)?.value??"";if(e.response?.schema)return Ga(e2(e.response.schema),{emptyString:"string",mode:"read"})},r=I(()=>{const i=n();if(i!==void 0)return av(i)}),a=I(()=>r.value===void 0?!1:r.value.length>Fet);return(i,o)=>r.value!==void 0&&!a.value?(g(),L(m(iv),{key:0,class:"bg-b-2",lang:"json",prettyPrintedContent:r.value},null,8,["prettyPrintedContent"])):r.value!==void 0&&a.value?(g(),L(m(uz),{key:1,class:"bg-b-2",content:r.value,lang:"json"},null,8,["content"])):(g(),S("div",Qet,V(m(t)("response.noBody")),1))}}),Vet=ct(zet,[["__scopeId","data-v-ce6cfefc"]]),Het=Q({__name:"ExampleResponseTab",setup(e){return(t,n)=>(g(),L(m(vD),{as:"template"},{default:P(({selected:r})=>[w("button",{class:Se(["tab",{"tab-selected":r}]),type:"button"},[w("span",null,[H(t.$slots,"default",{},void 0,!0)])],2)]),_:3}))}}),qet=ct(Het,[["__scopeId","data-v-804dba49"]]),Zet=Q({__name:"ExampleResponseTabList",emits:["change"],setup(e,{emit:t}){const n=t,r=a=>{n("change",a)};return(a,i)=>(g(),L(m(nv),{class:"scalar-card-header scalar-card-header-tabs"},{actions:P(()=>[H(a.$slots,"actions",{},void 0,!0)]),default:P(()=>[N(m(bD),{onChange:r},{default:P(()=>[N(m(yD),{class:"tab-list custom-scroll"},{default:P(()=>[H(a.$slots,"default",{},void 0,!0)]),_:3})]),_:3})]),_:3}))}}),Xet=ct(Zet,[["__scopeId","data-v-49a8c0af"]]);function Wet(e){if(typeof e=="string")return e.replace(/;.*$/,"").replace(/\/(?!.*vnd\.|fhir\+).*\+/,"/").trim()}function dz(e){if(!e)return e;const t={...e};return Object.entries(t).forEach(([n,r])=>{const a=Wet(n);a&&(t[a]=r)}),t}function Yet(e){if(!e)return!1;const t=!!e.schema,n="example"in e&&e.example!==null,r=!!e.examples;return t||n||r}function Get(e){return e==="default"||/^[1-5][0-9]{2}$/.test(e)||/^[1-5]XX$/.test(e)}function Ket(e,t){if(t!==void 0)return Get(t)?!!e:!1;const n=dz(e?.content),r=Od(n??{});return Yet(n?.["application/json"]??n?.["application/xml"]??n?.["text/plain"]??n?.["text/html"]??n?.["*/*"]??n?.[r[0]??""])}var Jet={key:1,class:"scalar-card-checkbox"},ett=["aria-controls"],ttt={class:"response-description"},ntt=Q({__name:"ExampleResponses",props:{responses:{},selectedExample:{},eventBus:{}},setup(e){const{translate:t}=Ot(),n=vn(),{copyToClipboard:r}=au(),a=I(()=>Object.keys(e.responses??{}).sort()),i=I(()=>a.value.filter(y=>Ket(ke(e.responses?.[y]),y))),o=K(0);qe(i,y=>{if(y.length===0)o.value=0;else if(o.value>=y.length)o.value=y.length-1;else return;u.value=d(e.selectedExample)});const s=I(()=>{const y=pt(i)[pt(o)]??"";return ke(e.responses?.[y])}),l=I(()=>{const y=dz(s.value?.content),O=Od(y??{});return y?.[O[0]??""]}),c=I(()=>!!l.value?.examples&&Object.keys(l.value?.examples??{}).length>1),u=K(""),d=y=>{const O=Object.keys(l.value?.examples??{});return y&&O.includes(y)?y:u.value&&O.includes(u.value)?u.value:O[0]??""};u.value=d(e.selectedExample),qe(()=>e.selectedExample,y=>{u.value=d(y)});const f=y=>{u.value=y,e.eventBus?.emit("workspace:update:selected-example",y)},p=I(()=>{if(l.value)return c.value&&u.value?l.value.examples?.[u.value]:T8(l.value,void 0,void 0)}),h=y=>{o.value=y,u.value=d(e.selectedExample)},b=K(!1);return(y,O)=>i.value.length?(g(),L(m($m),{key:0,"aria-label":m(t)("response.exampleResponses"),class:"response-card",role:"region"},{default:P(()=>[N(Xet,{onChange:h},{actions:P(()=>[l.value?.example?(g(),S("button",{key:0,class:"code-copy",type:"button",onClick:O[0]||(O[0]=()=>m(r)(l.value?.example))},[N(m(yr),{icon:"Clipboard",width:"12px"})])):B("",!0),l.value?.schema?(g(),S("label",Jet,[J(V(m(t)("response.showSchema"))+" ",1),ti(w("input",{"onUpdate:modelValue":O[1]||(O[1]=A=>b.value=A),"aria-controls":m(n),class:"scalar-card-checkbox-input",type:"checkbox"},null,8,ett),[[QX,b.value]]),O[2]||(O[2]=w("span",{class:"scalar-card-checkbox-checkmark"},null,-1))])):B("",!0)]),default:P(()=>[(g(!0),S(le,null,it(i.value,A=>(g(),L(qet,{key:A,"aria-controls":m(n)},{default:P(()=>[N(fs,null,{default:P(()=>[J(V(m(t)("response.status"))+":",1)]),_:1}),J(" "+V(A),1)]),_:2},1032,["aria-controls"]))),128))]),_:1}),N(m(nd),{class:"grid flex-1"},{default:P(()=>[l.value?.schema&&b.value?(g(),L(jet,{key:0,id:m(n),schema:l.value?.schema},null,8,["id","schema"])):(g(),L(Vet,{key:1,id:m(n),example:p.value,response:l.value},null,8,["id","example","response"]))]),_:1}),s.value?.description||c.value?(g(),L(m(uQ),{key:0,class:"response-card-footer"},{default:P(()=>
447[c.value?(g(),L(m(lQ),{key:0,class:"response-example-selector px-0",examples:l.value?.examples,modelValue:u.value,"onUpdate:modelValue":f},null,8,["examples","modelValue"])):B("",!0),w("div",ttt,[s.value?.description?(g(),L(m(Jr),{key:0,class:"response-description-markdown",value:s.value.description},null,8,["value"])):B("",!0)])]),_:1})):B("",!0)]),_:1},8,["aria-label"])):B("",!0)}}),fz=ct(ntt,[["__scopeId","data-v-5123cd9f"]]),rtt=e=>"schema"in e&&e.schema!==void 0,pz=e=>ke(e),att=(e,t,n,r,a)=>{const{example:i,examples:o,...s}=e;return{...s,name:t,description:n,required:r,schema:a}},hz=(e,t,n)=>{if(!t.properties)return[e];const r=new Set(t.required??[]),a=Object.entries(t.properties).flatMap(([i,o])=>{const s=pz(o);if(!s)return[];const l=`${n}[${i}]`,c=att(e,l,s.description??e.description,r.has(i),s);return b8(s)&&s.properties?hz(c,s,l):[c]});return a.length>0?a:[e]},itt=e=>{if(e.in!=="query"||!rtt(e)||e.style!=="deepObject")return[e];const t=pz(e.schema);return!t||!b8(t)?[e]:hz(e,t,e.name)},ott=["aria-label"],stt={class:"request-body-header"},ltt={class:"request-body-title"},ctt={key:0,class:"text-c-2 text-xs leading-none font-normal","data-testid":"request-body-schema-name"},utt={class:"flex items-center gap-2"},dtt={key:0,class:"request-body-required"},ftt={key:0,class:"request-body-description"},ptt={key:0,class:"request-body-schema"},htt={key:1,class:"request-body-schema"},h4=12,mtt=Q({__name:"RequestBody",props:xn({breadcrumb:{},requestBody:{},eventBus:{},document:{},options:{}},{selectedContentType:{default:"application/json"},selectedContentTypeModifiers:{}}),emits:["update:selectedContentType"],setup(e){const{translate:t}=Ot(),n=I(()=>Object.keys(e.requestBody?.content??{})),r=yn(e,"selectedContentType");e.requestBody?.content&&n.value[0]&&(r.value=n.value[0]);const a=I(()=>e.requestBody?.content?.[r.value]?.schema),i=I(()=>ke(a.value)),o=I(()=>(a.value&&F2(a.value))??null),s=I(()=>LQ(o.value?.schemaKey,{hideModels:e.options.hideModels,document:e.document})),l=I(()=>{if(!i.value||!Qi(i.value)||R6(i.value,e.document))return null;const u=RQ(i.value,i.value.discriminator,{hideReadOnly:!0,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst});if(u.length<=h4)return null;const{properties:d,...f}=i.value;return d?{visibleProperties:{...f,properties:T_(u.slice(0,h4),d)},collapsedProperties:{...f,properties:T_(u.slice(h4),d)}}:null}),c=I(()=>Object.keys(e.requestBody?.content??{}).length>0||e.requestBody?.description||e.requestBody?.required);return(u,d)=>e.requestBody&&c.value?(g(),S("div",{key:0,"aria-label":m(t)("operation.requestBody"),class:"request-body",role:"group"},[w("div",stt,[w("div",ltt,[H(u.$slots,"title",{},void 0,!0),o.value?(g(),S("span",ctt,[d[2]||(d[2]=w("span",{class:"text-c-3 mx-1.5"},"·",-1)),e.eventBus&&o.value.schemaKey&&s.value?(g(),L(Im,{key:0,onClick:d[0]||(d[0]=f=>e.eventBus.emit("scroll-to:model-by-name",{name:o.value.schemaKey}))},{default:P(()=>[J(V(o.value.label),1)]),_:1})):(g(),S(le,{key:1},[J(V(o.value.label),1)],64))])):B("",!0)]),w("div",utt,[e.requestBody.required?(g(),S("div",dtt,V(m(t)("common.required")),1)):B("",!0),N(FQ,{modelValue:r.value,"onUpdate:modelValue":d[1]||(d[1]=f=>r.value=f),content:e.requestBody.content},null,8,["modelValue","content"])]),e.requestBody.description?(g(),S("div",ftt,[N(m(Jr),{value:e.requestBody.description},null,8,["value"])])):B("",!0)]),l.value?(g(),S("div",ptt,[N(m(Xs),{breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,name:m(t)("operation.requestBody"),noncollapsible:"",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,hideModels:e.options.hideModels,document:e.document},schema:l.value.visibleProperties,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","name","options","schema"]),N(m(Xs),{additionalProperties:"",breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,hideDescription:"",name:m(t)("operation.requestBody"),options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,hideModels:e.options.hideModels,document:e.document},schema:l.value.collapsedProperties,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","name","options","schema"])])):i.value?(g(),S("div",htt,[N(m(Xs),{breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,hideReadOnly:!0,name:m(t)("operation.requestBody"),noncollapsible:"",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,hideModels:e.options.hideModels,document:e.document},schema:i.value,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","name","options","schema"])])):B("",!0)],8,ott)):B("",!0)}}),gtt=ct(mtt,[["__scopeId","data-v-75896209"]]),btt=Q({__name:"OperationParameters",props:xn({breadcrumb:{},parameters:{default:()=>[]},requestBody:{},eventBus:{},document:{},options:{}},{selectedContentType:{},selectedContentTypeModifiers:{}}),emits:["update:selectedContentType"],setup(e){const{translate:t}=Ot(),n=yn(e,"selectedContentType"),r=I(()=>(e.parameters??[]).reduce((a,i)=>{const o=ke(i);
447return Kr(o)||itt(o).forEach(s=>{a[s.in].push(s)}),a},{cookie:[],header:[],path:[],query:[]}));return(a,i)=>(g(),S(le,null,[N(cf,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"path"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.path},{title:P(()=>[J(V(m(t)("operation.pathParameters")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),N(cf,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"query"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.query},{title:P(()=>[J(V(m(t)("operation.queryParameters")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),N(cf,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.header},{title:P(()=>[J(V(m(t)("operation.headers")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),N(cf,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"cookies"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.cookie},{title:P(()=>[J(V(m(t)("operation.cookies")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),e.requestBody?(g(),L(gtt,{key:0,selectedContentType:n.value,"onUpdate:selectedContentType":i[0]||(i[0]=o=>n.value=o),breadcrumb:e.breadcrumb?[...e.breadcrumb,"body"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,requestBody:e.requestBody},{title:P(()=>[J(V(m(t)("operation.body")),1)]),_:1},8,["selectedContentType","breadcrumb","document","eventBus","options","requestBody"])):B("",!0)],64))}}),K6=btt,ytt={key:0,class:"mt-6"},vtt={class:"text-c-1 mt-3 mb-3 leading-[1.45] font-medium"},Ott=["aria-label"],Stt=Q({__name:"OperationResponses",props:{responses:{},breadcrumb:{},collapsableItems:{type:Boolean},eventBus:{},document:{},options:{}},setup(e){const{translate:t}=Ot();return(n,r)=>Object.keys(e.responses??{}).length?(g(),S("div",ytt,[w("div",vtt,V(m(t)("operation.responses")),1),w("ul",{"aria-label":m(t)("operation.responses"),class:"mb-3 list-none p-0 text-sm"},[(g(!0),S(le,null,it(e.responses,(a,i)=>(g(),L(zQ,{key:i,breadcrumb:e.breadcrumb?[...e.breadcrumb,"responses"]:void 0,collapsableItems:e.collapsableItems,document:e.document,eventBus:e.eventBus,name:i,options:e.options,parameter:m(ke)(a)},null,8,["breadcrumb","collapsableItems","document","eventBus","name","options","parameter"]))),128))],8,Ott)])):B("",!0)}}),J6=Stt,wtt={class:"group callback-list-item"},xtt={class:"font-code bg-b-1 callback-sticky-offset callback-list-item-title sticky flex cursor-pointer flex-row items-start gap-2 border-t py-2.5 text-sm group-open:flex-wrap"},ktt={class:"text-c-1 min-w-0 flex-1 truncate text-sm leading-5 font-bold group-open:whitespace-normal"},Att={class:"text-c-2 font-normal"},Ttt={class:"callback-operation-container flex flex-col gap-2"},Ett=Q({__name:"Callback",props:{callback:{},method:{},name:{},url:{},eventBus:{},document:{},options:{}},setup(e){return(t,n)=>(g(),S("details",wtt,[w("summary",xtt,[N(m(wd),{class:"callback-list-item-icon text-c-3 group-hover:text-c-1 absolute top-3.5 -left-5 size-3 transition-transform duration-100 group-open:rotate-90",weight:"bold"}),N(m(D6),{as:"span",class:"request-method py-0.75 font-bold",method:e.method},null,8,["method"]),w("div",ktt,[J(V(e.name)+" ",1),w("span",Att,V(e.url),1)])]),w("div",Ttt,[N(K6,{document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.callback.parameters?.map(r=>m(ke)(r))??[],requestBody:m(ke)(e.callback.requestBody)},null,8,["document","eventBus","options","parameters","requestBody"]),N(J6,{collapsableItems:!1,document:e.document,eventBus:e.eventBus,options:e.options,responses:e.callback.responses},null,8,["document","eventBus","options","responses"])])]))}}),_tt=ct(Ett,[["__scopeId","data-v-474e6fa6"]]),Ctt=["aria-label"],$tt={class:"callbacks-title text-c-1 my-3 text-lg font-medium"},Ptt=Q({__name:"Callbacks",props:{path:{},callbacks:{},eventBus:{},document:{},options:{}},setup(e){const{translate:t}=Ot(),n=I(()=>{const r=[];
vendor: 5,618 bytes, line 447
447return gi(e.callbacks).forEach(([a,i])=>{gi(ke(i)).forEach(([o,s])=>{typeof s!="object"||!s||gi(s).forEach(([l,c])=>{gx(l)&&r.push({name:a,url:o,method:l,callback:c})})})}),r});return(r,a)=>(g(),S("div",{"aria-label":m(t)("operation.callbacks"),class:"callbacks-list gap-3",role:"group"},[w("div",$tt,V(m(t)("operation.callbacks")),1),(g(!0),S(le,null,it(n.value,({callback:i,method:o,name:s,url:l})=>(g(),L(_tt,{key:`${s}-${l}-${o}`,callback:i,document:e.document,eventBus:e.eventBus,method:o,name:s,options:e.options,path:e.path,url:l},null,8,["callback","document","eventBus","method","name","options","path","url"]))),128))],8,Ctt))}}),mz=Ptt,Itt={key:0},Ntt={key:1},Rtt=Q({__name:"SecurityRequirementBadgeScheme",props:{is:{default:"li"},scheme:{}},setup(e){return(t,n)=>(g(),L(Yt(e.is),{class:"markdown"},{default:P(()=>[J(V(e.scheme.name)+" ",1),e.scheme.scheme?.type?(g(),S("code",Itt,V(e.scheme.scheme.type),1)):B("",!0),e.scheme.scopes.length?(g(),S("ul",Ntt,[(g(!0),S(le,null,it(e.scheme.scopes,r=>(g(),S("li",{key:r,class:"font-code text-c-2"},V(r),1))),128))])):B("",!0)]),_:1}))}}),F1=Rtt,Mtt=["aria-expanded"],Ltt={key:2},Dtt={class:"flex max-w-xs min-w-48 flex-col gap-1.5 p-2 text-sm"},Btt={class:"font-medium"},Utt={key:0,class:"contents"},jtt={key:1,class:"contents"},Qtt={key:1,class:"contents"},Ftt=Q({__name:"SecurityRequirementBadge",props:{requiredSecurity:{},hideLabel:{type:Boolean,default:!1}},setup(e){const{translate:t}=Ot(),n=K(null),r=K(null),a=K(!1),i=K(!1);let o;const s=()=>{i.value||(clearTimeout(o),o=setTimeout(()=>{a.value=!1},120))},l=()=>clearTimeout(o),c=()=>{l(),a.value=!0},u=()=>{l(),a.value=!1,i.value=!1},d=()=>{if(i.value){u();return}l(),a.value=!0,i.value=!0};By(n,u,{ignore:[r]}),zD("Escape",()=>{a.value&&u()}),to(()=>clearTimeout(o));const f=I(()=>e.requiredSecurity.state==="required"?t("authentication.required"):t("authentication.optional")),p=I(()=>e.requiredSecurity.state==="required"?t("authentication.requires"):t("authentication.accepts")),h=I(()=>e.requiredSecurity.requirements.length===1&&e.requiredSecurity.requirements[0]?.schemes.length===1),b=I(()=>e.requiredSecurity.requirements.length===1&&(e.requiredSecurity.requirements[0]?.schemes.length??0)>1),y=I(()=>e.requiredSecurity.requirements.length>1);return(O,A)=>e.requiredSecurity.state!=="none"?(g(),L(m(w0),{key:0,placement:"bottom-end"},{floating:P(()=>[a.value?(g(),S("div",{key:0,ref_key:"panelRef",ref:r,class:"relative flex flex-col p-0.75",onClick:A[0]||(A[0]=jt(()=>{},["stop"])),onMouseenter:l,onMouseleave:s},[w("div",Dtt,[w("div",Btt,[J(V(p.value)+" ",1),h.value?(g(),L(F1,{key:0,is:"span",class:"contents",scheme:e.requiredSecurity.requirements[0].schemes[0]},null,8,["scheme"])):y.value?(g(),S(le,{key:1},[J(V(m(t)("authentication.oneOf")),1)],64)):b.value?(g(),S(le,{key:2},[J(V(m(t)("authentication.allOf")),1)],64)):(g(),S(le,{key:3},[J(V(m(t)("authentication.authentication")),1)],64))]),y.value?(g(),S("ul",Utt,[(g(!0),S(le,null,it(e.requiredSecurity.requirements,(x,T)=>(g(),S("li",{key:T,class:"markdown"},[x.schemes.length===1?(g(),L(F1,{key:0,is:"span",class:"contents",scheme:x.schemes[0]},null,8,["scheme"])):(g(),S("ul",jtt,[(g(!0),S(le,null,it(x.schemes,(E,C)=>(g(),L(F1,{key:C,scheme:E},null,8,["scheme"]))),128))]))]))),128))])):b.value?(g(),S("ul",Qtt,[(g(!0),S(le,null,it(e.requiredSecurity.requirements[0].schemes,(x,T)=>(g(),L(F1,{key:T,scheme:x},null,8,["scheme"]))),128))])):B("",!0)]),N(m($p))],544)):B("",!0)]),default:P(()=>[w("button",{ref_key:"triggerRef",ref:n,class:Se(["security-requirement-badge inline-flex w-fit shrink-0 items-center justify-center gap-1 text-sm",e.requiredSecurity.state==="optional"?"text-c-2":"text-c-1 font-medium"]),type:"button","aria-expanded":a.value,"aria-haspopup":"dialog",onClick:jt(d,["stop"]),onMouseenter:c,onMouseleave:s},[e.requiredSecurity.state==="required"?(g(),L(m(jN),{key:0,class:"size-3",weight:"bold"})):(g(),L(m(Zme),{key:1,class:"size-3",weight:"bold"})),e.hideLabel?B("",!0):(g(),S("span",Ltt,V(f.value),1))],42,Mtt)]),_:1})):B("",!0)}}),gz=Ftt,Zu;(function(e){e.Deprecated="deprecated",e.Experimental="experimental",e.Stable="stable"})(Zu||(Zu={}));var bz=e=>e.deprecated||e["x-scalar-stability"]===Zu.Deprecated,Mm=e=>e.deprecated?Zu.Deprecated:e["x-scalar-stability"],yz=e=>{switch(Mm(e)){case Zu.Deprecated:return"text-red";case Zu.Experimental:return"text-orange";case Zu.Stable:return"text-green";default:return""}},ztt=["method"],Vtt=Q({__name:"TestRequestButton",props:{id:{},method:{},path:{},eventBus:{},exampleName:{},requestBodyCompositionSelection:{}},setup(e){const{translate:t}=Ot(),n=()=>{const r={id:e.id,...e.exampleName&&{exampleName:e.exampleName},...e.requestBodyCompositionSelection&&Object.keys(e.requestBodyCompositionSelection).length>0&&{requestBodyCompositionSelection:e.requestBodyCompositionSelection}};e.eventBus.emit("ui:open:client-modal",r)};return(r,a)=>(g(),S("button",{class:"show-api-client-button",method:e.method,type:"button",onClick:jt(n,["stop"])},[N(m(QN),{class:"size-3",weight:"fill"}),w("span",null,V(m(t)("operation.testRequest")),1),N(fs,null,{default:P(()=>[J("("+V(e.method)+" "+V(e.path)+")",1)]),_:1})],8,ztt))}}),vz=ct(Vtt,[["__scopeId","data-v-ad72d914"]]),Htt=Q({__name:"XBadges",props:{position:{},badges:{}},setup(e){const t=I(()=>Array.isArray(e.badges)?e.badges.filter(n=>n.position===e.position||e.position==="after"&&!n.position):[]);return(n,r)=>t.value.length?(g(!0),S(le,{key:0},it(t.value,a=>(g(),L(m(Zi),{key:a.name,color:a.color},{default:P(()=>[J(V(a.name),1)]),_:2},1032,["color"]))),128)):B("",!0)}}),W2=Htt,qtt={class:"operation-title"}
447,Ztt={class:"operation-details"},Xtt={class:"endpoint-label"},Wtt={class:"endpoint-label-path"},Ytt={class:"endpoint-label-name"},Gtt={key:1,class:"font-code text-sm"},Ktt={class:"endpoint-content"},Jtt={class:"operation-details-card"},ent={key:0,class:"operation-details-card-item"},tnt={key:1,class:"operation-details-card-item"},nnt={class:"operation-details-card-item"},rnt={class:"operation-details-card-item"},ant={key:2,class:"operation-details-card-item"},int=Q({__name:"ClassicLayout",props:{id:{},method:{},options:{},path:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{},requiredSecurity:{},document:{}},setup(e){const{translate:t}=Ot(),n=I(()=>e.operation.summary||e.path||""),r=I(()=>j2(e.operation)),a=I(()=>XQ(e.requiredSecurity).length>0),i=K(),o=K(""),s=K({}),l=I(()=>({...s.value})),c=I(()=>JSON.stringify(l.value));In(M6,s);const{copyToClipboard:u}=au();return(d,f)=>(g(),L(m(P6),{id:e.id,"aria-label":n.value,class:"reference-endpoint",modelValue:!e.isCollapsed,transparent:"","onUpdate:modelValue":f[4]||(f[4]=p=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:p}))},lr({title:P(()=>[w("div",qtt,[w("div",Ztt,[N(m(D6),{class:"endpoint-type",method:e.method,short:""},null,8,["method"]),N(m(Js),{class:"endpoint-anchor",onCopyAnchorUrl:f[0]||(f[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}))},{default:P(()=>[w("h3",Xtt,[w("div",Wtt,[N(cz,{deprecated:m(bz)(e.operation),path:e.path},null,8,["deprecated","path"])]),w("div",Ytt,V(n.value),1),m(Mm)(e.operation)?(g(),L(m(Zi),{key:0,class:Se(["capitalize",m(yz)(e.operation)])},{default:P(()=>[J(V(m(Mm)(e.operation)),1)]),_:1},8,["class"])):B("",!0),e.isWebhook?(g(),L(m(Zi),{key:1,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:P(()=>[N(m(b0),{weight:"bold"}),J(" "+V(m(t)("operation.webhook")),1)]),_:1})):B("",!0),N(m(W2),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])])]),_:1})])])]),actions:P(({active:p})=>[N(gz,{hideLabel:"",requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"]),N(m(W2),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"]),e.options.hideTestRequestButton?B("",!0):(g(),S(le,{key:0},[p&&!e.isWebhook?(g(),L(m(vz),{key:0,id:e.id,eventBus:e.eventBus,exampleName:o.value,method:e.method,path:e.path,requestBodyCompositionSelection:l.value},null,8,["id","eventBus","exampleName","method","path","requestBodyCompositionSelection"])):(g(),L(m(QN),{key:1,class:"endpoint-try-hint size-4.5"}))],64)),e.options.showOperationId&&e.operation.operationId?(g(),S("span",Gtt,V(e.operation.operationId),1)):B("",!0),N(m(eo),{class:"endpoint-copy p-0.5",icon:m(wx),label:m(t)("actions.copyEndpointUrl"),size:"xs",variant:"ghost",onClick:f[1]||(f[1]=jt(h=>m(u)(e.path),["stop"]))},null,8,["icon","label"])]),default:P(()=>[w("div",Ktt,[w("div",Jtt,[Object.keys(r.value).length>0?(g(),S("div",ent,[N(ep,{value:r.value},null,8,["value"])])):B("",!0),a.value?(g(),S("div",tnt,[N(j6,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"])])):B("",!0),w("div",nnt,[N(K6,{selectedContentType:i.value,"onUpdate:selectedContentType":f[2]||(f[2]=p=>i.value=p),document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,requestBody:m(ke)(e.operation.requestBody)},null,8,["selectedContentType","document","eventBus","options","parameters","requestBody"])]),w("div",rnt,[N(J6,{document:e.document,eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,["document","eventBus","options","responses"])]),e.operation?.callbacks?(g(),S("div",ant,[N(mz,{callbacks:e.operation.callbacks,document:e.document,eventBus:e.eventBus,options:e.options,path:e.path},null,8,["callbacks","document","eventBus","options","path"])])):B("",!0)]),e.operation.responses?(g(),L(m(fz),{key:0,class:"operation-example-card",eventBus:e.eventBus,responses:e.operation.responses,selectedExample:e.selectedExample},null,8,["eventBus","responses","selectedExample"])):B("",!0),w("div",null,[e.operation.externalDocs?(g(),L(m(C6),{key:0},{default:P(()=>[N(m($6),{value:e.operation.externalDocs},null,8,["value"])]),_:1})):B("",!0),N(m(Wo),null,{default:P(()=>[(g(),L(m(vQ),{key:c.value,class:"operation-example-card",clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:l.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:i.value,selectedExample:e.selectedExample,selectedServer:e.selectedServer,"onUpdate:exampleKey":f[3]||(f[3]=p=>o.value=p)},null,8,["clientOptions","eventBus","isWebhook","method","operation","path","requestBodyCompositionSelection","securitySchemes","selectedClient","selectedContentType","selectedExample","selectedServer"]))]),_:1})])])]),_:2},[e.operation.description?{name:"description",fn:P(()=>
447[N(m(Jr),{anchorPrefix:e.id,"aria-label":m(t)("common.description"),role:"group",transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","aria-label","value"])]),key:"0"}:void 0]),1032,["id","aria-label","modelValue"]))}}),ont=ct(int,[["__scopeId","data-v-ae829610"]]),snt={class:"ask-agent-scalar-input-label"},lnt=["placeholder"],cnt={class:"ask-agent-scalar-send",type:"submit"},unt=Q({__name:"AskAgentButton",setup(e){const t=qx(),{translate:n}=Ot(),r=K(""),a=K();function i(){t.value?.openAgent(r.value),r.value=""}return(o,s)=>m(t)?.agentEnabled.value?(g(),S("form",{key:0,class:"agent-button-container",onClick:s[1]||(s[1]=l=>a.value?.focus()),onSubmit:s[2]||(s[2]=jt(l=>i(),["prevent"]))},[N(m(kx),{class:"size-3 shrink-0",weight:"fill"}),w("div",snt,V(m(n)("agent.askAiAgent")),1),ti(w("input",{ref_key:"inputRef",ref:a,"onUpdate:modelValue":s[0]||(s[0]=l=>r.value=l),class:Se(["ask-agent-scalar-input",{"ask-agent-scalar-input-not-empty":r.value.length>0}]),placeholder:m(n)("agent.askAiAgent")},null,10,lnt),[[ld,r.value]]),w("button",cnt,[N(m(vfe),{class:"size-3",weight:"bold"})])],32)):B("",!0)}}),dnt=ct(unt,[["__scopeId","data-v-10a4fb90"]]),fnt={class:"flex flex-row justify-between gap-1"},pnt={class:"flex gap-1"},hnt={class:"flex gap-1"},mnt={class:"operation-layout"},gnt={class:"operation-auth"},bnt={class:"operation-description"},ynt={class:"operation-details"},vnt={class:"examples"},Ont={class:"flex"},Snt=Q({__name:"ModernLayout",props:{id:{},method:{},options:{},path:{},clientOptions:{},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{},requiredSecurity:{},document:{}},setup(e){const{translate:t}=Ot(),n=I(()=>e.operation.summary||e.path||""),r=vn(),a=I(()=>j2(e.operation)),i=K(),o=K({}),s=I(()=>({...o.value})),l=I(()=>JSON.stringify(s.value));return In(M6,o),(c,u)=>(g(),L(m(jp),{id:e.id,"aria-labelledby":m(r),label:n.value,tabindex:"-1",onIntersecting:u[2]||(u[2]=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id}))},{default:P(()=>[N(m(lv),null,{default:P(()=>[w("div",fnt,[w("div",pnt,[e.options?.showOperationId&&e.operation.operationId?(g(),L(m(Zi),{key:0},{default:P(()=>[J(V(e.operation.operationId),1)]),_:1})):B("",!0),m(Mm)(e.operation)?(g(),L(m(Zi),{key:1,class:Se(["capitalize",m(yz)(e.operation)])},{default:P(()=>[J(V(m(Mm)(e.operation)),1)]),_:1},8,["class"])):B("",!0),e.isWebhook?(g(),L(m(Zi),{key:2,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:P(()=>[N(m(b0),{weight:"bold"}),J(" "+V(m(t)("operation.webhook")),1)]),_:1})):B("",!0),N(m(W2),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])]),w("div",hnt,[N(m(W2),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"])])]),w("div",mnt,[w("div",{class:Se(["operation-title",m(bz)(e.operation)&&"deprecated"])},[N(m(Js),{onCopyAnchorUrl:u[0]||(u[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}))},{default:P(()=>[N(m(_o),{id:m(r),level:3},{default:P(()=>[J(V(n.value),1)]),_:1},8,["id"])]),_:1})],2),w("div",gnt,[N(gz,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"])]),w("div",bnt,[N(ep,{value:a.value},null,8,["value"]),N(m(Jr),{anchorPrefix:e.id,"aria-label":m(t)("c
447ommon.description"),role:"group",transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","aria-label","value"])]),w("div",ynt,[N(j6,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"]),N(K6,{selectedContentType:i.value,"onUpdate:selectedContentType":u[1]||(u[1]=d=>i.value=d),breadcrumb:[e.id],document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,requestBody:m(ke)(e.operation.requestBody)},null,8,["selectedContentType","breadcrumb","document","eventBus","options","parameters","requestBody"]),N(J6,{breadcrumb:[e.id],collapsableItems:!e.options.expandAllResponses,document:e.document,eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,["breadcrumb","collapsableItems","document","eventBus","options","responses"]),N(m(Wo),null,{default:P(()=>[e.operation.callbacks?(g(),L(mz,{key:0,callbacks:e.operation.callbacks,class:"mt-6",document:e.document,eventBus:e.eventBus,options:e.options,path:e.path},null,8,["callbacks","document","eventBus","options","path"])):B("",!0)]),_:1})]),w("div",vnt,[e.operation.externalDocs?(g(),L(m(C6),{key:0},{default:P(()=>[N(m($6),{value:e.operation.externalDocs},null,8,["value"])]),_:1})):B("",!0),N(m(Wo),null,{default:P(()=>[(g(),L(m(vQ),{key:l.value,clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:s.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:i.value,selectedExample:e.selectedExample,selectedServer:e.selectedServer},lr({header:P(()=>[N(cz,{class:"font-code text-c-2 [&_em]:text-c-1 min-w-0 [&_em]:not-italic",deprecated:e.operation?.deprecated,path:e.path},null,8,["deprecated","path"])]),_:2},[e.isWebhook?void 0:{name:"footer",fn:P(({exampleName:d})=>[w("div",Ont,[N(dnt),e.options.hideTestRequestButton?B("",!0):(g(),L(m(vz),{key:0,id:e.id,eventBus:e.eventBus,exampleName:d,method:e.method,path:e.path,requestBodyCompositionSelection:s.value},null,8,["id","eventBus","exampleName","method","path","requestBodyCompositionSelection"]))])]),key:"0"}]),1032,["clientOptions","eventBus","isWebhook","method","operation","path","requestBodyCompositionSelection","securitySchemes","selectedClient","selectedContentType","selectedExample","selectedServer"]))]),_:1}),N(m(Wo),null,{default:P(()=>[e.operation.responses?(g(),L(m(fz),{key:0,eventBus:e.eventBus,responses:e.operation.responses,selectedExample:e.selectedExample,style:{"margin-top":"12px"}},null,8,["eventBus","responses","selectedExample"])):B("",!0)]),_:1})])])]),_:1})]),_:1},8,["id","aria-labelledby","label"]))}}),wnt=ct(Snt,[["__scopeId","data-v-2382aa8f"]]),xnt=Q({__name:"Operation",props:{id:{},method:{},options:{},document:{},path:{},pathValue:{},server:{},securitySchemes:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},authStore:{}},setup(e){const t=I(()=>{const i=ke(e.pathValue?.[e.method]);if(!i)return null;const o=gN(e.pathValue?.parameters,i.parameters);return{...i,parameters:o}}),n=I(()=>Gje(t.value?.servers??null,e.pathValue?.servers??null,e.server)),r=I(()=>ZQ(t.value,e.document)),a=I(()=>Ret(e.document,t.value,e.authStore.getAuthSelectedSchemas({type:"document",documentName:e.document?.["x-scalar-navigation"]?.name??""}),e.authStore.getAuthSelectedSchemas({type:"operation",documentName:e.document?.["x-scalar-navigation"]?.name??"",path:e.path,method:e.method}),e.securitySchemes));return(i,o)=>t.value?(g(),S(le,{key:0},[e.options.layout==="classic"?(g(),L(ont,{key:0,id:e.id,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isCollapsed:e.isCollapsed,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,requiredSecurity:r.value,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedSecuritySchemes:a.value,selectedServer:n.value},null,8,["id","clientOptions","document","eventBus","isCollapsed","isWebhook","method","operation","options","path","requiredSecurity","selectedClient","selectedExample","selectedSecuritySchemes","selectedServer"])):(g(),L(wnt,{key:1,id:e.id,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,requiredSecurity:r.value,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedSecuritySchemes:a.value,selectedServer:n.value},null,8,["id","clientOptions","document","eventBus","isWebhook","method","operation","options","path","requiredSecurity","selectedClient","selectedExample","selectedSecuritySchemes","selectedServer"]))],64)):B("",!0)}}),knt=xnt,Ant=["id"],Tnt=Q({__name:"TraversedEntry",props:{authStore:{},level:{default:0},insideTagContainer:{type:Boolean,default:!1},entries:{},document:{},clientOptions:{},options:{},selectedServer:{},securitySchemes:{},selectedClient:{},selectedExample:{},expandedItems:{},eventBus:{}},setup(e){const t=l=>l.type==="tag"&&l.isGroup===!0&&l.isTagGroup===!0,n=l=>l.type==="tag"&&!t(l)&&l.id!=="models",r=l=>l.type==="operation",a=l=>l.type==="webhook",i=l=>l.type==="models",o=l=>l.type==="model";function s(l){return a(l)?Zf(e.document.webhooks?.[l.name]):Zf(e.document.paths?.[l.path])}return(l,c)=>{const u=Pb("TraversedEntry",!0);return g(!0),S(le,null,it(e.entries,d=>(g(),L(QQ,{id:d.id,key:`${d.id}-${e.options.layout}`,expanded:!!e.expandedItems[d.id]},{default:P(()=>[r(d)||a(d)?(g(),L(m(L0),{key:0,omit:e.level!==0},{default:P(()=>[N(m(knt),{id:d.id,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[d.id],isWebhook:a(d),method:d.method,options:e.options,path:a(d)?d.name:d.path,pathValue:s(d),securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,server:e.selectedServer},null,8,["id","authStore","clientOptions","document","eventBus","isCollapsed","isWebhook","method","options","path","pathValue","securitySchemes","selectedClient","selectedExample","server"])]),_:2}
447,1032,["omit"])):n(d)||t(d)&&e.options.layout==="classic"?(g(),L(m(jQ),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[d.id],layout:e.options.layout,moreThanOneTag:e.entries.filter(n).length>1,nested:e.insideTagContainer,tag:d},{default:P(()=>["children"in d&&d.children?.length?(g(),L(u,{key:0,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:d.children,eventBus:e.eventBus,expandedItems:e.expandedItems,insideTagContainer:!0,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedExample","selectedServer"])):B("",!0)]),_:2},1032,["eventBus","isCollapsed","layout","moreThanOneTag","nested","tag"])):t(d)?(g(),S("div",{key:2,id:d.id},[N(u,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:d.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,insideTagContainer:e.insideTagContainer,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","insideTagContainer","level","options","securitySchemes","selectedClient","selectedExample","selectedServer"])],8,Ant)):i(d)&&e.document.components?.schemas?(g(),L(UQ,{key:3,id:d.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[d.id],layout:e.options.layout,modelsSectionLabel:e.options.modelsSectionLabel},{default:P(()=>[N(u,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:d.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedExample","selectedServer"])]),_:2},1032,["id","eventBus","isCollapsed","layout","modelsSectionLabel"])):o(d)&&e.document.components?.schemas?.[d.name]?(g(),L(DQ,{key:4,id:d.id,document:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[d.id],name:d.name,options:e.options,schema:m(ke)(e.document.components.schemas[d.name])},null,8,["id","document","eventBus","isCollapsed","name","options","schema"])):B("",!0)]),_:2},1032,["id","expanded"]))),128)}}}),Ent=Tnt,_nt=["id"],Cnt=Q({__name:"RenderPluginView",props:{item:{},options:{},eventBus:{}},setup(e){const t=vi("el");return Ed(t,()=>{e.item.sidebar?.show&&e.eventBus?.emit("intersecting:nav-item",{id:e.item.id})}),(n,r)=>(g(),S("div",{id:e.item.id,ref_key:"el",ref:t},[N(m(Wo),null,{default:P(()=>[e.item.renderer?(g(),L(Yt(e.item.renderer),Rt(Ae({key:0},{component:e.item.component,options:e.options,...e.item.props})),null,16)):(g(),L(Yt(e.item.component),Rt(Ae({key:1},{options:e.options,...e.item.props})),null,16))]),_:1})],8,_nt))}}),$nt=Cnt,Pnt={key:0,class:"plugin-view"},Int=Q({__name:"RenderPlugins",props:{viewName:{},options:{},eventBus:{},documentSlug:{}},setup(e){const{getViewComponents:t}=WD(),n=I(()=>t(e.viewName,e.documentSlug));return(r,a)=>n.value.length?(g(),S("div",Pnt,[(g(!0),S(le,null,it(n.value,i=>(g(),L($nt,{key:i.id,eventBus:e.eventBus,item:i,options:e.options},null,8,["eventBus","item","options"]))),128))])):B("",!0)}}),bC=Int,Nnt={},Rnt={class:"section-flare"};function Mnt(e,t){return g(),S("div",Rnt,[...t[0]||(t[0]=[Vc('<div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div>',8)])])}var Lnt=ct(Nnt,[["render",Mnt],["__scopeId","data-v-5cebff7a"]]),Dnt=e=>{if(e===!0)return[];if(!e||Array.isArray(e)&&e.length===0)return R2;const t=new Set(R2);if(Array.isArray(e))for(const n of e){const r=$g[n];if(r)for(const a of r)t.delete(`${n}/${a}`);else if(n.includes("/"))t.delete(n);else for(const a of Od($g))t.delete(`${a}/${n}`)}else if(typeof e=="object"){for(const[n,r]of Object.entries(e))if(r===!0){const a=$g[n];if(a)for(const i of a)t.delete(`${n}/${i}`)}else if(Array.isArray(r))for(const a of r)t.delete(a),t.delete(`${n}/${a}`)}return Array.from(t)},Bnt={class:"narrow-references-container"},Unt={key:3,class:"h-dvh"},jnt=Q({__name:"Content",props:{infoSectionId:{},contextChain:{default:()=>[]},documentSlug:{},options:{},document:{},clientDocument:{},authStore:{},xScalarDefaultClient:{},xScalarDefaultExample:{},items:{},expandedItems:{},eventBus:{},environment:{},headingSlugGenerator:{type:Function}},setup(e){const t=I(()=>AUe(Dnt(e.options.hiddenClients))),n=I(()=>Eet(e.items,e.options.layout)),r=I(()=>e.contextChain.length>=2?e.contextChain:lz(e.items,e.options.layout)),a=I(()=>EQ(i.value?.info?.["x-scalar-sdk-installation"])),i=I(()=>Eo(e.document)?e.document:void 0),o=I(()=>Eo(e.clientDocument)?e.clientDocument:void 0),s=I(()=>So(e.document)?e.document:void 0),l=I(()=>So(e.clientDocument)?e.clientDocument:void 0),c=I(()=>pN(e.document)),u=I(()=>So(e.document)?e.document["x-original-aas-version"]??e.document.asyncapi:i.value?.["x-original-oas-version"]),d=I(()=>j2(e.document)),f=I(()=>j2(e.document?.info)),p=I(()=>vN(e.options?.servers??o.value?.servers,{baseServerUrl:e.options?.baseServerURL,documentUrl:e.clientDocument?.["x-scalar-original-source-url"]})),h=I(()=>sde(o.value??null,null,null,p.value)),b=I(()=>l.value?Hx(l.value,{webSocketOnly:!1}):[]),y=I(()=>r6e(l.value??null,b.value)),O=I(()=>{const x=l.value??o.value;return nde((x?.components?ke(x.components):void 0)?.securitySchemes,e.options.authentication?.securitySchemes,e.authStore,x?.["x-scalar-navigation"]?.name??"",e.options.oauth2RedirectUri)}),A=I(()=>!!e.document&&(!!s.value||!e.options.hideTestRequestButton));return Mt(()=>{Mke()}),(x,T)=>(g(),S(le,null,[N(m(Lnt)),w("div",Bnt,[H(x.$slots,"start"),N(m(bC),{documentSlug:e.documentSlug,eventBus:e.eventBus,options:e.options,viewName:"content.start"},null,8,["documentSlug","eventBus","options"]),N(m(fze),{id:e.infoSectionId,documentDownloadType:e.options.documentDownloadType,documentExtensions:d.value,documentType:c.value,documentUrl:e.document?.["x-scalar-original-source-url"],eventBus:e.eventBus,externalDocs:i.value?.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.document?.info,infoExtensions:f.value,layout:e.options.layout,specificationVersion:u.value},{selectors:P(()=>[N(m(Wo),null,{default:P(()=>[p.value?.length?(g(),L(m(Sh),{key:0,class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"},{default:P(()=>[N(m(Vze),{eventBus:e.eventBus,selectedServer:h.value,servers:p.value},null,8,["eventBus","selectedServer","servers"])]),_:1})):B("",!0)]),_:1}),N(m(Wo),null,{default:P(()=>[b.value.length?(g(),L(m(Sh),{key:0,class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"},{default:P(()=>[N(m(PLe),{eventBus:e.eventBus,selectedServer:y.value,servers:b.value},null,8,["eventBus","selectedServer","servers"])]),_:1})):B("",!0)]),_:1}),N(m(Wo),null,{default:P(()=>[A.value?(g(),L(m(Sh),{key:0,class:"scalar-reference-intro-auth scalar-client introduction-card-item leading-normal"},{default:P(()=>[N(m(Aet),{authStore:e.authStore,document:e.clientDocument,environment:e.environment,eventBus:e.eventBus,options:e.options,securitySchemes:O.value,selectedServer:h.value},null,8,["authStore","document","environment","eventBus","options","securitySchemes","selectedServer"])]),_:1})):B("",!0)]),_:1}),N(m(Wo),null,{default:P(()=>[a.value.length?(g(),L(m(Sh),{key:0,class:"introduction-card-item scalar-reference-intro-clients"},{default:P(()=>[N(m(Nze),{class:"introduction-card-item scalar-reference-intro-clients",eventBus:e.eventBus,selectedClient:e.xScalarDefaultClient,xScalarSdkInstallation:a.value},null,8,["eventBus","selectedClient","xScalarSdkInstallation"])]),_:1})):t.value.length&&!s.value?(g(),L(m(Sh),{key:1,class:"introduction-card-item scalar-reference-intro-clients"},{default:P(()=>[N(m(DQe),{class:"introduction-card-item scalar-reference-intro-clients",clientOptions:t.value,eventBus:e.eventBus,selectedClient:e.xScalarDefaultClient},null,8,["clientOptions","eventBus","selectedClient"])]),_:1})):B("",!0)]),_:1})]),_:1},8,["id","documentDownloadType","documentExtensions","documentType","documentUrl","eventBus","externalDocs","headingSlugGenerator","info","infoExtensions","layout","specificationVersion"]),n.value?(g(),L(m(Net),{key:0,chain:r.value,onNavigate:T[0]||(T[0]=E=>e.eventBus.emit("scroll-to:nav-item",{id:E}))},null,8,["chain"])):B("",!0),e.items.length&&i.value?(g(),L(Ent,{key:1,authStore:e.authStore,clientOptions:t.value,document:i.value,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options,securitySchemes:O.value,selectedClient:e.xScalarDefaultClient,selectedExample:e.xScalarDefaultExample,selectedServer:h.value},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","options","securitySchemes","selectedClient","selectedExample","selectedServer"])):e.items.length&&s.value?(g(),L(m(uZe),{key:2,document:s.value,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options},null,8,["document","entries","eventBus","expandedItems","options"])):B("",!0),N(m(bC),{documentSlug:e.documentSlug,eventBus:e.eventBus,options:e.options,viewName:"content.end"},null,8,["documentSlug","eventBus","options"]),H(x.$slots,"end"),m(lw)?B("",!0):(g(),S("div",Unt))])],64))}}),Qnt=jnt,Fnt={key:0,"aria-hidden":"true","data-scalar-crawler-nav":"",hidden:""},znt=["href"],Vnt=Q({__name:"CrawlerNav",props:{items:{},basePath:{},isMultiDocument:{type:Boolean},options:{}},setup(e){const t=I(()=>{const n=[],r=a=>{for(const i of yx("reference",a,e.options?.hideOperationDefaultExamples)){const o=iB(i.id,e.basePath,e.isMultiDocument);o&&n.push({id:i.id,href:o,title:i.title}),"children"in i&&i.children&&r(i.children)}};return r(e.items),n});return(n,r)=>t.value.length>0?(g(),S("nav",Fnt,[w("ul",null,[(g(!0),S(le,null,it(t.value,a=>(g(),S("li",{key:a.id},[w("a",{href:a.href},V(a.title),9,znt)]))),128))])])):B("",!0)}}),Hnt=Vnt,qnt={class:"flex h-(--scalar-header-height) w-full items-center border-b bg-inherit px-2"},Znt={key:1,class:"flex-1 text-sm font-medium whitespace-nowrap"},Xnt={class:"flex h-6 items-center gap-1 pl-1"},Wnt=Q({__name:"MobileHeader",props:{breadcrumb:{},isSidebarOpen:{type:Boolean},showSidebar:{type:Boolean}},emits:["toggleSidebar"],setup(e,{emit:t}){const{translate:n}=Ot(),r=t,a=$r({base:"lg:hidden items-center bg-b-1 sticky top-(--scalar-custom-header-height,0) z-10 [grid-area:header]",variants:{open:{true:"h-(--refs-sidebar-height) custom-scrollbar flex flex-col z-50"}}});return(i,o)=>(g(),S(le,null,[H(i.$slots,"sidebar",Rt(Ft({sidebarClasses:"hidden lg:flex sticky top-(--refs-header-height) h-(--refs-sidebar-height) w-(--refs-sidebar-width) [grid-area:navigation]"}))),w("div",{class:Se(["t-doc__header",m(a)({open:e.isSidebarOpen})])},[w("header",qnt,[e.showSidebar?(g(),L(m(eo),{key:0,icon:e.isSidebarOpen?m(Cp):m(Ime),label:e.isSidebarOpen?m(n)("navigation.closeMenu"):m(n)("navigation.openMenu"),size:"md",onClick:o[0]||(o[0]=s=>r("toggleSidebar"))},null,8,["icon","label"])):B("",!0),e.showSidebar?(g(),S("span",Znt,V(e.breadcrumb),1)):H(i.$slots,"search",{},void 0,void 0),w("div",Xnt,[H(i.$slots,"actions")])]),e.isSidebarOpen?H(i.$slots,"sidebar",Rt(Ft({sidebarClasses:"overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none"})),void 0,void 0):B("",!0)],2)],64))}}),Ynt=Wnt,Gnt=Q({inheritAttrs:!1,__name:"ScalarPopover",props:{focus:{type:Boolean},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e){const{cx:t}=At();return(n,r)=>(g(),L(m(Fx),{as:"template"},{default:P(({open:a})=>[N(m(w0),Rt(Ft(n.$props)),{floating:P(({width:i,height:o})=>[N(m(mD),Ae({focus:e.focus,style:{width:i,height:o}},m(t)("relative flex flex-col p-0.75")),{default:P(({close:s})=>[H(n.$slots,"popover",{close:()=>s(),open:a}),H(n.$slots,"backdrop",{open:a},()=>[N(m($p))])]),_:2},1040,["focus","style"])]),default:P(()=>[N(m(hD),{as:"template"},{default:P(()=>[H(n.$slots,"default",{open:a})]),_:2},1024)]),_:2},1040)]),_:3}))}}),Knt=Gnt,Jnt={class:"text-c-2 hover:text-c-1 hover:bg-b-2 flex items-center gap-1 rounded px-2 py-2.25 text-base leading-none",type:"button"},ert={class:"custom-scroll bg-b-1 flex flex-col gap-7 rounded-lg p-7 pb-6"},trt={class:"text-c-2 flex items-center justify-center gap-1 p-2 text-sm"},nrt=Q({__name:"ApiReferenceToolbarPopover",setup(e){const{translate:t}=Ot();return(n,r)=>(g(),L(m(Knt),{class:"max-h-[inherit] max-w-[inherit] p-0 text-base",placement:"bottom-end",teleport:""},{default:P(({open:a})=>[H(n.$slots,"button",{open:a},()=>[w("button",Jnt,[H(n.$slots,"label"),N(m(xi),{class:Se(["size-3",{"rotate-180":a}])},null,8,["class"])])])]),popover:P(a=>[w("div",ert,[H(n.$slots,"default",Rt(Ft(a)))]),w("div",trt,[N(m(UN),{class:"size-3.5 shrink-0"}),w("div",null,[H(n.$slots,"info",{},()=>[J(V(m(t)("developerTools.localhostOnly")),1)])])])]),backdrop:P(()=>
447[N(m($p),{class:"bg-b-2 rounded-lg"})]),_:3}))}}),vv=nrt,rrt={class:"text-c-2 hover:text-c-1 hover:bg-b-2 ml-auto flex items-center gap-1 rounded px-2 py-2.25 text-base leading-none",type:"button"},art={class:"-m-2 flex flex-col gap-2 leading-relaxed"},irt={class:"bg-b-2 inline-flex items-center gap-0.5 rounded border px-1 py-0.5 text-sm"},yC='showDeveloperTools: "never"',ort=Q({__name:"ApiReferenceToolbarTitle",setup(e){const{copyToClipboard:t}=au(),{translate:n}=Ot();return(r,a)=>(g(),L(vv,{class:"w-120",placement:"bottom-start"},{button:P(()=>[w("button",rrt,[N(m(UN)),J(" "+V(m(n)("developerTools.title")),1)])]),info:P(()=>[J(V(m(n)("developerTools.localhostOnly")),1)]),default:P(()=>[w("div",art,[w("div",null,V(m(n)("developerTools.intro")),1),w("div",null,[J(V(m(n)("developerTools.disableToolbarBefore"))+" ",1),w("div",irt,[w("code",{class:"font-code"},V(yC)),N(m(eo),{class:"-m-1 p-1.25",icon:m(wx),label:m(n)("actions.copyToClipboard"),size:"sm",onClick:a[0]||(a[0]=i=>m(t)(yC))},null,8,["icon","label"])]),J(" "+V(m(n)("developerTools.disableToolbarAfter")),1)])])]),_:1}))}}),srt=ort,lrt={},crt={class:"text-c-3 [&_code]:font-code [&_a:hover]:text-c-1 text-center leading-normal [&_a]:underline"};function urt(e,t){return g(),S("p",crt,[H(e.$slots,"default")])}var Oz=ct(lrt,[["render",urt]]),drt=Q({__name:"ApiReferenceToolbarRegisterButton",props:xn({workspace:{},externalUrls:{},sdks:{default:()=>[]}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){const t=yn(e,"url"),{toast:n}=ru(),r=Pp(),{translate:a}=Ot();function i(s){const l=new URL(`${e.externalUrls.dashboardUrl}/register`);l.searchParams.set("url",s),e.sdks.forEach(c=>l.searchParams.append("sdk",c)),window.open(l.toString(),"_blank")}async function o(){if(r.isLoading||!e.workspace)return;if(t.value){i(t.value);return}r.start();const s=e.workspace.exportActiveDocument("json");if(!s){n(a("developerTools.unableToExportDocument"),"error"),await r.invalidate();return}try{t.value=await Zx(s,e.externalUrls),await r.validate(),i(t.value),await Nn(),await r.clear()}catch(l){const c=l instanceof Error?l.message:a("developerTools.unknownError");n(c,"error"),await r.invalidate()}}return(s,l)=>(g(),L(m(Ln),{class:"h-auto p-2.5",loader:m(r),onClick:o},{default:P(()=>[H(s.$slots,"default",{},()=>[J(V(m(a)("developerTools.generate")),1)])]),_:3},8,["loader"]))}}),frt=drt,prt={class:"text-c-2 mb-2 grid grid-cols-2 gap-2.5 font-medium"},hrt=Q({__name:"ApiReferenceToolbarShareRegister",props:{workspace:{},externalUrls:{}},setup(e){const{translate:t}=Ot(),n=[{icon:jN,labelKey:"developerTools.passwordProtection"},{icon:nme,labelKey:"developerTools.customDomains"},{icon:Ffe,labelKey:"developerTools.freeFormContent"},{icon:jpe,labelKey:"developerTools.cdnInfrastructure"},{icon:Xhe,labelKey:"developerTools.pullFromGitHub"},{icon:Ahe,labelKey:"developerTools.markdownMdx"},{icon:B1e,labelKey:"developerTools.spectralLinting"},{icon:BN,labelKey:"developerTools.jsonSchemaHosting"},{icon:kx,labelKey:"developerTools.askAi"},{icon:P0e,labelKey:"developerTools.mcpServers"}];return(r,a)=>(g(),S(le,null,[w("ul",prt,[(g(),S(le,null,it(n,i=>w("li",{key:i.labelKey,class:"flex items-center gap-2"},[(g(),L(Yt(i.icon),{class:"text-c-3 size-3.5",weight:"bold"})),J(" "+V(m(t)(i.labelKey)),1)])),64))]),N(frt,{externalUrls:e.externalUrls,workspace:e.workspace},{default:P(()=>[J(V(m(t)("developerTools.deployOnScalar")),1)]),_:1},8,["externalUrls","workspace"]),N(Oz,null,{default:P(()=>[J(V(m(t)("developerTools.deployFree"))+" ",1),a[0]||(a[0]=w("br",null,null,-1)),J(" "+V(m(t)("developerTools.additionalFeaturesMightRequire"))+" ",1),a[1]||(a[1]=w("span",null,[w("a",{href:"https://scalar.com/products/docs/getting-started",rel:"noopener noreferrer",target:"_blank"}," Scalar Pro. ")],-1))]),_:1})],64))}}),mrt=hrt,grt={key:0,class:"flex items-start justify-between gap-2 text-sm/none text-c-1 whitespace-nowrap font-medium"},brt=Q({inheritAttrs:!1,__name:"ScalarFormField",props:{is:{default:"label"}},setup(e){const{cx:t}=At();return(n,r)=>(g(),L(Yt(e.is),Rt(Ft(m(t)("flex flex-col gap-1.5 rounded"))),{default:P(()=>[n.$slots.label?(g(),S("div",grt,[H(n.$slots,"label")])):B("",!0),H(n.$slots,"default"),n.$slots.below?(g(),S("span",{key:1,class:Se(m(t)("-mt-1.5 text-sm"))},[H(n.$slots,"below")],2)):B("",!0)]),_:3},16))}}),m4=brt,yrt=Q({inheritAttrs:!1,__name:"ScalarFormInputGroup",props:{is:{default:"div"}},setup(e){const{cx:t}=At();return Qxe(),(n,r)=>(g(),L(Yt(e.is),Rt(Ft(m(t)("flex flex-col border rounded divide-y"))),{default:P(()=>[H(n.$slots,"default")]),_:3},16))}}),Sz=yrt,vrt={},Ort={class:"flex min-w-0 flex-col gap-3"},Srt={class:"contents"},wrt={class:"text-base font-medium text-c-1"};function xrt(e,t,n,r,a,i){return g(),S("fieldset",Ort,[w("legend",Srt,[w("span",wrt,[H(e.$slots,"label")])]),H(e.$slots,"default")])}var e5=ys(vrt,[["render",xrt]]),krt={class:"text-c-2 mb-2 leading-normal"},Art=Q({__name:"DeployApiReference",props:{workspace:{},externalUrls:{}},setup(e){const{translate:t}=Ot();return(n,r)=>(g(),L(vv,{class:"w-120"},{label:P(()=>[J(V(m(t)("developerTools.deploy")),1)]),default:P(()=>[N(m(e5),null,{label:P(()=>
447[J(V(m(t)("developerTools.scalarDocs")),1)]),default:P(()=>[w("p",krt,V(m(t)("developerTools.deployDescription")),1),N(mrt,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])]),_:1})]),_:1}))}}),Trt=Art,Ert=Q({__name:"ScalarCheckbox",props:{selected:{type:Boolean},indeterminate:{type:Boolean,default:!1},type:{default:"checkbox"}},setup(e){const t=e;return(n,r)=>(g(),S("div",{class:Se(["flex size-4 items-center justify-center p-0.75",[t.selected||t.indeterminate&&t.type==="checkbox"?"bg-c-accent text-b-1":"text-transparent shadow-border",t.type==="checkbox"?"rounded":"rounded-full"]])},[t.selected?(g(),L(m(Sx),{key:0,class:"size-3",weight:"bold"})):t.indeterminate&&t.type==="checkbox"?(g(),L(m(l0e),{key:1,"aria-hidden":"true",class:"size-3",weight:"bold"})):B("",!0)],2))}}),_rt=Ert,Crt={class:"flex-1 text-left min-w-0 truncate"},$rt=["type"],Prt=Q({inheritAttrs:!1,__name:"ScalarCheckboxInput",props:xn({type:{default:"checkbox"},indeterminate:{type:Boolean,default:!1}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=yn(e,"modelValue"),{stylingAttrsCx:r,otherAttrs:a}=At();return(i,o)=>(g(),L(m(Dy),Ae({is:"label"},m(r)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":n.value})),{default:P(()=>[N(_rt,{class:"shrink-0",indeterminate:t.indeterminate&&t.type==="checkbox",selected:n.value,type:t.type},null,8,["indeterminate","selected","type"]),w("div",Crt,[H(i.$slots,"default")]),ti(w("input",Ae({ref:"inputEl","onUpdate:modelValue":o[0]||(o[0]=s=>n.value=s),class:"sr-only",type:t.type},m(a)),null,16,$rt),[[j9,n.value]])]),_:3},16))}}),Irt=Prt,Nrt=Q({__name:"ScalarCheckboxRadioGroup",props:xn({options:{default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=yn(e,"modelValue"),n=vn();return(r,a)=>(g(),L(m(Sz),null,{default:P(()=>[(g(!0),S(le,null,it(e.options,i=>(g(),L(Irt,{key:i.value,modelValue:t.value?.value===i.value,name:m(n),type:"radio",value:i.value,"onUpdate:modelValue":o=>t.value=o?i:void 0},{default:P(()=>[J(V(i.label),1)]),_:2},1032,["modelValue","name","value","onUpdate:modelValue"]))),128))]),_:1}))}}),Rrt=Nrt,Mrt=Q({__name:"ApiReferenceToolbarConfigLayout",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=yn(e,"modelValue"),{translate:n}=Ot(),r=I(()=>[{label:n("developerTools.layoutModern"),value:"modern"},{label:n("developerTools.layoutClassic"),value:"classic"}]),a=I({get:()=>r.value.find(i=>i.value===t.value)??r.value[0],set:i=>t.value=i.value});return(i,o)=>(g(),L(m(Rrt),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=s=>a.value=s),options:r.value},null,8,["modelValue","options"]))}}),Lrt=Mrt,Drt=["aria-disabled"],Brt={key:0,class:"sr-only"},Urt=Q({inheritAttrs:!1,__name:"ScalarToggleSlider",props:{thumb:{default:"start"},disabled:{type:Boolean},label:{}},setup(e){const t=$r({base:"relative h-3.5 min-w-6 w-6 cursor-pointer rounded-full bg-b-3 transition-colors duration-300",variants:{disabled:{true:"cursor-not-allowed opacity-40"}}}),{cx:n}=At();return(r,a)=>(g(),S("button",Ae({"aria-disabled":e.disabled,type:"button"},m(n)(m(t)({disabled:e.disabled}))),[w("div",{class:Se(["absolute left-px top-px flex h-3 w-3 items-center justify-center rounded-full bg-b-1 transition-transform duration-300",{"translate-x-1.25":e.thumb==="center","translate-x-2.5":e.thumb==="end"}])},null,2),e.label?(g(),S("span",Brt,V(e.label),1)):B("",!0)],16,Drt))}}),jrt=Urt,Qrt=Q({__name:"ScalarToggle",props:xn({disabled:{type:Boolean},label:{}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=yn(e,"modelValue");function r(){t.disabled||(n.value=!n.value)}return(a,i)=>(g(),L(jrt,{"aria-checked":n.value,class:Se(n.value?"bg-c-accent":""),disabled:e.disabled,label:e.label,role:"switch",thumb:n.value?"end":"start",onClick:r},null,8,["aria-checked","class","disabled","label","thumb"]))}}),Frt=Qrt,zrt={class:"flex-1 text-left min-w-0 truncate"},Vrt=Q({inheritAttrs:!1,__name:"ScalarToggleInput",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=yn(e,"modelValue"),{stylingAttrsCx:n,otherAttrs:r}=At();return(a,i)=>(g(),L(m(Dy),Ae({is:"label"},m(n)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":t.value})),{default:P(()=>[w("div",zrt,[H(a.$slots,"default")]),N(Frt,Ae({modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=o=>t.value=o),class:"shrink-0"},m(r)),null,16,["modelValue"])]),_:3},16))}}),Bo=Vrt,Hrt=Q({__name:"ApiReferenceToolbarConfigLayoutOptions",props:xn({configuration:{}},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=yn(e,"modelValue"),{translate:n}=Ot();function r(l,c=!1){return t.value[l]??e.configuration?.[l]??c}function a(l,c,u=!1){c!==u?t.value={...t.value,[l]:c}:t.value=Object.fromEntries(Object.entries(t.value).filter(([d])=>l!==d))}const i=I(()=>e.configuration?.modelsSectionLabel??di),o=I(()=>n("developerTools.expandAll",{label:i.value})),s=I(()=>n("developerTools.hideModels",{label:i.value}));return(l,c)=>(g(),L(m(Sz),null,{default:P(()=>[N(m(Bo),{modelValue:r("showSidebar",!0),"onUpdate:modelValue":c[0]||(c[0]=u=>a("showSidebar",!!u,!0))},{default:P(()=>[J(V(m(n)("developerTools.showSidebar")),1)]),_:1},8,["modelValue"]),N(m(Bo),{modelValue:r("defaultOpenFirstTag",!0),"onUpdate:modelValue":c[1]||(c[1]=u=>a("defaultOpenFirstTag",!!u,!0))},{default:P(()=>[J(V(m(n)("developerTools.defaultOpenFirstTag")),1)]),_:1},8,["modelValue"]),N(m(Bo),{modelValue:r("defaultOpenAllTags"),"onUpdate:modelValue":c[2]||(c[2]=u=>a("defaultOpenAllTags",!!u))},{default:P(()=>[J(V(m(n)("developerTools.defaultOpenAllTags")),1)]),_:1}
447,8,["modelValue"]),N(m(Bo),{modelValue:r("expandAllModelSections"),"onUpdate:modelValue":c[3]||(c[3]=u=>a("expandAllModelSections",!!u))},{default:P(()=>[J(V(o.value),1)]),_:1},8,["modelValue"]),N(m(Bo),{modelValue:r("expandAllResponses"),"onUpdate:modelValue":c[4]||(c[4]=u=>a("expandAllResponses",!!u))},{default:P(()=>[J(V(m(n)("developerTools.expandAllResponses")),1)]),_:1},8,["modelValue"]),N(m(Bo),{modelValue:r("hideClientButton"),"onUpdate:modelValue":c[5]||(c[5]=u=>a("hideClientButton",!!u))},{default:P(()=>[J(V(m(n)("developerTools.hideClientButton")),1)]),_:1},8,["modelValue"]),N(m(Bo),{modelValue:r("hideDarkModeToggle"),"onUpdate:modelValue":c[6]||(c[6]=u=>a("hideDarkModeToggle",!!u))},{default:P(()=>[J(V(m(n)("developerTools.hideDarkModeToggle")),1)]),_:1},8,["modelValue"]),N(m(Bo),{modelValue:r("hideModels"),"onUpdate:modelValue":c[7]||(c[7]=u=>a("hideModels",!!u))},{default:P(()=>[J(V(s.value),1)]),_:1},8,["modelValue"]),N(m(Bo),{modelValue:r("hideSearch"),"onUpdate:modelValue":c[8]||(c[8]=u=>a("hideSearch",!!u))},{default:P(()=>[J(V(m(n)("developerTools.hideSearch")),1)]),_:1},8,["modelValue"]),N(m(Bo),{modelValue:r("showOperationId"),"onUpdate:modelValue":c[9]||(c[9]=u=>a("showOperationId",!!u))},{default:P(()=>[J(V(m(n)("developerTools.showOperationId")),1)]),_:1},8,["modelValue"]),N(m(Bo),{modelValue:r("hideTestRequestButton"),"onUpdate:modelValue":c[10]||(c[10]=u=>a("hideTestRequestButton",!!u))},{default:P(()=>[J(V(m(n)("developerTools.hideTestRequestButton")),1)]),_:1},8,["modelValue"])]),_:1}))}}),qrt=Hrt,Zrt=`/* Inter (--scalar-font) */ 448/* cyrillic-ext */ 449@font-face { 450 font-family: "Inter"; 451 font-style: normal; 452 font-weight: 100 900; 453 font-display: swap; 454 src: url(https://fonts.scalar.com/inter-cyrillic-ext.woff2) format("woff2"); 455 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; 456} 457/* cyrillic */ 458@font-face { 459 font-family: "Inter"; 460 font-style: normal; 461 font-weight: 100 900; 462 font-display: swap; 463 src: url(https://fonts.scalar.com/inter-cyrillic.woff2) format("woff2"); 464 unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 465} 466/* greek-ext */ 467@font-face { 468 font-family: "Inter"; 469 font-style: normal; 470 font-weight: 100 900; 471 font-display: swap; 472 src: url(https://fonts.scalar.com/inter-greek-ext.woff2) format("woff2"); 473 unicode-range: U+1F00-1FFF; 474} 475/* greek */ 476@font-face { 477 font-family: "Inter"; 478 font-style: normal; 479 font-weight: 100 900; 480 font-display: swap; 481 src: url(https://fonts.scalar.com/inter-greek.woff2) format("woff2"); 482 unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; 483} 484/* vietnamese */ 485@font-face { 486 font-family: "Inter"; 487 font-style: normal; 488 font-weight: 100 900; 489 font-display: swap; 490 src: url(https://fonts.scalar.com/inter-vietnamese.woff2) format("woff2"); 491 unicode-range: 492 U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, 493 U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, 494 U+0329, U+1EA0-1EF9, U+20AB; 495} 496/* latin-ext */ 497@font-face { 498 font-family: "Inter"; 499 font-style: normal; 500 font-weight: 100 900; 501 font-display: swap; 502 src: url(https://fonts.scalar.com/inter-latin-ext.woff2) format("woff2"); 503 unicode-range: 504 U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, 505 U+A720-A7FF; 506} 507/* latin */ 508@font-face { 509 font-family: "Inter"; 510 font-style: normal; 511 font-weight: 100 900; 512 font-display: swap; 513 src: url(https://fonts.scalar.com/inter-latin.woff2) format("woff2"); 514 unicode-range: 515 U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, 516 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, 517 U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 518} 519 520/* keyboard symbols (âââââµâ§âªââ¥) */ 521@font-face { 522 font-family: "Inter"; 523 font-style: normal; 524 font-weight: 100 900; 525 font-display: swap; 526 src: url(https://fonts.scalar.com/inter-symbols.woff2) format("woff2"); 527 unicode-range: U+2190-2193, U+21B5, U+21E7, U+21EA, U+2318, U+2325; 528} 529 530/* JetBrains Mono (--scalar-font-code) */ 531/* cyrillic-ext */ 532@font-face { 533 font-family: "JetBrains Mono"; 534 font-style: normal; 535 font-weight: 400; 536 src: url(https://fonts.scalar.com/mono-cyrillic-ext.woff2) format("woff2"); 537 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; 538} 539/* cyrillic */ 540@font-face { 541 font-family: "JetBrains Mono"; 542 font-style: normal; 543 font-weight: 400; 544 src: url(https://fonts.scalar.com/mono-cyrillic.woff2) format("woff2"); 545 unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 546} 547/* greek */ 548@font-face { 549 font-family: "JetBrains Mono"; 550 font-style: normal; 551 font-weight: 400; 552 src: url(https://fonts.scalar.com/mono-greek.woff2) format("woff2"); 553 unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; 554} 555/* vietnamese */ 556@font-face { 557 font-family: "JetBrains Mono"; 558 font-style: normal; 559 font-weight: 400; 560 src: url(https://fonts.scalar.com/mono-vietnamese.woff2) format("woff2"); 561 unicode-range: 562 U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, 563 U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, 564 U+0329, U+1EA0-1EF9, U+20AB; 565} 566/* latin-ext */ 567@font-face { 568 font-family: "JetBrains Mono"; 569 font-style: normal; 570 font-weight: 400; 571 src: url(https://fonts.scalar.com/mono-latin-ext.woff2) format("woff2"); 572 unicode-range: 573 U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, 574 U+A720-A7FF; 575} 576/* latin */ 577@font-face { 578 font-family: "JetBrains Mono"; 579 font-style: normal; 580 font-weight: 400; 581 src: url(https://fonts.scalar.com/mono-latin.woff2) format("woff2"); 582 unicode-range: 583 U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, 584 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, 585 U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 586} 587`,Xrt=`/* basic theme */ 588:root { 589 --scalar-text-decoration: underline; 590 --scalar-text-decoration-hover: underline; 591} 592 593.dark-mode { 594 --scalar-background-1: #131313; 595 --scalar-background-2: #1d1d1d; 596 --scalar-background-3: #272727; 597 --scalar-background-card: #1d1d1d; 598 599 --scalar-color-1: rgba(255, 255, 255, 0.9); 600 --scalar-color-2: rgba(255, 255, 255, 0.62); 601 --scalar-color-3: rgba(255, 255, 255, 0.44); 602 603 --scalar-color-accent: var(--scalar-color-1); 604 --scalar-background-accent: var(--scalar-background-3); 605 606 --scalar-border-color: #2a2b2a; 607} 608 609.light-mode, 610.light-mode .dark-mode { 611 --scalar-background-1: #f9f9f9; 612 --scalar-background-2: #f1f1f1; 613 --scalar-background-3: #e7e7e7; 614 --scalar-background-card: #fff; 615 616 --scalar-color-1: #1b1b1b; 617 --scalar-color-2: #757575; 618 --scalar-color-3: #8e8e8e; 619 620 --scalar-color-accent: var(--scalar-color-1); 621 --scalar-background-accent: var(--scalar-background-3); 622 623 --scalar-border-color: rgba(0, 0, 0, 0.1); 624} 625 626/* Document Sidebar */ 627.t-doc__sidebar { 628 --scalar-color-green: var(--scalar-color-1); 629 --scalar-color-red: var(--scalar-color-1); 630 --scalar-color-yellow: var(--scalar-color-1); 631 --scalar-color-blue: var(--scalar-color-1); 632 --scalar-color-orange: var(--scalar-color-1); 633 --scalar-color-purple: var(--scalar-color-1); 634} 635 636.light-mode .t-doc__sidebar, 637.dark-mode .t-doc__sidebar { 638 --scalar-sidebar-background-1: var(--scalar-background-1); 639 --scalar-sidebar-color-1: var(--scalar-color-1); 640 --scalar-sidebar-color-2: var(--scalar-color-2); 641 --scalar-sidebar-border-color: var(--scalar-border-color); 642 643 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 644 --scalar-sidebar-item-hover-color: currentColor; 645 646 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 647 --scalar-sidebar-color-active: var(--scalar-color-accent); 648 649 --scalar-sidebar-search-background: transparent; 650 --scalar-sidebar-search-color: var(--scalar-color-3); 651 --scalar-sidebar-search-border-color: var(--scalar-border-color); 652} 653/* advanced */ 654.light-mode .dark-mode, 655.light-mode { 656 --scalar-color-green: #069061; 657 --scalar-color-red: #ef0006; 658 --scalar-color-yellow: #edbe20; 659 --scalar-color-blue: #0082d0; 660 --scalar-color-orange: #fb892c; 661 --scalar-color-purple: #5203d1; 662 663 --scalar-button-1: rgba(0, 0, 0, 1); 664 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 665 --scalar-button-1-color: #fff; 666} 667.dark-mode { 668 --scalar-color-green: #00b648; 669 --scalar-color-red: #dd2f2c; 670 --scalar-color-yellow: #ffc90d; 671 --scalar-color-blue: #4eb3ec; 672 --scalar-color-orange: #ff8d4d; 673 --scalar-color-purple: #b191f9; 674 675 --scalar-button-1: rgba(255, 255, 255, 1); 676 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 677 --scalar-button-1-color: black; 678} 679 680.scalar-api-client__item, 681.scalar-card, 682.dark-mode .dark-mode.scalar-card { 683 --scalar-background-1: var(--scalar-background-card); 684 --scalar-background-2: var(--scalar-background-1); 685 --scalar-background-3: var(--scalar-background-1); 686} 687.dark-mode .dark-mode.scalar-card { 688 --scalar-background-3: var(--scalar-background-3); 689} 690 691.light-mode *::selection { 692 background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%); 693} 694.dark-mode *::selection { 695 background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%); 696} 697`,Wrt=`/* basic theme */ 698:root { 699 --scalar-text-decoration: underline; 700 --scalar-text-decoration-hover: underline; 701} 702.light-mode { 703 --scalar-background-1: #f0f2f5; 704 --scalar-background-2: #eaecf0; 705 --scalar-background-3: #e0e2e6; 706 --scalar-border-color: rgb(213 213 213); 707 708 --scalar-color-1: rgb(9, 9, 11); 709 --scalar-color-2: rgb(113, 113, 122); 710 --scalar-color-3: rgba(25, 25, 28, 0.5); 711 712 --scalar-color-accent: var(--scalar-color-1); 713 --scalar-background-accent: #8ab4f81f; 714} 715.light-mode .scalar-card.dark-mode, 716.dark-mode { 717 --scalar-background-1: #000e23; 718 --scalar-background-2: #01132e; 719 --scalar-background-3: #03193b; 720 --scalar-border-color: #2e394c; 721 722 --scalar-color-1: #fafafa; 723 --scalar-color-2: rgb(161, 161, 170); 724 --scalar-color-3: rgba(255, 255, 255, 0.533); 725 726 --scalar-color-accent: var(--scalar-color-1); 727 --scalar-background-accent: #8ab4f81f; 728 729 --scalar-code-language-color-supersede: var(--scalar-color-1); 730} 731/* Document Sidebar */ 732.light-mode .t-doc__sidebar, 733.dark-mode .t-doc__sidebar { 734 --scalar-sidebar-background-1: var(--scalar-background-1); 735 --scalar-sidebar-color-1: var(--scalar-color-1); 736 --scalar-sidebar-color-2: var(--scalar-color-2); 737 --scalar-sidebar-border-color: var(--scalar-border-color); 738 739 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 740 --scalar-sidebar-item-hover-color: currentColor; 741 742 --scalar-sidebar-item-active-background: var(--scalar-background-3); 743 --scalar-sidebar-color-active: var(--scalar-color-accent); 744 745 --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1); 746 --scalar-sidebar-search-border-color: var(--scalar-border-color); 747 --scalar-sidebar-search-color: var(--scalar-color-3);
748 z-index: 1; 749} 750.light-mode .t-doc__sidebar { 751 --scalar-sidebar-search-background: white; 752} 753/* advanced */ 754.light-mode { 755 --scalar-color-green: #069061; 756 --scalar-color-red: #ef0006; 757 --scalar-color-yellow: #edbe20; 758 --scalar-color-blue: #0082d0; 759 --scalar-color-orange: #fb892c; 760 --scalar-color-purple: #5203d1; 761 762 --scalar-button-1: rgba(0, 0, 0, 1); 763 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 764 --scalar-button-1-color: #fff; 765} 766.dark-mode { 767 --scalar-color-green: rgba(69, 255, 165, 0.823); 768 --scalar-color-red: #ff8589; 769 --scalar-color-yellow: #ffcc4d; 770 --scalar-color-blue: #6bc1fe; 771 --scalar-color-orange: #f98943; 772 --scalar-color-purple: #b191f9; 773 774 --scalar-button-1: rgba(255, 255, 255, 1); 775 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 776 --scalar-button-1-color: black; 777} 778/* Custom theme */ 779/* Document header */ 780@keyframes headerbackground { 781 from { 782 background: transparent; 783 backdrop-filter: none; 784 } 785 to { 786 background: var(--scalar-header-background-1); 787 backdrop-filter: blur(12px); 788 } 789} 790 791.light-mode .t-doc__header, 792.dark-mode .t-doc__header { 793 animation: headerbackground forwards; 794 animation-timeline: scroll(); 795 animation-range: 0px 200px; 796} 797 798/* Document Layout */ 799.dark-mode .t-doc .layout-content { 800 background: transparent; 801} 802 803.dark-mode h2.t-editor__heading, 804.dark-mode .t-editor__page-title h1, 805.dark-mode h1.section-header:not(::selection), 806.dark-mode .markdown h1, 807.dark-mode .markdown h2, 808.dark-mode .markdown h3, 809.dark-mode .markdown h4, 810.dark-mode .markdown h5, 811.dark-mode .markdown h6 { 812 -webkit-text-fill-color: transparent; 813 background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38)); 814 -webkit-background-clip: text; 815 background-clip: text; 816} 817/* Hero Section Flare */ 818.section-flare-item:nth-of-type(1) { 819 --c1: #ffffff; 820 --c2: #babfd8; 821 --c3: #2e8bb2; 822 --c4: #1a8593; 823 --c5: #0a143e; 824 --c6: #0a0f52; 825 --c7: #2341b8; 826 827 --solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7); 828 --solid-wrap: var(--solid), var(--c1); 829 --trans: 830 var(--c1), transparent, var(--c2), transparent, var(--c3), 831 transparent, var(--c4), transparent, var(--c5), transparent, var(--c6), 832 transparent, var(--c7); 833 --trans-wrap: var(--trans), transparent, var(--c1); 834 835 background: 836 radial-gradient(circle, var(--trans)), conic-gradient(from 180deg, var(--trans-wrap)), 837 radial-gradient(circle, var(--trans)), conic-gradient(var(--solid-wrap)); 838 width: 70vw; 839 height: 700px; 840 border-radius: 50%; 841 filter: blur(100px); 842 z-index: 0; 843 right: 0; 844 position: absolute; 845 transform: rotate(-45deg); 846 top: -300px; 847 opacity: 0.3; 848} 849.section-flare-item:nth-of-type(3) { 850 --star-color: #6b9acc; 851 --star-color2: #446b8d; 852 --star-color3: #3e5879; 853 background-image: 854 radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)), 855 radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)), 856 radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)), 857 radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)), 858 radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)), 859 radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0)); 860 background-repeat: repeat; 861 background-size: 200px 200px; 862 width: 100%; 863 height: 100%; 864 mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%); 865} 866.section-flare { 867 top: -150px !important; 868 height: 100vh; 869 background: linear-gradient(#000, var(--scalar-background-1)); 870 width: 100vw; 871 overflow-x: hidden; 872} 873.light-mode .section-flare { 874 display: none; 875} 876.light-mode .scalar-card { 877 --scalar-background-1: #fff; 878 --scalar-background-2: #fff; 879 --scalar-background-3: #fff; 880} 881 882*::selection { 883 background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 60%); 884} 885 886@media (max-width: 1000px) { 887 .light-mode .t-doc__sidebar, 888 .dark-mode .t-doc__sidebar { 889 --scalar-sidebar-background-1: var(--scalar-background-1); 890 } 891 .light-mode .t-doc__header, 892 .dark-mode .t-doc__header { 893 animation: none; 894 background: var(--scalar-header-background-1); 895 backdrop-filter: blur(12px); 896 } 897} 898`,Yrt=`/* basic theme */ 899:root { 900 --scalar-text-decoration: underline; 901 --scalar-text-decoration-hover: underline; 902} 903.light-mode { 904 --scalar-color-1: rgb(9, 9, 11); 905 --scalar-color-2: rgb(113, 113, 122); 906 --scalar-color-3: rgba(25, 25, 28, 0.5); 907 --scalar-color-accent: var(--scalar-color-1); 908 909 --scalar-background-1: #fff; 910 --scalar-background-2: #f4f4f5; 911 --scalar-background-3: #e3e3e6; 912 --scalar-background-accent: #8ab4f81f; 913 914 --scalar-border-color: rgb(228, 228, 231); 915 --scalar-code-language-color-supersede: var(--scalar-color-1); 916} 917.dark-mode { 918 --scalar-color-1: #fafafa; 919 --scalar-color-2: rgb(161, 161, 170); 920 --scalar-color-3: rgba(255, 255, 255, 0.533); 921 --scalar-color-accent: var(--scalar-color-1); 922 923 --scalar-background-1: #09090b; 924 --scalar-background-2: #18181b; 925 --scalar-background-3: #2c2c30; 926 --scalar-background-accent: #8ab4f81f; 927 928 --scalar-border-color: rgba(255, 255, 255, 0.16); 929 --scalar-code-language-color-supersede: var(--scalar-color-1); 930} 931 932/* Document Sidebar */ 933.light-mode .t-doc__sidebar, 934.dark-mode .t-doc__sidebar { 935 --scalar-sidebar-background-1: var(--scalar-background-1); 936 --scalar-sidebar-color-1: var(--scalar-color-1); 937 --scalar-sidebar-color-2: var(--scalar-color-2); 938 --scalar-sidebar-border-color: var(--scalar-border-color); 939 940 --scalar-sidebar-item-hover-color: currentColor; 941 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 942 943 --scalar-sidebar-item-active-background: var(--scalar-background-3); 944 --scalar-sidebar-color-active: var(--scalar-color-accent); 945 946 --scalar-sidebar-search-background: transparent; 947 --scalar-sidebar-search-border-color: var(--scalar-border-color); 948 --scalar-sidebar-search-color: var(--scalar-color-3); 949} 950.light-mode .t-doc__sidebar { 951 --scalar-sidebar-item-active-background: var(--scalar-background-2); 952} 953/* advanced */ 954.light-mode { 955 --scalar-color-green: #069061; 956 --scalar-color-red: #ef0006; 957 --scalar-color-yellow: #edbe20; 958 --scalar-color-blue: #0082d0; 959 --scalar-color-orange: #fb892c; 960 --scalar-color-purple: #5203d1; 961 962 --scalar-button-1: rgba(0, 0, 0, 1); 963 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 964 --scalar-button-1-color: #fff; 965} 966.dark-mode { 967 --scalar-color-green: rgba(69, 255, 165, 0.823); 968 --scalar-color-red: #ff8589; 969 --scalar-color-yellow: #ffcc4d; 970 --scalar-color-blue: #6bc1fe; 971 --scalar-color-orange: #f98943; 972 --scalar-color-purple: #b191f9; 973 974 --scalar-button-1: rgba(255, 255, 255, 1); 975 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 976 --scalar-button-1-color: black; 977} 978/* Custom theme */ 979.dark-mode h2.t-editor__heading, 980.dark-mode .t-editor__page-title h1, 981.dark-mode h1.section-header:not(::selection), 982.dark-mode .markdown h1, 983.dark-mode .markdown h2, 984.dark-mode .markdown h3, 985.dark-mode .markdown h4, 986.dark-mode .markdown h5, 987.dark-mode .markdown h6 { 988 -webkit-text-fill-color: transparent; 989 background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38)); 990 -webkit-background-clip: text; 991 background-clip: text; 992} 993.examples .scalar-card-footer { 994 --scalar-background-3: transparent; 995 padding-top: 0; 996} 997/* Hero section flare */ 998.section-flare { 999 width: 100vw; 1000 height: 550px; 1001 position: absolute; 1002} 1003.section-flare-item:nth-of-type(1) { 1004 position: absolute; 1005 width: 100vw; 1006 height: 550px; 1007 --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%); 1008 --rainbow: repeating-linear-gradient(100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30%); 1009 background-image: var(--stripesDark), var(--rainbow); 1010 background-size: 300%, 200%; 1011 background-position: 1012 50% 50%, 1013 50% 50%; 1014 filter: invert(100%); 1015 -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%); 1016 mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%); 1017 pointer-events: none; 1018 opacity: 0.07; 1019} 1020.dark-mode .section-flare-item:nth-of-type(1) { 1021 background-image: var(--stripesDark), var(--rainbow); 1022 filter: opacity(50%) saturate(200%); 1023 opacity: 0.25; 1024 height: 350px; 1025} 1026.section-flare-item:nth-of-type(1):after {
1027 content: ""; 1028 position: absolute; 1029 top: 0; 1030 right: 0; 1031 bottom: 0; 1032 left: 0; 1033 background-image: var(--stripesDark), var(--rainbow); 1034 background-size: 200%, 100%; 1035 background-attachment: fixed; 1036 mix-blend-mode: difference; 1037} 1038.dark-mode .section-flare:after { 1039 background-image: var(--stripesDark), var(--rainbow); 1040} 1041.section-flare-item:nth-of-type(2) { 1042 --star-color: #fff; 1043 --star-color2: #fff; 1044 --star-color3: #fff; 1045 width: 100%; 1046 height: 100%; 1047 position: absolute; 1048 background-image: 1049 radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)), 1050 radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)), 1051 radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)), 1052 radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)), 1053 radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)), 1054 radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0)); 1055 background-repeat: repeat; 1056 background-size: 200px 200px; 1057 mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%); 1058 opacity: 0.2; 1059} 1060.light-mode *::selection { 1061 background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%); 1062} 1063.dark-mode *::selection { 1064 background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%); 1065} 1066 1067/* document header */ 1068.light-mode .t-doc__header, 1069.dark-mode .t-doc__header { 1070 animation: headerbackground forwards; 1071 animation-timeline: scroll(); 1072 animation-range: 0px 200px; 1073} 1074@keyframes headerbackground { 1075 from { 1076 background: transparent; 1077 backdrop-filter: none; 1078 } 1079 to { 1080 background: var(--scalar-header-background-1); 1081 backdrop-filter: blur(12px); 1082 } 1083} 1084/* remove flare on safari to prevent dropped frames on scroll */ 1085@supports (-webkit-hyphens: none) { 1086 .section-flare { 1087 display: none; 1088 } 1089} 1090 1091/* document background */ 1092.light-mode .t-doc .layout-content, 1093.dark-mode .t-doc .layout-content { 1094 background: transparent; 1095} 1096`,Grt=`/* basic theme */ 1097:root { 1098 --scalar-text-decoration: underline; 1099 --scalar-text-decoration-hover: underline; 1100} 1101.light-mode { 1102 --scalar-background-1: #fff; 1103 --scalar-background-2: #f6f6f6; 1104 --scalar-background-3: #e7e7e7; 1105 --scalar-background-accent: #8ab4f81f; 1106 1107 --scalar-color-1: #1b1b1b; 1108 --scalar-color-2: #757575; 1109 --scalar-color-3: #8e8e8e; 1110 1111 --scalar-color-accent: #0099ff; 1112 --scalar-border-color: #dfdfdf; 1113} 1114.dark-mode { 1115 --scalar-background-1: #0f0f0f; 1116 --scalar-background-2: #1a1a1a; 1117 --scalar-background-3: #272727; 1118 1119 --scalar-color-1: #e7e7e7; 1120 --scalar-color-2: #a4a4a4; 1121 --scalar-color-3: #797979; 1122 1123 --scalar-color-accent: #00aeff; 1124 --scalar-background-accent: #3ea6ff1f; 1125 1126 --scalar-border-color: #2d2d2d; 1127} 1128/* Document Sidebar */ 1129.light-mode, 1130.dark-mode { 1131 --scalar-sidebar-background-1: var(--scalar-background-1); 1132 --scalar-sidebar-color-1: var(--scalar-color-1); 1133 --scalar-sidebar-color-2: var(--scalar-color-2); 1134 --scalar-sidebar-border-color: var(--scalar-border-color); 1135 1136 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1137 --scalar-sidebar-item-hover-color: var(--scalar-sidebar-color-2); 1138 1139 --scalar-sidebar-item-active-background: var(--scalar-background-2); 1140 --scalar-sidebar-color-active: var(--scalar-sidebar-color-1); 1141 1142 --scalar-sidebar-indent-border: var(--scalar-sidebar-border-color); 1143 --scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color); 1144 --scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color); 1145 1146 --scalar-sidebar-search-background: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1)); 1147 --scalar-sidebar-search-color: var(--scalar-color-3); 1148 --scalar-sidebar-search-border-color: var(--scalar-border-color); 1149} 1150/* advanced */ 1151.light-mode { 1152 --scalar-color-green: #069061; 1153 --scalar-color-red: #ef0006; 1154 --scalar-color-yellow: #edbe20; 1155 --scalar-color-blue: #0082d0; 1156 --scalar-color-orange: #ff5800; 1157 --scalar-color-purple: #5203d1; 1158 1159 --scalar-link-color: var(--scalar-color-1); 1160 --scalar-link-color-hover: var(--scalar-link-color); 1161 1162 --scalar-button-1: rgba(0, 0, 0, 1); 1163 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 1164 --scalar-button-1-color: #fff; 1165 1166 --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), transparent 10%); 1167 --scalar-tooltip-color: var(--scalar-color-1); 1168 1169 --scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%); 1170 --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%); 1171 1172 --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%); 1173 --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%); 1174} 1175.dark-mode { 1176 --scalar-color-green: #00b648; 1177 --scalar-color-red: #dc1b19; 1178 --scalar-color-yellow: #ffc90d; 1179 --scalar-color-blue: #4eb3ec; 1180 --scalar-color-orange: #ff8d4d; 1181 --scalar-color-purple: #b191f9; 1182 1183 --scalar-link-color: var(--scalar-color-1); 1184 --scalar-link-color-hover: var(--scalar-link-color); 1185 1186 --scalar-button-1: rgba(255, 255, 255, 1); 1187 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 1188 --scalar-button-1-color: black; 1189 1190 --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%); 1191 --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%); 1192 1193 --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%); 1194 1195 --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%); 1196 --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%); 1197} 1198@supports (color: color(display-p3 1 1 1)) { 1199 .light-mode { 1200 --scalar-color-accent: color(display-p3 0 0.6 1 / 1); 1201 --scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1); 1202 --scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1); 1203 --scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1); 1204 --scalar-color-blue: color(display-p3 0 0.509804 0.815686 / 1); 1205 --scalar-color-orange: color(display-p3 1 0.4 0.02); 1206 --scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1); 1207 } 1208 .dark-mode { 1209 --scalar-color-accent: color(display-p3 0.07 0.67 1); 1210 --scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1); 1211 --scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1); 1212 --scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1); 1213 --scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1); 1214 --scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1); 1215 --scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1); 1216 } 1217} 1218`,Krt=`.light-mode { 1219 --scalar-color-1: #1b1b1b; 1220 --scalar-color-2: #757575; 1221 --scalar-color-3: #8e8e8e; 1222 --scalar-color-accent: #f06292; 1223 1224 --scalar-background-1: #fff; 1225 --scalar-background-2: #f6f6f6; 1226 --scalar-background-3: #e7e7e7; 1227 1228 --scalar-border-color: rgba(0, 0, 0, 0.1); 1229} 1230.dark-mode { 1231 --scalar-color-1: rgba(255, 255, 255, 0.9); 1232 --scalar-color-2: rgba(156, 163, 175, 1); 1233 --scalar-color-3: rgba(255, 255, 255, 0.44); 1234 --scalar-color-accent: #f06292; 1235 1236 --scalar-background-1: #111728; 1237 --scalar-background-2: #1e293b; 1238 --scalar-background-3: #334155; 1239 --scalar-background-accent: #f062921f; 1240 1241 --scalar-border-color: rgba(255, 255, 255, 0.1); 1242} 1243 1244/* Document Sidebar */ 1245.light-mode .t-doc__sidebar, 1246.dark-mode .t-doc__sidebar { 1247 --scalar-sidebar-background-1: var(--scalar-background-1); 1248 --scalar-sidebar-color-1: var(--scalar-color-1); 1249 --scalar-sidebar-color-2: var(--scalar-color-2); 1250 --scalar-sidebar-border-color: var(--scalar-border-color); 1251 1252 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1253 --scalar-sidebar-item-hover-color: currentColor; 1254 1255 --scalar-sidebar-item-active-background: #f062921f; 1256 --scalar-sidebar-color-active: var(--scalar-color-accent); 1257 1258 --scalar-sidebar-search-background: transparent; 1259 --scalar-sidebar-search-color: var(--scalar-color-3); 1260 --scalar-sidebar-search-border-color: var(--scalar-border-color); 1261} 1262 1263/* advanced */ 1264.light-mode { 1265 --scalar-button-1: rgb(49 53 56); 1266 --scalar-button-1-color: #fff; 1267 --scalar-button-1-hover: rgb(28 31 33); 1268 1269 --scalar-color-green: #069061; 1270 --scalar-color-red: #ef0006; 1271 --scalar-color-yellow: #edbe20; 1272 --scalar-color-blue: #0082d0; 1273 --scalar-color-orange: #fb892c; 1274 --scalar-color-purple: #5203d1; 1275 1276 --scalar-scrollbar-color: rgba(0, 0, 0, 0.18); 1277 --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36); 1278} 1279.dark-mode { 1280 --scalar-button-1: #f6f6f6; 1281 --scalar-button-1-color: #000; 1282 --scalar-button-1-hover: #e7e7e7; 1283 1284 --scalar-color-green: #a3ffa9; 1285 --scalar-color-red: #ffa3a3; 1286 --scalar-color-yellow: #fffca3; 1287 --scalar-color-blue: #a5d6ff; 1288 --scalar-color-orange: #e2ae83; 1289 --scalar-color-purple: #d2a8ff; 1290 1291 --scalar-scrollbar-color: rgba(255, 255, 255, 0.24); 1292 --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48); 1293} 1294.section-flare { 1295 width: 100%; 1296 height: 400px; 1297 position: absolute; 1298} 1299.section-flare-item:first-of-type:before { 1300 content: ""; 1301 position: absolute; 1302 top: 0; 1303 right: 0; 1304 bottom: 0; 1305 left: 0; 1306 --stripes: repeating-linear-gradient(100deg, #fff 0%, #fff 0%, transparent 2%, transparent 12%, #fff 17%); 1307 --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 0%, transparent 10%, transparent 12%, #000 17%); 1308 --rainbow: repeating-linear-gradient(100deg, #60a5fa 10%, #e879f9 16%, #5eead4 22%, #60a5fa 30%); 1309 contain: strict; 1310 contain-intrinsic-size: 100vw 40vh; 1311 background-image: var(--stripesDark), var(--rainbow); 1312 background-size: 300%, 200%; 1313 background-position: 1314 50% 50%, 1315 50% 50%; 1316 filter: opacity(20%) saturate(200%); 1317 -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%); 1318 mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%); 1319 pointer-events: none; 1320} 1321.section-flare-item:first-of-type:after {
1322 content: ""; 1323 position: absolute; 1324 top: 0; 1325 right: 0; 1326 bottom: 0; 1327 left: 0; 1328 background-image: var(--stripes), var(--rainbow); 1329 background-size: 200%, 100%; 1330 background-attachment: fixed; 1331 mix-blend-mode: difference; 1332 background-image: var(--stripesDark), var(--rainbow); 1333 pointer-events: none; 1334} 1335.light-mode .section-flare-item:first-of-type:after, 1336.light-mode .section-flare-item:first-of-type:before { 1337 background-image: var(--stripes), var(--rainbow); 1338 filter: opacity(4%) saturate(200%); 1339} 1340`,Jrt=`.light-mode { 1341 color-scheme: light; 1342 --scalar-color-1: #1c1e21; 1343 --scalar-color-2: #757575; 1344 --scalar-color-3: #8e8e8e; 1345 --scalar-color-disabled: #b4b1b1; 1346 --scalar-color-ghost: #a7a7a7; 1347 --scalar-color-accent: #2f8555; 1348 --scalar-background-1: #fff; 1349 --scalar-background-2: #f5f5f5; 1350 --scalar-background-3: #ededed; 1351 --scalar-background-4: rgba(0, 0, 0, 0.06); 1352 --scalar-background-accent: #2f85551f; 1353 1354 --scalar-border-color: rgba(0, 0, 0, 0.1); 1355 --scalar-scrollbar-color: rgba(0, 0, 0, 0.18); 1356 --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36); 1357 --scalar-lifted-brightness: 1; 1358 --scalar-backdrop-brightness: 1; 1359 1360 --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11); 1361 --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px; 1362 1363 --scalar-button-1: rgb(49 53 56); 1364 --scalar-button-1-color: #fff; 1365 --scalar-button-1-hover: rgb(28 31 33); 1366 1367 --scalar-color-green: #007300; 1368 --scalar-color-red: #af272b; 1369 --scalar-color-yellow: #b38200; 1370 --scalar-color-blue: #3b8ba5; 1371 --scalar-color-orange: #fb892c; 1372 --scalar-color-purple: #5203d1; 1373} 1374 1375.dark-mode { 1376 color-scheme: dark; 1377 --scalar-color-1: rgba(255, 255, 255, 0.9); 1378 --scalar-color-2: rgba(255, 255, 255, 0.62); 1379 --scalar-color-3: rgba(255, 255, 255, 0.44); 1380 --scalar-color-disabled: rgba(255, 255, 255, 0.34); 1381 --scalar-color-ghost: rgba(255, 255, 255, 0.26); 1382 --scalar-color-accent: #27c2a0; 1383 --scalar-background-1: #1b1b1d; 1384 --scalar-background-2: #242526; 1385 --scalar-background-3: #3b3b3b; 1386 --scalar-background-4: rgba(255, 255, 255, 0.06); 1387 --scalar-background-accent: #27c2a01f; 1388 1389 --scalar-border-color: rgba(255, 255, 255, 0.1); 1390 --scalar-scrollbar-color: rgba(255, 255, 255, 0.24); 1391 --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48); 1392 --scalar-lifted-brightness: 1.45; 1393 --scalar-backdrop-brightness: 0.5; 1394 1395 --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1); 1396 --scalar-shadow-2: 1397 rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1); 1398 1399 --scalar-button-1: #f6f6f6; 1400 --scalar-button-1-color: #000; 1401 --scalar-button-1-hover: #e7e7e7; 1402 1403 --scalar-color-green: #26b226; 1404 --scalar-color-red: #fb565b; 1405 --scalar-color-yellow: #ffc426; 1406 --scalar-color-blue: #6ecfef; 1407 --scalar-color-orange: #ff8d4d; 1408 --scalar-color-purple: #b191f9; 1409} 1410`,eat=`/* basic theme */ 1411.light-mode { 1412 --scalar-color-1: #1b1b1b; 1413 --scalar-color-2: #757575; 1414 --scalar-color-3: #8e8e8e; 1415 --scalar-color-accent: #7070ff; 1416 1417 --scalar-background-1: #fff; 1418 --scalar-background-2: #f6f6f6; 1419 --scalar-background-3: #e7e7e7; 1420 --scalar-background-accent: #7070ff1f; 1421 1422 --scalar-border-color: rgba(0, 0, 0, 0.1); 1423 1424 --scalar-code-language-color-supersede: var(--scalar-color-3); 1425} 1426.dark-mode { 1427 --scalar-color-1: #f7f8f8; 1428 --scalar-color-2: rgb(180, 188, 208); 1429 --scalar-color-3: #b4bcd099; 1430 --scalar-color-accent: #828fff; 1431 1432 --scalar-background-1: #000212; 1433 --scalar-background-2: #0d0f1e; 1434 --scalar-background-3: #232533; 1435 --scalar-background-accent: #8ab4f81f; 1436 1437 --scalar-border-color: #313245; 1438 --scalar-code-language-color-supersede: var(--scalar-color-3); 1439} 1440/* Document Sidebar */ 1441.light-mode .t-doc__sidebar { 1442 --scalar-sidebar-background-1: var(--scalar-background-1); 1443 --scalar-sidebar-item-hover-color: currentColor; 1444 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1445 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 1446 --scalar-sidebar-border-color: var(--scalar-border-color); 1447 --scalar-sidebar-color-1: var(--scalar-color-1); 1448 --scalar-sidebar-color-2: var(--scalar-color-2); 1449 --scalar-sidebar-color-active: var(--scalar-color-accent); 1450 --scalar-sidebar-search-background: rgba(0, 0, 0, 0.05); 1451 --scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, 0.05); 1452 --scalar-sidebar-search-color: var(--scalar-color-3); 1453 --scalar-background-2: rgba(0, 0, 0, 0.03); 1454} 1455.dark-mode .t-doc__sidebar { 1456 --scalar-sidebar-background-1: var(--scalar-background-1); 1457 --scalar-sidebar-item-hover-color: currentColor; 1458 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1459 --scalar-sidebar-item-active-background: rgba(255, 255, 255, 0.1); 1460 --scalar-sidebar-border-color: var(--scalar-border-color); 1461 --scalar-sidebar-color-1: var(--scalar-color-1); 1462 --scalar-sidebar-color-2: var(--scalar-color-2); 1463 --scalar-sidebar-color-active: var(--scalar-color-accent); 1464 --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1); 1465 --scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, 0.05); 1466 --scalar-sidebar-search-color: var(--scalar-color-3); 1467} 1468/* advanced */ 1469.light-mode { 1470 --scalar-color-green: #069061; 1471 --scalar-color-red: #ef0006; 1472 --scalar-color-yellow: #edbe20; 1473 --scalar-color-blue: #0082d0; 1474 --scalar-color-orange: #fb892c; 1475 --scalar-color-purple: #5203d1; 1476 1477 --scalar-button-1: rgba(0, 0, 0, 1); 1478 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 1479 --scalar-button-1-color: #fff; 1480} 1481.dark-mode { 1482 --scalar-color-green: #00b648; 1483 --scalar-color-red: #dc1b19; 1484 --scalar-color-yellow: #ffc90d; 1485 --scalar-color-blue: #4eb3ec; 1486 --scalar-color-orange: #ff8d4d; 1487 --scalar-color-purple: #b191f9; 1488 1489 --scalar-button-1: rgba(255, 255, 255, 1); 1490 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 1491 --scalar-button-1-color: black; 1492} 1493/* Custom Theme */ 1494.dark-mode h2.t-editor__heading, 1495.dark-mode .t-editor__page-title h1, 1496.dark-mode h1.section-header:not(::selection), 1497.dark-mode .markdown h1, 1498.dark-mode .markdown h2, 1499.dark-mode .markdown h3, 1500.dark-mode .markdown h4, 1501.dark-mode .markdown h5, 1502.dark-mode .markdown h6 { 1503 -webkit-text-fill-color: transparent; 1504 background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38)); 1505 -webkit-background-clip: text; 1506 background-clip: text; 1507} 1508.sidebar-search { 1509 backdrop-filter: blur(12px); 1510} 1511@keyframes headerbackground { 1512 from { 1513 background: transparent; 1514 backdrop-filter: none; 1515 } 1516 to { 1517 background: var(--scalar-header-background-1); 1518 backdrop-filter: blur(12px); 1519 } 1520} 1521.dark-mode .scalar-card { 1522 background: rgba(255, 255, 255, 0.05) !important; 1523} 1524.dark-mode .scalar-card * { 1525 --scalar-background-2: transparent !important; 1526 --scalar-background-1: transparent !important; 1527} 1528.light-mode .dark-mode.scalar-card *, 1529.light-mode .dark-mode.scalar-card { 1530 --scalar-background-1: #0d0f1e !important; 1531 --scalar-background-2: #0d0f1e !important; 1532 --scalar-background-3: #191b29 !important; 1533} 1534.light-mode .dark-mode.scalar-card { 1535 background: #191b29 !important; 1536} 1537.badge { 1538 box-shadow: 0 0 0 1px var(--scalar-border-color); 1539 margin-right: 6px; 1540} 1541 1542.table-row.required-parameter .table-row-item:nth-of-type(2):after { 1543 background: transparent; 1544 box-shadow: none; 1545} 1546/* Hero Section Flare */ 1547.section-flare { 1548 width: 100vw; 1549 background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.3), transparent); 1550 height: 100vh; 1551} 1552.light-mode *::selection { 1553 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%); 1554} 1555.dark-mode *::selection { 1556 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%); 1557} 1558 1559/* document layout */ 1560.light-mode .t-doc .layout-content, 1561.dark-mode .t-doc .layout-content { 1562 background: transparent; 1563} 1564`,tat=`/* basic theme */ 1565.light-mode { 1566 color-scheme: light; 1567 --scalar-color-1: #322b3b; 1568 --scalar-color-2: #645676; 1569 --scalar-color-3: #9789a9; 1570 --scalar-color-accent: #40b4c4; 1571 1572 --scalar-background-1: #fff; 1573 --scalar-background-2: #f4f2f7; 1574 --scalar-background-3: #cfc7dc; 1575 --scalar-background-accent: #f3fafb; 1576 1577 --scalar-border-color: #e4e0eb; 1578} 1579.dark-mode { 1580 color-scheme: dark; 1581 --scalar-color-1: #fff; 1582 --scalar-color-2: #b8b6ba; 1583 --scalar-color-3: #706c74; 1584 --scalar-color-accent: #ed78c2; 1585 1586 --scalar-background-1: #27212e; 1587 --scalar-background-2: #322c39; 1588 --scalar-background-3: #4c4059; 1589 --scalar-background-accent: #eb64b91f; 1590 1591 --scalar-border-color: rgba(255, 255, 255, 0.1); 1592} 1593 1594/* Sidebar */ 1595.light-mode .t-doc__sidebar { 1596 --scalar-sidebar-background-1: var(--scalar-background-1); 1597 --scalar-sidebar-item-hover-color: currentColor; 1598 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1599 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 1600 --scalar-sidebar-border-color: var(--scalar-border-color); 1601 --scalar-sidebar-color-1: var(--scalar-color-1); 1602 --scalar-sidebar-color-2: var(--scalar-color-2); 1603 --scalar-sidebar-color-active: var(--scalar-color-accent); 1604 --scalar-sidebar-search-background: var(--scalar-background-2); 1605 --scalar-sidebar-search-border-color: var(--scalar-sidebar-border-color); 1606 --scalar-sidebar-search--color: var(--scalar-color-3); 1607} 1608.dark-mode .t-doc__sidebar { 1609 --scalar-sidebar-background-1: var(--scalar-background-1); 1610 --scalar-sidebar-item-hover-color: currentColor; 1611 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1612 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 1613 --scalar-sidebar-border-color: var(--scalar-border-color); 1614 --scalar-sidebar-color-1: var(--scalar-color-1); 1615 --scalar-sidebar-color-2: var(--scalar-color-2); 1616 --scalar-sidebar-color-active: var(--scalar-color-accent); 1617 --scalar-sidebar-search-background: var(--scalar-background-2); 1618 --scalar-sidebar-search-border-color: #514c56; 1619 --scalar-sidebar-search--color: var(--scalar-color-3); 1620} 1621/* advanced */ 1622.light-mode { 1623 --scalar-button-1: rgb(49 53 56); 1624 --scalar-button-1-color: #fff; 1625 --scalar-button-1-hover: rgb(28 31 33); 1626 1627 --scalar-color-green: #74dfc4; 1628 --scalar-color-red: #d887f5; 1629 --scalar-color-yellow: #ffe261; 1630 --scalar-color-blue: #40b4c4; 1631 --scalar-color-orange: #ff52bf; 1632 --scalar-color-purple: #91889b; 1633 1634 --scalar-scrollbar-color: rgba(0, 0, 0, 0.18); 1635 --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36); 1636} 1637.dark-mode { 1638 --scalar-button-1: #f6f6f6; 1639 --scalar-button-1-color: #27212e; 1640 --scalar-button-1-hover: #e7e7e7; 1641 1642 --scalar-color-green: #74dfc4; 1643 --scalar-color-red: #d887f5; 1644 --scalar-color-yellow: #ffe261; 1645 --scalar-color-blue: #40b4c4; 1646 --scalar-color-orange: #ff52bf; 1647 --scalar-color-purple: #91889b; 1648 1649 --scalar-scrollbar-color: rgba(255, 255, 255, 0.24); 1650 --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48); 1651} 1652/* Radius */ 1653:root { 1654 --scalar-radius: 2px; 1655 --scalar-radius-lg: 3px; 1656 --scalar-radius-xl: 4px; 1657} 1658/* P3 color support */ 1659@supports (color: color(display-p3 1 1 1)) { 1660 .light-mode { 1661 --scalar-color-accent: color(display-p3 0.25098 0.705882 0.768627 / 1); 1662 --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1); 1663 --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1); 1664 --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1); 1665 --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1); 1666 --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1); 1667 --scalar-color-purple: color(display-p3 0.568627 0.533333 0.60
16677843 / 1); 1668 } 1669 .dark-mode { 1670 --scalar-color-accent: color(display-p3 0.929412 0.470588 0.760784 / 1); 1671 --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1); 1672 --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1); 1673 --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1); 1674 --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1); 1675 --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1); 1676 --scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1); 1677 } 1678} 1679`,nat=`/* basic theme */ 1680:root { 1681 --scalar-text-decoration: underline; 1682 --scalar-text-decoration-hover: underline; 1683} 1684.light-mode { 1685 --scalar-background-1: #f9f6f0; 1686 --scalar-background-2: #f2efe8; 1687 --scalar-background-3: #e9e7e2; 1688 --scalar-border-color: rgba(203, 165, 156, 0.6); 1689 1690 --scalar-color-1: #c75549; 1691 --scalar-color-2: #c75549; 1692 --scalar-color-3: #c75549; 1693 1694 --scalar-color-accent: #c75549; 1695 --scalar-background-accent: #dcbfa81f; 1696 1697 --scalar-code-language-color-supersede: var(--scalar-color-1); 1698} 1699.dark-mode { 1700 --scalar-background-1: #140507; 1701 --scalar-background-2: #20090c; 1702 --scalar-background-3: #321116; 1703 --scalar-border-color: #3c3031; 1704 1705 --scalar-color-1: rgba(255, 255, 255, 0.9); 1706 --scalar-color-2: rgba(255, 255, 255, 0.62); 1707 --scalar-color-3: rgba(255, 255, 255, 0.44); 1708 1709 --scalar-color-accent: rgba(255, 255, 255, 0.9); 1710 --scalar-background-accent: #441313; 1711 1712 --scalar-code-language-color-supersede: var(--scalar-color-1); 1713} 1714 1715/* Document Sidebar */ 1716.light-mode .t-doc__sidebar, 1717.dark-mode .t-doc__sidebar { 1718 --scalar-sidebar-background-1: var(--scalar-background-1); 1719 --scalar-sidebar-color-1: var(--scalar-color-1); 1720 --scalar-sidebar-color-2: var(--scalar-color-2); 1721 --scalar-sidebar-border-color: var(--scalar-border-color); 1722 1723 --scalar-sidebar-item-hover-color: currentColor; 1724 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1725 1726 --scalar-sidebar-item-active-background: var(--scalar-background-3); 1727 --scalar-sidebar-color-active: var(--scalar-color-accent); 1728 1729 --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1); 1730 --scalar-sidebar-search-color: var(--scalar-color-3); 1731 --scalar-sidebar-search-border-color: var(--scalar-border-color); 1732 z-index: 1; 1733} 1734/* advanced */ 1735.light-mode { 1736 --scalar-color-green: #09533a; 1737 --scalar-color-red: #aa181d; 1738 --scalar-color-yellow: #ab8d2b; 1739 --scalar-color-blue: #19689a; 1740 --scalar-color-orange: #b26c34; 1741 --scalar-color-purple: #4c2191; 1742 1743 --scalar-button-1: rgba(0, 0, 0, 1); 1744 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 1745 --scalar-button-1-color: #fff; 1746} 1747.dark-mode { 1748 --scalar-color-green: rgba(69, 255, 165, 0.823); 1749 --scalar-color-red: #ff8589; 1750 --scalar-color-yellow: #ffcc4d; 1751 --scalar-color-blue: #6bc1fe; 1752 --scalar-color-orange: #f98943; 1753 --scalar-color-purple: #b191f9; 1754 1755 --scalar-button-1: rgba(255, 255, 255, 1); 1756 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 1757 --scalar-button-1-color: black; 1758} 1759/* Custom Theme */ 1760.dark-mode h2.t-editor__heading, 1761.dark-mode .t-editor__page-title h1, 1762.dark-mode h1.section-header:not(::selection), 1763.dark-mode .markdown h1, 1764.dark-mode .markdown h2, 1765.dark-mode .markdown h3, 1766.dark-mode .markdown h4, 1767.dark-mode .markdown h5, 1768.dark-mode .markdown h6 { 1769 -webkit-text-fill-color: transparent; 1770 background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38)); 1771 -webkit-background-clip: text; 1772 background-clip: text; 1773} 1774.light-mode .t-doc__sidebar { 1775 --scalar-sidebar-search-background: white; 1776} 1777.examples .scalar-card-footer { 1778 --scalar-background-3: transparent; 1779 padding-top: 0; 1780} 1781/* Hero section flare */ 1782.section-flare { 1783 overflow-x: hidden; 1784 height: 100vh; 1785 left: initial; 1786} 1787.section-flare-item:nth-of-type(1) { 1788 background: #d25019; 1789 position: relative; 1790 top: -150px; 1791 right: -400px; 1792 width: 80vw; 1793 height: 500px; 1794 margin-top: -150px; 1795 border-radius: 50%; 1796 filter: blur(100px); 1797 z-index: 0; 1798} 1799.light-mode .section-flare { 1800 display: none; 1801} 1802*::selection { 1803 background-color: color-mix(in srgb, var(--scalar-color-red), transparent 75%); 1804} 1805 1806/* document layout */ 1807.dark-mode .t-doc .layout-content { 1808 background: transparent; 1809} 1810`,rat=`.light-mode { 1811 color-scheme: light; 1812 --scalar-color-1: #000000; 1813 --scalar-color-2: #000000; 1814 --scalar-color-3: #000000; 1815 --scalar-color-accent: #645b0f; 1816 --scalar-background-1: #ccc9b3; 1817 --scalar-background-2: #c2bfaa; 1818 --scalar-background-3: #b8b5a1; 1819 --scalar-background-accent: #000000; 1820 1821 --scalar-border-color: rgba(0, 0, 0, 0.2); 1822 --scalar-scrollbar-color: rgba(0, 0, 0, 0.18); 1823 --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36); 1824 --scalar-lifted-brightness: 1; 1825 --scalar-backdrop-brightness: 1; 1826 1827 --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11); 1828 --scalar-shadow-2: 1829 rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, var(--scalar-border-color) 0px 0 0 1px; 1830 1831 --scalar-button-1: rgb(49 53 56); 1832 --scalar-button-1-color: #fff; 1833 --scalar-button-1-hover: rgb(28 31 33); 1834 1835 --scalar-color-red: #b91c1c; 1836 --scalar-color-orange: #a16207; 1837 --scalar-color-green: #047857; 1838 --scalar-color-blue: #1d4ed8; 1839 --scalar-color-orange: #c2410c; 1840 --scalar-color-purple: #6d28d9; 1841} 1842 1843.dark-mode { 1844 color-scheme: dark; 1845 --scalar-color-1: #fffef3; 1846 --scalar-color-2: #fffef3; 1847 --scalar-color-3: #fffef3; 1848 --scalar-color-accent: #c3b531; 1849 --scalar-background-1: #313332; 1850 --scalar-background-2: #393b3a; 1851 --scalar-background-3: #414342; 1852 --scalar-background-accent: #fffef3; 1853 1854 --scalar-border-color: #505452; 1855 --scalar-scrollbar-color: rgba(255, 255, 255, 0.24); 1856 --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48); 1857 --scalar-lifted-brightness: 1.45; 1858 --scalar-backdrop-brightness: 0.5; 1859 1860 --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11); 1861 --scalar-shadow-2: 1862 rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1); 1863 1864 --scalar-button-1: #f6f6f6; 1865 --scalar-button-1-color: #000; 1866 --scalar-button-1-hover: #e7e7e7; 1867 1868 --scalar-color-green: #00b648; 1869 --scalar-color-red: #dc1b19; 1870 --scalar-color-yellow: #ffc90d; 1871 --scalar-color-blue: #4eb3ec; 1872 --scalar-color-orange: #ff8d4d; 1873 --scalar-color-purple: #b191f9; 1874} 1875
1876/* Sidebar */ 1877.light-mode .t-doc__sidebar, 1878.dark-mode .t-doc__sidebar { 1879 --scalar-sidebar-background-1: var(--scalar-background-1); 1880 --scalar-sidebar-color-1: var(--scalar-color-1); 1881 --scalar-sidebar-color-2: var(--scalar-color-2); 1882 --scalar-sidebar-border-color: var(--scalar-border-color); 1883 1884 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1885 --scalar-sidebar-item-hover-color: currentColor; 1886 1887 --scalar-sidebar-item-active-background: var(--scalar-background-3); 1888 --scalar-sidebar-color-active: var(--scalar-color-1); 1889 1890 --scalar-sidebar-search-background: transparent; 1891 --scalar-sidebar-search-color: var(--scalar-color-3); 1892 --scalar-sidebar-search-border-color: var(--scalar-border-color); 1893} 1894*::selection { 1895 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 80%); 1896} 1897`,aat=`/* basic theme */ 1898.light-mode { 1899 --scalar-background-1: #fff; 1900 --scalar-background-2: #f5f6f8; 1901 --scalar-background-3: #eceef1; 1902 1903 --scalar-color-1: #1b1b1b; 1904 --scalar-color-2: #757575; 1905 --scalar-color-3: #8e8e8e; 1906 1907 --scalar-color-accent: #5469d4; 1908 --scalar-background-accent: #5469d41f; 1909 1910 --scalar-border-color: rgba(215, 215, 206, 0.68); 1911} 1912.dark-mode { 1913 --scalar-background-1: #15171c; 1914 --scalar-background-2: #1c1e24; 1915 --scalar-background-3: #22252b; 1916 1917 --scalar-color-1: #fafafa; 1918 --scalar-color-2: #c9ced8; 1919 --scalar-color-3: #8c99ad; 1920 1921 --scalar-color-accent: #5469d4; 1922 --scalar-background-accent: #5469d41f; 1923 1924 --scalar-border-color: #3f4145; 1925} 1926/* Document Sidebar */ 1927.light-mode .t-doc__sidebar, 1928.dark-mode .t-doc__sidebar { 1929 --scalar-sidebar-background-1: var(--scalar-background-1); 1930 --scalar-sidebar-color-1: var(--scalar-color-1); 1931 --scalar-sidebar-color-2: var(--scalar-color-2); 1932 --scalar-sidebar-border-color: var(--scalar-border-color); 1933 1934 --scalar-sidebar-item-hover-color: currentColor; 1935 --scalar-sidebar-item-hover-background: var(--scalar-background-3); 1936 1937 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 1938 --scalar-sidebar-color-active: var(--scalar-color-accent); 1939 1940 --scalar-sidebar-search-background: var(--scalar-background-1); 1941 --scalar-sidebar-search-color: var(--scalar-color-3); 1942 --scalar-sidebar-search-border-color: var(--scalar-border-color); 1943} 1944 1945/* advanced */ 1946.light-mode { 1947 --scalar-color-green: #17803d; 1948 --scalar-color-red: #e10909; 1949 --scalar-color-yellow: #edbe20; 1950 --scalar-color-blue: #1763a6; 1951 --scalar-color-orange: #e25b09; 1952 --scalar-color-purple: #5c3993; 1953 1954 --scalar-button-1: rgba(0, 0, 0, 1); 1955 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 1956 --scalar-button-1-color: #fff; 1957} 1958.dark-mode { 1959 --scalar-color-green: #30a159; 1960 --scalar-color-red: #dc1b19; 1961 --scalar-color-yellow: #eec644; 1962 --scalar-color-blue: #2b7abf; 1963 --scalar-color-orange: #f07528; 1964 --scalar-color-purple: #7a59b1; 1965 1966 --scalar-button-1: rgba(255, 255, 255, 1); 1967 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 1968 --scalar-button-1-color: black; 1969} 1970.light-mode *::selection { 1971 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%); 1972} 1973.dark-mode *::selection { 1974 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%); 1975} 1976`,iat=`/* basic theme */ 1977.light-mode { 1978 --scalar-background-1: #f3f3ee; 1979 --scalar-background-2: #e8e8e3; 1980 --scalar-background-3: #e4e4df; 1981 --scalar-border-color: rgba(215, 215, 206, 0.85); 1982 1983 --scalar-color-1: #1b1b1b; 1984 --scalar-color-2: #757575; 1985 --scalar-color-3: #8e8e8e; 1986 1987 --scalar-color-accent: #1763a6; 1988 --scalar-background-accent: #1f648e1f; 1989} 1990.dark-mode { 1991 --scalar-background-1: #09090b; 1992 --scalar-background-2: #18181b; 1993 --scalar-background-3: #2c2c30; 1994 --scalar-border-color: rgba(255, 255, 255, 0.17); 1995 1996 --scalar-color-1: #fafafa; 1997 --scalar-color-2: rgb(161, 161, 170); 1998 --scalar-color-3: rgba(255, 255, 255, 0.533); 1999 2000 --scalar-color-accent: #4eb3ec; 2001 --scalar-background-accent: #8ab4f81f; 2002} 2003/* Document Sidebar */ 2004.light-mode .t-doc__sidebar, 2005.dark-mode .t-doc__sidebar { 2006 --scalar-sidebar-background-1: var(--scalar-background-1); 2007 --scalar-sidebar-color-1: var(--scalar-color-1); 2008 --scalar-sidebar-color-2: var(--scalar-color-2); 2009 --scalar-sidebar-border-color: var(--scalar-border-color); 2010 2011 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 2012 --scalar-sidebar-item-hover-color: currentColor; 2013 2014 --scalar-sidebar-item-active-background: var(--scalar-background-3); 2015 --scalar-sidebar-color-active: var(--scalar-color-1); 2016 2017 --scalar-sidebar-search-background: var(--scalar-background-1); 2018 --scalar-sidebar-search-border-color: var(--scalar-border-color); 2019 --scalar-sidebar-search-color: var(--scalar-color-3); 2020} 2021 2022/* advanced */ 2023.light-mode { 2024 --scalar-color-green: #17803d; 2025 --scalar-color-red: #e10909; 2026 --scalar-color-yellow: #edbe20; 2027 --scalar-color-blue: #1763a6; 2028 --scalar-color-orange: #e25b09; 2029 --scalar-color-purple: #5c3993; 2030 2031 --scalar-button-1: rgba(0, 0, 0, 1); 2032 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 2033 --scalar-button-1-color: #fff; 2034} 2035.dark-mode { 2036 --scalar-color-green: #30a159; 2037 --scalar-color-red: #dc1b19; 2038 --scalar-color-yellow: #eec644; 2039 --scalar-color-blue: #2b7abf; 2040 --scalar-color-orange: #f07528; 2041 --scalar-color-purple: #7a59b1; 2042 2043 --scalar-button-1: rgba(255, 255, 255, 1); 2044 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 2045 --scalar-button-1-color: black; 2046} 2047.dark-mode h2.t-editor__heading, 2048.dark-mode .t-editor__page-title h1, 2049.dark-mode h1.section-header:not(::selection), 2050.dark-mode .markdown h1, 2051.dark-mode .markdown h2, 2052.dark-mode .markdown h3, 2053.dark-mode .markdown h4, 2054.dark-mode .markdown h5, 2055.dark-mode .markdown h6 { 2056 -webkit-text-fill-color: transparent; 2057 background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38)); 2058 -webkit-background-clip: text; 2059 background-clip: text; 2060} 2061.light-mode *::selection { 2062 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%); 2063} 2064.dark-mode *::selection { 2065 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%); 2066} 2067`,oat=`.light-mode { 2068 color-scheme: light; 2069 --scalar-color-1: #584c27; 2070 --scalar-color-2: #616161; 2071 --scalar-color-3: #a89f84; 2072 --scalar-color-accent: #b58900; 2073 --scalar-background-1: #fdf6e3; 2074 --scalar-background-2: #eee8d5; 2075 --scalar-background-3: #ddd6c1; 2076 --scalar-background-accent: #b589001f; 2077 2078 --scalar-border-color: #ded8c8; 2079 --scalar-scrollbar-color: rgba(0, 0, 0, 0.18); 2080 --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36); 2081 --scalar-lifted-brightness: 1; 2082 --scalar-backdrop-brightness: 1; 2083 2084 --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11); 2085 --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0p
2085x 0 0 1px; 2086 2087 --scalar-button-1: rgb(49 53 56); 2088 --scalar-button-1-color: #fff; 2089 --scalar-button-1-hover: rgb(28 31 33); 2090 2091 --scalar-color-red: #b91c1c; 2092 --scalar-color-orange: #a16207; 2093 --scalar-color-green: #047857; 2094 --scalar-color-blue: #1d4ed8; 2095 --scalar-color-orange: #c2410c; 2096 --scalar-color-purple: #6d28d9; 2097} 2098 2099.dark-mode { 2100 color-scheme: dark; 2101 --scalar-color-1: #fff; 2102 --scalar-color-2: #cccccc; 2103 --scalar-color-3: #6d8890; 2104 --scalar-color-accent: #007acc; 2105 --scalar-background-1: #00212b; 2106 --scalar-background-2: #012b36; 2107 --scalar-background-3: #004052; 2108 --scalar-background-accent: #015a6f; 2109 2110 --scalar-border-color: #2f4851; 2111 --scalar-scrollbar-color: rgba(255, 255, 255, 0.24); 2112 --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48); 2113 --scalar-lifted-brightness: 1.45; 2114 --scalar-backdrop-brightness: 0.5; 2115 2116 --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1); 2117 --scalar-shadow-2: 2118 rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1); 2119 2120 --scalar-button-1: #f6f6f6; 2121 --scalar-button-1-color: #000; 2122 --scalar-button-1-hover: #e7e7e7; 2123 2124 --scalar-color-green: #00b648; 2125 --scalar-color-red: #dc1b19; 2126 --scalar-color-yellow: #ffc90d; 2127 --scalar-color-blue: #4eb3ec; 2128 --scalar-color-orange: #ff8d4d; 2129 --scalar-color-purple: #b191f9; 2130} 2131 2132/* Sidebar */ 2133.light-mode .t-doc__sidebar { 2134 --scalar-sidebar-background-1: var(--scalar-background-1); 2135 --scalar-sidebar-item-hover-color: currentColor; 2136 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 2137 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 2138 --scalar-sidebar-border-color: var(--scalar-border-color); 2139 --scalar-sidebar-color-1: var(--scalar-color-1); 2140 --scalar-sidebar-color-2: var(--scalar-color-2); 2141 --scalar-sidebar-color-active: var(--scalar-color-accent); 2142 --scalar-sidebar-search-background: var(--scalar-background-2); 2143 --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background); 2144 --scalar-sidebar-search--color: var(--scalar-color-3); 2145} 2146 2147.dark-mode .t-doc__sidebar { 2148 --scalar-sidebar-background-1: var(--scalar-background-1); 2149 --scalar-sidebar-item-hover-color: currentColor; 2150 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 2151 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 2152 --scalar-sidebar-border-color: var(--scalar-border-color); 2153 --scalar-sidebar-color-1: var(--scalar-color-1); 2154 --scalar-sidebar-color-2: var(--scalar-color-2); 2155 --scalar-sidebar-color-active: var(--scalar-sidebar-color-1); 2156 --scalar-sidebar-search-background: var(--scalar-background-2); 2157 --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background); 2158 --scalar-sidebar-search--color: var(--scalar-color-3); 2159} 2160*::selection { 2161 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%); 2162} 2163`;function sat(){if(typeof window>"u")return!1;const e=document.createElement("div");e.setAttribute("style","width:30px;height:30px;overflow-y:scroll;"),e.classList.add("scrollbar-test");const t=document.createElement("div");t.setAttribute("style","width:100%;height:40px"),e.appendChild(t),document.body.appendChild(e);const n=30-e.firstChild.clientWidth;return document.body.removeChild(e),!!n}var lat=["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"],cat={default:"Default",alternate:"Alternate",moon:"Moon",purple:"Purple",solarized:"Solarized",elysiajs:"Elysia.js",fastify:"Fastify",bluePlanet:"Blue Planet",saturn:"Saturn",kepler:"Kepler-11e",mars:"Mars",deepSpace:"Deep Space",laserwave:"Laserwave",none:"None"},wz={default:{uid:"qTQR9jSM8E-LihpyZzPOi",name:"Default",description:"Default Scalar theme",theme:Grt,slug:"default"},alternate:{uid:"2skUDSH4S8HYFF9yXysr-",name:"Alternate",description:"Alternate Scalar theme",theme:Xrt,slug:"alternate"},moon:{uid:"DG9ZUNp5lJhDeX_kPX4Bl",name:"Moon",description:"Lunar styles",theme:rat,slug:"moon"},purple:{uid:"pE_1ysxcZ-y2LM1GGNBUv",name:"Purple",description:"Purple Scalar theme",theme:aat,slug:"purple"},solarized:{uid:"BdGVG1vf-4nYl3wJKyj8l",name:"Solarized",description:"Solarized Scalar theme",theme:oat,slug:"solarized"},bluePlanet:{uid:"X12IfAvl7ue-42V2lW40S",name:"Blue Planet",description:"Blue Planet Scalar theme",theme:Wrt,slug:"blue-planet"},deepSpace:{uid:"K8b38NWQiicq4-zXGXKdI",name:"Deep Space",description:"Deep Space Scalar theme",theme:Yrt,slug:"deep-space"},saturn:{uid:"1jyAjmbIZQG-RUU4Ugk9o",name:"Saturn",description:"Saturn Scalar theme",theme:iat,slug:"saturn"}
2163,kepler:{uid:"jZ6dnWbtqQ0Hz3s9jLPH0",name:"Kepler-11e",description:"Kepler-11e Scalar theme",theme:eat,slug:"kepler-11e"},mars:{uid:"YY4LQgwiXix55-TmMz9qd",name:"Mars",description:"Mars Scalar theme",theme:nat,slug:"mars"},laserwave:{uid:"c5fZEi-K-hP-xXf885dkf",name:"Laserwave",description:"Laserwave Scalar theme",theme:tat,slug:"laserwave"},elysiajs:{uid:"nEVZkRmCylPkT0o9YJa7y",name:"Elysia.js",description:"Elysia.js theme",theme:Krt,slug:"elysiajs"},fastify:{uid:"nTZcdcM2_yHFZFxTQe9Kk",name:"Fastify",description:"Fastify theme",theme:Jrt,slug:"fastify"}},uat=(e,t)=>{const{fonts:n=!0,layer:r="scalar-theme"}=t??{},a=[wz[e||"default"]?.theme??`/* basic theme */ 2164:root { 2165 --scalar-text-decoration: underline; 2166 --scalar-text-decoration-hover: underline; 2167} 2168.light-mode { 2169 --scalar-background-1: #fff; 2170 --scalar-background-2: #f6f6f6; 2171 --scalar-background-3: #e7e7e7; 2172 --scalar-background-accent: #8ab4f81f; 2173 2174 --scalar-color-1: #1b1b1b; 2175 --scalar-color-2: #757575; 2176 --scalar-color-3: #8e8e8e; 2177 2178 --scalar-color-accent: #0099ff; 2179 --scalar-border-color: #dfdfdf; 2180} 2181.dark-mode { 2182 --scalar-background-1: #0f0f0f; 2183 --scalar-background-2: #1a1a1a; 2184 --scalar-background-3: #272727; 2185 2186 --scalar-color-1: #e7e7e7; 2187 --scalar-color-2: #a4a4a4; 2188 --scalar-color-3: #797979; 2189 2190 --scalar-color-accent: #00aeff; 2191 --scalar-background-accent: #3ea6ff1f; 2192 2193 --scalar-border-color: #2d2d2d; 2194} 2195/* Document Sidebar */ 2196.light-mode, 2197.dark-mode { 2198 --scalar-sidebar-background-1: var(--scalar-background-1); 2199 --scalar-sidebar-color-1: var(--scalar-color-1); 2200 --scalar-sidebar-color-2: var(--scalar-color-2); 2201 --scalar-sidebar-border-color: var(--scalar-border-color); 2202 2203 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 2204 --scalar-sidebar-item-hover-color: var(--scalar-sidebar-color-2); 2205 2206 --scalar-sidebar-item-active-background: var(--scalar-background-2); 2207 --scalar-sidebar-color-active: var(--scalar-sidebar-color-1); 2208 2209 --scalar-sidebar-indent-border: var(--scalar-sidebar-border-color); 2210 --scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color); 2211 --scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color); 2212 2213 --scalar-sidebar-search-background: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1)); 2214 --scalar-sidebar-search-color: var(--scalar-color-3); 2215 --scalar-sidebar-search-border-color: var(--scalar-border-color); 2216} 2217/* advanced */ 2218.light-mode { 2219 --scalar-color-green: #069061; 2220 --scalar-color-red: #ef0006; 2221 --scalar-color-yellow: #edbe20; 2222 --scalar-color-blue: #0082d0; 2223 --scalar-color-orange: #ff5800; 2224 --scalar-color-purple: #5203d1; 2225 2226 --scalar-link-color: var(--scalar-color-1); 2227 --scalar-link-color-hover: var(--scalar-link-color); 2228 2229 --scalar-button-1: rgba(0, 0, 0, 1); 2230 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 2231 --scalar-button-1-color: #fff; 2232 2233 --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), transparent 10%); 2234 --scalar-tooltip-color: var(--scalar-color-1); 2235 2236 --scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%); 2237 --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%); 2238 2239 --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%); 2240 --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%); 2241} 2242.dark-mode { 2243 --scalar-color-green: #00b648; 2244 --scalar-color-red: #dc1b19; 2245 --scalar-color-yellow: #ffc90d; 2246 --scalar-color-blue: #4eb3ec; 2247 --scalar-color-orange: #ff8d4d; 2248 --scalar-color-purple: #b191f9; 2249 2250 --scalar-link-color: var(--scalar-color-1); 2251 --scalar-link-color-hover: var(--scalar-link-color); 2252 2253 --scalar-button-1: rgba(255, 255, 255, 1); 2254 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 2255 --scalar-button-1-color: black; 2256 2257 --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%); 2258 --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%); 2259 2260 --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%); 2261 2262 --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%); 2263 --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%); 2264} 2265@supports (color: color(display-p3 1 1 1)) { 2266 .light-mode { 2267 --scalar-color-accent: color(display-p3 0 0.6 1 / 1); 2268 --scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1); 2269 --scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1); 2270 --scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1); 2271 --scalar-color-blue: color(display-p3 0 0.509804 0.815686 / 1); 2272 --scalar-color-orange: color(display-p3 1 0.4 0.02); 2273 --scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1); 2274 } 2275 .dark-mode { 2276 --scalar-color-accent: color(display-p3 0.07 0.67 1); 2277 --scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1); 2278 --scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1); 2279 --scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1); 2280 --scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1); 2281 --scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1); 2282 --scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1); 2283 } 2284} 2285`,n?Zrt:""].join("");return r?`@layer ${r} { 2286${a}}`:a},dat=["--scalar-color-1","--scalar-color-2","--scalar-color-3","--scalar-background-1","--scalar-background-2","--scalar-background-3","--scalar-color-accent"];function g4(e,t){const n=[...t.matchAll(new RegExp(`(${e}): ([^;]+);`,"gm"))];return n.length===0?{}:Object.fromEntries(n.map(r=>[r[1],r[2]]))}function vC(e){return e?{...g4("--scalar-color-[1-3]",e),...g4("--scalar-background-[1-3]",e),...g4("--scalar-color-accent",e)}
2286:{}}function fat(e){return{colors:I(()=>({light:vC(pt(e).match(/\.light-mode[^{]*{[^}]*}/m)?.[0]),dark:vC(pt(e).match(/\.dark-mode[^{]*{[^}]*}/m)?.[0])}))}}var pat=Q({inheritAttrs:!1,__name:"ScalarThemeSwatches",props:{css:{}},setup(e){const{colors:t}=fat(()=>e.css),{cx:n}=At();return(r,a)=>(g(),S("div",Ae({style:{"--bg-light":m(t).light["--scalar-background-1"],"--bg-dark":m(t).dark["--scalar-background-1"]}},m(n)("flex *:size-3 overflow-hidden rounded","bg-(--bg-light) dark:bg-(--bg-dark)")),[(g(!0),S(le,null,it(m(dat),i=>(g(),S("div",{key:i,class:"bg-(--bg-light) dark:bg-(--bg-dark)",style:kr({"--bg-light":m(t).light[i],"--bg-dark":m(t).dark[i]})},null,4))),128))],16))}}),OC=pat,hat={class:"min-w-0 flex-1 truncate text-left"},mat={class:"text-c-1 inline-block min-w-0 flex-1 truncate"},gat=Q({__name:"ApiReferenceToolbarConfigTheme",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=yn(e,"modelValue"),n=I(()=>lat.filter(a=>a!=="none").map(a=>({id:a,label:cat[a],css:wz[a].theme}))),r=I({get:()=>{const a=t.value??"default";return n.value.find(i=>i.id===a)??n.value[0]},set:a=>t.value=a.id});return(a,i)=>(g(),L(m(ov),{modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=o=>r.value=o),options:n.value,resize:""},{default:P(({open:o})=>[N(m(Dy),null,{default:P(()=>[w("div",hat,V(r.value.label),1),N(m(OC),{class:"mr-2",css:r.value.css},null,8,["css"]),N(m(xi),{class:Se(["size-3.5 transition-transform",{"rotate-180":o}])},null,8,["class"])]),_:2},1024)]),option:P(({selected:o,option:s})=>[N(m(Ly),{selected:o},null,8,["selected"]),w("span",mat,V(s.label),1),N(m(OC),{css:s.css},null,8,["css"])]),_:1},8,["modelValue","options"]))}}),bat=gat,yat={class:"flex flex-col gap-4"},vat=Q({__name:"ModifyConfiguration",props:xn({configuration:{}},{overrides:{},overridesModifiers:{}}),emits:["update:overrides"],setup(e){const t=yn(e,"overrides"),{translate:n}=Ot(),r=I(()=>av({...t.value,...e.configuration,...t.value})),a=I({get:()=>t.value?.theme??e.configuration?.theme??"default",set:o=>t.value={...t.value,theme:o}}),i=I({get:()=>t.value?.layout??e.configuration?.layout??"modern",set:o=>t.value={...t.value,layout:o}});return(o,s)=>(g(),L(vv,{class:"w-120"},{label:P(()=>[J(V(m(n)("developerTools.configure")),1)]),default:P(()=>[N(m(e5),null,{label:P(()=>[J(V(m(n)("developerTools.scalarConfiguration")),1)]),default:P(()=>[N(m(iv),{class:"bg-b-1.5 flex max-h-40 flex-col rounded border text-sm",content:r.value,lang:"json"},null,8,["content"])]),_:1}),w("div",yat,[N(m(m4),null,{label:P(()=>[J(V(m(n)("developerTools.theme")),1)]),default:P(()=>[N(bat,{modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=l=>a.value=l)},null,8,["modelValue"])]),_:1}),N(m(m4),null,{label:P(()=>[J(V(m(n)("developerTools.layout")),1)]),default:P(()=>[N(Lrt,{modelValue:i.value,"onUpdate:modelValue":s[1]||(s[1]=l=>i.value=l)},null,8,["modelValue"])]),_:1}),N(m(m4),{is:"div"},{label:P(()=>[J(V(m(n)("developerTools.layoutOptions")),1)]),default:P(()=>[N(qrt,{modelValue:t.value,"onUpdate:modelValue":s[2]||(s[2]=l=>t.value=l),configuration:e.configuration},null,8,["modelValue","configuration"])]),_:1})])]),_:1}))}}),Oat=vat,Sat={class:"flex items-center flex-1 relative"},wat={key:0,class:"select-none whitespace-nowrap text-transparent"},xat=["aria-readonly","readonly"],kat={key:1,class:"absolute flex items-center inset-0 select-none overflow-hidden whitespace-nowrap"},Aat={key:0,class:"text-c-2"},Tat={class:"text-transparent"},Eat={key:1,class:"text-c-2"},_at=Q({inheritAttrs:!1,__name:"ScalarTextInput",props:xn({readonly:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:xn(["click"],["update:modelValue"]),setup(e,{emit:t}){const n=t,r=yn(e,"modelValue"),a=K(),{stylingAttrsCx:i,otherAttrs:o}=At();Mt(()=>{"autofocus"in o.value&&a.value?.focus()});function s(l){n("click",l),e.readonly?a.value?.select():a.value?.focus()}return(l,c)=>(g(),L(m(Dy),Ae({is:"div"},m(i)("cursor-text bg-b-1 text-c-1 dark:bg-b-1.5"),{onClick:s}),{default:P(()=>[w("div",Sat,[l.$slots.prefix?(g(),S("div",wat,[H(l.$slots,"prefix")])):B("",!0),ti(w("input",Ae({ref_key:"input",ref:
2286a,"onUpdate:modelValue":c[0]||(c[0]=u=>r.value=u),"aria-readonly":e.readonly||void 0,class:"z-1 min-w-0 flex-1 rounded-none border-none bg-transparent placeholder:font-[inherit] focus-within:outline-none",readonly:e.readonly},m(o)),null,16,xat),[[j9,r.value]]),l.$slots.prefix||l.$slots.suffix?(g(),S("div",kat,[l.$slots.prefix?(g(),S("span",Aat,[H(l.$slots,"prefix")])):B("",!0),w("span",Tat,V(r.value||l.$attrs.placeholder),1),l.$slots.suffix?(g(),S("span",Eat,[H(l.$slots,"suffix")])):B("",!0)])):B("",!0)]),H(l.$slots,"aside")]),_:3},16))}}),Cat=_at,$at=Q({__name:"ScalarTextInputCopy",props:xn({duration:{default:1500},editable:{type:Boolean},immediate:{type:Boolean}},{modelValue:{},modelModifiers:{},copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:modelValue","update:copied"],setup(e){Mt(()=>{e.immediate&&t.value&&r(t.value)});const t=yn(e,"modelValue"),n=yn(e,"copied"),{copy:r,copied:a}=VD({legacy:!0,copiedDuring:e.duration});return qe(a,i=>n.value=i),(i,o)=>(g(),L(Cat,{modelValue:t.value,"onUpdate:modelValue":o[1]||(o[1]=s=>t.value=s),readonly:!e.editable,onClick:o[2]||(o[2]=s=>t.value&&m(r)(t.value))},{aside:P(()=>[N(m(dQ),{class:"z-1 bg-b-1 hover:bg-b-1.5 dark:bg-b-2 dark:hover:bg-b-2",copied:n.value||m(a),placement:"left",onClick:o[0]||(o[0]=jt(s=>t.value&&m(r)(t.value),["stop"]))},lr({backdrop:P(()=>[N(m(rv),{class:"bg-b-1 group-hover/copy-button:bg-b-1.5 dark:bg-b-1.5 dark:group-hover/copy-button:bg-b-1.5"})]),_:2},[i.$slots.copy?{name:"copy",fn:P(()=>[H(i.$slots,"copy")]),key:"0"}:void 0,i.$slots.copied?{name:"copied",fn:P(()=>[H(i.$slots,"copied")]),key:"1"}:void 0]),1032,["copied"])]),_:3},8,["modelValue","readonly"]))}}),Pat=$at,Iat=Q({__name:"ApiReferenceToolbarShareTemporary",props:xn({workspace:{},externalUrls:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){const{toast:t}=ru(),n=Pp(),{translate:r}=Ot(),a=yn(e,"url");async function i(){if(n.isLoading||!e.workspace||a.value)return;n.start();const o=e.workspace.exportActiveDocument("json");if(!o){t(r("developerTools.unableToExportDocument"),"error"),await n.invalidate();return}try{const s=await Zx(o,e.externalUrls);await n.validate({duration:900,persist:!0}),a.value=s}catch(s){const l=s instanceof Error?s.message:r("developerTools.unknownError");t(l,"error"),await n.invalidate()}}return(o,s)=>(g(),S(le,null,[a.value?(g(),L(m(Pat),{key:0,immediate:"",modelValue:a.value,name:"temporary-link",placeholder:`${e.externalUrls.registryUrl}/share/apis/â¦`},null,8,["modelValue","placeholder"])):(g(),L(m(Ln),{key:1,class:"h-auto p-2.5",loader:m(n),variant:"gradient",onClick:i},{default:P(()=>[J(V(m(r)("developerTools.uploadDocument")),1)]),_:1},8,["loader"])),N(Oz,{class:"-mt-1"},{default:P(()=>[J(V(m(r)("developerTools.temporaryLinkExpiration")),1)]),_:1})],64))}}),Nat=Iat,Rat={class:"text-c-2 mb-2 leading-normal"},Mat=Q({__name:"ShareApiReference",props:{workspace:{},externalUrls:{}},setup(e){const{translate:t}=Ot();return(n,r)=>(g(),L(vv,{class:"w-120"},{label:P(()=>[J(V(m(t)("developerTools.share")),1)]),default:P(()=>[N(m(e5),null,{label:P(()=>[J(V(m(t)("developerTools.shareTitle")),1)]),default:P(()=>[w("p",Rat,V(m(t)("developerTools.shareDescription")),1),N(Nat,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])]),_:1})]),_:1}))}}),Lat=Mat,Dat=["aria-label"],Bat={class:"-mx-2 flex max-w-(--refs-content-max-width) flex-1 items-center"},Uat={class:"flex flex-1 items-center"},jat=Q({__name:"DeveloperTools",props:xn({workspace:{},configuration:{},externalUrls:{}},{overrides:{},overridesModifiers:{}}),emits:["update:overrides"],setup(e){const t=yn(e,"overrides"),{translate:n}=Ot(),r=I(()=>e.configuration?.showDeveloperTools==="always"?!0:e.configuration?.showDeveloperTools==="never"||typeof window>"u"?!1:qf(window.location.href));return(a,i)=>r.value?(g(),S("header",{key:0,"aria-label":m(n)("developerTools.title"),class:"api-reference-toolbar bg-b-1 relative z-1 flex h-10 justify-center border-b px-15"},[w("div",Bat,[w("div",Uat,[N(srt)]),N(Oat,{overrides:t.value,"onUpdate:overrides":i[0]||(i[0]=o=>t.value=o),configuration:e.configuration},null,8,["overrides","configuration"]),e.workspace?(g(),S(le,{key:0},[N(Lat,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"]),N(Trt,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])],64)):B("",!0)])],8,Dat)):B("",!0)}}),Qat=jat,Fat={key:0,class:"document-selector px-3 pt-3"},zat={class:"group/dropdown-label text-c-2 hover:text-c-1 flex w-full cursor-pointer items-center gap-1 font-medium",type:"button"},Vat={class:"overflow-hidden text-base text-ellipsis"},Hat=Q({__name:"DocumentSelector",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,a=I(()=>n.options.map(o=>({id:o.id,label:o.label}))),i=I(()=>a.value.find(o=>o.id===n.modelValue));return(o,s)=>e.options.length>1?(g(),S("div",Fat,[N(m(nu),{modelValue:i.value,options:a.value,resize:"","onUpdate:modelValue":s[0]||(s[0]=l=>r("update:modelValue",l.id))},{default:P(({open:l})=>[w("button",zat,[w("span",Vat,V(i.value?.label||"Select API"),1),N(m(xi),{class:Se(["size-3 text-current transition-transform",{"rotate-180":l}]),weight:"bold"},null,8,["class"])])]),_:1},8,["modelValue","options"])])):B("",!0)}}),SC=Hat,qat=e=>{const t={},n=r=>{for(const a of r)a.type==="model"&&(t[a.name]??=a.id),"children"in a&&a.children?.length&&n(a.children)};return n(e),t},Zat=()=>typeof window>"u"||typeof window?.matchMedia!="function"?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
2286k":"light";function Xat(){try{return new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})}catch{return new MouseEvent("click",{bubbles:!0,cancelable:!0})}}async function Wat(e){try{return JSON.parse(e)}catch{const{parse:t}=await Be(async()=>{const{parse:n}=await import("./index-JCMhhTSd.js");return{parse:n}},__vite__mapDeps([87,1,2]));return t(e,{maxAliasCount:1e4,merge:!0})}}function Yat(e){const t=e.trimStart();return t.startsWith("{")||t.startsWith("[")?"json":"yaml"}async function Gat(e,t,n){if(t===n)return e;const r=await Wat(e);if(n==="json")return JSON.stringify(r,null,2);const{stringify:a}=await Be(async()=>{const{stringify:i}=await import("./index-JCMhhTSd.js");return{stringify:i}},__vite__mapDeps([87,1,2]));return a(r)}async function Kat(e,t,n){const r=Yat(e),a=n??r,i=`${t??"openapi"}.${a}`,o=a==="json"?"application/json":"application/x-yaml",s=await Gat(e,r,a),l=new Blob([s],{type:o}),c=URL.createObjectURL(l),u=document.createElement("a");u.href=c,u.download=i,u.dispatchEvent(Xat()),setTimeout(()=>{window.URL.revokeObjectURL(c),u.remove()},100)}var Jat=e=>{const t=eB().get();kUe(t)&&!e.workspace["x-scalar-default-client"]&&e.update("x-scalar-default-client",t)},eit=(e,t)=>{const n=tB().getAuth(t);e.auth.load({[t]:n})},tit=(e,t)=>{const n={hooks:{}};return qe([()=>e.value.onBeforeRequest,()=>e.value.onRequestBuilt,()=>e.value.onRequestSent,()=>t.value],([r,a,i,o])=>{const s=xm(o);n.hooks||(n.hooks={}),n.hooks.beforeRequest=r?async l=>{const c=$ue(l.requestBuilder,{envVariables:s,allowMissingRequestServerBase:!0});if(!c.ok){console.error("[@scalar/api-reference] onBeforeRequest was not run because the request could not be built:",c.message??c.error);return}await r({request:Bue(...c.data.requestPayload),requestBuilder:l.requestBuilder,envVariables:s})}:void 0,n.hooks.requestBuilt=a?async l=>{await a({request:l.request,requestBuilder:l.requestBuilder,envVariables:s})}:void 0,n.hooks.responseReceived=i?l=>{i(l.request.url)}:void 0},{immediate:!0}),[n]};const xz=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Lm={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},nit={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},kz={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${xl(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?xl(e):`${xl(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${xl(e)} ${t}`}},charset:{}};function xl(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return n===-1?t:Lm.META.has(t.slice(0,n))||Lm.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Az(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>String(n)!=="false"&&t))}function Yw(e){return Array.isArray(e)?e.map(Yw):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,n])=>[xl(t),Yw(n)]))}function Tz(e,t={}){const{entrySeparator:n="",keyValueSeparator:r="",wrapValue:a,resolve:i}=t;return Object.entries(e).map(([o,s])=>{if(i){const c=i({key:o,value:s});if(c!==void 0)return c}const l=typeof s=="object"?Tz(s,t):typeof s=="number"?s.toString():typeof s=="string"&&a?`${a}${s.replace(new RegExp(a,"g"),`\\${a}`)}${a}`:s;return`${o}${r}${l}`}).join(n)}function wC(e,t){const n=Az(t),r=xl(e),a=Ez(r);if(!xz.has(r))return[{[a]:r,...n}];const i=Object.fromEntries(Object.entries(n).map(([o,s])=>[`${e}${o==="url"?"":`${o[0].toUpperCase()}${o.slice(1)}`}`,s]));return Y2(i||{}).sort((o,s)=>(o[a]?.length||0)-(s[a]?.length||0))}function Ez(e){if(kz[e]?.metaKey==="http-equiv"||Lm.HTTP_EQUIV.has(e))return"http-equiv";const t=xl(e),n=t.indexOf(":");return n===-1?"name":Lm.OG.has(t.slice(0,n))?"property":"name"}function rit(e){return nit[e]||xl(e)}function ait(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:Tz(Yw(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:n,key:r})=>n===null?"":typeof n=="boolean"?r:void 0,...kz[t]?.unpack})}function Y2(e){const t=[],n={};for(const[a,i]of Object.entries(e)){if(Array.isArray(i)){if(a==="theme
2286Color"){i.forEach(o=>{typeof o=="object"&&o!==null&&t.push({name:"theme-color",...o})});continue}for(const o of i)if(typeof o=="object"&&o!==null){const s=[],l=[];for(const[c,u]of Object.entries(o)){const d=`${a}${c==="url"?"":`:${c}`}`,f=Y2({[d]:u});(c==="url"?s:l).push(...f)}t.push(...s,...l)}else t.push(...typeof o=="string"?Y2({[a]:o}):wC(a,o));continue}if(typeof i=="object"&&i)if(Lm.MEDIA.has(a)){const o=a.startsWith("twitter")?"twitter":"og",s=a.replace(/^(og|twitter)/,"").toLowerCase(),l=o==="twitter"?"name":"property";i.url&&t.push({[l]:`${o}:${s}`,content:i.url}),i.secureUrl&&t.push({[l]:`${o}:${s}:secure_url`,content:i.secureUrl});for(const[c,u]of Object.entries(i))c!=="url"&&c!=="secureUrl"&&t.push({[l]:`${o}:${s}:${c}`,content:u})}else xz.has(xl(a))?t.push(...wC(a,i)):n[a]=Az(i);else n[a]=i}const r=Object.entries(n).map(([a,i])=>{if(a==="charset")return{charset:i===null?"_null":i};const o=Ez(a),s=rit(a),l=i===null?"_null":typeof i=="object"?ait(i,a):typeof i=="number"?i.toString():i;return o==="http-equiv"?{"http-equiv":s,content:l}:{[o]:s,content:l}});return[...t,...r].map(a=>"content"in a&&a.content==="_null"?{...a,content:null}:a)}const iit={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(n=>n.tag!=="_flatMeta"?n:(t.push(Y2(n.props).map(r=>({...n,tag:"meta",props:r}))),!1)).filter(Boolean).concat(...t)}}};function Gw(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const a=t?t(n,e):e;if(Array.isArray(a))return a.map(i=>Gw(i,t));if(a?.constructor===Object){const i={};for(const o of Object.keys(a))i[o]=Gw(a[o],t,o);return i}return a}const oit=(e,t)=>p8(t)?pt(t):t,sit="usehead";function _z(){if(FX()){const e=Rn(sit);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function lit(e,t={}){const n=t.head||_z();return n.ssr?n.push(e||{},t):cit(n,e,t)}function cit(e,t,n={}){const r=K(!1);let a;return cr(()=>{const o=r.value?{}:Gw(t,oit);a?a.patch(o):a=e.push(o,n)}),g8()&&(to(()=>{a.dispose()}),zX(()=>{r.value=!0}),VX(()=>{r.value=!1})),a}function uit(e={},t={}){(t.head||_z()).use(iit);const{title:r,titleTemplate:a,...i}=e;return lit({title:r,titleTemplate:a,_flatMeta:i},t)}var xC=({config:e,store:t,isDarkMode:n})=>{qe(()=>pt(e).defaultHttpClient,r=>{if(r){const{targetKey:a,clientKey:i}=r,o=`${a}/${i}`;iQ(o)&&t.update("x-scalar-default-client",o)}},{immediate:!0}),qe(()=>pt(e).darkMode,r=>t.update("x-scalar-color-mode",r?"dark":"light")),qe(()=>n.value,r=>t.update("x-scalar-color-mode",r?"dark":"light"),{immediate:!0}),pt(e).metaData&&uit(pt(e).metaData),qe(()=>pt(e).proxyUrl,r=>t.update("x-scalar-active-proxy",r),{immediate:!0}),q5e(I(()=>pt(e).favicon))};ne({name:M({typeComment:"Name of specification extension property. Has to start with `x-`."}),component:Il({typeComment:"Vue component to render the specification extension"}),renderer:_(Il({typeComment:"Custom renderer to render the specification extension"}))});const kC=ne({component:Il({typeComment:"Vue component to render in the view"}),renderer:_(Il({typeComment:"Custom renderer to render the view component (e.g., ReactRenderer)"})),props:_(Fe(M(),Gn()),{typeComment:"Additional props to pass to the component"}),sidebar:_(ne({show:Ke(),label:M()}),{typeComment:"Sidebar configuration. Set show: true to display in sidebar."})});ne({"content.start":_(He(kC),{typeComment:"Components to render before the Introduction/Info section"}),"content.end":_(He(kC),{typeComment:"Components to render at specific views in the API Reference"})});ne({onInit:_(sr()),onConfigChange:_(sr()),onDestroy:_(sr())});const dit=sr(),fit=ne({dashboardUrl:M({default:"https://dashboard.scalar.com"}),registryUrl:M({default:"https://registry.scalar.com"}),proxyUrl:M({default:"https://proxy.scalar.com"}),apiBaseUrl:M({default:"https://api.scalar.com"})},{typeComment:"External service URLs used by Scalar packages"}),pit=ne({title:_(M(),{typeComment:"The title of the OpenAPI document."}),slug:_(M(),{typeComment:"The slug of the OpenAPI document used in the URL. If none is passed, the title will be used. If no title is used, it will just use the index."}),authentication:_(Gn(),{typeComment:"Prefill authentication"}),baseServerURL:_(M(),{typeComment:"Base URL for the API server"}),hideClientButton:Ke({default:!1,typeComment:"Whether to hide the client button"}),proxyUrl:_(M(),{typeComment:"URL to a request proxy for the API client"}),oauth2RedirectUri:_(M(),{typeComment:"Default OAuth 2.0 redirect URI used to prefill auth flows in the API client."}
vendor: 6,043 bytes, line 2286
2286),searchHotKey:_(xt([ie("a"),ie("b"),ie("c"),ie("d"),ie("e"),ie("f"),ie("g"),ie("h"),ie("i"),ie("j"),ie("k"),ie("l"),ie("m"),ie("n"),ie("o"),ie("p"),ie("q"),ie("r"),ie("s"),ie("t"),ie("u"),ie("v"),ie("w"),ie("x"),ie("y"),ie("z")]),{typeComment:"Key used with CTRL/CMD to open the search modal (defaults to 'k' e.g. CMD+k)"}),servers:_(He(Gn()),{typeComment:"List of OpenAPI server objects"}),showSidebar:Ke({default:!0,typeComment:"Whether to show the sidebar"}),showDeveloperTools:xt([ie("localhost"),ie("always"),ie("never")],{typeComment:"Whether and when to show the developer tools."}),showToolbar:xt([ie("localhost"),ie("always"),ie("never")],{typeComment:"@deprecated Use showDeveloperTools instead"}),operationTitleSource:xt([ie("summary"),ie("path")],{typeComment:"Whether to use the operation summary or the operation path for the sidebar and search"}),theme:xt([ie("default"),ie("alternate"),ie("moon"),ie("purple"),ie("solarized"),ie("bluePlanet"),ie("deepSpace"),ie("saturn"),ie("kepler"),ie("elysiajs"),ie("fastify"),ie("mars"),ie("laserwave"),ie("none")],{typeComment:"A string to use one of the color presets"}),_integration:_(xt([ie("adonisjs"),ie("astro"),ie("docusaurus"),ie("dotnet"),ie("elysiajs"),ie("express"),ie("fastapi"),ie("fastify"),ie("go"),ie("hono"),ie("html"),ie("laravel"),ie("litestar"),ie("nestjs"),ie("nextjs"),ie("nitro"),ie("nuxt"),ie("platformatic"),ie("react"),ie("rust"),ie("svelte"),ie("vue"),ux()]),{typeComment:"Integration type identifier"}),onRequestSent:_(sr(),{typeComment:"onRequestSent is fired when a request is sent"}),persistAuth:Ke({default:!1,typeComment:"Whether to persist auth to local storage"}),telemetry:Ke({default:!0,typeComment:"Enables / disables telemetry"}),externalUrls:fit}),AC=xt([M(),ux(),Fe(M(),Gn()),sr()]),hit=ne({default:Ke({default:!1}),url:_(M(),{typeComment:"URL to an OpenAPI/Swagger document"}),content:_(AC,{typeComment:"Directly embed the OpenAPI document. Can be a string, object, function returning an object, or null. It is recommended to pass a URL instead of content."}),title:_(M(),{typeComment:"The title of the OpenAPI document. Used for the page title and the document name in the dropdown. With multiple `sources`, set this per source."}),slug:_(M(),{typeComment:"The slug of the OpenAPI document used in the URL. If none is passed, the title will be used. With multiple `sources`, set this per source."}),spec:_(ne({url:_(M()),content:_(AC)}),{typeComment:"@deprecated Use `url` and `content` on the top level instead."}),agent:_(ne({key:_(M()),disabled:_(Ke()),hideAddApi:_(Ke(),{typeComment:"When true, hide the control to add more APIs in the agent chat. Only preloaded/registry documents are shown; the public API list is not offered."})}),{typeComment:"Agent Scalar configuration"})}),Cz=wn([pit,hit,ne({layout:xt([ie("modern"),ie("classic")],{typeComment:"The layout to use for the references"}),proxy:_(M(),{typeComment:"@deprecated Use proxyUrl instead"}),fetch:_(sr(),{typeComment:"@deprecated Use `customFetch` instead."}),customFetch:_(sr(),{typeComment:"Custom fetch function used both when loading the OpenAPI document and when sending requests from the API client. Can be used to add custom headers, attach credentials (for example `credentials: 'include'`), handle auth, etc."}),plugins:_(He(dit),{typeComment:"Plugins for the API reference"}),pluginUrls:_(He(M()),{typeComment:"URLs of ESM modules that provide additional plugins for the API reference. Each module is loaded with a dynamic `import()` before the API reference mounts, and its default export is registered as a plugin. Unlike `plugins`, this option is JSON-serializable, so integrations that pass their configuration as JSON can load plugins without replacing the whole bundle. Only supported by the standalone browser build (`Scalar.createApiReference`)."}),isEditable:Ke({default:!1,typeComment:"Allows the user to inject an editor for the spec"}),hideModels:Ke({default:!1,typeComment:"Whether to show models in the sidebar, search, and content."}),modelsSectionLabel:_(xt([ie("Models"),ie("Schemas"),M()]),{typeComment:"Label for the components.schemas section in the sidebar, content, and search. Use `Schemas` for OpenAPI terminology."}),localization:_(ne({locale:_(M()),direction:_(xt([ie("auto"),ie("ltr"),ie("rtl")])),translations:_(Fe(M(),Gn()))}),{typeComment:"API Reference UI localization. Select a built-in locale, override labels, and control LTR/RTL rendering."}),documentDownloadType:xt([ie("both"),ie("yaml"),ie("json"),ie("direct"),ie("none")],{typeComment:"Sets the file type of the document to download, set to `none` to hide the download button"}),hideDownloadButton:_(Ke(),{typeComment:"@deprecated Use `documentDownloadType: 'none'` instead"}),hideTestRequestButton:Ke({default:!1,typeComment:'Whether to show the "Test Request" button'}),hideSearch:Ke({default:!1,typeComment:"Whether to show the sidebar search bar"}),showOperationId:Ke({default:!1,typeComment:"Whether to show the operationId"}),darkMode:_(Ke(),{typeComment:"Whether dark mode is on or off initially (light mode)"}),forceDarkModeState:_(xt([ie("dark"),ie("light")]),{typeComment:"forceDarkModeState makes it always this state no matter what"}),hideDarkModeToggle:Ke({default:!1,typeComment:"Whether to show the dark mode toggle"}),metaData:_(Gn(),{typeComment:"If used, passed data will be added to the HTML header. @see https://unhead.unjs.io/usage/composables/use-seo-meta"}),favicon:_(M(),{typeComment:"Path to a favicon image"}),hiddenClients:_(xt([Fe(M(),xt([Ke(),He(M())])),He(M()),ie(!0)]),{typeComment:"List of httpsnippet clients to hide from the clients menu. By default hides Unirest, pass `[]` to show all clients"}),defaultHttpClient:_(ne({targetKey:M(),clientKey:M()}),{typeComment:"Determine the HTTP client that is selected by default"}),customCss:_(M(),{typeComment:"Custom CSS to be added to the page"}),onServerChange:_(sr(),{typeComment:"onServerChange is fired on selected server change"}),onDocumentSelect:_(sr(),{typeComment:"onDocumentSelect is fired
2286when the config is selected"}),onLoaded:_(sr(),{typeComment:"Callback fired when the reference is fully loaded"}),onBeforeRequest:_(sr(),{typeComment:"Fired before the outbound request is built; callback receives a mutable request builder. Experimental API."}),onRequestBuilt:_(sr(),{typeComment:"Fired right before the outbound request is sent; callback receives the exact fetch Request that goes over the wire. Experimental API."}),onShowMore:_(sr(),{typeComment:'onShowMore is fired when the user clicks the "Show more" button on the references'}),onSidebarClick:_(sr(),{typeComment:"onSidebarClick is fired when the user clicks on a sidebar item"}),pathRouting:_(ne({basePath:M()}),{typeComment:"Route using paths instead of hashes, your server MUST support this. @experimental"}),mcp:_(ne({name:_(M(),{typeComment:"Display name for the MCP server"}),url:_(M(),{typeComment:"URL of the MCP server"}),disabled:_(Ke(),{typeComment:"When true, disables the MCP integration"})}),{typeComment:"MCP (Model Context Protocol) configuration. When provided, enables MCP integration with the given name and url."}),generateHeadingSlug:_(sr(),{typeComment:"Customize the heading portion of the hash"}),generateModelSlug:_(sr(),{typeComment:"Customize the model portion of the hash"}),generateTagSlug:_(sr(),{typeComment:"Customize the tag portion of the hash"}),generateOperationSlug:_(sr(),{typeComment:"Customize the operation portion of the hash"}),generateWebhookSlug:_(sr(),{typeComment:"Customize the webhook portion of the hash"}),setPageTitle:_(sr(),{typeComment:"Customize the browser tab title for the section currently in view"}),redirect:_(sr(),{typeComment:"To handle redirects, pass a function that receives the current path/hash and passes that to history.replaceState"}),withDefaultFonts:Ke({default:!0,typeComment:"Whether to include default fonts"}),defaultOpenFirstTag:Ke({default:!0,typeComment:"Whether to expand the first tag in the sidebar when no specific URL target is present"}),defaultOpenAllTags:Ke({default:!1,typeComment:"Whether to expand all tags by default. Warning: this can cause performance issues on big documents"}),expandAllModelSections:Ke({default:!1,typeComment:"Whether to expand all models by default. Warning: this can cause performance issues on big documents"}),expandAllResponses:Ke({default:!1,typeComment:"Whether to expand all responses by default. Warning: this can cause performance issues on big documents"}),expandAllSchemaProperties:Ke({default:!1,typeComment:"Whether to expand all nested schema properties by default. The Show/Hide Child Attributes toggle remains available so nested sections can still be collapsed manually. Warning: this can cause performance issues on big documents"}),tagsSorter:_(xt([ie("alpha"),sr()]),{typeComment:"Function to sort tags"}),operationsSorter:_(xt([ie("alpha"),ie("method"),sr()]),{typeComment:"Function to sort operations"}),orderSchemaPropertiesBy:xt([ie("alpha"),ie("preserve")],{typeComment:"Order the schema properties by"}),orderRequiredPropertiesFirst:Ke({default:!0,typeComment:"Sort the schema properties by required ones first"})})]),TC="https://api.scalar.com/request-proxy",b4="https://proxy.scalar.com",mit=e=>{const t=o2(Cz,e);return t.hideDownloadButton&&(console.warn("[DEPRECATED] You're using the deprecated 'hideDownloadButton' attribute. Use 'documentDownloadType: 'none'' instead."),t.documentDownloadType="none"),t.spec?.url&&(console.warn("[DEPRECATED] You're using the deprecated 'spec.url' attribute. Remove the spec prefix and move the 'url' attribute to the top level."),t.url=t.spec.url,delete t.spec),t.spec?.content&&(console.warn("[DEPRECATED] You're using the deprecated 'spec.content' attribute. Remove the spec prefix and move the 'content' attribute to the top level."),t.content=t.spec.content,delete t.spec),t.proxy&&(console.warn("[DEPRECATED] You're using the deprecated 'proxy' attribute. Use 'proxyUrl' instead."),t.proxyUrl||(t.proxyUrl=t.proxy),delete t.proxy),t.fetch&&(console.warn("[DEPRECATED] You're using the deprecated 'fetch' attribute. Use 'customFetch' instead."),t.customFetch||(t.customFetch=t.fetch),delete t.fetch),t.proxyUrl===TC&&(console.warn(`[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${TC}).`),console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${b4}) instead.`),console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${b4}). Read more: https://github.com/scalar/scalar`),t.proxyUrl=b4),t.showToolbar&&t.showToolbar!=="localhost"&&(console.warn("[DEPRECATED] You're using the deprecated 'showToolbar' attribute. Use 'showDeveloperTools' instead."),t.showDeveloperTools=t.showToolbar,delete t.showToolbar),t.modelsSectionLabel??=di,t};ne({cdn:M({default:"https://cdn.jsdelivr.net/npm/@scalar/api-reference"}),pageTitle:M({default:"Scalar API Reference"}),nonce:_(M())});const t5=Symbol.for("yaml.alias"),Kw=Symbol.for("yaml.document"),$c=Symbol.for("yaml.map"),$z=Symbol.for("yaml.pair"),el=Symbol.for("yaml.scalar"),zp=Symbol.for("yaml.seq"),Co=Symbol.for("yaml.node.type"),Nd=e=>!!e&&typeof e=="object"&&e[Co]===t5,Rd=e=>!!e&&typeof e=="object"&&e[Co]===Kw,Vp=e=>!!e&&typeof e=="object"&&e[Co]===$c,dr=e=>!!e&&typeof e=="object"&&e[Co]===$z,Hn=e=>!!e&&typeof e=="object"&&e[Co]===el,Hp=e=>!!e&&typeof e=="object"&&e[Co]===zp;function br(e){if(e&&typeof e=="object")switch(e[Co]){case $c:case zp:return!0}return!1}function Or(e){if(e&&typeof e=="object")switch(e[Co]){case t5:case $c:case el:case zp:return!0}return!1}const Pz=e=>(Hn(e)||br(e))&&!!e.anchor,ci=Symbol("break visit"),Iz=Symbol("skip children"),Ws=Symbol("remove node");function Md(e,t){const n=Nz(t);Rd(e)?ff(null,e.contents,n,Object.freeze([e]))===Ws&&(e.contents=null):ff(null,e,n,Object.freeze([]))}Md.BREAK=ci;Md.SKIP=Iz;Md.REMOVE=Ws;function ff(e,t,n,r){const a=Rz(e,t,n,r);if(Or(a)||dr(a))return Mz(e,r,a),ff(e,a,n,r);if(typeof a!="symbol"){if(br(t)){r=Object.freeze(r.concat(t));for(let i=0;i<t.items.length;++i){const o=ff(i,t.items[i],n,r);if(typeof o=="number")i=o-1;else{if(o===ci)return ci;o===Ws&&(t.items.splice(i,1),i-=1)}}}else if(dr(t)){r=Object.freeze(r.concat(t));const i=ff("key",t.key,n,r);if(i===ci)return ci;i===Ws&&(t.key=null);const o=ff("value",t.value,n,r);if(o===ci)return ci;o===Ws&&(t.value=null)}}return a}
2286async function Ov(e,t){const n=Nz(t);Rd(e)?await pf(null,e.contents,n,Object.freeze([e]))===Ws&&(e.contents=null):await pf(null,e,n,Object.freeze([]))}Ov.BREAK=ci;Ov.SKIP=Iz;Ov.REMOVE=Ws;async function pf(e,t,n,r){const a=await Rz(e,t,n,r);if(Or(a)||dr(a))return Mz(e,r,a),pf(e,a,n,r);if(typeof a!="symbol"){if(br(t)){r=Object.freeze(r.concat(t));for(let i=0;i<t.items.length;++i){const o=await pf(i,t.items[i],n,r);if(typeof o=="number")i=o-1;else{if(o===ci)return ci;o===Ws&&(t.items.splice(i,1),i-=1)}}}else if(dr(t)){r=Object.freeze(r.concat(t));const i=await pf("key",t.key,n,r);if(i===ci)return ci;i===Ws&&(t.key=null);const o=await pf("value",t.value,n,r);if(o===ci)return ci;o===Ws&&(t.value=null)}}return a}function Nz(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function Rz(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(Vp(t))return n.Map?.(e,t,r);if(Hp(t))return n.Seq?.(e,t,r);if(dr(t))return n.Pair?.(e,t,r);if(Hn(t))return n.Scalar?.(e,t,r);if(Nd(t))return n.Alias?.(e,t,r)}function Mz(e,t,n){const r=t[t.length-1];if(br(r))r.items[e]=n;else if(dr(r))e==="key"?r.key=n:r.value=n;else if(Rd(r))r.contents=n;else{const a=Nd(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${a} parent`)}}const git={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},bit=e=>e.replace(/[!,[\]{}]/g,t=>git[t]);class Za{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Za.defaultYaml,t),this.tags=Object.assign({},Za.defaultTags,n)}clone(){const t=new Za(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new Za(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Za.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Za.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:Za.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Za.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),a=r.shift();switch(a){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[i,o]=r;return this.tags[i]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[i]=r;if(i==="1.1"||i==="1.2")return this.yaml.version=i,!0;{const o=/^\d+\.\d+$/.test(i);return n(6,`Unsupported YAML version ${i}`,o),!1}}default:return n(0,`Unknown directive ${a}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const o=t.slice(2,-1);return o==="!"||o==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),o)}const[,r,a]=t.match(/^(.*!)([^!]*)$/s);a||n(`The ${t} tag has no suffix`);const i=this.tags[r];if(i)try{return i+decodeURIComponent(a)}catch(o){return n(String(o)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+bit(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let a;if(t&&r.length>0&&Or(t.contents)){const i={};Md(t.contents,(o,s)=>{Or(s)&&s.tag&&(i[s.tag]=!0)}),a=Object.keys(i)}else a=[];for(const[i,o]of r)i==="!!"&&o==="tag:yaml.org,2002:"||(!t||a.some(s=>s.startsWith(o)))&&n.push(`%TAG ${i} ${o}`);return n.join(` 2287`)}}Za.defaultYaml={explicit:!1,version:"1.2"};Za.defaultTags={"!!":"tag:yaml.org,2002:"};function Lz(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function Dz(e){const t=new Set;return Md(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function Bz(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function yit(e,t){const n=[],r=new Map;let a=null;return{onAnchor:i=>{n.push(i),a??(a=Dz(e));const o=Bz(t,a);return a.add(o),o},setAnchors:()=>{for(const i of n){const o=r.get(i);
2287if(typeof o=="object"&&o.anchor&&(Hn(o.node)||br(o.node)))o.node.anchor=o.anchor;else{const s=new Error("Failed to resolve repeated object (this should not happen)");throw s.source=i,s}}},sourceObjects:r}}function hf(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let a=0,i=r.length;a<i;++a){const o=r[a],s=hf(e,r,String(a),o);s===void 0?delete r[a]:s!==o&&(r[a]=s)}else if(r instanceof Map)for(const a of Array.from(r.keys())){const i=r.get(a),o=hf(e,r,a,i);o===void 0?r.delete(a):o!==i&&r.set(a,o)}else if(r instanceof Set)for(const a of Array.from(r)){const i=hf(e,r,a,a);i===void 0?r.delete(a):i!==a&&(r.delete(a),r.add(i))}else for(const[a,i]of Object.entries(r)){const o=hf(e,r,a,i);o===void 0?delete r[a]:o!==i&&(r[a]=o)}return e.call(t,n,r)}function ko(e,t,n){if(Array.isArray(e))return e.map((r,a)=>ko(r,String(a),n));if(e&&typeof e.toJSON=="function"){if(!n||!Pz(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=i=>{r.res=i,delete n.onCreate};const a=e.toJSON(t,n);return n.onCreate&&n.onCreate(a),a}return typeof e=="bigint"&&!n?.keep?Number(e):e}class n5{constructor(t){Object.defineProperty(this,Co,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:a,reviver:i}={}){if(!Rd(t))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},s=ko(this,"",o);if(typeof a=="function")for(const{count:l,res:c}of o.anchors.values())a(c,l);return typeof i=="function"?hf(i,{"":s},"",s):s}}let Sv=class extends n5{constructor(t){super(t5),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,n){if(n?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let r;n?.aliasResolveCache?r=n.aliasResolveCache:(r=[],Md(t,{Node:(i,o)=>{(Nd(o)||Pz(o))&&r.push(o)}}),n&&(n.aliasResolveCache=r));let a;for(const i of r){if(i===this)break;i.anchor===this.source&&(a=i)}return a}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:a,maxAliasCount:i}=n,o=this.resolve(a,n);if(!o){const l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let s=r.get(o);if(s||(ko(o,null,n),s=r.get(o)),s?.res===void 0){const l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(i>=0&&(s.count+=1,s.aliasCount===0&&(s.aliasCount=Rg(a,o,r)),s.count*s.aliasCount>
2287i)){const l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return s.res}toString(t,n,r){const a=`*${this.source}`;if(t){if(Lz(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const i=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(i)}if(t.implicitKey)return`${a} `}return a}};function Rg(e,t,n){if(Nd(t)){const r=t.resolve(e),a=n&&r&&n.get(r);return a?a.count*a.aliasCount:0}else if(br(t)){let r=0;for(const a of t.items){const i=Rg(e,a,n);i>r&&(r=i)}return r}else if(dr(t)){const r=Rg(e,t.key,n),a=Rg(e,t.value,n);return Math.max(r,a)}return 1}const Uz=e=>!e||typeof e!="function"&&typeof e!="object";class Bt extends n5{constructor(t){super(el),this.value=t}toJSON(t,n){return n?.keep?this.value:ko(this.value,t,n)}toString(){return String(this.value)}}Bt.BLOCK_FOLDED="BLOCK_FOLDED";Bt.BLOCK_LITERAL="BLOCK_LITERAL";Bt.PLAIN="PLAIN";Bt.QUOTE_DOUBLE="QUOTE_DOUBLE";Bt.QUOTE_SINGLE="QUOTE_SINGLE";const vit="tag:yaml.org,2002:";function Oit(e,t,n){if(t){const r=n.filter(i=>i.tag===t),a=r.find(i=>!i.format)??r[0];if(!a)throw new Error(`Tag ${t} not found`);return a}return n.find(r=>r.identify?.(e)&&!r.format)}function Dm(e,t,n){if(Rd(e)&&(e=e.contents),Or(e))return e;
2287if(dr(e)){const d=n.schema[$c].createNode?.(n.schema,null,n);return d.items.push(e),d}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:a,onTagObj:i,schema:o,sourceObjects:s}=n;let l;if(r&&e&&typeof e=="object"){if(l=s.get(e),l)return l.anchor??(l.anchor=a(e)),new Sv(l.anchor);l={anchor:null,node:null},s.set(e,l)}t?.startsWith("!!")&&(t=vit+t.slice(2));let c=Oit(e,t,o.tags);if(!c){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const d=new Bt(e);return l&&(l.node=d),d}c=e instanceof Map?o[$c]:Symbol.iterator in Object(e)?o[zp]:o[$c]}i&&(i(c),delete n.onTagObj);const u=c?.createNode?c.createNode(n.schema,e,n):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(n.schema,e,n):new Bt(e);return t?u.tag=t:c.default||(u.tag=c.tag),l&&(l.node=u),u}function G2(e,t,n){let r=n;for(let a=t.length-1;a>=0;--a){const i=t[a];if(typeof i=="number"&&Number.isInteger(i)&&i>=0){const o=[];o[i]=r,r=o}else r=new Map([[i,r]])}return Dm(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const Dh=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class jz extends n5{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>Or(r)||dr(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(Dh(t))this.add(n);else{const[r,...a]=t,i=this.get(r,!0);if(br(i))i.addIn(a,n);else if(i===void 0&&this.schema)this.set(r,G2(this.schema,a,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${a}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const a=this.get(n,!0);if(br(a))return a.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...a]=t,i=this.get(r,!0);return a.length===0?!n&&Hn(i)?i.value:i:br(i)?i.getIn(a,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!dr(n))return!1;const r=n.value;return r==null||t&&Hn(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const a=this.get(n,!0);return br(a)?a.hasIn(r):!1}setIn(t,n){const[r,...a]=t;if(a.length===0)this.set(r,n);else{const i=this.get(r,!0);if(br(i))i.setIn(a,n);else if(i===void 0&&this.schema)this.set(r,G2(this.schema,a,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${a}`)}}}const Sit=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function kl(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Mu=(e,t,n)=>e.endsWith(` 2288`)?kl(n,t):n.includes(` 2289`)?` 2290`+kl(n,t):(e.endsWith(" ")?"":" ")+n,Qz="flow",Jw="block",Mg="quoted";function wv(e,t,n="flow",{indentAtStart:r,lineWidth:a=80,minContentWidth:i=20,onFold:o,onOverflow:s}={}){if(!a||a<0)return e;a<i&&(i=0);const l=Math.max(1+i,1+a-t.length);if(e.length<=l)return e;const c=[],u={};let d=a-t.length;typeof r=="number"&&(r>a-Math.max(2,i)?c.push(0):d=a-r);let f,p,h=!1,b=-1,y=-1,O=-1;n===Jw&&(b=EC(e,b,t.length),b!==-1&&(d=b+l));for(let x;x=e[b+=1];){if(n===Mg&&x==="\\"){switch(y=b,e[b+1]){case"x":b+=3;break;case"u":b+=5;break;case"U":b+=9;break;default:b+=1}O=b}if(x===` 2291`)n===Jw&&(b=EC(e,b,t.length)),d=b+t.length+l,f=void 0;else{if(x===" "&&p&&p!==" "&&p!==` 2292`&&p!==" "){const T=e[b+1];T&&T!==" "&&T!==` 2293`&&T!==" "&&(f=b)}if(b>=d)if(f)c.push(f),d=f+l,f=void 0;else if(n===Mg){for(;p===" "||p===" ";)p=x,x=e[b+=1],h=!0;const T=b>O+1?b-2:y-1;if(u[T])return e;c.push(T),u[T]=!0,d=T+l,f=void 0}else h=!0}p=x}if(h&&s&&s(),c.length===0)return e;o&&o();let A=e.slice(0,c[0]);for(let x=0;x<c.length;++x){const T=c[x],E=c[x+1]||e.length;T===0?A=` 2294${t}${e.slice(0,E)}`:(n===Mg&&u[T]&&(A+=`${e[T]}\\`),A+=` 2295${t}${e.slice(T+1,E)}`)}return A}function EC(e,t,n){let r=t,a=t+1,i=e[a];for(;i===" "||i===" ";)if(t<a+n)i=e[++t];else{do i=e[++t];while(i&&i!==` 2296`);r=t,a=t+1,i=e[a]}return r}const xv=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}
2296),kv=e=>/^(%|---|\.\.\.)/m.test(e);function wit(e,t,n){if(!t||t<0)return!1;const r=t-n,a=e.length;if(a<=r)return!1;for(let i=0,o=0;i<a;++i)if(e[i]===` 2297`){if(i-o>r)return!0;if(o=i+1,a-o<=r)return!1}return!0}function nm(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,a=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(kv(e)?" ":"");let o="",s=0;for(let l=0,c=n[l];c;c=n[++l])if(c===" "&&n[l+1]==="\\"&&n[l+2]==="n"&&(o+=n.slice(s,l)+"\\ ",l+=1,s=l,c="\\"),c==="\\")switch(n[l+1]){case"u":{o+=n.slice(s,l);const u=n.substr(l+2,4);switch(u){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:u.substr(0,2)==="00"?o+="\\x"+u.substr(2):o+=n.substr(l,6)}l+=5,s=l+1}break;case"n":if(r||n[l+2]==='"'||n.length<a)l+=1;else{for(o+=n.slice(s,l)+` 2298 2299`;n[l+2]==="\\"&&n[l+3]==="n"&&n[l+4]!=='"';)o+=` 2300`,l+=2;o+=i,n[l+2]===" "&&(o+="\\"),l+=1,s=l+1}break;default:l+=1}return o=s?o+n.slice(s):n,r?o:wv(o,i,Mg,xv(t,!1))}function e3(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(` 2301`)||/[ \t]\n|\n[ \t]/.test(e))return nm(e,t);const n=t.indent||(kv(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$& 2302${n}`)+"'";return t.implicitKey?r:wv(r,n,Qz,xv(t,!1))}function mf(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=nm;else{const a=e.includes('"'),i=e.includes("'");a&&!i?r=e3:i&&!a?r=nm:r=n?e3:nm}return r(e,t)}let t3;try{t3=new RegExp(`(^|(?<! 2303)) 2304+(?! 2305|$)`,"g")}catch{t3=/\n+(?!\n|$)/g}function Lg({comment:e,type:t,value:n},r,a,i){const{blockQuote:o,commentString:s,lineWidth:l}=r.options;if(!o||/\n[\t ]+$/.test(n))return mf(n,r);const c=r.indent||(r.forceBlockIndent||kv(n)?" ":""),u=o==="literal"?!0:o==="folded"||t===Bt.BLOCK_FOLDED?!1:t===Bt.BLOCK_LITERAL?!0:!wit(n,l,c.length);if(!n)return u?`| 2306`:`> 2307`;let d,f;for(f=n.length;f>0;--f){const E=n[f-1];if(E!==` 2308`&&E!==" "&&E!==" ")break}let p=n.substring(f);const h=p.indexOf(` 2309`);h===-1?d="-":n===p||h!==p.length-1?(d="+",i&&i()):d="",p&&(n=n.slice(0,-p.length),p[p.length-1]===` 2310`&&(p=p.slice(0,-1)),p=p.replace(t3,`$&${c}`));let b=!1,y,O=-1;for(y=0;y<n.length;++y){const E=n[y];if(E===" ")b=!0;else if(E===` 2311`)O=y;else break}let A=n.substring(0,O<y?O+1:y);A&&(n=n.substring(A.length),A=A.replace(/\n+/g,`$&${c}`));let T=(b?c?"2":"1":"")+d;if(e&&(T+=" "+s(e.replace(/ ?[\r\n]+/g," ")),a&&a()),!u){const E=n.replace(/\n+/g,` 2312$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);let C=!1;const $=xv(r,!0);o!=="folded"&&t!==Bt.BLOCK_FOLDED&&($.onOverflow=()=>{C=!0});const R=wv(`${A}${E}${p}`,c,Jw,$);if(!C)return`>${T} 2313${c}${R}`}return n=n.replace(/\n+/g,`$&${c}`),`|${T} 2314${c}${A}${n}${p}`}function xit(e,t,n,r){const{type:a,value:i}=e,{actualString:o,implicitKey:s,indent:l,indentStep:c,inFlow:u}=t;if(s&&i.includes(` 2315`)||u&&/[[\]{},]/.test(i))return mf(i,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return s||u||!i.includes(` 2316`)?mf(i,t):Lg(e,t,n,r);if(!s&&!u&&a!==Bt.PLAIN&&i.includes(` 2317`))return Lg(e,t,n,r);if(kv(i)){if(l==="")return t.forceBlockIndent=!0,Lg(e,t,n,r);if(s&&l===c)return mf(i,t)}const d=i.replace(/\n+/g,`$& 2318${l}`);if(o){const f=b=>b.default&&b.tag!=="tag:yaml.org,2002:str"&&b.test?.test(d),{compat:p,tags:h}=t.doc.schema;if(h.some(f)||p?.some(f))return mf(i,t)}return s?d:wv(d,l,Qz,xv(t,!1))}function U0(e,t,n,r){const{implicitKey:a,inFlow:i}=t,o=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:s}=e;s!==Bt.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(s=Bt.QUOTE_DOUBLE);const l=u=>{switch(u){case Bt.BLOCK_FOLDED:case Bt.BLOCK_LITERAL:return a||i?mf(o.value,t):Lg(o,t,n,r);case Bt.QUOTE_DOUBLE:return nm(o.value,t);case Bt.QUOTE_SINGLE:return e3(o.value,t);case Bt.PLAIN:return xit(o,t,n,r);default:return null}};let c=l(s);if(c===null){const{defaultKeyType:u,defaultStringType:d}=t.options,f=a&&u||d;if(c=l(f),c===null)throw new Error(`Unsupported default string type ${f}`)}return c}function Fz(e,t){const n=Object.assign({blockQuote:!0,commentString:Sit,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:r,options:n}}function kit(e,t){if(t.tag){const a=e.filter(i=>i.tag===t.tag);if(a.length>0)return a.find(i=>i.format===t.format)??a[0]}let n,r;if(Hn(t)){r=t.value;let a=e.filter(i=>i.identify?.(r));if(a.length>1){const i=a.filter(o=>o.test);i.length>0&&(a=i)}n=a.find(i=>i.format===t.format)??a.find(i=>!i.format)}else r=t,n=e.find(a=>a.nodeClass&&r instanceof a.nodeClass);if(!n){const a=r?.constructor?.name??(r===null?"null":typeof r);throw new Error(`Tag not resolved for ${a} value`)}return n}function Ait(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const a=[],i=(Hn(e)||br(e))&&e.anchor;i&&Lz(i)&&(n.add(i),a.push(`&${i}`));const o=e.tag??(t.default?null:t.tag);return o&&a.push(r.directives.tagString(o)),a.join(" ")}function ap(e,t,n,r){if(dr(e))return e.toString(t,n,r);if(Nd(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let a;const i=Or(e)?e:t.doc.createNode(e,{onTagObj:l=>a=l});a??(a=kit(t.doc.schema.tags,i));const o=Ait(i,a,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);const s=typeof a.stringify=="function"?a.stringify(i,t,n,r):Hn(i)?U0(i,t,n,r):i.toString(t,n,r);return o?Hn(i)||s[0]==="{"||s[0]==="["?`${o} ${s}`:`${o} 2319${t.indent}${s}`:s}function Tit({key:e,value:t},n,r,a){const{allNullValues:i,doc:o,indent:s,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:d}}=n;let f=Or(e)&&e.comment||null;if(d){if(f)throw new Error("With simple keys, key nodes cannot have comments");if(br(e)||!Or(e)&&typeof e=="object"){const $="With simple keys, collection cannot be used as a key value";throw new Error($)}}let p=!d&&(!e||f&&t==null&&!n.inFlow||br(e)||(Hn(e)?e.type===Bt.BLOCK_FOLDED||e.type===Bt.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({}
2319,n,{allNullValues:!1,implicitKey:!p&&(d||!i),indent:s+l});let h=!1,b=!1,y=ap(e,n,()=>h=!0,()=>b=!0);if(!p&&!n.inFlow&&y.length>1024){if(d)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");p=!0}if(n.inFlow){if(i||t==null)return h&&r&&r(),y===""?"?":p?`? ${y}`:y}else if(i&&!d||t==null&&p)return y=`? ${y}`,f&&!h?y+=Mu(y,n.indent,c(f)):b&&a&&a(),y;h&&(f=null),p?(f&&(y+=Mu(y,n.indent,c(f))),y=`? ${y} 2320${s}:`):(y=`${y}:`,f&&(y+=Mu(y,n.indent,c(f))));let O,A,x;Or(t)?(O=!!t.spaceBefore,A=t.commentBefore,x=t.comment):(O=!1,A=null,x=null,t&&typeof t=="object"&&(t=o.createNode(t))),n.implicitKey=!1,!p&&!f&&Hn(t)&&(n.indentAtStart=y.length+1),b=!1,!u&&l.length>=2&&!n.inFlow&&!p&&Hp(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let T=!1;const E=ap(t,n,()=>T=!0,()=>b=!0);let C=" ";if(f||O||A){if(C=O?` 2321`:"",A){const $=c(A);C+=` 2322${kl($,n.indent)}`}E===""&&!n.inFlow?C===` 2323`&&x&&(C=` 2324 2325`):C+=` 2326${n.indent}`}else if(!p&&br(t)){const $=E[0],R=E.indexOf(` 2327`),j=R!==-1,U=n.inFlow??t.flow??t.items.length===0;if(j||!U){let Y=!1;if(j&&($==="&"||$==="!")){let W=E.indexOf(" ");$==="&"&&W!==-1&&W<R&&E[W+1]==="!"&&(W=E.indexOf(" ",W+1)),(W===-1||R<W)&&(Y=!0)}Y||(C=` 2328${n.indent}`)}}else(E===""||E[0]===` 2329`)&&(C="");return y+=C+E,n.inFlow?T&&r&&r():x&&!T?y+=Mu(y,n.indent,c(x)):b&&a&&a(),y}function zz(e,t){(e==="debug"||e==="warn")&&console.warn(t)}const z1="<<",_l={identify:e=>e===z1||typeof e=="symbol"&&e.description===z1,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new Bt(Symbol(z1)),{addToJSMap:Vz}),stringify:()=>z1},Eit=(e,t)=>(_l.identify(t)||Hn(t)&&(!t.type||t.type===Bt.PLAIN)&&_l.identify(t.value))&&e?.doc.schema.tags.some(n=>n.tag===_l.tag&&n.default);function Vz(e,t,n){const r=Hz(e,n);if(Hp(r))for(const a of r.items)y4(e,t,a);else if(Array.isArray(r))for(const a of r)y4(e,t,a);else y4(e,t,r)}function y4(e,t,n){const r=Hz(e,n);if(!Vp(r))throw new Error("Merge sources must be maps or map aliases");const a=r.toJSON(null,e,Map);for(const[i,o]of a)t instanceof Map?t.has(i)||t.set(i,o):t instanceof Set?t.add(i):Object.prototype.hasOwnProperty.call(t,i)||Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0});return t}function Hz(e,t){return e&&Nd(t)?t.resolve(e.doc,e):t}function qz(e,t,{key:n,value:r}){if(Or(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(Eit(e,n))Vz(e,t,r);else{const a=ko(n,"",e);if(t instanceof Map)t.set(a,ko(r,a,e));else if(t instanceof Set)t.add(a);else{const i=_it(n,a,e),o=ko(r,i,e);i in t?Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[i]=o}}return t}function _it(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(Or(e)&&n?.doc){const r=Fz(n.doc,{});r.anchors=new Set;for(const i of n.anchors.keys())r.anchors.add(i.anchor);r.inFlow=!0,r.inStringifyKey=!0;const a=e.toString(r);if(!n.mapKeyWarned){let i=JSON.stringify(a);i.length>40&&(i=i.substring(0,36)+'..."'),zz(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${i}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return a}return JSON.stringify(t)}function r5(e,t,n){const r=Dm(e,void 0,n),a=Dm(t,void 0,n);return new Ba(r,a)}class Ba{constructor(t,n=null){Object.defineProperty(this,Co,{value:$z}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return Or(n)&&(n=n.clone(t)),Or(r)&&(r=r.clone(t)),new Ba(n,r)}toJSON(t,n){const r=n?.mapAsMap?new Map:{};return qz(n,r,this)}toString(t,n,r){return t?.doc?Tit(this,t,n,r):JSON.stringify(this)}}function Zz(e,t,n){return(t.inFlow??e.flow?$it:Cit)(e,t,n)}function Cit({comment:e,items:t},n,{blockItemPrefix:r,flowChars:a,itemIndent:i,onChompKeep:o,onComment:s}){const{indent:l,options:{commentString:c}}=n,u=Object.assign({},n,{indent:i,type:null});let d=!1;const f=[];for(let h=0;h<t.length;++h){const b=t[h];let y=null;if(Or(b))!d&&b.spaceBefore&&f.push(""),K2(n,f,b.commentBefore,d),b.comment&&(y=b.comment);else if(dr(b)){const A=Or(b.key)?b.key:null;A&&(!d&&A.spaceBefore&&f.push(""),K2(n,f,A.commentBefore,d))}d=!1;let O=ap(b,u,()=>y=null,()=>d=!0);y&&(O+=Mu(O,i,c(y))),d&&y&&(d=!1),f.push(r+O)}let p;
2329if(f.length===0)p=a.start+a.end;else{p=f[0];for(let h=1;h<f.length;++h){const b=f[h];p+=b?` 2330${l}${b}`:` 2331`}}return e?(p+=` 2332`+kl(c(e),l),s&&s()):d&&o&&o(),p}function $it({items:e},t,{flowChars:n,itemIndent:r}){const{indent:a,indentStep:i,flowCollectionPadding:o,options:{commentString:s}}=t;r+=i;const l=Object.assign({},t,{indent:r,inFlow:!0,type:null});let c=!1,u=0;const d=[];for(let h=0;h<e.length;++h){const b=e[h];let y=null;if(Or(b))b.spaceBefore&&d.push(""),K2(t,d,b.commentBefore,!1),b.comment&&(y=b.comment);else if(dr(b)){const A=Or(b.key)?b.key:null;A&&(A.spaceBefore&&d.push(""),K2(t,d,A.commentBefore,!1),A.comment&&(c=!0));const x=Or(b.value)?b.value:null;x?(x.comment&&(y=x.comment),x.commentBefore&&(c=!0)):b.value==null&&A?.comment&&(y=A.comment)}y&&(c=!0);let O=ap(b,l,()=>y=null);c||(c=d.length>u||O.includes(` 2333`)),h<e.length-1?O+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(c||(c=d.reduce((A,x)=>A+x.length+2,2)+(O.length+2)>t.options.lineWidth)),c&&(O+=",")),y&&(O+=Mu(O,r,s(y))),d.push(O),u=d.length}const{start:f,end:p}=n;if(d.length===0)return f+p;if(!c){const h=d.reduce((b,y)=>b+y.length+2,2);c=t.options.lineWidth>0&&h>t.options.lineWidth}if(c){let h=f;for(const b of d)h+=b?` 2334${i}${a}${b}`:` 2335`;return`${h} 2336${a}${p}`}else return`${f}${o}${d.join(" ")}${o}${p}`}function K2({indent:e,options:{commentString:t}},n,r,a){if(r&&a&&(r=r.replace(/^\n+/,"")),r){const i=kl(t(r),e);n.push(i.trimStart())}}function Lu(e,t){const n=Hn(t)?t.value:t;for(const r of e)if(dr(r)&&(r.key===t||r.key===n||Hn(r.key)&&r.key.value===n))return r}class Fi extends jz{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super($c,t),this.items=[]}static from(t,n,r){const{keepUndefined:a,replacer:i}=r,o=new this(t),s=(l,c)=>{if(typeof i=="function")c=i.call(n,l,c);else if(Array.isArray(i)&&!i.includes(l))return;(c!==void 0||a)&&o.items.push(r5(l,c,r))};if(n instanceof Map)for(const[l,c]of n)s(l,c);else if(n&&typeof n=="object")for(const l of Object.keys(n))s(l,n[l]);return typeof t.sortMapEntries=="function"&&o.items.sort(t.sortMapEntries),o}add(t,n){let r;dr(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new Ba(t,t?.value):r=new Ba(t.key,t.value);const a=Lu(this.items,r.key),i=this.schema?.sortMapEntries;if(a){if(!n)throw new Error(`Key ${r.key} already set`);Hn(a.value)&&Uz(r.value)?a.value.value=r.value:a.value=r.value}else if(i){const o=this.items.findIndex(s=>i(r,s)<0);o===-1?this.items.push(r):this.items.splice(o,0,r)}else this.items.push(r)}delete(t){const n=Lu(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const a=Lu(this.items,t)?.value;return(!n&&Hn(a)?a.value:a)??void 0}has(t){return!!Lu(this.items,t)}set(t,n){this.add(new Ba(t,n),!0)}toJSON(t,n,r){const a=r?new r:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(a);for(const i of this.items)qz(n,a,i);return a}toString(t,n,r){if(!t)return JSON.stringify(this);for(const a of this.items)if(!dr(a))throw new Error(`Map items must all be pairs; found ${JSON.stringify(a)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Zz(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const qp={collection:"map",default:!0,nodeClass:Fi,tag:"tag:yaml.org,2002:map",resolve(e,t){return Vp(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>Fi.from(e,t,n)};class Lc extends jz{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(zp,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=V1(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=V1(t);if(typeof r!="number")return;const a=this.items[r];return!n&&Hn(a)?a.value:a}has(t){const n=V1(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=V1(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const a=this.items[r];Hn(a)&&Uz(n)?a.value=n:this.items[r]=n}toJSON(t,n){const r=[];n?.onCreate&&n.onCreate(r);let a=0;for(const i of this.items)r.push(ko(i,String(a++),n));return r}toString(t,n,r){return t?Zz(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){const{replacer:a}=r,i=new this(t);if(n&&Symbol.iterator in Object(n)){let o=0;for(let s of n){if(typeof a=="function"){const l=n instanceof Set?s:String(o++);s=a.call(n,l,s)}i.items.push(Dm(s,void 0,r))}}return i}}function V1(e){let t=Hn(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const Zp={collection:"seq",default:!0,nodeClass:Lc,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Hp(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>Lc.from(e,t,n)},Av={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),U0(e,t,n,r)}},Tv={identify:e=>e==null,createNode:()=>new Bt(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Bt(null),stringify:({source:e},t)=>typeof e=="string"&&Tv.test.test(e)?e:t.options.nullStr},a5={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Bt(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&a5.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function Ss({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const a=typeof r=="number"?r:Number(r);
2336if(!isFinite(a))return isNaN(a)?".nan":a<0?"-.inf":".inf";let i=Object.is(r,-0)?"-0":JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^-?\d/.test(i)&&!i.includes("e")){let o=i.indexOf(".");o<0&&(o=i.length,i+=".");let s=t-(i.length-o-1);for(;s-- >0;)i+="0"}return i}const Xz={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ss},Wz={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Ss(e)}},Yz={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Bt(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:Ss},Ev=e=>typeof e=="bigint"||Number.isInteger(e),i5=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function Gz(e,t,n){const{value:r}=e;return Ev(r)&&r>=0?n+r.toString(t):Ss(e)}const Kz={identify:e=>Ev(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>i5(e,2,8,n),stringify:e=>Gz(e,8,"0o")},Jz={identify:Ev,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>i5(e,0,10,n),stringify:Ss},eV={identify:e=>Ev(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>i5(e,2,16,n),stringify:e=>Gz(e,16,"0x")},Pit=[qp,Zp,Av,Tv,a5,Kz,Jz,eV,Xz,Wz,Yz];function _C(e){return typeof e=="bigint"||Number.isInteger(e)}const H1=({value:e})=>JSON.stringify(e),Iit=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:H1},{identify:e=>e==null,createNode:()=>new Bt(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:H1},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:H1},{identify:_C,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>_C(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:H1}],Nit={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},Rit=[qp,Zp].concat(Iit,Nit),o5={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let a=0;a<n.length;++a)r[a]=n.charCodeAt(a);return r}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,a,i){if(!n)return"";const o=n;let s;if(typeof btoa=="function"){let l="";for(let c=0;c<o.length;++c)l+=String.fromCharCode(o[c]);s=btoa(l)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=Bt.BLOCK_LITERAL),t!==Bt.QUOTE_DOUBLE){const l=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),c=Math.ceil(s.length/l),u=new Array(c);for(let d=0,f=0;d<c;++d,f+=l)u[d]=s.substr(f,l);s=u.join(t===Bt.BLOCK_LITERAL?` 2337`:" ")}return U0({comment:e,type:t,value:s},r,a,i)}};function tV(e,t){if(Hp(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!dr(r)){if(Vp(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const a=r.items[0]||new Ba(new Bt(null));if(r.commentBefore&&(a.key.commentBefore=a.key.commentBefore?`${r.commentBefore} 2338${a.key.commentBefore}`:r.commentBefore),r.comment){const i=a.value??a.key;i.comment=i.comment?`${r.comment} 2339${i.comment}`:r.comment}r=a}e.items[n]=dr(r)?r:new Ba(r)}}else t("Expected a sequence for this tag");return e}function nV(e,t,n){const{replacer:r}=n,a=new Lc(e);a.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let o of t){typeof r=="function"&&(o=r.call(t,String(i++),o));let s,l;if(Array.isArray(o))if(o.length===2)s=o[0],l=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){const c=Object.keys(o);if(c.length===1)s=c[0],l=o[s];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else s=o;a.items.push(r5(s,l,n))}return a}const s5={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:tV,createNode:nV};class Tf extends Lc{constructor(){super(),this.add=Fi.prototype.add.bind(this),this.delete=Fi.prototype.delete.bind(this),this.get=Fi.prototype.get.bind(this),this.has=Fi.prototype.has.bind(this),this.set=Fi.prototype.set.bind(this),this.tag=Tf.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n?.onCreate&&n.onCreate(r);for(const a of this.items){let i,o;if(dr(a)?(i=ko(a.key,"",n),o=ko(a.value,i,n)):i=ko(a,"",n),r.has(i))throw new Error("Ordered maps must not include duplicate keys");r.set(i,o)}return r}static from(t,n,r){const a=nV(t,n,r),i=new this;return i.items=a.items,i}}Tf.tag="tag:yaml.org,2002:omap";const l5={collection:"seq",identify:e=>e instanceof Map,nodeClass:Tf,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=tV(e,t),r=[];for(const{key:a}of n.items)Hn(a)&&(r.includes(a.value)?t(`Ordered maps must not include duplicate keys: ${a.value}`):r.push(a.value));return Object.assign(new Tf,n)},createNode:(e,t,n)=>Tf.from(e,t,n)};function rV({value:e,source:t},n){return t&&(e?aV:iV).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const aV={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Bt(!0),stringify:rV},iV={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Bt(!1),stringify:rV},Mit={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ss},Lit={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Ss(e)}},Dit={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Bt(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:Ss},j0=e=>typeof e=="bigint"||Number.isInteger(e);function _v(e,t,n,{intAsBigInt:r}){const a=e[0];if((a==="-"||a==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;
2339case 16:e=`0x${e}`;break}const o=BigInt(e);return a==="-"?BigInt(-1)*o:o}const i=parseInt(e,n);return a==="-"?-1*i:i}function c5(e,t,n){const{value:r}=e;if(j0(r)){const a=r.toString(t);return r<0?"-"+n+a.substr(1):n+a}return Ss(e)}const Bit={identify:j0,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>_v(e,2,2,n),stringify:e=>c5(e,2,"0b")},Uit={identify:j0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>_v(e,1,8,n),stringify:e=>c5(e,8,"0")},jit={identify:j0,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>_v(e,0,10,n),stringify:Ss},Qit={identify:j0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>_v(e,2,16,n),stringify:e=>c5(e,16,"0x")};class Ef extends Fi{constructor(t){super(t),this.tag=Ef.tag}add(t){let n;dr(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new Ba(t.key,null):n=new Ba(t,null),Lu(this.items,n.key)||this.items.push(n)}get(t,n){const r=Lu(this.items,t);return!n&&dr(r)?Hn(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=Lu(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new Ba(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:a}=r,i=new this(t);if(n&&Symbol.iterator in Object(n))for(let o of n)typeof a=="function"&&(o=a.call(n,o,o)),i.items.push(r5(o,null,r));return i}}Ef.tag="tag:yaml.org,2002:set";const u5={collection:"map",identify:e=>e instanceof Set,nodeClass:Ef,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Ef.from(e,t,n),resolve(e,t){if(Vp(e)){if(e.hasAllNullValues(!0))return Object.assign(new Ef,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function d5(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,a=o=>t?BigInt(o):Number(o),i=r.replace(/_/g,"").split(":").reduce((o,s)=>o*a(60)+a(s),a(0));return n==="-"?a(-1)*i:i}function oV(e){let{value:t}=e,n=o=>o;if(typeof t=="bigint")n=o=>BigInt(o);else if(isNaN(t)||!isFinite(t))return Ss(e);let r="";t<0&&(r="-",t*=n(-1));const a=n(60),i=[t%a];return t<60?i.unshift(0):(t=(t-i[0])/a,i.unshift(t%a),t>=60&&(t=(t-i[0])/a,i.unshift(t))),r+i.map(o=>String(o).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const sV={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>d5(e,n),stringify:oV},lV={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>d5(e,!1),stringify:oV},Cv={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(Cv.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,a,i,o,s]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(n,r-1,a,i||0,o||0,s||0,l);const u=t[8];if(u&&u!=="Z"){let d=d5(u,!1);Math.abs(d)<30&&(d*=60),c-=6e4*d}return new Date(c)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},CC=[qp,Zp,Av,Tv,aV,iV,Bit,Uit,jit,Qit,Mit,Lit,Dit,o5,_l,l5,s5,u5,sV,lV,Cv],$C=new Map([["core",Pit],["failsafe",[qp,Zp,Av]],["json",Rit],["yaml11",CC],["yaml-1.1",CC]]),PC={binary:o5,bool:a5,float:Yz,floatExp:Wz,floatNaN:Xz,floatTime:lV,int:Jz,intHex:eV,intOct:Kz,intTime:sV,map:qp,merge:_l,null:Tv,omap:l5,pairs:s5,seq:Zp,set:u5,timestamp:Cv},Fit={"tag:yaml.org,2002:binary":o5,"tag:yaml.org,2002:merge":_l,"tag:yaml.org,2002:omap":l5,"tag:yaml.org,2002:pairs":s5,"tag:yaml.org,2002:set":u5,"tag:yaml.org,2002:timestamp":Cv};function v4(e,t,n){const r=$C.get(t);if(r&&!e)return n&&!r.includes(_l)?r.concat(_l):r.slice();let a=r;if(!a)if(Array.isArray(e))a=[];
2339else{const i=Array.from($C.keys()).filter(o=>o!=="yaml11").map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${i} or define customTags array`)}if(Array.isArray(e))for(const i of e)a=a.concat(i);else typeof e=="function"&&(a=e(a.slice()));return n&&(a=a.concat(_l)),a.reduce((i,o)=>{const s=typeof o=="string"?PC[o]:o;if(!s){const l=JSON.stringify(o),c=Object.keys(PC).map(u=>JSON.stringify(u)).join(", ");throw new Error(`Unknown custom tag ${l}; use one of ${c}`)}return i.includes(s)||i.push(s),i},[])}const zit=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;let cV=class uV{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:a,schema:i,sortMapEntries:o,toStringDefaults:s}){this.compat=Array.isArray(t)?v4(t,"compat"):t?v4(null,t):null,this.name=typeof i=="string"&&i||"core",this.knownTags=a?Fit:{},this.tags=v4(n,this.name,r),this.toStringOptions=s??null,Object.defineProperty(this,$c,{value:qp}),Object.defineProperty(this,el,{value:Av}),Object.defineProperty(this,zp,{value:Zp}),this.sortMapEntries=typeof o=="function"?o:o===!0?zit:null}clone(){const t=Object.create(uV.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}};function Vit(e,t){const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const l=e.directives.toString(e);l?(n.push(l),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const a=Fz(e,t),{commentString:i}=a.options;if(e.commentBefore){n.length!==1&&n.unshift("");const l=i(e.commentBefore);n.unshift(kl(l,""))}let o=!1,s=null;if(e.contents){if(Or(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const u=i(e.contents.commentBefore);n.push(kl(u,""))}a.forceBlockIndent=!!e.comment,s=e.contents.comment}const l=s?void 0:()=>o=!0;let c=ap(e.contents,a,()=>s=null,l);s&&(c+=Mu(c,"",i(s))),(c[0]==="|"||c[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${c}`:n.push(c)}else n.push(ap(e.contents,a));if(e.directives?.docEnd)if(e.comment){const l=i(e.comment);l.includes(` 2340`)?(n.push("..."),n.push(kl(l,""))):n.push(`... ${l}`)}else n.push("...");else{let l=e.comment;l&&o&&(l=l.replace(/^\n+/,"")),l&&((!o||s)&&n[n.length-1]!==""&&n.push(""),n.push(kl(i(l),"")))}return n.join(` 2341`)+` 2342`}let $v=class dV{constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Co,{value:Kw});let a=null;typeof n=="function"||Array.isArray(n)?a=n:r===void 0&&n&&(r=n,n=void 0);const i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},r);this.options=i;let{version:o}=i;r?._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new Za({version:o}),this.setSchema(o,r),this.contents=t===void 0?null:this.createNode(t,a,r)}clone(){const t=Object.create(dV.prototype,{[Co]:{value:Kw}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=Or(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Zd(this.contents)&&this.contents.add(t)}addIn(t,n){Zd(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=Dz(this);t.anchor=!n||r.has(n)?Bz(n||"a",r):n}return new Sv(t.anchor)}createNode(t,n,r){let a;if(typeof n=="function")t=n.call({"":t},"",t),a=n;else if(Array.isArray(n)){const y=A=>typeof A=="number"||A instanceof String||A instanceof Number,O=n.filter(y).map(String);O.length>0&&(n=n.concat(O)),a=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:i,anchorPrefix:o,flow:s,keepUndefined:l,onTagObj:c,tag:u}=r??{},{onAnchor:d,setAnchors:f,sourceObjects:p}=yit(this,o||"a"),h={aliasDuplicateObjects:i??!0,keepUndefined:l??!1,onAnchor:d,onTagObj:c,replacer:a,schema:this.schema,sourceObjects:p},b=Dm(t,u,h);return s&&br(b)&&(b.flow=!0),f(),b}createPair(t,n,r={}){const a=this.createNode(t,null,r),i=this.createNode(n,null,r);return new Ba(a,i)}delete(t){return Zd(this.contents)?this.contents.delete(t):!1}deleteIn(t){return Dh(t)?this.contents==null?!1:(this.contents=null,!0):Zd(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return br(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return Dh(t)?!n&&Hn(this.contents)?this.contents.value:this.contents:br(this.contents)?this.contents.getIn(t,n):void 0}has(t){return br(this.contents)?this.contents.has(t):!1}hasIn(t){return Dh(t)?this.contents!==void 0:br(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=G2(this.schema,[t],n):Zd(this.contents)&&this.contents.set(t,n)}setIn(t,n){Dh(t)?this.contents=n:this.contents==null?this.contents=G2(this.schema,Array.from(t),n):Zd(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Za({version:"1.1"}),r={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new Za({version:t}),r={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const a=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${a}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new cV(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}
2342toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:a,onAnchor:i,reviver:o}={}){const s={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof a=="number"?a:100},l=ko(this.contents,n??"",s);if(typeof i=="function")for(const{count:c,res:u}of s.anchors.values())i(u,c);return typeof o=="function"?hf(o,{"":l},"",l):l}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return Vit(this,t)}};function Zd(e){if(br(e))return!0;throw new Error("Expected a YAML collection as document contents")}class f5 extends Error{constructor(t,n,r,a){super(),this.name=t,this.code=r,this.message=a,this.pos=n}}class Du extends f5{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class fV extends f5{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const J2=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(s=>t.linePos(s));const{line:r,col:a}=n.linePos[0];n.message+=` at line ${r}, column ${a}`;let i=a-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){const s=Math.min(i-39,o.length-79);o="â¦"+o.substring(s),i-=s-1}if(o.length>80&&(o=o.substring(0,79)+"â¦"),r>1&&/^ *$/.test(o.substring(0,i))){let s=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);s.length>80&&(s=s.substring(0,79)+`⦠2343`),o=s+o}if(/[^ ]/.test(o)){let s=1;const l=n.linePos[1];l?.line===r&&l.col>a&&(s=Math.max(1,Math.min(l.col-a,80-i)));const c=" ".repeat(i)+"^".repeat(s);n.message+=`: 2344 2345${o} 2346${c} 2347`}};function ip(e,{flow:t,indicator:n,next:r,offset:a,onError:i,parentIndent:o,startOnNewline:s}){let l=!1,c=s,u=s,d="",f="",p=!1,h=!1,b=null,y=null,O=null,A=null,x=null,T=null,E=null;for(const R of e)switch(h&&(R.type!=="space"&&R.type!=="newline"&&R.type!=="comma"&&i(R.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h=!1),b&&(c&&R.type!=="comment"&&R.type!=="newline"&&i(b,"TAB_AS_INDENT","Tabs are not allowed as indentation"),b=null),R.type){case"space":!t&&(n!=="doc-start"||r?.type!=="flow-collection")&&R.source.includes(" ")&&(b=R),u=!0;break;case"comment":{u||i(R,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const j=R.source.substring(1)||" ";d?d+=f+j:d=j,f="",c=!1;break}case"newline":c?d?d+=R.source:(!T||n!=="seq-item-ind")&&(l=!0):f+=R.source,c=!0,p=!0,(y||O)&&(A=R),u=!0;break;case"anchor":y&&i(R,"MULTIPLE_ANCHORS","A node can have at most one anchor"),R.source.endsWith(":")&&i(R.offset+R.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),y=R,E??(E=R.offset),c=!1,u=!1,h=!0;break;case"tag":{O&&i(R,"MULTIPLE_TAGS","A node can have at most one tag"),O=R,E??(E=R.offset),c=!1,u=!1,h=!0;break}case n:(y||O)&&i(R,"BAD_PROP_ORDER",`Anchors and tags must be after the ${R.source} indicator`),T&&i(R,"UNEXPECTED_TOKEN",`Unexpected ${R.source} in ${t??"collection"}`),T=R,c=n==="seq-item-ind"||n==="explicit-key-ind",u=!1;break;case"comma":if(t){x&&i(R,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),x=R,c=!1,u=!1;break}default:i(R,"UNEXPECTED_TOKEN",`Unexpected ${R.type} token`),c=!1,u=!1}const C=e[e.length-1],$=C?C.offset+C.source.length:a;return h&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),b&&(c&&b.indent<=o||r?.type==="block-map"||r?.type==="block-seq")&&i(b,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:x,found:T,spaceBefore:l,comment:d,hasNewline:p,anchor:y,tag:O,newlineAfterProp:A,end:$,start:E??$}}function Bm(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(` 2348`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;
2348if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(Bm(t.key)||Bm(t.value))return!0}return!1;default:return!0}}function n3(e,t,n){if(t?.type==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&Bm(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function pV(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const a=typeof r=="function"?r:(i,o)=>i===o||Hn(i)&&Hn(o)&&i.value===o.value;return t.some(i=>a(i.key,n))}const IC="All mapping items must start at the same column";function Hit({composeNode:e,composeEmptyNode:t},n,r,a,i){const o=i?.nodeClass??Fi,s=new o(n.schema);n.atRoot&&(n.atRoot=!1);let l=r.offset,c=null;for(const u of r.items){const{start:d,key:f,sep:p,value:h}=u,b=ip(d,{indicator:"explicit-key-ind",next:f??p?.[0],offset:l,onError:a,parentIndent:r.indent,startOnNewline:!0}),y=!b.found;if(y){if(f&&(f.type==="block-seq"?a(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in f&&f.indent!==r.indent&&a(l,"BAD_INDENT",IC)),!b.anchor&&!b.tag&&!p){c=b.end,b.comment&&(s.comment?s.comment+=` 2349`+b.comment:s.comment=b.comment);continue}(b.newlineAfterProp||Bm(f))&&a(f??d[d.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else b.found?.indent!==r.indent&&a(l,"BAD_INDENT",IC);n.atKey=!0;const O=b.end,A=f?e(n,f,b,a):t(n,O,d,null,b,a);n.schema.compat&&n3(r.indent,f,a),n.atKey=!1,pV(n,s.items,A)&&a(O,"DUPLICATE_KEY","Map keys must be unique");const x=ip(p??[],{indicator:"map-value-ind",next:h,offset:A.range[2],onError:a,parentIndent:r.indent,startOnNewline:!f||f.type==="block-scalar"});if(l=x.end,x.found){y&&(h?.type==="block-map"&&!x.hasNewline&&a(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&b.start<x.found.offset-1024&&a(A.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const T=h?e(n,h,x,a):t(n,l,p,null,x,a);n.schema.compat&&n3(r.indent,h,a),l=T.range[2];const E=new Ba(A,T);n.options.keepSourceTokens&&(E.srcToken=u),s.items.push(E)}else{y&&a(A.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),x.comment&&(A.comment?A.comment+=` 2350`+x.comment:A.comment=x.comment);const T=new Ba(A);n.options.keepSourceTokens&&(T.srcToken=u),s.items.push(T)}}return c&&c<l&&a(c,"IMPOSSIBLE","Map comment with trailing content"),s.range=[r.offset,l,c??l],s}function qit({composeNode:e,composeEmptyNode:t},n,r,a,i){const o=i?.nodeClass??Lc,s=new o(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let l=r.offset,c=null;for(const{start:u,value:d}of r.items){const f=ip(u,{indicator:"seq-item-ind",next:d,offset:l,onError:a,parentIndent:r.indent,startOnNewline:!0});if(!f.found)if(f.anchor||f.tag||d)d?.type==="block-seq"?a(f.end,"BAD_INDENT","All sequence items must start at the same column"):a(l,"MISSING_CHAR","Sequence item without - indicator");else{c=f.end,f.comment&&(s.comment=f.comment);continue}const p=d?e(n,d,f,a):t(n,f.end,u,null,f,a);n.schema.compat&&n3(r.indent,d,a),l=p.range[2],s.items.push(p)}return s.range=[r.offset,l,c??l],s}function Q0(e,t,n,r){let a="";if(e){let i=!1,o="";for(const s of e){const{source:l,type:c}=s;switch(c){case"space":i=!0;break;case"comment":{n&&!i&&r(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const u=l.substring(1)||" ";a?a+=o+u:a=u,o="";break}case"newline":a&&(o+=l),i=!0;break;default:r(s,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=l.length}}return{comment:a,offset:t}}const O4="Block collections are not allowed within flow collections",S4=e=>e&&(e.type==="block-map"||e.type==="block-seq");function Zit({composeNode:e,composeEmptyNode:t},n,r,a,i){const o=r.start.source==="{",s=o?"flow map":"flow sequence",l=i?.nodeClass??(o?Fi:Lc),c=new l(n.schema);c.flow=!0;const u=n.atRoot;u&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let d=r.offset+r.start.source.length;for(let y=0;y<r.items.length;++y){const O=r.items[y],{start:A,key:x,sep:T,value:E}=O,C=ip(A,{flow:s,indicator:"explicit-key-ind",next:x??T?.[0],offset:d,onError:a,parentIndent:r.indent,startOnNewline:!1});if(!C.found){if(!C.anchor&&!C.tag&&!T&&!E){y===0&&C.comma?a(C.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`):y<r.items.length-1&&a(C.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${s}`),C.comment&&(c.comment?c.comment+=` 2351`+C.comment:c.comment=C.comment),d=C.end;continue}!o&&n.options.strict&&Bm(x)&&a(x,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(y===0)C.comma&&a(C.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`);else if(C.comma||a(C.start,"MISSING_CHAR",`Missing , between ${s} items`),C.comment){let $="";e:for(const R of A)switch(R.type){case"comma":case"space":break;case"comment":$=R.source.substring(1);break e;default:break e}if($){let R=c.items[c.items.length-1];
2351dr(R)&&(R=R.value??R.key),R.comment?R.comment+=` 2352`+$:R.comment=$,C.comment=C.comment.substring($.length+1)}}if(!o&&!T&&!C.found){const $=E?e(n,E,C,a):t(n,C.end,T,null,C,a);c.items.push($),d=$.range[2],S4(E)&&a($.range,"BLOCK_IN_FLOW",O4)}else{n.atKey=!0;const $=C.end,R=x?e(n,x,C,a):t(n,$,A,null,C,a);S4(x)&&a(R.range,"BLOCK_IN_FLOW",O4),n.atKey=!1;const j=ip(T??[],{flow:s,indicator:"map-value-ind",next:E,offset:R.range[2],onError:a,parentIndent:r.indent,startOnNewline:!1});if(j.found){if(!o&&!C.found&&n.options.strict){if(T)for(const W of T){if(W===j.found)break;if(W.type==="newline"){a(W,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}C.start<j.found.offset-1024&&a(j.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else E&&("source"in E&&E.source?.[0]===":"?a(E,"MISSING_CHAR",`Missing space after : in ${s}`):a(j.start,"MISSING_CHAR",`Missing , or : between ${s} items`));const U=E?e(n,E,j,a):j.found?t(n,j.end,T,null,j,a):null;U?S4(E)&&a(U.range,"BLOCK_IN_FLOW",O4):j.comment&&(R.comment?R.comment+=` 2353`+j.comment:R.comment=j.comment);const Y=new Ba(R,U);if(n.options.keepSourceTokens&&(Y.srcToken=O),o){const W=c;pV(n,W.items,R)&&a($,"DUPLICATE_KEY","Map keys must be unique"),W.items.push(Y)}else{const W=new Fi(n.schema);W.flow=!0,W.items.push(Y);const pe=(U??R).range;W.range=[R.range[0],pe[1],pe[2]],c.items.push(W)}d=U?U.range[2]:j.end}}const f=o?"}":"]",[p,...h]=r.end;let b=d;if(p?.source===f)b=p.offset+p.source.length;else{const y=s[0].toUpperCase()+s.substring(1),O=u?`${y} must end with a ${f}`:`${y} in block collection must be sufficiently indented and end with a ${f}`;a(d,u?"MISSING_CHAR":"BAD_INDENT",O),p&&p.source.length!==1&&h.unshift(p)}if(h.length>0){const y=Q0(h,b,n.options.strict,a);y.comment&&(c.comment?c.comment+=` 2354`+y.comment:c.comment=y.comment),c.range=[r.offset,b,y.offset]}else c.range=[r.offset,b,b];return c}function w4(e,t,n,r,a,i){const o=n.type==="block-map"?Hit(e,t,n,r,i):n.type==="block-seq"?qit(e,t,n,r,i):Zit(e,t,n,r,i),s=o.constructor;return a==="!"||a===s.tagName?(o.tag=s.tagName,o):(a&&(o.tag=a),o)}function Xit(e,t,n,r,a){const i=r.tag,o=i?t.directives.tagName(i.source,f=>a(i,"TAG_RESOLVE_FAILED",f)):null;if(n.type==="block-seq"){const{anchor:f,newlineAfterProp:p}=r,h=f&&i?f.offset>i.offset?f:i:f??i;h&&(!p||p.offset<h.offset)&&a(h,"MISSING_CHAR","Missing newline after block sequence props")}const s=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!i||!o||o==="!"||o===Fi.tagName&&s==="map"||o===Lc.tagName&&s==="seq")return w4(e,t,n,a,o);let l=t.schema.tags.find(f=>f.tag===o&&f.collection===s);if(!l){const f=t.schema.knownTags[o];if(f?.collection===s)t.schema.tags.push(Object.assign({},f,{default:!1})),l=f;else return f?a(i,"BAD_COLLECTION_TYPE",`${f.tag} used for ${s} collection, but expects ${f.collection??"scalar"}`,!0):a(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${o}`,!0),w4(e,t,n,a,o)}const c=w4(e,t,n,a,o,l),u=l.resolve?.(c,f=>a(i,"TAG_RESOLVE_FAILED",f),t.options)??c,d=Or(u)?u:new Bt(u);return d.range=c.range,d.tag=o,l?.format&&(d.format=l.format),d}function hV(e,t,n){const r=t.offset,a=Wit(t,e.options.strict,n);if(!a)return{value:"",type:null,comment:"",range:[r,r,r]};const i=a.mode===">"?Bt.BLOCK_FOLDED:Bt.BLOCK_LITERAL,o=t.source?Yit(t.source):[];let s=o.length;for(let b=o.length-1;b>=0;--b){const y=o[b][1];if(y===""||y==="\r")s=b;else break}if(s===0){const b=a.chomp==="+"&&o.length>0?` 2355`.repeat(Math.max(1,o.length-1)):"";let y=r+a.length;return t.source&&(y+=t.source.length),{value:b,type:i,comment:a.comment,range:[r,y,y]}}let l=t.indent+a.indent,c=t.offset+a.length,u=0;for(let b=0;b<s;++b){const[y,O]=o[b];if(O===""||O==="\r")a.indent===0&&y.length>l&&(l=y.length);else{y.length<l&&n(c+y.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),a.indent===0&&(l=y.length),u=b,l===0&&!e.atRoot&&n(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=y.length+O.length+1}for(let b=o.length-1;b>=s;--b)o[b][0].length>l&&(s=b+1);let d="",f="",p=!1;for(let b=0;b<u;++b)d+=o[b][0].slice(l)+` 2356`;for(let b=u;b<s;++b){let[y,O]=o[b];c+=y.length+O.length+1;const A=O[O.length-1]==="\r";if(A&&(O=O.slice(0,-1)),O&&y.length<l){const T=`Block scalar lines must not be less indented than their ${a.indent?"explicit indentation indicator":"first line"}`;n(c-O.length-(A?2:1),"BAD_INDENT",T),y=""}i===Bt.BLOCK_LITERAL?(d+=f+y.slice(l)+O,f=` 2357`):y.length>l||O[0]===" "?(f===" "?f=` 2358`:!p&&f===` 2359`&&(f=` 2360 2361`),d+=f+y.slice(l)+O,f=` 2362`,p=!0):O===""?f===` 2363`?d+=` 2364`:f=` 2365`:(d+=f+O,f=" ",p=!1)}switch(a.chomp){case"-":break;case"+":for(let b=s;b<o.length;++b)d+=` 2366`+o[b][0].slice(l);d[d.length-1]!==` 2367`&&(d+=` 2368`);break;default:d+=` 2369`}const h=r+a.length+t.source.length;return{value:d,type:i,comment:a.comment,range:[r,h,h]}}function Wit({offset:e,props:t},n,r){if(t[0].type!=="block-scalar-header")return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:a}=t[0],i=a[0];let o=0,s="",l=-1;for(let f=1;f<a.length;++f){const p=a[f];if(!s&&(p==="-"||p==="+"))s=p;else{const h=Number(p);!o&&h?o=h:l===-1&&(l=e+f)}}l!==-1&&r(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${a}`);let c=!1,u="",d=a.length;for(let f=1;f<t.length;++f){const p=t[f];switch(p.type){case"space":c=!0;case"newline":d+=p.source.length;break;case"comment":n&&!c&&r(p,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),d+=p.source.length,u=p.source.substring(1);break;case"error":r(p,"UNEXPECTED_TOKEN",p.message),d+=p.source.length;break;default:{const h=`Unexpected token in block scalar header: ${p.t
2369ype}`;r(p,"UNEXPECTED_TOKEN",h);const b=p.source;b&&typeof b=="string"&&(d+=b.length)}}}return{mode:i,indent:o,chomp:s,comment:u,length:d}}function Yit(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),i=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let o=1;o<t.length;o+=2)i.push([t[o],t[o+1]]);return i}function mV(e,t,n){const{offset:r,type:a,source:i,end:o}=e;let s,l;const c=(f,p,h)=>n(r+f,p,h);switch(a){case"scalar":s=Bt.PLAIN,l=Git(i,c);break;case"single-quoted-scalar":s=Bt.QUOTE_SINGLE,l=Kit(i,c);break;case"double-quoted-scalar":s=Bt.QUOTE_DOUBLE,l=Jit(i,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${a}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const u=r+i.length,d=Q0(o,u,t,n);return{value:l,type:s,comment:d.comment,range:[r,u,d.offset]}}function Git(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),gV(e)}function Kit(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),gV(e.slice(1,-1)).replace(/''/g,"'")}function gV(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r? 2370`,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r? 2371`,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let a=r[1],i=" ",o=t.lastIndex;for(n.lastIndex=o;r=n.exec(e);)r[1]===""?i===` 2372`?a+=i:i=` 2373`:(a+=i+r[1],i=" "),o=n.lastIndex;const s=/[ \t]*(.*)/sy;return s.lastIndex=o,r=s.exec(e),a+i+(r?.[1]??"")}function Jit(e,t){let n="";for(let r=1;r<e.length-1;++r){const a=e[r];if(!(a==="\r"&&e[r+1]===` 2374`))if(a===` 2375`){const{fold:i,offset:o}=eot(e,r);n+=i,r=o}else if(a==="\\"){let i=e[++r];const o=tot[i];if(o)n+=o;else if(i===` 2376`)for(i=e[r+1];i===" "||i===" ";)i=e[++r+1];else if(i==="\r"&&e[r+1]===` 2377`)for(i=e[++r+1];i===" "||i===" ";)i=e[++r+1];else if(i==="x"||i==="u"||i==="U"){const s=i==="x"?2:i==="u"?4:8;n+=not(e,r+1,s,t),r+=s}else{const s=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${s}`),n+=s}}else if(a===" "||a===" "){const i=r;let o=e[r+1];for(;o===" "||o===" ";)o=e[++r+1];o!==` 2378`&&!(o==="\r"&&e[r+2]===` 2379`)&&(n+=r>i?e.slice(i,r+1):a)}else n+=a}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function eot(e,t){let n="",r=e[t+1];for(;(r===" "||r===" "||r===` 2380`||r==="\r")&&!(r==="\r"&&e[t+2]!==` 2381`);)r===` 2382`&&(n+=` 2383`),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}const tot={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:` 2384`,r:"\r",t:" ",v:"\v",N:"Â ",_:"Â ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function not(e,t,n,r){const a=e.substr(t,n),o=a.length===n&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN;try{return String.fromCodePoint(o)}catch{const s=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${s}`),s}}function bV(e,t,n,r){const{value:a,type:i,comment:o,range:s}=t.type==="block-scalar"?hV(e,t,r):mV(t,e.options.strict,r),l=n?e.directives.tagName(n.source,d=>r(n,"TAG_RESOLVE_FAILED",d)):null;let c;e.options.stringKeys&&e.atKey?c=e.schema[el]:l?c=rot(e.schema,a,l,n,r):t.type==="scalar"?c=aot(e,a,t,r):c=e.schema[el];let u;try{const d=c.resolve(a,f=>r(n??t,"TAG_RESOLVE_FAILED",f),e.options);u=Hn(d)?d:new Bt(d)}catch(d){const f=d instanceof Error?d.message:String(d);r(n??t,"TAG_RESOLVE_FAILED",f),u=new Bt(a)}return u.range=s,u.source=a,i&&(u.type=i),l&&(u.tag=l),c.format&&(u.format=c.format),o&&(u.comment=o),u}function rot(e,t,n,r,a){if(n==="!")return e[el];const i=[];for(const s of e.tags)if(!s.collection&&s.tag===n)if(s.default&&s.test)i.push(s);else return s;for(const s of i)if(s.test?.test(t))return s;const o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(a(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[el])}function aot({atKey:e,directives:t,schema:n},r,a,i){const o=n.tags.find(s=>
2384(s.default===!0||e&&s.default==="key")&&s.test?.test(r))||n[el];if(n.compat){const s=n.compat.find(l=>l.default&&l.test?.test(r))??n[el];if(o.tag!==s.tag){const l=t.tagString(o.tag),c=t.tagString(s.tag),u=`Value may be parsed as either ${l} or ${c}`;i(a,"TAG_RESOLVE_FAILED",u,!0)}}return o}function iot(e,t,n){if(t){n??(n=t.length);for(let r=n-1;r>=0;--r){let a=t[r];switch(a.type){case"space":case"comment":case"newline":e-=a.source.length;continue}for(a=t[++r];a?.type==="space";)e+=a.source.length,a=t[++r];break}}return e}const oot={composeNode:yV,composeEmptyNode:p5};function yV(e,t,n,r){const a=e.atKey,{spaceBefore:i,comment:o,anchor:s,tag:l}=n;let c,u=!0;switch(t.type){case"alias":c=sot(e,t,r),(s||l)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=bV(e,t,l,r),s&&(c.anchor=s.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{c=Xit(oot,e,t,n,r),s&&(c.anchor=s.source.substring(1))}catch(d){const f=d instanceof Error?d.message:String(d);r(t,"RESOURCE_EXHAUSTION",f)}break;default:{const d=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",d),u=!1}}return c??(c=p5(e,t.offset,void 0,null,n,r)),s&&c.anchor===""&&r(s,"BAD_ALIAS","Anchor cannot be an empty string"),a&&e.options.stringKeys&&(!Hn(c)||typeof c.value!="string"||c.tag&&c.tag!=="tag:yaml.org,2002:str")&&r(l??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),i&&(c.spaceBefore=!0),o&&(t.type==="scalar"&&t.source===""?c.comment=o:c.commentBefore=o),e.options.keepSourceTokens&&u&&(c.srcToken=t),c}function p5(e,t,n,r,{spaceBefore:a,comment:i,anchor:o,tag:s,end:l},c){const u={type:"scalar",offset:iot(t,n,r),indent:-1,source:""},d=bV(e,u,s,c);return o&&(d.anchor=o.source.substring(1),d.anchor===""&&c(o,"BAD_ALIAS","Anchor cannot be an empty string")),a&&(d.spaceBefore=!0),i&&(d.comment=i,d.range[2]=l),d}function sot({options:e},{offset:t,source:n,end:r},a){const i=new Sv(n.substring(1));i.source===""&&a(t,"BAD_ALIAS","Alias cannot be an empty string"),i.source.endsWith(":")&&a(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=t+n.length,s=Q0(r,o,e.strict,a);return i.range=[t,o,s.offset],s.comment&&(i.comment=s.comment),i}function lot(e,t,{offset:n,start:r,value:a,end:i},o){const s=Object.assign({_directives:t},e),l=new $v(void 0,s),c={atKey:!1,atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},u=ip(r,{indicator:"doc-start",next:a??i?.[0],offset:n,onError:o,parentIndent:0,startOnNewline:!0});u.found&&(l.directives.docStart=!0,a&&(a.type==="block-map"||a.type==="block-seq")&&!u.hasNewline&&o(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=a?yV(c,a,u,o):p5(c,u.end,r,null,u,o);const d=l.contents.range[2],f=Q0(i,d,!1,o);return f.comment&&(l.comment=f.comment),l.range=[n,d,f.offset],l}function wh(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function NC(e){let t="",n=!1,r=!1;for(let a=0;a<e.length;++a){const i=e[a];switch(i[0]){case"#":t+=(t===""?"":r?` 2385 2386`:` 2387`)+(i.substring(1)||" "),n=!0,r=!1;break;case"%":e[a+1]?.[0]!=="#"&&(a+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class h5{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,r,a,i)=>{const o=wh(n);i?this.warnings.push(new fV(o,r,a)):this.errors.push(new Du(o,r,a))},this.directives=new Za({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:a}=NC(this.prelude);if(r){const i=t.contents;if(n)t.comment=t.comment?`${t.comment} 2388${r}`:r;else if(a||t.directives.docStart||!i)t.commentBefore=r;else if(br(i)&&!i.flow&&i.items.length>0){let o=i.items[0];dr(o)&&(o=o.key);const s=o.commentBefore;o.commentBefore=s?`${r} 2389${s}`:r}else{const o=i.commentBefore;i.commentBefore=o?`${r} 2390${o}`:r}}if(n){for(let i=0;i<this.errors.length;++i)t.errors.push(this.errors[i]);for(let i=0;i<this.warnings.length;++i)t.warnings.push(this.warnings[i])}else t.errors=this.errors,t.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:NC(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const a of t)yield*this.next(a);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,a)=>{const i=wh(t);i[0]+=n,this.onError(i,"BAD_DIRECTIVE",r,a)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=lot(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new Du(wh(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new Du(wh(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=Q0(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r} 2391${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new Du(wh(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),a=new $v(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),a.range=[0,n,n],this.decorate(a,!1),yield a}}}
2391function cot(e,t=!0,n){if(e){const r=(a,i,o)=>{const s=typeof a=="number"?a:Array.isArray(a)?a[0]:a.offset;if(n)n(s,i,o);else throw new Du([s,s+1],i,o)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return mV(e,t,r);case"block-scalar":return hV({options:{strict:t}},e,r)}}return null}function uot(e,t){const{implicitKey:n=!1,indent:r,inFlow:a=!1,offset:i=-1,type:o="PLAIN"}=t,s=U0({type:o,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:a,options:{blockQuote:!0,lineWidth:-1}}),l=t.end??[{type:"newline",offset:-1,indent:r,source:` 2392`}];switch(s[0]){case"|":case">":{const c=s.indexOf(` 2393`),u=s.substring(0,c),d=s.substring(c+1)+` 2394`,f=[{type:"block-scalar-header",offset:i,indent:r,source:u}];return vV(f,l)||f.push({type:"newline",offset:-1,indent:r,source:` 2395`}),{type:"block-scalar",offset:i,indent:r,props:f,source:d}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:s,end:l};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:s,end:l};default:return{type:"scalar",offset:i,indent:r,source:s,end:l}}}function dot(e,t,n={}){let{afterKey:r=!1,implicitKey:a=!1,inFlow:i=!1,type:o}=n,s="indent"in e?e.indent:null;if(r&&typeof s=="number"&&(s+=2),!o)switch(e.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{const c=e.props[0];if(c.type!=="block-scalar-header")throw new Error("Invalid block scalar header");o=c.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}const l=U0({type:o,value:t},{implicitKey:a||s===null,indent:s!==null&&s>0?" ".repeat(s):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":fot(e,l);break;case'"':x4(e,l,"double-quoted-scalar");break;case"'":x4(e,l,"single-quoted-scalar");break;default:x4(e,l,"scalar")}}function fot(e,t){const n=t.indexOf(` 2396`),r=t.substring(0,n),a=t.substring(n+1)+` 2397`;if(e.type==="block-scalar"){const i=e.props[0];if(i.type!=="block-scalar-header")throw new Error("Invalid block scalar header");i.source=r,e.source=a}else{const{offset:i}=e,o="indent"in e?e.indent:-1,s=[{type:"block-scalar-header",offset:i,indent:o,source:r}];vV(s,"end"in e?e.end:void 0)||s.push({type:"newline",offset:-1,indent:o,source:` 2398`});for(const l of Object.keys(e))l!=="type"&&l!=="offset"&&delete e[l];Object.assign(e,{type:"block-scalar",indent:o,props:s,source:a})}}function vV(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function x4(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let a=t.length;e.props[0].type==="block-scalar-header"&&(a-=e.props[0].source.length);for(const i of r)i.offset+=a;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const a={type:"newline",offset:e.offset+t.length,indent:e.indent,source:` 2399`};delete e.items,Object.assign(e,{type:n,source:t,end:[a]});break}default:{const r="indent"in e?e.indent:-1,a="end"in e&&Array.isArray(e.end)?e.end.filter(i=>i.type==="space"||i.type==="comment"||i.type==="newline"):[];for(const i of Object.keys(e))i!=="type"&&i!=="offset"&&delete e[i];Object.assign(e,{type:n,indent:r,source:t,end:a})}}}const pot=e=>"type"in e?eb(e):Dg(e);function eb(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=eb(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=Dg(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=Dg(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=Dg(e);
2399if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function Dg({start:e,key:t,sep:n,value:r}){let a="";for(const i of e)a+=i.source;if(t&&(a+=eb(t)),n)for(const i of n)a+=i.source;return r&&(a+=eb(r)),a}const r3=Symbol("break visit"),hot=Symbol("skip children"),OV=Symbol("remove item");function ad(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),SV(Object.freeze([]),e,t)}ad.BREAK=r3;ad.SKIP=hot;ad.REMOVE=OV;ad.itemAtPath=(e,t)=>{let n=e;for(const[r,a]of t){const i=n?.[r];if(i&&"items"in i)n=i.items[a];else return}return n};ad.parentCollection=(e,t)=>{const n=ad.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],a=n?.[r];if(a&&"items"in a)return a;throw new Error("Parent collection not found")};function SV(e,t,n){let r=n(t,e);if(typeof r=="symbol")return r;for(const a of["key","value"]){const i=t[a];if(i&&"items"in i){for(let o=0;o<i.items.length;++o){const s=SV(Object.freeze(e.concat([[a,o]])),i.items[o],n);if(typeof s=="number")o=s-1;else{if(s===r3)return r3;s===OV&&(i.items.splice(o,1),o-=1)}}typeof r=="function"&&a==="key"&&(r=r(t,e))}}return typeof r=="function"?r(t,e):r}const Pv="\uFEFF",Iv="�",Nv="�",Um="�",mot=e=>!!e&&"items"in e,got=e=>!!e&&(e.type==="scalar"||e.type==="single-quoted-scalar"||e.type==="double-quoted-scalar"||e.type==="block-scalar");function bot(e){switch(e){case Pv:return"<BOM>";case Iv:return"<DOC>";case Nv:return"<FLOW_END>";case Um:return"<SCALAR>";default:return JSON.stringify(e)}}function wV(e){switch(e){case Pv:return"byte-order-mark";case Iv:return"doc-mode";case Nv:return"flow-error-end";case Um:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case` 2400`:case`\r 2401`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}const yot=Object.freeze(Object.defineProperty({__proto__:null,BOM:Pv,DOCUMENT:Iv,FLOW_END:Nv,SCALAR:Um,createScalarToken:uot,isCollection:mot,isScalar:got,prettyToken:bot,resolveAsScalar:cot,setScalarValue:dot,stringify:pot,tokenType:wV,visit:ad},Symbol.toStringTag,{value:"Module"}));function Uo(e){switch(e){case void 0:case" ":case` 2402`:case"\r":case" ":return!0;default:return!1}}const RC=new Set("0123456789ABCDEFabcdef"),vot=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),q1=new Set(",[]{}"),Oot=new Set(` ,[]{} 2403\r `),k4=e=>!e||Oot.has(e);class xV{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let r=this.next??"stream";for(;r&&(n||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n===" ";)n=this.buffer[++t];return!n||n==="#"||n===` 2404`?!0:n==="\r"?this.buffer[t+1]===` 2405`:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let r=0;for(;n===" ";)n=this.buffer[++r+t];if(n==="\r"){const a=this.buffer[r+t+1];if(a===` 2406`||!a&&!this.atEnd)return t+r+1}return n===` 2407`||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&Uo(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(` 2408`,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===Pv&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length,r=t.indexOf("#");for(;r!==-1;){const i=t[r-1];if(i===" "||i===" "){n=r-1;break}else r=t.indexOf("#",r+1)}for(;;){const i=t[n-1];if(i===" "||i===" ")n-=1;else break}const a=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-a),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield Iv,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if((n==="---"||n==="...")&&Uo(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,n==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Uo(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Uo(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";
2408case"*":return yield*this.pushUntil(k4),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,r=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=r=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const a=this.getLine();if(a===null)return this.setNext("flow");if((r!==-1&&r<this.indentNext&&a[0]!=="#"||r===0&&(a.startsWith("---")||a.startsWith("..."))&&Uo(a[3]))&&!(r===this.indentNext-1&&this.flowLevel===1&&(a[0]==="]"||a[0]==="}")))return this.flowLevel=0,yield Nv,yield*this.parseLineStart();let i=0;for(;a[i]===",";)i+=yield*this.pushCount(1),i+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(i+=yield*this.pushIndicators(),a[i]){case void 0:return"flow";case"#":return yield*this.pushCount(a.length-i),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(k4),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const o=this.charAt(1);if(this.flowKey||Uo(o)||o===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let i=0;for(;this.buffer[n-1-i]==="\\";)i+=1;if(i%2===0)break;n=this.buffer.indexOf('"',n+1)}const r=this.buffer.substring(0,n);let a=r.indexOf(` 2409`,this.pos);if(a!==-1){for(;a!==-1;){const i=this.continueScalar(a+1);if(i===-1)break;a=r.indexOf(` 2410`,i)}a!==-1&&(n=a-(r[a-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>Uo(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,r;e:for(let i=this.pos;r=this.buffer[i];++i)switch(r){case" ":n+=1;break;case` 2411`:t=i,n=0;break;case"\r":{const o=this.buffer[i+1];if(!o&&!this.atEnd)return this.setNext("block-scalar");if(o===` 2412`)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const i=this.continueScalar(t+1);if(i===-1)break;t=this.buffer.indexOf(` 2413`,i)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let a=t+1;for(r=this.buffer[a];r===" ";)r=this.buffer[++a];if(r===" "){for(;r===" "||r===" "||r==="\r"||r===` 2414`;)r=this.buffer[++a];t=a-1}else if(!this.blockScalarKeep)do{let i=t-1,o=this.buffer[i];o==="\r"&&(o=this.buffer[--i]);const s=i;for(;o===" ";)o=this.buffer[--i];if(o===` 2415`&&i>=this.pos&&i+1+n>s)t=i;else break}while(!0);return yield Um,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,r=this.pos-1,a;for(;a=this.buffer[++r];)if(a===":"){const i=this.buffer[r+1];if(Uo(i)||t&&q1.has(i))break;n=r}else if(Uo(a)){let i=this.buffer[r+1];if(a==="\r"&&(i===` 2416`?(r+=1,a=` 2417`,i=this.buffer[r+1]):n=r),i==="#"||t&&q1.has(i))break;if(a===` 2418`){const o=this.continueScalar(r+1);if(o===-1)break;r=Math.max(r,o-2)}}else{if(t&&q1.has(a))break;n=r}return!a&&!this.atEnd?this.setNext("plain-scalar"):(yield Um,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const r=this.buffer.slice(this.pos,t);return r?(yield r,this.pos+=r.length,r.length):(n&&(yield""),0)}*pushIndicators(){let t=0;e:for(;;){switch(this.charAt(0)){case"!":t+=yield*this.pushTag(),t+=yield*this.pushSpaces(!0);continue e;
2418case"&":t+=yield*this.pushUntil(k4),t+=yield*this.pushSpaces(!0);continue e;case"-":case"?":case":":{const n=this.flowLevel>0,r=this.charAt(1);if(Uo(r)||n&&q1.has(r)){n?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,t+=yield*this.pushCount(1),t+=yield*this.pushSpaces(!0);continue e}}}break e}return t}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!Uo(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(vot.has(n))n=this.buffer[++t];else if(n==="%"&&RC.has(this.buffer[t+1])&&RC.has(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===` 2419`?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===` 2420`?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r===" ");const a=n-this.pos;return a>0&&(yield this.buffer.substr(this.pos,a),this.pos=n),a}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class kV{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,r=this.lineStarts.length;for(;n<r;){const i=n+r>>1;this.lineStarts[i]<t?n=i+1:r=i}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const a=this.lineStarts[n-1];return{line:n,col:t-a+1}}}}function gc(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function MC(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function AV(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function Z1(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function Xd(e){if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function tb(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let n=0;n<t.length;++n)e.push(t[n])}function LC(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!gc(t.start,"explicit-key-ind")&&!gc(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,AV(t.value)?t.value.end?tb(t.value.end,t.sep):t.value.end=t.sep:tb(t.start,t.sep),delete t.sep)}let m5=class{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new xV,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const r of this.lexer.lex(t,n))yield*this.next(r);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=wV(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&t?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const r=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in r?r.indent:0:n.type==="flow-collection"&&r.type==="document"&&(n.indent=0),n.type==="flow-collection"&&LC(n),r.type){case"document":r.value=n;break;case"block-scalar":r.props.push(n);break;case"block-map":{const a=r.items[r.items.length-1];if(a.value){r.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(a.sep)a.value=n;else{Object.assign(a,{key:n,sep:[]}),this.onKeyLine=!a.explicitKey;return}break}case"block-seq":{const a=r.items[r.items.length-1];a.value?r.items.push({start:[],value:n}):a.value=n;break}case"flow-collection":{const a=r.items[r.items.length-1];!a||a.value?r.items.push({start:[],key:n,sep:[]}):a.sep?a.value=n:Object.assign(a,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const a=n.items[n.items.length-1];a&&!a.sep&&!a.value&&a.start.length>0&&MC(a.start)===-1&&(n.indent===0||a.start.every(i=>i.type!=="comment"||i.indent<n.indent))&&(r.type==="document"?r.end=a.start:r.items.push({start:a.start}),n.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{MC(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}
2420*scalar(t){if(this.type==="map-value-ind"){const n=Z1(this.peek(2)),r=Xd(n);let a;t.end?(a=t.end,a.push(this.sourceToken),delete t.end):a=[this.sourceToken];const i={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:r,key:t,sep:a}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(` 2421`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(` 2422`,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const a=t.items[t.items.length-2]?.value?.end;if(Array.isArray(a)){tb(a,n.start),a.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const r=!this.onKeyLine&&this.indent===t.indent,a=r&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let i=[];if(a&&n.sep&&!n.value){const o=[];for(let s=0;s<n.sep.length;++s){const l=n.sep[s];switch(l.type){case"newline":o.push(s);break;case"space":break;case"comment":l.indent>t.indent&&(o.length=0);break;default:o.length=0}}o.length>=2&&(i=n.sep.splice(o[1]))}switch(this.type){case"anchor":case"tag":a||n.value?(i.push(this.sourceToken),t.items.push({start:i}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):a||n.value?(i.push(this.sourceToken),t.items.push({start:i,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(gc(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(AV(n.key)&&!gc(n.sep,"newline")){const o=Xd(n.start),s=n.key,l=n.sep;l.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:s,sep:l}]})}else i.length>0?n.sep=n.sep.concat(i,this.sourceToken):n.sep.push(this.sourceToken);else if(gc(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const o=Xd(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||a?t.items.push({start:i,key:null,sep:[this.sourceToken]}):gc(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const o=this.flowScalar(this.type);a||n.value?(t.items.push({start:i,key:o,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(o):(Object.assign(n,{key:o,sep:[]}),this.onKeyLine=!0);return}default:{const o=this.startBlockValue(t);if(o){if(o.type==="block-seq"){if(!n.explicitKey&&n.sep&&!gc(n.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else r&&t.items.push({start:i});this.stack.push(o);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const a=t.items[t.items.length-2]?.value?.end;if(Array.isArray(a)){tb(a,n.start),a.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;
2422case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||gc(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const r=this.startBlockValue(t);if(r){this.stack.push(r);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while(r?.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const a=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:a,sep:[]}):n.sep?this.stack.push(a):Object.assign(n,{key:a,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const a=Z1(r),i=Xd(a);LC(t);const o=t.end.splice(1,t.end.length);o.push(this.sourceToken);const s={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:i,key:t,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(` 2423`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(` 2424`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=Z1(t),r=Xd(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=Z1(t),r=Xd(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}};function TV(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new kV||null,prettyErrors:t}}function Sot(e,t={}){const{lineCounter:n,prettyErrors:r}=TV(t),a=new m5(n?.addNewLine),i=new h5(t),o=Array.from(i.compose(a.parse(e)));if(r&&n)for(const s of o)s.errors.forEach(J2(e,n)),s.warnings.forEac
2424h(J2(e,n));return o.length>0?o:Object.assign([],{empty:!0},i.streamInfo())}function EV(e,t={}){const{lineCounter:n,prettyErrors:r}=TV(t),a=new m5(n?.addNewLine),i=new h5(t);let o=null;for(const s of i.compose(a.parse(e),!0,e.length))if(!o)o=s;else if(o.options.logLevel!=="silent"){o.errors.push(new Du(s.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(o.errors.forEach(J2(e,n)),o.warnings.forEach(J2(e,n))),o}function g5(e,t,n){let r;typeof t=="function"?r=t:n===void 0&&t&&typeof t=="object"&&(n=t);const a=EV(e,n);if(!a)return null;if(a.warnings.forEach(i=>zz(a.options.logLevel,i)),a.errors.length>0){if(a.options.logLevel!=="silent")throw a.errors[0];a.errors=[]}return a.toJS(Object.assign({reviver:r},n))}function _V(e,t,n){let r=null;if(typeof t=="function"||Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n=="string"&&(n=n.length),typeof n=="number"){const a=Math.round(n);n=a<1?void 0:a>8?{indent:8}:{indent:a}}if(e===void 0){const{keepUndefined:a}=n??t??{};if(!a)return}return Rd(e)&&!r?e.toString(n):new $v(e,r,n).toString(n)}const wot=Object.freeze(Object.defineProperty({__proto__:null,Alias:Sv,CST:yot,Composer:h5,Document:$v,Lexer:xV,LineCounter:kV,Pair:Ba,Parser:m5,Scalar:Bt,Schema:cV,YAMLError:f5,YAMLMap:Fi,YAMLParseError:Du,YAMLSeq:Lc,YAMLWarning:fV,isAlias:Nd,isCollection:br,isDocument:Rd,isMap:Vp,isNode:Or,isPair:dr,isScalar:Hn,isSeq:Hp,parse:g5,parseAllDocuments:Sot,parseDocument:EV,stringify:_V,visit:Md,visitAsync:Ov},Symbol.toStringTag,{value:"Module"})),CV={parse:e=>{const t=g5(e,{merge:!0,maxAliasCount:1e4});if(typeof t!="object")throw Error("Invalid YAML object");return t},parseSafe(e,t){try{return CV.parse(e)}catch(n){return typeof t=="function"?t(n):t}},stringify:_V},$V={parse:e=>{const t=JSON.parse(e);if(typeof t!="object")throw Error("Invalid JSON object");return t},parseSafe(e,t){try{return $V.parse(e)}catch(n){return typeof t=="function"?t(n):t}},stringify:e=>JSON.stringify(e)};function $2t(e){const t=e.trim();if(t[0]!=="{"&&t[0]!=="[")return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}const xot=e=>{if(typeof e!="string")return e;const t=$V.parseSafe(e,null);if(t)return t;if(e.length>0&&["{","["].includes(e[0]??""))throw Error("Invalid JSON or YAML");return CV.parseSafe(e,n=>{throw Error(n)})};var kot=e=>!!e.url?.trim()||!!e.content,Aot=e=>{const{slug:t}=U2(),n={};return e&&(Array.isArray(e)?e:[e]).flatMap(r=>{if(lY(r)){const{sources:a,...i}=r;return a?.map(o=>({...i,...o}))??[]}return[r]}).map(r=>mit(r)).filter(kot).map((r,a)=>Tot(r,a,t)).forEach(r=>{const{url:a,content:i,...o}=r;n[r.slug]={config:o,title:r.title,slug:r.slug,default:!!r?.default,agent:r.agent,source:i?{content:PV(i)??{}}:{url:a}}}),n},PV=e=>e?typeof e=="function"?PV(e()):typeof e=="string"?xot(e):e:null,Tot=(e,t=0,n)=>e.title?{...e,slug:e.slug||n(e.title),title:e.title}:e.slug?{...e,slug:n(e.slug),title:e.slug}:{...e,slug:`api-${t+1}`,title:`API #${t+1}`},Eot=e=>typeof window>"u"?sa(e):window.structuredClone(e),_ot=["href"],Cot=Q({__name:"OpenApiClientButton",props:{buttonSource:{},source:{default:"api-reference"},isDevelopment:{type:Boolean},integration:{},url:{},operationPath:{},operationMethod:{}},setup(e){const t=I(()=>{const n=e.url??(typeof window<"u"?window.location.href:void 0);if(!n)return;const r=dv(n);if(!r?.length)return;const a=new URL(e.isDevelopment?"http://localhost:5065":"https://client.scalar.com");if(a.searchParams.set("url",r),e.operationPath?.length&&e.operationMethod?.length&&(a.searchParams.set("operation_path",e.operationPath),a.searchParams.set("operation_method",e.operationMethod.toLowerCase())),e.integration!==null&&a.searchParams.set("integration",e.integration??"vue"),a.searchParams.set("utm_source","api-reference"),a.searchParams.set("utm_medium","button"),a.searchParams.set("utm_campaign",e.buttonSource),e.source==="gitbook"){a.searchParams.set("utm_source","gitbook");const i=document.querySelector("img.dark\\:block[alt='Logo']"),o=document.querySelector("img.dark\\:hidden[alt='Logo']");i&&i instanceof HTMLImageElement&&a.searchParams.set("dark_logo",encodeURIComponent(i.src)),o&&o instanceof HTMLImageElement&&a.searchParams.set("light_logo",encodeURIComponent(o.src))}return a.toString()});return(n,r)=>t.value?(g(),S("a",{key:0,class:"open-api-client-button",href:t.value,target:"_blank"},[N(m(kg),{class:"size-3",weight:"regular"}),r[0]||(r[0]=J(" Open API Client ",-1))],8,_ot)):B("",!0)}}),$ot=uv(Cot,[["__scopeId","data-v-cd067f84"]]),IV={"application/epub+zip":{extension:".epub"},"application/gzip":{extension:".gz"},"application/java-archive":{extension:".jar"},"application/javascript":{extension:".js",raw:!0},"application/json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/ld+json":{extension:".jsonld",raw:!0,language:"json",preview:"json"},"application/problem+json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/vnd.api+json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/dns-json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/x-ndjson":{extension:".ndjson",raw:!0,language:"json",preview:"ndjson"},"application/ndjson":{extension:".ndjson",raw:!0,language:"json",preview:"ndjson"},"application/msword":{extension:".doc"},"application/octet-stream":{extension:".bin"},"application/ogg":{extension:".ogx"},"application/pdf":{extension:".pdf",preview:"object"},"application/rtf":{extension:".rtf",raw:!0},"application/vnd.amazon.ebook":{extension:".azw"},"application/vnd.apple.installer+xml":{extension:".mpkg",raw:!0,language:"xml"},"application/vnd.mozilla.xul+xml":{extension:".xul",raw:!0,language:"xml"},"application/vnd.ms-excel":{extension:".xls"},"application/vnd.ms-fontobject":{extension:".eot"},"application/vnd.ms-powerpoint":{extension:".ppt"},"application/vnd.oasis.opendocument.presentation":{extension:".odp"},"application/vnd.oasis.opendocument.spreadsheet":{extension:".ods"},"application/vnd.oasis.opendocument.text":{extension:".odt"},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extension:".pptx"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extension:".xlsx"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extension:".docx"},"application/vnd.rar":{extension:".rar"},"application/vnd.visio":{extension:".vsd"},"application/x-7z-compressed":{extension:".7z"},"application/x-abiword":{extension:".abw"},"application/x-bzip":{extension:".bz"},"application/x-bzip2":{extension:".bz2"},"application/x-cdf":{extension:".cda"},"application/x-csh":{extension:".csh"},"application/x-freearc":{extension:".arc"},"application/x-httpd-php":{extension:".php",raw:!0},"application/x-sh":{extension:".sh",raw:!0},"application/x-tar":{extension:".tar"},"application/xhtml+xml":{extension:".xhtml",raw:!0,language:"html"},"application/xml":{extension:".xml",raw:!0,language:"xml"},"application/yaml":{extension:".yaml",raw:!0,language:"yaml"},"application/zip":{extension:".zip"},"audio/aac":{extension:".aac"},"audio/midi":{extension:".midi"},"audio/mpeg":{extension:".mp3",preview:"audio"},"audio/ogg":{extension:".oga"},"audio/wav":{extension:".wav"},"audio/webm":{extension:".weba"},"font/otf":{extension:".otf"},"font/ttf":{extension:".ttf"},"font/woff":{extension:".woff"},"font/woff2":{extension:".woff2"},"image/apng":{extension:".apng",preview:"image",alpha:!0},"image/avif":{extension:".avif",preview:"image"},"image/bmp":{extension:".bmp",preview:"image"},"image/gif":{extension:".gif",preview:"image",alpha:!0},"image/jpeg":{extension:".jpg",preview:"image"},"image/png":{extension:".png",preview:"image",alpha:!0},"image/svg+xml":{extension:".svg",raw:!0,language:"xml",preview:"image",alpha:!0},"image/tiff":{extension:".tiff"},"image/vnd.microsoft.icon":{extension:".ico",preview:"image"},"image/webp":{extension:".webp",preview:"image",alpha:!0},"text/calendar":{extension:".ics",raw:!0},"text/css":{extension:".css",raw:!0,language:"css"},"text/csv":{extension:".csv",raw:!0},"text/html":{extension:".html",raw:!0,language:"html",preview:"object"},"text/javascript":{extension:".js",raw:!0},"text/json":{extension:".json",raw:!0,language:"json",preview:"json"},"text/plain":{extension:".txt",raw:!0},"text/xml":{extension:".xml",raw:!0,language:"xml"},"text/yaml":{extension:".yaml",raw:!0,language:"yaml"},"video/3gpp":{extension:".3gp"},"audio/3gpp":{extension:".3gp"},"video/3gpp2":{extension:".3g2"},"audio/3gpp2":{extension:".3g2"},"video/mp2t":{extension:".ts"},"video/mp4":{extension:".mp4",preview:"video"},"video/mpeg":{extension:".mpeg"},"video/ogg":{extension:".ogv"},"video/webm":{extension:".webm",preview:"video"},"video/x-msvideo":{extension:".avi"}},P2t=Object.entries(IV).filter(([,e])=>e?.raw).map(([e])=>e);function Pot(e){const t=IV[e];if(t)return t;if(e.endsWith("+json"))return{extension:".json",raw:!0,language:"json",preview:"json"}}function I2t(e){return!!Pot(e)?.raw}let a3=[],NV=[];(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>
vendor: 44,761 bytes, lines 2424-2428
2424t?parseInt(t,36):1);for(let t=0,n=0;t<e.length;t++)(t%2?NV:a3).push(n=n+e[t])})();function Iot(e){if(e<768)return!1;for(let t=0,n=a3.length;;){let r=t+n>>1;if(e<a3[r])n=r;else if(e>=NV[r])t=r+1;else return!0;if(t==n)return!1}}function DC(e){return e>=127462&&e<=127487}const BC=8205;function Not(e,t,n=!0,r=!0){return(n?RV:Rot)(e,t,r)}function RV(e,t,n){if(t==e.length)return t;t&&MV(e.charCodeAt(t))&&LV(e.charCodeAt(t-1))&&t--;let r=A4(e,t);for(t+=UC(r);t<e.length;){let a=A4(e,t);if(r==BC||a==BC||n&&Iot(a))t+=UC(a),r=a;else if(DC(a)){let i=0,o=t-2;for(;o>=0&&DC(A4(e,o));)i++,o-=2;if(i%2==0)break;t+=2}else break}return t}function Rot(e,t,n){for(;t>0;){let r=RV(e,t-2,n);if(r<t)return r;t--}return 0}function A4(e,t){let n=e.charCodeAt(t);if(!LV(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return MV(r)?(n-55296<<10)+(r-56320)+65536:n}function MV(e){return e>=56320&&e<57344}function LV(e){return e>=55296&&e<56320}function UC(e){return e<65536?1:2}class Tn{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,n,r){[t,n]=op(this,t,n);let a=[];return this.decompose(0,t,a,2),r.length&&r.decompose(0,r.length,a,3),this.decompose(n,this.length,a,1),Ls.from(a,this.length-(n-t)+r.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,n=this.length){[t,n]=op(this,t,n);let r=[];return this.decompose(t,n,r,0),Ls.from(r,n-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let n=this.scanIdentical(t,1),r=this.length-this.scanIdentical(t,-1),a=new rm(this),i=new rm(t);for(let o=n,s=n;;){if(a.next(o),i.next(o),o=0,a.lineBreak!=i.lineBreak||a.done!=i.done||a.value!=i.value)return!1;if(s+=a.value.length,a.done||s>=r)return!0}}iter(t=1){return new rm(this,t)}iterRange(t,n=this.length){return new DV(this,t,n)}iterLines(t,n){let r;if(t==null)r=this.iter();else{n==null&&(n=this.lines+1);let a=this.line(t).from;r=this.iterRange(a,Math.max(a,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new BV(r)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}constructor(){}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");return t.length==1&&!t[0]?Tn.empty:t.length<=32?new _r(t):Ls.from(_r.split(t,[]))}}class _r extends Tn{constructor(t,n=Mot(t)){super(),this.text=t,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(t,n,r,a){for(let i=0;;i++){let o=this.text[i],s=a+o.length;if((n?r:s)>=t)return new Lot(a,s,r,o);a=s+1,r++}}decompose(t,n,r,a){let i=t<=0&&n>=this.length?this:new _r(jC(this.text,t,n),Math.min(n,this.length)-Math.max(0,t));if(a&1){let o=r.pop(),s=Bg(i.text,o.text.slice(),0,i.length);if(s.length<=32)r.push(new _r(s,o.length+i.length));else{let l=s.length>>1;r.push(new _r(s.slice(0,l)),new _r(s.slice(l)))}}else r.push(i)}replace(t,n,r){if(!(r instanceof _r))return super.replace(t,n,r);[t,n]=op(this,t,n);let a=Bg(this.text,Bg(r.text,jC(this.text,0,t)),n),i=this.length+r.length-(n-t);return a.length<=32?new _r(a,i):Ls.from(_r.split(a,[]),i)}sliceString(t,n=this.length,r=` 2425`){[t,n]=op(this,t,n);let a="";for(let i=0,o=0;i<=n&&o<this.text.length;o++){let s=this.text[o],l=i+s.length;i>t&&o&&(a+=r),t<l&&n>i&&(a+=s.slice(Math.max(0,t-i),n-i)),i=l+1}return a}flatten(t){for(let n of this.text)t.push(n)}scanIdentical(){return 0}static split(t,n){let r=[],a=-1;for(let i of t)r.push(i),a+=i.length+1,r.length==32&&(n.push(new _r(r,a)),r=[],a=-1);return a>-1&&n.push(new _r(r,a)),n}}class Ls extends Tn{constructor(t,n){super(),this.children=t,this.length=n,this.lines=0;for(let r of t)this.lines+=r.lines}lineInner(t,n,r,a){for(let i=0;;i++){let o=this.children[i],s=a+o.length,l=r+o.lines-1;if((n?l:s)>=t)return o.lineInner(t,n,r,a);a=s+1,r=l+1}}decompose(t,n,r,a){for(let i=0,o=0;o<=n&&i<this.children.length;i++){let s=this.children[i],l=o+s.length;if(t<=l&&n>=o){let c=a&((o<=t?1:0)|(l>=n?2:0));o>=t&&l<=n&&!c?r.push(s):s.decompose(t-o,n-o,r,c)}o=l+1}}replace(t,n,r){if([t,n]=op(this,t,n),r.lines<this.lines)for(let a=0,i=0;a<this.children.length;a++){let o=this.children[a],s=i+o.length;if(t>=i&&n<=s){let l=o.replace(t-i,n-i,r),c=this.lines-o.lines+l.lines;if(l.lines<c>>4&&l.lines>c>>6){let u=this.children.slice();return u[a]=l,new Ls(u,this.length-(n-t)+r.length)}return super.replace(i,s,l)}i=s+1}return super.replace(t,n,r)}sliceString(t,n=this.length,r=` 2426`){[t,n]=op(this,t,n);let a="";for(let i=0,o=0;i<this.children.length&&o<=n;i++){let s=this.children[i],l=o+s.length;o>t&&i&&(a+=r),t<l&&n>o&&(a+=s.sliceString(t-o,n-o,r)),o=l+1}return a}flatten(t){for(let n of this.children)n.flatten(t)}scanIdentical(t,n){if(!(t instanceof Ls))return 0;let r=0,[a,i,o,s]=n>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;a+=n,i+=n){if(a==o||i==s)return r;let l=this.children[a],c=t.children[i];if(l!=c)return r+l.scanIdentical(c,n);r+=l.length+1}}static from(t,n=t.reduce((r,a)=>r+a.length+1,-1)){let r=0;for(let p of t)r+=p.lines;if(r<32){let p=[];for(let h of t)h.flatten(p);return new _r(p,n)}let a=Math.max(32,r>>5),i=a<<1,o=a>>1,s=[],l=0,c=-1,u=[];function d(p){let h;if(p.lines>i&&p instanceof Ls)for(let b of p.children)d(b);else p.lines>o&&(l>o||!l)?(f(),s.push(p)):p instanceof _r&&l&&(h=u[u.length-1])instanceof _r&&p.lines+h.lines<=32?(l+=p.lines,c+=p.length+1,u[u.length-1]=new _r(h.text.concat(p.text),h.length+1+p.length)):(l+p.lines>a&&f(),l+=p.lines,c+=p.length+1,u.push(p))}function f(){l!=0&&(s.push(u.length==1?u[0]:Ls.from(u,c)),c=-1,l=u.length=0)}for(let p of t)d(p);return f(),s.length==1?s[0]:new Ls(s,n)}}Tn.empty=new _r([""],0);function Mot(e){let t=-1;for(let n of e)t+=n.length+1;return t}function Bg(e,t,n=0,r=1e9){for(let a=0,i=0,o=!0;i<e.length&&a<=r;i++){let s=e[i],l=a+s.length;l>=n&&(l>r&&(s=s.slice(0,r-a)),a<n&&(s=s.slice(n-a)),o?(t[t.length-1]+=s,o=!1):t.push(s)),a=l+1}return t}function jC(e,t,n){return Bg(e,[""],t,n)}class rm{constructor(t,n=1){this.dir=n,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[t],this.offsets=[n>0?1:(t instanceof _r?t.text.length:t.children.length)<<1]}nextInner(t,n){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,a=this.nodes[r],i=this.offsets[r],o=i>>1,s=a instanceof _r?a.text.length:a.children.length;if(o==(n>0?s:0)){if(r==0)return this.done=!0,this.value="",this;n>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((i&1)==(n>0?0:1)){if(this.offsets[r]+=n,t==0)return this.lineBreak=!0,this.value=` 2427`,this;t--}else if(a instanceof _r){let l=a.text[o+(n<0?-1:0)];if(this.offsets[r]+=n,l.length>Math.max(0,t))return this.value=t==0?l:n>0?l.slice(t):l.slice(0,l.length-t),this;t-=l.length}else{let l=a.children[o+(n<0?-1:0)];t>l.length?(t-=l.length,this.offsets[r]+=n):(n<0&&this.offsets[r]--,this.nodes.push(l),this.offsets.push(n>0?1:(l instanceof _r?l.text.length:l.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class DV{constructor(t,n,r){this.value="",this.done=!1,this.cursor=new rm(t,n>r?-1:1),this.pos=n>r?t.length:0,this.from=Math.min(n,r),this.to=Math.max(n,r)}nextInner(t,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let r=n<0?this.pos-this.from:this.to-this.pos;t>r&&(t=r),r-=t;let{value:a}=this.cursor.next(t);return this.pos+=(a.length+t)*n,this.value=a.length<=r?a:n<0?a.slice(a.length-r):a.slice(0,r),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class BV{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:n,lineBreak:r,value:a}=this.inner.next(t);return n&&this.afterBreak?(this.value="",this.afterBreak=!1):n?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=a,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Tn.prototype[Symbol.iterator]=function(){return this.iter()},rm.prototype[Symbol.iterator]=DV.prototype[Symbol.iterator]=BV.prototype[Symbol.iterator]=function(){return this});class Lot{constructor(t,n,r,a){this.from=t,this.to=n,this.number=r,this.text=a}get length(){return this.to-this.from}}function op(e,t,n){return t=Math.max(0,Math.min(e.length,t)),[t,Math.max(t,Math.min(e.length,n))]}function Yo(e,t,n=!0,r=!0){return Not(e,t,n,r)}function Dot(e){return e>=56320&&e<57344}function Bot(e){return e>=55296&&e<56320}function ji(e,t){let n=e.charCodeAt(t);if(!Bot(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return Dot(r)?(n-55296<<10)+(r-56320)+65536:n}function UV(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function vl(e){return e<65536?1:2}const i3=/\r\n?|\n/;var xa=(function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e})(xa||(xa={}));class Ys{constructor(t){this.sections=t}get length(){let t=0;for(let n=0;n<this.sections.length;n+=2)t+=this.sections[n];return t}get newLength(){let t=0;for(let n=0;n<this.sections.length;n+=2){let r=this.sections[n+1];t+=r<0?this.sections[n]:r}return t}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(t){for(let n=0,r=0,a=0;n<this.sections.length;){let i=this.sections[n++],o=this.sections[n++];o<0?(t(r,a,i),a+=i):a+=o,r+=i}}iterChangedRanges(t,n=!1){o3(this,t,n)}get invertedDesc(){let t=[];for(let n=0;n<this.sections.length;){let r=this.sections[n++],a=this.sections[n++];a<0?t.push(r,a):t.push(a,r)}return new Ys(t)}composeDesc(t){return this.empty?t:t.empty?this:jV(this,t)}mapDesc(t,n=!1){return t.empty?this:s3(this,t,n)}mapPos(t,n=-1,r=xa.Simple){let a=0,i=0;for(let o=0;o<this.sections.length;){let s=this.sections[o++],l=this.sections[o++],c=a+s;if(l<0){if(c>t)return i+(t-a);i+=s}else{if(r!=xa.Simple&&c>=t&&(r==xa.TrackDel&&a<t&&c>t||r==xa.TrackBefore&&a<t||r==xa.TrackAfter&&c>t))return null;if(c>t||c==t&&n<0&&!s)return t==a||n<0?i:i+l;i+=l}a=c}if(t>a)throw new RangeError(`Position ${t} is out of range for changeset of length ${a}`);return i}touchesRange(t,n=t){for(let r=0,a=0;r<this.sections.length&&a<=n;){let i=this.sections[r++],o=this.sections[r++],s=a+i;if(o>=0&&a<=n&&s>=t)return a<t&&s>n?"cover":!0;a=s}return!1}toString(){let t="";for(let n=0;n<this.sections.length;){let r=this.sections[n++],a=this.sections[n++];t+=(t?" ":"")+r+(a>=0?":"+a:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Ys(t)}static create(t){return new Ys(t)}}class Yr extends Ys{constructor(t,n){super(t),this.inserted=n}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");return o3(this,(n,r,a,i,o)=>t=t.replace(a,a+(r-n),o),!1),t}mapDesc(t,n=!1){return s3(this,t,n,!0)}invert(t){let n=this.sections.slice(),r=[];for(let a=0,i=0;a<n.length;a+=2){let o=n[a],s=n[a+1];if(s>=0){n[a]=s,n[a+1]=o;let l=a>>1;for(;r.length<l;)r.push(Tn.empty);r.push(o?t.slice(i,i+o):Tn.empty)}i+=o}return new Yr(n,r)}compose(t){return this.empty?t:t.empty?this:jV(this,t,!0)}map(t,n=!1){return t.empty?this:s3(this,t,n,!0)}iterChanges(t,n=!1){o3(this,t,n)}get desc(){return Ys.create(this.sections)}filter(t){let n=[],r=[],a=[],i=new jm(this);e:for(let o=0,s=0;;){let l=o==t.length?1e9:t[o++];for(;s<l||s==l&&i.len==0;){if(i.done)break e;let u=Math.min(i.len,l-s);Ia(a,u,-1);let d=i.ins==-1?-1:i.off==0?i.ins:0;Ia(n,u,d),d>0&&xc(r,n,i.text),i.forward(u),s+=u}let c=t[o++];for(;s<c;){if(i.done)break e;let u=Math.min(i.len,c-s);Ia(n,u,-1),Ia(a,u,i.ins==-1?-1:i.off==0?i.ins:0),i.forward(u),s+=u}}return{changes:new Yr(n,r),filtered:Ys.create(a)}}toJSON(){let t=[];for(let n=0;n<this.sections.length;n+=2){let r=this.sections[n],a=this.sections[n+1];a<0?t.push(r):a==0?t.push([r]):t.push([r].concat(this.inserted[n>>1].toJSON()))}return t}static of(t,n,r){let a=[],i=[],o=0,s=null;function l(u=!1){if(!u&&!a.length)return;o<n&&Ia(a,n-o,-1);let d=new Yr(a,i);s=s?s.compose(d.map(s)):d,a=[],i=[],o=0}function c(u){if(Array.isArray(u))for(let d of u)c(d);else if(u instanceof Yr){if(u.length!=n)throw new RangeError(`Mismatched change set length (got ${u.length}, expected ${n})`);l(),s=s?s.compose(u.map(s)):u}else{let{from:d,to:f=d,insert:p}=u;if(d>f||d<0||f>n)throw new RangeError(`Invalid change range ${d} to ${f} (in doc of length ${n})`);let h=p?typeof p=="string"?Tn.of(p.split(r||i3)):p:Tn.empty,b=h.length;if(d==f&&b==0)return;d<o&&l(),d>o&&Ia(a,d-o,-1),Ia(a,f-d,b),xc(i,a,h),o=f}}return c(t),l(!s),s}static empty(t){return new Yr(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],r=[];for(let a=0;a<t.length;a++){let i=t[a];if(typeof i=="number")n.push(i,-1);else{if(!Array.isArray(i)||typeof i[0]!="number"||i.some((o,s)=>s&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(i.length==1)n.push(i[0],0);else{for(;r.length<a;)r.push(Tn.empty);r[a]=Tn.of(i.slice(1)),n.push(i[0],r[a].length)}}}return new Yr(n,r)}static createSet(t,n){return new Yr(t,n)}}function Ia(e,t,n,r=!1){if(t==0&&n<=0)return;let a=e.length-2;a>=0&&n<=0&&n==e[a+1]?e[a]+=t:a>=0&&t==0&&e[a]==0?e[a+1]+=n:r?(e[a]+=t,e[a+1]+=n):e.push(t,n)}function xc(e,t,n){if(n.length==0)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(Tn.empty);e.push(n)}}function o3(e,t,n){let r=e.inserted;for(let a=0,i=0,o=0;o<e.sections.length;){let s=e.sections[o++],l=e.sections[o++];if(l<0)a+=s,i+=s;else{let c=a,u=i,d=Tn.empty;for(;c+=s,u+=l,l&&r&&(d=d.append(r[o-2>>1])),!(n||o==e.sections.length||e.sections[o+1]<0);)s=e.sections[o++],l=e.sections[o++];t(a,c,i,u,d),a=c,i=u}}}function s3(e,t,n,r=!1){let a=[],i=r?[]:null,o=new jm(e),s=new jm(t);for(let l=-1;;){if(o.done&&s.len||s.done&&o.len)throw new Error("Mismatched change set lengths");if(o.ins==-1&&s.ins==-1){let c=Math.min(o.len,s.len);Ia(a,c,-1),o.forward(c),s.forward(c)}else if(s.ins>=0&&(o.ins<0||l==o.i||o.off==0&&(s.len<o.len||s.len==o.len&&!n))){let c=s.len;for(Ia(a,s.ins,-1);c;){let u=Math.min(o.len,c);o.ins>=0&&l<o.i&&o.len<=u&&(Ia(a,0,o.ins),i&&xc(i,a,o.text),l=o.i),o.forward(u),c-=u}s.next()}else if(o.ins>=0){let c=0,u=o.len;for(;u;)if(s.ins==-1){let d=Math.min(u,s.len);c+=d,u-=d,s.forward(d)}else if(s.ins==0&&s.len<u)u-=s.len,s.next();else break;Ia(a,c,l<o.i?o.ins:0),i&&l<o.i&&xc(i,a,o.text),l=o.i,o.forward(o.len-u)}else{if(o.done&&s.done)return i?Yr.createSet(a,i):Ys.create(a);throw new Error("Mismatched change set lengths")}}}function jV(e,t,n=!1){let r=[],a=n?[]:null,i=new jm(e),o=new jm(t);for(let s=!1;;){if(i.done&&o.done)return a?Yr.createSet(r,a):Ys.create(r);if(i.ins==0)Ia(r,i.len,0,s),i.next();else if(o.len==0&&!o.done)Ia(r,0,o.ins,s),a&&xc(a,r,o.text),o.next();else{if(i.done||o.done)throw new Error("Mismatched change set lengths");{let l=Math.min(i.len2,o.len),c=r.length;if(i.ins==-1){let u=o.ins==-1?-1:o.off?0:o.ins;Ia(r,l,u,s),a&&u&&xc(a,r,o.text)}else o.ins==-1?(Ia(r,i.off?0:i.len,l,s),a&&xc(a,r,i.textBit(l))):(Ia(r,i.off?0:i.len,o.off?0:o.ins,s),a&&!o.off&&xc(a,r,o.text));s=(i.ins>l||o.ins>=0&&o.len>l)&&(s||r.length>c),i.forward2(l),o.forward(l)}}}}class jm{constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i<t.length?(this.len=t[this.i++],this.ins=t[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length?Tn.empty:t[n]}textBit(t){let{inserted:n}=this.set,r=this.i-2>>1;return r>=n.length&&!t?Tn.empty:n[r].slice(this.off,t==null?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){this.ins==-1?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class Bu{constructor(t,n,r){this.from=t,this.to=n,this.flags=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let t=this.flags&7;return t==7?null:t}get goalColumn(){let t=this.flags>>6;return t==16777215?void 0:t}map(t,n=-1){let r,a;return this.empty?r=a=t.mapPos(this.from,n):(r=t.mapPos(this.from,1),a=t.mapPos(this.to,-1)),r==this.from&&a==this.to?this:new Bu(r,a,this.flags)}extend(t,n=t,r=0){if(t<=this.anchor&&n>=this.anchor)return Qe.range(t,n,void 0,void 0,r);let a=Math.abs(t-this.anchor)>Math.abs(n-this.anchor)?t:n;return Qe.range(this.anchor,a,void 0,void 0,r)}eq(t,n=!1){return this.anchor==t.anchor&&this.head==t.head&&this.goalColumn==t.goalColumn&&(!n||!this.empty||this.assoc==t.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return Qe.range(t.anchor,t.head)}static create(t,n,r){return new Bu(t,n,r)}}class Qe{constructor(t,n){this.ranges=t,this.mainIndex=n}map(t,n=-1){return t.empty?this:Qe.create(this.ranges.map(r=>r.map(t,n)),this.mainIndex)}eq(t,n=!1){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let r=0;r<this.ranges.length;r++)if(!this.ranges[r].eq(t.ranges[r],n))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new Qe([this.main],0)}addRange(t,n=!0){return Qe.create([t].concat(this.ranges),n?0:this.mainIndex+1)}replaceRange(t,n=this.mainIndex){let r=this.ranges.slice();return r[n]=t,Qe.create(r,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(t=>t.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!="number"||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new Qe(t.ranges.map(n=>Bu.fromJSON(n)),t.main)}static single(t,n=t){return new Qe([Qe.range(t,n)],0)}static create(t,n=0){if(t.length==0)throw new RangeError("A selection needs at least one range");for(let r=0,a=0;a<t.length;a++){let i=t[a];if(i.empty?i.from<=r:i.from<r)return Qe.normalized(t.slice(),n);r=i.to}return new Qe(t,n)}static cursor(t,n=0,r,a){return Bu.create(t,t,(n==0?0:n<0?8:16)|(r==null?7:Math.min(6,r))|(a??16777215)<<6)}static range(t,n,r,a,i){let o=(r??16777215)<<6|(a==null?7:Math.min(6,a));return!i&&t!=n&&(i=n<t?1:-1),n<t?Bu.create(n,t,48|o):Bu.create(t,n,(i?i<0?8:16:0)|o)}static normalized(t,n=0){let r=t[n];t.sort((a,i)=>a.from-i.from),n=t.indexOf(r);for(let a=1;a<t.length;a++){let i=t[a],o=t[a-1];if(i.empty?i.from<=o.to:i.from<o.to){let s=o.from,l=Math.max(i.to,o.to);a<=n&&n--,t.splice(--a,2,i.anchor>i.head?Qe.range(l,s):Qe.range(s,l))}}return new Qe(t,n)}}function QV(e,t){for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")}let b5=0;class Je{constructor(t,n,r,a,i){this.combine=t,this.compareInput=n,this.compare=r,this.isStatic=a,this.id=b5++,this.default=t([]),this.extensions=typeof i=="function"?i(this):i}get reader(){return this}static define(t={}){return new Je(t.combine||(n=>n),t.compareInput||((n,r)=>n===r),t.compare||(t.combine?(n,r)=>n===r:y5),!!t.static,t.enables)}of(t){return new Ug([],this,0,t)}compute(t,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ug(t,this,1,n)}computeN(t,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ug(t,this,2,n)}from(t,n){return n||(n=r=>r),this.compute([t],r=>n(r.field(t)))}}function y5(e,t){return e==t||e.length==t.length&&e.every((n,r)=>n===t[r])}class Ug{constructor(t,n,r,a){this.dependencies=t,this.facet=n,this.type=r,this.value=a,this.id=b5++}dynamicSlot(t){var n;let r=this.value,a=this.facet.compareInput,i=this.id,o=t[i]>>1,s=this.type==2,l=!1,c=!1,u=[];for(let d of this.dependencies)d=="doc"?l=!0:d=="selection"?c=!0:(((n=t[d.id])!==null&&n!==void 0?n:1)&1)==0&&u.push(t[d.id]);return{create(d){return d.values[o]=r(d),1},update(d,f){if(l&&f.docChanged||c&&(f.docChanged||f.selection)||l3(d,u)){let p=r(d);if(s?!QC(p,d.values[o],a):!a(p,d.values[o]))return d.values[o]=p,1}return 0},reconfigure:(d,f)=>{let p,h=f.config.address[i];if(h!=null){let b=rb(f,h);if(this.dependencies.every(y=>y instanceof Je?f.facet(y)===d.facet(y):y instanceof _i?f.field(y,!1)==d.field(y,!1):!0)||(s?QC(p=r(d),b,a):a(p=r(d),b)))return d.values[o]=b,0}else p=r(d);return d.values[o]=p,1}}}}function QC(e,t,n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function l3(e,t){let n=!1;for(let r of t)am(e,r)&1&&(n=!0);return n}function Uot(e,t,n){let r=n.map(l=>e[l.id]),a=n.map(l=>l.type),i=r.filter(l=>!(l&1)),o=e[t.id]>>1;function s(l){let c=[];for(let u=0;u<r.length;u++){let d=rb(l,r[u]);if(a[u]==2)for(let f of d)c.push(f);else c.push(d)}return t.combine(c)}return{create(l){for(let c of r)am(l,c);return l.values[o]=s(l),1},update(l,c){if(!l3(l,i))return 0;let u=s(l);return t.compare(u,l.values[o])?0:(l.values[o]=u,1)},reconfigure(l,c){let u=l3(l,r),d=c.config.facets[t.id],f=c.facet(t);if(d&&!u&&y5(n,d))return l.values[o]=f,0;let p=s(l);return t.compare(p,f)?(l.values[o]=f,0):(l.values[o]=p,1)}}}const X1=Je.define({static:!0});class _i{constructor(t,n,r,a,i){this.id=t,this.createF=n,this.updateF=r,this.compareF=a,this.spec=i,this.provides=void 0}static define(t){let n=new _i(b5++,t.create,t.update,t.compare||((r,a)=>r===a),t);return t.provide&&(n.provides=t.provide(n)),n}create(t){let n=t.facet(X1).find(r=>r.field==this);return(n?.create||this.createF)(t)}slot(t){let n=t[this.id]>>1;return{create:r=>(r.values[n]=this.create(r),1),update:(r,a)=>{let i=r.values[n],o=this.updateF(i,a);return this.compareF(i,o)?0:(r.values[n]=o,1)},reconfigure:(r,a)=>{let i=r.facet(X1),o=a.facet(X1),s;return(s=i.find(l=>l.field==this))&&s!=o.find(l=>l.field==this)?(r.values[n]=s.create(r),1):a.config.address[this.id]!=null?(r.values[n]=a.field(this),0):(r.values[n]=this.create(r),1)}}}init(t){return[this,X1.of({field:this,create:t})]}get extension(){return this}}const Eu={lowest:4,low:3,default:2,high:1,highest:0};function xh(e){return t=>new FV(t,e)}const Xp={highest:xh(Eu.highest),high:xh(Eu.high),default:xh(Eu.default),low:xh(Eu.low),lowest:xh(Eu.lowest)};class FV{constructor(t,n){this.inner=t,this.prec=n}}class Rv{of(t){return new c3(this,t)}reconfigure(t){return Rv.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class c3{constructor(t,n){this.compartment=t,this.inner=n}}class nb{constructor(t,n,r,a,i,o){for(this.base=t,this.compartments=n,this.dynamicSlots=r,this.address=a,this.staticValues=i,this.facets=o,this.statusTemplate=[];this.statusTemplate.length<r.length;)this.statusTemplate.push(0)}staticFacet(t){let n=this.address[t.id];return n==null?t.default:this.staticValues[n>>1]}static resolve(t,n,r){let a=[],i=Object.create(null),o=new Map;for(let f of jot(t,n,o))f instanceof _i?a.push(f):(i[f.facet.id]||(i[f.facet.id]=[])).push(f);let s=Object.create(null),l=[],c=[];for(let f of a)s[f.id]=c.length<<1,c.push(p=>f.slot(p));let u=r?.config.facets;for(let f in i){let p=i[f],h=p[0].facet,b=u&&u[f]||[];if(p.every(y=>y.type==0))if(s[h.id]=l.length<<1|1,y5(b,p))l.push(r.facet(h));else{let y=h.combine(p.map(O=>O.value));l.push(r&&h.compare(y,r.facet(h))?r.facet(h):y)}else{for(let y of p)y.type==0?(s[y.id]=l.length<<1|1,l.push(y.value)):(s[y.id]=c.length<<1,c.push(O=>y.dynamicSlot(O)));s[h.id]=c.length<<1,c.push(y=>Uot(y,h,p))}}let d=c.map(f=>f(s));return new nb(t,o,d,s,l,i)}}function jot(e,t,n){let r=[[],[],[],[],[]],a=new Map;function i(o,s){let l=a.get(o);if(l!=null){if(l<=s)return;let c=r[l].indexOf(o);c>-1&&r[l].splice(c,1),o instanceof c3&&n.delete(o.compartment)}if(a.set(o,s),Array.isArray(o))for(let c of o)i(c,s);else if(o instanceof c3){if(n.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=t.get(o.compartment)||o.inner;n.set(o.compartment,c),i(c,s)}else if(o instanceof FV)i(o.inner,o.prec);else if(o instanceof _i)r[s].push(o),o.provides&&i(o.provides,s);else if(o instanceof Ug)r[s].push(o),o.facet.extensions&&i(o.facet.extensions,Eu.default);else{let c=o.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);i(c,s)}}return i(e,Eu.default),r.reduce((o,s)=>o.concat(s))}function am(e,t){if(t&1)return 2;let n=t>>1,r=e.status[n];if(r==4)throw new Error("Cyclic dependency between fields and/or facets");if(r&2)return r;e.status[n]=4;let a=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|a}function rb(e,t){return t&1?e.config.staticValues[t>>1]:e.values[t>>1]}const zV=Je.define(),u3=Je.define({combine:e=>e.some(t=>t),static:!0}),VV=Je.define({combine:e=>e.length?e[0]:void 0,static:!0}),HV=Je.define(),qV=Je.define(),ZV=Je.define(),XV=Je.define({combine:e=>e.length?e[0]:!1});class ec{constructor(t,n){this.type=t,this.value=n}static define(){return new Qot}}class Qot{of(t){return new ec(this,t)}}class Fot{constructor(t){this.map=t}of(t){return new Kt(this,t)}}class Kt{constructor(t,n){this.type=t,this.value=n}map(t){let n=this.type.map(this.value,t);return n===void 0?void 0:n==this.value?this:new Kt(this.type,n)}is(t){return this.type==t}static define(t={}){return new Fot(t.map||(n=>n))}static mapEffects(t,n){if(!t.length)return t;let r=[];for(let a of t){let i=a.map(n);i&&r.push(i)}return r}}Kt.reconfigure=Kt.define();Kt.appendConfig=Kt.define();class Ur{constructor(t,n,r,a,i,o){this.startState=t,this.changes=n,this.selection=r,this.effects=a,this.annotations=i,this.scrollIntoView=o,this._doc=null,this._state=null,r&&QV(r,n.newLength),i.some(s=>s.type==Ur.time)||(this.annotations=i.concat(Ur.time.of(Date.now())))}static create(t,n,r,a,i,o){return new Ur(t,n,r,a,i,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(let n of this.annotations)if(n.type==t)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let n=this.annotation(Ur.userEvent);return!!(n&&(n==t||n.length>t.length&&n.slice(0,t.length)==t&&n[t.length]=="."))}}Ur.time=ec.define();Ur.userEvent=ec.define();Ur.addToHistory=ec.define();Ur.remote=ec.define();function zot(e,t){let n=[];for(let r=0,a=0;;){let i,o;if(r<e.length&&(a==t.length||t[a]>=e[r]))i=e[r++],o=e[r++];else if(a<t.length)i=t[a++],o=t[a++];else return n;!n.length||n[n.length-1]<i?n.push(i,o):n[n.length-1]<o&&(n[n.length-1]=o)}}function WV(e,t,n){var r;let a,i,o;return n?(a=t.changes,i=Yr.empty(t.changes.length),o=e.changes.compose(t.changes)):(a=t.changes.map(e.changes),i=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(a)),{changes:o,selection:t.selection?t.selection.map(i):(r=e.selection)===null||r===void 0?void 0:r.map(a),effects:Kt.mapEffects(e.effects,a).concat(Kt.mapEffects(t.effects,i)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function d3(e,t,n){let r=t.selection,a=_f(t.annotations);return t.userEvent&&(a=a.concat(Ur.userEvent.of(t.userEvent))),{changes:t.changes instanceof Yr?t.changes:Yr.of(t.changes||[],n,e.facet(VV)),selection:r&&(r instanceof Qe?r:Qe.single(r.anchor,r.head)),effects:_f(t.effects),annotations:a,scrollIntoView:!!t.scrollIntoView}}function YV(e,t,n){let r=d3(e,t.length?t[0]:{},e.doc.length);t.length&&t[0].filter===!1&&(n=!1);for(let i=1;i<t.length;i++){t[i].filter===!1&&(n=!1);let o=!!t[i].sequential;r=WV(r,d3(e,t[i],o?r.changes.newLength:e.doc.length),o)}let a=Ur.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return Hot(n?Vot(a):a)}function Vot(e){let t=e.startState,n=!0;for(let a of t.facet(HV)){let i=a(e);if(i===!1){n=!1;break}Array.isArray(i)&&(n=n===!0?i:zot(n,i))}if(n!==!0){let a,i;if(n===!1)i=e.changes.invertedDesc,a=Yr.empty(t.doc.length);else{let o=e.changes.filter(n);a=o.changes,i=o.filtered.mapDesc(o.changes).invertedDesc}e=Ur.create(t,a,e.selection&&e.selection.map(i),Kt.mapEffects(e.effects,i),e.annotations,e.scrollIntoView)}let r=t.facet(qV);for(let a=r.length-1;a>=0;a--){let i=r[a](e);i instanceof Ur?e=i:Array.isArray(i)&&i.length==1&&i[0]instanceof Ur?e=i[0]:e=YV(t,_f(i),!1)}return e}function Hot(e){let t=e.startState,n=t.facet(ZV),r=e;for(let a=n.length-1;a>=0;a--){let i=n[a](e);i&&Object.keys(i).length&&(r=WV(r,d3(t,i,e.changes.newLength),!0))}return r==e?e:Ur.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}const qot=[];function _f(e){return e==null?qot:Array.isArray(e)?e:[e]}var go=(function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e})(go||(go={}));const Zot=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let f3;try{f3=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function Xot(e){if(f3)return f3.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>"Â"&&(n.toUpperCase()!=n.toLowerCase()||Zot.test(n)))return!0}return!1}function Wot(e){return t=>{if(!/\S/.test(t))return go.Space;if(Xot(t))return go.Word;for(let n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return go.Word;return go.Other}}class Cn{constructor(t,n,r,a,i,o){this.config=t,this.doc=n,this.selection=r,this.values=a,this.status=t.statusTemplate.slice(),this.computeSlot=i,o&&(o._state=this);for(let s=0;s<this.config.dynamicSlots.length;s++)am(this,s<<1);this.computeSlot=null}field(t,n=!0){let r=this.config.address[t.id];if(r==null){if(n)throw new RangeError("Field is not present in this state");return}return am(this,r),rb(this,r)}update(...t){return YV(this,t,!0)}applyTransaction(t){let n=this.config,{base:r,compartments:a}=n;for(let s of t.effects)s.is(Rv.reconfigure)?(n&&(a=new Map,n.compartments.forEach((l,c)=>a.set(c,l)),n=null),a.set(s.value.compartment,s.value.extension)):s.is(Kt.reconfigure)?(n=null,r=s.value):s.is(Kt.appendConfig)&&(n=null,r=_f(r).concat(s.value));let i;n?i=t.startState.values.slice():(n=nb.resolve(r,a,this),i=new Cn(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let o=t.startState.facet(u3)?t.newSelection:t.newSelection.asSingle();new Cn(n,t.newDoc,o,i,(s,l)=>l.update(s,t),t)}replaceSelection(t){return typeof t=="string"&&(t=this.toText(t)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:t},range:Qe.cursor(n.from+t.length)}))}changeByRange(t){let n=this.selection,r=t(n.ranges[0]),a=this.changes(r.changes),i=[r.range],o=_f(r.effects);for(let s=1;s<n.ranges.length;s++){let l=t(n.ranges[s]),c=this.changes(l.changes),u=c.map(a);for(let f=0;f<s;f++)i[f]=i[f].map(u);let d=a.mapDesc(c,!0);i.push(l.range.map(d)),a=a.compose(u),o=Kt.mapEffects(o,u).concat(Kt.mapEffects(_f(l.effects),d))}return{changes:a,selection:Qe.create(i,n.mainIndex),effects:o}}changes(t=[]){return t instanceof Yr?t:Yr.of(t,this.doc.length,this.facet(Cn.lineSeparator))}toText(t){return Tn.of(t.split(this.facet(Cn.lineSeparator)||i3))}sliceDoc(t=0,n=this.doc.length){return this.doc.sliceString(t,n,this.lineBreak)}facet(t){let n=this.config.address[t.id];return n==null?t.default:(am(this,n),rb(this,n))}toJSON(t){let n={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(t)for(let r in t){let a=t[r];a instanceof _i&&this.config.address[a.id]!=null&&(n[r]=a.spec.toJSON(this.field(t[r]),this))}return n}static fromJSON(t,n={},r){if(!t||typeof t.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let a=[];if(r){for(let i in r)if(Object.prototype.hasOwnProperty.call(t,i)){let o=r[i],s=t[i];a.push(o.init(l=>o.spec.fromJSON(s,l)))}}return Cn.create({doc:t.doc,selection:Qe.fromJSON(t.selection),extensions:n.extensions?a.concat([n.extensions]):a})}static create(t={}){let n=nb.resolve(t.extensions||[],new Map),r=t.doc instanceof Tn?t.doc:Tn.of((t.doc||"").split(n.staticFacet(Cn.lineSeparator)||i3)),a=t.selection?t.selection instanceof Qe?t.selection:Qe.single(t.selection.anchor,t.selection.head):Qe.single(0);return QV(a,r.length),n.staticFacet(u3)||(a=a.asSingle()),new Cn(n,r,a,n.dynamicSlots.map(()=>null),(i,o)=>o.create(i),null)}get tabSize(){return this.facet(Cn.tabSize)}get lineBreak(){return this.facet(Cn.lineSeparator)||` 2428`}get readOnly(){return this.facet(XV)}phrase(t,...n){for(let r of this.facet(Cn.phrases))if(Object.prototype.hasOwnProperty.call(r,t)){t=r[t];break}return n.length&&(t=t.replace(/\$(\$|\d*)/g,(r,a)=>{if(a=="$")return"$";let i=+(a||1);return!i||i>n.length?r:n[i-1]})),t}languageDataAt(t,n,r=-1){let a=[];for(let i of this.facet(zV))for(let o of i(this,n,r))Object.prototype.hasOwnProperty.call(o,t)&&a.push(o[t]);return a}charCategorizer(t){let n=this.languageDataAt("wordChars",t);return Wot(n.length?n[0]:"")}wordAt(t){let{text:n,from:r,length:a}=this.doc.lineAt(t),i=this.charCategorizer(t),o=t-r,s=t-r;for(;o>0;){let l=Yo(n,o,!1);if(i(n.slice(l,o))!=go.Word)break;o=l}for(;s<a;){let l=Yo(n,s);if(i(n.slice(s,l))!=go.Word)break;s=l}return o==s?null:Qe.range(o+r,s+r)}}Cn.allowMultipleSelections=u3;Cn.tabSize=Je.define({combine:e=>e.length?e[0]:4});Cn.lineSeparator=VV;Cn.readOnly=XV;Cn.phrases=Je.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(a=>e[a]==t[a])}});Cn.languageData=zV;Cn.changeFilter=HV;Cn.transactionFilter=qV;Cn.transactionExtender=ZV;Rv.reconfigure=Kt.define();function Ld(e,t,n={}){let r={};for(let a of e)for(let i of Object.keys(a)){let o=a[i],s=r[i];if(s===void 0)r[i]=o;else if(!(s===o||o===void 0))if(Object.hasOwnProperty.call(n,i))r[i]=n[i](s,o);else throw new Error("Config merge conflict for field "+i)}for(let a in t)r[a]===void 0&&(r[a]=t[a]);return r}class Dc{eq(t){return this==t}range(t,n=t){return p3.create(t,n,this)}}Dc.prototype.startSide=Dc.prototype.endSide=0;Dc.prototype.point=!1;Dc.prototype.mapMode=xa.TrackDel;function v5(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}let p3=class GV{constructor(t,n,r){this.from=t,this.to=n,this.value=r}static create(t,n,r){return new GV(t,n,r)}};function h3(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class O5{constructor(t,n,r,a){this.from=t,this.to=n,this.value=r,this.maxPoint=a}get length(){return this.to[this.to.length-1]}findIndex(t,n,r,a=0){let i=r?this.to:this.from;for(let o=a,s=i.length;;){if(o==s)return o;let l=o+s>>1,c=i[l]-t||(r?this.value[l].endSide:this.value[l].startSide)-n;if(l==o)return c>=0?o:s;c>=0?s=l:o=l+1}}between(t,n,r,a){for(let i=this.findIndex(n,-1e9,!0),o=this.findIndex(r,1e9,!1,i);i<o;i++)if(a(this.from[i]+t,this.to[i]+t,this.value[i])===!1)return!1}map(t,n){let r=[],a=[],i=[],o=-1,s=-1;for(let l=0;l<this.value.length;l++){let c=this.value[l],u=this.from[l]+t,d=this.to[l]+t,f,p;if(u==d){let h=n.mapPos(u,c.startSide,c.mapMode);if(h==null||(f=p=h,c.startSide!=c.endSide&&(p=n.mapPos(u,c.endSide),p<f)))continue}else if(f=n.mapPos(u,c.startSide),p=n.mapPos(d,c.endSide),f>p||f==p&&c.startSide>0&&c.endSide<=0)continue;(p-f||c.endSide-c.startSide)<0||(o<0&&(o=f),c.point&&(s=Math.max(s,p-f)),r.push(c),a.push(f-o),i.push(p-o))}return{mapped:r.length?new O5(a,i,r,s):null,pos:o}}}class an{constructor(t,n,r,a){this.chunkPos=t,this.chunk=n,this.nextLayer=r,this.maxPoint=a}static create(t,n,r,a){return new an(t,n,r,a)}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let n of this.chunk)t+=n.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:n=[],sort:r=!1,filterFrom:a=0,filterTo:i=this.length}=t,o=t.filter;if(n.length==0&&!o)return this;if(r&&(n=n.slice().sort(h3)),this.isEmpty)return n.length?an.of(n):this;let s=new KV(this,null,-1).goto(0),l=0,c=[],u=new jl;for(;s.value||l<n.length;)if(l<n.length&&(s.from-n[l].from||s.startSide-n[l].value.startSide)>=0){let d=n[l++];u.addInner(d.from,d.to,d.value)||c.push(d)}else s.rangeIndex==1&&s.chunkIndex<this.chunk.length&&(l==n.length||this.chunkEnd(s.chunkIndex)<n[l].from)&&(!o||a>this.chunkEnd(s.chunkIndex)||i<this.chunkPos[s.chunkIndex])&&u.addChunk(this.chunkPos[s.chunkIndex],this.chunk[s.chunkIndex])?s.nextChunk():((!o||a>s.to||i<s.from||o(s.from,s.to,s.value))&&(u.addInner(s.from,s.to,s.value)||c.push(p3.create(s.from,s.to,s.value))),s.next());return u.finishInner(this.nextLayer.isEmpty&&!c.length?an.empty:this.nextLayer.update({add:c,filter:o,filterFrom:a,filterTo:i}))}map(t){if(t.empty||this.isEmpty)return this;let n=[],r=[],a=-1;for(let o=0;o<this.chunk.length;o++){let s=this.chunkPos[o],l=this.chunk[o],c=t.touchesRange(s,s+l.length);if(c===!1)a=Math.max(a,l.maxPoint),n.push(l),r.push(t.mapPos(s));else if(c===!0){let{mapped:u,pos:d}=l.map(s,t);u&&(a=Math.max(a,u.maxPoint),n.push(u),r.push(d))}}let i=this.nextLayer.map(t);return n.length==0?i:new an(r,n,i||an.empty,a)}between(t,n,r){if(!this.isEmpty){for(let a=0;a<this.chunk.length;a++){let i=this.chunkPos[a],o=this.chunk[a];if(n>=i&&t<=i+o.length&&o.between(i,t-i,n-i,r)===!1)return}this.nextLayer.between(t,n,r)}}iter(t=0){return Qm.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,n=0){return Qm.from(t).goto(n)}static compare(t,n,r,a,i=-1){let o=t.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=i),s=n.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=i),l=FC(o,s,r),c=new kh(o,l,i),u=new kh(s,l,i);r.iterGaps((d,f,p)=>zC(c,d,u,f,p,a)),r.empty&&r.length==0&&zC(c,0,u,0,0,a)}static eq(t,n,r=0,a){a==null&&(a=999999999);let i=t.filter(u=>!u.isEmpty&&n.indexOf(u)<0),o=n.filter(u=>!u.isEmpty&&t.indexOf(u)<0);if(i.length!=o.length)return!1;if(!i.length)return!0;let s=FC(i,o),l=new kh(i,s,0).goto(r),c=new kh(o,s,0).goto(r);for(;;){if(l.to!=c.to||!m3(l.active,c.active)||l.point&&(!c.point||!v5(l.point,c.point)))return!1;if(l.to>a)return!0;l.next(),c.next()}}static spans(t,n,r,a,i=-1){let o=new kh(t,null,i).goto(n),s=n,l=o.openStart;for(;;){let c=Math.min(o.to,r);if(o.point){let u=o.activeForPoint(o.to),d=o.pointFrom<n?u.length+1:o.point.startSide<0?u.length:Math.min(u.length,l);a.point(s,c,o.point,u,d,o.pointRank),l=Math.min(o.openEnd(c),u.length)}else c>s&&(a.span(s,c,o.active,l),l=o.openEnd(c));if(o.to>r)return l+(o.point&&o.to>r?1:0);s=o.to,o.next()}}static of(t,n=!1){let r=new jl;for(let a of t instanceof p3?[t]:n?Yot(t):t)r.add(a.from,a.to,a.value);return r.finish()}static join(t){if(!t.length)return an.empty;let n=t[t.length-1];for(let r=t.length-2;r>=0;r--)for(let a=t[r];a!=an.empty;a=a.nextLayer)n=new an(a.chunkPos,a.chunk,n,Math.max(a.maxPoint,n.maxPoint));return n}}an.empty=new an([],[],null,-1);function Yot(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(h3(t,r)>0)return e.slice().sort(h3);t=r}return e}an.empty.nextLayer=an.empty;class jl{finishChunk(t){this.chunks.push(new O5(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,t&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(t,n,r){this.addInner(t,n,r)||(this.nextLayer||(this.nextLayer=new jl)).add(t,n,r)}addInner(t,n,r){let a=t-this.lastTo||r.startSide-this.last.endSide;if(a<=0&&(t-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return a<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=t),this.from.push(t-this.chunkStart),this.to.push(n-this.chunkStart),this.last=r,this.lastFrom=t,this.lastTo=n,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,n-t)),!0)}addChunk(t,n){if((t-this.lastTo||n.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,n.maxPoint),this.chunks.push(n),this.chunkPos.push(t);let r=n.value.length-1;return this.last=n.value[r],this.lastFrom=n.from[r]+t,this.lastTo=n.to[r]+t,!0}finish(){return this.finishInner(an.empty)}finishInner(t){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return t;let n=an.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);return this.from=null,n}}function FC(e,t,n){let r=new Map;for(let i of e)for(let o=0;o<i.chunk.length;o++)i.chunk[o].maxPoint<=0&&r.set(i.chunk[o],i.chunkPos[o]);let a=new Set;for(let i of t)for(let o=0;o<i.chunk.length;o++){let s=r.get(i.chunk[o]);s!=null&&(n?n.mapPos(s):s)==i.chunkPos[o]&&!n?.touchesRange(s,s+i.chunk[o].length)&&a.add(i.chunk[o])}return a}class KV{constructor(t,n,r,a=0){this.layer=t,this.skip=n,this.minPoint=r,this.rank=a}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(t,n=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(t,n,!1),this}gotoInner(t,n,r){for(;this.chunkIndex<this.layer.chunk.length;){let a=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(a)||this.layer.chunkEnd(this.chunkIndex)<t||a.maxPoint<this.minPoint))break;this.chunkIndex++,r=!1}if(this.chunkIndex<this.layer.chunk.length){let a=this.layer.chunk[this.chunkIndex].findIndex(t-this.layer.chunkPos[this.chunkIndex],n,!0);(!r||this.rangeIndex<a)&&this.setRangeIndex(a)}this.next()}forward(t,n){(this.to-t||this.endSide-n)<0&&this.gotoInner(t,n,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let t=this.layer.chunkPos[this.chunkIndex],n=this.layer.chunk[this.chunkIndex],r=t+n.from[this.rangeIndex];if(this.from=r,this.to=t+n.to[this.rangeIndex],this.value=n.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(t){if(t==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=t}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(t){return this.from-t.from||this.startSide-t.startSide||this.rank-t.rank||this.to-t.to||this.endSide-t.endSide}}class Qm{constructor(t){this.heap=t}static from(t,n=null,r=-1){let a=[];for(let i=0;i<t.length;i++)for(let o=t[i];!o.isEmpty;o=o.nextLayer)o.maxPoint>=r&&a.push(new KV(o,n,r,i));return a.length==1?a[0]:new Qm(a)}get startSide(){return this.value?this.value.startSide:0}goto(t,n=-1e9){for(let r of this.heap)r.goto(t,n);for(let r=this.heap.length>>1;r>=0;r--)T4(this.heap,r);return this.next(),this}forward(t,n){for(let r of this.heap)r.forward(t,n);for(let r=this.heap.length>>1;r>=0;r--)T4(this.heap,r);(this.to-t||this.value.endSide-n)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let t=this.heap[0];this.from=t.from,this.to=t.to,this.value=t.value,this.rank=t.rank,t.value&&t.next(),T4(this.heap,0)}}}function T4(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let a=e[r];if(r+1<e.length&&a.compare(e[r+1])>=0&&(a=e[r+1],r++),n.compare(a)<0)break;e[r]=n,e[t]=a,t=r}}class kh{constructor(t,n,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Qm.from(t,n,r)}goto(t,n=-1e9){return this.cursor.goto(t,n),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=t,this.endSide=n,this.openStart=-1,this.next(),this}forward(t,n){for(;this.minActive>-1&&(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-n)<0;)this.removeActive(this.minActive);this.cursor.forward(t,n)}removeActive(t){W1(this.active,t),W1(this.activeTo,t),W1(this.activeRank,t),this.minActive=VC(this.active,this.activeTo)}
vendor: 2,631 bytes, line 2428
2428addActive(t){let n=0,{value:r,to:a,rank:i}=this.cursor;for(;n<this.activeRank.length&&(i-this.activeRank[n]||a-this.activeTo[n])>0;)n++;Y1(this.active,n,r),Y1(this.activeTo,n,a),Y1(this.activeRank,n,i),t&&Y1(t,n,this.cursor.from),this.minActive=VC(this.active,this.activeTo)}next(){let t=this.to,n=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let a=this.minActive;if(a>-1&&(this.activeTo[a]-this.cursor.from||this.active[a].endSide-this.cursor.startSide)<0){if(this.activeTo[a]>t){this.to=this.activeTo[a],this.endSide=this.active[a].endSide;break}this.removeActive(a),r&&W1(r,a)}else if(this.cursor.value)if(this.cursor.from>t){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let i=this.cursor.value;if(!i.point)this.addActive(r),this.cursor.next();else if(n&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=i,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=i.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(r){this.openStart=0;for(let a=r.length-1;a>=0&&r[a]<t;a--)this.openStart++}}activeForPoint(t){if(!this.active.length)return this.active;let n=[];for(let r=this.active.length-1;r>=0&&!(this.activeRank[r]<this.pointRank);r--)(this.activeTo[r]>t||this.activeTo[r]==t&&this.active[r].endSide>=this.point.endSide)&&n.push(this.active[r]);return n.reverse()}openEnd(t){let n=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>t;r--)n++;return n}}function zC(e,t,n,r,a,i){e.goto(t),n.goto(r);let o=r+a,s=r,l=r-t,c=!!i.boundChange;for(let u=!1;;){let d=e.to+l-n.to,f=d||e.endSide-n.endSide,p=f<0?e.to+l:n.to,h=Math.min(p,o);if(e.point||n.point?(e.point&&n.point&&v5(e.point,n.point)&&m3(e.activeForPoint(e.to),n.activeForPoint(n.to))||i.comparePoint(s,h,e.point,n.point),u=!1):(u&&i.boundChange(s),h>s&&!m3(e.active,n.active)&&i.compareRange(s,h,e.active,n.active),c&&h<o&&(d||e.openEnd(p)!=n.openEnd(p))&&(u=!0)),p>o)break;s=p,f<=0&&e.next(),f>=0&&n.next()}}function m3(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!v5(e[n],t[n]))return!1;return!0}function W1(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function Y1(e,t,n){for(let r=e.length-1;r>=t;r--)e[r+1]=e[r];e[t]=n}function VC(e,t){let n=-1,r=1e9;for(let a=0;a<t.length;a++)(t[a]-r||e[a].endSide-e[n].endSide)<0&&(n=a,r=t[a]);return n}function S5(e,t,n=e.length){let r=0;for(let a=0;a<n&&a<e.length;)e.charCodeAt(a)==9?(r+=t-r%t,a++):(r++,a=Yo(e,a));return r}function Got(e,t,n,r){for(let a=0,i=0;;){if(i>=t)return a;
2428if(a==e.length)break;i+=e.charCodeAt(a)==9?n-i%n:1,a=Yo(e,a)}return e.length}const g3="ͼ",HC=typeof Symbol>"u"?"__"+g3:Symbol.for(g3),b3=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),qC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Bc{constructor(t,n){this.rules=[];let{finish:r}=n||{};function a(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function i(o,s,l,c){let u=[],d=/^@(\w+)\b/.exec(o[0]),f=d&&d[1]=="keyframes";if(d&&s==null)return l.push(o[0]+";");for(let p in s){let h=s[p];if(/&/.test(p))i(p.split(/,\s*/).map(b=>o.map(y=>b.replace(/&/,y))).reduce((b,y)=>b.concat(y)),h,l);else if(h&&typeof h=="object"){if(!d)throw new RangeError("The value of a property ("+p+") should be a primitive value.");i(a(p),h,u,f)}else h!=null&&u.push(p.replace(/_.*/,"").replace(/[A-Z]/g,b=>"-"+b.toLowerCase())+": "+h+";")}(u.length||f)&&l.push((r&&!d&&!c?o.map(r):o).join(", ")+" {"+u.join(" ")+"}")}for(let o in t)i(a(o),t[o],this.rules)}getRules(){return this.rules.join(` 2429`)}static newName(){let t=qC[HC]||1;return qC[HC]=t+1,g3+t.toString(36)}static mount(t,n,r){let a=t[b3],i=r&&r.nonce;a?i&&a.setNonce(i):a=new Kot(t,i),a.mount(Array.isArray(n)?n:[n],t)}}let ZC=new Map;class Kot{constructor(t,n){let r=t.ownerDocument||t,a=r.defaultView;if(!t.head&&t.adoptedStyleSheets&&a.CSSStyleSheet){let i=ZC.get(r);if(i)return t[b3]=i;this.sheet=new a.CSSStyleSheet,ZC.set(r,this)}else this.styleTag=r.createElement("style"),n&&this.styleTag.setAttribute("nonce",n);this.modules=[],t[b3]=this}mount(t,n){let r=this.sheet,a=0,i=0;for(let o=0;o<t.length;o++){let s=t[o],l=this.modules.indexOf(s);if(l<i&&l>-1&&(this.modules.splice(l,1),i--,l=-1),l==-1){if(this.modules.splice(i++,0,s),r)for(let c=0;c<s.rules.length;c++)r.insertRule(s.rules[c],a++)}else{for(;i<l;)a+=this.modules[i++].rules.length;a+=s.rules.length,i++}}if(r)n.adoptedStyleSheets.indexOf(this.sheet)<0&&(n.adoptedStyleSheets=[this.sheet,...n.adoptedStyleSheets]);else{let o="";for(let l=0;l<this.modules.length;l++)o+=this.modules[l].getRules()+` 2430`;this.styleTag.textContent=o;let s=n.head||n;this.styleTag.parentNode!=s&&s.insertBefore(this.styleTag,s.firstChild)}}setNonce(t){this.styleTag&&this.styleTag.getAttribute("nonce")!=t&&this.styleTag.setAttribute("nonce",t)}}var Uc={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Fm={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Jot=typeof navigator<"u"&&/Mac/.test(navigator.platform),est=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var wa=0;wa<10;wa++)Uc[48+wa]=Uc[96+wa]=String(wa);for(var wa=1;wa<=24;wa++)Uc[wa+111]="F"+wa;for(var wa=65;wa<=90;wa++)Uc[wa]=String.fromCharCode(wa+32),Fm[wa]=String.fromCharCode(wa);for(var E4 in Uc)Fm.hasOwnProperty(E4)||(Fm[E4]=Uc[E4]);function tst(e){var t=Jot&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||est&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",n=!t&&e.key||(e.shiftKey?Fm:Uc)[e.keyCode]||e.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}function Ds(){var e=arguments[0];typeof e=="string"&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var a=n[r];typeof a=="string"?e.setAttribute(r,a):a!=null&&(e[r]=a)}t++}for(;t<arguments.length;t++)JV(e,arguments[t]);return e}function JV(e,t){if(typeof t=="string")e.appendChild(document.createTextNode(t));else if(t!=null)if(t.nodeType!=null)e.appendChild(t);else if(Array.isArray(t))for(var n=0;n<t.length;n++)JV(e,t[n]);else throw new RangeError("Unsupported child node: "+t)}let Wa=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},y3=typeof document<"u"?document:{documentElement:{style:{}}};const v3=/Edge\/(\d+)/.exec(Wa.userAgent),eH=/MSIE \d/.test(Wa.userAgent),O3=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Wa.userAgent),Mv=!!(eH||O3||v3),XC=!Mv&&/gecko\/(\d+)/i.test(Wa.userAgent),_4=!Mv&&/Chrome\/(\d+)/.exec(Wa.userAgent),nst="webkitFontSmoothing"in y3.documentElement.style,S3=!Mv&&/Apple Computer/.test(Wa.vendor),WC=S3&&(/Mobile\/\w+/.test(Wa.userAgent)||Wa.maxTouchPoints>2);var tt={mac:WC||/Mac/.test(Wa.platform),windows:/Win/.test(Wa.platform),linux:/Linux|X11/.test(Wa.platform),ie:Mv,ie_version:eH?y3.documentMode||6:O3?+O3[1]:v3?+v3[1]:0,gecko:XC,gecko_version:XC?+(/Firefox\/(\d+)/.exec(Wa.userAgent)||[0,0])[1]:0,chrome:!!_4,chrome_version:_4?+_4[1]:0,ios:WC,android:/Android\b/.test(Wa.userAgent),webkit_version:nst?+(/\bAppleWebKit\/(\d+)/.exec(Wa.userAgent)||[0,0])[1]:0,safari:S3,safari_version:S3?+(/\bVersion\/(\d+(\.\d+)?)/.exec(Wa.userAgent)||[0,0])[1]:0,tabSize:y3.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};function w5(e,t){for(let n in e)n=="class"&&t.class?t.class+=" "+e.class:n=="style"&&t.style?t.style+=";"+e.style:t[n]=e[n];return t}const ab=Object.create(null);function x5(e,t,n){if(e==t)return!0;e||(e=ab),t||(t=ab);let r=Object.keys(e),a=Object.keys(t);if(r.length-0!=a.length-0)return!1;for(let i of r)if(i!=n&&(a.indexOf(i)==-1||e[i]!==t[i]))return!1;return!0}function rst(e,t){for(let n=e.attributes.length-1;n>=0;n--){let r=e.attributes[n].name;t[r]==null&&e.removeAttribute(r)}for(let n in t){let r=t[n];n=="style"?e.style.cssText=r:e.getAttribute(n)!=r&&e.setAttribute(n,r)}}function YC(e,t,n){let r=!1;if(t)for(let a in t)n&&a in n||(r=!0,a=="style"?e.style.cssText="":e.removeAttribute(a));if(n)for(let a in n)t&&t[a]==n[a]||(r=!0,a=="style"?e.style.cssText=n[a]:e.setAttribute(a,n[a]));return r}function ast(e){let t=Object.create(null);for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}return t}class Mo{eq(t){return!1}updateDOM(t,n,r){return!1}compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(t){return!0}coordsAt(t,n,r){return null}get isHidden(){return!1}get editable(){return!1}destroy(t){}}var bi=(function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e})(bi||(bi={}));class Dt extends Dc{constructor(t,n,r,a){super(),this.startSide=t,this.endSide=n,this.widget=r,this.spec=a}get heightRelevant(){return!1}static mark(t){return new F0(t)}static widget(t){let n=Math.max(-1e4,Math.min(1e4,t.side||0)),r=!!t.block;return n+=r&&!t.inlineOrder?n>0?3e8:-4e8:n>0?1e8:-1e8,new id(t,n,n,r,t.widget||null,!1)}static replace(t){let n=!!t.block,r,a;
vendor: 13,022 bytes, line 2430
2430if(t.isBlockGap)r=-5e8,a=4e8;else{let{start:i,end:o}=tH(t,n);r=(i?n?-3e8:-1:5e8)-1,a=(o?n?2e8:1:-6e8)+1}return new id(t,r,a,n,t.widget||null,!0)}static line(t){return new z0(t)}static set(t,n=!1){return an.of(t,n)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Dt.none=an.empty;class F0 extends Dt{constructor(t){let{start:n,end:r}=tH(t);super(n?-1:5e8,r?1:-6e8,null,t),this.tagName=t.tagName||"span",this.attrs=t.class&&t.attributes?w5(t.attributes,{class:t.class}):t.class?{class:t.class}:t.attributes||ab}eq(t){return this==t||t instanceof F0&&this.tagName==t.tagName&&x5(this.attrs,t.attrs)}range(t,n=t){if(t>=n)throw new RangeError("Mark decorations may not be empty");return super.range(t,n)}}F0.prototype.point=!1;class z0 extends Dt{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof z0&&this.spec.class==t.spec.class&&x5(this.spec.attributes,t.spec.attributes)}range(t,n=t){if(n!=t)throw new RangeError("Line decoration ranges must be zero-length");return super.range(t,n)}}z0.prototype.mapMode=xa.TrackBefore;z0.prototype.point=!0;class id extends Dt{constructor(t,n,r,a,i,o){super(n,r,i,t),this.block=a,this.isReplace=o,this.mapMode=a?n<=0?xa.TrackBefore:xa.TrackAfter:xa.TrackDel}get type(){return this.startSide!=this.endSide?bi.WidgetRange:this.startSide<=0?bi.WidgetBefore:bi.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){return t instanceof id&&ist(this.widget,t.widget)&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(t,n=t){if(this.isReplace&&(t>n||t==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=t)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(t,n)}}id.prototype.point=!0;function tH(e,t=!1){let{inclusiveStart:n,inclusiveEnd:r}=e;return n==null&&(n=e.inclusive),r==null&&(r=e.inclusive),{start:n??t,end:r??t}}function ist(e,t){return e==t||!!(e&&t&&e.compare(t))}function Cf(e,t,n,r=0){let a=n.length-1;a>=0&&n[a]+r>=e?n[a]=Math.max(n[a],t):n.push(e,t)}class zm extends Dc{constructor(t,n,r){super(),this.tagName=t,this.attributes=n,this.rank=r}eq(t){return t==this||t instanceof zm&&this.tagName==t.tagName&&x5(this.attributes,t.attributes)}static create(t){return new zm(t.tagName,t.attributes||ab,t.rank==null?50:Math.max(0,Math.min(t.rank,100)))}static set(t,n=!1){return an.of(t,n)}}zm.prototype.startSide=zm.prototype.endSide=-1;function Vm(e){let t;return e.nodeType==11?t=e.getSelection?e:e.ownerDocument:t=e,t.getSelection()}function w3(e,t){return t?e==t||e.contains(t.nodeType!=1?t.parentNode:t):!1}function im(e,t){if(!t.anchorNode)return!1;try{return w3(e,t.anchorNode)}catch{return!1}}function om(e){return e.nodeType==3?qm(e,0,e.nodeValue.length).getClientRects():e.nodeType==1?e.getClientRects():[]}function sm(e,t,n,r){return n?GC(e,t,n,r,-1)||GC(e,t,n,r,1):!1}function jc(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t}function ib(e){return e.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function GC(e,t,n,r,a){for(;;){if(e==n&&t==r)return!0;if(t==(a<0?0:Ql(e))){if(e.nodeName=="DIV")return!1;let i=e.parentNode;if(!i||i.nodeType!=1)return!1;t=jc(e)+(a<0?0:1),e=i}else if(e.nodeType==1){if(e=e.childNodes[t+(a<0?-1:0)],e.nodeType==1&&e.contentEditable=="false")return!1;t=a<0?Ql(e):0}else return!1}}function Ql(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function Hm(e,t){let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function ost(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function nH(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.width-e.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.height-e.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}function sst(e,t,n,r,a,i,o,s){let l=e.ownerDocument,c=l.defaultView||window;for(let u=e,d=!1;u&&!d;)if(u.nodeType==1){let f,p=u==l.body,h=1,b=1;if(p)f=ost(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let A=u.getBoundingClientRect();({scaleX:h,scaleY:b}=nH(u,A)),f={left:A.left,right:A.left+u.clientWidth*h,top:A.top,bottom:A.top+u.clientHeight*b}}let y=0,O=0;if(a=="nearest")t.top<f.top+o?(O=t.top-(f.top+o),n>0&&t.bottom>f.bottom+O&&(O=t.bottom-f.bottom+o)):t.bottom>f.bottom-o&&(O=t.bottom-f.bottom+o,n<0&&t.top-O<f.top&&(O=t.top-(f.top+o)));else{let A=t.bottom-t.top,x=f.bottom-f.top;O=(a=="center"&&A<=x?t.top+A/2-x/2:a=="start"||a=="center"&&n<0?t.top-o:t.bottom-x+o)-f.top}if(r=="nearest"?t.left<f.left+i?(y=t.left-(f.left+i),n>0&&t.right>f.right+y&&(y=t.right-f.right+i)):t.right>f.right-i&&(y=t.right-f.right+i,n<0&&t.left<f.left+y&&(y=t.left-(f.left+i))):y=(r=="center"?t.left+(t.right-t.left)/2-(f.right-f.left)/2:r=="start"==s?t.left-i:t.right-(f.right-f.left)+i)-f.left,y||O)if(p)c.scrollBy(y,O);else{let A=0,x=0;if(O){let T=u.scrollTop;u.scrollTop+=O/b,x=(u.scrollTop-T)*b}if(y){let T=u.scrollLeft;u.scrollLeft+=y/h,A=(u.scrollLeft-T)*h}t={left:t.left-A,top:t.top-x,right:t.right-A,bottom:t.bottom-x},A&&Math.abs(A-y)<1&&(r="nearest"),x&&Math.abs(x-O)<1&&(a="nearest")}if(p)break;(t.top<f.top||t.bottom>f.bottom||t.left<f.left||t.right>f.right)&&(t={left:Math.max(t.left,f.left),right:Math.min(t.right,f.right),top:Math.max(t.top,f.top),bottom:Math.min(t.bottom,f.bottom)}),u=u.assignedSlot||u.parentNode}else if(u.nodeType==11)u=u.host;else break}function rH(e,t=!0){let n=e.ownerDocument,r=null,a=null;for(let i=e.parentNode;i&&!(i==n.body||(!t||r)&&a);)if(i.nodeType==1)!a&&i.scrollHeight>i.clientHeight&&(a=i),t&&!r&&i.scrollWidth>i.clientWidth&&(r=i),i=i.assignedSlot||i.parentNode;else if(i.nodeType==11)i=i.host;else break;return{x:r,y:a}}class lst{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.anchorOffset&&this.focusNode==t.focusNode&&this.focusOffset==t.focusOffset}setRange(t){let{anchorNode:n,focusNode:r}=t;this.set(n,Math.min(t.anchorOffset,n?Ql(n):0),r,Math.min(t.focusOffset,r?Ql(r):0))}set(t,n,r,a){this.anchorNode=t,this.anchorOffset=n,this.focusNode=r,this.focusOffset=a}}let xu=null;tt.safari&&tt.safari_version>=26&&(xu=!1);function aH(e){if(e.setActive)return e.setActive();if(xu)return e.focus(xu);let t=[];for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(xu==null?{get preventScroll(){return xu={preventScroll:!0},!0}}:void 0),!xu){xu=!1;for(let n=0;n<t.length;){let r=t[n++],a=t[n++],i=t[n++];r.scrollTop!=a&&(r.scrollTop=a),r.scrollLeft!=i&&(r.scrollLeft=i)}}}let KC;function qm(e,t,n=t){let r=KC||(KC=document.createRange());return r.setEnd(e,n),r.setStart(e,t),r}function $f(e,t,n,r){let a={key:t,code:t,keyCode:n,which:n,cancelable:!0};r&&({altKey:a.altKey,ctrlKey:a.ctrlKey,shiftKey:a.shiftKey,metaKey:a.metaKey}=r);let i=new KeyboardEvent("keydown",a);i.synthetic=!0,e.dispatchEvent(i);let o=new KeyboardEvent("keyup",a);return o.synthetic=!0,e.dispatchEvent(o),i.defaultPrevented||o.defaultPrevented}function cst(e){for(;e;){if(e&&(e.nodeType==9||e.nodeType==11&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}function ust(e,t){let n=t.focusNode,r=t.focusOffset;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1;for(r=Math.min(r,Ql(n));;)if(r){if(n.nodeType!=1)return!1;let a=n.childNodes[r-1];a.contentEditable=="false"?r--:(n=a,r=Ql(n))}else{if(n==e)return!0;r=jc(n),n=n.parentNode}}function iH(e){return e instanceof Window?e.pageYOffset>Math.max(0,e.document.documentElement.scrollHeight-e.innerHeight-4):e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function oH(e,t){for(let n=e,r=t;;){if(n.nodeType==3&&r>0)return{node:n,offset:r};if(n.nodeType==1&&r>0){if(n.contentEditable=="false")return null;n=n.childNodes[r-1],r=Ql(n)}else if(n.parentNode&&!ib(n))r=jc(n),n=n.parentNode;else return null}}function sH(e,t){for(let n=e,r=t;;){if(n.nodeType==3&&r<n.nodeValue.length)return{node:n,offset:r};if(n.nodeType==1&&r<n.childNodes.length){if(n.contentEditable=="false")return null;n=n.childNodes[r],r=0}else if(n.parentNode&&!ib(n))r=jc(n)+1,n=n.parentNode;else return null}}class Go{constructor(t,n,r=!0){this.node=t,this.offset=n,this.precise=r}static before(t,n){return new Go(t.parentNode,jc(t),n)}static after(t,n){return new Go(t.parentNode,jc(t)+1,n)}}var vr=(function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e})(vr||(vr={}));const od=vr.LTR,k5=vr.RTL;function lH(e){let t=[];for(let n=0;n<e.length;n++)t.push(1<<+e[n]);return t}const dst=lH("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),fst=lH("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),x3=Object.create(null),As=[];for(let e of["()","[]","{}"]){let t=e.charCodeAt(0),n=e.charCodeAt(1);x3[t]=n,x3[n]=-t}function cH(e){return e<=247?dst[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?fst[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}const pst=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class js{get dir(){return this.level%2?k5:od}constructor(t,n,r){this.from=t,this.to=n,this.level=r}side(t,n){return this.dir==n==t?this.to:this.from}forward(t,n){return t==(this.dir==n)}static find(t,n,r,a){let i=-1;for(let o=0;o<t.length;o++){let s=t[o];if(s.from<=n&&s.to>=n){if(s.level==r)return o;(i<0||(a!=0?a<0?s.from<n:s.to>n:t[i].level>s.level))&&(i=o)}}if(i<0)throw new RangeError("Index out of range");return i}}function uH(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],a=t[n];if(r.from!=a.from||r.to!=a.to||r.direction!=a.direction||!uH(r.inner,a.inner))return!1}return!0}const Qn=[];function hst(e,t,n,r,a){for(let i=0;i<=r.length;i++){let o=i?r[i-1].to:t,s=i<r.length?r[i].from:n,l=i?256:a;for(let c=o,u=l,d=l;c<s;c++){let f=cH(e.charCodeAt(c));f==512?f=u:f==8&&d==4&&(f=16),Qn[c]=f==4?2:f,f&7&&(d=f),u=f}for(let c=o,u=l,d=l;c<s;c++){let f=Qn[c];if(f==128)c<s-1&&u==Qn[c+1]&&u&24?f=Qn[c]=u:Qn[c]=256;else if(f==64){let p=c+1;for(;p<s&&Qn[p]==64;)p++;let h=c&&u==8||p<n&&Qn[p]==8?d==1?1:8:256;for(let b=c;b<p;b++)Qn[b]=h;c=p-1}else f==8&&d==1&&(Qn[c]=1);u=f,f&7&&(d=f)}}}function mst(e,t,n,r,a){let i=a==1?2:1;for(let o=0,s=0,l=0;o<=r.length;o++){let c=o?r[o-1].to:t,u=o<r.length?r[o].from:n;for(let d=c,f,p,h;d<u;d++)if(p=x3[f=e.charCodeAt(d)])if(p<0){for(let b=s-3;b>=0;b-=3)if(As[b+1]==-p){let y=As[b+2],O=y&2?a:y&4?y&1?i:a:0;O&&(Qn[d]=Qn[As[b]]=O),s=b;break}}else{if(As.length==189)break;As[s++]=d,As[s++]=f,As[s++]=l}else if((h=Qn[d])==2||h==1){let b=h==a;l=b?0:1;for(let y=s-3;y>=0;y-=3){let O=As[y+2];if(O&2)break;if(b)As[y+2]|=2;else{if(O&4)break;As[y+2]|=4}}}}}function gst(e,t,n,r){for(let a=0,i=r;a<=n.length;a++){let o=a?n[a-1].to:e,s=a<n.length?n[a].from:t;for(let l=o;l<s;){let c=Qn[l];if(c==256){let u=l+1;for(;;)if(u==s){if(a==n.length)break;u=n[a++].to,s=a<n.length?n[a].from:t}else if(Qn[u]==256)u++;else break;let d=i==1,f=(u<t?Qn[u]:r)==1,p=d==f?d?1:2:r;for(let h=u,b=a,y=b?n[b-1].to:e;h>l;)h==y&&(h=n[--b].from,y=b?n[b-1].to:e),Qn[--h]=p;l=u}else i=c,l++}}}function k3(e,t,n,r,a,i,o){let s=r%2?2:1;if(r%2==a%2)for(let l=t,c=0;l<n;){let u=!0,d=!1;if(c==i.length||l<i[c].from){let b=Qn[l];b!=s&&(u=!1,d=b==16)}let f=!u&&s==1?[]:null,p=u?r:r+1,h=l;e:for(;;)if(c<i.length&&h==i[c].from){if(d)break e;let b=i[c];if(!u)for(let y=b.to,O=c+1;;){if(y==n)break e;if(O<i.length&&i[O].from==y)y=i[O++].to;else{if(Qn[y]==s)break e;break}}if(c++,f)f.push(b);else{b.from>l&&o.push(new js(l,b.from,p));let y=b.direction==od!=!(p%2);A3(e,y?r+1:r,a,b.inner,b.from,b.to,o),l=b.to}h=b.to}else{if(h==n||(u?Qn[h]!=s:Qn[h]==s))break;h++}f?k3(e,l,h,r+1,a,f,o):l<h&&o.push(new js(l,h,p)),l=h}else for(let l=n,c=i.length;l>t;){let u=!0,d=!1;if(!c||l>i[c-1].to){let b=Qn[l-1];b!=s&&(u=!1,d=b==16)}let f=!u&&s==1?[]:null,p=u?r:r+1,h=l;e:for(;;)if(c&&h==i[c-1].to){if(d)break e;let b=i[--c];if(!u)for(let y=b.from,O=c;;){if(y==t)break e;if(O&&i[O-1].to==y)y=i[--O].from;else{if(Qn[y-1]==s)break e;break}}if(f)f.push(b);else{b.to<l&&o.push(new js(b.to,l,p));let y=b.direction==od!=!(p%2);A3(e,y?r+1:r,a,b.inner,b.from,b.to,o),l=b.from}h=b.from}else{if(h==t||(u?Qn[h-1]!=s:Qn[h-1]==s))break;h--}f?k3(e,h,l,r+1,a,f,o):h<l&&o.push(new js(h,l,p)),l=h}}function A3(e,t,n,r,a,i,o){let s=t%2?2:1;hst(e,a,i,r,s),mst(e,a,i,r,s),gst(a,i,r,s),k3(e,a,i,t,n,r,o)}function bst(e,t,n){if(!e)return[new js(0,0,t==k5?1:0)];
2430if(t==od&&!n.length&&!pst.test(e))return dH(e.length);if(n.length)for(;e.length>Qn.length;)Qn[Qn.length]=256;let r=[],a=t==od?0:1;return A3(e,a,a,n,0,e.length,r),r}function dH(e){return[new js(0,e,0)]}let fH="";function yst(e,t,n,r,a){var i;let o=r.head-e.from,s=js.find(t,o,(i=r.bidiLevel)!==null&&i!==void 0?i:-1,r.assoc),l=t[s],c=l.side(a,n);if(o==c){let f=s+=a?1:-1;if(f<0||f>=t.length)return null;l=t[s=f],o=l.side(!a,n),c=l.side(a,n)}let u=Yo(e.text,o,l.forward(a,n));(u<l.from||u>l.to)&&(u=c),fH=e.text.slice(Math.min(o,u),Math.max(o,u));let d=s==(a?t.length-1:0)?null:t[s+(a?1:-1)];return d&&u==c&&d.level+(a?0:1)<l.level?Qe.cursor(d.side(!a,n)+e.from,d.forward(a,n)?1:-1,d.level):Qe.cursor(u+e.from,l.forward(a,n)?-1:1,l.level)}function vst(e,t,n){for(let r=t;r<n;r++){let a=cH(e.charCodeAt(r));if(a==1)return od;if(a==2||a==4)return k5}return od}const pH=Je.define(),hH=Je.define(),mH=Je.define(),gH=Je.define(),T3=Je.define(),bH=Je.define(),yH=Je.define(),A5=Je.define(),T5=Je.define(),vH=Je.define({combine:e=>e.some(t=>t)}),Ost=Je.define({combine:e=>e.some(t=>t)}),OH=Je.define();class Pf{constructor(t,n,r,a,i,o=!1){this.range=t,this.y=n,this.x=r,this.yMargin=a,this.xMargin=i,this.isSnapshot=o}map(t){return t.empty?this:new Pf(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(t){return this.range.to<=t.doc.length?this:new Pf(Qe.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const G1=Kt.define({map:(e,t)=>e.map(t)}),SH=Kt.define();function Ja(e,t,n){let r=e.facet(gH);r.length?r[0](t):window.onerror&&window.onerror(String(t),n,void 0,void 0,t)||(n?console.error(n+":",t):console.error(t))}const Ol=Je.define({combine:e=>e.length?e[0]:!0});let Sst=0;const gf=Je.define({combine(e){return e.filter((t,n)=>{for(let r=0;r<n;r++)if(e[r].plugin==t.plugin)return!1;return!0})}});class ea{constructor(t,n,r,a,i){this.id=t,this.create=n,this.domEventHandlers=r,this.domEventObservers=a,this.baseExtensions=i(this),this.extension=this.baseExtensions.concat(gf.of({plugin:this,arg:void 0}))}of(t){return this.baseExtensions.concat(gf.of({plugin:this,arg:t}))}static define(t,n){const{eventHandlers:r,eventObservers:a,provide:i,decorations:o}=n||{};return new ea(Sst++,t,r,a,s=>{let l=[];return o&&l.push(Lv.of(c=>{let u=c.plugin(s);return u?o(u):Dt.none})),i&&l.push(i(s)),l})}static fromClass(t,n){return ea.define((r,a)=>new t(r,a),n)}}class C4{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(t){if(this.value){if(this.mustUpdate){let n=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(n)}catch(r){if(Ja(n.state,r,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(t,this.spec.arg)}catch(n){Ja(t.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var n;if(!((n=this.value)===null||n===void 0)&&n.destroy)try{this.value.destroy()}catch(r){Ja(t.state,r,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const wH=Je.define(),E5=Je.define(),Lv=Je.define(),xH=Je.define(),_5=Je.define(),V0=Je.define(),kH=Je.define();function JC(e,t){let n=e.state.facet(kH);if(!n.length)return n;let r=n.map(i=>i instanceof Function?i(e):i),a=[];return an.spans(r,t.from,t.to,{point(){},span(i,o,s,l){let c=i-t.from,u=o-t.from,d=a;for(let f=s.length-1;f>=0;f--,l--){let p=s[f].spec.bidiIsolate,h;if(p==null&&(p=vst(t.text,c,u)),l>0&&d.length&&(h=d[d.length-1]).to==c&&h.direction==p)h.to=u,d=h.inner;else{let b={from:c,to:u,direction:p,inner:[]};d.push(b),d=b.inner}}}}),a}const AH=Je.define();function C5(e){let t=0,n=0,r=0,a=0;for(let i of e.state.facet(AH)){let o=i(e);o&&(o.left!=null&&(t=Math.max(t,o.left)),o.right!=null&&(n=Math.max(n,o.right)),o.top!=null&&(r=Math.max(r,o.top)),o.bottom!=null&&(a=Math.max(a,o.bottom)))}return{left:t,right:n,top:r,bottom:a}}const Bh=Je.define();class bo{constructor(t,n,r,a){this.fromA=t,this.toA=n,this.fromB=r,this.toB=a}join(t){return new bo(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let n=t.length,r=this;for(;n>0;n--){let a=t[n-1];if(!(a.fromA>
vendor: 6,480 bytes, line 2430
2430r.toA)){if(a.toA<r.fromA)break;r=r.join(a),t.splice(n-1,1)}}return t.splice(n,0,r),t}static extendWithRanges(t,n){if(n.length==0)return t;let r=[];for(let a=0,i=0,o=0;;){let s=a<t.length?t[a].fromB:1e9,l=i<n.length?n[i]:1e9,c=Math.min(s,l);if(c==1e9)break;let u=c+o,d=c,f=u;for(;;)if(i<n.length&&n[i]<=d){let p=n[i+1];i+=2,d=Math.max(d,p);for(let h=a;h<t.length&&t[h].fromB<=d;h++)o=t[h].toA-t[h].toB;f=Math.max(f,p+o)}else if(a<t.length&&t[a].fromB<=d){let p=t[a++];d=Math.max(d,p.toB),f=Math.max(f,p.toA),o=p.toA-p.toB}else break;r.push(new bo(u,f,c,d))}return r}}class ob{constructor(t,n,r){this.view=t,this.state=n,this.transactions=r,this.flags=0,this.startState=t.state,this.changes=Yr.empty(this.startState.doc.length);for(let i of r)this.changes=this.changes.compose(i.changes);let a=[];this.changes.iterChangedRanges((i,o,s,l)=>a.push(new bo(i,o,s,l))),this.changedRanges=a}static create(t,n,r){return new ob(t,n,r)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(t=>t.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}const wst=[];class Ar{constructor(t,n,r=0){this.dom=t,this.length=n,this.flags=r,this.parent=null,t.cmTile=this}get breakAfter(){return this.flags&1}get children(){return wst}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(t){if(this.flags|=2,this.flags&4){this.flags&=-5;let n=this.domAttrs;n&&rst(this.dom,n)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:"")+(this.breakAfter?"#":"")}destroy(){this.parent=null}setDOM(t){this.dom=t,t.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(t,n=this.posAtStart){let r=n;for(let a of this.children){if(a==t)return r;r+=a.length+a.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(t){return this.posBefore(t)+t.length}covers(t){return!0}coordsIn(t,n){return null}domPosFor(t,n){let r=jc(this.dom),a=this.length?t>0:n>0;return new Go(this.parent.dom,r+(a?1:0),t==0||t==this.length)}markDirty(t){this.flags&=-3,t&&(this.flags|=4),this.parent&&this.parent.flags&2&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let t=this;t;t=t.parent)if(t instanceof Bv)return t;return null}static get(t){return t.cmTile}}class Dv extends Ar{constructor(t){super(t,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(t){this.children.push(t),t.parent=this}sync(t){if(this.flags&2)return;super.sync(t);let n=this.dom,r=null,a,i=t?.node==n?t:null,o=0;for(let s of this.children){if(s.sync(t),o+=s.length+s.breakAfter,a=r?r.nextSibling:n.firstChild,i&&a!=s.dom&&(i.written=!0),s.dom.parentNode==n)for(;a&&a!=s.dom;)a=e7(a);else n.insertBefore(s.dom,a);r=s.dom}for(a=r?r.nextSibling:n.firstChild,i&&a&&(i.written=!0);a;)a=e7(a);this.length=o}}function e7(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class Bv extends Dv{constructor(t,n){super(n),this.view=t}owns(t){for(;t;t=t.parent)if(t==this)return!0;return!1}isBlock(){return!0}nearest(t){for(;;){if(!t)return null;let n=Ar.get(t);if(n&&this.owns(n))return n;t=t.parentNode}}blockTiles(t){for(let n=[],r=this,a=0,i=0;;)if(a==r.children.length){if(!n.length)return;r=r.parent,r.breakAfter&&i++,a=n.pop()}else{let o=r.children[a++];if(o instanceof Cl)n.push(a),r=o,a=0;else{let s=i+o.length,l=t(o,i);if(l!==void 0)return l;i=s+o.breakAfter}}}resolveBlock(t,n){let r,a=-1,i,o=-1;if(this.blockTiles((s,l)=>{let c=l+s.length;if(t>=l&&t<=c){if(s.isWidget()&&n>=-1&&n<=1){if(s.flags&32)return!0;s.flags&16&&(r=void 0)}(l<t||t==c&&(n<-1?s.length:s.covers(1)))&&(!r||!s.isWidget()&&r.isWidget())&&(r=s,a=t-l),(c>t||t==l&&(n>1?s.length:s.covers(-1)))&&(!i||!s.isWidget()&&i.isWidget())&&(i=s,o=t-l)}}),!r&&!i)throw new Error("No tile at position "+t);return r&&n<0||!i?{tile:r,offset:a}:{tile:i,offset:o}}}class Cl extends Dv{constructor(t,n){super(t),this.wrapper=n}isBlock(){return!0}covers(t){return this.children.length?t<0?this.children[0].covers(-1):this.lastChild.covers(1):!1}get domAttrs(){return this.wrapper.attributes}static of(t,n){let r=new Cl(n||document.createElement(t.tagName),t);return n||(r.flags|=4),r}}class sp extends Dv{constructor(t,n){super(t),this.attrs=n}isLine(){return!0}static start(t,n,r){let a=new sp(n||document.createElement("div"),t);return(!n||!r)&&(a.flags|=4),a}get domAttrs(){return this.attrs}resolveInline(t,n,r){let a=null,i=-1,o=null,s=-1;function l(u,d){for(let f=0,p=0;f<u.children.length&&p<=d;f++){let h=u.children[f],b=p+h.length;b>=d&&(h.isComposite()?l(h,d-p):(!o||o.isHidden&&(n>0||r&&kst(o,h)))&&(b>d||h.flags&32)?(o=h,s=d-p):(p<d||h.flags&16&&!h.isHidden)&&(a=h,i=d-p)),p=b}}l(this,t);let c=(n<0?a:o)||a||o;return c?{tile:c,offset:c==a?i:s}:null}coordsIn(t,n){let r=this.resolveInline(t,n,!0);return r?r.tile.coordsIn(Math.max(0,r.offset),n):xst(this)}domIn(t,n){let r=this.resolveInline(t,n);if(r){let{tile:a,offset:i}=r;if(this.dom.contains(a.dom))return a.isText()?new Go(a.dom,Math.min(a.dom.nodeValue.length,i)):a.domPosFor(i,a.flags&16?1:a.flags&32?-1:n);let o=r.tile.parent,s=!1;for(let l of o.children){if(s)return new Go(l.dom,0);l==r.tile&&(s=!0)}}return new Go(this.dom,0)}}function xst(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=om(t);return n[n.length-1]||null}function kst(e,t){let n=e.coordsIn(0,1),r=t.coordsIn(0,1);return n&&r&&r.top<n.bottom}class fi extends Dv{constructor(t,n){super(t),this.mark=n}get domAttrs(){return this.mark.attrs}static of(t,n){let r=new fi(n||document.createElement(t.tagName),t);return n||(r.flags|=4),r}}class Uu extends Ar{constructor(t,n){super(t,n.length),this.text=n}sync(t){this.flags&2||(super.sync(t),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text))}isText(){return!0}toString(){return JSON.stringify(this.text)}coordsIn(t,n){let r=this.dom.nodeValue.length;t>r&&(t=r);let a=t,i=t,o=0;t==0&&n<0||t==r&&n>=0?tt.chrome||tt.gecko||(t?(a--,o=1):i<r&&(i++,o=-1)):n<0?a--:i<r&&i++;
2430let s=qm(this.dom,a,i).getClientRects();if(!s.length)return null;let l=s[(o?o<0:n>=0)?0:s.length-1];return tt.safari&&!o&&l.width==0&&(l=Array.prototype.find.call(s,c=>c.width)||l),o?Hm(l,o<0):l||null}static of(t,n){let r=new Uu(n||document.createTextNode(t),t);return n||(r.flags|=2),r}}class sd extends Ar{constructor(t,n,r,a){super(t,n,a),this.widget=r}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(t){return this.flags&48?!1:(this.flags&(t<0?64:128))>0}coordsIn(t,n){return this.coordsInWidget(t,n,!1)}coordsInWidget(t,n,r){let a=this.widget.coordsAt(this.dom,t,n);if(a)return a;if(r)return Hm(this.dom.getBoundingClientRect(),this.length?t==0:n<=0);{let i=this.dom.getClientRects(),o=null;if(!i.length)return null;let s=this.flags&16?!0:this.flags&32?!1:t>0;for(let l=s?i.length-1:0;o=i[l],!(t>0?l==0:l==i.length-1||o.top<o.bottom);l+=s?-1:1);return Hm(o,!s)}}get overrideDOMText(){if(!this.length)return Tn.empty;let{root:t}=this;if(!t)return Tn.empty;let n=this.posAtStart;return t.view.state.doc.slice(n,n+this.length)}destroy(){super.destroy(),this.widget.destroy(this.dom)}static of(t,n,r,a,i){return i||(i=t.toDOM(n),t.editable||(i.contentEditable="false")),new sd(i,r,t,a)}}class sb extends Ar{constructor(t){let n=document.createElement("img");n.className="cm-widgetBuffer",n.setAttribute("aria-hidden","true"),super(n,0,t)}get isHidden(){return!0}get overrideDOMText(){return Tn.empty}coordsIn(t){return this.dom.getBoundingClientRect()}}class Ast{constructor(t){this.index=0,this.beforeBreak=!1,this.parents=[],this.tile=t}advance(t,n,r){let{tile:a,index:i,beforeBreak:o,parents:s}=this;for(;t||n>0;)if(a.isComposite())if(o){if(!t)break;r&&r.break(),t--,o=!1}else if(i==a.children.length){if(!t&&!s.length)break;r&&r.leave(a),o=!!a.breakAfter,{tile:a,index:i}=s.pop(),i++}else{let l=a.children[i],c=l.breakAfter;(n>0?l.length<=t:l.length<t)&&(!r||r.skip(l,0,l.length)!==!1||!l.isComposite)?(o=!!c,i++,t-=l.length):(s.push({tile:a,index:i}),a=l,i=0,r&&l.isComposite()&&r.enter(l))}else if(i==a.length)o=!!a.breakAfter,{tile:a,index:i}=s.pop(),i++;else if(t){let l=Math.min(t,a.length-i);r&&r.skip(a,i,i+l),t-=l,i+=l}else break;return this.tile=a,this.index=i,this.beforeBreak=o,this}get root(){return this.parents.length?this.parents[0].tile:this.tile}}class Tst{constructor(t,n,r,a){this.from=t,this.to=n,this.wrapper=r,this.rank=a}}class Est{constructor(t,n,r){this.cache=t,this.root=n,this.blockWrappers=r,this.curLine=null,this.lastBlock=null,this.afterWidget=null,this.pos=0,this.wrappers=[],this.wrapperPos=0}addText(t,n,r,a){var i;this.flushBuffer();let o=this.ensureMarks(n,r),s=o.lastChild;if(s&&s.isText()&&!(s.flags&8)&&s.length+t.length<512){this.cache.reused.set(s,2);let l=o.children[o.children.length-1]=new Uu(s.dom,s.text+t);l.parent=o}else o.append(a||Uu.of(t,(i=this.cache.find(Uu))===null||i===void 0?void 0:i.dom));this.pos+=t.length,this.afterWidget=null}addComposition(t,n){let r=this.curLine;r.dom!=n.line.dom&&(r.setDOM(this.cache.reused.has(n.line)?$4(n.line.dom):n.line.dom),this.cache.reused.set(n.line,2));let a=r;for(let s=n.marks.length-1;s>=0;s--){let l=n.marks[s],c=a.lastChild;if(c instanceof fi&&c.mark.eq(l.mark))c.dom!=l.dom&&c.setDOM($4(l.dom)),a=c;else{if(this.cache.reused.get(l)){let d=Ar.get(l.dom);d&&d.setDOM($4(l.dom))}let u=fi.of(l.mark,l.dom);a.append(u),a=u}this.cache.reused.set(l,2)}let i=Ar.get(t.text);i&&this.cache.reused.set(i,2);let o=new Uu(t.text,t.text.nodeValue);o.flags|=8,this.pos=t.range.toB,a.append(o)}addInlineWidget(t,n,r){let a=this.afterWidget&&t.flags&48&&(this.afterWidget.flags&48)==(t.flags&48);a||this.flushBuffer();let i=this.ensureMarks(n,r);!a&&!(t.flags&16)&&i.append(this.getBuffer(1)),i.append(t),this.pos+=t.length,this.afterWidget=t}addMark(t,n,r){this.flushBuffer(),this.ensureMarks(n,r).append(t),this.pos+=t.length,this.afterWidget=null}addBlockWidget(t){this.getBlockPos().append(t),this.pos+=t.length,this.lastBlock=t,this.endLine()}continueWidget(t){let n=this.afterWidget||this.lastBlock;n.length+=t,this.pos+=t}addLineStart(t,n){var r;t||(t=TH);let a=sp.start(t,n||((r=this.cache.find(sp))===null||r===void 0?void 0:r.dom),!!n);this.getBlockPos().append(this.lastBlock=this.curLine=a)}addLine(t){this.getBlockPos().append(t),this.pos+=t.length,this.lastBlock=t,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(t){this.blockPosCovered()||this.addLineStart(t)}ensureLine(t){this.curLine||this.addLineStart(t)}ensureMarks(t,n){var r;let a=this.curLine;for(let i=t.length-1;i>=0;i--){let o=t[i],s;if(n>0&&(s=a.lastChild)&&s instanceof fi&&s.mark.eq(o))a=s,n--;else{let l=fi.of(o,(r=this.cache.find(fi,c=>c.mark.eq(o)))===null||r===void 0?void 0:r.dom);a.append(l),a=l,n=0}}return a}endLine(){if(this.curLine){this.flushBuffer();
vendor: 4,113 bytes, line 2430
2430let t=this.curLine.lastChild;(!t||!t7(this.curLine,!1)||t.dom.nodeName!="BR"&&t.isWidget()&&!(tt.ios&&t7(this.curLine,!0)))&&this.curLine.append(this.cache.findWidget(P4,0,32)||new sd(P4.toDOM(),0,P4,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let t=this.wrappers.length-1;t>=0;t--)this.wrappers[t].to<this.pos&&this.wrappers.splice(t,1);for(let t=this.blockWrappers;t.value&&t.from<=this.pos;t.next())if(t.to>=this.pos){let n=t.rank*102+t.value.rank,r=new Tst(t.from,t.to,t.value,n),a=this.wrappers.length;for(;a>0&&(this.wrappers[a-1].rank-r.rank||this.wrappers[a-1].to-r.to)<0;)a--;this.wrappers.splice(a,0,r)}this.wrapperPos=this.pos}getBlockPos(){var t;this.updateBlockWrappers();let n=this.root;for(let r of this.wrappers){let a=n.lastChild;if(r.from<this.pos&&a instanceof Cl&&a.wrapper.eq(r.wrapper))n=a;else{let i=Cl.of(r.wrapper,(t=this.cache.find(Cl,o=>o.wrapper.eq(r.wrapper)))===null||t===void 0?void 0:t.dom);n.append(i),n=i}}return n}blockPosCovered(){let t=this.lastBlock;return t!=null&&!t.breakAfter&&(!t.isWidget()||(t.flags&160)>0)}getBuffer(t){let n=2|(t<0?16:32),r=this.cache.find(sb,void 0,1);return r&&(r.flags=n),r||new sb(n)}flushBuffer(){this.afterWidget&&!(this.afterWidget.flags&32)&&(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}}class _st{constructor(t){this.skipCount=0,this.text="",this.textOff=0,this.cursor=t.iter()}skip(t){this.textOff+t<=this.text.length?this.textOff+=t:(this.skipCount+=t-(this.text.length-this.textOff),this.text="",this.textOff=0)}next(t){if(this.textOff==this.text.length){let{value:a,lineBreak:i,done:o}=this.cursor.next(this.skipCount);if(this.skipCount=0,o)throw new Error("Ran out of text content when drawing inline views");this.text=a;let s=this.textOff=Math.min(t,a.length);return i?null:a.slice(0,s)}let n=Math.min(this.text.length,this.textOff+t),r=this.text.slice(this.textOff,n);return this.textOff=n,r}}const lb=[sd,sp,Uu,fi,sb,Cl,Bv];for(let e=0;e<lb.length;e++)lb[e].bucket=e;class Cst{constructor(t){this.view=t,this.buckets=lb.map(()=>[]),this.index=lb.map(()=>0),this.reused=new Map}add(t){let n=t.constructor.bucket,r=this.buckets[n];r.length<6?r.push(t):r[this.index[n]=(this.index[n]+1)%6]=t}find(t,n,r=2){let a=t.bucket,i=this.buckets[a],o=this.index[a];for(let s=i.length-1;s>=0;s--){let l=(s+o)%i.length,c=i[l];if((!n||n(c))&&!this.reused.has(c))return i.splice(l,1),l<o&&this.index[a]--,this.reused.set(c,r),c}return null}findWidget(t,n,r){let a=this.buckets[0];if(a.length)for(let i=0,o=0;;i++){if(i==a.length){if(o)return null;o=1,i=0}let s=a[i];if(!this.reused.has(s)&&(o==0?s.widget.compare(t):s.widget.constructor==t.constructor&&t.updateDOM(s.dom,this.view,s.widget)))return a.splice(i,1),i<this.index[0]&&this.index[0]--,s.widget==t&&s.length==n&&(s.flags&497)==r?(this.reused.set(s,1),s):(this.reused.set(s,2),new sd(s.dom,n,t,s.flags&-498|r))}}reuse(t){return this.reused.set(t,1),t}maybeReuse(t,n=2){if(!this.reused.has(t))return this.reused.set(t,n),t.dom}clear(){for(let t=0;t<this.buckets.length;t++)this.buckets[t].length=this.index[t]=0}}class $st{constructor(t,n,r,a,i){this.view=t,this.decorations=a,this.disallowBlockEffectsFor=i,this.openWidget=!1,this.openMarks=0,this.cache=new Cst(t),this.text=new _st(t.state.doc),this.builder=new Est(this.cache,new Bv(t,t.contentDOM),an.iter(r)),this.cache.reused.set(n,2),this.old=new Ast(n),this.reuseWalker={skip:(o,s,l)=>{if(this.cache.add(o),o.isComposite())return!1},enter:o=>this.cache.add(o),leave:()=>{},break:()=>{}}}run(t,n){let r=n&&this.getCompositionContext(n.text);for(let a=0,i=0,o=0;;){let s=o<t.length?t[o++]:null,l=s?s.fromA:this.old.root.length;if(l>a){let c=l-a;this.preserve(c,!o,!s),a=l,i+=c}if(!s)break;n&&s.fromA<=n.range.fromA&&s.toA>=n.range.toA?(this.forward(s.fromA,n.range.fromA,n.range.fromA<n.range.toA?1:-1),this.emit(i,n.range.fromB),this.builder.flushBuffer(),this.cache.clear(),this.builder.addComposition(n,r),this.text.skip(n.range.toB-n.range.fromB),this.forward(n.range.fromA,s.toA),this.emit
2430(n.range.toB,s.toB)):(this.forward(s.fromA,s.toA),this.emit(i,s.toB)),i=s.toB,a=s.toA}return this.builder.curLine&&this.builder.endLine(),this.builder.root}preserve(t,n,r){let a=Nst(this.old),i=this.openMarks;this.old.advance(t,r?1:-1,{skip:(o,s,l)=>{if(o.isWidget())if(this.openWidget)this.builder.continueWidget(l-s);else{let c=l>0||s<o.length?sd.of(o.widget,this.view,l-s,o.flags&496,this.cache.maybeReuse(o)):this.cache.reuse(o);c.flags&256?(c.flags&=-2,this.builder.addBlockWidget(c)):(this.builder.ensureLine(null),this.builder.addInlineWidget(c,a,i),i=a.length)}else if(o.isText())this.builder.ensureLine(null),!s&&l==o.length&&!this.cache.reused.has(o)?this.builder.addText(o.text,a,i,this.cache.reuse(o)):(this.cache.add(o),this.builder.addText(o.text.slice(s,l),a,i)),i=a.length;else if(o.isLine())o.flags&=-2,this.cache.reused.set(o,1),this.builder.addLine(o);else if(o instanceof sb)this.cache.add(o);else if(o instanceof fi)this.builder.ensureLine(null),this.builder.addMark(o,a,i),this.cache.reused.set(o,1),i=a.length;else return!1;this.openWidget=!1},enter:o=>{o.isLine()?this.builder.addLineStart(o.attrs,this.cache.maybeReuse(o)):(this.cache.add(o),o instanceof fi&&a.unshift(o.mark)),this.openWidget=!1},leave:o=>{o.isLine()?a.length&&(a.length=i=0):o instanceof fi&&(a.shift(),i=Math.min(i,a.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(t)}emit(t,n){let r=null,a=this.builder,i=0,o=an.spans(this.decorations,t,n,{point:(s,l,c,u,d,f)=>{if(c instanceof id){if(this.disallowBlockEffectsFor[f]){if(c.block)throw new RangeError("Block decorations may not be specified via plugins");if(l>this.view.state.doc.lineAt(s).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}if(i=u.length,d>u.length)a.continueWidget(l-s);else{let p=c.widget||(c.block?lp.block:lp.inline),h=Pst(c),b=this.cache.findWidget(p,l-s,h)||sd.of(p,this.view,l-s,h);c.block?(c.startSide>0&&a.addLineStartIfNotCovered(r),a.addBlockWidget(b)):(a.ensureLine(r),a.addInlineWidget(b,u,d))}r=null}else r=Ist(r,c);l>s&&this.text.skip(l-s)},span:(s,l,c,u)=>{for(let d=s;d<l;){let f=this.text.next(Math.min(512,l-d));f==null?(a.addLineStartIfNotCovered(r),a.addBreak(),d++):(a.ensureLine(r),a.addText(f,c,d==s?u:c.length),d+=f.length),r=null}}});a.addLineStartIfNotCovered(r),this.openWidget=o>i,this.openMarks=o}forward(t,n,r=1){n-t<=10?this.old.advance(n-t,r,this.reuseWalker):(this.old.advance(5,-1,this.reuseWalker),this.old.advance(n-t-10,-1),this.old.advance(5,r,this.reuseWalker))}getCompositionContext(t){let n=[],r=null;for(let a=t.parentNode;;a=a.parentNode){let i=Ar.get(a);if(a==this.view.contentDOM)break;i instanceof fi?n.push(i):i?.isLine()?r=i:i instanceof Cl||(a.nodeName=="DIV"&&!r&&a!=this.view.contentDOM?r=new sp(a,TH):r||n.push(fi.of(new F0({tagName:a.nodeName.toLowerCase(),attributes:ast(a)}),a)))}return{line:r,marks:n}}}function t7(e,t){let n=r=>{for(let a of r.children)if((t?a.isText():a.length)||n(a))return!0;return!1};return n(e)}function Pst(e){let t=e.isReplace?(e.startSide<0?64:0)|(e.endSide>0?128:0):e.startSide>0?32:16;return e.block&&(t|=256),t}const TH={class:"cm-line"};function Ist(e,t){let n=t.spec.attributes,r=t.spec.class;return!n&&!r||(e||(e={class:"cm-line"}),n&&w5(n,e),r&&(e.class+=" "+r)),e}function Nst(e){let t=[];for(let n=e.parents.length;n>1;n--){let r=n==e.parents.length?e.tile:e.parents[n].tile;r instanceof fi&&t.push(r.mark)}return t}function $4(e){let t=Ar.get(e);return t&&t.setDOM(e.cloneNode()),e}class lp extends Mo{constructor(t){super(),this.tag=t}eq(t){return t.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(t){return t.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}lp.inline=new lp("span");lp.block=new lp("div");const P4=new class extends Mo{toDOM(){return document.createElement("br")}get isHidden(){return!0}get editable(){return!0}};class n7{constructor(t){this.view=t,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=Dt.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.updateDeco(),this.tile=new Bv(t,t.contentDOM),this.updateInner([new bo(0,0,0,t.state.doc.length)],null)}update(t){var n;let r=t.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:u,toA:d})=>d<this.minWidthFrom||u>this.minWidthTo)?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(t);let a=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((n=this.domChanged)===null||n===void 0)&&n.newSel?a=this.domChanged.newSel.head:!Fst(t.changes,this.hasComposition)&&!t.selectionSet&&(a=t.state.selection.main.head));let i=a>-1?Mst(this.view,t.changes,a):null;if(this.domChanged=null,this.hasComposition){let{from:u,to:d}=this.hasComposition;r=new bo(u,d,t.changes.mapPos(u,-1),t.changes.mapPos(d,1)).addToSet(r.slice())}this.hasComposition=i?{from:i.range.fromB,to:i.range.toB}:null,(tt.ie||tt.chrome)&&!i&&t&&t.state.doc.lines!=t.startState.doc.lines&&(this.forceSelection=!0);let o=this.decorations,s=this.blockWrappers;this.updateDeco();
vendor: 8,065 bytes, line 2430
2430let l=Bst(o,this.decorations,t.changes);l.length&&(r=bo.extendWithRanges(r,l));let c=jst(s,this.blockWrappers,t.changes);return c.length&&(r=bo.extendWithRanges(r,c)),i&&!r.some(u=>u.fromA<=i.range.fromA&&u.toA>=i.range.toA)&&(r=i.range.addToSet(r.slice())),this.tile.flags&2&&r.length==0?!1:(this.updateInner(r,i),t.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(t,n){this.view.viewState.mustMeasureContent=!0;let{observer:r}=this.view;r.ignore(()=>{if(n||t.length){let o=this.tile,s=new $st(this.view,o,this.blockWrappers,this.decorations,this.dynamicDecorationMap);n&&Ar.get(n.text)&&s.cache.reused.set(Ar.get(n.text),2),this.tile=s.run(t,n),E3(o,s.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let i=tt.chrome||tt.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(i),i&&(i.written||r.selectionRange.focusNode!=i.node||!this.tile.dom.contains(i.node))&&(this.forceSelection=!0),this.tile.dom.style.height=""});let a=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let i of this.tile.children)i.isWidget()&&i.widget instanceof I4&&a.push(i.dom);r.updateGaps(a)}updateEditContextFormatting(t){this.editContextFormatting=this.editContextFormatting.map(t.changes);for(let n of t.transactions)for(let r of n.effects)r.is(SH)&&(this.editContextFormatting=r.value)}updateSelection(t=!1,n=!1){(t||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let{dom:r}=this.tile,a=this.view.root.activeElement,i=a==r,o=!i&&!(this.view.state.facet(Ol)||r.tabIndex>-1)&&im(r,this.view.observer.selectionRange)&&!(a&&r.contains(a));if(!(i||n||o))return;let s=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,c,u;if(l.empty?u=c=this.inlineDOMNearPos(l.anchor,l.assoc||1):(u=this.inlineDOMNearPos(l.head,l.head==l.from?1:-1),c=this.inlineDOMNearPos(l.anchor,l.anchor==l.from?1:-1)),tt.gecko&&l.empty&&!this.hasComposition&&Rst(c)){let f=document.createTextNode("");this.view.observer.ignore(()=>c.node.insertBefore(f,c.node.childNodes[c.offset]||null)),c=u=new Go(f,0),s=!0}let d=this.view.observer.selectionRange;(s||!d.focusNode||(!sm(c.node,c.offset,d.anchorNode,d.anchorOffset)||!sm(u.node,u.offset,d.focusNode,d.focusOffset))&&!this.suppressWidgetCursorChange(d,l))&&(this.view.observer.ignore(()=>{tt.android&&tt.chrome&&r.contains(d.focusNode)&&Qst(d.focusNode,r)&&(r.blur(),r.focus({preventScroll:!0}));let f=Vm(this.view.root);if(f)if(l.empty){if(tt.gecko){let p=Lst(c.node,c.offset);if(p&&p!=3){let h=(p==1?oH:sH)(c.node,c.offset);h&&(c=new Go(h.node,h.offset))}}f.collapse(c.node,c.offset),l.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=l.bidiLevel)}else if(f.extend){f.collapse(c.node,c.offset);try{f.extend(u.node,u.offset)}catch{}}else{let p=document.createRange();l.anchor>l.head&&([c,u]=[u,c]),p.setEnd(u.node,u.offset),p.setStart(c.node,c.offset),f.removeAllRanges(),f.addRange(p)}o&&this.view.root.activeElement==r&&(r.blur(),a&&a.focus())}),this.view.observer.setSelectionRange(c,u)),this.impreciseAnchor=c.precise?null:new Go(d.anchorNode,d.anchorOffset),this.impreciseHead=u.precise?null:new Go(d.focusNode,d.focusOffset)}suppressWidgetCursorChange(t,n){return this.hasComposition&&n.empty&&sm(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)&&this.posFromDOM(t.focusNode,t.focusOffset)==n.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:t}=this,n=t.state.selection.main,r=Vm(t.root),{anchorNode:a,anchorOffset:i}=t.observer.selectionRange;if(!r||!n.empty||!n.assoc||!r.modify)return;let o=this.lineAt(n.head,n.assoc);if(!o)return;let s=o.posAtStart;if(n.head==s||n.head==s+o.length)return;let l=this.coordsAt(n.head,-1),c=this.coordsAt(n.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(n.head+n.assoc,n.assoc);r.collapse(u.node,u.offset),r.modify("move",n.assoc<0?"forward":"backward","lineboundary"),t.observer.readSelectionRange();let d=t.observer.selectionRange;t.docView.posFromDOM(d.anchorNode,d.anchorOffset)!=n.from&&r.collapse(a,i)}posFromDOM(t,n){let r=this.tile.nearest(t);if(!r)return this.tile.dom.compareDocumentPosition(t)&2?0:this.view.state.doc.length;let a=r.posAtStart;if(r.isComposite()){let i;if(t==r.dom)i=r.dom.childNodes[n];else{let o=Ql(t)==0?0:n==0?-1:1;for(;;){let s=t.parentNode;if(s==r.dom)break;o==0&&s.firstChild!=s.lastChild&&(t==s.firstChild?o=-1:o=1),t=s}o<0?i=t:i=t.nextSibling}if(i==r.dom.firstChild)return a;for(;i&&!Ar.get(i);)i=i.nextSibling;if(!i)return a+r.length;for(let o=0,s=a;;o++){let l=r.children[o];if(l.dom==i)return s;s+=l.length+l.breakAfter}}else return r.isText()?t==r.dom?a+n:a+(n?r.length:0):a}domAtPos(t,n){let{tile:r,offset:a}=this.tile.resolveBlock(t,n);return r.isWidget()?r.domPosFor(t,n):r.domIn(a,n)}inlineDOMNearPos(t,n){let r,a=-1,i=!1,o,s=-1,l=!1;return this.tile.blockTiles((c,u)=>{if(c.isWidget()){if(c.flags&32&&u>=t)return!0;c.flags&16&&(i=!0)}else{let d=u+c.length;if(u<=t&&(r=c,a=t-u,i=d<t),d>=t&&!o&&(o=c,s=t-u,l=u>t),u>t&&o)return!0}}),!r&&!o?this.domAtPos(t,n):(i&&o?r=null:l&&r&&(o=null),r&&n<0||!o?r.domIn(a,n):o.domIn(s,n))}coordsAt(t,n){let{tile:r,offset:a}=this.tile.resolveBlock(t,n);return r.isWidget()?r.widget instanceof I4?null:r.coordsInWidget(a,n,!0):r.coordsIn(a,n)}lineAt(t,n){let{tile:r}=this.tile.resolveBlock(t,n);return r.isLine()?r:null}coordsForChar(t){let{tile:n,offset:r}=this.tile.resolveBlock(t,1);if(!n.isLine())return null;function a(i,o){if(i.isComposite())for(let s of i.children){if(s.length>=o){let l=a(s,o);if(l)return l}if(o-=s.length,o<0)break}else if(i.isText()&&o<i.length){let s=Yo(i.text,o);if(s==o)return null;let l=qm(i.dom,o,s).getClientRects();for(let c=0;c<l.length;c++){let u=l[c];if(c==l.length-1||u.top<u.bottom&&u.left<u.right)return u}}return null}return a(n,r)}measureVisibleLineHeights(t){let n=[],{from:r,to:a}=t,i=this.view.contentDOM.clientWidth,o=i>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,s=-1,l=this.view.textDirection==vr.LTR,c=0,u=(d,f,p)=>{for(let h=0;h<d.children.length&&!(f>a);h++){let b=d.children[h],y=f+b.length,O=b.dom.getBoundingClientRect(),{height:A}=O;if(p&&!h&&(c+=O.top-p.top),b instanceof Cl)y>r&&u(b,f,O);else if(f>=r&&(c>0&&n.push(-c),n.push(A+c),c=0,o)){let x=b.dom.lastChild,T=x?om(x):[];if(T.length){let E=T[T.length-1],C=l?E.right-O.left:O.right-E.left;C>s&&(s=C,this.minWidth=i,this.minWidthFrom=f,this.minWidthTo=y)}}p&&h==d.children.length-1&&(c+=p.bottom-O.bottom),f=y+b.breakAfter}};return u(this.tile,0,null),n}textDirectionAt(t){let{tile:n}=this.tile.resolveBlock(t,1);return getComputedStyle(n.dom).direction=="rtl"?vr.RTL:vr.LTR}measureTextSize(){let t=this.tile.blockTiles(o=>{if(o.isLine()&&o.children.length&&o.length<=20){let s=0,l;for(let c of o.children){if(!c.isText()||/[^ -~]/.test(c.text))return;let u=om(c.dom);if(u.length!=1)return;s+=u[0].width,l=u[0].height}if(s)return{lineHeight:o.dom.getBoundingClientRect().height,charWidth:s/o.length,textHeight:l}}});if(t)return t;let n=document.createElement("div"),r,a,i;return n.className="cm-line",n.style.width="99999px",n.style.position="absolute",n.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.tile.dom.appendChild(n);let o=om(n.firstChild)[0];r=n.getBoundingClientRect().height,a=o&&o.width?o.width/27:7,i=o&&o.height?o.height:r,n.remove()}),{lineHeight:r,charWidth:a,textHeight:i}}computeBlockGapDeco(){let t=[],n=this.view.viewState;for(let r=0,a=0;;a++){let i=a==n.viewports.length?null:n.viewports[a],o=i?i.from-1:this.view.state.doc.length;if(o>r){let s=(n.lineBlockAt(o).bottom-n.lineBlockAt(r).top)/this.view.scaleY;t.push(Dt.replace({widget:new I4(s),block:!0,inclusive:!0,isBlockGap:!0}).range(r,o))}if(!i)break;r=i.to+1}return Dt.set(t)}updateDeco(){let t=1,n=this.view.state.facet(Lv).map(i=>(this.dynamicDecorationMap[t++]=typeof i=="function")?i(this.view):i),r=!1,a=this.view.state.facet(_5).map((i,o)=>{let s=typeof i=="function";return s&&(r=!0),s?i(this.view):i}
2430);for(a.length&&(this.dynamicDecorationMap[t++]=r,n.push(an.join(a))),this.decorations=[this.editContextFormatting,...n,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];t<this.decorations.length;)this.dynamicDecorationMap[t++]=!1;this.blockWrappers=this.view.state.facet(xH).map(i=>typeof i=="function"?i(this.view):i)}scrollIntoView(t){var n;if(t.isSnapshot){let u=this.view.viewState.lineBlockAt(t.range.head);this.view.scrollDOM.scrollTop=u.top-t.yMargin,this.view.scrollDOM.scrollLeft=t.xMargin;return}for(let u of this.view.state.facet(OH))try{if(u(this.view,t.range,t))return!0}catch(d){Ja(this.view.state,d,"scroll handler")}let{range:r}=t,a=this.coordsAt(r.head,(n=r.assoc)!==null&&n!==void 0?n:r.empty?0:r.head>r.anchor?-1:1),i;if(!a)return;!r.empty&&(i=this.coordsAt(r.anchor,r.anchor>r.head?-1:1))&&(a={left:Math.min(a.left,i.left),top:Math.min(a.top,i.top),right:Math.max(a.right,i.right),bottom:Math.max(a.bottom,i.bottom)});let o=C5(this.view),s={left:a.left-o.left,top:a.top-o.top,right:a.right+o.right,bottom:a.bottom+o.bottom},{offsetWidth:l,offsetHeight:c}=this.view.scrollDOM;if(sst(this.view.scrollDOM,s,r.head<r.anchor?-1:1,t.x,t.y,Math.max(Math.min(t.xMargin,l),-l),Math.max(Math.min(t.yMargin,c),-c),this.view.textDirection==vr.LTR),window.visualViewport&&window.innerHeight-window.visualViewport.height>1&&(a.top>window.pageYOffset+window.visualViewport.offsetTop+window.visualViewport.height||a.bottom<window.pageYOffset+window.visualViewport.offsetTop)){let u=this.view.docView.lineAt(r.head,1);u&&u.dom.scrollIntoView({block:"nearest"})}}lineHasWidget(t){let n=r=>r.isWidget()||r.children.some(n);return n(this.tile.resolveBlock(t,1).tile)}destroy(){E3(this.tile)}}function E3(e,t){let n=t?.get(e);if(n!=1){n==null&&e.destroy();for(let r of e.children)E3(r,t)}}function Rst(e){return e.node.nodeType==1&&e.node.firstChild&&(e.offset==0||e.node.childNodes[e.offset-1].contentEditable=="false")&&(e.offset==e.node.childNodes.length||e.node.childNodes[e.offset].contentEditable=="false")}function EH(e,t){let n=e.observer.selectionRange;if(!n.focusNode)return null;let r=oH(n.focusNode,n.focusOffset),a=sH(n.focusNode,n.focusOffset),i=r||a;if(a&&r&&a.node!=r.node){let s=Ar.get(a.node);if(!s||s.isText()&&s.text!=a.node.nodeValue)i=a;else if(e.docView.lastCompositionAfterCursor){let l=Ar.get(r.node);!l||l.isText()&&l.text!=r.node.nodeValue||(i=a)}}if(e.docView.lastCompositionAfterCursor=i!=r,!i)return null;let o=t-i.offset;return{from:o,to:o+i.node.nodeValue.length,node:i.node}}function Mst(e,t,n){let r=EH(e,n);if(!r)return null;let{node:a,from:i,to:o}=r,s=a.nodeValue;if(/[\n\r]/.test(s)||e.state.doc.sliceString(r.from,r.to)!=s)return null;let l=t.invertedDesc;return{range:new bo(l.mapPos(i),l.mapPos(o),i,o),text:a}}function Lst(e,t){return e.nodeType!=1?0:(t&&e.childNodes[t-1].contentEditable=="false"?1:0)|(t<e.childNodes.length&&e.childNodes[t].contentEditable=="false"?2:0)}let Dst=class{constructor(){this.changes=[]}compareRange(t,n){Cf(t,n,this.changes)}comparePoint(t,n){Cf(t,n,this.changes)}boundChange(t){Cf(t,t,this.changes)}};function Bst(e,t,n){let r=new Dst;return an.compare(e,t,n,r),r.changes}class Ust{constructor(){this.changes=[]}compareRange(t,n){Cf(t,n,this.changes)}comparePoint(){}boundChange(t){Cf(t,t,this.changes)}}function jst(e,t,n){let r=new Ust;return an.compare(e,t,n,r),r.changes}function Qst(e,t){for(let n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(n.nodeType==1&&n.contentEditable=="false")return!0;return!1}function Fst(e,t){let n=!1;return t&&e.iterChangedRanges((r,a)=>{r<t.to&&a>t.from&&(n=!0)}),n}class I4 extends Mo{constructor(t){super(),this.height=t}toDOM(){let t=document.createElement("div");return t.className="cm-gap",this.updateDOM(t),t}eq(t){return t.height==this.height}updateDOM(t){return t.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}function zst(e,t,n=1){let r=e.charCategorizer(t),a=e.doc.lineAt(t),i=t-a.from;if(a.length==0)return Qe.cursor(t);i==0?n=1:i==a.length&&(n=-1);let o=i,s=i;n<0?o=Yo(a.text,i,!1):s=Yo(a.text,i);let l=r(a.text.slice(o,s));for(;o>0;
vendor: 16,948 bytes, lines 2430-2432
2430){let c=Yo(a.text,o,!1);if(r(a.text.slice(c,o))!=l)break;o=c}for(;s<a.length;){let c=Yo(a.text,s);if(r(a.text.slice(s,c))!=l)break;s=c}return Qe.range(o+a.from,s+a.from)}function Vst(e,t,n,r,a){let i=Math.round((r-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&n.height>e.defaultLineHeight*1.5){let s=e.viewState.heightOracle.textHeight,l=Math.floor((a-n.top-(e.defaultLineHeight-s)*.5)/s);i+=l*e.viewState.heightOracle.lineLength}let o=e.state.sliceDoc(n.from,n.to);return n.from+Got(o,i,e.state.tabSize)}function Hst(e,t,n){let r=e.lineBlockAt(t);if(Array.isArray(r.type)){let a;for(let i of r.type){if(i.from>t)break;if(!(i.to<t)){if(i.from<t&&i.to>t)return i;(!a||i.type==bi.Text&&(a.type!=i.type||(n<0?i.from<t:i.to>t)))&&(a=i)}}return a||r}return r}function qst(e,t,n,r){let a=Hst(e,t.head,t.assoc||-1),i=!r||a.type!=bi.Text||!(e.lineWrapping||a.widgetLineBreaks)?null:e.coordsAtPos(t.assoc<0&&t.head>a.from?t.head-1:t.head);if(i){let o=e.dom.getBoundingClientRect(),s=e.textDirectionAt(a.from),l=e.posAtCoords({x:n==(s==vr.LTR)?o.right-1:o.left+1,y:(i.top+i.bottom)/2});if(l!=null)return Qe.cursor(l,n?-1:1)}return Qe.cursor(n?a.to:a.from,n?-1:1)}function r7(e,t,n,r){let a=e.state.doc.lineAt(t.head),i=e.bidiSpans(a),o=e.textDirectionAt(a.from);for(let s=t,l=null;;){let c=yst(a,i,o,s,n),u=fH;if(!c){if(a.number==(n?e.state.doc.lines:1))return s;u=` 2431`,a=e.state.doc.line(a.number+(n?1:-1)),i=e.bidiSpans(a),c=e.visualLineSide(a,!n)}if(l){if(!l(u))return s}else{if(!r)return c;l=r(u)}s=c}}function Zst(e,t,n){let r=e.state.charCategorizer(t),a=r(n);return i=>{let o=r(i);return a==go.Space&&(a=o),a==o}}function Xst(e,t,n,r){let a=t.head,i=n?1:-1;if(a==(n?e.state.doc.length:0))return Qe.cursor(a,t.assoc);let o=t.goalColumn,s,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(a,t.assoc||((t.empty?n:t.head==t.from)?1:-1)),u=e.documentTop;if(c)o==null&&(o=c.left-l.left),s=i<0?c.top:c.bottom;else{let h=e.viewState.lineBlockAt(a);o==null&&(o=Math.min(l.right-l.left,e.defaultCharacterWidth*(a-h.from))),s=(i<0?h.top:h.bottom)+u}let d=l.left+o,f=e.viewState.heightOracle.textHeight>>1,p=r??f;for(let h=0;;h+=f){let b=s+(p+h)*i,y=_3(e,{x:d,y:b},!1,i);if(n?b>l.bottom:b<l.top)return Qe.cursor(y.pos,y.assoc);let O=e.coordsAtPos(y.pos,y.assoc),A=O?(O.top+O.bottom)/2:0;if(!O||(n?A>s:A<s))return Qe.cursor(y.pos,y.assoc,void 0,o)}}function lm(e,t,n){for(;;){let r=0;for(let a of e)a.between(t-1,t+1,(i,o,s)=>{if(t>i&&t<o){let l=r||n||(t-i<o-t?-1:1);t=l<0?i:o,r=l}});if(!r)return t}}function _H(e,t){let n=null;for(let r=0;r<t.ranges.length;r++){let a=t.ranges[r],i=null;if(a.empty){let o=lm(e,a.from,0);o!=a.from&&(i=Qe.cursor(o,-1))}else{let o=lm(e,a.from,-1),s=lm(e,a.to,1);(o!=a.from||s!=a.to)&&(i=Qe.range(a.from==a.anchor?o:s,a.from==a.head?o:s))}i&&(n||(n=t.ranges.slice()),n[r]=i)}return n?Qe.create(n,t.mainIndex):t}function N4(e,t,n){let r=lm(e.state.facet(V0).map(a=>a(e)),n.from,t.head>n.from?-1:1);return r==n.from?n:Qe.cursor(r,r<n.from?1:-1)}class Bs{constructor(t,n){this.pos=t,this.assoc=n}}function _3(e,t,n,r){let a=e.contentDOM.getBoundingClientRect(),i=a.top+e.viewState.paddingTop,{x:o,y:s}=t,l=s-i,c;for(;;){if(l<0)return new Bs(0,1);if(l>e.viewState.docHeight)return new Bs(e.state.doc.length,-1);if(c=e.elementAtHeight(l),r==null)break;if(c.type==bi.Text){if(r<0?c.to<e.viewport.from:c.from>e.viewport.to)break;let f=e.docView.coordsAt(r<0?c.from:c.to,r>0?-1:1);if(f&&(r<0?f.top<=l+i:f.bottom>=l+i))break}let d=e.viewState.heightOracle.textHeight/2;l=r>0?c.bottom+d:c.top-d}if(e.viewport.from>=c.to||e.viewport.to<=c.from){if(n)return null;if(c.type==bi.Text){let d=Vst(e,a,c,o,s);return new Bs(d,d==c.from?1:-1)}}if(c.type!=bi.Text)return l<(c.top+c.bottom)/2?new Bs(c.from,1):new Bs(c.to,-1);let u=e.docView.lineAt(c.from,2);return(!u||u.length!=c.length)&&(u=e.docView.lineAt(c.from,-2)),new Wst(e,o,s,e.textDirectionAt(c.from)).scanTile(u,c.from)}class Wst{constructor(t,n,r,a){this.view=t,this.x=n,this.y=r,this.baseDir=a,this.line=null,this.spans=null}bidiSpansAt(t){return(!this.line||this.line.from>t||this.line.to<t)&&(this.line=this.view.state.doc.lineAt(t),this.spans=this.view.bidiSpans(this.line)),this}baseDirAt(t,n){let{line:r,spans:a}=this.bidiSpansAt(t);return a[js.find(a,t-r.from,-1,n)].level==this.baseDir}dirAt(t,n){let{line:r,spans:a}=this.bidiSpansAt(t);return a[js.find(a,t-r.from,-1,n)].dir}bidiIn(t,n){let{spans:r,line:a}=this.bidiSpansAt(t);return r.length>1||r.length&&(r[0].level!=this.baseDir||r[0].to+a.from<n)}scan(t,n,r=!1){let a=0,i=t.length-1,o=new Set,s=this.bidiIn(t[0],t[i]),l,c,u=-1,d=1e9,f;e:for(;a<i;){let h=i-a,b=a+i>>1;t:if(o.has(b)){let O=a+Math.floor(Math.random()*h);for(let A=0;A<h;A++){if(!o.has(O)){b=O;break t}O++,O==i&&(O=a)}break e}o.add(b);let y=n(b);if(y)for(let O=0;O<y.length;O++){let A=y[O],x=0;if(!(A.width==0&&y.length>1)){if(A.bottom<this.y)(!l||l.bottom<A.bottom)&&(l=A),x=1;else if(A.top>this.y)(!c||c.top>A.top)&&(c=A),x=-1;else{let T=A.left>this.x?this.x-A.left:A.right<this.x?this.x-A.right:0,E=Math.abs(T);E<d&&(u=b,d=E,f=A),T&&(x=T<0==(this.baseDir==vr.LTR)?-1:1)}x==-1&&(!s||this.baseDirAt(t[b],1))?i=b:x==1&&(!s||this.baseDirAt(t[b+1],-1))&&(a=b+1)}}}if(!f){if(!c&&!l)return{i:t[0],after:!1};let h=l&&(!c||this.y-l.bottom<c.top-this.y)?l:c;return this.y=(h.top+h.bottom)/2,this.scan(t,n,!0)}if(d&&!r){let{top:h,bottom:b}=f;if(l&&l.bottom>(h+h+b)/3)return this.y=l.bottom-1,this.scan(t,n,!0);if(c&&c.top<(h+b+b)/3)return this.y=c.top+1,this.scan(t,n,!0)}let p=(s?this.dirAt(t[u],1):this.baseDir)==vr.LTR;return{i:u,after:this.x>(f.left+f.right)/2==p}}scanText(t,n){let r=[];for(let i=0;i<t.length;i=Yo(t.text,i))r.push(n+i);r.push(n+t.length);let a=this.scan(r,i=>{let o=r[i]-n,s=r[i+1]-n;return qm(t.dom,o,s).getClientRects()});return a.after?new Bs(r[a.i+1],-1):new Bs(r[a.i],1)}scanTile(t,n){if(!t.length)return new Bs(n,1);if(t.children.length==1){let s=t.children[0];if(s.isText())return this.scanText(s,n);if(s.isComposite())return this.scanTile(s,n)}let r=[n];for(let s=0,l=n;s<t.children.length;s++)r.push(l+=t.children[s].length);let a=this.scan(r,s=>{let l=t.children[s];return l.flags&48?null:(l.dom.nodeType==1?l.dom:qm(l.dom,0,l.length)).getClientRects()}),i=t.children[a.i],o=r[a.i];return i.isText()?this.scanText(i,o):i.isComposite()?this.scanTile(i,o):a.after?new Bs(r[a.i+1],-1):new Bs(o,1)}}const nf="ï¿¿";class Yst{constructor(t,n){this.points=t,this.view=n,this.text="",this.lineSeparator=n.state.facet(Cn.lineSeparator)}append(t){this.text+=t}lineBreak(){this.text+=nf}readRange(t,n){if(!t)return this;let r=t.parentNode;for(let a=t;;){this.findPointBefore(r,a);let i=this.text.length;this.readNode(a);let o=Ar.get(a),s=a.nextSibling;if(s==n){o?.breakAfter&&!s&&r!=this.view.contentDOM&&this.lineBreak();break}let l=Ar.get(s);(o&&l?o.breakAfter:(o?o.breakAfter:ib(a))||ib(s)&&(a.nodeName!="BR"||o?.isWidget())&&this.text.length>i)&&!Kst(s,n)&&this.lineBreak(),a=s}return this.findPointBefore(r,n),this}readTextNode(t){let n=t.nodeValue;for(let r of this.points)r.node==t&&(r.pos=this.text.length+Math.min(r.offset,n.length));for(let r=0,a=this.lineSeparator?null:/\r\n?|\n/g;;){let i=-1,o=1,s;if(this.lineSeparator?(i=n.indexOf(this.lineSeparator,r),o=this.lineSeparator.length):(s=a.exec(n))&&(i=s.index,o=s[0].length),this.append(n.slice(r,i<0?n.length:i)),i<0)break;if(this.lineBreak(),o>1)for(let l of this.points)l.node==t&&l.pos>this.text.length&&(l.pos-=o-1);r=i+o}}readNode(t){let n=Ar.get(t),r=n&&n.overrideDOMText;if(r!=null){this.findPointInside(t,r.length);for(let a=r.iter();!a.next().done;)a.lineBreak?this.lineBreak():this.append(a.value)}else t.nodeType==3?this.readTextNode(t):t.nodeName=="BR"?t.nextSibling&&this.lineBreak():t.nodeType==1&&this.readRange(t.firstChild,null)}findPointBefore(t,n){for(let r of this.points)r.node==t&&t.childNodes[r.offset]==n&&(r.pos=this.text.length)}findPointInside(t,n){for(let r of this.points)(t.nodeType==3?r.node==t:t.contains(r.node))&&(r.pos=this.text.length+(Gst(t,r.node,r.offset)?n:0))}}function Gst(e,t,n){for(;;){if(!t||n<Ql(t))return!1;if(t==e)return!0;n=jc(t)+1,t=t.parentNode}}function Kst(e,t){let n;for(;!(e==t||!e);e=e.nextSibling){let r=Ar.get(e);if(!r?.isWidget())return!1;r&&(n||(n=[])).push(r)}if(n)for(let r of n){let a=r.overrideDOMText;if(a?.length)return!1}return!0}class a7{constructor(t,n){this.node=t,this.offset=n,this.pos=-1}}class Jst{constructor(t,n,r,a){this.typeOver=a,this.bounds=null,this.text="",this.domChanged=n>-1;let{impreciseHead:i,impreciseAnchor:o}=t.docView,s=t.state.selection;if(t.state.readOnly&&n>-1)this.newSel=null;else if(n>-1&&(this.bounds=CH(t.docView.tile,n,r,0))){let l=i||o?[]:tlt(t),c=new Yst(l,t);c.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=c.text,this.newSel=nlt(l,this.bounds.from)}else{let l=t.observer.selectionRange,c=i&&i.node==l.focusNode&&i.offset==l.focusOffset||!w3(t.contentDOM,l.focusNode)?s.main.head:t.docView.posFromDOM(l.focusNode,l.focusOffset),u=o&&o.node==l.anchorNode&&o.offset==l.anchorOffset||!w3(t.contentDOM,l.anchorNode)?s.main.anchor:t.docView.posFromDOM(l.anchorNode,l.anchorOffset),d=t.viewport;if((tt.ios||tt.chrome)&&s.main.empty&&c!=u&&(d.from>0||d.to<t.state.doc.length)){let f=Math.min(c,u),p=Math.max(c,u),h=d.from-f,b=d.to-p;(h==0||h==1||f==0)&&(b==0||b==-1||p==t.state.doc.length)&&(c=0,u=t.state.doc.length)}if(t.inputState.composing>-1&&s.ranges.length>1)this.newSel=s.replaceRange(Qe.range(u,c));else if(t.lineWrapping&&u==c&&!(s.main.empty&&s.main.head==c)&&t.inputState.lastTouchTime>Date.now()-100){let f=t.coordsAtPos(c,-1),p=0;f&&(p=t.inputState.lastTouchY<=f.bottom?-1:1),this.newSel=Qe.create([Qe.cursor(c,p)])}else this.newSel=Qe.single(u,c)}}}function CH(e,t,n,r){if(e.isComposite()){let a=-1,i=-1,o=-1,s=-1;for(let l=0,c=r,u=r;l<e.children.length;l++){let d=e.children[l],f=c+d.length;if(c<t&&f>n)return CH(d,t,n,c);if(f>=t&&a==-1&&(a=l,i=c),c>n&&d.dom.parentNode==e.dom){o=l,s=u;break}u=f,c=f+d.breakAfter}return{from:i,to:s<0?r+e.length:s,startDOM:(a?e.children[a-1].dom.nextSibling:null)||e.dom.firstChild,endDOM:o<e.children.length&&o>=0?e.children[o].dom:null}}else return e.isText()?{from:r,to:r+e.length,startDOM:e.dom,endDOM:e.dom.nextSibling}:null}function $H(e,t){let n,{newSel:r}=t,{state:a}=e,i=a.selection.main,o=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:s,to:l}=t.bounds,c=i.from,u=null;(o===8||tt.android&&t.text.length<l-s)&&(c=i.to,u="end");let d=a.doc.sliceString(s,l,nf),f,p;!i.empty&&i.from>=s&&i.to<=l&&(t.typeOver||d!=t.text)&&d.slice(0,i.from-s)==t.text.slice(0,i.from-s)&&d.slice(i.to-s)==t.text.slice(f=t.text.length-(d.length-(i.to-s)))?n={from:i.from,to:i.to,insert:Tn.of(t.text.slice(i.from-s,f).split(nf))}:(p=PH(d,t.text,c-s,u))&&(tt.chrome&&o==13&&p.toB==p.from+2&&t.text.slice(p.from,p.toB)==nf+nf&&p.toB--,n={from:s+p.from,to:s+p.toA,insert:Tn.of(t.text.slice(p.from,p.toB).split(nf))})}else r&&(!e.hasFocus&&a.facet(Ol)||cb(r,i))&&(r=null);if(!n&&!r)return!1;if((tt.mac||tt.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&e.contentDOM.getAttribute("autocorrect")=="off"?(r&&n.insert.length==2&&(r=Qe.single(r.main.anchor-1,r.main.head-1)),n={from:n.from,to:n.to,insert:Tn.of([n.insert.toString().replace("."," ")])}):a.doc.lineAt(i.from).to<i.to&&e.docView.lineHasWidget(i.to)&&e.inputState.insertingTextAt>Date.now()-50?n={from:i.from,to:i.to,insert:a.toText(e.inputState.insertingText)}:tt.chrome&&n&&n.from==n.to&&n.from==i.head&&n.insert.toString()==` 2432 `&&e.lineWrapping&&(r&&(r=Qe.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:Tn.of([" "])}),n)return $5(e,n,r,o);if(r&&!cb(r,i)){let s=!1,l="select";return e.inputState.lastSelectionTime>Date.now()-50&&(e.inputState.lastSelectionOrigin=="select"&&(s=!0),l=e.inputState.lastSelectionOrigin,l=="select.pointer"&&(r=_H(a.facet(V0).map(c=>c(e)),r))),e.dispatch({selection:r,scrollIntoView:s,userEvent:l}),!0}else return!1}function $5(e,t,n,r=-1){if(tt.ios&&e.inputState.flushIOSKey(t))return!0;let a=e.state.selection.main;if(tt.android&&(t.to==a.to&&(t.from==a.from||t.from==a.from-1&&e.state.sliceDoc(t.from,a.from)==" ")&&t.insert.length==1&&t.insert.lines==2&&$f(e.contentDOM,"Enter",13)||(t.from==a.from-1&&t.to==a.to&&t.insert.length==0||r==8&&t.insert.length<t.to-t.from&&t.to>a.head)&&$f(e.contentDOM,"Backspace",8)||t.from==a.from&&t.to==a.to+1&&t.insert.length==0&&$f(e.contentDOM,"Delete",46)))return!0;let i=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let o,s=()=>o||(o=elt(e,t,n));return e.state.facet(bH).some(l=>l(e,t.from,t.to,i,s))||e.dispatch(s()),!0}function elt(e,t,n){let r,a=e.state,i=a.selection.main,o=-1;if(t.from==t.to&&t.from<i.from||t.from>i.to){let l=t.from<i.from?-1:1,c=l<0?i.from:i.to,u=lm(a.facet(V0).map(d=>d(e)),c,l);t.from==u&&(o=u)}if(o>-1)r={changes:t,selection:Qe.cursor(t.from+t.insert.length,-1)};else if(t.from>=i.from&&t.to<=i.to&&t.to-t.from>=(i.to-i.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let l=i.from<t.from?a.sliceDoc(i.from,t.from):"",c=i.to>t.to?a.sliceDoc(t.to,i.to):"";r=a.replaceSelection(e.state.toText(l+t.insert.sliceString(0,void 0,e.state.lineBreak)+c))}else{let l=a.changes(t),c=n&&n.main.to<=l.newLength?n.main:void 0;if(a.selection.ranges.length>1&&(e.inputState.composing>=0||e.inputState.compositionPendingChange)&&t.to<=i.to+10&&t.to>=i.to-10){let u=e.state.sliceDoc(t.from,t.to),d,f=n&&EH(e,n.main.head);if(f){let h=t.insert.length-(t.to-t.from);d={from:f.from,to:f.to-h}}else d=e.state.doc.lineAt(i.head);let p=i.to-t.to;r=a.changeByRange(h=>{if(h.from==i.from&&h.to==i.to)return{changes:l,range:c||h.map(l)};let b=h.to-p,y=b-u.length;if(e.state.sliceDoc(y,b)!=u||b>=d.from&&y<=d.to)return{range:h};let O=a.changes({from:y,to:b,insert:t.insert}),A=h.to-i.to;return{changes:O,range:c?Qe.range(Math.max(0,c.anchor+A),Math.max(0,c.head+A)):h.map(O)}})}else r={changes:l,selection:c&&a.selection.replaceRange(c)}}let s="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,s+=".compose",e.inputState.compositionFirstChange&&(s+=".start",e.inputState.compositionFirstChange=!1)),a.update(r,{userEvent:s,scrollIntoView:!0})}function PH(e,t,n,r){let a=Math.min(e.length,t.length),i=0;for(;i<a&&e.charCodeAt(i)==t.charCodeAt(i);)i++;if(i==a&&e.length==t.length)return null;let o=e.length,s=t.length;for(;o>0&&s>0&&e.charCodeAt(o-1)==t.charCodeAt(s-1);)o--,s--;if(r=="end"){let l=Math.max(0,i-Math.min(o,s));n-=o+l-i}if(o<i&&e.length<t.length){let l=n<=i&&n>=o?i-n:0;i-=l,s=i+(s-o),o=i}else if(s<i){let l=n<=i&&n>=s?i-n:0;i-=l,o=i+(o-s),s=i}return{from:i,toA:o,toB:s}}function tlt(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:n,anchorOffset:r,focusNode:a,focusOffset:i}=e.observer.selectionRange;return n&&(t.push(new a7(n,r)),(a!=n||i!=r)&&t.push(new a7(a,i))),t}function nlt(e,t){if(e.length==0)return null;let n=e[0].pos,r=e.length==2?e[1].pos:n;return n>-1&&r>-1?Qe.single(n+t,r+t):null}function cb(e,t){return t.head==e.main.head&&t.anchor==e.main.anchor}class rlt{setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}constructor(t){this.view=t,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastTouchX=0,this.lastTouchY=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.lastWheelEvent=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.insertingText="",this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=t.hasFocus,tt.safari&&t.contentDOM.addEventListener("input",()=>null),tt.gecko&&ylt(t.contentDOM.ownerDocument)}handleEvent(t){!dlt(this.view,t)||this.ignoreDuringComposition(t)||t.type=="keydown"&&this.keydown(t)||(this.view.updateState!=0?Promise.resolve().then(()=>this.runHandlers(t.type,t)):this.runHandlers(t.type,t))}runHandlers(t,n){let r=this.handlers[t];if(r){for(let a of r.observers)a(this.view,n);for(let a of r.handlers){if(n.defaultPrevented)break;if(a(this.view,n)){n.preventDefault();break}}}}ensureHandlers(t){let n=alt(t),r=this.handlers,a=this.view.contentDOM;for(let i in n)if(i!="scroll"){let o=!n[i].handlers.length,s=r[i];s&&o!=!s.handlers.length&&(a.removeEventListener(i,this.handleEvent),s=null),s||a.addEventListener(i,this.handleEvent,{passive:o})}for(let i in r)i!="scroll"&&!n[i]&&a.removeEventListener(i,this.handleEvent);this.handlers=n}keydown(t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;
vendor: 14,663 bytes, line 2432
2432if(this.tabFocusMode>0&&t.keyCode!=27&&NH.indexOf(t.keyCode)<0&&(this.tabFocusMode=-1),tt.android&&tt.chrome&&!t.synthetic&&(t.keyCode==13||t.keyCode==8))return this.view.observer.delayAndroidKey(t.key,t.keyCode),!0;let n;return tt.ios&&!t.synthetic&&!t.altKey&&!t.metaKey&&!t.shiftKey&&((n=IH.find(r=>r.keyCode==t.keyCode))&&!t.ctrlKey||ilt.indexOf(t.key)>-1&&t.ctrlKey)?(this.pendingIOSKey=n||t,setTimeout(()=>this.flushIOSKey(),250),!0):(t.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(t){let n=this.pendingIOSKey;return!n||n.key=="Enter"&&t&&t.from<t.to&&/^\S+$/.test(t.insert.toString())?!1:(this.pendingIOSKey=void 0,$f(this.view.contentDOM,n.key,n.keyCode,n instanceof KeyboardEvent?n:void 0))}ignoreDuringComposition(t){return!/^key/.test(t.type)||t.synthetic?!1:this.composing>0?!0:tt.safari&&!tt.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1}startMouseSelection(t){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=t}update(t){this.view.observer.update(t),this.mouseSelection&&this.mouseSelection.update(t),this.draggedContent&&t.docChanged&&(this.draggedContent=this.draggedContent.map(t.changes)),t.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function i7(e,t){return(n,r)=>{try{return t.call(e,r,n)}catch(a){Ja(n.state,a)}}}function alt(e){let t=Object.create(null);function n(r){return t[r]||(t[r]={observers:[],handlers:[]})}for(let r of e){let a=r.spec,i=a&&a.plugin.domEventHandlers,o=a&&a.plugin.domEventObservers;if(i)for(let s in i){let l=i[s];l&&n(s).handlers.push(i7(r.value,l))}if(o)for(let s in o){let l=o[s];l&&n(s).observers.push(i7(r.value,l))}}for(let r in ps)n(r).handlers.push(ps[r]);for(let r in ki)n(r).observers.push(ki[r]);return t}const IH=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],ilt="dthko",NH=[16,17,18,20,91,92,224,225],K1=6;function J1(e){return Math.max(0,e)*.7+8}function olt(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}class slt{constructor(t,n,r,a){this.view=t,this.startEvent=n,this.style=r,this.mustSelect=a,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=n,this.scrollParents=rH(t.contentDOM),this.atoms=t.state.facet(V0).map(o=>o(t));let i=t.contentDOM.ownerDocument;i.addEventListener("mousemove",this.move=this.move.bind(this)),i.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=t.state.facet(Cn.allowMultipleSelections)&&llt(t,n),this.dragging=ult(t,n)&&LH(n)==1?null:!1}start(t){this.dragging===!1&&this.select(t)}move(t){if(t.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&olt(this.startEvent,t)<10)return;this.select(this.lastEvent=t);let n=0,r=0,a=0,i=0,o=this.view.win.innerWidth,s=this.view.win.innerHeight;this.scrollParents.x&&({left:a,right:o}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:i,bottom:s}=this.scrollParents.y.getBoundingClientRect());let l=C5(this.view);t.clientX-l.left<=a+K1?n=-J1(a-t.clientX):t.clientX+l.right>=o-K1&&(n=J1(t.clientX-o)),t.clientY-l.top<=i+K1?r=-J1(i-t.clientY):t.clientY+l.bottom>=s-K1&&(r=J1(t.clientY-s)),this.setScrollSpeed(n,r)}up(t){this.dragging==null&&this.select(this.lastEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(t,n){this.scrollSpeed={x:t,y:n},t||n?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:t,y:n}=this.scrollSpeed;t&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=t,t=0),n&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=n,n=0),(t||n)&&this.view.win.scrollBy(t,n),this.dragging===!1&&this.select(this.lastEvent)}select(t){let{view:n}=this,r=_H(this.atoms,this.style.get(t,this.extend,this.multiple));(this.mustSelect||!r.eq(n.state.selection,this.dragging===!1))&&this.view.dispatch({selection:r,userEvent:"select.pointer"}),this.mustSelect=!1}update(t){t.transactions.some(n=>n.isUserEvent("input.type"))?this.destroy():this.style.update(t)&&setTimeout(()=>this.select(this.lastEvent),20)}}function llt(e,t){let n=e.state.facet(pH);return n.length?n[0](t):tt.mac?t.metaKey:t.ctrlKey}function clt(e,t){let n=e.state.facet(hH);return n.length?n[0](t):tt.mac?!t.altKey:!t.ctrlKey}function ult(e,t){let{main:n}=e.state.selection;if(n.empty)return!1;let r=Vm(e.root);if(!r||r.rangeCount==0)return!0;let a=r.getRangeAt(0).getClientRects();for(let i=0;i<a.length;i++){let o=a[i];if(o.left<=t.clientX&&o.right>=t.clientX&&o.top<=t.clientY&&o.bottom>=t.clientY)return!0}return!1}function dlt(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target,r;n!=e.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=Ar.get(n))&&r.isWidget()&&!r.isHidden&&r.widget.ignoreEvent(t))return!1;return!0}const ps=Object.create(null),ki=Object.create(null),RH=tt.ie&&tt.ie_version<15||tt.ios&&tt.webkit_version<604;function flt(e){let t=e.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{e.focus(),n.remove(),MH(e,n.value)},50)}function Uv(e,t,n){for(let r of e.facet(t))n=r(n,e);return n}function MH(e,t){t=Uv(e.state,A5,t);let{state:n}=e,r,a=1,i=n.toText(t),o=i.lines==n.selection.ranges.length;if(C3!=null&&n.selection.ranges.every(l=>l.empty)&&C3==i.toString()){let l=-1;r=n.changeByRange(c=>{let u=n.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let d=n.toText((o?i.line(a++).text:t)+n.lineBreak);return{changes:{from:u.from,insert:d},range:Qe.cursor(c.from+d.length)}})}else o?r=n.changeByRange(l=>{let c=i.line(a++);return{changes:{from:l.from,to:l.to,insert:c.text},range:Qe.cursor(l.from+c.length)}}):r=n.replaceSelection(i);e.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}ki.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft};ki.wheel=ki.mousewheel=e=>{e.inputState.lastWheelEvent=Date.now()};ps.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),t.keyCode==27&&e.inputState.tabFocusMode!=0&&(e.inputState.tabFocusMode=Date.now()+2e3),!1);ki.touchstart=(e,t)=>{let n=e.inputState,r=t.targetTouches[0];n.lastTouchTime=Date.now(),r&&(n.lastTouchX=r.clientX,n.lastTouchY=r.clientY),n.setSelectionOrigin("select.pointer")};ki.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")};ps.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of e.state.facet(mH))if(n=r(e,t),n)break;if(!n&&t.button==0&&(n=hlt(e,t)),n){let r=!e.hasFocus;e.inputState.startMouseSelection(new slt(e,t,n,r)),r&&e.observer.ignore(()=>{aH(e.contentDOM);let i=e.root.activeElement;i&&!i.contains(e.contentDOM)&&i.blur()});let a=e.inputState.mouseSelection;if(a)return a.start(t),a.dragging===!1}else e.inputState.setSelectionOrigin("select.pointer");return!1};function o7(e,t,n,r){if(r==1)return Qe.cursor(t,n);if(r==2)return zst(e.state,t,n);{let a=e.docView.lineAt(t,n),i=e.state.doc.lineAt(a?a.posAtEnd:t),o=a?a.posAtStart:i.from,s=a?a.posAtEnd:i.to;return s<e.state.doc.length&&s==i.to&&s++,Qe.range(o,s)}}const plt=tt.ie&&tt.ie_version<=11;let s7=null,l7=0,c7=0;function LH(e){if(!plt)return e.detail;let t=s7,n=c7;return s7=e,c7=Date.now(),l7=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(l7+1)%3:1}function hlt(e,t){let n=e.posAndSideAtCoords({x:t.clientX,y:t.clientY},!1),r=LH(t),a=e.state.selection;return{update(i){i.docChanged&&(n.pos=i.changes.mapPos(n.pos),a=a.map(i.changes))},get(i,o,s){let l=e.posAndSideAtCoords({x:i.clientX,y:i.clientY},!1),c,u=o7(e,l.pos,l.assoc,r);if(n.pos!=l.pos&&!o){let d=o7(e,n.pos,n.assoc,r),f=Math.min(d.from,u.from),p=Math.max(d.to,u.to);u=f<u.from?Qe.range(f,p,u.assoc):Qe.range(p,f,u.assoc)}return o?a.replaceRange(a.main.extend(u.from,u.to,u.assoc)):s&&r==1&&a.ranges.length>1&&(c=mlt(a,l.pos))?c:s?a.addRange(u):Qe.create([u])}}}function mlt(e,t){for(let n=0;n<e.ranges.length;n++){let{from:r,to:a}=e.ranges[n];if(r<=t&&a>=t)return Qe.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))}return null}ps.dragstart=(e,t)=>{let{selection:{main:n}}=e.state;if(t.target.draggable){let a=e.docView.tile.nearest(t.target);if(a&&a.isWidget()){let i=a.posAtStart,o=i+a.length;(i>=n.to||o<=n.from)&&(n=Qe.range(i,o))}}let{inputState:r}=e;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,t.dataTransfer&&(t.dataTransfer.setData("Text",Uv(e.state,T5,e.state.sliceDoc(n.from,n.to))),t.dataTransfer.effectAllowed="copyMove"),!1};ps.dragend=e=>(e.inputState.draggedContent=null,!1);function u7(e,t,n,r){if(n=Uv(e.state,A5,n),!n)return;let a=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:i}=e.inputState,o=r&&i&&clt(e,t)?{from:i.from,to:i.to}:null,s={from:a,insert:n},l=e.state.changes(o?[o,s]:s);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(a,-1),head:l.mapPos(a,1)},userEvent:o?"move.drop":"input.drop"}),e.inputState.draggedContent=null}ps.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let n=t.dataTransfer.files;if(n&&n.length){let r=Array(n.length),a=0,i=()=>{++a==n.length&&u7(e,t,r.filter(o=>o!=null).join(e.state.lineBreak),!1)};for(let o=0;o<n.length;o++){let s=new FileReader;s.onerror=i,s.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(s.result)||(r[o]=s.result),i()},s.readAsText(n[o])}return!0}else{let r=t.dataTransfer.getData("Text");if(r)return u7(e,t,r,!0),!0}return!1};ps.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let n=RH?null:t.clipboardData;return n?(MH(e,n.getData("text/plain")||n.getData("text/uri-list")),!0):(flt(e),!1)};function glt(e,t){let n=e.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout(()=>{r.remove(),e.focus()},50)}function blt(e){let t=[],n=[],r=!1;for(let a of e.selection.ranges)a.empty||(t.push(e.sliceDoc(a.from,a.to)),n.push(a));if(!t.length){let a=-1;for(let{from:i}of e.selection.ranges){let o=e.doc.lineAt(i);o.number>a&&(t.push(o.text),n.push({from:o.from,to:Math.min(e.doc.length,o.to+1)})),a=o.number}r=!0}return{text:Uv(e,T5,t.join(e.lineBreak)),ranges:n,linewise:r}}let C3=null;ps.copy=ps.cut=(e,t)=>{if(!im(e.contentDOM,e.observer.selectionRange))return!1;let{text:n,ranges:r,linewise:a}=blt(e.state);if(!n&&!a)return!1;C3=a?n:null,t.type=="cut"&&!e.state.readOnly&&e.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let i=RH?null:t.clipboardData;return i?(i.clearData(),i.setData("text/plain",n),!0):(glt(e,n),!1)};const DH=ec.define();function BH(e,t){let n=[];for(let r of e.facet(yH)){let a=r(e,t);a&&n.push(a)}return n.length?e.update({effects:n,annotations:DH.of(!0)}):null}function UH(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=BH(e.state,t);n?e.dispatch(n):e.update([])}},10)}ki.focus=e=>{e.inputState.lastFocusTime=Date.now(),!e.scrollDOM.scrollTop&&(e.inputState.lastScrollTop||e.inputState.lastScrollLeft)&&(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),UH(e)};ki.blur=e=>{e.observer.clearSelectionRange(),UH(e)};ki.compositionstart=ki.compositionupdate=e=>{e.observer.editContext||(e.inputState.compositionFirstChange==null&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))};ki.compositionend=e=>{e.observer.editContext||(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,tt.chrome&&tt.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))};ki.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()};ps.beforeinput=(e,t)=>{var n,r;if((t.inputType=="insertText"||t.inputType=="insertCompositionText")&&(e.inputState.insertingText=t.data,e.inputState.insertingTextAt=Date.now()),t.inputType=="insertReplacementText"&&e.observer.editContext){let i=(n=t.dataTransfer)===null||n===void 0?void 0:n.getData("text/plain"),o=t.getTargetRanges();if(i&&o.length){let s=o[0],l=e.posAtDOM(s.startContainer,s.startOffset),c=e.posAtDOM(s.endContainer,s.endOffset);return $5(e,{from:l,to:c,insert:e.state.toText(i)},null),!0}}let a;if(tt.chrome&&tt.android&&(a=IH.find(i=>i.inputType==t.inputType))&&(e.observer.delayAndroidKey(a.key,a.keyCode),a.key=="Backspace"||a.key=="Delete")){let i=((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0;setTimeout(()=>{var o;(((o=window.visualViewport)===null||o===void 0?void 0:o.height)||0)>i+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return tt.ios&&t.inputType=="deleteContentForward"&&e.observer.flushSoon(),tt.safari&&t.inputType=="insertText"&&e.inputState.composing>=0&&setTimeout(()=>ki.compositionend(e,t),20),!1};const d7=new Set;function ylt(e){d7.has(e)||(d7.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{}))}const f7=["pre-wrap","normal","pre-line","break-spaces"];let cp=!1;function p7(){cp=!1}class vlt{constructor(t){this.lineWrapping=t,this.doc=Tn.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(t,n){let r=this.doc.lineAt(n).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((n-t-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(t){return this.lineWrapping?(1+Math.max(0,Math.ceil((t-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForWrapping(t){return f7.indexOf(t)>-1!=this.lineWrapping}mustRefreshForHeights(t){let n=!1;for(let r=0;r<t.length;r++){let a=t[r];a<0?r++:this.heightSamples[Math.floor(a*10)]||(n=!0,this.heightSamples[Math.floor(a*10)]=!0)}return n}
vendor: 5,033 bytes, line 2432
2432refresh(t,n,r,a,i,o){let s=f7.indexOf(t)>-1,l=Math.abs(n-this.lineHeight)>.3||this.lineWrapping!=s;if(this.lineWrapping=s,this.lineHeight=n,this.charWidth=r,this.textHeight=a,this.lineLength=i,l){this.heightSamples={};for(let c=0;c<o.length;c++){let u=o[c];u<0?c++:this.heightSamples[Math.floor(u*10)]=!0}}return l}}class Olt{constructor(t,n){this.from=t,this.heights=n,this.index=0}get more(){return this.index<this.heights.length}}class qo{constructor(t,n,r,a,i){this.from=t,this.length=n,this.top=r,this.height=a,this._content=i}get type(){return typeof this._content=="number"?bi.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof id?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(t){let n=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(t._content)?t._content:[t]);return new qo(this.from,this.length+t.length,this.top,this.height+t.height,n)}}var Wn=(function(e){return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",e})(Wn||(Wn={}));const jg=.001;class ei{constructor(t,n,r=2){this.length=t,this.height=n,this.flags=r}get outdated(){return(this.flags&2)>0}set outdated(t){this.flags=(t?2:0)|this.flags&-3}setHeight(t){this.height!=t&&(Math.abs(this.height-t)>jg&&(cp=!0),this.height=t)}replace(t,n,r){return ei.of(r)}decomposeLeft(t,n){n.push(this)}decomposeRight(t,n){n.push(this)}applyChanges(t,n,r,a){let i=this,o=r.doc;for(let s=a.length-1;s>=0;s--){let{fromA:l,toA:c,fromB:u,toB:d}=a[s],f=i.lineAt(l,Wn.ByPosNoHeight,r.setDoc(n),0,0),p=f.to>=c?f:i.lineAt(c,Wn.ByPosNoHeight,r,0,0);for(d+=p.to-c,c=p.to;s>0&&f.from<=a[s-1].toA;)l=a[s-1].fromA,u=a[s-1].fromB,s--,l<f.from&&(f=i.lineAt(l,Wn.ByPosNoHeight,r,0,0));u+=f.from-l,l=f.from;let h=P5.build(r.setDoc(o),t,u,d);i=ub(i,i.replace(l,c,h))}return i.updateHeight(r,0)}static empty(){return new Li(0,0,0)}static of(t){if(t.length==1)return t[0];let n=0,r=t.length,a=0,i=0;for(;;)if(n==r)if(a>i*2){let s=t[n-1];s.break?t.splice(--n,1,s.left,null,s.right):t.splice(--n,1,s.left,s.right),r+=1+s.break,a-=s.size}else if(i>a*2){let s=t[r];s.break?t.splice(r,1,s.left,null,s.right):t.splice(r,1,s.left,s.right),r+=2+s.break,i-=s.size}else break;else if(a<i){let s=t[n++];s&&(a+=s.size)}else{let s=t[--r];s&&(i+=s.size)}let o=0;return t[n-1]==null?(o=1,n--):t[n]==null&&(o=1,r++),new wlt(ei.of(t.slice(0,n)),o,ei.of(t.slice(r)))}}function ub(e,t){return e==t?e:(e.constructor!=t.constructor&&(cp=!0),t)}ei.prototype.size=1;const Slt=Dt.replace({});class jH extends ei{constructor(t,n,r){super(t,n),this.deco=r,this.spaceAbove=0}mainBlock(t,n){return new qo(n,this.length,t+this.spaceAbove,this.height-this.spaceAbove,this.deco||0)}blockAt(t,n,r,a){return this.spaceAbove&&t<r+this.spaceAbove?new qo(a,0,r,this.spaceAbove,Slt):this.mainBlock(r,a)}lineAt(t,n,r,a,i){let o=this.mainBlock(a,i);return this.spaceAbove?this.blockAt(0,r,a,i).join(o):o}forEachLine(t,n,r,a,i,o){t<=i+this.length&&n>=i&&o(this.lineAt(0,Wn.ByPos,r,a,i))}setMeasuredHeight(t){let n=t.heights[t.index++];n<0?(this.spaceAbove=-n,n=t.heights[t.index++]):this.spaceAbove=0,this.setHeight(n)}updateHeight(t,n=0,r=!1,a){return a&&a.from<=n&&a.more&&this.setMeasuredHeight(a),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Li extends jH{constructor(t,n,r){super(t,n,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=r}mainBlock(t,n){return new qo(n,this.length,t+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(t,n,r){let a=r[0];return r.length==1&&(a instanceof Li||a instanceof Oa&&a.flags&4)&&Math.abs(this.length-a.length)<10?(a instanceof Oa?a=new Li(a.length,this.height,this.spaceAbove):a.height=this.height,this.outdated||(a.outdated=!1),a):ei.of(r)}updateHeight(t,n=0,r=!1,a){return a&&a.from<=n&&a.more?this.setMeasuredHeight(a):(r||this.outdated)&&(this.spaceAbove=0,this.setHeight(Math.max(this.widgetHeight,t.heightForLine(this.length-this.collapsed))+this.breaks*t.lineHeight)),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Oa extends ei{constructor(t){super(t,0)}heightMetrics(t,n){let r=t.doc.lineAt(n).number,a=t.doc.lineAt(n+this.length).number,i=a-r+1,o,s=0;if(t.lineWrapping){let l=Math.min(this.height,t.lineHeight*i);o=l/i,this.length>i+1&&(s=(this.height-l)/(this.length-i-1))}else o=this.height/i;return{firstLine:r,lastLine:a,perLine:o,perChar:s}}blockAt(t,n,r,a){let{firstLine:i,lastLine:o,perLine:s,perChar:l}=this.heightMetrics(n,a);if(n.lineWrapping){let c=a+(t<n.lineHeight?0:Math.round(Math.max(0,Math.min(1,(t-r)/this.height))*this.length)),u=n.doc.lineAt(c),d=s+u.length*l,f=Math.max(r,t-d/2);return new qo(u.from,u.length,f,d,0)}else{let c=Math.max(0,Math.min(o-i,Math.floor((t-r)/s))),{from:u,length:d}=n.doc.line(i+c);return new qo(u,d,r+s*c,s,0)}}
vendor: 10,859 bytes, line 2432
2432lineAt(t,n,r,a,i){if(n==Wn.ByHeight)return this.blockAt(t,r,a,i);if(n==Wn.ByPosNoHeight){let{from:p,to:h}=r.doc.lineAt(t);return new qo(p,h-p,0,0,0)}let{firstLine:o,perLine:s,perChar:l}=this.heightMetrics(r,i),c=r.doc.lineAt(t),u=s+c.length*l,d=c.number-o,f=a+s*d+l*(c.from-i-d);return new qo(c.from,c.length,Math.max(a,Math.min(f,a+this.height-u)),u,0)}forEachLine(t,n,r,a,i,o){t=Math.max(t,i),n=Math.min(n,i+this.length);let{firstLine:s,perLine:l,perChar:c}=this.heightMetrics(r,i);for(let u=t,d=a;u<=n;){let f=r.doc.lineAt(u);if(u==t){let h=f.number-s;d+=l*h+c*(t-i-h)}let p=l+c*f.length;o(new qo(f.from,f.length,d,p,0)),d+=p,u=f.to+1}}replace(t,n,r){let a=this.length-n;if(a>0){let i=r[r.length-1];i instanceof Oa?r[r.length-1]=new Oa(i.length+a):r.push(null,new Oa(a-1))}if(t>0){let i=r[0];i instanceof Oa?r[0]=new Oa(t+i.length):r.unshift(new Oa(t-1),null)}return ei.of(r)}decomposeLeft(t,n){n.push(new Oa(t-1),null)}decomposeRight(t,n){n.push(null,new Oa(this.length-t-1))}updateHeight(t,n=0,r=!1,a){let i=n+this.length;if(a&&a.from<=n+this.length&&a.more){let o=[],s=Math.max(n,a.from),l=-1;for(a.from>n&&o.push(new Oa(a.from-n-1).updateHeight(t,n));s<=i&&a.more;){let u=t.doc.lineAt(s).length;o.length&&o.push(null);let d=a.heights[a.index++],f=0;d<0&&(f=-d,d=a.heights[a.index++]),l==-1?l=d:Math.abs(d-l)>=jg&&(l=-2);let p=new Li(u,d,f);p.outdated=!1,o.push(p),s+=u+1}s<=i&&o.push(null,new Oa(i-s).updateHeight(t,s));let c=ei.of(o);return(l<0||Math.abs(c.height-this.height)>=jg||Math.abs(l-this.heightMetrics(t,n).perLine)>=jg)&&(cp=!0),ub(this,c)}else(r||this.outdated)&&(this.setHeight(t.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class wlt extends ei{constructor(t,n,r){super(t.length+n+r.length,t.height+r.height,n|(t.outdated||r.outdated?2:0)),this.left=t,this.right=r,this.size=t.size+r.size}get break(){return this.flags&1}blockAt(t,n,r,a){let i=r+this.left.height;return t<i?this.left.blockAt(t,n,r,a):this.right.blockAt(t,n,i,a+this.left.length+this.break)}lineAt(t,n,r,a,i){let o=a+this.left.height,s=i+this.left.length+this.break,l=n==Wn.ByHeight?t<o:t<s,c=l?this.left.lineAt(t,n,r,a,i):this.right.lineAt(t,n,r,o,s);if(this.break||(l?c.to<s:c.from>s))return c;let u=n==Wn.ByPosNoHeight?Wn.ByPosNoHeight:Wn.ByPos;return l?c.join(this.right.lineAt(s,u,r,o,s)):this.left.lineAt(s,u,r,a,i).join(c)}forEachLine(t,n,r,a,i,o){let s=a+this.left.height,l=i+this.left.length+this.break;if(this.break)t<l&&this.left.forEachLine(t,n,r,a,i,o),n>=l&&this.right.forEachLine(t,n,r,s,l,o);else{let c=this.lineAt(l,Wn.ByPos,r,a,i);t<c.from&&this.left.forEachLine(t,c.from-1,r,a,i,o),c.to>=t&&c.from<=n&&o(c),n>c.to&&this.right.forEachLine(c.to+1,n,r,s,l,o)}}replace(t,n,r){let a=this.left.length+this.break;if(n<a)return this.balanced(this.left.replace(t,n,r),this.right);if(t>this.left.length)return this.balanced(this.left,this.right.replace(t-a,n-a,r));let i=[];t>0&&this.decomposeLeft(t,i);let o=i.length;for(let s of r)i.push(s);if(t>0&&h7(i,o-1),n<this.length){let s=i.length;this.decomposeRight(n,i),h7(i,s)}return ei.of(i)}decomposeLeft(t,n){let r=this.left.length;if(t<=r)return this.left.decomposeLeft(t,n);n.push(this.left),this.break&&(r++,t>=r&&n.push(null)),t>r&&this.right.decomposeLeft(t-r,n)}decomposeRight(t,n){let r=this.left.length,a=r+this.break;if(t>=a)return this.right.decomposeRight(t-a,n);t<r&&this.left.decomposeRight(t,n),this.break&&t<a&&n.push(null),n.push(this.right)}balanced(t,n){return t.size>2*n.size||n.size>2*t.size?ei.of(this.break?[t,null,n]:[t,n]):(this.left=ub(this.left,t),this.right=ub(this.right,n),this.setHeight(t.height+n.height),this.outdated=t.outdated||n.outdated,this.size=t.size+n.size,this.length=t.length+this.break+n.length,this)}updateHeight(t,n=0,r=!1,a){let{left:i,right:o}=this,s=n+i.length+this.break,l=null;return a&&a.from<=n+i.length&&a.more?l=i=i.updateHeight(t,n,r,a):i.updateHeight(t,n,r),a&&a.from<=s+o.length&&a.more?l=o=o.updateHeight(t,s,r,a):o.updateHeight(t,s,r),l?this.balanced(i,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function h7(e,t){let n,r;e[t]==null&&(n=e[t-1])instanceof Oa&&(r=e[t+1])instanceof Oa&&e.splice(t-1,3,new Oa(n.length+1+r.length))}const xlt=5;class P5{constructor(t,n){this.pos=t,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,n){if(this.lineStart>-1){let r=Math.min(n,this.lineEnd),a=this.nodes[this.nodes.length-1];a instanceof Li?a.length+=r-this.pos:(r>this.pos||!this.isCovered)&&this.nodes.push(new Li(r-this.pos,-1,0)),this.writtenTo=r,n>r&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=n}point(t,n,r){if(t<n||r.heightRelevant){let a=r.widget?r.widget.estimatedHeight:0,i=r.widget?r.widget.lineBreaks:0;a<0&&(a=this.oracle.lineHeight);let o=n-t;r.block?this.addBlock(new jH(o,a,r)):(o||i||a>=xlt)&&this.addLineDeco(a,i,o)}else n>t&&this.span(t,n);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:t,to:n}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=n,this.writtenTo<t&&((this.writtenTo<t-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,t-1)),this.nodes.push(null)),this.pos>t&&this.nodes.push(new Li(this.pos-t,-1,0)),this.writtenTo=this.pos}blankContent(t,n){let r=new Oa(n-t);return this.oracle.doc.lineAt(t).to==n&&(r.flags|=4),r}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof Li)return t;let n=new Li(0,-1,0);return this.nodes.push(n),n}addBlock(t){this.enterLine();let n=t.deco;n&&n.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,n&&n.endSide>0&&(this.covering=t)}addLineDeco(t,n,r){let a=this.ensureLine();a.length+=r,a.collapsed+=r,a.widgetHeight=Math.max(a.widgetHeight,t),a.breaks+=n,this.writtenTo=this.pos=this.pos+r}finish(t){let n=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(n instanceof Li)&&!this.isCovered?this.nodes.push(new Li(0,-1,0)):(this.writtenTo<this.pos||n==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let r=t;for(let a of this.nodes)a instanceof Li&&a.updateHeight(this.oracle,r),r+=a?a.length:1;return this.nodes}static build(t,n,r,a){let i=new P5(r,t);return an.spans(n,r,a,i,0),i.finish(r)}}function klt(e,t,n){let r=new Alt;return an.compare(e,t,n,r,0),r.changes}class Alt{constructor(){this.changes=[]}compareRange(){}comparePoint(t,n,r,a){(t<n||r&&r.heightRelevant||a&&a.heightRelevant)&&Cf(t,n,this.changes,5)}}function Tlt(e,t){let n=e.getBoundingClientRect(),r=e.ownerDocument,a=r.defaultView||window,i=Math.max(0,n.left),o=Math.min(a.innerWidth,n.right),s=Math.max(0,n.top),l=Math.min(a.innerHeight,n.bottom);for(let c=e.parentNode;c&&c!=r.body;)if(c.nodeType==1){let u=c,d=window.getComputedStyle(u);if((u.scrollHeight>u.clientHeight||u.scrollWidth>u.clientWidth)&&d.overflow!="visible"){let f=u.getBoundingClientRect();i=Math.max(i,f.left),o=Math.min(o,f.right),s=Math.max(s,f.top),l=Math.min(c==e.parentNode?a.innerHeight:l,f.bottom)}c=d.position=="absolute"||d.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:i-n.left,right:Math.max(i,o)-n.left,top:s-(n.top+t),bottom:Math.max(s,l)-(n.top+t)}}function Elt(e){let t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView||window;return t.left<n.innerWidth&&t.right>0&&t.top<n.innerHeight&&t.bottom>0}function _lt(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}class R4{constructor(t,n,r,a){this.from=t,this.to=n,this.size=r,this.displaySize=a}static same(t,n){if(t.length!=n.length)return!1;for(let r=0;r<t.length;r++){let a=t[r],i=n[r];if(a.from!=i.from||a.to!=i.to||a.size!=i.size)return!1}return!0}draw(t,n){return Dt.replace({widget:new Clt(this.displaySize*(n?t.scaleY:t.scaleX),n)}).range(this.from,this.to)}}class Clt extends Mo{constructor(t,n){super(),this.size=t,this.vertical=n}eq(t){return t.size==this.size&&t.vertical==this.vertical}toDOM(){let t=document.createElement("div");return this.vertical?t.style.height=this.size+"px":(t.style.width=this.size+"px",t.style.height="2px",t.style.display="inline-block"),t}get estimatedHeight(){return this.vertical?this.size:-1}}class m7{constructor(t,n){this.view=t,this.state=n,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scaleX=1,this.scaleY=1,this.scrollOffset=0,this.scrolledToBottom=!1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=g7,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=vr.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let r=n.facet(E5).some(a=>typeof a!="function"&&a.class=="cm-lineWrapping");this.heightOracle=new vlt(r),this.stateDeco=b7(n),this.heightMap=ei.empty().applyChanges(this.stateDeco,Tn.empty,this.heightOracle.setDoc(n.doc),[new bo(0,0,0,n.doc.length)]);for(let a=0;a<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());a++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Dt.set(this.lineGaps.map(a=>a.draw(this,!1))),this.scrollParent=t.scrollDOM,this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:n}=this.state.selection;for(let r=0;r<=1;r++){let a=r?n.head:n.anchor;if(!t.some(({from:i,to:o})=>a>=i&&a<=o)){let{from:i,to:o}=this.lineBlockAt(a);t.push(new eg(i,o))}}return this.viewports=t.sort((r,a)=>r.from-a.from),this.updateScaler()}updateScaler(){let t=this.scaler;return this.scaler=this.heightMap.height<=7e6?g7:new I5(this.heightOracle,this.heightMap,this.viewports),t.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,t=>{this.viewportLines.push(Uh(t,this.scaler))})}update(t,n=null){this.state=t.state;let r=this.stateDeco;this.stateDeco=b7(this.state);let a=t.changedRanges,i=bo.extendWithRanges(a,klt(r,this.stateDeco,t?t.changes:Yr.empty(this.state.doc.length))),o=this.heightMap.height,s=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollOffset);p7(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,t.startState.doc,this.heightOracle.setDoc(this.state.doc),i),(this.heightMap.height!=o||cp)&&(t.flags|=2),s?(this.scrollAnchorPos=t.changes.mapPos(s.from,-1),this.scrollAnchorHeight=s.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=o
vendor: 2,170 bytes, line 2432
2432);let l=i.length?this.mapViewport(this.viewport,t.changes):this.viewport;(n&&(n.range.head<l.from||n.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,n));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,t.flags|=this.updateForViewport(),(c||!t.changes.empty||t.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(t.changes),n&&(this.scrollTarget=n),!this.mustEnforceCursorAssoc&&(t.selectionSet||t.focusChanged)&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&!t.state.facet(Ost)&&(this.mustEnforceCursorAssoc=!0)}measure(){let{view:t}=this,n=t.contentDOM,r=window.getComputedStyle(n),a=this.heightOracle,i=r.whiteSpace;this.defaultTextDirection=r.direction=="rtl"?vr.RTL:vr.LTR;let o=this.heightOracle.mustRefreshForWrapping(i)||this.mustMeasureContent==="refresh",s=n.getBoundingClientRect(),l=o||this.mustMeasureContent||this.contentDOMHeight!=s.height;this.contentDOMHeight=s.height,this.mustMeasureContent=!1;let c=0,u=0;if(s.width&&s.height){let{scaleX:E,scaleY:C}=nH(n,s);(E>.005&&Math.abs(this.scaleX-E)>.005||C>.005&&Math.abs(this.scaleY-C)>.005)&&(this.scaleX=E,this.scaleY=C,c|=16,o=l=!0)}let d=(parseInt(r.paddingTop)||0)*this.scaleY,f=(parseInt(r.paddingBottom)||0)*this.scaleY;(this.paddingTop!=d||this.paddingBottom!=f)&&(this.paddingTop=d,this.paddingBottom=f,c|=18),this.editorWidth!=t.scrollDOM.clientWidth&&(a.lineWrapping&&(l=!0),this.editorWidth=t.scrollDOM.clientWidth,c|=16);let p=rH(this.view.contentDOM,!1).y;p!=this.scrollParent&&(this.scrollParent=p,this.scrollAnchorHeight=-1,this.scrollOffset=0);let h=this.getScrollOffset();this.scrollOffset!=h&&(this.scrollAnchorHeight=-1,this.scrollOffset=h),this.scrolledToBottom=iH(this.scrollParent||t.win);let b=(this.printing?_lt:Tlt)(n,this.paddingTop),y=b.top-this.pixelViewport.top,O=b.bottom-this.pixelViewport.bottom;this.pixelViewport=b;let A=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;
vendor: 20,622 bytes, line 2432
2432if(A!=this.inView&&(this.inView=A,A&&(l=!0)),!this.inView&&!this.scrollTarget&&!Elt(t.dom))return 0;let x=s.width;if((this.contentDOMWidth!=x||this.editorHeight!=t.scrollDOM.clientHeight)&&(this.contentDOMWidth=s.width,this.editorHeight=t.scrollDOM.clientHeight,c|=16),l){let E=t.docView.measureVisibleLineHeights(this.viewport);if(a.mustRefreshForHeights(E)&&(o=!0),o||a.lineWrapping&&Math.abs(x-this.contentDOMWidth)>a.charWidth){let{lineHeight:C,charWidth:$,textHeight:R}=t.docView.measureTextSize();o=C>0&&a.refresh(i,C,$,R,Math.max(5,x/$),E),o&&(t.docView.minWidth=0,c|=16)}y>0&&O>0?u=Math.max(y,O):y<0&&O<0&&(u=Math.min(y,O)),p7();for(let C of this.viewports){let $=C.from==this.viewport.from?E:t.docView.measureVisibleLineHeights(C);this.heightMap=(o?ei.empty().applyChanges(this.stateDeco,Tn.empty,this.heightOracle,[new bo(0,0,0,t.state.doc.length)]):this.heightMap).updateHeight(a,0,o,new Olt(C.from,$))}cp&&(c|=2)}let T=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return T&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(c&2||T)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,t)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,t.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,n){let r=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),a=this.heightMap,i=this.heightOracle,{visibleTop:o,visibleBottom:s}=this,l=new eg(a.lineAt(o-r*1e3,Wn.ByHeight,i,0,0).from,a.lineAt(s+(1-r)*1e3,Wn.ByHeight,i,0,0).to);if(n){let{head:c}=n.range;if(c<l.from||c>l.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),d=a.lineAt(c,Wn.ByPos,i,0,0),f;n.y=="center"?f=(d.top+d.bottom)/2-u/2:n.y=="start"||n.y=="nearest"&&c<l.from?f=d.top:f=d.bottom-u,l=new eg(a.lineAt(f-1e3/2,Wn.ByHeight,i,0,0).from,a.lineAt(f+u+1e3/2,Wn.ByHeight,i,0,0).to)}}return l}mapViewport(t,n){let r=n.mapPos(t.from,-1),a=n.mapPos(t.to,1);return new eg(this.heightMap.lineAt(r,Wn.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(a,Wn.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:t,to:n},r=0){if(!this.inView)return!0;let{top:a}=this.heightMap.lineAt(t,Wn.ByPos,this.heightOracle,0,0),{bottom:i}=this.heightMap.lineAt(n,Wn.ByPos,this.heightOracle,0,0),{visibleTop:o,visibleBottom:s}=this;return(t==0||a<=o-Math.max(10,Math.min(-r,250)))&&(n==this.state.doc.length||i>=s+Math.max(10,Math.min(r,250)))&&a>o-2*1e3&&i<s+2*1e3}mapLineGaps(t,n){if(!t.length||n.empty)return t;let r=[];for(let a of t)n.touchesRange(a.from,a.to)||r.push(new R4(n.mapPos(a.from),n.mapPos(a.to),a.size,a.displaySize));return r}ensureLineGaps(t,n){let r=this.heightOracle.lineWrapping,a=r?1e4:2e3,i=a>>1,o=a<<1;if(this.defaultTextDirection!=vr.LTR&&!r)return[];let s=[],l=(u,d,f,p)=>{if(d-u<i)return;let h=this.state.selection.main,b=[h.from];h.empty||b.push(h.to);for(let O of b)if(O>u&&O<d){l(u,O-10,f,p),l(O+10,d,f,p);return}let y=Plt(t,O=>O.from>=f.from&&O.to<=f.to&&Math.abs(O.from-u)<i&&Math.abs(O.to-d)<i&&!b.some(A=>O.from<A&&O.to>A));if(!y){if(d<f.to&&n&&r&&n.visibleRanges.some(x=>x.from<=d&&x.to>=d)){let x=n.moveToLineBoundary(Qe.cursor(d),!1,!0).head;x>u&&(d=x)}let O=this.gapSize(f,u,d,p),A=r||O<2e6?O:2e6;y=new R4(u,d,O,A)}s.push(y)},c=u=>{if(u.length<o||u.type!=bi.Text)return;let d=$lt(u.from,u.to,this.stateDeco);if(d.total<o)return;let f=this.scrollTarget?this.scrollTarget.range.head:null,p,h;if(r){let b=a/this.heightOracle.lineLength*this.heightOracle.lineHeight,y,O;if(f!=null){let A=ng(d,f),x=((this.visibleBottom-this.visibleTop)/2+b)/u.height;y=A-x,O=A+x}else y=(this.visibleTop-u.top-b)/u.height,O=(this.visibleBottom-u.top+b)/u.height;p=tg(d,y),h=tg(d,O)}else{let b=d.total*this.heightOracle.charWidth,y=a*this.heightOracle.charWidth,O=0;if(b>2e6)for(let C of t)C.from>=u.from&&C.from<u.to&&C.size!=C.displaySize&&C.from*this.heightOracle.charWidth+O<this.pixelViewport.left&&(O=C.size-C.displaySize);let A=this.pixelViewport.left+O,x=this.pixelViewport.right+O,T,E;if(f!=null){let C=ng(d,f),$=((x-A)/2+y)/b;T=C-$,E=C+$}else T=(A-y)/b,E=(x+y)/b;p=tg(d,T),h=tg(d,E)}p>u.from&&l(u.from,p,u,d),h<u.to&&l(h,u.to,u,d)};for(let u of this.viewportLines)Array.isArray(u.type)?u.type.forEach(c):c(u);return s}gapSize(t,n,r,a){let i=ng(a,r)-ng(a,n);return this.heightOracle.lineWrapping?t.height*i:a.total*this.heightOracle.charWidth*i}updateLineGaps(t){R4.same(t,this.lineGaps)||(this.lineGaps=t,this.lineGapDeco=Dt.set(t.map(n=>n.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(t){let n=this.stateDeco;this.lineGaps.length&&(n=n.concat(this.lineGapDeco));let r=[];an.spans(n,this.viewport.from,this.viewport.to,{span(i,o){r.push({from:i,to:o})},point(){}},20);let a=0;if(r.length!=this.visibleRanges.length)a=12;else for(let i=0;i<r.length&&!(a&8);i++){let o=this.visibleRanges[i],s=r[i];(o.from!=s.from||o.to!=s.to)&&(a|=4,t&&t.mapPos(o.from,-1)==s.from&&t.mapPos(o.to,1)==s.to||(a|=8))}return this.visibleRanges=r,a}lineBlockAt(t){return t>=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find(n=>n.from<=t&&n.to>=t)||Uh(this.heightMap.lineAt(t,Wn.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(t){return t>=this.viewportLines[0].top&&t<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(n=>n.top<=t&&n.bottom>=t)||Uh(this.heightMap.lineAt(this.scaler.fromDOM(t),Wn.ByHeight,this.heightOracle,0,0),this.scaler)}getScrollOffset(){return(this.scrollParent==this.view.scrollDOM?this.scrollParent.scrollTop:(this.scrollParent?this.scrollParent.getBoundingClientRect().top:0)-this.view.contentDOM.getBoundingClientRect().top)*this.scaleY}scrollAnchorAt(t){let n=this.lineBlockAtHeight(t+8);return n.from>=this.viewport.from||this.viewportLines[0].top-t>200?n:this.viewportLines[0]}elementAtHeight(t){return Uh(this.heightMap.blockAt(this.scaler.fromDOM(t),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class eg{constructor(t,n){this.from=t,this.to=n}}function $lt(e,t,n){let r=[],a=e,i=0;return an.spans(n,e,t,{span(){},point(o,s){o>a&&(r.push({from:a,to:o}),i+=o-a),a=s}},20),a<t&&(r.push({from:a,to:t}),i+=t-a),{total:i,ranges:r}}function tg({total:e,ranges:t},n){if(n<=0)return t[0].from;if(n>=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let a=0;;a++){let{from:i,to:o}=t[a],s=o-i;if(r<=s)return i+r;r-=s}}function ng(e,t){let n=0;for(let{from:r,to:a}of e.ranges){if(t<=a){n+=t-r;break}n+=a-r}return n/e.total}function Plt(e,t){for(let n of e)if(t(n))return n}const g7={toDOM(e){return e},fromDOM(e){return e},scale:1,eq(e){return e==this}};function b7(e){let t=e.facet(Lv).filter(r=>typeof r!="function"),n=e.facet(_5).filter(r=>typeof r!="function");return n.length&&t.push(an.join(n)),t}class I5{constructor(t,n,r){let a=0,i=0,o=0;this.viewports=r.map(({from:s,to:l})=>{let c=n.lineAt(s,Wn.ByPos,t,0,0).top,u=n.lineAt(l,Wn.ByPos,t,0,0).bottom;return a+=u-c,{from:s,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-a)/(n.height-a);for(let s of this.viewports)s.domTop=o+(s.top-i)*this.scale,o=s.domBottom=s.domTop+(s.bottom-s.top),i=s.bottom}toDOM(t){for(let n=0,r=0,a=0;;n++){let i=n<this.viewports.length?this.viewports[n]:null;if(!i||t<i.top)return a+(t-r)*this.scale;if(t<=i.bottom)return i.domTop+(t-i.top);r=i.bottom,a=i.domBottom}}fromDOM(t){for(let n=0,r=0,a=0;;n++){let i=n<this.viewports.length?this.viewports[n]:null;if(!i||t<i.domTop)return r+(t-a)/this.scale;if(t<=i.domBottom)return i.top+(t-i.domTop);r=i.bottom,a=i.domBottom}}eq(t){return t instanceof I5?this.scale==t.scale&&this.viewports.length==t.viewports.length&&this.viewports.every((n,r)=>n.from==t.viewports[r].from&&n.to==t.viewports[r].to):!1}}function Uh(e,t){if(t.scale==1)return e;let n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new qo(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map(a=>Uh(a,t)):e._content)}const rg=Je.define({combine:e=>e.join(" ")}),$3=Je.define({combine:e=>e.indexOf(!0)>-1}),P3=Bc.newName(),QH=Bc.newName(),FH=Bc.newName(),zH={"&light":"."+QH,"&dark":"."+FH};function I3(e,t,n){return new Bc(t,{finish(r){return/&/.test(r)?r.replace(/&\w*/,a=>{if(a=="&")return e;if(!n||!n[a])throw new RangeError(`Unsupported selector: ${a}`);return n[a]}):e+" "+r}})}const Ilt=I3("."+P3,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{userSelect:"none",position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-selectionHandle":{backgroundColor:"currentColor",width:"1.5px"},".cm-selectionHandle-start::before, .cm-selectionHandle-end::before":{content:'""',backgroundColor:"inherit",borderRadius:"50%",width:"8px",height:"8px",position:"absolute",left:"-3.25px"},".cm-selectionHandle-start::before":{top:"-8px"},".cm-selectionHandle-end::before":{bottom:"-8px"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},zH),Nlt={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},M4=tt.ie&&tt.ie_version<=11;class Rlt{constructor(t){this.view=t,this.active=!1,this.editContext=null,this.selectionRange=new lst,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver(n=>{for(let r of n)this.queue.push(r);(tt.ie&&tt.ie_version<=11||tt.ios&&t.composing)&&n.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&tt.android&&t.constructor.EDIT_CONTEXT!==!1&&!(tt.chrome&&tt.chrome_version<126)&&(this.editContext=new Llt(t),t.state.facet(Ol)&&(t.contentDOM.editContext=this.editContext.editContext)),M4&&(this.onCharData=n=>{this.queue.push({target:n.target,type:"characterData",oldValue:n.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var n;((n=this.view.docView)===null||n===void 0?void 0:n.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(t.scrollDOM)),this.addWindowListeners(this.win=t.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(n=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),n.length>0&&n[n.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(n=>{n.length>0&&n[n.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(t){this.view.inputState.runHandlers("scroll",t),this.intersecting&&this.view.measure()}onScroll(t){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(t)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(t){(t.type=="change"||!t.type)&&!t.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some((n,r)=>n!=t[r]))){this.gapIntersection.disconnect();for(let n of t)this.gapIntersection.observe(n);this.gaps=t}}onSelectionChange(t){let n=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,a=this.selectionRange;if(r.state.facet(Ol)?r.root.activeElement!=this.dom:!im(this.dom,a))return;let i=a.anchorNode&&r.docView.tile.nearest(a.anchorNode);if(i&&i.isWidget()&&i.widget.ignoreEvent(t)){n||(this.selectionChanged=!1);return}(tt.ie&&tt.ie_version<=11||tt.android&&tt.chrome)&&!r.state.selection.main.empty&&a.focusNode&&sm(a.focusNode,a.focusOffset,a.anchorNode,a.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:t}=this,n=Vm(t.root);if(!n)return!1;let r=tt.safari&&t.root.nodeType==11&&t.root.activeElement==this.dom&&Mlt(this.view,n)||n;if(!r||this.selectionRange.eq(r))return!1;let a=im(this.dom,r);return a&&!this.selectionChanged&&t.inputState.lastFocusTime>Date.now()-200&&t.inputState.lastTouchTime<Date.now()-300&&ust(this.dom,r)?(this.view.inputState.lastFocusTime=0,t.docView.updateSelection(),!1):(this.selectionRange.setRange(r),a&&(this.selectionChanged=!0),!0)}setSelectionRange(t,n){this.selectionRange.set(t.node,t.offset,n.node,n.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let t=0,n=null;for(let r=this.dom;r;)if(r.nodeType==1)!n&&t<this.scrollTargets.length&&this.scrollTargets[t]==r?t++:n||(n=this.scrollTargets.slice(0,t)),n&&n.push(r),r=r.assignedSlot||r.parentNode;else if(r.nodeType==11)r=r.host;else break;if(t<this.scrollTargets.length&&!n&&(n=this.scrollTargets.slice(0,t)),n){for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);for(let r of this.scrollTargets=n)r.addEventListener("scroll",this.onScroll)}}ignore(t){if(!this.active)return t();try{return this.stop(),t()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,Nlt),M4&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),M4&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(t,n){var r;if(!this.delayedAndroidKey){let a=()=>{let i=this.delayedAndroidKey;i&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=i.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&i.force&&$f(this.dom,i.key,i.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(a)}(!this.delayedAndroidKey||t=="Enter")&&(this.delayedAndroidKey={key:t,keyCode:n,force:this.lastChange<Date.now()-50||!!(!((r=this.delayedAndroidKey)===null||r===void 0)&&r.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}processRecords(){let t=this.pendingRecords();t.length&&(this.queue=[]);let n=-1,r=-1,a=!1;for(let i of t){let o=this.readMutation(i);o&&(o.typeOver&&(a=!0),n==-1?{from:n,to:r}=o:(n=Math.min(o.from,n),r=Math.max(o.to,r)))}return{from:n,to:r,typeOver:a}}readChange(){let{from:t,to:n,typeOver:r}=this.processRecords(),a=this.selectionChanged&&im(this.dom,this.selectionRange);
vendor: 5,159 bytes, lines 2432-2433
2432if(t<0&&!a)return null;t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let i=new Jst(this.view,t,n,r);return this.view.docView.domChanged={newSel:i.newSel?i.newSel.main:null},i}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t&&this.readSelectionRange();let n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let r=this.view.state,a=$H(this.view,n);return this.view.state==r&&(n.domChanged||n.newSel&&!cb(this.view.state.selection,n.newSel.main))&&this.view.update([]),a}readMutation(t){let n=this.view.docView.tile.nearest(t.target);if(!n||n.isWidget())return null;if(n.markDirty(t.type=="attributes"),t.type=="childList"){let r=y7(n,t.previousSibling||t.target.previousSibling,-1),a=y7(n,t.nextSibling||t.target.nextSibling,1);return{from:r?n.posAfter(r):n.posAtStart,to:a?n.posBefore(a):n.posAtEnd,typeOver:!1}}else return t.type=="characterData"?{from:n.posAtStart,to:n.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null}setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.win=t,this.addWindowListeners(this.win))}addWindowListeners(t){t.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):t.addEventListener("beforeprint",this.onPrint),t.addEventListener("scroll",this.onScroll),t.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):t.removeEventListener("beforeprint",this.onPrint),t.document.removeEventListener("selectionchange",this.onSelectionChange)}update(t){this.editContext&&(this.editContext.update(t),t.startState.facet(Ol)!=t.state.facet(Ol)&&(t.view.contentDOM.editContext=t.state.facet(Ol)?this.editContext.editContext:null))}destroy(){var t,n,r;this.stop(),(t=this.intersection)===null||t===void 0||t.disconnect(),(n=this.gapIntersection)===null||n===void 0||n.disconnect(),(r=this.resizeScroll)===null||r===void 0||r.disconnect();for(let a of this.scrollTargets)a.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function y7(e,t,n){for(;t;){let r=Ar.get(t);if(r&&r.parent==e)return r;let a=t.parentNode;t=a!=e.dom?a:n>0?t.nextSibling:t.previousSibling}return null}function v7(e,t){let n=t.startContainer,r=t.startOffset,a=t.endContainer,i=t.endOffset,o=e.docView.domAtPos(e.state.selection.main.anchor,1);return sm(o.node,o.offset,a,i)&&([n,r,a,i]=[a,i,n,r]),{anchorNode:n,anchorOffset:r,focusNode:a,focusOffset:i}}function Mlt(e,t){if(t.getComposedRanges){let a=t.getComposedRanges(e.root)[0];if(a)return v7(e,a)}let n=null;function r(a){a.preventDefault(),a.stopImmediatePropagation(),n=a.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",r,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",r,!0),n?v7(e,n):null}class Llt{constructor(t){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(t.state);let n=this.editContext=new window.EditContext({text:t.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,t.state.selection.main.anchor))),selectionEnd:this.toContextPos(t.state.selection.main.head)});this.handlers.textupdate=r=>{let a=t.state.selection.main,{anchor:i,head:o}=a,s=this.toEditorPos(r.updateRangeStart),l=this.toEditorPos(r.updateRangeEnd);t.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:r.updateRangeStart,editorBase:s,drifted:!1});let c=l-s>r.text.length;s==this.from&&i<this.from?s=i:l==this.to&&i>this.to&&(l=i);let u=PH(t.state.sliceDoc(s,l),r.text,(c?a.from:a.to)-s,c?"end":null);if(!u){let f=Qe.single(this.toEditorPos(r.selectionStart),this.toEditorPos(r.selectionEnd));cb(f,a)||t.dispatch({selection:f,userEvent:"select"});return}let d={from:u.from+s,to:u.toA+s,insert:Tn.of(r.text.slice(u.from,u.toB).split(` 2433`))};if((tt.mac||tt.android)&&d.from==o-1&&/^\. ?$/.test(r.text)&&t.contentDOM.getAttribute("autocorrect")=="off"&&(d={from:s,to:l,insert:Tn.of([r.text.replace("."," ")])}),this.pendingContextChange=d,!t.state.readOnly){let f=this.to-this.from+(d.to-d.from+d.insert.length);$5(t,d,Qe.single(this.toEditorPos(r.selectionStart,f),this.toEditorPos(r.selectionEnd,f)))}this.pendingContextChange&&(this.revertPending(t.state),this.setSelection(t.state)),d.from<d.to&&!d.insert.length&&t.inputState.composing>=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(n.text.slice(Math.max(0,r.updateRangeStart-1),Math.min(n.text.length,r.updateRangeStart+1)))&&this.handlers.compositionend(r)}
vendor: 4,486 bytes, line 2433
2433,this.handlers.characterboundsupdate=r=>{let a=[],i=null;for(let o=this.toEditorPos(r.rangeStart),s=this.toEditorPos(r.rangeEnd);o<s;o++){let l=t.coordsForChar(o);i=l&&new DOMRect(l.left,l.top,l.right-l.left,l.bottom-l.top)||i||new DOMRect,a.push(i)}n.updateCharacterBounds(r.rangeStart,a)},this.handlers.textformatupdate=r=>{let a=[];for(let i of r.getTextFormats()){let o=i.underlineStyle,s=i.underlineThickness;if(!/none/i.test(o)&&!/none/i.test(s)){let l=this.toEditorPos(i.rangeStart),c=this.toEditorPos(i.rangeEnd);if(l<c){let u=`text-decoration: underline ${/^[a-z]/.test(o)?o+" ":o=="Dashed"?"dashed ":o=="Squiggle"?"wavy ":""}${/thin/i.test(s)?1:2}px`;a.push(Dt.mark({attributes:{style:u}}).range(l,c))}}}t.dispatch({effects:SH.of(Dt.set(a))})},this.handlers.compositionstart=()=>{t.inputState.composing<0&&(t.inputState.composing=0,t.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(t.inputState.composing=-1,t.inputState.compositionFirstChange=null,this.composing){let{drifted:r}=this.composing;this.composing=null,r&&this.reset(t.state)}};for(let r in this.handlers)n.addEventListener(r,this.handlers[r]);this.measureReq={read:r=>{this.editContext.updateControlBounds(r.contentDOM.getBoundingClientRect());let a=Vm(r.root);a&&a.rangeCount&&this.editContext.updateSelectionBounds(a.getRangeAt(0).getBoundingClientRect())}}}applyEdits(t){let n=0,r=!1,a=this.pendingContextChange;return t.changes.iterChanges((i,o,s,l,c)=>{if(r)return;let u=c.length-(o-i);if(a&&o>=a.to)if(a.from==i&&a.to==o&&a.insert.eq(c)){a=this.pendingContextChange=null,n+=u,this.to+=u;return}else a=null,this.revertPending(t.state);if(i+=n,o+=n,o<=this.from)this.from+=u,this.to+=u;else if(i<this.to){if(i<this.from||o>this.to||this.to-this.from+c.length>3e4){r=!0;return}this.editContext.updateText(this.toContextPos(i),this.toContextPos(o),c.toString()),this.to+=u}n+=u}),a&&!r&&this.revertPending(t.state),!r}update(t){let n=this.pendingContextChange,r=t.startState.selection.main;this.composing&&(this.composing.drifted||!t.changes.touchesRange(r.from,r.to)&&t.transactions.some(a=>!a.isUserEvent("input.type")&&a.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=t.changes.mapPos(this.composing.editorBase)):!this.applyEdits(t)||!this.rangeIsValid(t.state)?(this.pendingContextChange=null,this.reset(t.state)):(t.docChanged||t.selectionSet||n)&&this.setSelection(t.state),(t.geometryChanged||t.docChanged||t.selectionSet)&&t.view.requestMeasure(this.measureReq)}resetRange(t){let{head:n}=t.selection.main;this.from=Math.max(0,n-1e4),this.to=Math.min(t.doc.length,n+1e4)}reset(t){this.resetRange(t),this.editContext.updateText(0,this.editContext.text.length,t.doc.sliceString(this.from,this.to)),this.setSelection(t)}revertPending(t){let n=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(n.from),this.toContextPos(n.from+n.insert.length),t.doc.sliceString(n.from,n.to))}setSelection(t){let{main:n}=t.selection,r=this.toContextPos(Math.max(this.from,Math.min(this.to,n.anchor))),a=this.toContextPos(n.head);(this.editContext.selectionStart!=r||this.editContext.selectionEnd!=a)&&this.editContext.updateSelection(r,a)}rangeIsValid(t){let{head:n}=t.selection.main;return!(this.from>0&&n-this.from<500||this.to<t.doc.length&&this.to-n<500||this.to-this.from>1e4*3)}toEditorPos(t,n=this.to-this.from){t=Math.min(t,n);let r=this.composing;return r&&r.drifted?r.editorBase+(t-r.contextBase):t+this.from}toContextPos(t){let n=this.composing;return n&&n.drifted?n.contextBase+(t-n.editorBase):t-this.from}destroy(){for(let t in this.handlers)this.editContext.removeEventListener(t,this.handlers[t])}}class st{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(t={}){var n;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="
2433cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),t.parent&&t.parent.appendChild(this.dom);let{dispatch:r}=t;this.dispatchTransactions=t.dispatchTransactions||r&&(a=>a.forEach(i=>r(i,this)))||(a=>this.update(a)),this.dispatch=this.dispatch.bind(this),this._root=t.root||cst(t.parent)||document,this.viewState=new m7(this,t.state||Cn.create(t)),t.scrollTo&&t.scrollTo.is(G1)&&(this.viewState.scrollTarget=t.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(gf).map(a=>new C4(a));for(let a of this.plugins)a.update(this);this.observer=new Rlt(this),this.inputState=new rlt(this),this.inputState.ensureHandlers(this.plugins),this.docView=new n7(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((n=document.fonts)===null||n===void 0)&&n.ready&&document.fonts.ready.then(()=>{this.viewState.mustMeasureContent="refresh",this.requestMeasure()})}dispatch(...t){let n=t.length==1&&t[0]instanceof Ur?t:t.length==1&&Array.isArray(t[0])?t[0]:[this.state.update(...t)];this.dispatchTransactions(n,this)}update(t){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let n=!1,r=!1,a,i=this.state;for(let f of t){if(f.startState!=i)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");i=f.state}if(this.destroyed){this.viewState.state=i;return}let o=this.hasFocus,s=0,l=null;t.some(f=>f.annotation(DH))?(this.inputState.notifiedFocused=o,s=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,l=BH(i,o),l||(s=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(u=null)):this.observer.clear(),i.facet(Cn.phrases)!=this.state.facet(Cn.phrases))return this.setState(i);a=ob.create(this,i,t),a.flags|=s;let d=this.viewState.scrollTarget;try{this.updateState=2;for(let f of t){if(d&&(d=d.map(f.changes)),f.scrollIntoView){let{main:p}=f.state.selection,{x:h,y:b}=this.state.facet(st.cursorScrollMargin);d=new Pf(p.empty?p:Qe.cursor(p.head,p.head>p.anchor?-1:1),"nearest","nearest",b,h)}for(let p of f.effects)p.is(G1)&&(d=p.value.clip(this.state))}this.viewState.update(a,d),this.bidiCache=db.update(this.bidiCache,a.changes),a.empty||(this.updatePlugins(a),this.inputState.update(a)),n=this.docView.update(a),this.state.facet(Bh)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(n,t.some(f=>f.isUserEvent("select.pointer")))}finally{this.updateState=0}if(a.startState.facet(rg)!=a.state.facet(rg)&&(this.viewState.mustMeasureContent=!0),(n||r||d||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!a.empty)for(let f of this.state.facet(T3))try{f(a)}catch(p){Ja(this.state,p,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!$H(this,u)&&c.force&&$f(this.contentDOM,c.key,c.keyCode)})}setState(t){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=t;return}this.updateState=2;let n=this.hasFocus;try{for(let r of this.plugins)r.destroy(this);this.viewState=new m7(this,t),this.plugins=t.facet(gf).map(r=>new C4(r)),this.pluginMap.clear();for(let r of this.plugins)r.update(this);this.docView.destroy(),this.docView=new n7(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}n&&this.focus(),this.requestMeasure()}updatePlugins(t){let n=t.startState.facet(gf),r=t.state.facet(gf);if(n!=r){let a=[];for(let i of r){let o=n.indexOf(i);if(o<0)a.push(new C4(i));else{let s=this.plugins[o];s.mustUpdate=t,a.push(s)}}for(let i of this.plugins)i.mustUpdate!=t&&i.destroy(this);this.plugins=a,this.pluginMap.clear()}else for(let a of this.plugins)a.mustUpdate=t;for(let a=0;a<this.plugins.length;a++)this.plugins[a].update(this);n!=r&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let t of this.plugins){let n=t.value;if(n&&n.docViewUpdate)try{n.docViewUpdate(this)}catch(r){Ja(this.state,r,"doc view update listener")}}}measure(t=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,t&&this.observer.forceFlush();let n=null,r=this.viewState.scrollParent,a=this.viewState.getScrollOffset(),{scrollAnchorPos:i,scrollAnchorHeight:o}=this.viewState;Math.abs(a-this.viewState.scrollOffset)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let s=0;;s++){if(o<0)if(iH(r||this.win))i=-1,o=this.viewState.heightMap.height;else{let p=this.viewState.scrollAnchorAt(a);i=p.from,o=p.top}this.updateState=1;let l=this.viewState.measure();if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;
vendor: 5,002 bytes, line 2433
2433if(s>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(p=>{try{return p.read(this)}catch(h){return Ja(this.state,h),O7}}),d=ob.create(this,this.state,[]),f=!1;d.flags|=l,n?n.flags|=l:n=d,this.updateState=2,d.empty||(this.updatePlugins(d),this.inputState.update(d),this.updateAttrs(),f=this.docView.update(d),f&&this.docViewUpdate());for(let p=0;p<c.length;p++)if(u[p]!=O7)try{let h=c[p];h.write&&h.write(u[p],this)}catch(h){Ja(this.state,h)}if(f&&this.docView.updateSelection(!0),!d.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,o=-1;continue}else{let h=((i<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(i).top)-o)/this.scaleY;if((h>1||h<-1)&&(r==this.scrollDOM||this.hasFocus||Math.max(this.inputState.lastWheelEvent,this.inputState.lastTouchTime)>Date.now()-100)){a=a+h,r?r.scrollTop+=h:this.win.scrollBy(0,h),o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty)for(let s of this.state.facet(T3))s(n)}get themeClasses(){return P3+" "+(this.state.facet($3)?FH:QH)+" "+this.state.facet(rg)}updateAttrs(){let t=S7(this,wH,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(Ol)?"true":"false",class:"cm-content",style:`${tt.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),S7(this,E5,n);let r=this.observer.ignore(()=>{let a=YC(this.contentDOM,this.contentAttrs,n),i=YC(this.dom,this.editorAttrs,t);return a||i});return this.editorAttrs=t,this.contentAttrs=n,r}showAnnouncements(t){let n=!0;for(let r of t)for(let a of r.effects)if(a.is(st.announce)){n&&(this.announceDOM.textContent=""),n=!1;let i=this.announceDOM.appendChild(document.createElement("div"));i.textContent=a.value}}mountStyles(){this.styleModules=this.state.facet(Bh);let t=this.state.facet(st.cspNonce);Bc.mount(this.root,this.styleModules.concat(Ilt).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),t){if(this.measureRequests.indexOf(t)>-1)return;if(t.key!=null){for(let n=0;n<this.measureRequests.length;n++)if(this.measureRequests[n].key===t.key){this.measureRequests[n]=t;return}}this.measureRequests.push(t)}}plugin(t){let n=this.pluginMap.get(t);return(n===void 0||n&&n.plugin!=t)&&this.pluginMap.set(t,n=this.plugins.find(r=>r.plugin==t)||null),n&&n.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,n,r){return N4(this,t,r7(this,t,n,r))}moveByGroup(t,n){return N4(this,t,r7(this,t,n,r=>Zst(this,t.head,r)))}visualLineSide(t,n){let r=this.bidiSpans(t),a=this.textDirectionAt(t.from),i=r[n?r.length-1:0];return Qe.cursor(i.side(n,a)+t.from,i.forward(!n,a)?1:-1)}moveToLineBoundary(t,n,r=!0){return qst(this,t,n,r)}moveVertically(t,n,r){return N4(this,t,Xst(this,t,n,r))}domAtPos(t,n=1){return this.docView.domAtPos(t,n)}posAtDOM(t,n=0){return this.docView.posFromDOM(t,n)}posAtCoords(t,n=!0){this.readMeasured();let r=_3(this,t,n);return r&&r.pos}posAndSideAtCoords(t,n=!0){return this.readMeasured(),_3(this,t,n)}coordsAtPos(t,n=1){this.readMeasured();let r=this.docView.coordsAt(t,n);if(!r||r.left==r.right)return r;let a=this.state.doc.lineAt(t),i=this.bidiSpans(a),o=i[js.find(i,t-a.from,-1,n)];return Hm(r,o.dir==vr.LTR==n>0)}coordsForChar(t){return this.readMeasured(),this.docView.coordsForChar(t)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(t){return!this.state.facet(vH)||t<this.viewport.from||t>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(t))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>
vendor: 19,649 bytes, lines 2433-2434
2433Dlt)return dH(t.length);let n=this.textDirectionAt(t.from),r;for(let i of this.bidiCache)if(i.from==t.from&&i.dir==n&&(i.fresh||uH(i.isolates,r=JC(this,t))))return i.order;r||(r=JC(this,t));let a=bst(t.text,n,r);return this.bidiCache.push(new db(t.from,t.to,n,r,!0,a)),a}get hasFocus(){var t;return(this.dom.ownerDocument.hasFocus()||tt.safari&&((t=this.inputState)===null||t===void 0?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{aH(this.contentDOM),this.docView.updateSelection()})}setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((t.nodeType==9?t:t.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let t of this.plugins)t.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(t,n={}){var r,a,i,o;return G1.of(new Pf(typeof t=="number"?Qe.cursor(t):t,(r=n.y)!==null&&r!==void 0?r:"nearest",(a=n.x)!==null&&a!==void 0?a:"nearest",(i=n.yMargin)!==null&&i!==void 0?i:5,(o=n.xMargin)!==null&&o!==void 0?o:5))}scrollSnapshot(){let{scrollTop:t,scrollLeft:n}=this.scrollDOM,r=this.viewState.scrollAnchorAt(t);return G1.of(new Pf(Qe.cursor(r.from),"start","start",r.top-t,n,!0))}setTabFocusMode(t){t==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof t=="boolean"?this.inputState.tabFocusMode=t?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+t)}static domEventHandlers(t){return ea.define(()=>({}),{eventHandlers:t})}static domEventObservers(t){return ea.define(()=>({}),{eventObservers:t})}static theme(t,n){let r=Bc.newName(),a=[rg.of(r),Bh.of(I3(`.${r}`,t))];return n&&n.dark&&a.push($3.of(!0)),a}static baseTheme(t){return Xp.lowest(Bh.of(I3("."+P3,t,zH)))}static findFromDOM(t){var n;let r=t.querySelector(".cm-content"),a=r&&Ar.get(r)||Ar.get(t);return((n=a?.root)===null||n===void 0?void 0:n.view)||null}}st.styleModule=Bh;st.inputHandler=bH;st.clipboardInputFilter=A5;st.clipboardOutputFilter=T5;st.scrollHandler=OH;st.focusChangeEffect=yH;st.perLineTextDirection=vH;st.exceptionSink=gH;st.updateListener=T3;st.editable=Ol;st.mouseSelectionStyle=mH;st.dragMovesSelection=hH;st.clickAddsSelectionRange=pH;st.decorations=Lv;st.blockWrappers=xH;st.outerDecorations=_5;st.atomicRanges=V0;st.bidiIsolatedRanges=kH;st.cursorScrollMargin=Je.define({combine:e=>{let t=5,n=5;for(let r of e)typeof r=="number"?t=n=r:{x:t,y:n}=r;return{x:t,y:n}}});st.scrollMargins=AH;st.darkTheme=$3;st.cspNonce=Je.define({combine:e=>e.length?e[0]:""});st.contentAttributes=E5;st.editorAttributes=wH;st.lineWrapping=st.contentAttributes.of({class:"cm-lineWrapping"});st.announce=Kt.define();const Dlt=4096,O7={};class db{constructor(t,n,r,a,i,o){this.from=t,this.to=n,this.dir=r,this.isolates=a,this.fresh=i,this.order=o}static update(t,n){if(n.empty&&!t.some(i=>i.fresh))return t;let r=[],a=t.length?t[t.length-1].dir:vr.LTR;for(let i=Math.max(0,t.length-10);i<t.length;i++){let o=t[i];o.dir==a&&!n.touchesRange(o.from,o.to)&&r.push(new db(n.mapPos(o.from,1),n.mapPos(o.to,-1),o.dir,o.isolates,!1,o.order))}return r}}function S7(e,t,n){for(let r=e.state.facet(t),a=r.length-1;a>=0;a--){let i=r[a],o=typeof i=="function"?i(e):i;o&&w5(o,n)}return n}const Blt=tt.mac?"mac":tt.windows?"win":tt.linux?"linux":"key";function Ult(e,t){const n=e.split(/-(?!$)/);let r=n[n.length-1];r=="Space"&&(r=" ");let a,i,o,s;for(let l=0;l<n.length-1;++l){const c=n[l];if(/^(cmd|meta|m)$/i.test(c))s=!0;else if(/^a(lt)?$/i.test(c))a=!0;else if(/^(c|ctrl|control)$/i.test(c))i=!0;else if(/^s(hift)?$/i.test(c))o=!0;else if(/^mod$/i.test(c))t=="mac"?s=!0:i=!0;else throw new Error("Unrecognized modifier name: "+c)}return a&&(r="Alt-"+r),i&&(r="Ctrl-"+r),s&&(r="Meta-"+r),o&&(r="Shift-"+r),r}function ag(e,t,n){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n!==!1&&t.shiftKey&&(e="Shift-"+e),e}const jlt=Xp.default(st.domEventHandlers({keydown(e,t){return Vlt(Qlt(t.state),e,t,"editor")}})),Rs=Je.define({enables:jlt}),w7=new WeakMap;function Qlt(e){let t=e.facet(Rs),n=w7.get(t);return n||w7.set(t,n=zlt(t.reduce((r,a)=>r.concat(a),[]))),n}let Oc=null;const Flt=4e3;function zlt(e,t=Blt){let n=Object.create(null),r=Object.create(null),a=(o,s)=>{let l=r[o];if(l==null)r[o]=s;else if(l!=s)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},i=(o,s,l,c,u)=>{var d,f;let p=n[o]||(n[o]=Object.create(null)),h=s.split(/ (?!$)/).map(O=>Ult(O,t));for(let O=1;O<h.length;O++){let A=h.slice(0,O).join(" ");a(A,!0),p[A]||(p[A]={preventDefault:!0,stopPropagation:!1,run:[x=>{let T=Oc={view:x,prefix:A,scope:o};return setTimeout(()=>{Oc==T&&(Oc=null)},Flt),!0}]})}let b=h.join(" ");a(b,!1);let y=p[b]||(p[b]={preventDefault:!1,stopPropagation:!1,run:((f=(d=p._any)===null||d===void 0?void 0:d.run)===null||f===void 0?void 0:f.slice())||[]});l&&y.run.push(l),c&&(y.preventDefault=!0),u&&(y.stopPropagation=!0)};for(let o of e){let s=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let c of s){let u=n[c]||(n[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:d}=o;for(let f in u)u[f].run.push(p=>d(p,N3))}let l=o[t]||o.key;if(l)for(let c of s)i(c,l,o.run,o.preventDefault,o.stopPropagation),o.shift&&i(c,"Shift-"+l,o.shift,o.preventDefault,o.stopPropagation)}return n}let N3=null;function Vlt(e,t,n,r){N3=t;let a=tst(t),i=ji(a,0),o=vl(i)==a.length&&a!=" ",s="",l=!1,c=!1,u=!1;Oc&&Oc.view==n&&Oc.scope==r&&(s=Oc.prefix+" ",NH.indexOf(t.keyCode)<0&&(c=!0,Oc=null));let d=new Set,f=y=>{if(y){for(let O of y.run)if(!d.has(O)&&(d.add(O),O(n)))return y.stopPropagation&&(u=!0),!0;y.preventDefault&&(y.stopPropagation&&(u=!0),c=!0)}return!1},p=e[r],h,b;return p&&(f(p[s+ag(a,t,!o)])?l=!0:o&&(t.altKey||t.metaKey||t.ctrlKey)&&!(tt.windows&&t.ctrlKey&&t.altKey)&&!(tt.mac&&t.altKey&&!(t.ctrlKey||t.metaKey))&&(h=Uc[t.keyCode])&&h!=a?(f(p[s+ag(h,t,!0)])||t.shiftKey&&(b=Fm[t.keyCode])!=a&&b!=h&&f(p[s+ag(b,t,!1)]))&&(l=!0):o&&t.shiftKey&&f(p[s+ag(a,t,!0)])&&(l=!0),!l&&f(p._any)&&(l=!0)),c&&(l=!0),l&&u&&t.stopPropagation(),N3=null,l}function x7(e,t,n,r,a){t.lastIndex=0;for(let i=e.iterRange(n,r),o=n,s;!i.next().done;o+=i.value.length)if(!i.lineBreak)for(;s=t.exec(i.value);)a(o+s.index,s)}function Hlt(e,t){let n=e.visibleRanges;if(n.length==1&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;let r=[];for(let{from:a,to:i}of n)a=Math.max(e.state.doc.lineAt(a).from,a-t),i=Math.min(e.state.doc.lineAt(i).to,i+t),r.length&&r[r.length-1].to>=a?r[r.length-1].to=i:r.push({from:a,to:i});return r}class VH{constructor(t){const{regexp:n,decoration:r,decorate:a,boundary:i,maxLength:o=1e3}=t;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=n,a)this.addMatch=(s,l,c,u)=>a(u,c,c+s[0].length,s,l);else if(typeof r=="function")this.addMatch=(s,l,c,u)=>{let d=r(s,l,c);d&&u(c,c+s[0].length,d)};else if(r)this.addMatch=(s,l,c,u)=>u(c,c+s[0].length,r);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=i,this.maxLength=o}createDeco(t){let n=new jl,r=n.add.bind(n);for(let{from:a,to:i}of Hlt(t,this.maxLength))x7(t.state.doc,this.regexp,a,i,(o,s)=>this.addMatch(s,t,o,r));return n.finish()}updateDeco(t,n){let r=1e9,a=-1;return t.docChanged&&t.changes.iterChanges((i,o,s,l)=>{l>=t.view.viewport.from&&s<=t.view.viewport.to&&(r=Math.min(s,r),a=Math.max(l,a))}),t.viewportMoved||a-r>1e3?this.createDeco(t.view):a>-1?this.updateRange(t.view,n.map(t.changes),r,a):n}updateRange(t,n,r,a){for(let i of t.visibleRanges){let o=Math.max(i.from,r),s=Math.min(i.to,a);if(s>=o){let l=t.state.doc.lineAt(o),c=l.to<s?t.state.doc.lineAt(s):l,u=Math.max(i.from,l.from),d=Math.min(i.to,c.to);if(this.boundary){for(;o>l.from;o--)if(this.boundary.test(l.text[o-1-l.from])){u=o;break}for(;s<c.to;s++)if(this.boundary.test(c.text[s-c.from])){d=s;break}}let f=[],p,h=(b,y,O)=>f.push(O.range(b,y));if(l==c)for(this.regexp.lastIndex=u-l.from;(p=this.regexp.exec(l.text))&&p.index<d-l.from;)this.addMatch(p,t,p.index+l.from,h);else x7(t.state.doc,this.regexp,u,d,(b,y)=>this.addMatch(y,t,b,h));n=n.update({filterFrom:u,filterTo:d,filter:(b,y)=>b<u||y>d,add:f})}}return n}}const R3=/x/.unicode!=null?"gu":"g",qlt=new RegExp(`[\0-\b 2434-��-ÂÂØâââ\u2028\u2029ââ®â¦â§â©\uFEFF-]`,R3),Zlt={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let L4=null;function Xlt(){var e;if(L4==null&&typeof document<"u"&&document.body){let t=document.body.style;L4=((e=t.tabSize)!==null&&e!==void 0?e:t.MozTabSize)!=null}return L4||!1}const Qg=Je.define({combine(e){let t=Ld(e,{render:null,specialChars:qlt,addSpecialChars:null});return(t.replaceTabs=!Xlt())&&(t.specialChars=new RegExp(" |"+t.specialChars.source,R3)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,R3)),t}});function Wlt(e={}){return[Qg.of(e),Ylt()]}let k7=null;function Ylt(){return k7||(k7=ea.fromClass(class{constructor(e){this.view=e,this.decorations=Dt.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(Qg)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new VH({regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:a}=n.state,i=ji(t[0],0);if(i==9){let o=a.lineAt(r),s=n.state.tabSize,l=S5(o.text,s,r-o.from);return Dt.replace({widget:new ect((s-l%s)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[i]||(this.decorationCache[i]=Dt.replace({widget:new Jlt(e,i)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(Qg);e.startState.facet(Qg)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}},{decorations:e=>e.decorations}))}const Glt="â¢";function Klt(e){return e>=32?Glt:e==10?"â¤":String.fromCharCode(9216+e)}class Jlt extends Mo{constructor(t,n){super(),this.options=t,this.code=n}eq(t){return t.code==this.code}toDOM(t){let n=Klt(this.code),r=t.state.phrase("Control character")+" "+(Zlt[this.code]||"0x"+this.code.toString(16)),a=this.options.render&&this.options.render(this.code,r,n);if(a)return a;let i=document.createElement("span");return i.textContent=n,i.title=r,i.setAttribute("aria-label",r),i.className="cm-specialChar",i}ignoreEvent(){return!1}}class ect extends Mo{constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent=" ",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}class tct extends Mo{constructor(t){super(),this.content=t}toDOM(t){let n=document.createElement("span");return n.className="cm-placeholder",n.style.pointerEvents="none",n.appendChild(typeof this.content=="string"?document.createTextNode(this.content):typeof this.content=="function"?this.content(t):this.content.cloneNode(!0)),n.setAttribute("aria-hidden","true"),n}coordsAt(t){let n=t.firstChild?om(t.firstChild):[];if(!n.length)return null;let r=window.getComputedStyle(t.parentNode),a=Hm(n[0],r.direction!="rtl"),i=parseInt(r.lineHeight);return a.bottom-a.top>i*1.5?{left:a.left,right:a.right,top:a.top,bottom:a.top+i}:a}ignoreEvent(){return!1}}function nct(e){let t=ea.fromClass(class{constructor(n){this.view=n,this.placeholder=e?Dt.set([Dt.widget({widget:new tct(e),side:1}).range(0)]):Dt.none}get decorations(){return this.view.state.doc.length?Dt.none:this.placeholder}},{decorations:n=>n.decorations});return typeof e=="string"?[t,st.contentAttributes.of({"aria-placeholder":e})]:t}const ig="-10000px";class HH{constructor(t,n,r,a){this.facet=n,this.createTooltipView=r,this.removeTooltipView=a,this.input=t.state.facet(n),this.tooltips=this.input.filter(o=>o);let i=null;this.tooltipViews=this.tooltips.map(o=>i=r(o,i))}update(t,n){var r;let a=t.state.facet(this.facet),i=a.filter(l=>l);if(a===this.input){for(let l of this.tooltipViews)l.update&&l.update(t);return!1}let o=[],s=n?[]:null;for(let l=0;l<i.length;l++){let c=i[l],u=-1;if(c){for(let d=0;d<this.tooltips.length;d++){let f=this.tooltips[d];f&&f.create==c.create&&(u=d)}if(u<0)o[l]=this.createTooltipView(c,l?o[l-1]:null),s&&(s[l]=!!c.above);else{let d=o[l]=this.tooltipViews[u];s&&(s[l]=n[u]),d.update&&d.update(t)}}}for(let l of this.tooltipViews)o.indexOf(l)<0&&(this.removeTooltipView(l),(r=l.destroy)===null||r===void 0||r.call(l));return n&&(s.forEach((l,c)=>n[c]=l),n.length=s.length),this.input=a,this.tooltips=i,this.tooltipViews=o,!0}}function rct(e){let t=e.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:t.clientHeight,right:t.clientWidth}}const D4=Je.define({combine:e=>{var t,n,r;return{position:tt.ios?"absolute":((t=e.find(a=>a.position))===null||t===void 0?void 0:t.position)||"fixed",parent:((n=e.find(a=>a.parent))===null||n===void 0?void 0:n.parent)||null,tooltipSpace:((r=e.find(a=>a.tooltipSpace))===null||r===void 0?void 0:r.tooltipSpace)||rct}}}),A7=new WeakMap,N5=ea.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(D4);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new HH(e,R5,(n,r)=>this.createTooltip(n,r),n=>{this.resizeObserver&&this.resizeObserver.unobserve(n.dom),n.dom.remove()}),this.above=this.manager.tooltips.map(n=>!!n.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(n=>{Date.now()>this.lastTransaction-50&&n.length>0&&n[n.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let n=t||e.geometryChanged,r=e.state.facet(D4);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let a of this.manager.tooltipViews)a.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let a of this.manager.tooltipViews)this.container.appendChild(a.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(e,t){let n=e.create(this.view),r=t?t.dom:null;if(n.dom.classList.add("cm-tooltip"),e.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let a=document.createElement("div");a.className="cm-tooltip-arrow",n.dom.appendChild(a)}return n.dom.style.position=this.position,n.dom.style.top=ig,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var e,t,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(e=r.destroy)===null||e===void 0||e.call(r);this.parent&&this.container.remove(),(t=this.resizeObserver)===null||t===void 0||t.disconnect(),(n=this.intersectionObserver)===null||n===void 0||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,n=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:i}=this.manager.tooltipViews[0];if(tt.safari){let o=i.getBoundingClientRect();n=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}else n=!!i.offsetParent&&i.offsetParent!=this.container.ownerDocument.body}if(n||this.position=="absolute")if(this.parent){let i=this.parent.getBoundingClientRect();i.width&&i.height&&(e=i.width/this.parent.offsetWidth,t=i.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);let r=this.view.scrollDOM.getBoundingClientRect(),a=C5(this.view);return{visible:{left:r.left+a.left,top:r.top+a.top,right:r.right-a.right,bottom:r.bottom-a.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((i,o)=>{let s=this.manager.tooltipViews[o];return s.getCoords?s.getCoords(i.pos):this.view.coordsAtPos(i.pos)}),size:this.manager.tooltipViews.map(({dom:i})=>i.getBoundingClientRect()),space:this.view.state.facet(D4).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n}}writeMeasure(e){var t;if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let s of this.manager.tooltipViews)s.dom.style.position="absolute"}let{visible:n,space:r,scaleX:a,scaleY:i}=e,o=[];for(let s=0;s<this.manager.tooltips.length;s++){let l=this.manager.tooltips[s],c=this.manager.tooltipViews[s],{dom:u}=c,d=e.pos[s],f=e.size[s];if(!d||l.clip!==!1&&(d.bottom<=Math.max(n.top,r.top)||d.top>=Math.min(n.bottom,r.bottom)||d.right<Math.max(n.left,r.left)-.1||d.left>Math.min(n.right,r.right)+.1)){u.style.top=ig;continue}let p=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,h=p?7:0,b=f.right-f.left,y=(t=A7.get(c))!==null&&t!==void 0?t:f.bottom-f.top,O=c.offset||ict,A=this.view.textDirection==vr.LTR,x=f.width>r.right-r.left?A?r.left:r.right-f.width:A?Math.max(r.left,Math.min(d.left-(p?14:0)+O.x,r.right-b)):Math.min(Math.max(r.left,d.left-b+(p?14:0)-O.x),r.right-b),T=this.above[s];!l.strictSide&&(T?d.top-y-h-O.y<r.top:d.bottom+y+h+O.y>r.bottom)&&T==r.bottom-d.bottom>d.top-r.top&&(T=this.above[s]=!T);let E=(T?d.top-r.top:r.bottom-d.bottom)-h;if(E<y&&c.resize!==!1){if(E<this.view.defaultLineHeight){u.style.top=ig;continue}A7.set(c,y),u.style.height=(y=E)/i+"px"}else u.style.height&&(u.style.height="");let C=T?d.top-y-h-O.y:d.bottom+h+O.y,$=x+b;if(c.overlap!==!0)for(let R of o)R.left<$&&R.right>x&&R.top<C+y&&R.bottom>C&&(C=T?R.top-y-2-h:R.bottom+h+2);if(this.position=="absolute"?(u.style.top=(C-e.parent.top)/i+"px",T7(u,(x-e.parent.left)/a)):(u.style.top=C/i+"px",T7(u,x/a)),p){let R=d.left+(A?O.x:-O.x)-(x+14-7);p.style.left=R/a+"px"}c.overlap!==!0&&o.push({left:x,top:C,right:$,bottom:C+y}),u.classList.toggle("cm-tooltip-above",T),u.classList.toggle("cm-tooltip-below",!T),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&
vendor: 5,935 bytes, line 2434
2434(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=ig}},{eventObservers:{scroll(){this.maybeMeasure()}}});function T7(e,t){let n=parseInt(e.style.left,10);(isNaN(n)||Math.abs(t-n)>1)&&(e.style.left=t+"px")}const act=st.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),ict={x:0,y:0},R5=Je.define({enables:[N5,act]}),fb=Je.define({combine:e=>e.reduce((t,n)=>t.concat(n),[])});class jv{static create(t){return new jv(t)}constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new HH(t,fb,(n,r)=>this.createHostedView(n,r),n=>n.dom.remove())}createHostedView(t,n){let r=t.create(this.view);return r.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(r.dom,n?n.dom.nextSibling:this.dom.firstChild),this.mounted&&r.mount&&r.mount(this.view),r}mount(t){for(let n of this.manager.tooltipViews)n.mount&&n.mount(t);this.mounted=!0}positioned(t){for(let n of this.manager.tooltipViews)n.positioned&&n.positioned(t)}update(t){this.manager.update(t)}destroy(){var t;for(let n of this.manager.tooltipViews)(t=n.destroy)===null||t===void 0||t.call(n)}passProp(t){let n;for(let r of this.manager.tooltipViews){let a=r[t];if(a!==void 0){if(n===void 0)n=a;else if(n!==a)return}}return n}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const oct=R5.compute([fb],e=>{let t=e.facet(fb);return t.length===0?null:{pos:Math.min(...t.map(n=>n.pos)),end:Math.max(...t.map(n=>{var r;return(r=n.end)!==null&&r!==void 0?r:n.pos})),create:jv.create,above:t[0].above,arrow:t.some(n=>n.arrow)}}),sct=Je.define();class lct{constructor(t,n,r,a,i,o){this.view=t,this.source=n,this.field=r,this.locked=a,this.setHover=i,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(t){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let t=Date.now()-this.lastMove.time;t<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-t):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:t,lastMove:n}=this,r=t.docView.tile.nearest(n.target);if(!r)return;let a,i=1;if(r.isWidget())a=r.posAtStart;else{if(a=t.posAtCoords(n),a==null)return;let o=t.coordsAtPos(a);if(!o||n.y<o.top||n.y>o.bottom||n.x<o.left-t.defaultCharacterWidth||n.x>o.right+t.defaultCharacterWidth)return;let s=t.bidiSpans(t.state.doc.lineAt(a)).find(c=>c.from<=a&&c.to>=a),l=s&&s.dir==vr.RTL?-1:1;i=n.x<o.left?-l:l}this.activateHover(t,a,i)}activateHover(t,n,r,a){let i=this.source(t,n,r),o=s=>{if(s&&!(Array.isArray(s)&&!s.length)){let l=Array.isArray(s)?s:[s];a&&this.locked.set(l,a),t.dispatch({effects:this.setHover.of(l)})}};if(i&&"then"in i){let s=this.pending={pos:n};i.then(l=>{this.pending==s&&(this.pending=null,o(l))},l=>Ja(t.state,l,"hover tooltip"))}else o(i)}get tooltip(){let t=this.view.plugin(N5),n=t?t.manager.tooltips.findIndex(r=>r.create==jv.create):-1;return n>-1?t.manager.tooltipViews[n]:null}mousemove(t){var n,r;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:a,tooltip:i}=this;if(a.length&&!this.locked.has(a)&&i&&!cct(i.dom,t)||this.pending){let{pos:o}=a[0]||this.pending,s=(r=(n=a[0])===null||n===void 0?void 0:n.end)!==null&&r!==void 0?r:o;(o==s?this.view.posAtCoords(this.lastMove)!=o:!uct(this.view,o,s,t.clientX,t.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(t){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:n}=this;if(n.length&&!this.locked.has(n)){let{tooltip:r}=this;r&&r.dom.contains(t.relatedTarget)?this.watchTooltipLeave(r.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(t){let n=r=>{t.removeEventListener("mouseleave",n);let{active:a}=this;a.length&&!this.locked.has(a)&&!this.view.dom.contains(r.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};t.addEventListener("mouseleave",n)}destroy(){clearTimeout(this.hoverTimeout),clearTimeout(this.restartTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const og=4;function cct(e,t){let{left:n,right:r,top:a,bottom:i}=e.getBoundingClientRect(),o;if(o=e.querySelector(".cm-tooltip-arrow")){let s=o.getBoundingClientRect();a=Math.min(s.top,a),i=Math.max(s.bottom,i)}return t.clientX>=n-og&&t.clientX<=r+og&&t.clientY>
2434=a-og&&t.clientY<=i+og}function uct(e,t,n,r,a,i){let o=e.scrollDOM.getBoundingClientRect(),s=e.documentTop+e.documentPadding.top+e.contentHeight;if(o.left>r||o.right<r||o.top>a||Math.min(o.bottom,s)<a)return!1;let l=e.posAtCoords({x:r,y:a},!1);return l>=t&&l<=n}function dct(e,t={}){let n=Kt.define(),r=new WeakMap,a=_i.define({create(){return[]},update(o,s){let l=r.get(o);if(o.length&&(t.hideOnChange&&(s.docChanged||s.selection)?o=[]:l&&l(s)?o=[]:t.hideOn&&(o=o.filter(c=>!t.hideOn(s,c)))),s.docChanged&&o.length){let c=[];for(let u of o){let d=s.changes.mapPos(u.pos,-1,xa.TrackDel);if(d!=null){let f=Object.assign(Object.create(null),u);f.pos=d,f.end!=null&&(f.end=s.changes.mapPos(f.end)),c.push(f)}}o=c}for(let c of s.effects)c.is(n)&&(o=c.value,l=void 0),(c.is(fct)&&!c.value||c.value==a)&&(o=[]);return o.length&&l&&r.set(o,l),o},provide:o=>fb.from(o)});const i=ea.define(o=>new lct(o,e,a,r,n,t.hoverTime||300));return{active:a,extension:[a,i,sct.of(i),oct]}}function qH(e,t){let n=e.plugin(N5);if(!n)return null;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}const fct=Kt.define(),E7=Je.define({combine(e){let t,n;for(let r of e)t=t||r.topContainer,n=n||r.bottomContainer;return{topContainer:t,bottomContainer:n}}}),pct=ea.fromClass(class{constructor(e){this.input=e.state.facet(M3),this.specs=this.input.filter(n=>n),this.panels=this.specs.map(n=>n(e));let t=e.state.facet(E7);this.top=new sg(e,!0,t.topContainer),this.bottom=new sg(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(n=>n.top)),this.bottom.sync(this.panels.filter(n=>!n.top));for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(e){let t=e.state.facet(E7);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new sg(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new sg(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(M3);if(n!=this.input){let r=n.filter(l=>l),a=[],i=[],o=[],s=[];for(let l of r){let c=this.specs.indexOf(l),u;c<0?(u=l(e.view),s.push(u)):(u=this.panels[c],u.update&&u.update(e)),a.push(u),(u.top?i:o).push(u)}this.specs=r,this.panels=a,this.top.sync(i),this.bottom.sync(o);for(let l of s)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let r of this.panels)r.update&&r.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>st.scrollMargins.of(t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class sg{constructor(t,n,r){this.view=t,this.top=n,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let n of this.panels)n.destroy&&t.indexOf(n)<0&&n.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let n=this.container||this.view.dom;n.insertBefore(this.dom,this.top?n.firstChild:null)}let t=this.dom.firstChild;for(let n of this.panels)if(n.dom.parentNode==this.dom){for(;t!=n.dom;)t=_7(t);t=t.nextSibling}else this.dom.insertBefore(n.dom,t);for(;t;)t=_7(t)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let t of(this.classes=this.view.themeClasses).split(" "))t&&this.container.classList.add(t)}}}function _7(e){let t=e.nextSibling;return e.remove(),t}const M3=Je.define({enables:pct});class Qc extends Dc{compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}eq(t){return!1}destroy(t){}}Qc.prototype.elementClass="";Qc.prototype.toDOM=void 0;
vendor: 4,884 bytes, line 2434
2434Qc.prototype.mapMode=xa.TrackBefore;Qc.prototype.startSide=Qc.prototype.endSide=-1;Qc.prototype.point=!0;const B4=Je.define(),hct=Je.define(),mct={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>an.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{},side:"before"},cm=Je.define();function gct(e){return[ZH(),cm.of({...mct,...e})]}const C7=Je.define({combine:e=>e.some(t=>t)});function ZH(e){return[bct]}const bct=ea.fromClass(class{constructor(e){this.view=e,this.domAfter=null,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters cm-gutters-before",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(cm).map(t=>new P7(e,t)),this.fixed=!e.state.facet(C7);for(let t of this.gutters)t.config.side=="after"?this.getDOMAfter().appendChild(t.dom):this.dom.appendChild(t.dom);this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement("div"),this.domAfter.className="cm-gutters cm-gutters-after",this.domAfter.setAttribute("aria-hidden","true"),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.domAfter.style.position=this.fixed?"sticky":"",this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}update(e){if(this.updateGutters(e)){let t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}if(e.geometryChanged){let t=this.view.contentHeight/this.view.scaleY+"px";this.dom.style.minHeight=t,this.domAfter&&(this.domAfter.style.minHeight=t)}this.view.state.facet(C7)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"",this.domAfter&&(this.domAfter.style.position=this.fixed?"sticky":"")),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let n=an.iter(this.view.state.facet(B4),this.view.viewport.from),r=[],a=this.gutters.map(i=>new yct(i,this.view.viewport,-this.view.documentPadding.top));for(let i of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(i.type)){let o=!0;for(let s of i.type)if(s.type==bi.Text&&o){L3(n,r,s.from);for(let l of a)l.line(this.view,s,r);o=!1}else if(s.widget)for(let l of a)l.widget(this.view,s)}else if(i.type==bi.Text){L3(n,r,i.from);for(let o of a)o.line(this.view,i,r)}else if(i.widget)for(let o of a)o.widget(this.view,i);for(let i of a)i.finish();e&&(this.view.scrollDOM.insertBefore(this.dom,t),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(e){let t=e.startState.facet(cm),n=e.state.facet(cm),r=e.docChanged||e.heightChanged||e.viewportChanged||!an.eq(e.startState.facet(B4),e.state.facet(B4),e.view.viewport.from,e.view.viewport.to);if(t==n)for(let a of this.gutters)a.update(e)&&(r=!0);else{r=!0;let a=[];for(let i of n){let o=t.indexOf(i);o<0?a.push(new P7(this.view,i)):(this.gutters[o].update(e),a.push(this.gutters[o]))}for(let i of this.gutters)i.dom.remove(),a.indexOf(i)<0&&i.destroy();for(let i of a)i.config.side=="after"?this.getDOMAfter().appendChild(i.dom):this.dom.appendChild(i.dom);this.gutters=a}return r}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:e=>st.scrollMargins.of(t=>{let n=t.plugin(e);if(!n||n.gutters.length==0||!n.fixed)return null;let r=n.dom.offsetWidth*t.scaleX,a=n.domAfter?n.domAfter.offsetWidth*t.scaleX:0;return t.textDirection==vr.LTR?{left:r,right:a}:{right:r,left:a}})});function $7(e){return Array.isArray(e)?e:[e]}function L3(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class yct{constructor(t,n,r){this.gutter=t,this.height=r,this.i=0,this.cursor=an.iter(t.markers,n.from)}addElement(t,n,r){let{gutter:a}=this,i=(n.top-this.height)/t.scaleY,o=n.height/t.scaleY;if(this.i==a.elements.length){let s=new XH(t,o,i,r);a.elements.push(s),a.dom.appendChild(s.dom)}else a.elements[this.i].update(t,o,i,r);this.height=n.bottom,this.i++}line(t,n,r){let a=[];L3(this.cursor,a,n.from),r.length&&(a=a.concat(r));let i=this.gutter.config.lineMarker(t,n,a);i&&a.unshift(i);let o=this.gutter;a.length==0&&!o.config.renderEmptyElements||this.addElement(t,n,a)}widget(t,n){let r=this.gutter.config.widgetMarker(t,n.widget,n),a=r?[r]:null;for(let i of t.state.facet(hct)){let o=i(t,n.widget,n);o&&(a||(a=[])).push(o)}a&&this.addElement(t,n,a)}finish(){let t=this.gutter;for(;t.elements.length>this.i;){let n=t.elements.pop();t.dom.removeChild(n.dom),n.destroy()}}}class P7{constructor(t,n){this.view=t,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="
2434cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in n.domEventHandlers)this.dom.addEventListener(r,a=>{let i=a.target,o;if(i!=this.dom&&this.dom.contains(i)){for(;i.parentNode!=this.dom;)i=i.parentNode;let l=i.getBoundingClientRect();o=(l.top+l.bottom)/2}else o=a.clientY;let s=t.lineBlockAtHeight(o-t.documentTop);n.domEventHandlers[r](t,s,a)&&a.preventDefault()});this.markers=$7(n.markers(t)),n.initialSpacer&&(this.spacer=new XH(t,0,0,[n.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let n=this.markers;if(this.markers=$7(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let a=this.config.updateSpacer(this.spacer.markers[0],t);a!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[a])}let r=t.view.viewport;return!an.eq(this.markers,n,r.from,r.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(t):!1)}destroy(){for(let t of this.elements)t.destroy()}}class XH{constructor(t,n,r,a){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,n,r,a)}update(t,n,r,a){this.height!=n&&(this.height=n,this.dom.style.height=n+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),vct(this.markers,a)||this.setMarkers(t,a)}setMarkers(t,n){let r="cm-gutterElement",a=this.dom.firstChild;for(let i=0,o=0;;){let s=o,l=i<n.length?n[i++]:null,c=!1;if(l){let u=l.elementClass;u&&(r+=" "+u);for(let d=o;d<this.markers.length;d++)if(this.markers[d].compare(l)){s=d,c=!0;break}}else s=this.markers.length;for(;o<s;){let u=this.markers[o++];if(u.toDOM){u.destroy(a);let d=a.nextSibling;a.remove(),a=d}}if(!l)break;l.toDOM&&(c?a=a.nextSibling:this.dom.insertBefore(l.toDOM(t),a)),c&&o++}this.dom.className=r,this.markers=n}destroy(){this.setMarkers(null,[])}}function vct(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0}const Oct=Je.define(),Sct=Je.define(),bf=Je.define({combine(e){return Ld(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(t,n){let r=Object.assign({},t);for(let a in n){let i=r[a],o=n[a];r[a]=i?(s,l,c)=>i(s,l,c)||o(s,l,c):o}return r}})}});class U4 extends Qc{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function j4(e,t){return e.state.facet(bf).formatNumber(t,e.state)}const wct=cm.compute([bf],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(t){return t.state.facet(Oct)},lineMarker(t,n,r){return r.some(a=>a.toDOM)?null:new U4(j4(t,t.state.doc.lineAt(n.from).number))},widgetMarker:(t,n,r)=>{for(let a of t.state.facet(Sct)){let i=a(t,n,r);if(i)return i}return null},lineMarkerChange:t=>t.startState.facet(bf)!=t.state.facet(bf),initialSpacer(t){return new U4(j4(t,I7(t.state.doc.lines)))},updateSpacer(t,n){let r=j4(n.view,I7(n.view.state.doc.lines));return r==t.number?t:new U4(r)},domEventHandlers:e.facet(bf).domEventHandlers,side:"before"}));function xct(e={}){return[bf.of(e),ZH(),wct]}function I7(e){let t=9;for(;t<e;)t=t*10+9;return t}const WH=1024;let kct=0;class yo{constructor(t,n){this.from=t,this.to=n}}class rn{constructor(t={}){this.id=kct++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")}),this.combine=t.combine||null}add(t){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof t!="function"&&(t=ni.match(t)),n=>{let r=t(n);return r===void 0?null:[this,r]}}}rn.closedBy=new rn({deserialize:e=>e.split(" ")});rn.openedBy=new rn({deserialize:e=>e.split(" ")});rn.group=new rn({deserialize:e=>e.split(" ")});rn.isolate=new rn({deserialize:e=>{if(e&&e!="rtl"&&e!="ltr"&&e!="auto")throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}});rn.contextHash=new rn({perNode:!0});rn.lookAhead=new rn({perNode:!0});rn.mounted=new rn({perNode:!0});class If{constructor(t,n,r,a=!1){this.tree=t,this.overlay=n,this.parser=r,this.bracketed=a}static get(t){return t&&t.props&&t.props[rn.mounted.id]}}const Act=Object.create(null);class ni{constructor(t,n,r,a=0){this.name=t,this.props=n,this.id=r,this.flags=a}static define(t){let n=t.props&&t.props.length?Object.create(null):Act,r=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),a=new ni(t.name||"",n,t.id,r);if(t.props){for(let i of t.props)if(Array.isArray(i)||(i=i(a)),i){if(i[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");
2434n[i[0].id]=i[1]}}return a}prop(t){return this.props[t.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(t){if(typeof t=="string"){if(this.name==t)return!0;let n=this.prop(rn.group);return n?n.indexOf(t)>-1:!1}return this.id==t}static match(t){let n=Object.create(null);for(let r in t)for(let a of r.split(" "))n[a]=t[r];return r=>{for(let a=r.prop(rn.group),i=-1;i<(a?a.length:0);i++){let o=n[i<0?r.name:a[i]];if(o)return o}}}}ni.none=new ni("",Object.create(null),0,8);class M5{constructor(t){this.types=t;for(let n=0;n<t.length;n++)if(t[n].id!=n)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...t){let n=[];for(let r of this.types){let a=null;for(let i of t){let o=i(r);if(o){a||(a=Object.assign({},r.props));let s=o[1],l=o[0];l.combine&&l.id in a&&(s=l.combine(a[l.id],s)),a[l.id]=s}}n.push(a?new ni(r.name,a,r.id,r.flags):r)}return new M5(n)}}const lg=new WeakMap,N7=new WeakMap;var $n;(function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays",e[e.EnterBracketed=16]="EnterBracketed"})($n||($n={}));class ur{constructor(t,n,r,a,i){if(this.type=t,this.children=n,this.positions=r,this.length=a,this.props=null,i&&i.length){this.props=Object.create(null);for(let[o,s]of i)this.props[typeof o=="number"?o:o.id]=s}}toString(){let t=If.get(this);if(t&&!t.overlay)return t.tree.toString();let n="";for(let r of this.children){let a=r.toString();a&&(n&&(n+=","),n+=a)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(n.length?"("+n+")":""):n}cursor(t=0){return new pb(this.topNode,t)}cursorAt(t,n=0,r=0){let a=lg.get(this)||this.topNode,i=new pb(a);return i.moveTo(t,n),lg.set(this,i._tree),i}get topNode(){return new Ua(this,0,0,null)}resolve(t,n=0){let r=Zm(lg.get(this)||this.topNode,t,n,!1);return lg.set(this,r),r}resolveInner(t,n=0){let r=Zm(N7.get(this)||this.topNode,t,n,!0);return N7.set(this,r),r}resolveStack(t,n=0){return _ct(this,t,n)}iterate(t){let{enter:n,leave:r,from:a=0,to:i=this.length}=t,o=t.mode||0,s=(o&$n.IncludeAnonymous)>0;for(let l=this.cursor(o|$n.IncludeAnonymous);;){let c=!1;if(l.from<=i&&l.to>
vendor: 4,865 bytes, line 2434
2434=a&&(!s&&l.type.isAnonymous||n(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&r&&(s||!l.type.isAnonymous)&&r(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let n in this.props)t.push([+n,this.props[n]]);return t}balance(t={}){return this.children.length<=8?this:B5(ni.none,this.children,this.positions,0,this.children.length,0,this.length,(n,r,a)=>new ur(this.type,n,r,a,this.propValues),t.makeTree||((n,r,a)=>new ur(ni.none,n,r,a)))}static build(t){return Cct(t)}}ur.empty=new ur(ni.none,[],[],0);class L5{constructor(t,n){this.buffer=t,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new L5(this.buffer,this.index)}}class Fc{constructor(t,n,r){this.buffer=t,this.length=n,this.set=r}get type(){return ni.none}toString(){let t=[];for(let n=0;n<this.buffer.length;)t.push(this.childString(n)),n=this.buffer[n+3];return t.join(",")}childString(t){let n=this.buffer[t],r=this.buffer[t+3],a=this.set.types[n],i=a.name;if(/\W/.test(i)&&!a.isError&&(i=JSON.stringify(i)),t+=4,r==t)return i;let o=[];for(;t<r;)o.push(this.childString(t)),t=this.buffer[t+3];return i+"("+o.join(",")+")"}findChild(t,n,r,a,i){let{buffer:o}=this,s=-1;for(let l=t;l!=n&&!(YH(i,a,o[l+1],o[l+2])&&(s=l,r>0));l=o[l+3]);return s}slice(t,n,r){let a=this.buffer,i=new Uint16Array(n-t),o=0;for(let s=t,l=0;s<n;){i[l++]=a[s++],i[l++]=a[s++]-r;let c=i[l++]=a[s++]-r;i[l++]=a[s++]-t,o=Math.max(o,c)}return new Fc(i,o,this.set)}}function YH(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function Zm(e,t,n,r){for(var a;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let o=!r&&e instanceof Ua&&e.index<0?null:e.parent;if(!o)return e;e=o}let i=r?0:$n.IgnoreOverlays;if(r)for(let o=e,s=o.parent;s;o=s,s=o.parent)o instanceof Ua&&o.index<0&&((a=s.enter(t,n,i))===null||a===void 0?void 0:a.from)!=o.from&&(e=s);for(;;){let o=e.enter(t,n,i);if(!o)return e;e=o}}class GH{cursor(t=0){return new pb(this,t)}getChild(t,n=null,r=null){let a=R7(this,t,n,r);return a.length?a[0]:null}getChildren(t,n=null,r=null){return R7(this,t,n,r)}resolve(t,n=0){return Zm(this,t,n,!1)}resolveInner(t,n=0){return Zm(this,t,n,!0)}matchContext(t){return D3(this.parent,t)}enterUnfinishedNodesBefore(t){let n=this.childBefore(t),r=this;for(;n;){let a=n.lastChild;if(!a||a.to!=n.to)break;a.type.isError&&a.from==a.to?(r=n,n=a.prevSibling):n=a}return r}get node(){return this}get next(){return this.parent}}class Ua extends GH{constructor(t,n,r,a){super(),this._tree=t,this.from=n,this.index=r,this._parent=a}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(t,n,r,a,i=0){for(let o=this;;){for(let{children:s,positions:l}=o._tree,c=n>0?s.length:-1;t!=c;t+=n){let u=s[t],d=l[t]+o.from,f;if(!(!(i&$n.EnterBracketed&&u instanceof ur&&(f=If.get(u))&&!f.overlay&&f.bracketed&&r>=d&&r<=d+u.length)&&!YH(a,r,d,d+u.length))){if(u instanceof Fc){if(i&$n.ExcludeBuffers)continue;let p=u.findChild(0,u.buffer.length,n,r-d,a);if(p>-1)return new Qs(new Tct(o,u,t,d),null,p)}else if(i&$n.IncludeAnonymous||!u.type.isAnonymous||D5(u)){let p;if(!(i&$n.IgnoreMounts)&&(p=If.get(u))&&!p.overlay)return new Ua(p.tree,d,t,o);let h=new Ua(u,d,t,o);return i&$n.IncludeAnonymous||!h.type.isAnonymous?h:h.nextChild(n<0?u.children.length-1:0,n,r,a,i)}}}if(i&$n.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?t=o.index+n:t=n<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}prop(t){return this._tree.prop(t)}enter(t,n,r=0){let a;if(!(r&$n.IgnoreOverlays)&&(a=If.get(this._tree))&&a.overlay){let i=t-this.from,o=r&$n.EnterBracketed&&a.bracketed;for(let{from:s,to:l}of a.overlay)if((n>0||o?s<=i:s<i)&&(n<0||o?l>=i:l>i))return new Ua(a.tree,a.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,n,r)}nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}
vendor: 14,487 bytes, line 2434
2434function R7(e,t,n,r){let a=e.cursor(),i=[];if(!a.firstChild())return i;if(n!=null){for(let o=!1;!o;)if(o=a.type.is(n),!a.nextSibling())return i}for(;;){if(r!=null&&a.type.is(r))return i;if(a.type.is(t)&&i.push(a.node),!a.nextSibling())return r==null?i:[]}}function D3(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class Tct{constructor(t,n,r,a){this.parent=t,this.buffer=n,this.index=r,this.start=a}}class Qs extends GH{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(t,n,r){super(),this.context=t,this._parent=n,this.index=r,this.type=t.buffer.set.types[t.buffer.buffer[r]]}child(t,n,r){let{buffer:a}=this.context,i=a.findChild(this.index+4,a.buffer[this.index+3],t,n-this.context.start,r);return i<0?null:new Qs(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}prop(t){return this.type.prop(t)}enter(t,n,r=0){if(r&$n.ExcludeBuffers)return null;let{buffer:a}=this.context,i=a.findChild(this.index+4,a.buffer[this.index+3],n>0?1:-1,t-this.context.start,n);return i<0?null:new Qs(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,n=t.buffer[this.index+3];return n<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new Qs(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new Qs(this.context,this._parent,t.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let t=[],n=[],{buffer:r}=this.context,a=this.index+4,i=r.buffer[this.index+3];if(i>a){let o=r.buffer[this.index+1];t.push(r.slice(a,i,o)),n.push(0)}return new ur(this.type,t,n,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function KH(e){if(!e.length)return null;let t=0,n=e[0];for(let i=1;i<e.length;i++){let o=e[i];(o.from>n.from||o.to<n.to)&&(n=o,t=i)}let r=n instanceof Ua&&n.index<0?null:n.parent,a=e.slice();return r?a[t]=r:a.splice(t,1),new Ect(a,n)}class Ect{constructor(t,n){this.heads=t,this.node=n}get next(){return KH(this.heads)}}function _ct(e,t,n){let r=e.resolveInner(t,n),a=null;for(let i=r instanceof Ua?r:r.context.parent;i;i=i.parent)if(i.index<0){let o=i.parent;(a||(a=[r])).push(o.resolve(t,n)),i=o}else{let o=If.get(i.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let s=new Ua(o.tree,o.overlay[0].from+i.from,-1,i);(a||(a=[r])).push(Zm(s,t,n,!1))}}return a?KH(a):r}class pb{get name(){return this.type.name}constructor(t,n=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=n&~$n.EnterBracketed,t instanceof Ua)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let r=t._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return t?(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0):!1}yieldBuf(t,n){this.index=t;let{start:r,buffer:a}=this.buffer;return this.type=n||a.set.types[a.buffer[t]],this.from=r+a.buffer[t+1],this.to=r+a.buffer[t+2],!0}yield(t){return t?t instanceof Ua?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,n,r,this.mode));let{buffer:a}=this.buffer,i=a.findChild(this.index+4,a.buffer[this.index+3],t,n-this.buffer.start,r);return i<0?!1:(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,n,r=this.mode){return this.buffer?r&$n.ExcludeBuffers?!1:this.enterChild(1,t,n):this.yield(this._tree.enter(t,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&$n.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&$n.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode)):!1;let{buffer:n}=this.buffer,r=this.stack.length-1;if(t<0){let a=r<0?0:this.stack[r]+4;if(this.index!=a)return this.yieldBuf(n.findChild(a,this.index,-1,0,4))}else{let a=n.buffer[this.index+3];if(a<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(a)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let n,r,{buffer:a}=this;if(a){if(t>0){if(this.index<a.buffer.buffer.length)return!1}else for(let i=0;i<this.index;i++)if(a.buffer.buffer[i+3]<this.index)return!1;({index:n,parent:r}=a)}else({index:n,_parent:r}=this._tree);for(;r;{index:n,_parent:r}=r)if(n>-1)for(let i=n+t,o=t<0?-1:r._tree.children.length;i!=o;i+=t){let s=r._tree.children[i];if(this.mode&$n.IncludeAnonymous||s instanceof Fc||!s.type.isAnonymous||D5(s))return!1}return!0}move(t,n){if(n&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,n=0){for(;(this.from==this.to||(n<1?this.from>=t:this.from>t)||(n>-1?this.to<=t:this.to<t))&&this.parent(););for(;this.enterChild(1,t,n););return this}get node(){if(!this.buffer)return this._tree;let t=this.bufferNode,n=null,r=0;if(t&&t.context==this.buffer)e:for(let a=this.index,i=this.stack.length;i>=0;){for(let o=t;o;o=o._parent)if(o.index==a){if(a==this.index)return o;n=o,r=i+1;break e}a=this.stack[--i]}for(let a=r;a<this.stack.length;a++)n=new Qs(this.buffer,n,this.stack[a]);return this.bufferNode=new Qs(this.buffer,n,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(t,n){for(let r=0;;){let a=!1;if(this.type.isAnonymous||t(this)!==!1){if(this.firstChild()){r++;continue}this.type.isAnonymous||(a=!0)}for(;;){if(a&&n&&n(this),a=this.type.isAnonymous,!r)return;if(this.nextSibling())break;this.parent(),r--,a=!0}}}matchContext(t){if(!this.buffer)return D3(this.node.parent,t);let{buffer:n}=this.buffer,{types:r}=n.set;for(let a=t.length-1,i=this.stack.length-1;a>=0;i--){if(i<0)return D3(this._tree,t,a);let o=r[n.buffer[this.stack[i]]];if(!o.isAnonymous){if(t[a]&&t[a]!=o.name)return!1;a--}}return!0}}function D5(e){return e.children.some(t=>t instanceof Fc||!t.type.isAnonymous||D5(t))}function Cct(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:a=WH,reused:i=[],minRepeatType:o=r.types.length}=e,s=Array.isArray(n)?new L5(n,n.length):n,l=r.types,c=0,u=0;function d(E,C,$,R,j,U){let{id:Y,start:W,end:pe,size:ee}=s,ae=u,de=c;if(ee<0)if(s.next(),ee==-1){let oe=i[Y];$.push(oe),R.push(W-E);return}else if(ee==-3){c=Y;return}else if(ee==-4){u=Y;return}else throw new RangeError(`Unrecognized record size: ${ee}`);let ue=l[Y],Ee,Te,D=W-E;if(pe-W<=a&&(Te=y(s.pos-C,j))){let oe=new Uint16Array(Te.size-Te.skip),fe=s.pos-Te.size,z=oe.length;for(;s.pos>fe;)z=O(Te.start,oe,z);Ee=new Fc(oe,pe-Te.start,r),D=Te.start-E}else{let oe=s.pos-ee;s.next();let fe=[],z=[],mt=Y>=o?Y:-1,te=0,Oe=pe;for(;s.pos>oe;)mt>=0&&s.id==mt&&s.size>=0?(s.end<=Oe-a&&(h(fe,z,W,te,s.end,Oe,mt,ae,de),te=fe.length,Oe=s.end),s.next()):U>2500?f(W,oe,fe,z):d(W,oe,fe,z,mt,U+1);if(mt>=0&&te>0&&te<fe.length&&h(fe,z,W,te,W,Oe,mt,ae,de),fe.reverse(),z.reverse(),mt>-1&&te>0){let Et=p(ue,de);Ee=B5(ue,fe,z,0,fe.length,0,pe-W,Et,Et)}else Ee=b(ue,fe,z,pe-W,ae-pe,de)}$.push(Ee),R.push(D)}function f(E,C,$,R){let j=[],U=0,Y=-1;for(;s.pos>C;){let{id:W,start:pe,end:ee,size:ae}=s;if(ae>4)s.next();else{if(Y>-1&&pe<Y)break;Y<0&&(Y=ee-a),j.push(W,pe,ee),U++,s.next()}}if(U){let W=new Uint16Array(U*4),pe=j[j.length-2];for(let ee=j.length-3,ae=0;ee>=0;ee-=3)W[ae++]=j[ee],W[ae++]=j[ee+1]-pe,W[ae++]=j[ee+2]-pe,W[ae++]=ae;$.push(new Fc(W,j[2]-pe,r)),R.push(pe-E)}}function p(E,C){return($,R,j)=>{let U=0,Y=$.length-1,W,pe;if(Y>=0&&(W=$[Y])instanceof ur){if(!Y&&W.type==E&&W.length==j)return W;(pe=W.prop(rn.lookAhead))&&(U=R[Y]+W.length+pe)}return b(E,$,R,j,U,C)}}function h(E,C,$,R,j,U,Y,W,pe){let ee=[],ae=[];for(;E.length>R;)ee.push(E.pop()),ae.push(C.pop()+$-j);E.push(b(r.types[Y],ee,ae,U-j,W-U,pe)),C.push(j-$)}function b(E,C,$,R,j,U,Y){if(U){let W=[rn.contextHash,U];Y=Y?[W].concat(Y):[W]}if(j>25){let W=[rn.lookAhead,j];Y=Y?[W].concat(Y):[W]}return new ur(E,C,$,R,Y)}function y(E,C){let $=s.fork(),R=0,j=0,U=0,Y=$.end-a,W={size:0,start:0,skip:0};e:for(let pe=$.pos-E;$.pos>pe;){let ee=$.size;if($.id==C&&ee>=0){W.size=R,W.start=j,W.skip=U,U+=4,R+=4,$.next();continue}let ae=$.pos-ee;if(ee<0||ae<pe||$.start<Y)break;let de=$.id>=o?4:0,ue=$.start;for($.next();$.pos>ae;){if($.size<0)if($.size==-3||$.size==-4)de+=4;else break e;else $.id>=o&&(de+=4);$.next()}j=ue,R+=ee,U+=de}return(C<0||R==E)&&(W.size=R,W.start=j,W.skip=U),W.size>4?W:void 0}function O(E,C,$){let{id:R,start:j,end:U,size:Y}=s;if(s.next(),Y>=0&&R<o){let W=$;if(Y>4){let pe=s.pos-(Y-4);for(;s.pos>pe;)$=O(E,C,$)}C[--$]=W,C[--$]=U-E,C[--$]=j-E,C[--$]=R}else Y==-3?c=R:Y==-4&&(u=R);return $}let A=[],x=[];for(;s.pos>0;)d(e.start||0,e.bufferStart||0,A,x,-1,0);let T=(t=e.length)!==null&&t!==void 0?t:A.length?x[0]+A[0].length:0;return new ur(l[e.topID],A.reverse(),x.reverse(),T)}const M7=new WeakMap;function Fg(e,t){if(!e.isAnonymous||t instanceof Fc||t.type!=e)return 1;let n=M7.get(t);if(n==null){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof ur)){n=1;break}n+=Fg(e,r)}M7.set(t,n)}return n}function B5(e,t,n,r,a,i,o,s,l){let c=0;for(let h=r;h<a;h++)c+=Fg(e,t[h]);let u=Math.ceil(c*1.5/8),d=[],f=[];function p(h,b,y,O,A){for(let x=y;x<O;){let T=x,E=b[x],C=Fg(e,h[x]);for(x++;x<O;x++){let $=Fg(e,h[x]);if(C+$>=u)break;C+=$}if(x==T+1){if(C>u){let $=h[T];p($.children,$.positions,0,$.children.length,b[T]+A);continue}d.push(h[T])}else{let $=b[x-1]+h[x-1].length-E;d.push(B5(e,h,b,T,x,E,$,null,l))}f.push(E+A-i)}}return p(t,n,r,a,0),(s||l)(d,f,o)}class JH{constructor(){this.map=new WeakMap}setBuffer(t,n,r){let a=this.map.get(t);a||this.map.set(t,a=new Map),a.set(n,r)}getBuffer(t,n){let r=this.map.get(t);return r&&r.get(n)}set(t,n){t instanceof Qs?this.setBuffer(t.context.buffer,t.index,n):t instanceof Ua&&this.map.set(t.tree,n)}get(t){return t instanceof Qs?this.getBuffer(t.context.buffer,t.index):t instanceof Ua?this.map.get(t.tree):void 0}cursorSet(t,n){t.buffer?this.setBuffer(t.buffer.buffer,t.index,n):this.map.set(t.tree,n)}cursorGet(t){return t.buffer?this.getBuffer(t.buffer.buffer,t.index):this.map.get(t.tree)}}class $l{constructor(t,n,r,a,i=!1,o=!1){this.from=t,this.to=n,this.tree=r,this.offset=a,this.open=(i?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,n=[],r=!1){let a=[new $l(0,t.length,t,0,!1,r)];for(let i of n)i.to>t.length&&a.push(i);return a}static applyChanges(t,n,r=128){if(!n.length)return t;let a=[],i=1,o=t.length?t[0]:null;for(let s=0,l=0,c=0;;s++){let u=s<n.length?n[s]:null,d=u?u.fromA:1e9;if(d-l>=r)for(;o&&o.from<d;){let f=o;if(l>=f.from||d<=f.to||c){let p=Math.max(f.from,l)-c,h=Math.min(f.to,d)-c;f=p>=h?null:new $l(p,h,f.tree,f.offset+c,s>0,!!u)}if(f&&a.push(f),o.to>d)break;o=i<t.length?t[i++]:null}if(!u)break;l=u.toA,c=u.toA-u.toB}return a}}class eq{startParse(t,n,r){return typeof t=="string"&&(t=new $ct(t)),r=r?r.length?r.map(a=>new yo(a.from,a.to)):[new yo(0,0)]:[new yo(0,t.length)],this.createParse(t,n||[],r)}parse(t,n,r){let a=this.startParse(t,n,r);for(;;){let i=a.advance();if(i)return i}}}class $ct{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,n){return this.string.slice(t,n)}}function Pct(e){return(t,n,r,a)=>new Nct(t,e,n,r,a)}class L7{constructor(t,n,r,a,i,o){this.parser=t,this.parse=n,this.overlay=r,this.bracketed=a,this.target=i,this.from=o}}function D7(e){if(!e.length||e.some(t=>t.from>=t.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class Ict{constructor(t,n,r,a,i,o,s,l){this.parser=t,this.predicate=n,this.mounts=r,this.index=a,this.start=i,this.bracketed=o,this.target=s,this.prev=l,this.depth=0,this.ranges=[]}}const B3=new rn({perNode:!0});class Nct{constructor(t,n,r,a,i){this.nest=n,this.input=r,this.fragments=a,this.ranges=i,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=t}advance(){if(this.baseParse){let r=this.baseParse.advance();if(!r)return null;if(this.baseParse=null,this.baseTree=r,this.startInner(),this.stoppedAt!=null)for(let a of this.inner)a.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let r=this.baseTree;return this.stoppedAt!=null&&(r=new ur(r.type,r.children,r.positions,r.length,r.propValues.concat([[B3,this.stoppedAt]]))),r}let t=this.inner[this.innerDone],n=t.parse.advance();if(n){this.innerDone++;let r=Object.assign(Object.create(null),t.target.props);r[rn.mounted.id]=new If(n,t.overlay,t.parser,t.bracketed),t.target.props=r}return null}get parsedPos(){if(this.baseParse)return 0;let t=this.input.length;for(let n=this.innerDone;n<this.inner.length;n++)this.inner[n].from<t&&(t=Math.min(t,this.inner[n].parse.parsedPos));return t}stopAt(t){if(this.stoppedAt=t,this.baseParse)this.baseParse.stopAt(t);else for(let n=this.innerDone;n<this.inner.length;n++)this.inner[n].parse.stopAt(t)}startInner(){let t=new Lct(this.fragments),n=null,r=null,a=new pb(new Ua(this.baseTree,this.ranges[0].from,0,null),$n.IncludeAnonymous|$n.IgnoreMounts);e:for(let i,o;;){let s=!0,l;if(this.stoppedAt!=null&&a.from>=this.stoppedAt)s=!1;else if(t.hasNode(a)){if(n){let c=n.mounts.find(u=>u.frag.from<=a.from&&u.frag.to>=a.to&&u.mount.overlay);if(c)for(let u of c.mount.overlay){let d=u.from+c.pos,f=u.to+c.pos;d>=a.from&&f<=a.to&&!n.ranges.some(p=>p.from<f&&p.to>
vendor: 1,204 bytes, line 2434
2434d)&&n.ranges.push({from:d,to:f})}}s=!1}else if(r&&(o=Rct(r.ranges,a.from,a.to)))s=o!=2;else if(!a.type.isAnonymous&&(i=this.nest(a,this.input))&&(a.from<a.to||!i.overlay)){a.tree||(Mct(a),n&&n.depth++,r&&r.depth++);let c=t.findMounts(a.from,i.parser);if(typeof i.overlay=="function")n=new Ict(i.parser,i.overlay,c,this.inner.length,a.from,!!i.bracketed,a.tree,n);else{let u=j7(this.ranges,i.overlay||(a.from<a.to?[new yo(a.from,a.to)]:[]));u.length&&D7(u),(u.length||!i.overlay)&&this.inner.push(new L7(i.parser,u.length?i.parser.startParse(this.input,Q7(c,u),u):i.parser.startParse(""),i.overlay?i.overlay.map(d=>new yo(d.from-a.from,d.to-a.from)):null,!!i.bracketed,a.tree,u.length?u[0].from:a.from)),i.overlay?u.length&&(r={ranges:u,depth:0,prev:r}):s=!1}}else if(n&&(l=n.predicate(a))&&(l===!0&&(l=new yo(a.from,a.to)),l.from<l.to)){let c=n.ranges.length-1;c>=0&&n.ranges[c].to==l.from?n.ranges[c]={from:n.ranges[c].from,to:l.to}:n.ranges.push(l)}if(s&&a.firstChild())n&&n.depth++,r&&r.depth++;else for(;!a.nextSibling();){if(!a.parent())break e;if(n&&!--n.depth){let c=j7(this.ranges,n.ranges);c.length&&(D7(c),this.inner.splice(n.index,0,new L7(n.parser,n.parser.startParse(this.input,Q7(n.mounts,c
vendor: 29,544 bytes, line 2434
2434),c),n.ranges.map(u=>new yo(u.from-n.start,u.to-n.start)),n.bracketed,n.target,c[0].from))),n=n.prev}r&&!--r.depth&&(r=r.prev)}}}}function Rct(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function B7(e,t,n,r,a,i){if(t<n){let o=e.buffer[t+1];r.push(e.slice(t,n,o)),a.push(o-i)}}function Mct(e){let{node:t}=e,n=[],r=t.context.buffer;do n.push(e.index),e.parent();while(!e.tree);let a=e.tree,i=a.children.indexOf(r),o=a.children[i],s=o.buffer,l=[i];function c(u,d,f,p,h,b){let y=n[b],O=[],A=[];B7(o,u,y,O,A,p);let x=s[y+1],T=s[y+2];l.push(O.length);let E=b?c(y+4,s[y+3],o.set.types[s[y]],x,T-x,b-1):t.toTree();return O.push(E),A.push(x-p),B7(o,s[y+3],d,O,A,p),new ur(f,O,A,h)}a.children[i]=c(0,s.length,ni.none,0,o.length,n.length-1);for(let u of l){let d=e.tree.children[u],f=e.tree.positions[u];e.yield(new Ua(d,f+e.from,u,e._tree))}}class U7{constructor(t,n){this.offset=n,this.done=!1,this.cursor=t.cursor($n.IncludeAnonymous|$n.IgnoreMounts)}moveTo(t){let{cursor:n}=this,r=t-this.offset;for(;!this.done&&n.from<r;)if(!(n.to>=t&&n.enter(r,1,$n.IgnoreOverlays|$n.ExcludeBuffers)))if(n.to<=t)n.next(!1)||(this.done=!0);else break}hasNode(t){if(this.moveTo(t.from),!this.done&&this.cursor.from+this.offset==t.from&&this.cursor.tree)for(let n=this.cursor.tree;;){if(n==t.tree)return!0;if(n.children.length&&n.positions[0]==0&&n.children[0]instanceof ur)n=n.children[0];else break}return!1}}let Lct=class{constructor(t){var n;if(this.fragments=t,this.curTo=0,this.fragI=0,t.length){let r=this.curFrag=t[0];this.curTo=(n=r.tree.prop(B3))!==null&&n!==void 0?n:r.to,this.inner=new U7(r.tree,-r.offset)}else this.curFrag=this.inner=null}hasNode(t){for(;this.curFrag&&t.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=t.from&&this.curTo>=t.to&&this.inner.hasNode(t)}nextFrag(){var t;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let n=this.curFrag=this.fragments[this.fragI];this.curTo=(t=n.tree.prop(B3))!==null&&t!==void 0?t:n.to,this.inner=new U7(n.tree,-n.offset)}}findMounts(t,n){var r;let a=[];if(this.inner){this.inner.cursor.moveTo(t,1);for(let i=this.inner.cursor.node;i;i=i.parent){let o=(r=i.tree)===null||r===void 0?void 0:r.prop(rn.mounted);if(o&&o.parser==n)for(let s=this.fragI;s<this.fragments.length;s++){let l=this.fragments[s];if(l.from>=i.to)break;l.tree==this.curFrag.tree&&a.push({frag:l,pos:i.from-l.offset,mount:o})}}}return a}};function j7(e,t){let n=null,r=t;for(let a=1,i=0;a<e.length;a++){let o=e[a-1].to,s=e[a].from;for(;i<r.length;i++){let l=r[i];if(l.from>=s)break;l.to<=o||(n||(r=n=t.slice()),l.from<o?(n[i]=new yo(l.from,o),l.to>s&&n.splice(i+1,0,new yo(s,l.to))):l.to>s?n[i--]=new yo(s,l.to):n.splice(i--,1))}}return r}function Dct(e,t,n,r){let a=0,i=0,o=!1,s=!1,l=-1e9,c=[];for(;;){let u=a==e.length?1e9:o?e[a].to:e[a].from,d=i==t.length?1e9:s?t[i].to:t[i].from;if(o!=s){let f=Math.max(l,n),p=Math.min(u,d,r);f<p&&c.push(new yo(f,p))}if(l=Math.min(u,d),l==1e9)break;u==l&&(o?(o=!1,a++):o=!0),d==l&&(s?(s=!1,i++):s=!0)}return c}function Q7(e,t){let n=[];for(let{pos:r,mount:a,frag:i}of e){let o=r+(a.overlay?a.overlay[0].from:0),s=o+a.tree.length,l=Math.max(i.from,o),c=Math.min(i.to,s);if(a.overlay){let u=a.overlay.map(f=>new yo(f.from+r,f.to+r)),d=Dct(t,u,l,c);for(let f=0,p=l;;f++){let h=f==d.length,b=h?c:d[f].from;if(b>p&&n.push(new $l(p,b,a.tree,-o,i.from>=p||i.openStart,i.to<=b||i.openEnd)),h)break;p=d[f].to}}else n.push(new $l(l,c,a.tree,-o,i.from>=o||i.openStart,i.to<=s||i.openEnd))}return n}let Bct=0,ml=class U3{constructor(t,n,r,a){this.name=t,this.set=n,this.base=r,this.modified=a,this.id=Bct++}toString(){let{name:t}=this;for(let n of this.modified)n.name&&(t=`${n.name}(${t})`);return t}static define(t,n){let r=typeof t=="string"?t:"?";if(t instanceof U3&&(n=t),n?.base)throw new Error("Can not derive from a modified tag");let a=new U3(r,[],null,[]);if(a.set.push(a),n)for(let i of n.set)a.set.push(i);return a}static defineModifier(t){let n=new hb(t);return r=>r.modified.indexOf(n)>-1?r:hb.get(r.base||r,r.modified.concat(n).sort((a,i)=>a.id-i.id))}},Uct=0;class hb{constructor(t){this.name=t,this.instances=[],this.id=Uct++}static get(t,n){if(!n.length)return t;let r=n[0].instances.find(s=>s.base==t&&jct(n,s.modified));if(r)return r;let a=[],i=new ml(t.name,a,t,n);for(let s of n)s.instances.push(i);let o=Qct(n);for(let s of t.set)if(!s.modified.length)for(let l of o)a.push(hb.get(s,l));return i}}function jct(e,t){return e.length==t.length&&e.every((n,r)=>n==t[r])}function Qct(e){let t=[[]];for(let n=0;n<e.length;n++)for(let r=0,a=t.length;r<a;r++)t.push(t[r].concat(e[n]));return t.sort((n,r)=>r.length-n.length)}function Dd(e){let t=Object.create(null);for(let n in e){let r=e[n];Array.isArray(r)||(r=[r]);for(let a of n.split(" "))if(a){let i=[],o=2,s=a;for(let d=0;;){if(s=="..."&&d>0&&d+3==a.length){o=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!f)throw new RangeError("Invalid path: "+a);if(i.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),d+=f[0].length,d==a.length)break;let p=a[d++];if(d==a.length&&p=="!"){o=0;break}if(p!="/")throw new RangeError("Invalid path: "+a);s=a.slice(d)}let l=i.length-1,c=i[l];if(!c)throw new RangeError("Invalid path: "+a);let u=new Xm(r,o,l>0?i.slice(0,l):null);t[c]=u.sort(t[c])}}return tq.add(t)}const tq=new rn({combine(e,t){let n,r,a;for(;e||t;){if(!e||t&&e.depth>=t.depth?(a=t,t=t.next):(a=e,e=e.next),n&&n.mode==a.mode&&!a.context&&!n.context)continue;let i=new Xm(a.tags,a.mode,a.context);n?n.next=i:r=i,n=i}return r}});class Xm{constructor(t,n,r,a){this.tags=t,this.mode=n,this.context=r,this.next=a}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(t){return!t||t.depth<this.depth?(this.next=t,this):(t.next=this.sort(t.next),t)}get depth(){return this.context?this.context.length:0}}Xm.empty=new Xm([],2,null);function nq(e,t){let n=Object.create(null);for(let i of e)if(!Array.isArray(i.tag))n[i.tag.id]=i.class;else for(let o of i.tag)n[o.id]=i.class;let{scope:r,all:a=null}=t||{};return{style:i=>{let o=a;for(let s of i)for(let l of s.set){let c=n[l.id];if(c){o=o?o+" "+c:c;break}}return o},scope:r}}function Fct(e,t){let n=null;for(let r of e){let a=r.style(t);a&&(n=n?n+" "+a:a)}return n}function zct(e,t,n,r=0,a=e.length){let i=new Vct(r,Array.isArray(t)?t:[t],n);i.highlightRange(e.cursor(),r,a,"",i.highlighters),i.flush(a)}class Vct{constructor(t,n,r){this.at=t,this.highlighters=n,this.span=r,this.class=""}startSpan(t,n){n!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=n)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,n,r,a,i){let{type:o,from:s,to:l}=t;if(s>=r||l<=n)return;o.isTop&&(i=this.highlighters.filter(p=>!p.scope||p.scope(o)));let c=a,u=Hct(t)||Xm.empty,d=Fct(i,u.tags);if(d&&(c&&(c+=" "),c+=d,u.mode==1&&(a+=(a?" ":"")+d)),this.startSpan(Math.max(n,s),c),u.opaque)return;let f=t.tree&&t.tree.prop(rn.mounted);if(f&&f.overlay){let p=t.node.enter(f.overlay[0].from+s,1),h=this.highlighters.filter(y=>!y.scope||y.scope(f.tree.type)),b=t.firstChild();for(let y=0,O=s;;y++){let A=y<f.overlay.length?f.overlay[y]:null,x=A?A.from+s:l,T=Math.max(n,O),E=Math.min(r,x);if(T<E&&b)for(;t.from<E&&(this.highlightRange(t,T,E,a,i),this.startSpan(Math.min(E,t.to),c),!(t.to>=x||!t.nextSibling())););if(!A||x>r)break;O=A.to+s,O>n&&(this.highlightRange(p.cursor(),Math.max(n,A.from+s),Math.min(r,O),"",h),this.startSpan(Math.min(r,O),c))}b&&t.parent()}else if(t.firstChild()){f&&(a="");do if(!(t.to<=n)){if(t.from>=r)break;this.highlightRange(t,n,r,a,i),this.startSpan(Math.min(r,t.to),c)}while(t.nextSibling());t.parent()}}}function Hct(e){let t=e.type.prop(tq);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}const ze=ml.define,cg=ze(),bc=ze(),F7=ze(bc),z7=ze(bc),yc=ze(),ug=ze(yc),Q4=ze(yc),Ps=ze(),Ou=ze(Ps),Ts=ze(),Es=ze(),j3=ze(),Ah=ze(j3),dg=ze(),Z={comment:cg,lineComment:ze(cg),blockComment:ze(cg),docComment:ze(cg),name:bc,variableName:ze(bc),typeName:F7,tagName:ze(F7),propertyName:z7,attributeName:ze(z7),className:ze(bc),labelName:ze(bc),namespace:ze(bc),macroName:ze(bc),literal:yc,string:ug,docString:ze(ug),character:ze(ug),attributeValue:ze(ug),number:Q4,integer:ze(Q4),float:ze(Q4),bool:ze(yc),regexp:ze(yc),escape:ze(yc),color:ze(yc),url:ze(yc),keyword:Ts,self:ze(Ts),null:ze(Ts),atom:ze(Ts),unit:ze(Ts),modifier:ze(Ts),operatorKeyword:ze(Ts),controlKeyword:ze(Ts),definitionKeyword:ze(Ts),moduleKeyword:ze(Ts),operator:Es,derefOperator:ze(Es),arithmeticOperator:ze(Es),logicOperator:ze(Es),bitwiseOperator:ze(Es),compareOperator:ze(Es),updateOperator:ze(Es),definitionOperator:ze(Es),typeOperator:ze(Es),controlOperator:ze(Es),punctuation:j3,separator:ze(j3),bracket:Ah,angleBracket:ze(Ah),squareBracket:ze(Ah),paren:ze(Ah),brace:ze(Ah),content:Ps,heading:Ou,heading1:ze(Ou),heading2:ze(Ou),heading3:ze(Ou),heading4:ze(Ou),heading5:ze(Ou),heading6:ze(Ou),contentSeparator:ze(Ps),list:ze(Ps),quote:ze(Ps),emphasis:ze(Ps),strong:ze(Ps),link:ze(Ps),monospace:ze(Ps),strikethrough:ze(Ps),inserted:ze(),deleted:ze(),changed:ze(),invalid:ze(),meta:dg,documentMeta:ze(dg),annotation:ze(dg),processingInstruction:ze(dg),definition:ml.defineModifier("definition"),constant:ml.defineModifier("constant"),function:ml.defineModifier("function"),standard:ml.defineModifier("standard"),local:ml.defineModifier("local"),special:ml.defineModifier("special")};for(let e in Z){let t=Z[e];t instanceof ml&&(t.name=e)}nq([{tag:Z.link,class:"tok-link"},{tag:Z.heading,class:"tok-heading"},{tag:Z.emphasis,class:"tok-emphasis"},{tag:Z.strong,class:"tok-strong"},{tag:Z.keyword,class:"tok-keyword"},{tag:Z.atom,class:"tok-atom"},{tag:Z.bool,class:"tok-bool"},{tag:Z.url,class:"tok-url"},{tag:Z.labelName,class:"tok-labelName"},{tag:Z.inserted,class:"tok-inserted"},{tag:Z.deleted,class:"tok-deleted"},{tag:Z.literal,class:"tok-literal"},{tag:Z.string,class:"tok-string"},{tag:Z.number,class:"tok-number"},{tag:[Z.regexp,Z.escape,Z.special(Z.string)],class:"tok-string2"},{tag:Z.variableName,class:"tok-variableName"},{tag:Z.local(Z.variableName),class:"tok-variableName tok-local"},{tag:Z.definition(Z.variableName),class:"tok-variableName tok-definition"},{tag:Z.special(Z.variableName),class:"tok-variableName2"},{tag:Z.definition(Z.propertyName),class:"tok-propertyName tok-definition"},{tag:Z.typeName,class:"tok-typeName"},{tag:Z.namespace,class:"tok-namespace"},{tag:Z.className,class:"tok-className"},{tag:Z.macroName,class:"tok-macroName"},{tag:Z.propertyName,class:"tok-propertyName"},{tag:Z.operator,class:"tok-operator"},{tag:Z.comment,class:"tok-comment"},{tag:Z.meta,class:"tok-meta"},{tag:Z.invalid,class:"tok-invalid"},{tag:Z.punctuation,class:"tok-punctuation"}]);var F4;const yf=new rn;function rq(e){return Je.define({combine:e?t=>t.concat(e):void 0})}const U5=new rn;class Ko{constructor(t,n,r=[],a=""){this.data=t,this.name=a,Cn.prototype.hasOwnProperty("tree")||Object.defineProperty(Cn.prototype,"tree",{get(){return Ir(this)}}),this.parser=n,this.extension=[zc.of(this),Cn.languageData.of((i,o,s)=>{let l=V7(i,o,s),c=l.type.prop(yf);if(!c)return[];let u=i.facet(c),d=l.type.prop(U5);if(d){let f=l.resolve(o-l.from,s);for(let p of d)if(p.test(f,i)){let h=i.facet(p.facet);return p.type=="replace"?h:h.concat(u)}}return u})].concat(r)}isActiveAt(t,n,r=-1){return V7(t,n,r).type.prop(yf)==this.data}findRegions(t){let n=t.facet(zc);if(n?.data==this.data)return[{from:0,to:t.doc.length}];if(!n||!n.allowsNesting)return[];let r=[],a=(i,o)=>{if(i.prop(yf)==this.data){r.push({from:o,to:o+i.length});return}let s=i.prop(rn.mounted);if(s){if(s.tree.prop(yf)==this.data){if(s.overlay)for(let l of s.overlay)r.push({from:l.from+o,to:l.to+o});else r.push({from:o,to:o+i.length});return}else if(s.overlay){let l=r.length;if(a(s.tree,s.overlay[0].from+o),r.length>l)return}}for(let l=0;l<i.children.length;l++){let c=i.children[l];c instanceof ur&&a(c,i.positions[l]+o)}};return a(Ir(t),0),r}get allowsNesting(){return!0}}Ko.setState=Kt.define();function V7(e,t,n){let r=e.facet(zc),a=Ir(e).topNode;if(!r||r.allowsNesting)for(let i=a;i;i=i.enter(t,n,$n.ExcludeBuffers|$n.EnterBracketed))i.type.isTop&&(a=i);return a}class Fl extends Ko{constructor(t,n,r){super(t,n,[],r),this.parser=n}static define(t){let n=rq(t.languageData);return new Fl(n,t.parser.configure({props:[yf.add(r=>r.isTop?n:void 0)]}),t.name)}configure(t,n){return new Fl(this.data,this.parser.configure(t),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Ir(e){let t=e.field(Ko.state,!1);return t?t.tree:ur.empty}class qct{constructor(t){this.doc=t,this.cursorPos=0,this.string="",this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,this.cursorPos=t+this.string.length,this.cursorPos-this.string.length}chunk(t){return this.syncTo(t),this.string}get lineChunks(){return!0}read(t,n){let r=this.cursorPos-this.string.length;return t<r||n>=this.cursorPos?this.doc.sliceString(t,n):this.string.slice(t-r,n-r)}}let Th=null;class mb{constructor(t,n,r=[],a,i,o,s,l){this.parser=t,this.state=n,this.fragments=r,this.tree=a,this.treeLen=i,this.viewport=o,this.skipped=s,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(t,n,r){return new mb(t,n,[],ur.empty,0,r,[],null)}startParse(){return this.parser.startParse(new qct(this.state.doc),this.fragments)}work(t,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=ur.empty&&this.isDone(n??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof t=="number"){let a=Date.now()+t;t=()=>Date.now()>a}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n<this.state.doc.length&&this.parse.stopAt(n);;){let a=this.parse.advance();if(a)if(this.fragments=this.withoutTempSkipped($l.addTree(a,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(r=this.parse.stoppedAt)!==null&&r!==void 0?r:this.state.doc.length,this.tree=a,this.parse=null,this.treeLen<(n??this.state.doc.length))this.parse=this.startParse();else return!0;if(t())return!1}})}takeTree(){let t,n;this.parse&&(t=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=t,this.tree=n,this.fragments=this.withoutTempSkipped($l.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let n=Th;Th=this;try{return t()}finally{Th=n}}withoutTempSkipped(t){for(let n;n=this.tempSkipped.pop();)t=H7(t,n.from,n.to);return t}changes(t,n){let{fragments:r,tree:a,treeLen:i,viewport:o,skipped:s}=this;if(this.takeTree(),!t.empty){let l=[];if(t.iterChangedRanges((c,u,d,f)=>l.push({fromA:c,toA:u,fromB:d,toB:f})),r=$l.applyChanges(r,l),a=ur.empty,i=0,o={from:t.mapPos(o.from,-1),to:t.mapPos(o.to,1)},this.skipped.length){s=[];for(let c of this.skipped){let u=t.mapPos(c.from,1),d=t.mapPos(c.to,-1);u<d&&s.push({from:u,to:d})}}}return new mb(this.parser,n,r,a,i,o,s,this.scheduleOn)}updateViewport(t){if(this.viewport.from==t.from&&this.viewport.to==t.to)return!1;this.viewport=t;let n=this.skipped.length;for(let r=0;r<this.skipped.length;r++){let{from:a,to:i}=this.skipped[r];a<t.to&&i>t.from&&(this.fragments=H7(this.fragments,a,i),this.skipped.splice(r--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,n){this.skipped.push({from:t,to:n})}static getSkippingParser(t){return new class extends eq{createParse(n,r,a){let i=a[0].from,o=a[a.length-1].to;return{parsedPos:i,advance(){let l=Th;if(l){for(let c of a)l.tempSkipped.push(c);t&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,t]):t)}return this.parsedPos=o,new ur(ni.none,[],[],o-i)},stoppedAt:null,stopAt(){}}}}}isDone(t){t=Math.min(t,this.state.doc.length);let n=this.fragments;return this.treeLen>=t&&n.length&&n[0].from==0&&n[0].to>=t}static get(){return Th}}function H7(e,t,n){return $l.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class up{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(t.changes,t.state),r=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new up(n)}static init(t){let n=Math.min(3e3,t.doc.length),r=mb.create(t.facet(zc).parser,t,{from:0,to:n});return r.work(20,n)||r.takeTree(),new up(r)}}Ko.state=_i.define({create:up.init,update(e,t){for(let n of t.effects)if(n.is(Ko.setState))return n.value;return t.startState.facet(zc)!=t.state.facet(zc)?up.init(t.state):e.apply(t)}});let aq=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};typeof requestIdleCallback<"u"&&(aq=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});const z4=typeof navigator<"u"&&(!((F4=navigator.scheduling)===null||F4===void 0)&&F4.isInputPending)?()=>navigator.scheduling.isInputPending():null,Zct=ea.fromClass(class{constructor(t){this.view=t,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(t){let n=this.view.state.field(Ko.state).context;(n.updateViewport(t.view.viewport)||this.view.viewport.to>n.treeLen)&&this.scheduleWork(),(t.docChanged||t.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(n)}scheduleWork(){if(this.working)return;let{state:t}=this.view,n=t.field(Ko.state);(n.tree!=n.context.tree||!n.context.isDone(t.doc.length))&&(this.working=aq(this.work))}work(t){this.working=null;let n=Date.now();if(this.chunkEnd<n&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=n+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:r,viewport:{to:a}}=this.view,i=r.field(Ko.state);if(i.tree==i.context.tree&&i.context.isDone(a+1e5))return;let o=Date.now()+Math.min(this.chunkBudget,100,t&&!z4?Math.max(25,t.timeRemaining()-5):1e9),s=i.context.treeLen<a&&r.doc.length>a+1e3,l=i.context.work(()=>z4&&z4()||Date.now()>o,a+(s?0:1e5));this.chunkBudget-=Date.now()-n,(l||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:Ko.setState.of(new up(i.context))})),this.chunkBudget>0&&!(l&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(t){t.scheduleOn&&(this.workScheduled++,t.scheduleOn.then(()=>this.scheduleWork()).catch(n=>Ja(this.view.state,n)).then(()=>this.workScheduled--),t.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),zc=Je.define({combine(e){return e.length?e[0]:null},enables:e=>[Ko.state,Zct,st.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class Wp{constructor(t,n=[]){this.language=t,this.support=n,this.extension=[t,n]}}const Xct=Je.define(),Qv=Je.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(n=>n!=t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function iq(e){let t=e.facet(Qv);return t.charCodeAt(0)==9?e.tabSize*t.length:t.length}function oq(e,t){let n="",r=e.tabSize,a=e.facet(Qv)[0];if(a==" "){for(;t>=r;)n+=" ",t-=r;a=" "}for(let i=0;i<t;i++)n+=a;return n}function Wct(e,t){e instanceof Cn&&(e=new sq(e));for(let r of e.state.facet(Xct)){let a=r(e,t);if(a!==void 0)return a}let n=Ir(e.state);return n.length>=t?Yct(e,n,t):null}class sq{constructor(t,n={}){this.state=t,this.options=n,this.unit=iq(t)}lineAt(t,n=1){let r=this.state.doc.lineAt(t),{simulateBreak:a,simulateDoubleBreak:i}=this.options;return a!=null&&a>=r.from&&a<=r.to?i&&a==t?{text:"",from:t}:(n<0?a<t:a<=t)?{text:r.text.slice(a-r.from),from:a}:{text:r.text.slice(0,a-r.from),from:r.from}:r}textAfterPos(t,n=1){if(this.options.simulateDoubleBreak&&t==this.options.simulateBreak)return"";let{text:r,from:a}=this.lineAt(t,n);return r.slice(t-a,Math.min(r.length,t+100-a))}column(t,n=1){let{text:r,from:a}=this.lineAt(t,n),i=this.countColumn(r,t-a),o=this.options.overrideIndentation?this.options.overrideIndentation(a):-1;return o>-1&&(i+=o-this.countColumn(r,r.search(/\S|$/))),i}countColumn(t,n=t.length){return S5(t,this.state.tabSize,n)}lineIndent(t,n=1){let{text:r,from:a}=this.lineAt(t,n),i=this.options.overrideIndentation;if(i){let o=i(a);if(o>-1)return o}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Bd=new rn;function Yct(e,t,n){let r=t.resolveStack(n),a=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(a!=r.node){let i=[];for(let o=a;o&&!(o.from<r.node.from||o.to>r.node.to||o.from==r.node.from&&o.type==r.node.type);o=o.parent)i.push(o);for(let o=i.length-1;o>=0;o--)r={node:i[o],next:r}}return lq(r,e,n)}function lq(e,t,n){for(let r=e;r;r=r.next){let a=Kct(r.node);if(a)return a(j5.create(t,n,r))}return 0}function Gct(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}function Kct(e){let t=e.type.prop(Bd);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(rn.closedBy))){let a=e.lastChild,i=a&&r.indexOf(a.name)>-1;return o=>cq(o,!0,1,void 0,i&&!Gct(o)?a.from:void 0)}return e.parent==null?Jct:null}function Jct(){return 0}class j5 extends sq{constructor(t,n,r){super(t.state,t.options),this.base=t,this.pos=n,this.context=r}get node(){return this.context.node}static create(t,n,r){return new j5(t,n,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let n=this.state.doc.lineAt(t.from);for(;;){let r=t.resolve(n.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(eut(r,t))break;n=this.state.doc.lineAt(r.from)}return this.lineIndent(n.from)}continue(){return lq(this.context.next,this.base,this.pos)}}function eut(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function tut(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let a=e.options.simulateBreak,i=e.state.doc.lineAt(n.from),o=a==null||a<=i.from?i.to:Math.min(i.to,a);for(let s=n.to;;){let l=t.childAfter(s);if(!l||l==r)return null;if(!l.type.isSkipped){if(l.from>=o)return null;let c=/^ */.exec(i.text.slice(n.to-i.from))[0].length;return{from:n.from,to:n.to+c}}s=l.to}}function Q3({closing:e,align:t=!0,units:n=1}){return r=>cq(r,t,n,e)}function cq(e,t,n,r,a){let i=e.textAfter,o=i.match(/^\s*/)[0].length,s=r&&i.slice(o,o+r.length)==r||a==e.pos+o,l=t?tut(e):null;return l?s?e.column(l.from):e.column(l.to):e.baseIndent+(s?0:e.unit*n)}const nut=e=>e.baseIndent;function Nf({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}const rut=200;function aut(){return Cn.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,a=n.lineAt(r);if(r>a.from+rut)return e;let i=n.sliceString(a.from,r);if(!t.some(c=>c.test(i)))return e;let{state:o}=e,s=-1,l=[];for(let{head:c}of o.selection.ranges){let u=o.doc.lineAt(c);if(u.from==s)continue;s=u.from;let d=Wct(o,u.from);if(d==null)continue;let f=/^\s*/.exec(u.text)[0],p=oq(o,d);f!=p&&l.push({from:u.from,to:u.from+f.length,insert:p})}return l.length?[e,{changes:l,sequential:!0}]:e})}const iut=Je.define(),Ud=new rn;function Fv(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function out(e,t,n){let r=Ir(e);if(r.length<n)return null;let a=r.resolveStack(n,1),i=null;for(let o=a;o;o=o.next){let s=o.node;if(s.to<=n||s.from>n)continue;if(i&&s.from<t)break;let l=s.type.prop(Ud);if(l&&(s.to<r.length-50||r.length==e.doc.length||!sut(s))){let c=l(s,e);c&&c.from<=n&&c.from>=t&&c.to>n&&(i=c)}}return i}function sut(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function q7(e,t,n){for(let r of e.facet(iut)){let a=r(e,t,n);if(a)return a}return out(e,t,n)}function uq(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}const dq=Kt.define({map:uq}),Q5=Kt.define({map:uq}),gb=_i.define({create(){return Dt.none},update(e,t){t.isUserEvent("delete")&&t.changes.iterChangedRanges((n,r)=>e=Z7(e,n,r)),e=e.map(t.changes);for(let n of t.effects)if(n.is(dq)&&!lut(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(fq),a=r?Dt.replace({widget:new dut(r(t.state,n.value))}):X7;e=e.update({add:[a.range(n.value.from,n.value.to)]})}else n.is(Q5)&&(e=e.update({filter:(r,a)=>n.value.from!=r||n.value.to!=a,filterFrom:n.value.from,filterTo:n.value.to}));return t.selection&&(e=Z7(e,t.selection.main.head)),e},provide:e=>st.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(r,a)=>{n.push(r,a)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n<e.length;){let r=e[n++],a=e[n++];if(typeof r!="number"||typeof a!="number")throw new RangeError("Invalid JSON for fold state");t.push(X7.range(r,a))}return Dt.set(t,!0)}});function Z7(e,t,n=t){let r=!1;return e.between(t,n,(a,i)=>{a<n&&i>t&&(r=!0)}),r?e.update({filterFrom:t,filterTo:n,filter:(a,i)=>a>=n||i<=t}):e}function F3(e,t,n){var r;let a=null;return(r=e.field(gb,!1))===null||r===void 0||r.between(t,n,(i,o)=>{(!a||a.from>i)&&(a={from:i,to:o})}),a}function lut(e,t,n){let r=!1;return e.between(t,t,(a,i)=>{a==t&&i==n&&(r=!0)}),r}const cut={placeholderDOM:null,preparePlaceholder:null,placeholderText:"â¦"},fq=Je.define({combine(e){return Ld(e,cut)}});function uut(e){return[gb,put]}function pq(e,t){let{state:n}=e,r=n.facet(fq),a=o=>{let s=e.lineBlockAt(e.posAtDOM(o.target)),l=F3(e.state,s.from,s.to);l&&e.dispatch({effects:Q5.of(l)}),o.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,a,t);let i=document.createElement("span");return i.textContent=r.placeholderText,i.setAttribute("aria-label",n.phrase("folded code")),i.title=n.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=a,i}const X7=Dt.replace({widget:new class extends Mo{toDOM(e){return pq(e,null)}}});class dut extends Mo{constructor(t){super(),this.value=t}eq(t){return this.value==t.value}toDOM(t){return pq(t,this.value)}}const fut={openText:"â",closedText:"âº",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class V4 extends Qc{constructor(t,n){super(),this.config=t,this.open=n}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let n=document.createElement("span");return n.textContent=this.open?this.config.openText:this.config.closedText,n.title=t.state.phrase(this.open?"Fold line":"Unfold line"),n}}function W7(e={}){let t={...fut,...e},n=new V4(t,!0),r=new V4(t,!1),a=ea.fromClass(class{constructor(o){this.from=o.viewport.from,this.markers=this.buildMarkers(o)}update(o){(o.docChanged||o.viewportChanged||o.startState.facet(zc)!=o.state.facet(zc)||o.startState.field(gb,!1)!=o.state.field(gb,!1)||Ir(o.startState)!=Ir(o.state)||t.foldingChanged(o))&&(this.markers=this.buildMarkers(o.view))}buildMarkers(o){let s=new jl;for(let l of o.viewportLineBlocks){let c=F3(o.state,l.from,l.to)?r:q7(o.state,l.from,l.to)?n:null;c&&s.add(l.from,l.from,c)}return s.finish()}}),{domEventHandlers:i}=t;return[a,gct({class:"cm-foldGutter",markers(o){var s;return((s=o.plugin(a))===null||s===void 0?void 0:s.markers)||an.empty},initialSpacer(){return new V4(t,!1)},domEventHandlers:{...i,click:(o,s,l)=>{if(i.click&&i.click(o,s,l))return!0;let c=F3(o.state,s.from,s.to);if(c)return o.dispatch({effects:Q5.of(c)}),!0;let u=q7(o.state,s.from,s.to);return u?(o.dispatch({effects:dq.of(u)}),!0):!1}}}),uut()]}const put=st.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class H0{constructor(t,n){this.specs=t;let r;function a(s){let l=Bc.newName();return(r||(r=Object.create(null)))["."+l]=s,l}const i=typeof n.all=="string"?n.all:n.all?a(n.all):void 0,o=n.scope;this.scope=o instanceof Ko?s=>s.prop(yf)==o.data:o?s=>s==o:void 0,this.style=nq(t.map(s=>({tag:s.tag,class:s.class||a(Object.assign({},s,{tag:null}))})),{all:i}).style,this.module=r?new Bc(r):null,this.themeType=n.themeType}static define(t,n){return new H0(t,n||{})}}const z3=Je.define(),hq=Je.define({combine(e){return e.length?[e[0]]:null}});function H4(e){let t=e.facet(z3);return t.length?t:e.facet(hq)}function mq(e,t){let n=[mut],r;return e instanceof H0&&(e.module&&n.push(st.styleModule.of(e.module)),r=e.themeType),t?.fallback?n.push(hq.of(e)):r?n.push(z3.computeN([st.darkTheme],a=>a.facet(st.darkTheme)==(r=="dark")?[e]:[])):n.push(z3.of(e)),n}class hut{constructor(t){this.markCache=Object.create(null),this.tree=Ir(t.state),this.decorations=this.buildDeco(t,H4(t.state)),this.decoratedTo=t.viewport.to}update(t){let n=Ir(t.state),r=H4(t.state),a=r!=H4(t.startState),{viewport:i}=t.view,o=t.changes.mapPos(this.decoratedTo,1);n.length<i.to&&!a&&n.type==this.tree.type&&o>=i.to?(this.decorations=this.decorations.map(t.changes),this.decoratedTo=o):(n!=this.tree||t.viewportChanged||a)&&(this.tree=n,this.decorations=this.buildDeco(t.view,r),this.decoratedTo=i.to)}buildDeco(t,n){if(!n||!this.tree.length)return Dt.none;let r=new jl;for(let{from:a,to:i}
2434of t.visibleRanges)zct(this.tree,n,(o,s,l)=>{r.add(o,s,this.markCache[l]||(this.markCache[l]=Dt.mark({class:l})))},a,i);return r.finish()}}const mut=Xp.high(ea.fromClass(hut,{decorations:e=>e.decorations})),gut=H0.define([{tag:Z.meta,color:"#404740"},{tag:Z.link,textDecoration:"underline"},{tag:Z.heading,textDecoration:"underline",fontWeight:"bold"},{tag:Z.emphasis,fontStyle:"italic"},{tag:Z.strong,fontWeight:"bold"},{tag:Z.strikethrough,textDecoration:"line-through"},{tag:Z.keyword,color:"#708"},{tag:[Z.atom,Z.bool,Z.url,Z.contentSeparator,Z.labelName],color:"#219"},{tag:[Z.literal,Z.inserted],color:"#164"},{tag:[Z.string,Z.deleted],color:"#a11"},{tag:[Z.regexp,Z.escape,Z.special(Z.string)],color:"#e40"},{tag:Z.definition(Z.variableName),color:"#00f"},{tag:Z.local(Z.variableName),color:"#30a"},{tag:[Z.typeName,Z.namespace],color:"#085"},{tag:Z.className,color:"#167"},{tag:[Z.special(Z.variableName),Z.macroName],color:"#256"},{tag:Z.definition(Z.propertyName),color:"#00c"},{tag:Z.comment,color:"#940"},{tag:Z.invalid,color:"#f00"}]),but=st.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),gq=1e4,bq="()[]{}",yq=Je.define({combine(e){return Ld(e,{afterCursor:!0,brackets:bq,maxScanDistance:gq,renderMatch:Out})}}),yut=Dt.mark({class:"cm-matchingBracket"}),vut=Dt.mark({class:"cm-nonmatchingBracket"});function Out(e){let t=[],n=e.matched?yut:vut;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}function Y7(e){let t=[],n=e.facet(yq);for(let r of e.selection.ranges){if(!r.empty)continue;let a=fg(e,r.head,-1,n)||r.head>0&&fg(e,r.head-1,1,n)||n.afterCursor&&(fg(e,r.head,1,n)||r.head<e.doc.length&&fg(e,r.head+1,-1,n));a&&(t=t.concat(n.renderMatch(a,e)))}return Dt.set(t,!0)}const Sut=ea.fromClass(class{constructor(e){this.paused=!1,this.decorations=Y7(e.state)}update(e){(e.docChanged||e.selectionSet||this.paused)&&(e.view.composing?(this.decorations=this.decorations.map(e.changes),this.paused=!0):(this.decorations=Y7(e.state),this.paused=!1))}},{decorations:e=>e.decorations}),wut=[Sut,but];function G7(e={}){return[yq.of(e),wut]}const F5=new rn;function V3(e,t,n){let r=e.prop(t<0?rn.openedBy:rn.closedBy);if(r)return r;if(e.name.length==1){let a=n.indexOf(e.name);if(a>-1&&a%2==(t<0?1:0))return[n[a+t]]}return null}function H3(e){let t=e.type.prop(F5);return t?t(e.node):e}function fg(e,t,n,r={}){let a=r.maxScanDistance||gq,i=r.brackets||bq,o=Ir(e),s=o.resolveInner(t,n);for(let l=s;l;l=l.parent){let c=V3(l.type,n,i);if(c&&l.from<l.to){let u=H3(l);if(u&&(n>0?t>=u.from&&t<u.to:t>u.from&&t<=u.to))return xut(e,t,n,l,u,c,i)}}return kut(e,t,n,o,s.type,a,i)}function xut(e,t,n,r,a,i,o){let s=r.parent,l={from:a.from,to:a.to},c=0,u=s?.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do if(n<0?u.to<=r.from:u.from>=r.to){if(c==0&&i.indexOf(u.type.name)>-1&&u.from<u.to){let d=H3(u);return{start:l,end:d?{from:d.from,to:d.to}:void 0,matched:!0}}else if(V3(u.type,n,o))c++;else if(V3(u.type,-n,o)){if(c==0){let d=H3(u);return{start:l,end:d&&d.from<d.to?{from:d.from,to:d.to}:void 0,matched:!1}}c--}}while(n<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function kut(e,t,n,r,a,i,o){if(n<0?!t:t==e.doc.length)return null;let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=o.indexOf(s);if(l<0||l%2==0!=n>0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},u=e.doc.iterRange(t,n>0?e.doc.length:0),d=0;for(let f=0;!u.next().done&&f<=i;){let p=u.value;n<0&&(f+=p.length);let h=t+f*n;for(let b=n>0?0:p.length-1,y=n>0?p.length:-1;b!=y;b+=n){let O=o.indexOf(p[b]);if(!(O<0||r.resolveInner(h+b,1).type!=a))if(O%2==0==n>0)d++;else{if(d==1)return{start:c,end:{from:h+b,to:h+b+1},matched:O>>1==l>>1};d--}}n>0&&(f+=p.length)}return u.done?{start:c,matched:!1}:null}const Aut=Object.create(null),K7=[ni.none],J7=[],e$=Object.create(null),Tut=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invali
2434d"],["header","heading"],["property","propertyName"]])Tut[e]=Eut(Aut,t);function q4(e,t){J7.indexOf(e)>-1||(J7.push(e),console.warn(t))}function Eut(e,t){let n=[];for(let s of t.split(" ")){let l=[];for(let c of s.split(".")){let u=e[c]||Z[c];u?typeof u=="function"?l.length?l=l.map(u):q4(c,`Modifier ${c} used at start of tag`):l.length?q4(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:q4(c,`Unknown highlighting tag ${c}`)}for(let c of l)n.push(c)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),a=r+" "+n.map(s=>s.id),i=e$[a];if(i)return i.id;let o=e$[a]=ni.define({id:K7.length,name:r,props:[Dd({[r]:n})]});return K7.push(o),o.id}vr.RTL,vr.LTR;class vq{constructor(t,n,r,a){this.state=t,this.pos=n,this.explicit=r,this.view=a,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(t){let n=Ir(this.state).resolveInner(this.pos,-1);for(;n&&t.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(t){let n=this.state.doc.lineAt(this.pos),r=Math.max(n.from,this.pos-250),a=n.text.slice(r-n.from,this.pos-n.from),i=a.search(Sq(t,!1));return i<0?null:{from:r+i,to:this.pos,text:a.slice(i)}}get aborted(){return this.abortListeners==null}addEventListener(t,n,r){t=="abort"&&this.abortListeners&&(this.abortListeners.push(n),r&&r.onDocChange&&(this.abortOnDocChange=!0))}}function t$(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function _ut(e){let t=Object.create(null),n=Object.create(null);for(let{label:a}of e){t[a[0]]=!0;for(let i=1;i<a.length;i++)n[a[i]]=!0}let r=t$(t)+t$(n)+"*$";return[new RegExp("^"+r),new RegExp(r)]}function Oq(e){let t=e.map(a=>typeof a=="string"?{label:a}:a),[n,r]=t.every(a=>/^\w+$/.test(a.label))?[/\w*$/,/\w+$/]:_ut(t);return a=>{let i=a.matchBefore(r);return i||a.explicit?{from:i?i.from:a.pos,options:t,validFor:n}:null}}function Cut(e,t){return n=>{for(let r=Ir(n.state).resolveInner(n.pos,-1);r;r=r.parent){if(e.indexOf(r.name)>-1)return null;if(r.type.isTop)break}return t(n)}}class n${constructor(t,n,r,a){this.completion=t,this.source=n,this.match=r,this.score=a}}function Xu(e){return e.selection.main.from}function Sq(e,t){var n;let{source:r}=e,a=t&&r[0]!="^",i=r[r.length-1]!="$";return!a&&!i?e:new RegExp(`${a?"^":""}(?:${r})${i?"$":""}`,(n=e.flags)!==null&&n!==void 0?n:e.ignoreCase?"i":"")}const z5=ec.define();function $ut(e,t,n,r){let{main:a}=e.selection,i=n-a.from,o=r-a.from;return{...e.changeByRange(s=>{if(s!=a&&n!=r&&e.sliceDoc(s.from+i,s.from+o)!=e.sliceDoc(n,r))return{range:s};let l=e.toText(t);return{changes:{from:s.from+i,to:r==a.from?s.to:s.from+o,insert:l},range:Qe.cursor(s.from+i+l.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}const r$=new WeakMap;function Put(e){if(!Array.isArray(e))return e;let t=r$.get(e);return t||r$.set(e,t=Oq(e)),t}const bb=Kt.define(),Wm=Kt.define();class Iut{constructor(t){this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let n=0;n<t.length;){let r=ji(t,n),a=vl(r);this.chars.push(r);let i=t.slice(n,n+a),o=i.toUpperCase();this.folded.push(ji(o==i?i.toLowerCase():o,0)),n+=a}this.astral=t.length!=this.chars.length}ret(t,n){return this.score=t,this.matched=n,this}match(t){if(this.pattern.length==0)return this.ret(-100,[]);if(t.length<this.pattern.length)return null;let{chars:n,folded:r,any:a,precise:i,byWord:o}=this;if(n.length==1){let A=ji(t,0),x=vl(A),T=x==t.length?0:-100;if(A!=n[0])if(A==r[0])T+=-200;else return null;return this.ret(T,[0,x])}let s=t.indexOf(this.pattern);if(s==0)return this.ret(t.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=n.length,c=0;if(s<0){for(let A=0,x=Math.min(t.length,200);A<x&&c<l;){let T=ji(t,A);(T==n[c]||T==r[c])&&(a[c++]=A),A+=vl(T)}if(c<l)return null}let u=0,d=0,f=!1,p=0,h=-1,b=-1,y=/[a-z]/.test(t),O=!0;for(let A=0,x=Math.min(t.length,200),T=0;A<x&&d<l;){let E=ji(t,A);s<0&&(u<l&&E==n[u]&&(i[u++]=A),p<l&&(E==n[p]||E==r[p]?(p==0&&(h=A),b=A+1,p++):p=0));let C,$=E<255?E>=48&&E<=57||E>=97&&E<=122?2:E>=65&&E<=90?1:0:(C=UV(E))!=C.toLowerCase()?1:C!=C.toUpperCase()?2:0;(!A||$==1&&y||T==0&&$!=0)&&(n[d]==E||r[d]==E&&(f=!0)?o[d++]=A:o.length&&(O=!1)),T=$,A+=vl(E)}return d==l&&o[0]==0&&O?this.result(-100+(f?-200:0),o,t):p==l&&h==0?this.ret(-200-t.length+(b==t.length?0:-100),[0,b]):s>-1?this.ret(-700-t.length,[s,s+this.pattern.length]):p==l?this.ret(-900-t.length,[h,b]):d==l?this.result(-100+(f?-200:0)+-700+(O?0:-1100),o,t):n.length==2?null:this.result((a[0]?-700:0)+-200+-1100,a,t)}result(t,n,r){let a=[],i=0;for(let o of n){let s=o+(this.astral?vl(ji(r,o)):1);i&&a[i-1]==o?a[i-1]=s:(a[i++]=o,a[i++]=s)}return this.ret(t-r.length,a)}}class Nut{constructor(t){this.pattern=t,this.matched=[],this.score=0,this.folded=t.toLowerCase()}match(t){if(t.length<this.pattern.length)return null;let n=t.slice(0,this.pattern.length),r=n==this.pattern?0:n.toLowerCase()==this.folded?-200:null;return r==null?null:(this.matched=[0,n.length],this.score=r+(t.length==this.pattern.length?0:-100),this)}}const fa=Je.define({combine(e){return Ld(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:Rut,filterStrict:!1,compareCompletions:(t,n)=>(t.sortText||t.label).localeCompare(n.sortText||n.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(t,n)=>t&&n,closeOnBlur:(t,n)=>t&&n,icons:(t,n)=>t&&n,tooltipClass:(t,n)=>r=>a$(t(r),n(r)),optionClass:(t,n)=>r=>a$(t(r),n(r)),addToOptions:(t,n)=>t.concat(n),filterStrict:(t,n)=>t||n})}});function a$(e,t){return e?t?e+" "+t:e:t}function Rut(e,t,n,r,a,i){let o=e.textDirection==vr.RTL,s=o,l=!1,
vendor: 8,628 bytes, line 2434
2434c="top",u,d,f=t.left-a.left,p=a.right-t.right,h=r.right-r.left,b=r.bottom-r.top;if(s&&f<Math.min(h,p)?s=!1:!s&&p<Math.min(h,f)&&(s=!0),h<=(s?f:p))u=Math.max(a.top,Math.min(n.top,a.bottom-b))-t.top,d=Math.min(400,s?f:p);else{l=!0,d=Math.min(400,(o?t.right:a.right-t.left)-30);let A=a.bottom-t.bottom;A>=b||A>t.top?u=n.bottom-t.top:(c="bottom",u=t.bottom-n.top)}let y=(t.bottom-t.top)/i.offsetHeight,O=(t.right-t.left)/i.offsetWidth;return{style:`${c}: ${u/y}px; max-width: ${d/O}px`,class:"cm-completionInfo-"+(l?o?"left-narrow":"right-narrow":s?"left":"right")}}const V5=Kt.define();function Mut(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(n){let r=document.createElement("div");return r.classList.add("cm-completionIcon"),n.type&&r.classList.add(...n.type.split(/\s+/g).map(a=>"cm-completionIcon-"+a)),r.setAttribute("aria-hidden","true"),r},position:20}),t.push({render(n,r,a,i){let o=document.createElement("span");o.className="cm-completionLabel";let s=n.displayLabel||n.label,l=0;for(let c=0;c<i.length;){let u=i[c++],d=i[c++];u>l&&o.appendChild(document.createTextNode(s.slice(l,u)));let f=o.appendChild(document.createElement("span"));f.appendChild(document.createTextNode(s.slice(u,d))),f.className="cm-completionMatchedText",l=d}return l<s.length&&o.appendChild(document.createTextNode(s.slice(l))),o},position:50},{render(n){if(!n.detail)return null;let r=document.createElement("span");return r.className="cm-completionDetail",r.textContent=n.detail,r},position:80}),t.sort((n,r)=>n.position-r.position).map(n=>n.render)}function Z4(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let a=Math.floor(t/n);return{from:a*n,to:(a+1)*n}}let r=Math.ceil((e-t)/n);return{from:e-r*n,to:e-(r-1)*n}}class Lut{constructor(t,n,r){this.view=t,this.stateField=n,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let a=t.state.field(n),{options:i,selected:o}=a.open,s=t.state.facet(fa);this.optionContent=Mut(s),this.optionClass=s.optionClass,this.tooltipClass=s.tooltipClass,this.range=Z4(i.length,o,s.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(t.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=t.state.field(n).open;for(let u=l.target,d;u&&u!=this.dom;u=u.parentNode)if(u.nodeName=="LI"&&(d=/-(\d+)$/.exec(u.id))&&+d[1]<c.length){this.applyCompletion(t,c[+d[1]]),l.preventDefault();return}if(l.target==this.list){let u=this.list.classList.contains("cm-completionListIncompleteTop")&&l.clientY<this.list.firstChild.getBoundingClientRect().top?this.range.from-1:this.list.classList.contains("cm-completionListIncompleteBottom")&&l.clientY>this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;u!=null&&(t.dispatch({effects:V5.of(u)}),l.preventDefault())}}),this.dom.addEventListener("focusout",l=>{let c=t.state.field(this.stateField,!1);c&&c.tooltip&&t.state.facet(fa).closeOnBlur&&l.relatedTarget!=t.contentDOM&&t.dispatch({effects:Wm.of(null)})}),this.showOptions(i,a.id)}mount(){this.updateSel()}showOptions(t,n){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t,n,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(t){var n;let r=t.state.field(this.stateField),a=t.startState.field(this.stateField);if(this.updateTooltipClass(t.state),r!=a){let{options:i,selected:o,disabled:s}=r.open;(!a.open||a.open.options!=i)&&(this.range=Z4(i.length,o,t.state.facet(fa).maxRenderedOptions),this.showOptions(i,r.id)),this.updateSel(),s!=((n=a.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!s)}}updateTooltipClass(t){let n=this.tooltipClass(t);if(n!=this.currentClass){for(let r of this.currentClass.split(" "))r&&this.dom.classList.remove(r);for(let r of n.split(" "))r&&this.dom.classList.add(r);this.currentClass=n}}positioned(t){this.space=t,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),n=t.open;(n.selected>-1&&n.selected<this.range.from||n.selected>=this.range.to)&&(this.range=Z4(n.options.length,n.selected,this.view.state.facet(fa).maxRenderedOptions),this.showOptions(n.options,t.id));let r=this.updateSelectedOption(n.selected);if(r){this.destroyInfo();let{completion:a}=n.options[n.selected],{info:i}=a;if(!i)return;let o=typeof i=="string"?document.createTextNode(i):i(a);if(!o)return;"then"in o?o.then(s=>{s&&this.view.state.field(this.stateField,!1)==t&&this.addInfoPane(s,a)}).catch(s=>Ja(this.view.state,s,"completion info")):(this.addInfoPane(o,a),r.setAttribute("aria-describedby",this.info.id))}}addInfoPane(t,n){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",r.id="cm-completionInfo-"+Math.floor(Math.random()*65535).toString(16),t.nodeType!=null)r.appendChild(t),this.infoDestroy=null;else{let{dom:a,destroy:i}=t;r.appendChild(a),this.infoDestroy=i||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){let n=null;for(let r=this.list.firstChild,a=this.range.from;r;r=r.nextSibling,a++)r.nodeName!="LI"||!r.id?a--:a==t?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),n=r):r.hasAttribute("aria-selected")&&(r.removeAttribute("aria-selected"),r.removeAttribute("aria-describedby"));return n&&But(this.list,n),n}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let n=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),a=t.getBoundingClientRect(),i=this.space;if(!i){let o=this.dom.ownerDocument.documentElement;i={left:0,top:0,right:o.clientWidth,bottom:o.clientHeight}}return a.top>Math.min(i.bottom,n.bottom)-10||a.bottom<Math.max(i.top,n.top)+10?null:this.view.state.facet(fa).positionInfo(this.view,n,a,r,i,this.dom)}placeInfo(t){this.info&&(t?(t.style&&(this.info.style.cssText=t.style),this.info.className="cm-tooltip cm-completionInfo "+(t.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(t,n,r){const a=document.createElement("ul");a.id=n,a.setAttribute("role","listbox"),a.setAttribute("aria-expanded","true"),a.setAttribute("aria-label",this.view.state.phrase("Completions")),a.addEventListener("mousedown",o=>{o.target==a&&o.preventDefault()});let i=null;for(let o=r.from;o<r.to;o++){let{completion:s,match:l}=t[o],{section:c}=s;if(c){let f=typeof c=="string"?c:c.name;if(f!=i&&(o>r.from||r.from==0))if(i=f,typeof c!="string"&&c.header)a.appendChild(c.header(c));else{let p=a.appendChild(document.createElement("completion-section"));p.textContent=f}}const u=a.appendChild(document.createElement("li"));u.id=n+"-"+o,u.setAttribute("role","option");let d=this.optionClass(s);d&&(u.className=d);for(let f of this.optionContent){let p=f(s,this.view.state,this.view,l);p&&u.appendChild(p)}}return r.from&&a.classList.add("cm-completionListIncompleteTop"),r.to<t.length&&a.classList.add("cm-completionListIncompleteBottom"),a}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function Dut(e,t){return n=>new Lut(n,e,t)}function But(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),a=n.height/e.offsetHeight;r.top<n.top?e.scrollTop-=(n.top-r.top)/a:r.bottom>n.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/a)}function i$(e){return(e.boost||0)*100+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}function Uut(e,t){let n=[],r=null,a=null,i=u=>{n.push(u);let{section:d}=u.completion;if(d){r||(r=[]);let f=typeof d=="string"?d:d.name;r.some(p=>p.name==f)||r.push(typeof d=="string"?{name:f}:d)}},o=t.facet(fa);for(let u of e)if(u.hasResult()){let d=u.result.getMatch;if(u.result.filter===!1)for(let f of u.result.options)i(new n$(f,u.source,d?d(f):[],1e9-n.length));else{let f=t.sliceDoc(u.from,u.to),p,h=o.filterStrict?new Nut(f):new Iut(f);for(let b of u.result.options)if(p=h.match(b.label)){let y=b.displayLabel?d?d(b,p.matched):[]:p.matched,O=p.score+(b.boost||0);if(i(new n$(b,u.source,y,O)),typeof b.section=="object"&&b.section.rank==="dynamic"){let{name:A}=b.section;a||(a=Object.create(null)),a[A]=Math.max(O,a[A]||-1e9)}}}}if(r){let u=Object.create(null),d=0,f=(p,h)=>(p.rank==="dynamic"&&h.rank==="dynamic"?a[h.name]-a[p.name]:0)||(typeof p.rank=="number"?p.rank:1e9)-(typeof h.rank=="number"?h.rank:1e9)||(p.name<h.name?-1:1);for(let p of r.sort(f))d-=1e5,u[p.name]=d;for(let p of n){let{section:h}=p.completion;
vendor: 26,755 bytes, line 2434
2434h&&(p.score+=u[typeof h=="string"?h:h.name])}}let s=[],l=null,c=o.compareCompletions;for(let u of n.sort((d,f)=>f.score-d.score||c(d.completion,f.completion))){let d=u.completion;!l||l.label!=d.label||l.detail!=d.detail||l.type!=null&&d.type!=null&&l.type!=d.type||l.apply!=d.apply||l.boost!=d.boost?s.push(u):i$(u.completion)>i$(l)&&(s[s.length-1]=u),l=u.completion}return s}class vf{constructor(t,n,r,a,i,o){this.options=t,this.attrs=n,this.tooltip=r,this.timestamp=a,this.selected=i,this.disabled=o}setSelected(t,n){return t==this.selected||t>=this.options.length?this:new vf(this.options,o$(n,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,n,r,a,i,o){if(a&&!o&&t.some(c=>c.isPending))return a.setDisabled();let s=Uut(t,n);if(!s.length)return a&&t.some(c=>c.isPending)?a.setDisabled():null;let l=n.facet(fa).selectOnOpen?0:-1;if(a&&a.selected!=l&&a.selected!=-1){let c=a.options[a.selected].completion;for(let u=0;u<s.length;u++)if(s[u].completion==c){l=u;break}}return new vf(s,o$(r,l),{pos:t.reduce((c,u)=>u.hasResult()?Math.min(c,u.from):c,1e8),create:Hut,above:i.aboveCursor},a?a.timestamp:Date.now(),l,!1)}map(t){return new vf(this.options,this.attrs,{...this.tooltip,pos:t.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new vf(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class yb{constructor(t,n,r){this.active=t,this.id=n,this.open=r}static start(){return new yb(zut,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:n}=t,r=n.facet(fa),i=(r.override||n.languageDataAt("autocomplete",Xu(n)).map(Put)).map(l=>(this.active.find(u=>u.source==l)||new vo(l,this.active.some(u=>u.state!=0)?1:0)).update(t,r));i.length==this.active.length&&i.every((l,c)=>l==this.active[c])&&(i=this.active);let o=this.open,s=t.effects.some(l=>l.is(H5));o&&t.docChanged&&(o=o.map(t.changes)),t.selection||i.some(l=>l.hasResult()&&t.changes.touchesRange(l.from,l.to))||!jut(i,this.active)||s?o=vf.build(i,n,this.id,o,r,s):o&&o.disabled&&!i.some(l=>l.isPending)&&(o=null),!o&&i.every(l=>!l.isPending)&&i.some(l=>l.hasResult())&&(i=i.map(l=>l.hasResult()?new vo(l.source,0):l));for(let l of t.effects)l.is(V5)&&(o=o&&o.setSelected(l.value,this.id));return i==this.active&&o==this.open?this:new yb(i,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?Qut:Fut}}function jut(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n<e.length&&!e[n].hasResult();)n++;for(;r<t.length&&!t[r].hasResult();)r++;let a=n==e.length,i=r==t.length;if(a||i)return a==i;if(e[n++].result!=t[r++].result)return!1}}const Qut={"aria-autocomplete":"list"},Fut={};function o$(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}const zut=[];function wq(e,t){if(e.isUserEvent("input.complete")){let r=e.annotation(z5);if(r&&t.activateOnCompletion(r))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}class vo{constructor(t,n,r=!1){this.source=t,this.state=n,this.explicit=r}hasResult(){return!1}get isPending(){return this.state==1}update(t,n){let r=wq(t,n),a=this;(r&8||r&16&&this.touches(t))&&(a=new vo(a.source,0)),r&4&&a.state==0&&(a=new vo(this.source,1)),a=a.updateFor(t,r);for(let i of t.effects)if(i.is(bb))a=new vo(a.source,1,i.value);else if(i.is(Wm))a=new vo(a.source,0);else if(i.is(H5))for(let o of i.value)o.source==a.source&&(a=o);return a}updateFor(t,n){return this.map(t.changes)}map(t){return this}touches(t){return t.changes.touchesRange(Xu(t.state))}}class Rf extends vo{constructor(t,n,r,a,i,o){super(t,3,n),this.limit=r,this.result=a,this.from=i,this.to=o}hasResult(){return!0}updateFor(t,n){var r;if(!(n&3))return this.map(t.changes);let a=this.result;a.map&&!t.changes.empty&&(a=a.map(a,t.changes));let i=t.changes.mapPos(this.from),o=t.changes.mapPos(this.to,1),s=Xu(t.state);if(s>o||!a||n&2&&(Xu(t.startState)==this.from||s<this.limit))return new vo(this.source,n&4?1:0);let l=t.changes.mapPos(this.limit);return Vut(a.validFor,t.state,i,o)?new Rf(this.source,this.explicit,l,a,i,o):a.update&&(a=a.update(a,i,o,new vq(t.state,s,!1)))?new Rf(this.source,this.explicit,l,a,a.from,(r=a.to)!==null&&r!==void 0?r:Xu(t.state)):new vo(this.source,1,this.explicit)}map(t){if(t.empty)return this;let n=this.result.map?this.result.map(this.result,t):this.result;return n?new Rf(this.source,this.explicit,t.mapPos(this.limit),n,t.mapPos(this.from),t.mapPos(this.to,1)):new vo(this.source,0)}touches(t){return t.changes.touchesRange(this.from,this.to)}}function Vut(e,t,n,r){if(!e)return!1;let a=t.sliceDoc(n,r);return typeof e=="function"?e(a,n,r,t):Sq(e,!0).test(a)}const H5=Kt.define({map(e,t){return e.map(n=>n.map(t))}}),ui=_i.define({create(){return yb.start()},update(e,t){return e.update(t)},provide:e=>[R5.from(e,t=>t.tooltip),st.contentAttributes.from(e,t=>t.attrs)]});function q5(e,t){const n=t.completion.apply||t.completion.label;let r=e.state.field(ui).active.find(a=>a.source==t.source);return r instanceof Rf?(typeof n=="string"?e.dispatch({...$ut(e.state,n,r.from,r.to),annotations:z5.of(t.completion)}):n(e,t.completion,r.from,r.to),!0):!1}const Hut=Dut(ui,q5);function pg(e,t="option"){return n=>{let r=n.state.field(ui,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(fa).interactionDelay)return!1;let a=1,i;t=="page"&&(i=qH(n,r.open.tooltip))&&(a=Math.max(2,Math.floor(i.dom.offsetHeight/i.dom.querySelector("li").offsetHeight)-1));let{length:o}=r.open.options,s=r.open.selected>-1?r.open.selected+a*(e?1:-1):e?0:o-1;return s<0?s=t=="page"?0:o-1:s>=o&&(s=t=="page"?o-1:0),n.dispatch({effects:V5.of(s)}),!0}}const qut=e=>{let t=e.state.field(ui,!1);return e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(fa).interactionDelay?!1:q5(e,t.open.options[t.open.selected])},X4=e=>e.state.field(ui,!1)?(e.dispatch({effects:bb.of(!0)}),!0):!1,Zut=e=>{let t=e.state.field(ui,!1);return!t||!t.active.some(n=>n.state!=0)?!1:(e.dispatch({effects:Wm.of(null)}),!0)};class Xut{constructor(t,n){this.active=t,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0}}const Wut=50,Yut=1e3,Gut=ea.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of e.state.field(ui).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(ui),n=e.state.facet(fa);if(!e.selectionSet&&!e.docChanged&&e.startState.field(ui)==t)return;let r=e.transactions.some(i=>{let o=wq(i,n);return o&8||(i.selection||i.docChanged)&&!(o&3)});for(let i=0;i<this.running.length;i++){let o=this.running[i];if(r||o.context.abortOnDocChange&&e.docChanged||o.updates.length+e.transactions.length>Wut&&Date.now()-o.time>Yut){for(let s of o.context.abortListeners)try{s()}catch(l){Ja(this.view.state,l)}o.context.abortListeners=null,this.running.splice(i--,1)}else o.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(i=>i.effects.some(o=>o.is(bb)))&&(this.pendingStart=!0);let a=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(i=>i.isPending&&!this.running.some(o=>o.active.source==i.source))?setTimeout(()=>this.startUpdate(),a):-1,this.composing!=0)for(let i of e.transactions)i.isUserEvent("input.type")?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(ui);for(let n of t.active)n.isPending&&!this.running.some(r=>r.active.source==n.source)&&this.startQuery(n);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(fa).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=Xu(t),r=new vq(t,n,e.explicit,this.view),a=new Xut(e,r);this.running.push(a),Promise.resolve(e.source(r)).then(i=>{a.context.aborted||(a.done=i||null,this.scheduleAccept())},i=>{this.view.dispatch({effects:Wm.of(null)}),Ja(this.view.state,i)})}scheduleAccept(){this.running.every(e=>e.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(fa).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(fa),r=this.view.state.field(ui);for(let a=0;a<this.running.length;a++){let i=this.running[a];if(i.done===void 0)continue;if(this.running.splice(a--,1),i.done){let s=Xu(i.updates.length?i.updates[0].startState:this.view.state),l=Math.min(s,i.done.from+(i.active.explicit?0:1)),c=new Rf(i.active.source,i.active.explicit,l,i.done,i.done.from,(e=i.done.to)!==null&&e!==void 0?e:s);for(let u of i.updates)c=c.update(u,n);if(c.hasResult()){t.push(c);continue}}let o=r.active.find(s=>s.source==i.active.source);if(o&&o.isPending)if(i.done==null){let s=new vo(i.active.source,0);for(let l of i.updates)s=s.update(l,n);s.isPending||t.push(s)}else this.startQuery(o)}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:H5.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(ui,!1);if(t&&t.tooltip&&this.view.state.facet(fa).closeOnBlur){let n=t.open&&qH(this.view,t.open.tooltip);(!n||!n.dom.contains(e.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Wm.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:bb.of(!1)}),20),this.composing=0}}}),Kut=typeof navigator=="object"&&/Win/.test(navigator.platform),Jut=Xp.highest(st.domEventHandlers({keydown(e,t){let n=t.state.field(ui,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(Kut&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],a=n.active.find(o=>o.source==r.source),i=r.completion.commitCharacters||a.result.commitCharacters;return i&&i.indexOf(e.key)>-1&&q5(t,r),!1}})),xq=st.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center",cursor:"pointer"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'Æ'"}},".cm-completionIcon-class":{"&:after":{content:"'â'"}},".cm-completionIcon-interface":{"&:after":{content:"'â'"}},".cm-completionIcon-variable":{"&:after":{content:"'ð¥'"}},".cm-completionIcon-constant":{"&:after":{content:"'ð¶'"}},".cm-completionIcon-type":{"&:after":{content:"'ð¡'"}},".cm-completionIcon-enum":{"&:after":{content:"'âª'"}},".cm-completionIcon-property":{"&:after":{content:"'â¡'"}},".cm-completionIcon-keyword":{"&:after":{content:"'ðï¸'"}},".cm-completionIcon-namespace":{"&:after":{content:"'â¢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class edt{constructor(t,n,r,a){this.field=t,this.line=n,this.from=r,this.to=a}}class Z5{constructor(t,n,r){this.field=t,this.from=n,this.to=r}map(t){let n=t.mapPos(this.from,-1,xa.TrackDel),r=t.mapPos(this.to,1,xa.TrackDel);return n==null||r==null?null:new Z5(this.field,n,r)}}class X5{constructor(t,n){this.lines=t,this.fieldPositions=n}instantiate(t,n){let r=[],a=[n],i=t.doc.lineAt(n),o=/^\s*/.exec(i.text)[0];for(let l of this.lines){if(r.length){let c=o,u=/^\t*/.exec(l)[0].length;for(let d=0;d<u;d++)c+=t.facet(Qv);a.push(n+c.length-u),l=c+l.slice(u)}r.push(l),n+=l.length+1}let s=this.fieldPositions.map(l=>new Z5(l.field,a[l.line]+l.from,a[l.line]+l.to));return{text:r,ranges:s}}static parse(t){let n=[],r=[],a=[],i;for(let o of t.split(/\r\n?|\n/)){for(;i=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(o);){let s=i[1]?+i[1]:null,l=i[2]||i[3]||"",c=-1;s===0&&(s=1e9);let u=l.replace(/\\[{}]/g,d=>d[1]);for(let d=0;d<n.length;d++)(s!=null?n[d].seq==s:u&&n[d].name==u)&&(c=d);if(c<0){let d=0;for(;d<n.length&&(s==null||n[d].seq!=null&&n[d].seq<s);)d++;n.splice(d,0,{seq:s,name:u}),c=d;for(let f of a)f.field>=c&&f.field++}for(let d of a)if(d.line==r.length&&d.from>i.index){let f=i[2]?3+(i[1]||"").length:2;d.from-=f,d.to-=f}a.push(new edt(c,r.length,i.index,i.index+u.length)),o=o.slice(0,i.index)+l+o.slice(i.index+i[0].length)}o=o.replace(/\\([{}])/g,(s,l,c)=>{for(let u of a)u.line==r.length&&u.from>c&&(u.from--,u.to--);return l}),r.push(o)}return new X5(r,a)}}let tdt=Dt.widget({widget:new class extends Mo{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),ndt=Dt.mark({class:"cm-snippetField"});class Yp{constructor(t,n){this.ranges=t,this.active=n,this.deco=Dt.set(t.map(r=>(r.from==r.to?tdt:ndt).range(r.from,r.to)),!0)}map(t){let n=[];for(let r of this.ranges){let a=r.map(t);if(!a)return null;n.push(a)}return new Yp(n,this.active)}selectionInsideField(t){return t.ranges.every(n=>this.ranges.some(r=>r.field==this.active&&r.from<=n.from&&r.to>=n.to))}}const q0=Kt.define({map(e,t){return e&&e.map(t)}}),rdt=Kt.define(),Ym=_i.define({create(){return null},update(e,t){for(let n of t.effects){if(n.is(q0))return n.value;if(n.is(rdt)&&e)return new Yp(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>st.decorations.from(e,t=>t?t.deco:Dt.none)});function W5(e,t){return Qe.create(e.filter(n=>n.field==t).map(n=>Qe.range(n.from,n.to)))}function adt(e){let t=X5.parse(e);return(n,r,a,i)=>{let{text:o,ranges:s}=t.instantiate(n.state,a),{main:l}=n.state.selection,c={changes:{from:a,to:i==l.from?l.to:i,insert:Tn.of(o)},scrollIntoView:!0,annotations:r?[z5.of(r),Ur.userEvent.of("input.complete")]:void 0};if(s.length&&(c.selection=W5(s,0)),s.some(u=>u.field>0)){let u=new Yp(s,0),d=c.effects=[q0.of(u)];n.state.field(Ym,!1)===void 0&&d.push(Kt.appendConfig.of([Ym,cdt,udt,xq]))}n.dispatch(n.state.update(c))}}function kq(e){return({state:t,dispatch:n})=>{let r=t.field(Ym,!1);if(!r||e<0&&r.active==0)return!1;let a=r.active+e,i=e>0&&!r.ranges.some(o=>o.field==a+e);return n(t.update({selection:W5(r.ranges,a),effects:q0.of(i?null:new Yp(r.ranges,a)),scrollIntoView:!0})),!0}}const idt=({state:e,dispatch:t})=>e.field(Ym,!1)?(t(e.update({effects:q0.of(null)})),!0):!1,odt=kq(1),sdt=kq(-1),ldt=[{key:"Tab",run:odt,shift:sdt},{key:"Escape",run:idt}],s$=Je.define({combine(e){return e.length?e[0]:ldt}}),cdt=Xp.highest(Rs.compute([s$],e=>e.facet(s$)));function si(e,t){return{...t,apply:adt(e)}}const udt=st.domEventHandlers({mousedown(e,t){let n=t.state.field(Ym,!1),r;if(!n||(r=t.posAtCoords({x:e.clientX,y:e.clientY}))==null)return!1;let a=n.ranges.find(i=>i.from<=r&&i.to>=r);return!a||a.field==n.active?!1:(t.dispatch({selection:W5(n.ranges,a.field),effects:q0.of(n.ranges.some(i=>i.field>a.field)?new Yp(n.ranges,a.field):null),scrollIntoView:!0}),!0)}}),Gm={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ju=Kt.define({map(e,t){let n=t.mapPos(e,-1,xa.TrackAfter);return n??void 0}}),Y5=new class extends Dc{};Y5.startSide=1;Y5.endSide=-1;const Aq=_i.define({create(){return an.empty},update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:r=>r>=n.from&&r<=n.to})}for(let n of t.effects)n.is(ju)&&(e=e.update({add:[Y5.range(n.value,n.value+1)]}));return e}});function ddt(){return[pdt,Aq]}const W4="()[]{}<>«»»«[]ï½ï½";function Tq(e){for(let t=0;t<W4.length;t+=2)if(W4.charCodeAt(t)==e)return W4.charAt(t+1);return UV(e<128?e:e+1)}function Eq(e,t){return e.languageDataAt("closeBrackets",t)[0]||Gm}const fdt=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),pdt=st.inputHandler.of((e,t,n,r)=>{if((fdt?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let a=e.state.selection.main;if(r.length>2||r.length==2&&vl(ji(r,0))==1||t!=a.from||n!=a.to)return!1;let i=gdt(e.state,r);return i?(e.dispatch(i),!0):!1}),hdt=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=Eq(e,e.selection.main.head).brackets||Gm.brackets,a=null,i=e.changeByRange(o=>{if(o.empty){let s=bdt(e.doc,o.head);for(let l of r)if(l==s&&zv(e.doc,o.head)==Tq(ji(l,0)))return{changes:{from:o.head-l.length,to:o.head+l.length},range:Qe.cursor(o.head-l.length)}}return{range:a=o}});return a||t(e.update(i,{scrollIntoView:!0,userEvent:"delete.backward"})),!a},mdt=[{key:"Backspace",run:hdt}];function gdt(e,t){let n=Eq(e,e.selection.main.head),r=n.brackets||Gm.brackets;for(let a of r){let i=Tq(ji(a,0));if(t==a)return i==a?Odt(e,a,r.indexOf(a+a+a)>-1,n):ydt(e,a,i,n.before||Gm.before);if(t==i&&_q(e,e.selection.main.from))return vdt(e,a,i)}return null}function _q(e,t){let n=!1;return e.field(Aq).between(0,e.doc.length,r=>{r==t&&(n=!0)}),n}function zv(e,t){let n=e.sliceString(t,t+2);return n.slice(0,vl(ji(n,0)))}function bdt(e,t){let n=e.sliceString(t-2,t);return vl(ji(n,0))==n.length?n:n.slice(1)}function ydt(e,t,n,r){let a=null,i=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:ju.of(o.to+t.length),range:Qe.range(o.anchor+t.length,o.head+t.length)};let s=zv(e.doc,o.head);return!s||/\s/.test(s)||r.indexOf(s)>-1?{changes:{insert:t+n,from:o.head},effects:ju.of(o.head+t.length),range:Qe.cursor(o.head+t.length)}:{range:a=o}});return a?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function vdt(e,t,n){let r=null,a=e.changeByRange(i=>i.empty&&zv(e.doc,i.head)==n?{changes:{from:i.head,to:i.head+n.length,insert:n},range:Qe.cursor(i.head+n.length)}:r={range:i});return r?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function Odt(e,t,n,r){let a=r.stringPrefixes||Gm.stringPrefixes,i=null,o=e.changeByRange(s=>{if(!s.empty)return{changes:[{insert:t,from:s.from},{insert:t,from:s.to}],effects:ju.of(s.to+t.length),range:Qe.range(s.anchor+t.length,s.head+t.length)};let l=s.head,c=zv(e.doc,l),u;if(c==t){if(l$(e,l))return{changes:{insert:t+t,from:l},effects:ju.of(l+t.length),range:Qe.cursor(l+t.length)};if(_q(e,l)){let f=n&&e.sliceDoc(l,l+t.length*3)==t+t+t?t+t+t:t;return{changes:{from:l,to:l+f.length,insert:f},range:Qe.cursor(l+f.length)}}}else{if(n&&e.sliceDoc(l-2*t.length,l)==t+t&&(u=c$(e,l-2*t.length,a))>-1&&l$(e,u))return{changes:{insert:t+t+t+t,from:l},effects:ju.of(l+t.length),range:Qe.cursor(l+t.length)};if(e.charCategorizer(l)(c)!=go.Word&&c$(e,l,a)>-1&&!Sdt(e,l,t,a))return{changes:{insert:t+t,from:l},effects:ju.of(l+t.length),range:Qe.cursor(l+t.length)}}return{range:i=s}});return i?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function l$(e,t){let n=Ir(e).resolveInner(t+1);return n.parent&&n.from==t}function Sdt(e,t,n,r){let a=Ir(e).resolveInner(t,-1),i=r.reduce((o,s)=>Math.max(o,s.length),0);for(let o=0;o<5;o++){let s=e.sliceDoc(a.from,Math.min(a.to,a.from+n.length+i)),l=s.indexOf(n);if(!l||l>-1&&r.indexOf(s.slice(0,l))>-1){let u=a.firstChild;for(;u&&u.from==a.from&&u.to-u.from>n.length+l;){if(e.sliceDoc(u.to-n.length,u.to)==n)return!1;u=u.firstChild}return!0}let c=a.to==t&&a.parent;if(!c)break;a=c}return!1}function c$(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=go.Word)return t;for(let a of n){let i=t-a.length;if(e.sliceDoc(i,t)==a&&r(e.sliceDoc(i-1,i))!=go.Word)return i}return-1}function wdt(e={}){return[Jut,ui,fa.of(e),Gut,xdt,xq]}const Cq=[{key:"Ctrl-Space",run:X4},{mac:"Alt-`",run:X4},{mac:"Alt-i",run:X4},{key:"Escape",run:Zut},{key:"ArrowDown",run:pg(!0)},{key:"ArrowUp",run:pg(!1)},{key:"PageDown",run:pg(!0,"page")},{key:"PageUp",run:pg(!1,"page")},{key:"Enter",run:qut}],xdt=Xp.highest(Rs.computeN([fa],e=>e.facet(fa).defaultKeymap?[Cq]:[])),q3=ec.define(),kdt=ec.define(),Adt=Je.define(),$q=Je.define({combine(e){return Ld(e,{minDepth:100,newGroupDelay:500,joinToEvent:(t,n)=>n},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(t,n)=>(r,a)=>t(r,a)||n(r,a)})}}),Pq=_i.define({create(){return Fs.empty},update(e,t){let n=t.state.facet($q),r=t.annotation(q3);if(r){let l=mi.fromTransaction(t,r.selection),c=r.side,u=c==0?e.undone:e.done;return l?u=vb(u,u.length,n.minDepth,l):u=Rq(u,t.startState.selection),new Fs(c==0?r.rest:u,c==0?u:r.rest)}let a=t.annotation(kdt);if((a=="full"||a=="before")&&(e=e.isolate()),t.annotation(Ur.addToHistory)===!1)return t.changes.empty?e:e.addMapping(t.changes.desc);let i=mi.fromTransaction(t),o=t.annotation(Ur.time),s=t.annotation(Ur.userEvent);return i?e=e.addChanges(i,o,s,n,t):t.selection&&(e=e.addSelection(t.startState.selection,o,s,n.newGroupDelay)),(a=="full"||a=="after")&&(e=e.isolate()),e},toJSON(e){return{done:e.done.map(t=>t.toJSON()),undone:e.undone.map(t=>t.toJSON())}},fromJSON(e){return new Fs(e.done.map(mi.fromJSON),e.undone.map(mi.fromJSON))}});function Tdt(e={}){return[Pq,$q.of(e),st.domEventHandlers({beforeinput(t,n){let r=t.inputType=="historyUndo"?Iq:t.inputType=="historyRedo"?Z3:null;return r?(t.preventDefault(),r(n)):!1}})]}function Vv(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let a=n.field(Pq,!1);if(!a)return!1;let i=a.pop(e,n,t);return i?(r(i),!0):!1}}const Iq=Vv(0,!1),Z3=Vv(1,!1),Edt=Vv(0,!0),_dt=Vv(1,!0);class mi{constructor(t,n,r,a,i){this.changes=t,this.effects=n,this.mapped=r,this.startSelection=a,this.selectionsAfter=i}setSelAfter(t){return new mi(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){var t,n,r;return{changes:(t=this.changes)===null||t===void 0?void 0:t.toJSON(),mapped:(n=this.mapped)===null||n===void 0?void 0:n.toJSON(),startSelection:(r=this.startSelection)===null||r===void 0?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(a=>a.toJSON())}}static fromJSON(t){return new mi(t.changes&&Yr.fromJSON(t.changes),[],t.mapped&&Ys.fromJSON(t.mapped),t.startSelection&&Qe.fromJSON(t.startSelection),t.selectionsAfter.map(Qe.fromJSON))}static fromTransaction(t,n){let r=Oo;for(let a of t.startState.facet(Adt)){let i=a(t);i.length&&(r=r.concat(i))}return!r.length&&t.changes.empty?null:new mi(t.changes.invert(t.startState.doc),r,void 0,n||t.startState.selection,Oo)}static selection(t){return new mi(void 0,Oo,void 0,void 0,t)}}function vb(e,t,n,r){let a=t+1>n+20?t-n-1:0,i=e.slice(a,t);return i.push(r),i}function Cdt(e,t){let n=[],r=!1;return e.iterChangedRanges((a,i)=>n.push(a,i)),t.iterChangedRanges((a,i,o,s)=>{for(let l=0;l<n.length;){let c=n[l++],u=n[l++];s>=c&&o<=u&&(r=!0)}}),r}function $dt(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter((n,r)=>n.empty!=t.ranges[r].empty).length===0}function Nq(e,t){return e.length?t.length?e.concat(t):e:t}const Oo=[],Pdt=200;function Rq(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-Pdt));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),vb(e,e.length-1,1e9,n.setSelAfter(r)))}else return[mi.selection([t])]}function Idt(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function Y4(e,t){if(!e.length)return e;let n=e.length,r=Oo;for(;n;){let a=Ndt(e[n-1],t,r);if(a.changes&&!a.changes.empty||a.effects.length){let i=e.slice(0,n);return i[n-1]=a,i}else t=a.mapped,n--,r=a.selectionsAfter}return r.length?[mi.selection(r)]:Oo}function Ndt(e,t,n){let r=Nq(e.selectionsAfter.length?e.selectionsAfter.map(s=>s.map(t)):Oo,n);if(!e.changes)return mi.selection(r);let a=e.changes.map(t),i=t.mapDesc(e.changes,!0),o=e.mapped?e.mapped.composeDesc(i):i;return new mi(a,Kt.mapEffects(e.effects,t),o,e.startSelection.map(i),r)}const Rdt=/^(input\.type|delete)($|\.)/;class Fs{constructor(t,n,r=0,a=void 0){this.done=t,this.undone=n,this.prevTime=r,this.prevUserEvent=a}isolate(){return this.prevTime?new Fs(this.done,this.undone):this}addChanges(t,n,r,a,i){let o=this.done,s=o[o.length-1];return s&&s.changes&&!s.changes.empty&&t.changes&&(!r||Rdt.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime<a.newGroupDelay&&a.joinToEvent(i,Cdt(s.changes,t.changes))||r=="input.type.compose")?o=vb(o,o.length-1,a.minDepth,new mi(t.changes.compose(s.changes),Nq(Kt.mapEffects(t.effects,s.changes),s.effects),s.mapped,s.startSelection,Oo)):o=vb(o,o.length,a.minDepth,t),new Fs(o,Oo,n,r)}addSelection(t,n,r,a){let i=this.done.length?this.done[this.done.length-1].selectionsAfter:Oo;return i.length>0&&n-this.prevTime<a&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&$dt(i[i.length-1],t)?this:new Fs(Rq(this.done,t),this.undone,n,r)}addMapping(t){return new Fs(Y4(this.done,t),Y4(this.undone,t),this.prevTime,this.prevUserEvent)}pop(t,n,r){let a=t==0?this.done:this.undone;if(a.length==0)return null;let i=a[a.length-1],o=i.selectionsAfter[0]||(i.startSelection?i.startSelection.map(i.changes.invertedDesc,1):n.selection);if(r&&i.selectionsAfter.length)return n.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:q3.of({side:t,rest:Idt(a),selection:o}),userEvent:t==0?"select.undo":"select.redo",scrollIntoView:!0});if(i.changes){let s=a.length==1?Oo:a.slice(0,a.length-1);
2434return i.mapped&&(s=Y4(s,i.mapped)),n.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:q3.of({side:t,rest:s,selection:o}),filter:!1,userEvent:t==0?"undo":"redo",scrollIntoView:!0})}else return null}}Fs.empty=new Fs(Oo,Oo);const Mdt=[{key:"Mod-z",run:Iq,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:Z3,preventDefault:!0},{linux:"Ctrl-Shift-z",run:Z3,preventDefault:!0},{key:"Mod-u",run:Edt,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:_dt,preventDefault:!0}],Ldt=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:!0,userEvent:"input"})),!0);function Mq(e,t){let n=-1;return e.changeByRange(r=>{let a=[];for(let o=r.from;o<=r.to;){let s=e.doc.lineAt(o);s.number>n&&(r.empty||r.to>s.from)&&(t(s,a,r),n=s.number),o=s.to+1}let i=e.changes(a);return{changes:a,range:Qe.range(i.mapPos(r.anchor,1),i.mapPos(r.head,1))}})}const Ddt=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(Mq(e,(n,r)=>{r.push({from:n.from,insert:e.facet(Qv)})}),{userEvent:"input.indent"})),!0),Bdt=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(Mq(e,(n,r)=>{let a=/^\s*/.exec(n.text)[0];if(!a)return;let i=S5(a,e.tabSize),o=0,s=oq(e,Math.max(0,i-iq(e)));for(;o<a.length&&o<s.length&&a.charCodeAt(o)==s.charCodeAt(o);)o++;r.push({from:n.from+o,to:n.from+a.length,insert:s.slice(o)})}),{userEvent:"delete.dedent"})),!0),Udt={key:"Tab",run:Ddt,shift:Bdt};var u$={};class Ob{constructor(t,n,r,a,i,o,s,l,c,u=0,d){this.p=t,this.stack=n,this.state=r,this.reducePos=a,this.pos=i,this.score=o,this.buffer=s,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=d}
vendor: 6,984 bytes, line 2434
2434toString(){return`[${this.stack.filter((t,n)=>n%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,n,r=0){let a=t.parser.context;return new Ob(t,[],n,r,r,0,[],0,a?new d$(a,a.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var n;let r=t>>19,a=t&65535,{parser:i}=this.p,o=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),s=i.dynamicPrecedence(a);if(s&&(this.score+=s),r==0){a<i.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(i.getGoto(this.state,a,!0),this.reducePos),a<i.minRepeatTerm&&this.storeNode(a,this.reducePos,this.reducePos,o?8:4,!0),this.reduceContext(a,this.reducePos);return}let l=this.stack.length-(r-1)*3-(t&262144?6:0),c=l?this.stack[l-2]:this.p.ranges[0].from;a<i.minRepeatTerm&&c==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let u=this.reducePos-c;u>=2e3&&!(!((n=this.p.parser.nodeSet.types[a])===null||n===void 0)&&n.isAnonymous)&&(c==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=c,this.p.lastBigReductionSize=u));let d=l?this.stack[l-1]:0,f=this.bufferBase+this.buffer.length-d;if(a<i.minRepeatTerm||t&131072){let p=i.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(a,c,p,f+4,!0)}if(t&262144)this.state=this.stack[l];else{let p=this.stack[l-3];this.state=i.getGoto(p,a,!0)}for(;this.stack.length>l;)this.stack.pop();this.reduceContext(a,c)}storeNode(t,n,r,a=4,i=!1){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let o=this.buffer.length;if(o>0&&this.buffer[o-4]==0&&this.buffer[o-1]>-1){if(n==r)return;if(this.buffer[o-2]>=n){this.buffer[o-2]=r;return}}}if(!i||this.pos==r)this.buffer.push(t,n,r,a);else{let o=this.buffer.length;if(o>0&&(this.buffer[o-4]!=0||this.buffer[o-1]<0)){let s=!1;for(let l=o;l>0&&this.buffer[l-2]>r;l-=4)if(this.buffer[l-1]>=0){s=!0;break}if(s)for(;o>0&&this.buffer[o-2]>r;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,a>4&&(a-=4)}this.buffer[o]=t,this.buffer[o+1]=n,this.buffer[o+2]=r,this.buffer[o+3]=a}}shift(t,n,r,a){if(t&131072)this.pushState(t&65535,this.pos);else if((t&262144)==0){let i=t,{parser:o}=this.p;this.pos=a;let s=o.stateFlag(i,1);!s&&(a>r||n<=o.maxNode)&&(this.reducePos=a),this.pushState(i,s?r:Math.min(r,this.reducePos)),this.shiftContext(n,r),n<=o.maxNode&&this.buffer.push(n,r,a,4)}else this.pos=a,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,a,4)}apply(t,n,r,a){t&65536?this.reduce(t):this.shift(t,n,r,a)}useNode(t,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=t)&&(this.p.reused.push(t),r++);let a=this.pos;this.reducePos=this.pos=a+t.length,this.pushState(n,a),this.buffer.push(r,a,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,n=t.buffer.length;for(n&&t.buffer[n-4]==0&&(n-=4);n>0&&t.buffer[n-2]>t.reducePos;)n-=4;let r=t.buffer.slice(n),a=t.bufferBase+n;for(;t&&a==t.bufferBase;)t=t.parent;return new Ob(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,a,this.curContext,this.lookAhead,t)}recoverByDelete(t,n){let r=t<=this.p.parser.maxNode;r&&this.storeNode(t,this.pos,n,4),this.storeNode(0,this.pos,n,r?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(t){for(let n=new jdt(this);;){let r=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,t);if(r==0)return!1;if((r&65536)==0)return!0;n.reduce(r)}}recoverByInsert(t){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>8||this.stack.length>=120){let a=[];for(let i=0,o;i<n.length;i+=2)(o=n[i+1])!=this.state&&this.p.parser.hasAction(o,t)&&a.push(n[i],o);if(this.stack.length<120)for(let i=0;a.length<8&&i<n.length;i+=2){let o=n[i+1];a.some((s,l)=>l&1&&s==o)||a.push(n[i],o)}n=a}let r=[];for(let a=0;a<n.length&&r.length<4;a+=2){let i=n[a+1];if(i==this.state)continue;let o=this.split();o.pushState(i,this.pos),o.storeNode(0,o.pos,o.pos,4,!0),o.shiftContext(n[a],this.pos),o.reducePos=this.pos,o.score-=200,r.push(o)}return r}forceReduce(){let{parser:t}=this.p,n=t.stateSlot(this.state,5);if((n&65536)==0)return!1;if(!t.validAction(this.state,n)){let r=n>>19,a=n&65535,i=this.stack.length-r*3;if(i<0||t.getGoto(this.stack[i],a,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;n=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(n),!0}findForcedReduction(){let{parser:t}=this.p,n=[],r=(a,i)=>{if(!n.includes(a))return n.push(a),t.allActions(a,o=>{if(!(o&393216))if(o&65536){let s=(o>>19)-i;if(s>1){let l=o&65535,c=this.stack.length-s*3;if(c>=0&&t.getGoto(this.stack[c],l,!1)>=0)return s<<19|65536|l}}else{let s=r(o,i+1);if(s!=null)return s}})};return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let n=0;n<this.stack.length;n+=3)if(this.stack[n]!=t.stack[n])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(t){return this.p.parser.dialect.flags[t]}shiftContext(t,n){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,t,this,this.p.stream.reset(n)))}reduceContext(t,n){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,t,this,this.p.stream.reset(n)))}emitContext(){let t=this.buffer.length-1;(t<0||this.buffer[t]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let t=this.buffer.length-1;(t<0||this.buffer[t]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(t){if(t!=this.curContext.context){let n=new d$(this.curContext.tracker,t);n.hash!=this.curContext.hash&&this.emitContext(),this.curContext=n}}setLookAhead(t){return t<=this.lookAhead?!1:(this.emitLookAhead(),this.lookAhead=t,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class d${constructor(t,n){this.tracker=t,this.context=n,this.hash=t.strict?t.hash(n):0}}class jdt{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let n=t&65535,r=t>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0
vendor: 16,654 bytes, line 2434
2434),this.base+=3):this.base-=(r-1)*3;let a=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=a}}class Sb{constructor(t,n,r){this.stack=t,this.pos=n,this.index=r,this.buffer=t.buffer,this.index==0&&this.maybeNext()}static create(t,n=t.bufferBase+t.buffer.length){return new Sb(t,n,n-t.bufferBase)}maybeNext(){let t=this.stack.parent;t!=null&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Sb(this.stack,this.pos,this.index)}}function jh(e,t=Uint16Array){if(typeof e!="string")return e;let n=null;for(let r=0,a=0;r<e.length;){let i=0;for(;;){let o=e.charCodeAt(r++),s=!1;if(o==126){i=65535;break}o>=92&&o--,o>=34&&o--;let l=o-32;if(l>=46&&(l-=46,s=!0),i+=l,s)break;i*=46}n?n[a++]=i:n=new t(i)}return n}class zg{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const f$=new zg;class Qdt{constructor(t,n){this.input=t,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=f$,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(t,n){let r=this.range,a=this.rangeIndex,i=this.pos+t;for(;i<r.from;){if(!a)return null;let o=this.ranges[--a];i-=r.from-o.to,r=o}for(;n<0?i>r.to:i>=r.to;){if(a==this.ranges.length-1)return null;let o=this.ranges[++a];i+=o.from-r.to,r=o}return i}clipPos(t){if(t>=this.range.from&&t<this.range.to)return t;for(let n of this.ranges)if(n.to>t)return Math.max(t,n.from);return this.end}peek(t){let n=this.chunkOff+t,r,a;if(n>=0&&n<this.chunk.length)r=this.pos+t,a=this.chunk.charCodeAt(n);else{let i=this.resolveOffset(t,1);if(i==null)return-1;if(r=i,r>=this.chunk2Pos&&r<this.chunk2Pos+this.chunk2.length)a=this.chunk2.charCodeAt(r-this.chunk2Pos);else{let o=this.rangeIndex,s=this.range;for(;s.to<=r;)s=this.ranges[++o];this.chunk2=this.input.chunk(this.chunk2Pos=r),r+this.chunk2.length>s.to&&(this.chunk2=this.chunk2.slice(0,s.to-r)),a=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),a}acceptToken(t,n=0){let r=n?this.resolveOffset(n,-1):this.pos;if(r==null||r<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=t,this.token.end=r}acceptTokenTo(t,n){this.token.value=t,this.token.end=n}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:t,chunkPos:n}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=t,this.chunk2Pos=n,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let t=this.input.chunk(this.pos),n=this.pos+t.length;this.chunk=n>this.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,n){if(n?(this.token=n,n.start=t,n.lookAhead=t+1,n.value=n.extended=-1):this.token=f$,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;t>=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t<this.chunkPos+this.chunk.length?this.chunkOff=t-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(t,n){if(t>=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,n-this.chunkPos);if(t>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,n-this.chunk2Pos);if(t>=this.range.from&&n<=this.range.to)return this.input.read(t,n);let r="";for(let a of this.ranges){if(a.from>=n)break;a.to>t&&(r+=this.input.read(Math.max(a.from,t),Math.min(a.to,n)))}return r}}class Mf{constructor(t,n){this.data=t,this.id=n}token(t,n){let{parser:r}=n.p;Lq(this.data,t,n,this.id,r.data,r.tokenPrecTable)}}Mf.prototype.contextual=Mf.prototype.fallback=Mf.prototype.extend=!1;class wb{constructor(t,n,r){this.precTable=n,this.elseToken=r,this.data=typeof t=="string"?jh(t):t}token(t,n){let r=t.pos,a=0;for(;;){let i=t.next<0,o=t.resolveOffset(1,1);if(Lq(this.data,t,n,0,this.data,this.precTable),t.token.value>-1)break;if(this.elseToken==null)return;if(i||a++,o==null)break;t.reset(o,t.token)}a&&(t.reset(r,t.token),t.acceptToken(this.elseToken,a))}}wb.prototype.contextual=Mf.prototype.fallback=Mf.prototype.extend=!1;class na{constructor(t,n={}){this.token=t,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}}function Lq(e,t,n,r,a,i){let o=0,s=1<<r,{dialect:l}=n.p.parser;e:for(;(s&e[o])!=0;){let c=e[o+1];for(let p=o+3;p<c;p+=2)if((e[p+1]&s)>0){let h=e[p];if(l.allows(h)&&(t.token.value==-1||t.token.value==h||Fdt(h,t.token.value,a,i))){t.acceptToken(h);break}}let u=t.next,d=0,f=e[o+2];if(t.next<0&&f>d&&e[c+f*3-3]==65535){o=e[c+f*3-1];continue e}for(;d<f;){let p=d+f>>1,h=c+p+(p<<1),b=e[h],y=e[h+1]||65536;if(u<b)f=p;else if(u>=y)d=p+1;else{o=e[h+2],t.advance();continue e}}break}}function p$(e,t,n){for(let r=t,a;(a=e[r])!=65535;r++)if(a==n)return r-t;return-1}function Fdt(e,t,n,r){let a=p$(n,r,t);return a<0||p$(n,r,e)<a}const Pi=typeof process<"u"&&u$&&/\bparse\b/.test(u$.LOG);let G4=null;function h$(e,t,n){let r=e.cursor($n.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}class zdt{constructor(t,n){this.fragments=t,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?h$(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?h$(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(t<this.nextStart)return null;for(;this.fragment&&this.safeTo<=t;)this.nextFragment();if(!this.fragment)return null;for(;;){let n=this.trees.length-1;if(n<0)return this.nextFragment(),null;let r=this.trees[n],a=this.index[n];if(a==r.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=r.children[a],o=this.start[n]+r.positions[a];if(o>t)return this.nextStart=o,null;if(i instanceof ur){if(o==t){if(o<this.safeFrom)return null;let s=o+i.length;if(s<=this.safeTo){let l=i.prop(rn.lookAhead);if(!l||s+l<this.fragment.to)return i}}this.index[n]++,o+i.length>=Math.max(this.safeFrom,t)&&(this.trees.push(i),this.start.push(o),this.index.push(0))}else this.index[n]++,this.nextStart=o+i.length}}}class Vdt{constructor(t,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(r=>new zg)}getActions(t){let n=0,r=null,{parser:a}=t.p,{tokenizers:i}=a,o=a.stateSlot(t.state,3),s=t.curContext?t.curContext.hash:0,l=0;for(let c=0;c<i.length;c++){if((1<<c&o)==0)continue;let u=i[c],d=this.tokens[c];if(!(r&&!u.fallback)&&((u.contextual||d.start!=t.pos||d.mask!=o||d.context!=s)&&(this.updateCachedToken(d,u,t),d.mask=o,d.context=s),d.lookAhead>d.end+25&&(l=Math.max(d.lookAhead,l)),d.value!=0)){let f=n;if(d.extended>-1&&(n=this.addActions(t,d.extended,d.end,n)),n=this.addActions(t,d.value,d.end,n),!u.extend&&(r=d,n>f))break}}for(;this.actions.length>n;)this.actions.pop();return l&&t.setLookAhead(l),!r&&t.pos==this.stream.end&&(r=new zg,r.value=t.p.parser.eofTerm,r.start=r.end=t.pos,n=this.addActions(t,r.value,r.end,n)),this.mainToken=r,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let n=new zg,{pos:r,p:a}=t;return n.start=r,n.end=Math.min(r+1,a.stream.end),n.value=r==a.stream.end?a.parser.eofTerm:0,n}updateCachedToken(t,n,r){let a=this.stream.clipPos(r.pos);if(n.token(this.stream.reset(a,t),r),t.value>-1){let{parser:i}=r.p;for(let o=0;o<i.specialized.length;o++)if(i.specialized[o]==t.value){let s=i.specializers[o](this.stream.read(t.start,t.end),r);if(s>=0&&r.p.parser.dialect.allows(s>>1)){(s&1)==0?t.value=s>>1:t.extended=s>>1;break}}}else t.value=0,t.end=this.stream.clipPos(a+1)}putAction(t,n,r,a){for(let i=0;i<a;i+=3)if(this.actions[i]==t)return a;return this.actions[a++]=t,this.actions[a++]=n,this.actions[a++]=r,a}addActions(t,n,r,a){let{state:i}=t,{parser:o}=t.p,{data:s}=o;for(let l=0;l<2;l++)for(let c=o.stateSlot(i,l?2:1);;c+=3){if(s[c]==65535)if(s[c+1]==1)c=gl(s,c+2);else{a==0&&s[c+1]==2&&(a=this.putAction(gl(s,c+2),n,r,a));break}s[c]==n&&(a=this.putAction(gl(s,c+1),n,r,a))}return a}}class Hdt{constructor(t,n,r,a){this.parser=t,this.input=n,this.ranges=a,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new Qdt(n,a),this.tokens=new Vdt(t,this.stream),this.topTerm=t.top[1];let{from:i}=a[0];this.stacks=[Ob.start(this,t.top[0],i)],this.fragments=r.length&&this.stream.end-i>t.bufferLength*4?new zdt(r,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,n=this.minStackPos,r=this.stacks=[],a,i;if(this.bigReductionCount>300&&t.length==1){let[o]=t;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<t.length;o++){let s=t[o];for(;;){if(this.tokens.mainToken=null,s.pos>n)r.push(s);else{if(this.advanceStack(s,r,t))continue;{a||(a=[],i=[]),a.push(s);let l=this.tokens.getMainToken(s);i.push(l.value,l.end)}}break}}if(!r.length){let o=a&&Zdt(a);if(o)return Pi&&console.log("Finish with "+this.stackID(o)),this.stackToTree(o);if(this.parser.strict)throw Pi&&a&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&a){let o=this.stoppedAt!=null&&a[0].pos>this.stoppedAt?a[0]:this.runRecovery(a,i,r);if(o)return Pi&&console.log("Force-finish "+this.stackID(o)),this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(r.length>o)for(r.sort((s,l)=>l.score-s.score);r.length>o;)r.pop();r.some(s=>s.reducePos>n)&&this.recovering--}else if(r.length>1){e:for(let o=0;o<r.length-1;o++){let s=r[o];for(let l=o+1;l<r.length;l++){let c=r[l];if(s.sameState(c)||s.buffer.length>500&&c.buffer.length>500)if((s.score-c.score||s.buffer.length-c.buffer.length)>0)r.splice(l--,1);else{r.splice(o--,1);continue e}}}r.length>12&&(r.sort((o,s)=>s.score-o.score),r.splice(12,r.length-12))}this.minStackPos=r[0].pos;for(let o=1;o<r.length;o++)r[o].pos<this.minStackPos&&(this.minStackPos=r[o].pos);return null}stopAt(t){if(this.stoppedAt!=null&&this.stoppedAt<t)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=t}advanceStack(t,n,r){let a=t.pos,{parser:i}=this,o=Pi?this.stackID(t)+" -> ":"";if(this.stoppedAt!=null&&a>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let c=t.curContext&&t.curContext.tracker.strict,u=c?t.curContext.hash:0;for(let d=this.fragments.nodeAt(a);d;){let f=this.parser.nodeSet.types[d.type.id]==d.type?i.getGoto(t.state,d.type.id):-1;if(f>-1&&d.length&&(!c||(d.prop(rn.contextHash)||0)==u))return t.useNode(d,f),Pi&&console.log(o+this.stackID(t)+` (via reuse of ${i.getName(d.type.id)})`),!0;if(!(d instanceof ur)||d.children.length==0||d.positions[0]>0)break;let p=d.children[0];if(p instanceof ur&&d.positions[0]==0)d=p;else break}}let s=i.stateSlot(t.state,4);if(s>0)return t.reduce(s),Pi&&console.log(o+this.stackID(t)+` (via always-reduce ${i.getName(s&65535)})`),!0;if(t.stack.length>=8400)for(;t.stack.length>6e3&&t.forceReduce(););let l=this.tokens.getActions(t);for(let c=0;c<l.length;){let u=l[c++],d=l[c++],f=l[c++],p=c==l.length||!r,h=p?t:t.split(),b=this.tokens.mainToken;if(h.apply(u,d,b?b.start:h.pos,f),Pi&&console.log(o+this.stackID(h)+` (via ${(u&65536)==0?"shift":`reduce of ${i.getName(u&65535)}`} for ${i.getName(d)} @ ${a}${h==t?"":", split"})`),p)return!0;h.pos>a?n.push(h):r.push(h)}return!1}advanceFully(t,n){let r=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>r)return m$(t,n),!0}}runRecovery(t,n,r){let a=null,i=!1;for(let o=0;o<t.length;o++){let s=t[o],l=n[o<<1],c=n[(o<<1)+1],u=Pi?this.stackID(s)+" -> ":"";if(s.deadEnd&&(i||(i=!0,s.restart(),Pi&&console.log(u+this.stackID(s)+" (restarted)"),this.advanceFully(s,r))))continue;let d=s.split(),f=u;for(let p=0;p<10&&d.forceReduce()&&(Pi&&console.log(f+this.stackID(d)+" (via force-reduce)"),!this.advanceFully(d,r));p++)Pi&&(f=this.stackID(d)+" -> ");for(let p of s.recoverByInsert(l))Pi&&console.log(u+this.stackID(p)+" (via recover-insert)"),this.advanceFully(p,r);this.stream.end>s.pos?(c==s.pos&&(c++,l=0),s.recoverByDelete(l,c),Pi&&console.log(u+this.stackID(s)+` (via recover-delete ${this.parser.getName(l)})`),m$(s,r)):(!a||a.score<d.score)&&(a=d)}return a}stackToTree(t){return t.close(),ur.build({buffer:Sb.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:t.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(t){let n=(G4||(G4=new WeakMap)).get(t);return n||G4.set(t,n=String.fromCodePoint(this.nextStackID++)),n+t}}function m$(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}class qdt{constructor(t,n,r){this.source=t,this.flags=n,this.disabled=r}allows(t){return!this.disabled||this.disabled[t]==0}}const K4=e=>e;class Hv{constructor(t){this.start=t.start,this.shift=t.shift||K4,this.reduce=t.reduce||K4,this.reuse=t.reuse||K4,this.hash=t.hash||(()=>0),this.strict=t.strict!==!1}}class zl extends eq{constructor(t){if(super(),this.wrappers=[],t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (14)`);let n=t.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let s=0;s<t.repeatNodeCount;s++)n.push("");let r=Object.keys(t.topRules).map(s=>t.topRules[s][1]),a=[];for(let s=0;s<n.length;s++)a.push([]);function i(s,l,c){a[s].push([l,l.deserialize(String(c))])}if(t.nodeProps)for(let s of t.nodeProps){let l=s[0];typeof l=="string"&&(l=rn[l]);for(let c=1;c<s.length;){let u=s[c++];if(u>=0)i(u,l,s[c++]);else{let d=s[c+-u];for(let f=-u;f>0;f--)i(s[c++],l,d);c++}}}this.nodeSet=new M5(n.map((s,l)=>ni.define({name:l>=this.minRepeatTerm?void 0:s,id:l,props:a[l],top:r.indexOf(l)>-1,error:l==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(l)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=WH;let o=jh(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let s=0;s<this.specializerSpecs.length;s++)this.specialized[s]=this.specializerSpecs[s].term;this.specializers=this.specializerSpecs.map(g$),this.states=jh(t.states,Uint32Array),this.data=jh(t.stateData),this.goto=jh(t.goto),this.maxTerm=t.maxTerm,this.tokenizers=t.tokenizers.map(s=>typeof s=="number"?new Mf(o,s):s),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,n,r){let a=new Hdt(this,t,n,r);for(let i of this.wrappers)a=i(a,t,n,r);return a}getGoto(t,n,r=!1){let a=this.goto;if(n>=a[0])return-1;for(let i=a[n+1];;){let o=a[i++],s=o&1,l=a[i++];if(s&&r)return l;for(let c=i+(o>>1);i<c;
2434i++)if(a[i]==t)return l;if(s)return-1}}hasAction(t,n){let r=this.data;for(let a=0;a<2;a++)for(let i=this.stateSlot(t,a?2:1),o;;i+=3){if((o=r[i])==65535)if(r[i+1]==1)o=r[i=gl(r,i+2)];else{if(r[i+1]==2)return gl(r,i+2);break}if(o==n||o==0)return gl(r,i+1)}return 0}stateSlot(t,n){return this.states[t*6+n]}stateFlag(t,n){return(this.stateSlot(t,0)&n)>0}validAction(t,n){return!!this.allActions(t,r=>r==n?!0:null)}allActions(t,n){let r=this.stateSlot(t,4),a=r?n(r):void 0;for(let i=this.stateSlot(t,1);a==null;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=gl(this.data,i+2);else break;a=n(gl(this.data,i+1))}return a}nextStates(t){let n=[];for(let r=this.stateSlot(t,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=gl(this.data,r+2);else break;if((this.data[r+2]&1)==0){let a=this.data[r+1];n.some((i,o)=>o&1&&i==a)||n.push(this.data[r],a)}}return n}configure(t){let n=Object.assign(Object.create(zl.prototype),this);if(t.props&&(n.nodeSet=this.nodeSet.extend(...t.props)),t.top){let r=this.topRules[t.top];if(!r)throw new RangeError(`Invalid top rule name ${t.top}`);n.top=r}return t.tokenizers&&(n.tokenizers=this.tokenizers.map(r=>{let a=t.tokenizers.find(i=>i.from==r);return a?a.to:r})),t.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((r,a)=>{let i=t.specializers.find(s=>s.from==r.external);if(!i)return r;let o=Object.assign(Object.assign({},r),{external:i.to});return n.specializers[a]=g$(o),o})),t.contextTracker&&(n.context=t.contextTracker),t.dialect&&(n.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(n.strict=t.strict),t.wrap&&(n.wrappers=n.wrappers.concat(t.wrap)),t.bufferLength!=null&&(n.bufferLength=t.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let n=this.dynamicPrecedences;return n==null?0:n[t]||0}parseDialect(t){let n=Object.keys(this.dialects),r=n.map(()=>!1);if(t)for(let i of t.split(" ")){let o=n.indexOf(i);o>=0&&(r[o]=!0)}let a=null;for(let i=0;i<n.length;i++)if(!r[i])for(let o=this.dialects[n[i]],s;(s=this.data[o++])!=65535;)(a||(a=new Uint8Array(this.maxTerm+1)))[s]=1;return new qdt(t,r,a)}static deserialize(t){return new zl(t)}}function gl(e,t){return e[t]|e[t+1]<<16}function Zdt(e){let t=null;for(let n of e){let r=n.p.stoppedAt;(n.pos==n.p.stream.end||r!=null&&n.pos>r)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}function g$(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}const Xdt=135,b$=1,Wdt=136,Ydt=137,Dq=2,Gdt=138,Kdt=3,Jdt=4,Bq=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],eft=58,tft=40,Uq=95,nft=91,Vg=45,rft=46,aft=35,ift=37,oft=38,sft=92,lft=10,cft=42;function Km(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function G5(e){return e>=48&&e<=57}function y$(e){return G5(e)||e>=97&&e<=102||e>=65&&e<=70}const jq=(e,t,n)=>(r,a)=>{for(let i=!1,o=0,s=0;;s++){let{next:l}=r;if(Km(l)||l==Vg||l==Uq||i&&G5(l))!i&&(l!=Vg||s>0)&&(i=!0),o===s&&l==Vg&&o++,r.advance();else if(l==sft&&r.peek(1)!=lft){if(r.advance(),y$(r.next)){do r.advance();while(y$(r.next));r.next==32&&r.advance()}else r.next>-1&&r.advance();i=!0}else{i&&r.acceptToken(o==2&&a.canShift(Dq)?t:l==tft?n:e);break}}},uft=new na(jq(Wdt,Dq,Ydt),{contextual:!0}),dft=new na(jq(Gdt,Kdt,Jdt),{contextual:!0}),fft=new na(e=>{if(Bq.includes(e.peek(-1))){let{next:t}=e;(Km(t)||t==Uq||t==aft||t==rft||t==cft||t==nft||t==eft&&Km(e.peek(1))||t==Vg||t==oft)&&e.acceptToken(Xdt)}}),pft=new na(e=>{if(!Bq.includes(e.peek(-1))){let{next:t}=e;if(t==ift&&(e.advance(),e.acceptToken(b$)),Km(t)){do e.advance();while(Km(e.next)||G5(e.next));e.acceptToken(b$)}}}),hft=Dd({"AtKeyword import charset namespace keyframes media supports font-feature-values":Z.definitionKeyword,"from to selector scope MatchFlag":Z.keyword,NamespaceName:Z.namespace,KeyframeName:Z.labelName,KeyframeRangeName:Z.operatorKeyword,TagName:Z.tagName,ClassName:Z.className,PseudoClassName:Z.constant(Z.className),IdName:Z.labelName,"FeatureName PropertyName":Z.propertyName,AttributeName:Z.attributeName,NumberLiteral:Z.number,KeywordQuery:Z.keyword,UnaryQueryOp:
2434Z.operatorKeyword,"CallTag ValueName FontName":Z.atom,VariableName:Z.variableName,Callee:Z.operatorKeyword,Unit:Z.unit,"UniversalSelector NestingSelector":Z.definitionOperator,"MatchOp CompareOp":Z.compareOperator,"ChildOp SiblingOp, LogicOp":Z.logicOperator,BinOp:Z.arithmeticOperator,Important:Z.modifier,Comment:Z.blockComment,ColorLiteral:Z.color,"ParenthesizedContent StringLiteral":Z.string,":":Z.punctuation,"PseudoOp #":Z.derefOperator,"; , |":Z.separator,"( )":Z.paren,"[ ]":Z.squareBracket,"{ }":Z.brace}),mft={__proto__:null,lang:44,"nth-child":44,"nth-last-child":44,"nth-of-type":44,"nth-last-of-type":44,dir:44,"host-context":44,if:90,url:132,"url-prefix":132,domain:132,regexp:132},gft={__proto__:null,or:104,and:104,not:112,only:112,layer:186},bft={__proto__:null,selector:118,layer:182},yft={__proto__:null,"@import":178,"@media":190,"@charset":194,"@namespace":198,"@keyframes":204,"@supports":216,"@scope":220,"@font-feature-values":226},vft={__proto__:null,to:223},Oft=zl.deserialize({version:14,states:"IpQYQdOOO#}QdOOP$UO`OOO%OQaO'#CfOOQP'#Ce'#CeO%VQdO'#CgO%[Q`O'#CgO%aQaO'#FdO&XQdO'#CkO&xQaO'#CcO'SQdO'#CnO'_QdO'#DtO'dQdO'#DvO'oQdO'#D}O'oQdO'#EQOOQP'#Fd'#FdO)OQhO'#EsOOQS'#Fc'#FcOOQS'#Ev'#EvQYQdOOO)VQdO'#EWO*cQhO'#E^O)VQdO'#E`O*jQdO'#EbO*uQdO'#EeO)zQhO'#EkO*}QdO'#EmO+YQdO'#EpO+_QaO'#CfO+fQ`O'#ETO+kQ`O'#FnO+vQdO'#FnQOQ`OOP,QO&jO'#CaPOOO)CAR)CAROOQP'#Ci'#CiOOQP,59R,59RO%VQdO,59ROOQP'#Cm'#CmOOQP,59V,59VO&XQdO,59VO,]QdO,59YO'_QdO,5:`O'dQdO,5:bO'oQdO,5:iO'oQdO,5:kO'oQdO,5:lO'oQdO'#E}O,hQ`O,58}O,pQdO'#ESOOQS,58},58}OOQP'#Cq'#CqOOQO'#Dr'#DrOOQP,59Y,59YO,wQ`O,59YO,|Q`O,59YOOQP'#Du'#DuOOQP,5:`,5:`O-RQpO'#DwO-^QdO'#DxO-cQ`O'#DxO-hQpO,5:bO.RQaO,5:iO.iQaO,5:lOOQW'#D^'#D^O/eQhO'#DgO/xQhO,5;_O)zQhO'#DeO0VQ`O'#DkO0[QhO'#DnOOQW'#Fj'#FjOOQS,5;_,5;_O0aQ`O'#DhOOQS-E8t-E8tOOQ['#Cv'#CvO0fQdO'#CwO0|QdO'#C}O1dQdO'#DQO1zQ!pO'#DSO4TQ!jO,5:rOOQO'#DX'#DXO,|Q`O'#DWO4eQ!nO'#FgO6hQ`O'#DYO6mQ`O'#DoOOQ['#Fg'#FgO6rQhO'#FqO7QQ`O,5:xO7VQ!bO,5:zOOQS'#Ed'#EdO7_Q`O,5:|O7dQdO,5:|OOQO'#Eg'#EgO7lQ`O,5;PO7qQhO,5;VO'oQdO'#DjOOQS,5;X,5;XO0aQ`O,5;XO7yQdO,5;XOOQS'#FU'#FUO8RQdO'#ErO7QQ`O,5;[O8ZQdO,5:oO8kQdO'#FPO8xQ`O,5<YO8xQ`O,5<YPOOO'#Eu'#EuP9TO&jO,58{POOO,58{,58{OOQP1G.m1G.mOOQP1G.q1G.qOOQP1G.t1G.tO,wQ`O1G.tO,|Q`O1G.tOOQP1G/z1G/zO9`QpO1G/|O9hQaO1G0TO:OQaO1G0VO:fQaO1G0WO:|QaO,5;iOOQO-E8{-E8{OOQS1G.i1G.iO;WQ`O,5:nO;]QdO'#DsO;dQdO'#CuOOQO'#Dz'#DzOOQO,5:d,5:dO-^QdO,5:dOOQP1G/|1G/|O)VQdO1G/|O;kQ!jO'#D^O;yQ!bO,59yO<RQhO,5:ROOQO'#Fk'#FkO;|Q!bO,59}O<ZQhO'#FVO)zQhO,59{O)zQhO'#FVO=OQhO1G0yOOQS1G0y1G0yO=YQhO,5:PO>QQhO'#DlOOQW,5:V,5:VOOQW,5:Y,5:YOOQW,5:S,5:SO>[Q!fO'#FhOOQS'#Fh'#FhOOQS'#Ex'#ExO?lQdO,59cOOQ[,59c,59cO@SQdO,59iOOQ[,59i,59iO@jQdO,59lOOQ[,59l,59lOOQ[,59n,59nO)VQdO,59pOAQQhO'#EYOOQW'#EY'#EYOAlQ`O1G0^O4^QhO1G0^OOQ[,59r,59rO)zQhO'#D[OOQ[,59t,59tOAqQ#tO,5:ZOA|QhO'#FROBZQ`O,5<]OOQS1G0d1G0dOOQS1G0f1G0fOOQS1G0h1G0hOBfQ`O1G0hOBkQdO'#EhOOQS1G0k1G0kOOQS1G0q1G0qOBvQaO,5:UO7QQ`O1G0sOOQS1G0s1G0sO0aQ`O1G0sOOQS-E9S-E9SOOQS1G0v1G0vOB}Q!fO1G0ZOCeQ`O'#EVOOQO1G0Z1G0ZOOQO,5;k,5;kOCjQdO,5;kOOQO-E8}-E8}OCwQ`O1G1tPOOO-E8s-E8sPOOO1G.g1G.gOOQP7+$`7+$`OOQP7+%h7+%hO)VQdO7+%hOOQS1G0Y1G0YODSQaO'#FmOD^Q`O,5:_ODcQ!fO'#EwOEaQdO'#FfOEkQ`O,59aOOQO1G0O1G0OOEpQ!bO7+%hO)VQdO1G/eOE{QhO1G/iOOQW1G/m1G/mOOQW1G/g1G/gOF^QhO,5;qOOQW-E9T-E9TOOQS7+&e7+&eOGRQhO'#D^OGaQhO'#FlOGlQ`O'#FlOGqQ`O,5:WOOQS-E8v-E8vOOQ[1G.}1G.}OOQ[1G/T1G/TOOQ[1G/W1G/WOOQ[1G/[1G/[OGvQdO,5:tOOQS7+%x7+%xOG{Q`O7+%xOHQQhO'#D]OHYQ`O,59vO)zQhO,59vOOQ[1G/u1G/uOHbQ`O1G/uOHgQhO,5;mOOQO-E9P-E9POOQS7+&S7+&SOHuQbO'#DSOOQO'#Ej'#EjOITQ`O'#EiOOQO'#Ei'#EiOI`Q`O'#FSOIhQdO,5;SOOQS,5;S,5;SOOQ[1G/p1G/pOOQS7+&_7+&_O7QQ`O7+&_OIsQ!fO'#FOO)VQdO'#FOOJzQdO7+%uOOQO7+%u7+%uOOQO,5:q,5:qOOQO1G1V1G1VOK_Q!bO<<ISOKjQdO'#E|OKtQ`O,5<XOOQP1G/y1G/yOOQS-E8u-E8uOK|QdO'#E{OLWQ`O,5<QOOQ]1G.{1G.{OOQP<<IS<<ISOL`Q`O<<ISOLeQdO7+%POOQO'#D`'#D`OLlQ!bO7+%TOLtQhO'#EzOMRQ`O,5<WO)VQdO,5<WOOQW1G/r1G/rOOQO'#E['#E[OMZQ`O1G0`OOQS<<Id<<IdO)VQdO,59wOMzQhO1G/bOOQ[1G/b1G/bONRQ`O1G/bOOQW-E8w-E8wOOQ[7+%a7+%aOOQO,5;T,5;TOBnQdO'#FTOI`Q`O,5;nOOQS,5;n,5;nOOQS-E9Q-E9QOOQS1G0n1G0nOOQS<<Iy<<IyONZQ!fO,5;jOOQS-E8|-E8|OOQO<<Ia<<IaOOQPAN>nAN>nO! bQ`OAN>nO! gQaO,5;hOOQO-E8z-E8zO! qQdO,5;gOOQO-E8y-E8yOOQW<<Hk<<HkOOQW<<Ho<<HoO! {QhO<<HoO!!^QhO,5;fO!!iQ`O,5;fOOQO-E8x-E8xO!!nQdO1G1rOGvQdO'#FQO!!xQ`O7+%zOOQW7+%z7+%zO!#QQ!bO1G/cOOQ[7+$|7+$|O!#]QhO7+$|P!#dQ`O'#EyOOQO,5;o,5;oOOQO-E9R-E9ROOQS1G1Y1G1YOOQPG24YG24YO!#iQ`OAN>ZO)VQdO1G1QO!#nQ`O7+'^OOQO,5;l,5;lOOQO-E9O-E9OOOQW<<If<<IfOOQ[<<Hh<<HhPOQW,5;e,5;eOOQWG23uG23uO!#vQdO7+&l",stateData:"!$Z~O$QOS$RQQ~OWVO^_O`WOcYOdYOl`OmZOp[O!r]O!u^O!{dO#ReO#TfO#VgO#YhO#`iO#bjO#ekO#|RO$XTO~OQmOWVO^_O`WOcYOdYOl`OmZOp[O!r]O!u^O!{dO#ReO#TfO#VgO#YhO#`iO#bjO#ekO#|lO$XTO~O#z$bP~P!jO$RqO~O`YXcYXdYXmYXpYXsYX!aYX!rYX!uYX#{YX$X[X~OgYX~P$ZO#|sO~O$XuO~O$XuO`$WXc$WXd$WXm$WXp$WXs$WX!a$WX!r$WX!u$WX#{$WXg$WX~O#|vO~O`xOcyOdyOmzOp{O!r|O!u!OO#{}O~Os!RO!a!PO~P&^Of!XO#|!TO#}!UO~O#|!YO~OW!^O#|![O$X!]O~OWVO^_O`WOcYOdYOmZOp[O!r]O!u^O#|RO$XTO~OS!fOc!gOd!gOh!cOs!RO!Y!eO!]!jO$O!bO~On!iO~P(dOQ!tOh!mOp!nOs!oOu!wOw!wO}!uO!d!vO#|!lO#}!rO$]!pO~OS!fOc!gOd!gOh!cO!Y!eO!]!jO$O!bO~Os$eP~P)zOw!|O!d!vO#|!{O~Ow#OO#|#OO~Oh#ROs!RO#c#TO~O#|#VO~Oc!xX~P$ZOc#YO~On#ZO#z$bXr$bX~O#z$bXr$bX~P!jO$S#^O$T#^O$U#`O~Of#eO#|!TO#}!UO~Os!RO!a!PO~Or$bP~P!jOh#oO~Oh#pO~Oo!kX!o!kX$X!mX~O#|#qO~O$X#sO~Oo#tO!o#uO~O`xOcyOdyOmzOp{O~Os!qa!a!qa!r!qa!u!qa#{!qag!qa~P-pOs!ta!a!ta!r!ta!u!ta#{
2434!tag!ta~P-pOS!fOc!gOd!gOh!cO!Y!eO!]!jO~OR#yOu#yOw#yO$O#vO$]!pO~P/POn$PO!U#|O!a#}O~P(dOh$RO~O$O$TO~Oh#RO~O`$WOc$WOg$ZOl$WOm$WOn$WO~P)VO`$WOc$WOl$WOm$WOn$WOo$]O~P)VO`$WOc$WOl$WOm$WOn$WOr$_O~P)VOP$`OSvXcvXdvXhvXnvXyvX!YvX!]vX!}vX#PvX$OvX!WvXQvX`vXgvXlvXmvXpvXsvXuvXwvX}vX!dvX#|vX#}vX$]vXovXrvX!avX#zvX$dvX!pvX~Oy$aO!}$bO#P$cOn$eP~P)zOh#pOS$ZXc$ZXd$ZXn$ZXy$ZX!Y$ZX!]$ZX!}$ZX#P$ZX$O$ZXQ$ZX`$ZXg$ZXl$ZXm$ZXp$ZXs$ZXu$ZXw$ZX}$ZX!d$ZX#|$ZX#}$ZX$]$ZXo$ZXr$ZX!a$ZX#z$ZX$d$ZX!p$ZX~Oh$gO~Oh$iO~O!U#|O!a$jOs$eXn$eX~Os!RO~On$mOy$aO~On$nO~Ow$oO!d!vO~Os$pO~Os!RO!U#|O~Os!RO#c$vO~O#|#VOs#fX~O$d$zOn!wa#z!war!wa~P)VOn#sX#z#sXr#sX~P!jOn#ZO#z$bar$ba~O$S#^O$T#^O$U%RO~Oo%TO!o%UO~Os!qi!a!qi!r!qi!u!qi#{!qig!qi~P-pOs!si!a!si!r!si!u!si#{!sig!si~P-pOs!ti!a!ti!r!ti!u!ti#{!tig!ti~P-pOs#qa!a#qa~P&^Or%VO~Og$aP~P'oOg$YP~P)VOc!SXg!QX!U!QX!W!SX~Oc%_O!W%`O~Og%aO!U#|O~O!U#|OS#yXc#yXd#yXh#yXn#yXs#yX!Y#yX!]#yX!a#yX$O#yX~On%eO!a#}O~P(dO!U#|OS!Xac!Xad!Xah!Xan!Xas!Xa!Y!Xa!]!Xa!a!Xa$O!Xag!Xa~O$O%fOg$`P~P/POy$aOQ$[X`$[Xc$[Xg$[Xh$[Xl$[Xm$[Xn$[Xp$[Xs$[Xu$[Xw$[X}$[X!d$[X#|$[X#}$[X$]$[Xo$[Xr$[X~O`$WOc$WOg%kOl$WOm$WOn$WO~P)VO`$WOc$WOl$WOm$WOn$WOo%lO~P)VO`$WOc$WOl$WOm$WOn$WOr%mO~P)VOh%oOS!|Xc!|Xd!|Xn!|X!Y!|X!]!|X$O!|X~On%pO~Og%uOw%vO!e%vO~Os#uX!a#uXn#uX~P)zO!a$jOs$ean$ea~On%yO~Or&QO#|%{O$]%zO~Og&RO~P&^Oy$aO!a&VO$d$zOn!wi#z!wir!wi~P)VO$c&YO~On#sa#z#sar#sa~P!jOn#ZO#z$bir$bi~O!a&]Og$aX~P&^Og&_O~Oy$aOQ#kXg#kXh#kXp#kXs#kXu#kXw#kX}#kX!a#kX!d#kX#|#kX#}#kX$]#kX~O!a&aOg$YX~P)VOg&cO~Oo&dOy$aO!p&eO~OR#yOu#yOw#yO$O&gO$]!pO~O!U#|OS#yac#yad#yah#yan#yas#ya!Y#ya!]#ya!a#ya$O#ya~Oc!SXg!QX!U!QX!a!QX~O!U#|O!a&iOg$`X~Oc&kO~Og&lO~O#|&mO~On&oO~Oc&pO!U#|O~Og&rOn&qO~Og&uO~O!U#|Os#ua!a#uan#ua~OP$`OsvX!avXgvX~O$]%zOs#]X!a#]X~Os!RO!a&wO~Or&{O#|%{O$]%zO~Oy$aOQ#rXh#rXn#rXp#rXs#rXu#rXw#rX}#rX!a#rX!d#rX#z#rX#|#rX#}#rX$]#rX$d#rXr#rX~O!a&VO$d$zOn!wq#z!wqr!wq~P)VOo'QOy$aO!p'RO~Og#pX!a#pX~P'oO!a&]Og$aa~Og#oX!a#oX~P)VO!a&aOg$Ya~Oo'QO~Og'WO~P)VOg'XO!W'YO~O$O%fOg#nX!a#nX~P/PO!a&iOg$`a~O`'_Og'aO~OS#mac#mad#mah#ma!Y#ma!]#ma$O#ma~Og'cO~PMcOg'cOn'dO~Oy$aOQ#rah#ran#rap#ras#rau#raw#ra}#ra!a#ra!d#ra#z#ra#|#ra#}#ra$]#ra$d#rar#ra~Oo'iO~Og#pa!a#pa~P&^Og#oa!a#oa~P)VOR#yOu#yOw#yO$O&gO$]%zO~O!U#|Og#na!a#na~Oc'kO~O!a&iOg$`i~P)VO`'_Og'oO~Oy$aOg!Pin!Pi~Og'pO~PMcOn'qO~Og'rO~O!a&iOg$`q~Og#nq!a#nq~P)VO$Q!e$R$]`$]y!u~",goto:"4h$fPPPPP$gP$jP$s%V$s%i%{P$sP&R$sPP&XPPP&_&i&iPPPPP&iPP&iP'VP&iP&i(Q&iP(n(q(w(w)Z(wP(wP(wP(w(wP)j(w)vP(w)yPP*m*s$s*y$s+P+P+V+ZPP$sP$s$sP+a,],j,q$jP,zP,}P$jP$jP$jP-T$jP-W-Z-^-e$jP$jPP$jP-j$jP-m-s.S.j.x/O/Y/`/f/l/r/|0S0Y0`0f0lPPPPPPPPPPP0r0{P1q1t2vP3O3x4R4U4XPP4_RrQ_aOPco!R#Z$}q_OP]^co|}!O!P!R#R#Z#o$}&]qSOP]^co|}!O!P!R#R#Z#o$}&]qUOP]^co|}!O!P!R#R#Z#o$}&]QtTR#auQwWR#bxQ!VYR#cyQ#c!XS$f!s!tR%S#e!V!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p'U'^'k's!U!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p'U'^'k'sU#y!c%`'YU%}$p&P&wR&v%|!V!sdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p'U'^'k'sR$h!uQ%s$gR&s%tq!h`ei!c!d!e!q#|#}$O$R$e$g$j%t&iQ#w!cQ%h$RQ&h%`Q'[&iR'j'YQ#UjQ$U!jQ$t#TR&T$vR$S!f!U!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p'U'^'k'sQ!|gR$o!}Q!WYR#dyQ#c!WR%S#dQ!ZZR#fzQ!_[R#g{T!^[{Q#r!]R%]#sQ!SXQ!i`Q#SjQ#m!QQ$P!dQ$l!yQ$r#QQ$u#UQ$x#XQ%e$OQ&S$tQ&y&OQ&|&TR'h&xSnP!RQ#]oQ$|#ZR&Z$}ZmPo!R#Z$}Q${#YQ&X$yR'P&WR$e!qQ&n%oR'm'_R!}gR#PhR$q#PS&O$p&PR'f&wV%|$p&P&wR#XkQ#_qR%Q#_QcOSoP!RU!kco$}R$}#ZQ%Z#pY&`%Z&f'U'^'sQ&f%_Q'U&aQ'^&kR's'kQ$Y!mQ$[!nQ$^!oV%j$Y$[$^Q%t$gR&t%tQ&j%gS']&j'lR'l'^Q&b%ZR'V&bQ&^%WR'T&^Q!QXR#l!QQ&W$yR'O&WQ#[nS%O#[%PR%P#]Q'`&nR'n'`Q$k!xR%x$kQ&P$pR&z&PQ&x&OR'g&xQ#WkR$w#WQ$O!dR%d$O_bOPco!R#Z$}^XOPco!R#Z$}Q!`]Q!a^Q#h|Q#i}Q#j!OQ#k!PQ$s#RQ%W#oR'S&]R%[#pQ!qdQ!zf[$V!m!n!o$Y$[$^Q$y#Yd%Y#p%Z%_&a&f&k'U'^'k'sQ%^#uQ%n$aS&U$y&WQ&[%UQ&}&VR'b&p]$X!m!n!o$Y$[$^Q!d`U!xe!q$eQ#QiQ#x!cS#{!d$OQ$Q!eQ%b#|Q%c#}Q%g$RS%r$g%tQ%w$jR'Z&iQ#z!cQ&h%`R'j'YR%i$RR%X#oQpPR#n!RQ!yeQ$d!qR%q$e",nodeNames:"â Unit VariableName VariableName QueryCallee Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NamespacedTagSelector NamespaceName TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector CallQuery ArgList , PseudoQuery CallLiteral CallTag ParenthesizedContent PseudoClassName Arg
2434List IdSelector IdName AttributeSelector AttributeName NamespacedAttribute NamespaceName AttributeName MatchOp MatchFlag ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to FontFeatureStatement font-feature-values FontName AtRule Styles",maxTerm:159,nodeProps:[["isolate",-2,5,39,""],["openedBy",23,"(",31,"[",34,"{"],["closedBy",24,")",32,"]",35,"}"]],propSources:[hft],skippedNodes:[0,5,117],repeatNodeCount:17,tokenData:"K`~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu2Xuv%Zvw3Rwx3dxy5Ryz5dz{5i{|6S|}:u}!O;W!O!P;u!P!Q<^!Q![=V![!]>Q!]!^>|!^!_?_!_!`@Z!`!a@n!a!b%Z!b!cAo!c!k%Z!k!lC|!l!u%Z!u!vC|!v!}%Z!}#OD_#O#P%Z#P#QDp#Q#R2X#R#]%Z#]#^ER#^#g%Z#g#hC|#h#o%Z#o#pIf#p#qIw#q#rJ`#r#sJq#s#y%Z#y#z&R#z$f%Z$f$g&R$g#BY%Z#BY#BZ&R#BZ$IS%Z$IS$I_&R$I_$I|%Z$I|$JO&R$JO$JT%Z$JT$JU&R$JU$KV%Z$KV$KW&R$KW&FU%Z&FU&FV&R&FV;'S%Z;'S;=`KY<%lO%Z`%^SOy%jz;'S%j;'S;=`%{<%lO%j`%oS!e`Oy%jz;'S%j;'S;=`%{<%lO%j`&OP;=`<%l%j~&Wh$Q~OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%j~'yh$Q~!e`OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%jj)jS$dYOy%jz;'S%j;'S;=`%{<%lO%j~)yWOY)vZr)vrs*cs#O)v#O#P*h#P;'S)v;'S;=`+d<%lO)v~*hOw~~*kRO;'S)v;'S;=`*t;=`O)v~*wXOY)vZr)vrs*cs#O)v#O#P*h#P;'S)v;'S;=`+d;=`<%l)v<%lO)v~+gP;=`<%l)vj+oYmYOy%jz!Q%j!Q![,_![!c%j!c!i,_!i#T%j#T#Z,_#Z;'S%j;'S;=`%{<%lO%jj,dY!e`Oy%jz!Q%j!Q![-S![!c%j!c!i-S!i#T%j#T#Z-S#Z;'S%j;'S;=`%{<%lO%jj-XY!e`Oy%jz!Q%j!Q![-w![!c%j!c!i-w!i#T%j#T#Z-w#Z;'S%j;'S;=`%{<%lO%jj.OYuY!e`Oy%jz!Q%j!Q![.n![!c%j!c!i.n!i#T%j#T#Z.n#Z;'S%j;'S;=`%{<%lO%jj.uYuY!e`Oy%jz!Q%j!Q![/e![!c%j!c!i/e!i#T%j#T#Z/e#Z;'S%j;'S;=`%{<%lO%jj/jY!e`Oy%jz!Q%j!Q![0Y![!c%j!c!i0Y!i#T%j#T#Z0Y#Z;'S%j;'S;=`%{<%lO%jj0aYuY!e`Oy%jz!Q%j!Q![1P![!c%j!c!i1P!i#T%j#T#Z1P#Z;'S%j;'S;=`%{<%lO%jj1UY!e`Oy%jz!Q%j!Q![1t![!c%j!c!i1t!i#T%j#T#Z1t#Z;'S%j;'S;=`%{<%lO%jj1{SuY!e`Oy%jz;'S%j;'S;=`%{<%lO%jd2[UOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jd2uS!oS!e`Oy%jz;'S%j;'S;=`%{<%lO%jb3WS^QOy%jz;'S%j;'S;=`%{<%lO%j~3gWOY3dZw3dwx*cx#O3d#O#P4P#P;'S3d;'S;=`4{<%lO3d~4SRO;'S3d;'S;=`4];=`O3d~4`XOY3dZw3dwx*cx#O3d#O#P4P#P;'S3d;'S;=`4{;=`<%l3d<%lO3d~5OP;=`<%l3dj5WShYOy%jz;'S%j;'S;=`%{<%lO%j~5iOg~n5pUWQyWOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jj6ZWyW!uQOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;'S%j;'S;=`%{<%lO%jj6xU!e`Oy%jz!Q%j!Q![7[![;'S%j;'S;=`%{<%lO%jj7cY!e`$]YOy%jz!Q%j!Q![7[![!g%j!g!h8R!h#X%j#X#Y8R#Y;'S%j;'S;=`%{<%lO%jj8WY!e`Oy%jz{%j{|8v|}%j}!O8v!O!Q%j!Q![9_![;'S%j;'S;=`%{<%lO%jj8{U!e`Oy%jz!Q%j!Q![9_![;'S%j;'S;=`%{<%lO%jj9fU!e`$]YOy%jz!Q%j!Q![9_![;'S%j;'S;=`%{<%lO%jj:P[!e`$]YOy%jz!O%j!O!P7[!P!Q%j!Q![9x![!g%j!g!h8R!h#X%j#X#Y8R#Y;'S%j;'S;=`%{<%lO%jj:zS!aYOy%jz;'S%j;'S;=`%{<%lO%jj;]WyWOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;'S%j;'S;=`%{<%lO%jj;zU`YOy%jz!Q%j!Q![7[![;'S%j;'S;=`%{<%lO%j~<cTyWOy%jz{<r{;'S%j;'S;=`%{<%lO%j~<yS!e`$R~Oy%jz;'S%j;'S;=`%{<%lO%jj=[[$]YOy%jz!O%j!O!P7[!P!Q%j!Q![9x![!g%j!g!h8R!h#X%j#X#Y8R#Y;'S%j;'S;=`%{<%lO%jj>VUcYOy%jz![%j![!]>i!];'S%j;'S;=`%{<%lO%jj>pSdY!e`Oy%jz;'S%j;'S;=`%{<%lO%jj?RSnYOy%jz;'S%j;'S;=`%{<%lO%jh?dU!WWOy%jz!_%j!_!`?v!`;'S%j;'S;=`%{<%lO%jh?}S!WW!e`Oy%jz;'S%j;'S;=`%{<%lO%jl@bS!WW!oSOy%jz;'S%j;'S;=`%{<%lO%jj@uV!rQ!WWOy%jz!_%j!_!`?v!`!aA[!a;'S%j;'S;=`%{<%lO%jbAcS!rQ!e`Oy%jz;'S%j;'S;=`%{<%lO%jjArYOy%jz}%j}!OBb!O!c%j!c!}CP!}#T%j#T#oCP#o;'S%j;'S;=`%{<%lO%jjBgW!e`Oy%jz!c%j!c!}CP!}#T%j#T#oCP#o;'S%j;'S;=`%{<%lO%jjCW[lY!e`Oy%jz}%j}!OCP!O!Q%j!Q![CP![!c%j!c!}CP!}#T%j#T#oCP#o;'S%j;'S;=`%{<%lO%jhDRS!pWOy%jz;'S%j;'S;=`%{<%lO%jjDdSpYOy%jz;'S%j;'S;=`%{<%lO%jnDuSo^Oy%jz;'S%j;'S;=`%{<%lO%jjEWU!pWOy%jz#a%j#a#bEj#b;'S%j;'S;=`%{<%lO%jbEoU!e`Oy%jz#d%j#d#eFR#e;'S%j;'S;=`%{<%lO%jbFWU!e`Oy%jz#c%j#c#dFj#d;'S%j;'S;=`%{<%lO%jbFoU!e`Oy%jz#f%j#f#gGR#g;'S%j;'S;=`%{<%lO%jbGWU!e`Oy%jz#h%j#h#iGj#i;'S%j;'S;=`%{<%lO%jbGoU!e`Oy%jz#T%j#T#UHR#U;'S%j;'S;=`%{<%lO%jbHWU!e`Oy%jz#b%j#b#cHj#c;'S%j;'S;=`%{<%lO%jbHoU!e`Oy%jz#h%j#h#iIR#i;'S%j;'S;=`%{<%lO%jbIYS$cQ!e`Oy%jz;'S%j;'S;=`%{<%lO%jjIkSsYOy%jz;'S%j;'S;=`%{<%lO%jfI|U$XUOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jjJeSrYOy%jz;'S%j;'S;=`%{<%lO%jfJvU!uQOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%j`K]P;=`<%l%Z",tokenizers:[fft,pft,uft,dft,1,2,3,4,new wb("m~RRYZ[z{a~~g~aO$T~~dP!P!Qg~lO$U~~",28,142)],topRules:{StyleSheet:[0,6],Styles:[1,116]},dynamicPrecedences:{84:1},specialized:[{term:137,get:e=>mft[e]||-1},{term:138,get:e=>gft[e]||-1},{term:4,get:e=>bft[e]||-1},{term:28,get:e=>yft[e]||-1},{term:136,get:e=>vft[e]||-1}],tokenPrec:2256});let J4=null;function eS(){if(!J4&&typeof document=="object"&&document.body){let{style:e}=document.body,t=[],n=new Set;
vendor: 4,127 bytes, line 2434
2434for(let r in e)r!="cssText"&&r!="cssFloat"&&typeof e[r]=="string"&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,a=>"-"+a.toLowerCase())),n.has(r)||(t.push(r),n.add(r)));J4=t.sort().map(r=>({type:"property",label:r,apply:r+": "}))}return J4||[]}const v$=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),O$=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","regi
2434on","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),Sft=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),wft=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supp
2434orts","@view-transition"].map(e=>({type:"keyword",label:e})),fl=/^(\w[\w-]*|-\w[\w-]*|)$/,xft=/^-(-[\w-]*)?$/;function kft(e,t){var n;if((e.name=="("||e.type.isError)&&(e=e.parent||e),e.name!="ArgList")return!1;let r=(n=e.parent)===null||n===void 0?void 0:n.firstChild;return r?.name!="Callee"?!1:t.sliceString(r.from,r.to)=="var"}const S$=new JH,Aft=["Declaration"];function Tft(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function Qq(e,t,n){if(t.to-t.from>4096){let r=S$.get(t);if(r)return r;let a=[],i=new Set,o=t.cursor($n.IncludeAnonymous);if(o.firstChild())do for(let s of Qq(e,o.node,n))i.has(s.label)||(i.add(s.label),a.push(s));while(o.nextSibling());return S$.set(t,a),a}else{let r=[],a=new Set;return t.cursor().iterate(i=>{var o;if(n(i)&&i.matchContext(Aft)&&((o=i.node.nextSibling)===null||o===void 0?void 0:o.name)==":"){let s=e.sliceString(i.from,i.to);a.has(s)||(a.add(s),r.push({label:s,type:"variable"}))}}),r}}const Eft=e=>t=>{let{state:n,pos:r}=t,a=Ir(n).resolveInner(r,-1),i=a.type.isError&&a.from==a.to-1&&n.doc.sliceString(a.from,a.to)=="-";if(a.name=="PropertyName"||(i||a.name=="TagName")&&/^(Block|Styles)$/.test(a.resolve(a.to).name))return{from:a.from,options:eS(),validFor:fl};if(a.name=="ValueName")return{from:a.from,options:O$,validFor:fl};if(a.name=="PseudoClassName")return{from:a.from,options:v$,validFor:fl};if(e(a)||(t.explicit||i)&&kft(a,n.doc))return{from:e(a)||i?a.from:r,options:Qq(n.doc,Tft(a),e),validFor:xft};if(a.name=="TagName"){for(let{parent:l}=a;l;l=l.parent)if(l.name=="Block")return{from:a.from,options:eS(),validFor:fl};return{from:a.from,options:Sft,validFor:fl}}if(a.name=="AtKeyword")return{from:a.from,options:wft,validFor:fl};if(!t.explicit)return null;let o=a.resolve(r),s=o.childBefore(r);return s&&s.name==":"&&o.name=="PseudoClassSelector"?{from:r,options:v$,validFor:fl}:s&&s.name==":"&&o.name=="Declaration"||o.name=="ArgList"?{from:r,options:O$,validFor:fl}:o.name=="Block"||o.name=="Styles"?{from:r,options:eS(),validFor:fl}:null},_ft=Eft(e=>e.name=="VariableName"),xb=Fl.define({name:"css",parser:Oft.configure({props:[Bd.add({Declaration:Nf()}),Ud.add({"Block KeyframeList":Fv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Fq(){return new Wp(xb,xb.data.of({autocomplete:_ft}))}const Cft=55,$ft=1,Pft=56,Ift=2,Nft=57,Rft=3,w$=4,Mft=5,K5=6,zq=7,Vq=8,Hq=9,qq=10,Lft=11,Dft=12,Bft=13,tS=58,Uft=14,jft=15,x$=59,Zq=21,Qft=23,Xq=24,Fft=25,X3=27,Wq=28,zft=29,Vft=32,Hft=35,qft=37,Zft=38,Xft=0,Wft=1,Yft={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},Gft={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},k$={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function Kft(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}let A$=null,T$=null,E$=0;function W3(e,t){let n=e.pos+t;if(E$==n&&T$==e)return A$;let r=e.peek(t),a="";for(;Kft(r);)a+=String.fromCharCode(r),r=e.peek(++t);return T$=e,E$=n,A$=a?a.toLowerCase():r==Jft||r==ept?void 0:null}const Yq=60,kb=62,J5=47,Jft=63,ept=33,tpt=45;function _$(e,t){this.name=e,this.parent=t}const npt=[K5,qq,zq,Vq,Hq],rpt=new Hv({start:null,shift(e,t,n,r){return npt.indexOf(t)>-1?new _$(W3(r,1)||"",e):e},reduce(e,t){return t==Zq&&e?e.parent:e},reuse(e,t,n,r){let a=t.type.id;return a==K5||a==qft?new _$(W3(r,1)||"",e):e},strict:!1}),apt=new na((e,t)=>{if(e.next!=Yq){e.next<0&&t.context&&e.acceptToken(tS);return}e.advance();let n=e.next==J5;n&&e.advance();let r=W3(e,0);if(r===void 0)return;if(!r)return e.acceptToken(n?jft:Uft);let a=t.context?t.context.name:null;if(n){if(r==a)return e.acceptToken(Lft);
vendor: 4,386 bytes, line 2434
2434if(a&&Gft[a])return e.acceptToken(tS,-2);if(t.dialectEnabled(Xft))return e.acceptToken(Dft);for(let i=t.context;i;i=i.parent)if(i.name==r)return;e.acceptToken(Bft)}else{if(r=="script")return e.acceptToken(zq);if(r=="style")return e.acceptToken(Vq);if(r=="textarea")return e.acceptToken(Hq);if(Yft.hasOwnProperty(r))return e.acceptToken(qq);a&&k$[a]&&k$[a][r]?e.acceptToken(tS,-1):e.acceptToken(K5)}},{contextual:!0}),ipt=new na(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(x$);break}if(e.next==tpt)t++;else if(e.next==kb&&t>=2){n>=3&&e.acceptToken(x$,-2);break}else t=0;e.advance()}});function opt(e){for(;e;e=e.parent)if(e.name=="svg"||e.name=="math")return!0;return!1}const spt=new na((e,t)=>{if(e.next==J5&&e.peek(1)==kb){let n=t.dialectEnabled(Wft)||opt(t.context);e.acceptToken(n?Mft:w$,2)}else e.next==kb&&e.acceptToken(w$,1)});function ek(e,t,n){let r=2+e.length;return new na(a=>{for(let i=0,o=0,s=0;;s++){if(a.next<0){s&&a.acceptToken(t);break}if(i==0&&a.next==Yq||i==1&&a.next==J5||i>=2&&i<r&&a.next==e.charCodeAt(i-2))i++,o++;else if(i==r&&a.next==kb){s>o?a.acceptToken(t,-o):a.acceptToken(n,-(o-2));break}else if((a.next==10||a.next==13)&&s){a.acceptToken(t,1);break}else i=o=0;a.advance()}})}const lpt=ek("script",Cft,$ft),cpt=ek("style",Pft,Ift),upt=ek("textarea",Nft,Rft),dpt=Dd({"Text RawText IncompleteTag IncompleteCloseTag":Z.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":Z.angleBracket,TagName:Z.tagName,"MismatchedCloseTag/TagName":[Z.tagName,Z.invalid],AttributeName:Z.attributeName,"AttributeValue UnquotedAttributeValue":Z.attributeValue,Is:Z.definitionOperator,"EntityReference CharacterReference":Z.character,Comment:Z.blockComment,ProcessingInst:Z.processingInstruction,DoctypeDecl:Z.documentMeta}),fpt=zl.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,59]OOO`'#Db'#DbO'jO!rO,59]O'qQ#tO'#DSOOO`,59],59]OOOp'#Dc'#DcO'vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO'#CtOOQW'#D['#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO'#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO'#C}OOOd-E7_-E7_O){Q#tO'#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7+$pOOO`7+$s7+$sO*bQ#|O,59fO*gQ#|O,59iO*lQ#|O,59lOOO`1G/Y1G/YO*qO7[O'#CwO+SOMhO'#CwOOQW1G.z1G.zOOO`1G/Q1G/QOOO`1G/T1G/TOOO`1G/W1G/WOOOO'#D]'#D]O+eO7[O,59cOOQW,59c,59cOOOO'#D^'#D^O+vOMhO,59cOOOO-E7Z-E7ZOOQW1G.}1G.}OOOO-E7[-E7[",stateData:",c~O!_OS~OUSOVPOWQOXROYTO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O|_O!eZO~OgaO~OgbO~OgcO~OgdO~OgeO~O!XfOPmP![mP~O!YiOQpP![pP~O!ZlORsP![sP~OUSOVPOWQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"â StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:rpt,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,3
24341,34,37,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity",17,"Entity TextContent",-3,29,32,35,"TextContent Entity"],["isolate",-11,22,30,31,33,34,36,37,38,39,42,43,"ltr",-3,27,28,40,""]],propSources:[dpt],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UVaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pTaPOv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!dpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({WaP!b`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!b`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!b`!dpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYlWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`aP!b`!dp!_^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebiSlWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXiSqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vciSaP!b`!dpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;'S1k;'S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!ahaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_4WiiSlWd!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zblWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOb!R!R7tP;=`<%l7S!Z8OYlWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{iiSlWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbiSlWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QciSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;'S;{;'S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXiSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TalWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOc!R!RAwP;=`<%lAY!ZBRYlWc!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbiSlWc!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbiSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXiSc!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!cxaP!b`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYliSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_kiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_XaP!b`!dp!fQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZiSgQaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!b`!dpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;
2434=`*s<%lO*V!R!%Q]!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!b`!dp!ePOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!b`!dpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!b`!dpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!b`!dpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!b`!dpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!b`!dpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!b`!dpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!b`!dpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!dpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO|PP!-nP;=`<%l!-Sq!-xS!dp|POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!b`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!b`|POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!b`!dp|POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!b`!dpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!b`!dpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!b`!dpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!b`!dpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!b`!dpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!b`!dpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!dpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[lpt,cpt,upt,spt,apt,ipt,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function Gq(e,t){let n=Object.create(null);for(let r of e.getChildren(Xq)){let a=r.getChild(Fft),i=r.getChild(X3)||r.getChild(Wq);a&&(n[t.read(a.from,a.to)]=i?i.type.id==X3?t.read(i.from+1,i.to-1):t.read(i.from,i.to):"")}return n}function C$(e,t){let n=e.getChild(Qft);return n?t.read(n.from,n.to):" "}function nS(e,t,n){let r;for(let a of n)if(!a.attrs||a.attrs(r||(r=Gq(e.node.parent.firstChild,t))))return{parser:a.parser,bracketed:!0};return null}function Kq(e=[],t=[]){let n=[],r=[],a=[],i=[];for(let s of e)(s.tag=="script"?n:s.tag=="style"?r:s.tag=="textarea"?a:i).push(s);let o=t.length?Object.create(null):null;for(let s of t)(o[s.name]||(o[s.name]=[])).push(s);return Pct((s,l)=>{let c=s.type.id;if(c==zft)return nS(s,l,n);if(c==Vft)return nS(s,l,r);if(c==Hft)return nS(s,l,a);if(c==Zq&&i.length){let u=s.node,d=u.firstChild,f=d&&C$(d,l),p;if(f){for(let h of i)if(h.tag==f&&(!h.attrs||h.attrs(p||(p=Gq(d,l))))){let b=u.lastChild,y=b.type.id==Zft?b.from:u.to;if(y>d.to)return{parser:h.parser,overlay:[{from:d.to,to:y}]}}}}if(o&&c==Xq){let u=s.node,d;if(d=u.firstChild){let f=o[l.read(d.from,d.to)];if(f)for(let p of f){if(p.tagName&&p.tagName!=C$(u.parent,l))continue;let h=u.lastChild;if(h.type.id==X3){let b=h.from+1,y=h.lastChild,O=h.to-(y&&y.isError?0:1);if(O>b)return{parser:p.parser,overlay:[{from:b,to:O}],bracketed:!0}}else if(h.type.id==Wq)return{parser:p.parser,overlay:[{from:h.from,to:h.to}]}}}}return null})}const ppt=316,hpt=317,$$=1,mpt=2,gpt=3,bpt=4,ypt=318,vpt=320,Opt=321,Spt=5,wpt=6,xpt=0,Y3=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Jq=125,kpt=59,G3=47,Apt=42,Tpt=43,Ept=45,_pt=60,Cpt=44,$pt=63,Ppt=46,Ipt=91,Npt=new Hv({start:!1,shift(e,t){return t==Spt||t==wpt||t==vpt?e:t==Opt},strict:!1}),Rpt=new na((e,t)=>{let{next:n}=e;(n==Jq||n==-1||t.context)&&e.acceptToken(ypt)},{contextual:!0,fallback:!0}),Mpt=new na((e,t)=>{let{next:n}=e,r;Y3.indexOf(n)>-1||n==G3&&((r=e.peek(1))==G3||r==Apt)||n!=Jq&&n!=kpt&&n!=-1&&!t.context&&e.acceptToken(ppt)},{contextual:!0}),Lpt=new na((e,t)=>{e.next==Ipt&&!t.context&&e.acceptToken(hpt)},{contextual:!0}),Dpt=new na((e,t)=>{let{next:n}=e;if(n==Tpt||n==Ept){if(e.advance(),n==e.next){e.advance();let r=!t.context&&t.canShift($$);e.acceptToken(r?$$:mpt)}}else n==$pt&&e.peek(1)==Ppt&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(gpt))},{contextual:!0});function rS(e,t){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!t&&e>=48&&e<=57}const Bpt=new na((e,t)=>{if(e.next!=_pt||!t.dialectEnabled(xpt)||(e.advance(),e.next==G3))return;let n=0;for(;Y3.indexOf(e.next)>-1;)e.advance(),n++;if(rS(e.next,!0)){for(e.advance(),n++;rS(e.next,!1);)e.advance(),n++;for(;Y3.indexOf(e.next)>-1;)e.advance(),n++;if(e.next==Cpt)return;for(let r=0;;r++){if(r==7){if(!rS(e.next,!0))return;break}if(e.next!="extends".charCodeAt(r))break;e.advance(),n++}}e.acceptToken(bpt,-n)}),Upt=Dd({"get set async static":Z.modifier,"for while do if else switch try catch finally return throw break continue default case defer":Z.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":Z.operatorKeyword,"let var const using function class extends":Z.definitionKeyword,"import export from":Z.moduleKeyword,"with debugger new":Z.keyword,TemplateString:Z.special(Z.string),super:Z.atom,BooleanLiteral:Z.bool,this:Z.self,null:Z.null,Star:Z.modifier,VariableName:Z.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":Z.function(Z.variableName),VariableDefinition:Z.definition(Z.variableName),Label:Z.labelName,PropertyName:Z.propertyName,PrivatePropertyName:Z.special(Z.propertyName),"CallExpression/MemberExpression/PropertyName":Z.function(Z.propertyName),"FunctionDeclaration/VariableDefinition":Z.function(Z.definition(Z.variableName)),"ClassDeclaration/VariableDefinition":Z.definition(Z.className),"NewExpression/VariableName":Z.className,PropertyDefinition:Z.definition(Z.propertyName),PrivatePropertyDefinition:Z.definition(Z.special(Z.propertyName)),UpdateOp:Z.updateOperator,"LineComment Hashbang":Z.lineComment,BlockComment:Z.blockComment,Number:Z.number,String:Z.string,Escape:Z.escape,Ar
vendor: 1,772 bytes, line 2434
2434ithOp:Z.arithmeticOperator,LogicOp:Z.logicOperator,BitOp:Z.bitwiseOperator,CompareOp:Z.compareOperator,RegExp:Z.regexp,Equals:Z.definitionOperator,Arrow:Z.function(Z.punctuation),": Spread":Z.punctuation,"( )":Z.paren,"[ ]":Z.squareBracket,"{ }":Z.brace,"InterpolationStart InterpolationEnd":Z.special(Z.brace),".":Z.derefOperator,", ;":Z.separator,"@":Z.meta,TypeName:Z.typeName,TypeDefinition:Z.definition(Z.typeName),"type enum interface implements namespace module declare":Z.definitionKeyword,"abstract global Privacy readonly override":Z.modifier,"is keyof unique infer asserts":Z.operatorKeyword,JSXAttributeValue:Z.attributeValue,JSXText:Z.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":Z.angleBracket,"JSXIdentifier JSXNameSpacedName":Z.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":Z.attributeName,"JSXBuiltin/JSXIdentifier":Z.standard(Z.tagName)}),jpt={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},Qpt={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},Fpt={__proto__:null,"<":193},zpt=zl
vendor: 53,001 bytes, line 2434
2434.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO9XQMhO'#F|O9`Q`O'#F{OOQ!0Lf'#Js'#JsOOQ!0Lb'#Jr'#JrO9eQ`O'#GwOOQ['#K_'#K_O9pQ`O'#IYO9uQ!0LrO'#IZOOQ['#J`'#J`OOQ['#I_'#I_Q`QlOOQ`QlOOO9}Q!L^O'#DvO:UQlO'#EOO:]QlO'#EQO9kQ`O'#GsO:dQMhO'#CoO:rQ`O'#EnO:}Q`O'#EyO;hQMhO'#FeO;xQ`O'#GsOOQO'#K`'#K`O;}Q`O'#K`O<]Q`O'#G{O<]Q`O'#G|O<]Q`O'#HOO9kQ`O'#HRO=SQ`O'#HUO>kQ`O'#CeO>{Q`O'#HcO?TQ`O'#HiO?TQ`O'#HkO`QlO'#HmO?TQ`O'#HoO?TQ`O'#HrO?YQ`O'#HxO?_Q!0LsO'#IOO%[QlO'#IQO?jQ!0LsO'#ISO?uQ!0LsO'#IUO9uQ!0LrO'#IWO@QQ!0MxO'#CiOASQpO'#DlQOQ`OOO%[QlO'#EQOAjQ`O'#ETO:dQMhO'#EnOAuQ`O'#EnOBQQ!bO'#FeOOQ['#Cg'#CgOOQ!0Lb'#Dq'#DqOOQ!0Lb'#Jv'#JvO%[QlO'#JvOOQO'#Jy'#JyOOQO'#Ih'#IhOCQQpO'#EgOOQ!0Lb'#Ef'#EfOOQ!0Lb'#J}'#J}OC|Q!0MSO'#EgODWQpO'#EWOOQO'#Jx'#JxODlQpO'#JyOEyQpO'#EWODWQpO'#EgPFWO&2DjO'#CbPOOO)CD})CD}OOOO'#I`'#I`OFcO#tO,59UOOQ!0Lh,59U,59UOOOO'#Ia'#IaOFqO&jO,59UOGPQ!L^O'#DcOOOO'#Ic'#IcOGWO#@ItO,59{OOQ!0Lf,59{,59{OGfQlO'#IdOGyQ`O'#JtOIxQ!fO'#JtO+}QlO'#JtOJPQ`O,5:ROJgQ`O'#EpOJtQ`O'#KTOKPQ`O'#KSOKPQ`O'#KSOKXQ`O,5;^OK^Q`O'#KROOQ!0Ln,5:^,5:^OKeQlO,5:^OMcQ!0MxO,5:fONSQ`O,5:nONmQ!0LrO'#KQONtQ`O'#KPO9eQ`O'#KPO! YQ`O'#KPO! bQ`O,5;]O! gQ`O'#KPO!#lQ!fO'#JsOOQ!0Lh'#Ci'#CiO%[QlO'#ESO!$[Q!fO,5:sOOQS'#Jz'#JzOOQO-E<j-E<jO9kQ`O,5=_O!$rQ`O,5=_O!$wQlO,5;ZO!&zQMhO'#EkO!(eQ`O,5;ZO!(jQlO'#DyO!(tQpO,5;dO!(|QpO,5;dO%[QlO,5;dOOQ['#FT'#FTOOQ['#FV'#FVO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eOOQ['#FZ'#FZO!)[QlO,5;tOOQ!0Lf,5;y,5;yOOQ!0Lf,5;z,5;zOOQ!0Lf,5;|,5;|O%[QlO'#IpO!+_Q!0LrO,5<iO%[QlO,5;eO!&zQMhO,5;eO!+|QMhO,5;eO!-nQMhO'#E^O%[QlO,5;wOOQ!0Lf,5;{,5;{O!-uQ,UO'#FjO!.rQ,UO'#KXO!.^Q,UO'#KXO!.yQ,UO'#KXOOQO'#KX'#KXO!/_Q,UO,5<SOOOW,5<`,5<`O!/pQlO'#FvOOOW'#Io'#IoO7VO7dO,5<QO!/wQ,UO'#FxOOQ!0Lf,5<Q,5<QO!0hQ$IUO'#CyOOQ!0Lh'#C}'#C}O!0{O#@ItO'#DRO!1iQMjO,5<eO!1pQ`O,5<hO!3YQ(CWO'#GXO!3jQ`O'#GYO!3oQ`O'#GYO!5_Q(CWO'#G^O!6dQpO'#GbOOQO'#Gn'#GnO!,TQMhO'#GmOOQO'#Gp'#GpO!,TQMhO'#GoO!7VQ$IUO'#JlOOQ!0Lh'#Jl'#JlO!7aQ`O'#JkO!7oQ`O'#JjO!7wQ`O'#CuOOQ!0Lh'#C{'#C{O!8YQ`O'#C}OOQ!0Lh'#DV'#DVOOQ!0Lh'#DX'#DXO!8_Q`O,5<eO1SQ`O'#DZO!,TQMhO'#GPO!,TQMhO'#GRO!8gQ`O'#GTO!8lQ`O'#GUO!3oQ`O'#G[O!,TQMhO'#GaO<]Q`O'#JkO!8qQ`O'#EqO!9`Q`O,5<gOOQ!0Lb'#Cr'#CrO!9hQ`O'#ErO!:bQpO'#EsOOQ!0Lb'#KR'#KRO!:iQ!0LrO'#KaO9uQ!0LrO,5=cO`QlO,5>tOOQ['#Jh'#JhOOQ[,5>u,5>uOOQ[-E<]-E<]O!<hQ!0MxO,5:bO!:]QpO,5:`O!?RQ!0MxO,5:jO%[QlO,5:jO!AiQ!0MxO,5:lOOQO,5@z,5@zO!BYQMhO,5=_O!BhQ!0LrO'#JiO9`Q`O'#JiO!ByQ!0LrO,59ZO!CUQpO,59ZO!C^QMhO,59ZO:dQMhO,59ZO!CiQ`O,5;ZO!CqQ`O'#HbO!DVQ`O'#KdO%[QlO,5;}O!:]QpO,5<PO!D_Q`O,5=zO!DdQ`O,5=zO!DiQ`O,5=zO!DwQ`O,5=zO9uQ!0LrO,5=zO<]Q`O,5=jOOQO'#Cy'#CyO!EOQpO,5=gO!EWQMhO,5=hO!EcQ`O,5=jO!EhQ!bO,5=mO!EpQ`O'#K`O?YQ`O'#HWO9kQ`O'#HYO!EuQ`O'#HYO:dQMhO'#H[O!EzQ`O'#H[OOQ[,5=p,5=pO!FPQ`O'#H]O!FbQ`O'#CoO!FgQ`O,59PO!FqQ`O,59PO!HvQlO,59POOQ[,59P,59PO!IWQ!0LrO,59PO%[QlO,59PO!KcQlO'#HeOOQ['#Hf'#HfOOQ['#Hg'#HgO`QlO,5=}O!KyQ`O,5=}O`QlO,5>TO`QlO,5>VO!LOQ`O,5>XO`QlO,5>ZO!LTQ`O,5>^O!LYQlO,5>dOOQ[,5>j,5>jO%[QlO,5>jO9uQ!0LrO,5>lOOQ[,5>n,5>nO#!dQ`O,5>nOOQ[,5>p,5>pO#!dQ`O,5>pOOQ[,5>r,5>rO##QQpO'#D_O%[QlO'#JvO##sQpO'#JvO##}QpO'#DmO#$`QpO'#DmO#&qQlO'#DmO#&xQ`O'#JuO#'QQ`O,5:WO#'VQ`O'#EtO#'eQ`O'#KUO#'mQ`O,5;_O#'rQpO'#DmO#(PQpO'#EVOOQ!0Lf,5:o,5:oO%[QlO,5:oO#(WQ`O,5:oO?YQ`O,5;YO!CUQpO,5;YO!C^QMhO,5;YO:dQMhO,5;YO#(`Q`O,5@bO#(eQ07dO,5:sOOQO-E<f-E<fO#)kQ!0MSO,5;RODWQpO,5:rO#)uQpO,5:rODWQpO,5;RO!ByQ!0LrO,5:rOOQ!0Lb'#Ej'#EjOOQO,5;R,5;RO%[QlO,5;RO#*SQ!0LrO,5;RO#*_Q!0LrO,5;RO!CUQpO,5:rOOQO,5;X,5;XO#*mQ!0LrO,5;RPOOO'#I^'#I^P#+RO&2DjO,58|POOO,58|,58|OOOO-E<^-E<^OOQ!0Lh1G.p1G.pOOOO-E<_-E<_OOOO,59},59}O#+^Q!bO,59}OOOO-E<a-E<aOOQ!0Lf1G/g1G/gO#+cQ!fO,5?OO+}QlO,5?OOOQO,5?U,5?UO#+mQlO'#IdOOQO-E<b-E<bO#+zQ`O,5@`O#,SQ!fO,5@`O#,ZQ`O,5@nOOQ!0Lf1G/m1G/mO%[QlO,5@oO#,cQ`O'#IjOOQO-E<h-E<hO#,ZQ`O,5@nOOQ!0Lb1G0x1G0xOOQ!0Ln1G/x1G/xOOQ!0Ln1G0Y1G0YO%[QlO,5@lO#,wQ!0LrO,5@lO#-YQ!0LrO,5@lO#-aQ`O,5@kO9eQ`O,5@kO#-iQ`O,5@kO#-wQ`O'#ImO#-aQ`O,5@kOOQ!0Lb1G0w1G0wO!(tQpO,5:uO!)PQpO,5:uOOQS,5:w,5:wO#.iQdO,5:wO#.qQMhO1G2yO9kQ`O1G2yOOQ!0Lf1G0u1G0uO#/PQ!0MxO1G0uO#0UQ!0MvO,5;VOOQ!0Lh'#GW'#GWO#0rQ!0MzO'#JlO!$wQlO1G0uO#2}Q!fO'#JwO%[QlO'#JwO#3XQ`O,5:eOOQ!0Lh'#D_'#D_OOQ!0Lf1G1O1G1OO%[QlO1G1OOOQ!0Lf1G1f1G1fO#3^Q`O1G1OO#5rQ!0MxO1G1PO#5yQ!0MxO1G1PO#8aQ!0MxO1G1PO#8hQ!0MxO1G1PO#;OQ!0MxO1G1PO#=fQ!0MxO1G1PO#=mQ!0MxO1G1PO#=tQ!0MxO1G1PO#@[Q!0MxO1G1PO#@cQ!0MxO1G1PO#BpQ?MtO'#CiO#DkQ?MtO1G1`O#DrQ?MtO'#JsO#EVQ!0MxO,5?[OOQ!0Lb-E<n-E<nO#GdQ!0MxO1G1PO#HaQ!0MzO1G1POOQ!0Lf1G1P1G1PO#IdQMjO'#J|O#InQ`O,5:xO#IsQ!0MxO1G1cO#JgQ,UO,5<WO#JoQ,UO,5<XO#JwQ,UO'#FoO#K`Q`O'#FnOOQO'#KY'#KYOOQO'#In'#InO#KeQ,UO1G1nOOQ!0Lf1G1n1G1nOOOW1G1y1G1yO#KvQ?MtO'#JrO#LQQ`O,5<bO!)[QlO,5<bOOOW-E<m-E<mOOQ!0Lf1G1l1G1lO#LVQpO'#KXOOQ!0Lf,5<d,5<dO#L_QpO,5<dO#LdQMhO'#DTOOOO'#Ib'#IbO#LkO#@ItO,59mOOQ!0Lh,59m,59mO%[QlO1G2PO!8lQ`O'#IrO#LvQ`O,5<zOOQ!0Lh,5<w,5<wO!,TQMhO'#IuO#MdQMjO,5=XO!,TQMhO'#IwO#NVQMjO,5=ZO!&zQMhO,5=]OOQO1G2S1G2SO#NaQ!dO'#CrO#NtQ(CWO'#ErO$ |QpO'#GbO$!dQ!dO,5<sO$!kQ`O'#K[O9eQ`O'#K[O$!yQ`O,5<uO$#aQ!dO'#C{O!,TQMhO,5<tO$#kQ`O'#GZO$$PQ`O,5<tO$$UQ!dO'#GWO$$cQ!dO'#K]O$$mQ`O'#K]O!&zQMhO'#K]O$$rQ`O,5<xO$$wQlO'#JvO$%RQpO'#GcO#$`QpO'#GcO$%dQ`O'#GgO!3oQ`O'#GkO$%iQ!0LrO'#ItO$%tQpO,5<|OOQ!0Lp,5<|,5<|O$%{QpO'#GcO$&YQpO'#GdO$&kQpO'#GdO$&pQMjO,5=XO$'QQMjO,5=ZOOQ!0Lh,5=^,5=^O!,TQMhO,5@VO!,TQMhO,5@VO$'bQ`O'#IyO$'vQ`O,5@UO$(OQ`O,59aOOQ!0Lh,59i,59iO$(TQ`O,5@VO$)TQ$IYO,59uOOQ!0Lh'#Jp'#JpO$)vQMjO,5<kO$*iQMjO,5<mO@zQ`O,5<oOOQ!0Lh,5<p,5<pO$*sQ`O,5<vO$*xQMjO,5<{O$+YQ`O'#KPO!$wQlO1G2RO$+_Q`O1G2RO9eQ`O'#KSO9eQ`O'#EtO%[QlO'#EtO9eQ`O'#I{O$+dQ!0LrO,5@{OOQ[1G2}1G2}OOQ[1G4`1G4`OOQ!0Lf1G/|1G/|OOQ!0Lf1G/z1G/zO$-fQ!0MxO1G0UOOQ[1G2y1G2yO!&zQMhO1G2yO%[QlO1G2yO#.tQ`O1G2yO$/jQMhO'#EkOOQ!0Lb,5@T,5@TO$/wQ!0LrO,5@TOOQ[1G.u1G.uO!ByQ!0LrO1G.uO!CUQpO1G.uO!C^QMhO1G.uO$0YQ`O1G0uO$0_Q`O'#CiO$0jQ`O'#KeO$0rQ`O,5=|O$0wQ`O'#KeO$0|Q`O'#KeO$1[Q`O'#JRO$1jQ`O,5AOO$1rQ!fO1G1iOOQ!0Lf1G1k1G1kO9kQ`O1G3fO@zQ`O1G3fO$1yQ`O1G3fO$2OQ`O1G3fO!DiQ`O1G3fO9uQ!0LrO1G3fOOQ[1G3f1G3fO!EcQ`O1G3UO!&zQMhO1G3RO$2TQ`O1G3ROOQ[1G3S1G3SO!&zQMhO1G3SO$2YQ`O1G3SO$2bQpO'#HQOOQ[1G3U1G3UO!6_QpO'#I}O!EhQ!bO1G3XOOQ[1G3X1G3XOOQ[,5=r,5=rO$2jQMhO,5=tO9kQ`O,5=tO$%dQ`O,5=vO9`Q`O,5=vO!CUQpO,5=vO!C^QMhO,5=vO:dQMhO,5=vO$2xQ`O'#KcO$3TQ`O,5=wOOQ[1G.k1G.kO$3YQ!0LrO1G.kO@zQ`O1G.kO$3eQ`O1G.kO9uQ!0LrO1G.kO$5mQ!fO,5AQO$5zQ`O,5AQO9eQ`O,5AQO$6VQlO,5>PO$6^Q`O,5>POOQ[1G3i1G3iO`QlO1G3iOOQ[1G3o1G3oOOQ[1G3q1G3qO?TQ`O1G3sO$6cQlO1G3uO$:gQlO'#HtOOQ[1G3x1G3xO$:tQ`O'#HzO?YQ`O'#H|OOQ[1G4O1G4OO$:|QlO1G4OO9uQ!0LrO1G4UOOQ[1G4W1G4WOOQ!0Lb'#G_'#G_O9uQ!0LrO1G4YO9uQ!0LrO1G4[O$?TQ`O,5@bO!)[QlO,5;`O9eQ`O,5;`O?YQ`O,5:XO!)[QlO,5:XO!CUQpO,5:XO$?YQ?MtO,5:XOOQO,5;`,5;`O$?dQpO'#IeO$?zQ`O,5@aOOQ!0Lf1G/r1G/rO$@SQpO'#IkO$@^Q`O,5@pOOQ!0Lb1G0y1G0yO#$`QpO,5:XOOQO'#Ig'#IgO$@fQpO,5:qOOQ!0Ln,5:q,5:qO#(ZQ`O1G0ZOOQ!0Lf1G0Z1G0ZO%[QlO1G0ZOOQ!0Lf1G0t1G0tO?YQ`O1G0tO!CUQpO1G0tO!C^QMhO1G0tOOQ!0Lb1G5|1G5|O!ByQ!0LrO1G0^OOQO1G0m1G0mO%[QlO1G0mO$@mQ!0LrO1G0mO$@xQ!0LrO1G0mO!CUQpO1G0^ODWQpO1G0^O$AWQ!0LrO1G0mOOQO1G0^1G0^O$AlQ!0MxO1G0mPOOO-E<[-E<[POOO1G.h1G.hOOOO1G/i1G/iO$AvQ!bO,5<iO$BOQ!fO1G4jOOQO1G4p1G4pO%[QlO,5?OO$BYQ`O1G5zO$BbQ`O1G6YO$BjQ!fO1G6ZO9eQ`O,5?UO$BtQ!0MxO1G6WO%[QlO1G6WO$CUQ!0LrO1G6WO$CgQ`O1G6VO$CgQ`O1G6VO9eQ`O1G6VO$CoQ`O,5?XO9eQ`O,5?XOOQO,5?X,5?XO$DTQ`O,5?XO$+YQ`O,5?XOOQO-E<k-E<kOOQS1G0a1G0aOOQS1G0c1G0cO#.lQ`O1G0cOOQ[7+(e7+(eO!&zQMhO7+(eO%[QlO7+(eO$DcQ`O7+(eO$DnQMhO7+(eO$D|Q!0MzO,5=XO$GXQ!0MzO,5=ZO$IdQ!0MzO,5=XO$KuQ!0MzO,5=ZO$NWQ!0MzO,59uO%!]Q!0MzO,5<kO%$hQ!0MzO,5<mO%&sQ!0MzO,5<{OOQ!0Lf7+&a7+&aO%)UQ!0MxO7+&aO%)xQlO'#IfO%*VQ`O,5@cO%*_Q!fO,5@cOOQ!0Lf1G0P1G0PO%*iQ`O7+&jOOQ!0Lf7+&j7+&jO%*nQ?MtO,5:fO%[QlO7+&zO%*xQ?MtO,5:bO%+VQ?MtO,5:jO%+aQ?MtO,5:lO%+kQMhO'#IiO%+uQ`O,5@hOOQ!0Lh1G0d1G0dOOQO1G1r1G1rOOQO1G1s1G1sO%+}Q!jO,5<ZO!)[QlO,5<YOOQO-E<l-E<lOOQ!0Lf7+'Y7+'YOOOW7+'e7+'eOOOW1G1|1G1|O%,YQ`O1G1|OOQ!0Lf1G2O1G2OOOOO,59o,59oO%,_Q!dO,59oOOOO-E<`-E<`OOQ!0Lh1G/X1G/XO%,fQ!0MxO7+'kOOQ!0Lh,5?^,5?^O%-YQMhO1G2fP%-aQ`O'#IrPOQ!0Lh-E<p-E<pO%-}QMjO,5?aOOQ!0Lh-E<s-E<sO%.pQMjO,5?cOOQ!0Lh-E<u-E<uO%.zQ!dO1G2wO%/RQ!dO'#CrO%/iQMhO'#KSO$$wQlO'#JvOOQ!0Lh1G2_1G2_O%/sQ`O'#IqO%0[Q`O,5@vO%0[Q`O,5@vO%0dQ`O,5@vO%0oQ`O,5@vOOQO1G2a1G2aO%0}QMjO1G2`O$+YQ`O'#K[O!,TQMhO1G2`O%1_Q(CWO'#IsO%1lQ`O,5@wO!&zQMhO,5@wO%1tQ!dO,5@wOOQ!0Lh1G2d1G2dO%4UQ!fO'#CiO%4`Q`O,5=POOQ!0Lb,5<},5<}O%4hQpO,5<}OOQ!0Lb,5=O,5=OOCwQ`O,5<}O%4sQpO,5<}OOQ!0Lb,5=R,5=RO$+YQ`O,5=VOOQO,5?`,5?`OOQO-E<r-E<rOOQ!0Lp1G2h1G2hO#$`QpO,5<}O$$wQlO,5=PO%5RQ`O,5=OO%5^QpO,5=OO!,TQMhO'#IuO%6WQMjO1G2sO!,TQMhO'#IwO%6yQMjO1G2uO%7TQMjO1G5qO%7_QMjO1G5qOOQO,5?e,5?eOOQO-E<w-E<wOOQO1G.{1G.{O!,TQMhO1G5qO!,TQMhO1G5qO!:]QpO,59wO%[QlO,59wOOQ!0Lh,5<j,5<jO%7lQ`O1G2ZO!,TQMhO1G2bO%7qQ!0MxO7+'mOOQ!0Lf7+'m7+'mO!$wQlO7+'mO%8eQ`O,5;`OOQ!0Lb,5?g,5?gOOQ!0Lb-E<y-E<yO%8jQ!dO'#K^O#(ZQ`O7+(eO4UQ!fO7+(eO$DfQ`O7+(eO%8tQ!0MvO'#CiO%9XQ!0MvO,5=SO%9lQ`O,5=SO%9tQ`O,5=SOOQ!0Lb1G5o1G5oOOQ[7+$a7+$aO!ByQ!0LrO7+$aO!CUQpO7+$aO!$wQlO7+&aO%9yQ`O'#JQO%:bQ`O,5APOOQO1G3h1G3hO9kQ`O,5APO%:bQ`O,5APO%:jQ`O,5APOOQO,5?m,5?mOOQO-E=P-E=POOQ!0Lf7+'T7+'TO%:oQ`O7+)QO9uQ!0LrO7+)QO9kQ`O7+)QO@zQ`O7+)QO%:tQ`O7+)QOOQ[7+)Q7+)QOOQ[7+(p7+(pO%:yQ!0MvO7+(mO!&zQMhO7+(mO!E^Q`O7+(nOOQ[7+(n7+(nO!&zQMhO7+(nO%;TQ`O'#KbO%;`Q`O,5=lOOQO,5?i,5?iOOQO-E<{-E<{OOQ[7+(s7+(sO%<rQpO'#HZOOQ[1G3`1G3`O!&zQMhO1G3`O%[QlO1G3`O%<yQ`O1G3`O%=UQMhO1G3`O9uQ!0LrO1G3bO$%dQ`O1G3bO9`Q`O1G3bO!CUQpO1G3bO!C^QMhO1G3bO%=dQ`O'#JPO%=xQ`O,5@}O%>QQpO,5@}OOQ!0Lb1G3c1G3cOOQ[7+$V7+$VO@zQ`O7+$VO9uQ!0LrO7+$VO%>]Q`O7+$VO%[QlO1G6lO%[QlO1G6mO%>bQ!0LrO1G6lO%>lQlO1G3kO%>sQ`O1G3kO%>xQlO1G3kOOQ[7+)T7+)TO9uQ!0LrO7+)_O`QlO7+)aOOQ['#Kh'#KhOOQ['#JS'#JSO%?PQlO,5>`OOQ[,5>`,5>`O%[QlO'#HuO%?^Q`O'#HwOOQ[,5>f,5>fO9eQ`O,5>fOOQ[,5>h,5>hOOQ[7+)j7+)jOOQ[7+)p7+)pOOQ[7+)t7+)tOOQ[7+)v7+)vO%?cQpO1G5|O%?}Q?MtO1G0zO%@XQ`O1G0zOOQO1G/s1G/sO%@dQ?MtO1G/sO?YQ`O1G/sO!)[QlO'#DmOOQO,5?P,5?POOQO-E<c-E<cOOQO,5?V,5?VOOQO-E<i-E<iO!CUQpO1G/sOOQO-E<e-E<eOOQ!0Ln1G0]1G0]OOQ!0Lf7+%u7+%uO#(ZQ`O7+%uOOQ!0Lf7+&`7+&`O?YQ`O7+&`O!CUQpO7+&`OOQO7+%x7+%xO$AlQ!0MxO7+&XOOQO7+&X7+&XO%[QlO7+&XO%@nQ!0LrO7+&XO!ByQ!0LrO7+%xO!CUQpO7+%xO%@yQ!0LrO7+&XO%AXQ!0MxO7++rO%[QlO7++rO%AiQ`O7++qO%AiQ`O7++qOOQO1G4s1G4sO9eQ`O1G4sO%AqQ`O1G4sOOQS7+%}7+%}O#(ZQ`O<<LPO4UQ!fO<<LPO%BPQ`O<<LPOOQ[<<LP<<LPO!&zQMhO<<LPO%[QlO<<LPO%BXQ`O<<LPO%BdQ!0MzO,5?aO%DoQ!0MzO,5?cO%FzQ!0MzO1G2`O%I]Q!0MzO1G2sO%KhQ!0MzO1G2uO%MsQ!fO,5?QO%[QlO,5?QOOQO-E<d-E<dO%M}Q`O1G5}OOQ!0Lf<<JU<<JUO%NVQ?MtO1G0uO&!^Q?MtO1G1PO&!eQ?MtO1G1PO&$fQ?MtO1G1PO&$mQ?MtO1G1PO&&nQ?MtO1G1PO&(oQ?MtO1G1PO&(vQ?MtO1G1PO&(}Q?MtO1G1PO&+OQ?MtO1G1PO&+VQ?MtO1G1PO&+^Q!0MxO<<JfO&-UQ?MtO1G1PO&.RQ?MvO1G1PO&/UQ?MvO'#JlO&1[Q?MtO1G1cO&1iQ?MtO1G0UO&1sQMjO,5?TOOQO-E<g-E<gO!)[QlO'#FqOOQO'#KZ'#KZOOQO1G1u1G1uO&1}Q`O1G1tO&2SQ?MtO,5?[OOOW7+'h7+'hOOOO1G/Z1G/ZO&2^Q!dO1G4xOOQ!0Lh7+(Q7+(QP!&zQMhO,5?^O!,TQMhO7+(cO&2eQ`O,5?]O9eQ`O,5?]O$+YQ`O,5?]OOQO-E<o-E<oO&2sQ`O1G6bO&2sQ`O1G6bO&2{Q`O1G6bO&3WQMjO7+'zO&3hQ!dO,5?_O&3rQ`O,5?_O!&zQMhO,5?_OOQO-E<q-E<qO&3wQ!dO1G6cO&4RQ`O1G6cO&4ZQ`O1G2kO!&zQMhO1G2kOOQ!0Lb1G2i1G2iOOQ!0Lb1G2j1G2jO%4hQpO1G2iO!CUQpO1G2iOCwQ`O1G2iOOQ!0Lb1G2q1G2qO&4`QpO1G2iO&4nQ`O1G2kO$+YQ`O1G2jOCwQ`O1G2jO$$wQlO1G2kO&4vQ`O1G2jO&5jQMjO,5?aOOQ!0Lh-E<t-E<tO&6]QMjO,5?cOOQ!0Lh-E<v-E<vO!,TQMhO7++]O&6gQMjO7++]O&6qQMjO7++]OOQ!0Lh1G/c1G/cO&7OQ`O1G/cOOQ!0Lh7+'u7+'uO&7TQMjO7+'|O&7eQ!0MxO<<KXOOQ!0Lf<<KX<<KXO&8XQ`O1G0zO!&zQMhO'#IzO&8^Q`O,5@xO&:`Q!fO<<LPO!&zQMhO1G2nO&:gQ!0LrO1G2nOOQ[<<G{<<G{O!ByQ!0LrO<<G{O&:xQ!0MxO<<I{OOQ!0Lf<<I{<<I{OOQO,5?l,5?lO&;lQ`O,5?lO&;qQ`O,5?lOOQO-E=O-E=OO&<PQ`O1G6kO&<PQ`O1G6kO9kQ`O1G6kO@zQ`O<<LlOOQ[<<Ll<<LlO&<XQ`O<<LlO9uQ!0LrO<<LlO9kQ`O<<LlOOQ[<<LX<<LXO%:yQ!0MvO<<LXOOQ[<<LY<<LYO!E^Q`O<<LYO&<^QpO'#I|O&<iQ`O,5@|O!)[QlO,5@|OOQ[1G3W1G3WOOQO'#JO'#JOO9uQ!0LrO'#JOO&<qQpO,5=uOOQ[,5=u,5=uO&<xQpO'#EgO&=PQpO'#GeO&=UQ`O7+(zO&=ZQ`O7+(zOOQ[7+(z7+(zO!&zQMhO7+(zO%[QlO7+(zO&=cQ`O7+(zOOQ[7+(|7+(|O9uQ!0LrO7+(|O$%dQ`O7+(|O9`Q`O7+(|O!CUQpO7+(|O&=nQ`O,5?kOOQO-E<}-E<}OOQO'#H^'#H^O&=yQ`O1G6iO9uQ!0LrO<<GqOOQ[<<Gq<<GqO@zQ`O<<GqO&>RQ`O7+,WO&>WQ`O7+,XO%[QlO7+,WO%[QlO7+,XOOQ[7+)V7+)VO&>]Q`O7+)VO&>bQlO7+)VO&>iQ`O7+)VOOQ[<<Ly<<LyOOQ[<<L{<<L{OOQ[-E=Q-E=QOOQ[1G3z1G3zO&>nQ`O,5>aOOQ[,5>c,5>cO&>sQ`O1G4QO9eQ`O7+&fO!)[QlO7+&fOOQO7+%_7+%_O&>xQ?MtO1G6ZO?YQ`O7+%_OOQ!0Lf<<Ia<<IaOOQ!0Lf<<Iz<<IzO?YQ`O<<IzOOQO<<Is<<IsO$AlQ!0MxO<<IsO%[QlO<<IsOOQO<<Id<<IdO!ByQ!0LrO<<IdO&?SQ!0LrO<<IsO&?_Q!0MxO<= ^O&?oQ`O<= ]OOQO7+*_7+*_O9eQ`O7+*_OOQ[ANAkANAkO&?wQ!fOANAkO!&zQMhOANAkO#(ZQ`OANAkO4UQ!fOANAkO&@OQ`OANAkO%[QlOANAkO&@WQ!0MzO7+'zO&BiQ!0MzO,5?aO&DtQ!0MzO,5?cO&GPQ!0MzO7+'|O&IbQ!fO1G4lO&IlQ?MtO7+&aO&KpQ?MvO,5=XO&MwQ?MvO,5=ZO&NXQ?MvO,5=XO&NiQ?MvO,5=ZO&NyQ?MvO,59uO'#PQ?MvO,5<kO'%SQ?MvO,5<mO''hQ?MvO,5<{O')^Q?MtO7+'kO')kQ?MtO7+'mO')xQ`O,5<]OOQO7+'`7+'`OOQ!0Lh7+*d7+*dO')}QMjO<<K}OOQO1G4w1G4wO'*UQ`O1G4wO'*aQ`O1G4wO'*oQ`O7++|O'*oQ`O7++|O!&zQMhO1G4yO'*wQ!dO1G4yO'+RQ`O7++}O'+ZQ`O7+(VO'+fQ!dO7+(VOOQ!0Lb7+(T7+(TOOQ!0Lb7+(U7+(UO!CUQpO7+(TOCwQ`O7+(TO'+pQ`O7+(VO!&zQMhO7+(VO$+YQ`O7+(UO'+uQ`O7+(VOCwQ`O7+(UO'+}QMjO<<NwO!,TQMhO<<NwOOQ!0Lh7+$}7+$}O',XQ!dO,5?fOOQO-E<x-E<xO',cQ!0MvO7+(YO!&zQMhO7+(YOOQ[AN=gAN=gO9kQ`O1G5WOOQO1G5W1G5WO',sQ`O1G5WO',xQ`O7+,VO',xQ`O7+,VO9uQ!0LrOANBWO@zQ`OANBWOOQ[ANBWANBWO'-QQ`OANBWOOQ[ANAsANAsOOQ[ANAtANAtO'-VQ`O,5?hOOQO-E<z-E<zO'-bQ?MtO1G6hOOQO,5?j,5?jOOQO-E<|-E<|OOQ[1G3a1G3aO'-lQ`O,5=POOQ[<<Lf<<LfO!&zQMhO<<LfO&=UQ`O<<LfO'-qQ`O<<LfO%[QlO<<LfOOQ[<<Lh<<LhO9uQ!0LrO<<LhO$%dQ`O<<LhO9`Q`O<<LhO'-yQpO1G5VO'.UQ`O7+,TOOQ[AN=]AN=]O9uQ!0LrOAN=]OOQ[<= r<= rOOQ[<= s<= sO'.^Q`O<= rO'.cQ`O<= sOOQ[<<Lq<<LqO'.hQ`O<<LqO'.mQlO<<LqOOQ[1G3{1G3{O?YQ`O7+)lO'.tQ`O<<JQO'/PQ?MtO<<JQOOQO<<Hy<<HyOOQ!0LfAN?fAN?fOOQOAN?_AN?_O$AlQ!0MxOAN?_OOQOAN?OAN?OO%[QlOAN?_OOQO<<My<<MyOOQ[G27VG27VO!&zQMhOG27VO#(ZQ`OG27VO'/ZQ!fOG27VO4UQ!fOG27VO'/bQ`OG27VO'/jQ?MtO<<JfO'/wQ?MvO1G2`O'1mQ?MvO,5?aO'3pQ?MvO,5?cO'5sQ?MvO1G2sO'7vQ?MvO1G2uO'9yQ?MtO<<KXO':WQ?MtO<<I{OOQO1G1w1G1wO!,TQMhOANAiOOQO7+*c7+*cO':eQ`O7+*cO':pQ`O<= hO':xQ!dO7+*eOOQ!0Lb<<Kq<<KqO$+YQ`O<<KqOCwQ`O<<KqO';SQ`O<<KqO!&zQMhO<<KqOOQ!0Lb<<Ko<<KoO!CUQpO<<KoO';_Q!dO<<KqOOQ!0Lb<<Kp<<KpO';iQ`O<<KqO!&zQMhO<<KqO$+YQ`O<<KpO';nQMjOANDcO';xQ!0MvO<<KtOOQO7+*r7+*rO9kQ`O7+*rO'<YQ`O<= qOOQ[G27rG27rO9uQ!0LrOG27rO@zQ`OG27rO!)[QlO1G5SO'<bQ`O7+,SO'<jQ`O1G2kO&=UQ`OANBQOOQ[ANBQANBQO!&zQMhOANBQO'<oQ`OANBQOOQ[ANBSANBSO9uQ!0LrOANBSO$%dQ`OANBSOOQO'#H_'#H_OOQO7+*q7+*qOOQ[G22wG22wOOQ[ANE^ANE^OOQ[ANE_ANE_OOQ[ANB]ANB]O'<wQ`OANB]OOQ[<<MW<<MWO!)[QlOAN?lOOQOG24yG24yO$AlQ!0MxOG24yO#(ZQ`OLD,qOOQ[LD,qLD,qO!&zQMhOLD,qO'<|Q!fOLD,qO'=TQ?MvO7+'zO'>yQ?MvO,5?aO'@|Q?MvO,5?cO'CPQ?MvO7+'|O'DuQMjOG27TOOQO<<M}<<M}OOQ!0LbANA]ANA]O$+YQ`OANA]OCwQ`OANA]O'EVQ!dOANA]OOQ!0LbANAZANAZO'E^Q`OANA]O!&zQMhOANA]O'EiQ!dOANA]OOQ!0LbANA[ANA[OOQO<<N^<<N^OOQ[LD-^LD-^O9uQ!0LrOLD-^O'EsQ?MtO7+*nOOQO'#Gf'#GfOOQ[G27lG27lO&=UQ`OG27lO!&zQMhOG27lOOQ[G27nG27nO9uQ!0LrOG27nOOQ[G27wG27wO'E}Q?MtOG25WOOQOLD*eLD*eOOQ[!$(!]!$(!]O#(ZQ`O!$(!]O!&zQMhO!$(!]O'FXQ!0MzOG27TOOQ!0LbG26wG26wO$+YQ`OG26wO'HjQ`OG26wOCwQ`OG26wO'HuQ!dOG26wO!&zQMhOG26wOOQ[!$(!x!$(!xOOQ[LD-WLD-WO&=UQ`OLD-WOOQ[LD-YLD-YOOQ[!)9Ew!)9EwO#(ZQ`O!)9EwOOQ!0LbLD,cLD,cO$+YQ`OLD,cOCwQ`OLD,cO'H|Q`OLD,cO'IXQ!dOLD,cOOQ[!$(!r!$(!rOOQ[!.K;c!.K;cO'I`Q?MvOG27TOOQ!0Lb!$( }!$( }O$+YQ`O!$( }OCwQ`O!$( }O'KUQ`O!$( }OOQ!0Lb!)9Ei!)9EiO$+YQ`O!)9EiOCwQ`O!)9EiOOQ!0Lb!.K;T!.K;TO$+YQ`O!.K;TOOQ!0Lb!4/0o!4/0oO!)[QlO'#DzO1PQ`O'#EXO'KaQ!fO'#JrO'KhQ!L^O'#DvO'KoQlO'#EOO'KvQ!fO'#CiO'N^Q!fO'#CiO!)[QlO'#EQO'NnQlO,5;ZO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO'#IpO(!qQ`O,5<iO!)[QlO,5;eO(!yQMhO,5;eO($dQMhO,5;eO!)[QlO,5;wO!&zQMhO'#GmO(!yQMhO'#GmO!&zQMhO'#GoO(!yQMhO'#GoO1SQ`O'#DZO1SQ`O'#DZO!&zQMhO'#GPO(!yQMhO'#GPO!&zQMhO'#GRO(!yQMhO'#GRO!&zQMhO'#GaO(!yQMhO'#GaO!)[QlO,5:jO($kQpO'#D_O($uQpO'#JvO!)[QlO,5@oO'NnQlO1G0uO(%PQ?MtO'#CiO!)[QlO1G2PO!&zQMhO'#IuO(!yQMhO'#IuO!&zQMhO'#IwO(!yQMhO'#IwO(%ZQ!dO'#CrO!&zQMhO,5<tO(!yQMhO,5<tO'NnQlO1G2RO!)[QlO7+&zO!&zQMhO1G2`O(!yQMhO1G2`O!&zQMhO'#IuO(!yQMhO'#IuO!&zQMhO'#IwO(!yQMhO'#IwO!&zQMhO1G2bO(!yQMhO1G2bO'NnQlO7+'mO'NnQlO7+&aO!&zQMhOANAiO(!yQMhOANAiO(%nQ`O'#EoO(%sQ`O'#EoO(%{Q`O'#F]O(&QQ`O'#EyO(&VQ`O'#KTO(&bQ`O'#KRO(&mQ`O,5;ZO(&rQMjO,5<eO(&yQ`O'#GYO('OQ`O'#GYO('TQ`O,5<eO(']Q`O,5<gO('eQ`O,5;ZO('mQ?MtO1G1`O('tQ`O,5<tO('yQ`O,5<tO((OQ`O,5<vO((TQ`O,5<vO((YQ`O1G2RO((_Q`O1G0uO((dQMjO<<K}O((kQMjO<<K}O((rQMhO'#F|O9`Q`O'#F{OAuQ`O'#EnO!)[QlO,5;tO!3oQ`O'#GYO!3oQ`O'#GYO!3oQ`O'#G[O!3oQ`O'#G[O!,TQMhO7+(cO!,TQMhO7+(cO%.zQ!dO1G2wO%.zQ!dO1G2wO!&zQMhO,5=]O!&zQMhO,5=]",stateData:"()x~O'|OS'}OSTOS(ORQ~OPYOQYOSfOY!VOaqOdzOeyOl!POpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!uwO!xxO!|]O$W|O$niO%h}O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO&W!WO&^!XO&`!YO&b!ZO&d![O&g!]O&m!^O&s!_O&u!`O&w!aO&y!bO&{!cO(TSO(VTO(YUO(aVO(o[O~OWtO~P`OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa!wOs!nO!S!oO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!xO#W!pO#X!pO#[!zO#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O(O!{O~OP]XR]X[]Xa]Xj]Xr]X!Q]X!S]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X'z]X(a]X(r]X(y]X(z]X~O!g%RX~P(qO_!}O(V#PO(W!}O(X#PO~O_#QO(X#PO(Y#PO(Z#QO~Ox#SO!U#TO(b#TO(c#VO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T<ZO(VTO(YUO(aVO(o[O~O![#ZO!]#WO!Y(hP!Y(vP~P+}O!^#cO~P`OPYOQYOSfOd!jOe!iOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(VTO(YUO(aVO(o[O~Op#mO![#iO!|]O#i#lO#j#iO(T<[O!k(sP~P.iO!l#oO(T#nO~O!x#sO!|]O%h#tO~O#k#uO~O!g#vO#k#uO~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!]$_O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa(fX'z(fX'w(fX!k(fX!Y(fX!_(fX%i(fX!g(fX~P1qO#S$dO#`$eO$Q$eOP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX!_(gX%i(gX~Oa(gX'z(gX'w(gX!Y(gX!k(gXv(gX!g(gX~P4UO#`$eO~O$]$hO$_$gO$f$mO~OSfO!_$nO$i$oO$k$qO~Oh%VOj%dOk%dOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T$sO(VTO(YUO(a$uO(y$}O(z%POg(^P~Ol%[O~P7eO!l%eO~O!S%hO!_%iO(T%gO~O!g%mO~Oa%nO'z%nO~O!Q%rO~P%[O(U!lO~P%[O%n%vO~P%[Oh%VO!l%eO(T%gO(U!lO~Oe%}O!l%eO(T%gO~Oj$RO~O!_&PO(T%gO(U!lO(VTO(YUO`)WP~O!Q&SO!l&RO%j&VO&T&WO~P;SO!x#sO~O%s&YO!S)SX!_)SX(T)SX~O(T&ZO~Ol!PO!u&`O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO~Od&eOe&dO!x&bO%h&cO%{&aO~P<bOd&hOeyOl!PO!_&gO!u&`O!xxO!|]O%h}O%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO~Ob&kO#`&nO%j&iO(U!lO~P=gO!l&oO!u&sO~O!l#oO~O!_XO~Oa%nO'x&{O'z%nO~Oa%nO'x'OO'z%nO~Oa%nO'x'QO'z%nO~O'w]X!Y]Xv]X!k]X&[]X!_]X%i]X!g]X~P(qO!b'_O!c'WO!d'WO(U!lO(VTO(YUO~Os'UO!S'TO!['XO(e'SO!^(iP!^(xP~P@nOn'bO!_'`O(T%gO~Oe'gO!l%eO(T%gO~O!Q&SO!l&RO~Os!nO!S!oO!|<VO#T!pO#U!pO#W!pO#X!pO(U!lO(VTO(YUO(e!mO(o!sO~O!b'mO!c'lO!d'lO#V!pO#['nO#]'nO~PBYOa%nOh%VO!g#vO!l%eO'z%nO(r'pO~O!p'tO#`'rO~PChOs!nO!S!oO(VTO(YUO(e!mO(o!sO~O!_XOs(mX!S(mX!b(mX!c(mX!d(mX!|(mX#T(mX#U(mX#V(mX#W(mX#X(mX#[(mX#](mX(U(mX(V(mX(Y(mX(e(mX(o(mX~O!c'lO!d'lO(U!lO~PDWO(P'xO(Q'xO(R'zO~O_!}O(V'|O(W!}O(X'|O~O_#QO(X'|O(Y'|O(Z#QO~Ov(OO~P%[Ox#SO!U#TO(b#TO(c(RO~O![(TO!Y'WX!Y'^X!]'WX!]'^X~P+}O!](VO!Y(hX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!](VO!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~O!Y(hX~PHRO!Y([O~O!Y(uX!](uX!g(uX!k(uX(r(uX~O#`(uX#k#dX!^(uX~PJUO#`(]O!Y(wX!](wX~O!](^O!Y(vX~O!Y(aO~O#`$eO~PJUO!^(bO~P`OR#zO!Q#yO!S#{O!l#xO(aVOP!na[!naj!nar!na!]!na!p!na#R!na#n!na#o!na#p!na#q!na#r!na#s!na#t!na#u!na#v!na#x!na#z!na#{!na(r!na(y!na(z!na~Oa!na'z!na'w!na!Y!na!k!nav!na!_!na%i!na!g!na~PKlO!k(cO~O!g#vO#`(dO(r'pO!](tXa(tX'z(tX~O!k(tX~PNXO!S%hO!_%iO!|]O#i(iO#j(hO(T%gO~O!](jO!k(sX~O!k(lO~O!S%hO!_%iO#j(hO(T%gO~OP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~O!g#vO!k(gX~P! uOR(nO!Q(mO!l#xO#S$dO!|!{a!S!{a~O!x!{a%h!{a!_!{a#i!{a#j!{a(T!{a~P!#vO!x(rO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~O#k(xO~O![(zO!k(kP~P%[O(e(|O(o[O~O!S)OO!l#xO(e(|O(o[O~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]$_Oa$qa'z$qa'w$qa!k$qa!Y$qa!_$qa%i$qa!g$qa~Ol)dO~P!&zOh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Og(pP~P!,TO!Q)iO!g)hO!_$^X$Z$^X$]$^X$_$^X$f$^X~O!g)hO!_({X$Z({X$]({X$_({X$f({X~O!Q)iO~P!.^O!Q)iO!_({X$Z({X$]({X$_({X$f({X~O!_)kO$Z)oO$])jO$_)jO$f)pO~O![)sO~P!)[O$]$hO$_$gO$f)wO~On$zX!Q$zX#S$zX'y$zX(y$zX(z$zX~OgmXg$zXnmX!]mX#`mX~P!0SOx)yO(b)zO(c)|O~On*VO!Q*OO'y*PO(y$}O(z%PO~Og)}O~P!1WOg*WO~Oh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S*YO!_*ZO!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op*`O}O(T&ZO~O!l+SO~O(T(vO~Op+WO!S%hO![#iO!_%iO!|]O#i#lO#j#iO(T%gO!k(sP~O!g#vO#k+XO~O!S%hOTX'z)TX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa!ja!]!ja'z!ja'w!ja!Y!ja!k!jav!ja!_!ja%i!ja!g!ja~P!:tOR#zO!Q#yO!S#{O!l#xO(aVOP!ra[!raj!rar!ra!]!ra!p!ra#R!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#v!ra#x!ra#z!ra#{!ra(r!ra(y!ra(z!ra~Oa!ra'z!ra'w!ra!Y!ra!k!rav!ra!_!ra%i!ra!g!ra~P!=[OR#zO!Q#yO!S#{O!l#xO(aVOP!ta[!taj!tar!ta!]!ta!p!ta#R!ta#n!ta#o!ta#p!ta#q!ta#r!ta#s!ta#t!ta#u!ta#v!ta#x!ta#z!ta#{!ta(r!ta(y!ta(z!ta~Oa!ta'z!ta'w!ta!Y!ta!k!tav!ta!_!ta%i!ta!g!ta~P!?rOh%VOn+gO!_'`O%i+fO~O!g+iOa(]X!_(]X'z(]X!](]X~Oa%nO!_XO'z%nO~Oh%VO!l%eO~Oh%VO!l%eO(T%gO~O!g#vO#k(xO~Ob+tO%j+uO(T+qO(VTO(YUO!^)XP~O!]+vO`)WX~O[+zO~O`+{O~O!_&PO(T%gO(U!lO`)WP~O%j,OO~P;SOh%VO#`,SO~Oh%VOn,VO!_$|O~O!_,XO~O!Q,ZO!_XO~O%n%vO~O!x,`O~Oe,eO~Ob,fO(T#nO(VTO(YUO!^)VP~Oe%}O~O%j!QO(T&ZO~P=gO[,kO`,jO~OPYOQYOSfOdzOeyOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!iuO!lZO!oYO!pYO!qYO!svO!xxO!|]O$niO%h}O(VTO(YUO(aVO(o[O~O!_!eO!u!gO$W!kO(T!dO~P!FyO`,jOa%nO'z%nO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa,pOl!OO!uwO%l!OO%m!OO%n!OO~P!IcO!l&oO~O&^,vO~O!_,xO~O&o,zO&q,{OP&laQ&laS&laY&laa&lad&lae&lal&lap&lar&las&lat&laz&la|&la!O&la!S&la!W&la!X&la!_&la!i&la!l&la!o&la!p&la!q&la!s&la!u&la!x&la!|&la$W&la$n&la%h&la%j&la%l&la%m&la%n&la%q&la%s&la%v&la%w&la%y&la&W&la&^&la&`&la&b&la&d&la&g&la&m&la&s&la&u&la&w&la&y&la&{&la'w&la(T&la(V&la(Y&la(a&la(o&la!^&la&e&lab&la&j&la~O(T-QO~Oh!eX!]!RX!^!RX!g!RX!g!eX!l!eX#`!RX~O!]!eX!^!eX~P#!iO!g-VO#`-UOh(jX!]#hX!^#hX!g(jX!l(jX~O!](jX!^(jX~P##[Oh%VO!g-XO!l%eO!]!aX!^!aX~Os!nO!S!oO(VTO(YUO(e!mO~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(VTO(YUO(aVO(o[O~O(T=QO~P#$qO!]-]O!^(iX~O!^-_O~O!g-VO#`-UO!]#hX!^#hX~O!]-`O!^(xX~O!^-bO~O!c-cO!d-cO(U!lO~P#$`O!^-fO~P'_On-iO!_'`O~O!Y-nO~Os!{a!b!{a!c!{a!d!{a#T!{a#U!{a#V!{a#W!{a#X!{a#[!{a#]!{a(U!{a(V!{a(Y!{a(e!{a(o!{a~P!#vO!p-sO#`-qO~PChO!c-uO!d-uO(U!lO~PDWOa%nO#`-qO'z%nO~Oa%nO!g#vO#`-qO'z%nO~Oa%nO!g#vO!p-sO#`-qO'z%nO(r'pO~O(P'xO(Q'xO(R-zO~Ov-{O~O!Y'Wa!]'Wa~P!:tO![.PO!Y'WX!]'WX~P%[O!](VO!Y(ha~O!Y(ha~PHRO!](^O!Y(va~O!S%hO![.TO!_%iO(T%gO!Y'^X!]'^X~O#`.VO!](ta!k(taa(ta'z(ta~O!g#vO~P#,wO!](jO!k(sa~O!S%hO!_%iO#j.ZO(T%gO~Op.`O!S%hO![.]O!_%iO!|]O#i._O#j.]O(T%gO!]'aX!k'aX~OR.dO!l#xO~Oh%VOn.gO!_'`O%i.fO~Oa#ci!]#ci'z#ci'w#ci!Y#ci!k#civ#ci!_#ci%i#ci!g#ci~P!:tOn>]O!Q*OO'y*PO(y$}O(z%PO~O#k#_aa#_a#`#_a'z#_a!]#_a!k#_a!_#_a!Y#_a~P#/sO#k(`XP(`XR(`X[(`Xa(`Xj(`Xr(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X'z(`X(a(`X(r(`X!k(`X!Y(`X'w(`Xv(`X!_(`X%i(`X!g(`X~P!6kO!].tO!k(kX~P!:tO!k.wO~O!Y.yO~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mia#mij#mir#mi!]#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#n#mi~P#3cO#n$OO~P#3cOP$[OR#zOr$aO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO[#mia#mij#mi!]#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#r#mi~P#6QO#r$QO~P#6QOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO(aVOa#mi!]#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#v#mi~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO(aVO(z#}Oa#mi!]#mi#z#mi#{#mi'z#mi(r#mi(y#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#x$UO~P#;VO#x#mi~P#;VO#v$SO~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO(aVO(y#|O(z#}Oa#mi!]#mi#{#mi'z#mi(r#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#z#mi~P#={O#z$WO~P#={OP]XR]X[]Xj]Xr]X!Q]X!S]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X!]]X!^]X~O$O]X~P#@jOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO#z<gO#{<hO(aVO(r$YO(y#|O(z#}O~O$O.{O~P#BwO#S$dO#`<nO$Q<nO$O(gX!^(gX~P! uOa'da!]'da'z'da'w'da!k'da!Y'dav'da!_'da%i'da!g'da~P!:tO[#mia#mij#mir#mi!]#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO(y#mi(z#mi~P#EyOn>]O!Q*OO'y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P#EyO!]/POg(pX~P!1WOg/RO~Oa$Pi!]$Pi'z$Pi'w$Pi!Y$Pi!k$Piv$Pi!_$Pi%i$Pi!g$Pi~P!:tO$]/SO$_/SO~O$]/TO$_/TO~O!g)hO#`/UO!_$cX$Z$cX$]$cX$_$cX$f$cX~O![/VO~O!_)kO$Z/XO$])jO$_)jO$f/YO~O!]<iO!^(fX~P#BwO!^/ZO~O!g)hO$f({X~O$f/]O~Ov/^O~P!&zOx)yO(b)zO(c/aO~O!S/dO~O(y$}On%aa!Q%aa'y%aa(z%aa!]%aa#`%aa~Og%aa$O%aa~P#L{O(z%POn%ca!Q%ca'y%ca(y%ca!]%ca#`%ca~Og%ca$O%ca~P#MnO!]fX!gfX!kfX!k$zX(rfX~P!0SOp%WOPP~P!1uOr*sO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO~Os<}O!S/nO![+[O!^*pO(e<|O!^(xP~P$ [O!k/oO~P#/sO!]/pO!g#vO(r'pO!k)OX~O!k/uO~OnoX!QoX'yoX(yoX(zoX~O!g#vO!koX~P$#OOp/wO!S%hO![*^O!_%iO(T%gO!k)OP~O#k/xO~O!Y$zX!]$zX!g%RX~P!0SO!]/yO!Y)PX~P#/sO!g/{O~O!Y/}O~OpkO(T0OO~P.iOh%VOr0TO!g#vO!l%eO(r'pO~O!g+iO~Oa%nO!]0XO'z%nO~O!^0ZO~P!5iO!c0[O!d0[O(U!lO~P#$`Os!nO!S0]O(VTO(YUO(e!mO~O#[0_O~Og%aa!]%aa#`%aa$O%aa~P!1WOg%ca!]%ca#`%ca$O%ca~P!1WOj%dOk%dOl%dO(T&ZOg'mX!]'mX~O!]*yOg(^a~Og0hO~On0jO#`0iOg(_a!](_a~OR0kO!Q0kO!S0lO#S$dOn}a'y}a(y}a(z}a!]}a#`}a~Og}a$O}a~P$(cO!Q*OO'y*POn$sa(y$sa(z$sa!]$sa#`$sa~Og$sa$O$sa~P$)_O!Q*OO'y*POn$ua(y$ua(z$ua!]$ua#`$ua~Og$ua$O$ua~P$*QO#k0oO~Og%Ta!]%Ta#`%Ta$O%Ta~P!1WO!g#vO~O#k0rO~O!]+^Oa)Ta'z)Ta~OR#zO!Q#yO!S#{O!l#xO(aVOP!ri[!rij!rir!ri!]!ri!p!ri#R!ri#n!ri#o!ri#p!ri#q!ri#r!ri#s!ri#t!ri#u!ri#v!ri#x!ri#z!ri#{!ri(r!ri(y!ri(z!ri~Oa!ri'z!ri'w!ri!Y!ri!k!riv!ri!_!ri%i!ri!g!ri~P$+oOh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op0{O%]0|O(T0zO~P$.VO!g+iOa(]a!_(]a'z(]a!](]a~O#k1SO~O[]X!]fX!^fX~O!]1TO!^)XX~O!^1VO~O[1WO~Ob1YO(T+qO(VTO(YUO~O!_&PO(T%gO`'uX!]'uX~O!]+vO`)Wa~O!k1]O~P!:tO[1`O~O`1aO~O#`1fO~On1iO!_$|O~O(e(|O!^)UP~Oh%VOn1rO!_1oO%i1qO~O[1|O!]1zO!^)VX~O!^1}O~O`2POa%nO'z%nO~O(T#nO(VTO(YUO~O#S$dO#`$eO$Q$eOP(gXR(gX[(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~Oj2SO&[2TOa(gX~P$3pOj2SO#`$eO&[2TO~Oa2VO~P%[Oa2XO~O&e2[OP&ciQ&ciS&ciY&cia&cid&cie&cil&cip&cir&cis&cit&ciz&ci|&ci!O&ci!S&ci!W&ci!X&ci!_&ci!i&ci!l&ci!o&ci!p&ci!q&ci!s&ci!u&ci!x&ci!|&ci$W&ci$n&ci%h&ci%j&ci%l&ci%m&ci%n&ci%q&ci%s&ci%v&ci%w&ci%y&ci&W&ci&^&ci&`&ci&b&ci&d&ci&g&ci&m&ci&s&ci&u&ci&w&ci&y&ci&{&ci'w&ci(T&ci(V&ci(Y&ci(a&ci(o&ci!^&cib&ci&j&ci~Ob2bO!^2`O&j2aO~P`O!_XO!l2dO~O&q,{OP&liQ&liS&liY&lia&lid&lie&lil&lip&lir&lis&lit&liz&li|&li!O&li!S&li!W&li!X&li!_&li!i&li!l&li!o&li!p&li!q&li!s&li!u&li!x&li!|&li$W&li$n&li%h&li%j&li%l&li%m&li%n&li%q&li%s&li%v&li%w&li%y&li&W&li&^&li&`&li&b&li&d&li&g&li&m&li&s&li&u&li&w&li&y&li&{&li'w&li(T&li(V&li(Y&li(a&li(o&li!^&li&e&lib&li&j&li~O!Y2jO~O!]!aa!^!aa~P#BwOs!nO!S!oO![2pO(e!mO!]'XX!^'XX~P@nO!]-]O!^(ia~O!]'_X!^'_X~P!9|O!]-`O!^(xa~O!^2wO~P'_Oa%nO#`3QO'z%nO~Oa%nO!g#vO#`3QO'z%nO~Oa%nO!g#vO!p3UO#`3QO'z%nO(r'pO~Oa%nO'z%nO~P!:tO!]$_Ov$qa~O!Y'Wi!]'Wi~P!:tO!](VO!Y(hi~O!](^O!Y(vi~O!Y(wi!](wi~P!:tO!](ti!k(tia(ti'z(ti~P!:tO#`3WO!](ti!k(tia(ti'z(ti~O!](jO!k(si~O!S%hO!_%iO!|]O#i3]O#j3[O(T%gO~O!S%hO!_%iO#j3[O(T%gO~On3dO!_'`O%i3cO~Oh%VOn3dO!_'`O%i3cO~O#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa'z%aa(a%aa(r%aa!k%aa!Y%aa'w%aav%aa!_%aa%i%aa!g%aa~P#L{O#k%caP%caR%ca[%caa%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca'z%ca(a%ca(r%ca!k%ca!Y%ca'w%cav%ca!_%ca%i%ca!g%ca~P#MnO#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!]%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa'z%aa(a%aa(r%aa!k%aa!Y%aa'w%aa#`%aav%aa!_%aa%i%aa!g%aa~P#/sO#k%caP%caR%ca[%caa%caj%car%ca!S%ca!]%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca'z%ca(a%ca(r%ca!k%ca!Y%ca'w%ca#`%cav%ca!_%ca%i%ca!g%ca~P#/sO#k}aP}a[}aa}aj}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a'z}a(a}a(r}a!k}a!Y}a'w}av}a!_}a%i}a!g}a~P$(cO#k$saP$saR$sa[$saa$saj$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa'z$sa(a$sa(r$sa!k$sa!Y$sa'w$sav$sa!_$sa%i$sa!g$sa~P$)_O#k$uaP$uaR$ua[$uaa$uaj$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua'z$ua(a$ua(r$ua!k$ua!Y$ua'w$uav$ua!_$ua%i$ua!g$ua~P$*QO#k%TaP%TaR%Ta[%Taa%Taj%Tar%Ta!S%Ta!]%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta'z%Ta(a%Ta(r%Ta!k%Ta!Y%Ta'w%Ta#`%Tav%Ta!_%Ta%i%Ta!g%Ta~P#/sOa#cq!]#cq'z#cq'w#cq!Y#cq!k#cqv#cq!_#cq%i#cq!g#cq~P!:tO![3lO!]'YX!k'YX~P%[O!].tO!k(ka~O!].tO!k(ka~P!:tO!Y3oO~O$O!na!^!na~PKlO$O!ja!]!ja!^!ja~P#BwO$O!ra!^!ra~P!=[O$O!ta!^!ta~P!?rOg']X!]']X~P!,TO!]/POg(pa~OSfO!_4TO$d4UO~O!^4YO~Ov4ZO~P#/sOa$mq!]$mq'z$mq'w$mq!Y$mq!k$mqv$mq!_$mq%i$mq!g$mq~P!:tO!Y4]O~P!&zO!S4^O~O!Q*OO'y*PO(z%POn'ia(y'ia!]'ia#`'ia~Og'ia$O'ia~P%-fO!Q*OO'y*POn'ka(y'ka(z'ka!]'ka#`'ka~Og'ka$O'ka~P%.XO(r$YO~P#/sO!YfX!Y$zX!]fX!]$zX!g%RX#`fX~P!0SOp%WO(T=WO~P!1uOp4bO!S%hO![4aO!_%iO(T%gO!]'eX!k'eX~O!]/pO!k)Oa~O!]/pO!g#vO!k)Oa~O!]/pO!g#vO(r'pO!k)Oa~Og$|i!]$|i#`$|i$O$|i~P!1WO![4jO!Y'gX!]'gX~P!3tO!]/yO!Y)Pa~O!]/yO!Y)Pa~P#/sOP]XR]X[]Xj]Xr]X!Q]X!S]X!Y]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~Oj%YX!g%YX~P%2OOj4oO!g#vO~Oh%VO!g#vO!l%eO~Oh%VOr4tO!l%eO(r'pO~Or4yO!g#vO(r'pO~Os!nO!S4zO(VTO(YUO(e!mO~O(y$}On%ai!Q%ai'y%ai(z%ai!]%ai#`%ai~Og%ai$O%ai~P%5oO(z%POn%ci!Q%ci'y%ci(y%ci!]%ci#`%ci~Og%ci$O%ci~P%6bOg(_i!](_i~P!1WO#`5QOg(_i!](_i~P!1WO!k5VO~Oa$oq!]$oq'z$oq'w$oq!Y$oq!k$oqv$oq!_$oq%i$oq!g$oq~P!:tO!Y5ZO~O!]5[O!_)QX~P#/sOa$zX!_$zX%^]X'z$zX!]$zX~P!0SO%^5_OaoX!_oX'zoX!]oX~P$#OOp5`O(T#nO~O%^5_O~Ob5fO%j5gO(T+qO(VTO(YUO!]'tX!^'tX~O!]1TO!^)Xa~O[5kO~O`5lO~O[5pO~Oa%nO'z%nO~P#/sO!]5uO#`5wO!^)UX~O!^5xO~Or6OOs!nO!S*iO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!pO#W!pO#X!pO#[5}O#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O!^5|O~P%;eOn6TO!_1oO%i6SO~Oh%VOn6TO!_1oO%i6SO~Ob6[O(T#nO(VTO(YUO!]'sX!^'sX~O!]1zO!^)Va~O(VTO(YUO(e6^O~O`6bO~Oj6eO&[6fO~PNXO!k6gO~P%[Oa6iO~Oa6iO~P%[Ob2bO!^6nO&j2aO~P`O!g6pO~O!g6rOh(ji!](ji!^(ji!g(ji!l(jir(ji(r(ji~O!]#hi!^#hi~P#BwO#`6sO!]#hi!^#hi~O!]!ai!^!ai~P#BwOa%nO#`6|O'z%nO~Oa%nO!g#vO#`6|O'z%nO~O!](tq!k(tqa(tq'z(tq~P!:tO!](jO!k(sq~O!S%hO!_%iO#j7TO(T%gO~O!_'`O%i7WO~On7[O!_'`O%i7WO~O#k'iaP'iaR'ia['iaa'iaj'iar'ia!S'ia!l'ia!p'ia#R'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#v'ia#x'ia#z'ia#{'ia'z'ia(a'ia(r'ia!k'ia!Y'ia'w'iav'ia!_'ia%i'ia!g'ia~P%-fO#k'kaP'kaR'ka['kaa'kaj'kar'ka!S'ka!l'ka!p'ka#R'ka#n'ka#o'ka#p'ka#q'ka#r'ka#s'ka#t'ka#u'ka#v'ka#x'ka#z'ka#{'ka'z'ka(a'ka(r'ka!k'ka!Y'ka'w'kav'ka!_'ka%i'ka!g'ka~P%.XO#k$|iP$|iR$|i[$|ia$|ij$|ir$|i!S$|i!]$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i'z$|i(a$|i(r$|i!k$|i!Y$|i'w$|i#`$|iv$|i!_$|i%i$|i!g$|i~P#/sO#k%aiP%aiR%ai[%aia%aij%air%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai'z%ai(a%ai(r%ai!k%ai!Y%ai'w%aiv%ai!_%ai%i%ai!g%ai~P%5oO#k%ciP%ciR%ci[%cia%cij%cir%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci'z%ci(a%ci(r%ci!k%ci!Y%ci'w%civ%ci!_%ci%i%ci!g%ci~P%6bO!]'Ya!k'Ya~P!:tO!].tO!k(ki~O$O#ci!]#ci!^#ci~P#BwOP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mij#mir#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#n#mi~P%NdO#n<_O~P%NdOP$[OR#zOr<kO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO[#mij#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#r#mi~P&!lO#r<aO~P&!lOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO(aVO#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#v#mi~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO(aVO(z#}O#z#mi#{#mi$O#mi(r#mi(y#mi!]#mi!^#mi~O#x<eO~P&&uO#x#mi~P&&uO#v<cO~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO(aVO(y#|O(z#}O#{#mi$O#mi(r#mi!]#mi!^#mi~O#z#mi~P&)UO#z<gO~P&)UOa#|y!]#|y'z#|y'w#|y!Y#|y!k#|yv#|y!_#|y%i#|y!g#|y~P!:tO[#mij#mir#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi!]#mi!^#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO(y#mi(z#mi~P&,QOn>^O!Q*OO'y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P&,QO#S$dOP(`XR(`X[(`Xj(`Xn(`Xr(`X!Q(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X$O(`X'y(`X(a(`X(r(`X(y(`X(z(`X!](`X!^(`X~O$O$Pi!]$Pi!^$Pi~P#BwO$O!ri!^!ri~P$+oOg']a!]']a~P!1WO!^7nO~O!]'da!^'da~P#BwO!Y7oO~P#/sO!g#vO(r'pO!]'ea!k'ea~O!]/pO!k)Oi~O!]/pO!g#vO!k)Oi~Og$|q!]$|q#`$|q$O$|q~P!1WO!Y'ga!]'ga~P#/sO!g7vO~O!]/yO!Y)Pi~P#/sO!]/yO!Y)Pi~O!Y7yO~Oh%VOr8OO!l%eO(r'pO~Oj8QO!g#vO~Or8TO!g#vO(r'pO~O!Q*OO'y*PO(z%POn'ja(y'ja!]'ja#`'ja~Og'ja$O'ja~P&5RO!Q*OO'y*POn'la(y'la(z'la!]'la#`'la~Og'la$O'la~P&5tOg(_q!](_q~P!1WO#`8VOg(_q!](_q~P!1WO!Y8WO~Og%Oq!]%Oq#`%Oq$O%Oq~P!1WOa$oy!]$oy'z$oy'w$oy!Y$oy!k$oyv$oy!_$oy%i$oy!g$oy~P!:tO!g6rO~O!]5[O!_)Qa~O!_'`OP$TaR$Ta[$Taj$Tar$Ta!Q$Ta!S$Ta!]$Ta!l$Ta!p$Ta#R$Ta#n$Ta#o$Ta#p$Ta#q$Ta#r$Ta#s$Ta#t$Ta#u$Ta#v$Ta#x$Ta#z$Ta#{$Ta(a$Ta(r$Ta(y$Ta(z$Ta~O%i7WO~P&8fO%^8[Oa%[i!_%[i'z%[i!]%[i~Oa#cy!]#cy'z#cy'w#cy!Y#cy!k#cyv#cy!_#cy%i#cy!g#cy~P!:tO[8^O~Ob8`O(T+qO(VTO(YUO~O!]1TO!^)Xi~O`8dO~O(e(|O!]'pX!^'pX~O!]5uO!^)Ua~O!^8nO~P%;eO(o!sO~P$&YO#[8oO~O!_1oO~O!_1oO%i8qO~On8tO!_1oO%i8qO~O[8yO!]'sa!^'sa~O!]1zO!^)Vi~O!k8}O~O!k9OO~O!k9RO~O!k9RO~P%[Oa9TO~O!g9UO~O!k9VO~O!](wi!^(wi~P#BwOa%nO#`9_O'z%nO~O!](ty!k(tya(ty'z(ty~P!:tO!](jO!k(sy~O%i9bO~P&8fO!_'`O%i9bO~O#k$|qP$|qR$|q[$|qa$|qj$|qr$|q!S$|q!]$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q'z$|q(a$|q(r$|q!k$|q!Y$|q'w$|q#`$|qv$|q!_$|q%i$|q!g$|q~P#/sO#k'jaP'jaR'ja['jaa'jaj'jar'ja!S'ja!l'ja!p'ja#R'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#v'ja#x'ja#z'ja#{'ja'z'ja(a'ja(r'ja!k'ja!Y'ja'w'jav'ja!_'ja%i'ja!g'ja~P&5RO#k'laP'laR'la['laa'laj'lar'la!S'la!l'la!p'la#R'la#n'la#o'la#p'la#q'la#r'la#s'la#t'la#u'la#v'la#x'la#z'la#{'la'z'la(a'la(r'la!k'la!Y'la'w'lav'la!_'la%i'la!g'la~P&5tO#k%OqP%OqR%Oq[%Oqa%Oqj%Oqr%Oq!S%Oq!]%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq'z%Oq(a%Oq(r%Oq!k%Oq!Y%Oq'w%Oq#`%Oqv%Oq!_%Oq%i%Oq!g%Oq~P#/sO!]'Yi!k'Yi~P!:tO$O#cq!]#cq!^#cq~P#BwO(y$}OP%aaR%aa[%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa$O%aa(a%aa(r%aa!]%aa!^%aa~On%aa!Q%aa'y%aa(z%aa~P&IyO(z%POP%caR%ca[%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca$O%ca(a%ca(r%ca!]%ca!^%ca~On%ca!Q%ca'y%ca(y%ca~P&LQOn>^O!Q*OO'y*PO(z%PO~P&IyOn>^O!Q*OO'y*PO(y$}O~P&LQOR0kO!Q0kO!S0lO#S$dOP}a[}aj}an}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a$O}a'y}a(a}a(r}a(y}a(z}a!]}a!^}a~O!Q*OO'y*POP$saR$sa[$saj$san$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa$O$sa(a$sa(r$sa(y$sa(z$sa!]$sa!^$sa~O!Q*OO'y*POP$uaR$ua[$uaj$uan$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua$O$ua(a$ua(r$ua(y$ua(z$ua!]$ua!^$ua~On>^O!Q*OO'y*PO(y$}O(z%PO~OP%TaR%Ta[%Taj%Tar%Ta!S%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta$O%Ta(a%Ta(r%Ta!]%Ta!^%Ta~P''VO$O$mq!]$mq!^$mq~P#BwO$O$oq!]$oq!^$oq~P#BwO!^9oO~O$O9pO~P!1WO!g#vO!]'ei!k'ei~O!g#vO(r'pO!]'ei!k'ei~O!]/pO!k)Oq~O!Y'gi!]'gi~P#/sO!]/yO!Y)Pq~Or9wO!g#vO(r'pO~O[9yO!Y9xO~P#/sO!Y9xO~Oj:PO!g#vO~Og(_y!](_y~P!1WO!]'na!_'na~P#/sOa%[q!_%[q'z%[q!]%[q~P#/sO[:UO~O!]1TO!^)Xq~O`:YO~O#`:ZO!]'pa!^'pa~O!]5uO!^)Ui~P#BwO!S:]O~O!_1oO%i:`O~O(VTO(YUO(e:eO~O!]1zO!^)Vq~O!k:hO~O!k:iO~O!k:jO~O!k:jO~P%[O#`:mO!]#hy!^#hy~O!]#hy!^#hy~P#BwO%i:rO~P&8fO!_'`O%i:rO~O$O#|y!]#|y!^#|y~P#BwOP$|iR$|i[$|ij$|ir$|i!S$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i$O$|i(a$|i(r$|i!]$|i!^$|i~P''VO!Q*OO'y*PO(z%POP'iaR'ia['iaj'ian'iar'ia!S'ia!l'ia!p'ia#R'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#v'ia#x'ia#z'ia#{'ia$O'ia(a'ia(r'ia(y'ia!]'ia!^'ia~O!Q*OO'y*POP'kaR'ka['kaj'kan'kar'ka!S'ka!l'ka!p'ka#R'ka#n'ka#o'ka#p'ka#q'ka#r'ka#s'ka#t'ka#u'ka#v'ka#x'ka#z'ka#{'ka$O'ka(a'ka(r'ka(y'ka(z'ka!]'ka!^'ka~O(y$}OP%aiR%ai[%aij%ain%air%ai!Q%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai$O%ai'y%ai(a%ai(r%ai(z%ai!]%ai!^%ai~O(z%POP%ciR%ci[%cij%cin%cir%ci!Q%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci$O%ci'y%ci(a%ci(r%ci(y%ci!]%ci!^%ci~O$O$oy!]$oy!^$oy~P#BwO$O#cy!]#cy!^#cy~P#BwO!g#vO!]'eq!k'eq~O!]/pO!k)Oy~O!Y'gq!]'gq~P#/sOr:|O!g#vO(r'pO~O[;QO!Y;PO~P#/sO!Y;PO~Og(_!R!](_!R~P!1WOa%[y!_%[y'z%[y!]%[y~P#/sO!]1TO!^)Xy~O!]5uO!^)Uq~O(T;XO~O!_1oO%i;[O~O!k;_O~O%i;dO~P&8fOP$|qR$|q[$|qj$|qr$|q!S$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q$O$|q(a$|q(r$|q!]$|q!^$|q~P''VO!Q*OO'y*PO(z%POP'jaR'ja['jaj'jan'jar'ja!S'ja!l'ja!p'ja#R'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#v'ja#x'ja#z'ja#{'ja$O'ja(a'ja(r'ja(y'ja!]'ja!^'ja~O!Q*OO'y*POP'laR'la['laj'lan'lar'la!S'la!l'la!p'la#R'la#n'la#o'la#p'la#q'la#r'la#s'la#t'la#u'la#v'la#x'la#z'la#{'la$O'la(a'la(r'la(y'la(z'la!]'la!^'la~OP%OqR%Oq[%Oqj%Oqr%Oq!S%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq$O%Oq(a%Oq(r%Oq!]%Oq!^%Oq~P''VOg%e!Z!]%e!Z#`%e!Z$O%e!Z~P!1WO!Y;hO~P#/sOr;iO!g#vO(r'pO~O[;kO!Y;hO~P#/sO!]'pq!^'pq~P#BwO!]#h!Z!^#h!Z~P#BwO#k%e!ZP%e!ZR%e!Z[%e!Za%e!Zj%e!Zr%e!Z!S%e!Z!]%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z'z%e!Z(a%e!Z(r%e!Z!k%e!Z!Y%e!Z'w%e!Z#`%e!Zv%e!Z!_%e!Z%i%e!Z!g%e!Z~P#/sOr;tO!g#vO(r'pO~O!Y;uO~P#/sOr;|O!g#vO(r'pO~O!Y;}O~P#/sOP%e!ZR%e!Z[%e!Zj%e!Zr%e!Z!S%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z$O%e!Z(a%e!Z(r%e!Z!]%e!Z!^%e!Z~P''VOr<QO!g#vO(r'pO~Ov(fX~P1qO!Q%rO~P!)[O(U!lO~P!)[O!YfX!]fX#`fX~P%2OOP]XR]X[]Xj]Xr]X!Q]X!S]X!]]X!]fX!l]X!p]X#R]X#S]X#`]X#`fX#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~O!gfX!k]X!kfX(rfX~P'LTOP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_XO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]<iO!^$qa~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<tO!S${O!_$|O!i>WO!l$xO#j<zO$W%`O$t<vO$v<xO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Ol)dO~P(!yOr!eX(r!eX~P#!iOr(jX(r(jX~P##[O!^]X!^fX~P'LTO!YfX!Y$zX!]fX!]$zX#`fX~P!0SO#k<^O~O!g#vO#k<^O~O#`<nO~Oj<bO~O#`=OO!](wX!^(wX~O#`<nO!](uX!^(uX~O#k=PO~Og=RO~P!1WO#k=XO~O#k=YO~Og=RO(T&ZO~O!g#vO#k=ZO~O!g#vO#k=PO~O$O=[O~P#BwO#k=]O~O#k=^O~O#k=cO~O#k=dO~O#k=eO~O#k=fO~O$O=gO~P!1WO$O=hO~P!1WOl=sO~P7eOk#S#T#U#W#X#[#i#j#u$n$t$v$y%]%^%h%i%j%q%s%v%w%y%{~(OT#o!X'|(U#ps#n#qr!Q'}$]'}(T$_(e~",goto:"$9Y)]PPPPPP)^PP)aP)rP+W/]PPPP6mPP7TPP=QPPP@tPA^PA^PPPA^PCfPA^PA^PA^PCjPCoPD^PIWPPPI[PPPPI[L_PPPLeMVPI[PI[PP! eI[PPPI[PI[P!#lI[P!'S!(X!(bP!)U!)Y!)U!,gPPPPPPP!-W!(XPP!-h!/YP!2iI[I[!2n!5z!:h!:h!>gPPP!>oI[PPPPPPPPP!BOP!C]PPI[!DnPI[PI[I[I[I[I[PI[!FQP!I[P!LbP!Lf!Lp!Lt!LtP!IXP!Lx!LxP#!OP#!SI[PI[#!Y#%_CjA^PA^PA^A^P#&lA^A^#)OA^#+vA^#.SA^A^#.r#1W#1W#1]#1f#1W#1qPP#1WPA^#2ZA^#6YA^A^6mPPP#:_PPP#:x#:xP#:xP#;`#:xPP#;fP#;]P#;]#;y#;]#<e#<k#<n)aP#<q)aP#<z#<z#<zP)aP)aP)aP)aPP)aP#=Q#=TP#=T)aP#=XP#=[P)aP)aP)aP)aP)aP)a)aPP#=b#=h#=s#=y#>P#>V#>]#>k#>q#>{#?R#?]#?c#?s#?y#@k#@}#AT#AZ#Ai#BO#Cs#DR#DY#Et#FS#Gt#HS#HY#H`#Hf#Hp#Hv#H|#IW#Ij#IpPPPPPPPPPPP#IvPPPPPPP#Jk#Mx$ b$ i$ qPPP$']P$'f$*_$0x$0{$1O$1}$2Q$2X$2aP$2g$2jP$3W$3[$4S$5b$5g$5}PP$6S$6Y$6^$6a$6e$6i$7e$7|$8e$8i$8l$8o$8y$8|$9Q$9UR!|RoqOXst!Z#d%m&r&t&u&w,s,x2[2_Y!vQ'`-e1o5{Q%tvQ%|yQ&T|Q&j!VS'W!e-]Q'f!iS'l!r!yU*k$|*Z*oQ+o%}S+|&V&WQ,d&dQ-c'_Q-m'gQ-u'mQ0[*qQ1b,OQ1y,eR<{<Y%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_S#q]<V!r)_$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU+P%]<s<tQ+t&PQ,f&gQ,m&oQ0x+gQ0}+iQ1Y+uQ2R,kQ3`.gQ5`0|Q5f1TQ6[1zQ7Y3dQ8`5gR9e7['QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S!S!nQ!r!v!y!z$|'W'_'`'l'm'n*k*o*q*r-]-c-e-u0[0_1o5{5}%[$ti#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q&X|Q'U!eS'[%i-`Q+t&PQ,P&WQ,f&gQ0n+SQ1Y+uQ1_+{Q2Q,jQ2R,kQ5f1TQ5o1aQ6[1zQ6_1|Q6`2PQ8`5gQ8c5lQ8|6bQ:X8dQ:f8yQ;V:YR<}*ZrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R,h&k&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'b'r(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>R>S[#]WZ#W#Z'X(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ%wxQ%{yW&Q|&V&W,OQ&_!TQ'c!hQ'e!iQ(q#sS+n%|%}Q+r&PQ,_&bQ,c&dS-l'f'gQ.i(rQ1R+oQ1X+uQ1Z+vQ1^+zQ1t,`S1x,d,eQ2|-mQ5e1TQ5i1WQ5n1`Q6Z1yQ8_5gQ8b5kQ8f5pQ:T8^R;T:U!U$zi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y!^%yy!i!u%{%|%}'V'e'f'g'k'u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{Q+h%wQ,T&[Q,W&]Q,b&dQ.h(qQ1s,_U1w,c,d,eQ3e.iQ6U1tS6Y1x1yQ8x6Z#f>T#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o>U<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hW%Ti%V*y>PS&[!Q&iQ&]!RQ&^!SU*}%[%d=sR,R&Y%]%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^T)z$u){V+P%]<s<tW'[!e%i*Z-`S(}#y#zQ+c%rQ+y&SS.b(m(nQ1j,XQ5T0kR8i5u'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S$i$^c#Y#e%q%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.|.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vT#TV#U'RkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ'Y!eR2q-]!W!nQ!e!r!v!y!z$|'W'_'`'l'm'n*Z*k*o*q*r-]-c-e-u0[0_1o5{5}R1l,ZnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&y!^Q'v!xS(s#u<^Q+l%zQ,]&_Q,^&aQ-j'dQ-w'oS.r(x=PS0q+X=ZQ1P+mQ1n,[Q2c,zQ2e,{Q2m-WQ2z-kQ2}-oS5Y0r=eQ5a1QS5d1S=fQ6t2oQ6x2{Q6}3SQ8]5bQ9Y6vQ9Z6yQ9^7OR:l9V$d$]c#Y#e%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vS(o#p'iQ)P#zS+b%q.|S.c(n(pR3^.d'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS#q]<VQ&t!XQ&u!YQ&w![Q&x!]R2Z,vQ'a!hQ+e%wQ-h'cS.e(q+hQ2x-gW3b.h.i0w0yQ6w2yW7U3_3a3e5^U9a7V7X7ZU:q9c9d9fS;b:p:sQ;p;cR;x;qU!wQ'`-eT5y1o5{!Q_OXZ`st!V!Z#d#h%e%m&i&k&r&t&u&w(j,s,x.[2[2_]!pQ!r'`-e1o5{T#q]<V%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S(}#y#zS.b(m(n!s=l$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU$fd)_,mS(p#p'iU*v%R(w4OU0m+O.n7gQ5^0xQ7V3`Q9d7YR:s9em!tQ!r!v!y!z'`'l'm'n-e-u1o5{5}Q't!uS(f#g2US-s'k'wQ/s*]Q0R*jQ3U-vQ4f/tQ4r0TQ4s0UQ4x0^Q7r4`S7}4t4vS8R4y4{Q9r7sQ9v7yQ9{8OQ:Q8TS:{9w9xS;g:|;PS;s;h;iS;{;t;uS<P;|;}R<S<QQ#wbQ's!uS(e#g2US(g#m+WQ+Y%fQ+j%xQ+p&OU-r'k't'wQ.W(fU/r*]*`/wQ0S*jQ0V*lQ1O+kQ1u,aS3R-s-vQ3Z.`S4e/s/tQ4n0PS4q0R0^Q4u0WQ6W1vQ7P3US7q4`4bQ7u4fU7|4r4x4{Q8P4wQ8v6XS9q7r7sQ9u7yQ9}8RQ:O8SQ:c8wQ:y9rS:z9v9xQ;S:QQ;^:dS;f:{;PS;r;g;hS;z;s;uS<O;{;}Q<R<PQ<T<SQ=o=jQ={=tR=|=uV!wQ'`-e%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S#wz!j!r=i$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=o>R%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Q%fj!^%xy!i!u%{%|%}'V'e'f'g'k'u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{S&Oz!jQ+k%yQ,a&dW1v,b,c,d,eU6X1w1x1yS8w6Y6ZQ:d8x!r=j$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ=t>QR=u>R%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'b'r(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Y#bWZ#W#Z(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ,n&o!p=k$Z$n)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=n'XU']!e%i*ZR2s-`%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_!r)_$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ,m&oQ0x+gQ3`.gQ7Y3dR9e7[!b$Tc#Y%q(S(Y(t(y)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!P<d)^)q-Z.|2k2n3p3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!f$Vc#Y%q(S(Y(t(y)W)X)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!T<f)^)q-Z.|2k2n3p3v3w3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!^$Zc#Y%q(S(Y(t(y)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<WQ4_/kz>S)^)q-Z.|2k2n3p4P4X6u7b7k7l8k9X9g9m9n;W;`=vQ>X>ZR>Y>['QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS$oh$pR4U/U'XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$kf$qQ$ifS)j$l)nR)v$qT$jf$qT)l$l)n'XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$oh$pQ$rhR)u$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_!s>Q$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S#glOPXZst!Z!`!o#S#d#o#{$n%m&k&n&o&r&t&u&w&{'T'b)O)s*i+]+g,p,s,x-i.g/V/n0]0l1r2S2T2V2X2[2_2a3d4T4z6T6e6f6i7[8t9T!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^Q+T%aQ/c*Oo4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!U$yi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>YQ*c$zU*l$|*Z*oQ+U%bQ0W*m#f=q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n=r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hQ=w>TQ=x>UQ=y>VR=z>W!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hnoOXst!Z#d%m&r&t&u&w,s,x2[2_S*f${*YQ-R'OQ-S'QR4i/y%[%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q,U&]Q1h,WQ5s1gR8h5tV*n$|*Z*oU*n$|*Z*oT5z1o5{S0P*i/nQ4w0]T8S4z:]Q+j%xQ0V*lQ1O+kQ1u,aQ6W1vQ8v6XQ:c8wR;^:d!U%Oi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Yx*R$v)e*S*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>OS0`*t0a#f<o#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<p<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!d=S(u)c*[*e.j.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[`=T3}7c7f7j9h:t:w;yS=_.l3iT=`7e9k!U%Qi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y|*T$v)e*U*t+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>OS0b*u0c#f<q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!h=U(u)c*[*e.k.l.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[d=V3}7d7e7j9h9i:t:u:w;yS=a.m3jT=b7f9lrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q&f!UR,p&ornOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R&f!UQ,Y&^R1d,RsnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q1p,_S6R1s1tU8p6P6Q6US:_8r8sS;Y:^:aQ;m;ZR;w;nQ&m!VR,i&iR6_1|R:f8yW&Q|&V&W,OR1Z+vQ&r!WR,s&sR,y&xT2],x2_R,}&yQ,|&yR2f,}Q'y!{R-y'ySsOtQ#dXT%ps#dQ#OTR'{#OQ#RUR'}#RQ){$uR/`){Q#UVR(Q#UQ#XWU(W#X(X.QQ(X#YR.Q(YQ-^'YR2r-^Q.u(yS3m.u3nR3n.vQ-e'`R2v-eY!rQ'`-e1o5{R'j!rQ/Q)eR4S/QU#_W%h*YU(_#_(`.RQ(`#`R.R(ZQ-a']R2t-at`OXst!V!Z#d%m&i&k&r&t&u&w,s,x2[2_S#hZ%eU#r`#h.[R.[(jQ(k#jQ.X(gW.a(k.X3X7RQ3X.YR7R3YQ)n$lR/W)nQ$phR)t$pQ$`cU)a$`-|<jQ-|<WR<j)qQ/q*]W4c/q4d7t9sU4d/r/s/tS7t4e4fR9s7u$e*Q$v(u)c)e*[*e*t*u+Q+R+V.l.m.o.p.q/_/g/i/k/v/|0d0e0v1e3f3g3h3}4R4[4g4h4l4|5O5R5S5W5r7]7^7_7`7e7f7h7i7j7p7w7z8U8X8Z9h9i9j9t9|:R:S:t:u:v:w:x:};R;e;j;v;y=p=}>O>Z>[Q/z*eU4k/z4m7xQ4m/|R7x4lS*o$|*ZR0Y*ox*S$v)e*t*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>O!d.j(u)c*[*e.l.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/h*S.j7ca7c3}7e7f7j9h:t:w;yQ0a*tQ3i.lU4}0a3i9kR9k7e|*U$v)e*t*u+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>O!h.k(u)c*[*e.l.m.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/j*U.k7de7d3}7e7f7j9h9i:t:u:w;yQ0c*uQ3j.mU5P0c3j9lR9l7fQ*z%UR0g*zQ5]0vR8Y5]Q+_%kR0u+_Q5v1jS8j5v:[R:[8kQ,[&_R1m,[Q5{1oR8m5{Q1{,fS6]1{8zR8z6_Q1U+rW5h1U5j8a:VQ5j1XQ8a5iR:V8bQ+w&QR1[+wQ2_,xR6m2_YrOXst#dQ&v!ZQ+a%mQ,r&rQ,t&tQ,u&uQ,w&wQ2Y,sS2],x2_R6l2[Q%opQ&z!_Q&}!aQ'P!bQ'R!cQ'q!uQ+`%lQ+l%zQ,Q&XQ,h&mQ-P&|W-p'k's't'wQ-w'oQ0X*nQ1P+mQ1c,PS2O,i,lQ2g-OQ2h-RQ2i-SQ2}-oW3P-r-s-v-xQ5a1QQ5m1_Q5q1eQ6V1uQ6a2QQ6k2ZU6z3O3R3UQ6}3SQ8]5bQ8e5oQ8g5rQ8l5zQ8u6WQ8{6`S9[6{7PQ9^7OQ:W8cQ:b8vQ:g8|Q:n9]Q;U:XQ;]:cQ;a:oQ;l;VR;o;^Q%zyQ'd!iQ'o!uU+m%{%|%}Q-W'VU-k'e'f'gS-o'k'uQ0Q*jS1Q+n+oQ2o-YS2{-l-mQ3S-tS4p0R0UQ5b1RQ6v2uQ6y2|Q7O3TU7{4r4s4vQ9z7}R;O9{S$wi>PR*{%VU%Ui%V>PR0f*yQ$viS(u#v+iS)c$b$cQ)e$dQ*[$xS*e${*YQ*t%OQ*u%QQ+Q%^Q+R%_Q+V%cQ.l<oQ.m<qQ.o<uQ.p<wQ.q<yQ/_)yQ/g*RQ/i*TQ/k*VQ/v*aS/|*g/mQ0d*wQ0e*xl0v+f,V.f1i1q3c6S7W8q9b:`:r;[;dQ1e,SQ3f=SQ3g=UQ3h=XS3}<l<mQ4R/PS4[/d4^Q4g/xQ4h/yQ4l/{Q4|0`Q5O0bQ5R0iQ5S0jQ5W0oQ5r1fQ7]=]Q7^=_Q7_=aQ7`=cQ7e<pQ7f<rQ7h<vQ7i<xQ7j<zQ7p4_Q7w4jQ7z4oQ8U5QQ8X5[Q8Z5_Q9h=YQ9i=TQ9j=VQ9t7vQ9|8QQ:R8VQ:S8[Q:t=^Q:u=`Q:v=bQ:w=dQ:x9pQ:}9yQ;R:PQ;e=gQ;j;QQ;v;kQ;y=hQ=p>PQ=}>XQ>O>YQ>Z>]R>[>^Q+O%]Q.n<sR7g<tnpOXst!Z#d%m&r&t&u&w,s,x2[2_Q!fPS#fZ#oQ&|!`W'h!o*i0]4zQ(P#SQ)Q#{Q)r$nS,l&k&nQ,q&oQ-O&{S-T'T/nQ-g'bQ.x)OQ/[)sQ0s+]Q0y+gQ2W,pQ2y-iQ3a.gQ4W/VQ5U0lQ6Q1rQ6c2SQ6d2TQ6h2VQ6j2XQ6o2aQ7Z3dQ7m4TQ8s6TQ9P6eQ9Q6fQ9S6iQ9f7[Q:a8tR:k9T#[cOPXZst!Z!`!o#d#o#{%m&k&n&o&r&t&u&w&{'T'b)O*i+]+g,p,s,x-i.g/n0]0l1r2S2T2V2X2[2_2a3d4z6T6e6f6i7[8t9TQ#YWQ#eYQ%quQ%svS%uw!gS(S#W(VQ(Y#ZQ(t#uQ(y#xQ)R$OQ)S$PQ)T$QQ)U$RQ)V$SQ)W$TQ)X$UQ)Y$VQ)Z$WQ)[$XQ)^$ZQ)`$_Q)b$aQ)g$eW)q$n)s/V4TQ+d%tQ+x&RS-Z'X2pQ-x'rS-}(T.PQ.S(]Q.U(dQ.s(xQ.v(zQ.z<UQ.|<XQ.}<YQ/O<]Q/b)}Q0p+XQ2k-UQ2n-XQ3O-qQ3V.VQ3k.tQ3p<^Q3q<_Q3r<`Q3s<aQ3t<bQ3u<cQ3v<dQ3w<eQ3x<fQ3y<gQ3z<hQ3{.{Q3|<kQ4P<nQ4Q<{Q4X<iQ5X0rQ5c1SQ6u=OQ6{3QQ7Q3WQ7a3lQ7b=PQ7k=RQ7l=ZQ8k5wQ9X6sQ9]6|Q9g=[Q9m=eQ9n=fQ:o9_Q;W:ZQ;`:mQ<W#SR=v>SR#[WR'Z!el!tQ!r!v!y!z'`'l'm'n-e-u1o5{5}S'V!e-]U*j$|*Z*oS-Y'W'_S0U*k*qQ0^*rQ2u-cQ4v0[R4{0_R({#xQ!fQT-d'`-e]!qQ!r'`-e1o5{Q#p]R'i<VR)f$dY!uQ'`-e1o5{Q'k!rS'u!v!yS'w!z5}S-t'l'mQ-v'nR3T-uT#kZ%eS#jZ%eS%km,oU(g#h#i#lS.Y(h(iQ.^(jQ0t+^Q3Y.ZU3Z.[.]._S7S3[3]R9`7Td#^W#W#Z%h(T(^*Y+Z.T/mr#gZm#h#i#l%e(h(i(j+^.Z.[.]._3[3]7TS*]$x*bQ/t*^Q2U,oQ2l-VQ4`/pQ6q2dQ7s4aQ9W6rT=m'X+[V#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Z/mS-['X+[T.O(T.TV'^!e%i*ZQ$lfR)x$qT)m$l)nR4V/UT*_$x*bT*h${*YQ0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_",nodeNames:
2434"â ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:380,context:Npt,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[Upt
vendor: 15,963 bytes, line 2434
2434],skippedNodes:[0,5,6,278],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(Z!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(WpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$i&j(Wp(Z!b'|0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(X#S$i&j'}0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$i&j(Wp(Z!b'}0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$i&j!p),Q(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(V':f$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$i&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$d`$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$d``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$d`$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(Z!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$d`(Z!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$i&j(Wp(Z!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr(r<__WS$i&j(Wp(Z!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;'S<S;'S;=`Cl<%lO<S(Q=g]WS$i&j(Z!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$i&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(Z!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$i&j(WpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(WpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Wp(Z!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$i&j(o%1l(Wp(Z!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$i&j(Wp(Z!b$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr+dHRk$i&j(Wp(Z!b$]#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;'SGv;'S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$i&j(Wp(Z!b#p(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWKl_$i&j$Q(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,#xLva(z+JY$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWNW`$i&j#z(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At! c_(Y';W$i&j(WpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b'l!!i_$i&j(WpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b&z!#mX$i&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;'S!#h;'S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;'S!$Y;'S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h'l!%R]$d`$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r!Q!&PZ(WpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;'S!%z;'S;=`!']<%lO!%z!Q!&yU$d`(WpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r!Q!'`P;=`<%l!%z'l!'fP;=`<%l!!b/5|!'t_!l/.^$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&U!)O_!k!Lf$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z-!n!*[b$i&j(Wp(Z!b(U%&f#q(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW!+o`$i&j(Wp(Z!b#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;x!,|`$i&j(Wp(Z!br+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,$U!.Z_!]+Jf$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!/ec$i&j(Wp(Z!b!Q.2^OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!0ya$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!2Z_![!L^$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!3eg$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!5Vg$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!6wc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!8_c$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!9uf$i&j(Wp(Z!b#o(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z?O!;fb$i&j(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z>^!<w`$i&j(Z!b!X7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;'S!<n;'S;=`!L]<%lO!<n<z!>Q^$i&j!X7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!?Td$i&j!X7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!X7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!X7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DWX$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$i&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$i&j(Z!b!X7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(Z!b!X7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(Z!b!X7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(Z!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$i&j(Z!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;'S!KS;'S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$i&j(Wp!X7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_# o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p# o#p;'S!Lc;'S;=`#&Y<%lO!Lc=l!Mwl$i&j(Wp!X7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r8Q# vZ(Wp!X7`OY# oZr# ors!@cs!P# o!P!Q#!i!Q!}# o!}#O#$R#O#P!Bq#P;'S# o;'S;=`#$y<%lO# o8Q#!pe(Wp!X7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;'S)r;'S;=`*Z<%lO)r8Q#$WX(WpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q# o#Q;'S#$R;'S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l# o=l#%W^$i&j(WpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;'S#%P;'S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$i&j(Wp(Z!b!X7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z9d#(r](Wp(Z!b!X7`OY#(iZr#(irs!Grsw#(iwx# ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;'S#(i;'S;=`#,`<%lO#(i9d#)th(Wp(Z!b!X7`OY*gZr*grs'}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;'S*g;'S;=`+Z<%lO*g9d#+gZ(Wp(Z!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;'S#+`;'S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$i&j(Wp(Z!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;'S#,f;'S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$i&j(Wp(Z!b(O0/l!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z07[#/o_$i&j(Wp(Z!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;'S#/d;'S;=`#6|<%lO#/d06j#0w]$i&j(Z!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;'S#0n;'S;=`#3x<%lO#0n05W#1wX$i&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;'S#1p;'S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;'S#2d;'S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(Z!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;'S#3R;'S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$i&j(WpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;'S#4O;'S;=`#5w<%lO#4O00^#5XW(WpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;'S#5Q;'S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Wp(Z!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;'S#5};'S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$i&j$Q(Ch(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;ZAt#8vb$Z#t$i&j(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z'Ad#:Zp$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#<jk$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!g$b$i&j$O)Lv(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#R-<U(Wp(Z!b$n7`OY*gZr*grs'}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$ f!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#MXX$k&j(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El#M}Z#r(Ch(Wp(Z!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;'S*g;'S;=`+Z<%lO*g(El#NyX$Q(Ch(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El$ oX#s(Ch(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g*)x$!ga#`*!Y$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(K[$#w_#k(Cl$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x$%Vag!*r#s(Ch$f#|$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$'f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$&g_#s(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$'qa#r(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$)R`#r(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(Kd$*`a(r(Ct$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$+p`$i&j#{(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`$,}_!|$Ip$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f$.X_!S0,v$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$/]Z$i&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;'S$0O;'S;=`$4i<%lO$0O(n$0VT_#S$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$0kO_#S(n$0p[$i&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;'S&c;'S;=`&w<%lO&c(n$1kZ$i&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$2cZ$i&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$3ZZ$i&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!Y#)l$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$6U`#x(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;p$7c_$i&j(Wp(Z!b(a+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$8qk$i&j(Wp(Z!b(T,2j$_#t(e$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;'S$8b;'S;=`$<l<%lO$8b+d$:qk$i&j(Wp(Z!b$_#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;'S$:f;'S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X!_#Hb(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g,#x$=sa(y+JY$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;'S%Z;'S;=`+a<%lO%Z)>v$?V_!^(CdvBr$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z?O$@a_!q7`$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$Aq|$i&j(Wp(Z!b'|0/l$]#t(T,2j(e$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Wp(Z!b'}0/l$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[
vendor: 2,626 bytes, lines 2434-2446
2434Mpt,Lpt,Dpt,Bpt,2,3,4,5,6,7,8,9,10,11,12,13,14,Rpt,new wb("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~",141,340),new wb("j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~",25,323)],topRules:{Script:[0,7],SingleExpression:[1,276],SingleClassItem:[2,277]},dialects:{jsx:0,ts:15175},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:327,get:e=>jpt[e]||-1},{term:343,get:e=>Qpt[e]||-1},{term:95,get:e=>Fpt[e]||-1}],tokenPrec:15201}),eZ=[si("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),si("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),si("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),si("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),si("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),si(`try { 2435 \${} 2436} catch (\${error}) { 2437 \${} 2438}`,{label:"try",detail:"/ catch block",type:"keyword"}),si("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),si(`if (\${}) { 2439 \${} 2440} else { 2441 \${} 2442}`,{label:"if",detail:"/ else block",type:"keyword"}),si(`class \${name} { 2443 constructor(\${params}) { 2444 \${} 2445 } 2446}`,{label:"class",detail:"definition",type:"keyword"}),si('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),si('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Vpt=eZ.concat([si("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),si("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),si("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),P$=new JH,tZ=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Eh(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}const Hpt=["FunctionDeclaration"],qpt={FunctionDeclaration:Eh("function"),ClassDeclaration:Eh("class"),ClassExpression:()=>!0,EnumDeclaration:Eh("constant"),TypeAliasDeclaration:Eh("type"),NamespaceDeclaration:Eh("namespace"),VariableDefinition(e,t){e.matchContext(Hpt)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function nZ(e,t){let n=P$.get(t);if(n)return n;let r=[],a=!0;function i(o,s){let l=e.sliceString(o.from,o.to);r.push({label:l,type:s})}
vendor: 5,473 bytes, line 2446
2446return t.cursor($n.IncludeAnonymous).iterate(o=>{if(a)a=!1;else if(o.name){let s=qpt[o.name];if(s&&s(o,i)||tZ.has(o.name))return!1}else if(o.to-o.from>8192){for(let s of nZ(e,o.node))r.push(s);return!1}}),P$.set(t,r),r}const I$=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,rZ=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function Zpt(e){let t=Ir(e.state).resolveInner(e.pos,-1);if(rZ.indexOf(t.name)>-1)return null;let n=t.name=="VariableName"||t.to-t.from<20&&I$.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let a=t;a;a=a.parent)tZ.has(a.name)&&(r=r.concat(nZ(e.state.doc,a)));return{options:r,from:n?t.from:e.pos,validFor:I$}}const Gs=Fl.define({name:"javascript",parser:zpt.configure({props:[Bd.add({IfStatement:Nf({except:/^\s*({|else\b)/}),TryStatement:Nf({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:nut,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:Q3({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":Nf({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),Ud.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Fv,BlockComment(e){return{from:e.from+2,to:e.to-2}},JSXElement(e){let t=e.firstChild;if(!t||t.name=="JSXSelfClosingTag")return null;let n=e.lastChild;return{from:t.to,to:n.type.isError?e.to:n.from}},"JSXSelfClosingTag JSXOpenTag"(e){var t;let n=(t=e.firstChild)===null||t===void 0?void 0:t.nextSibling,r=e.lastChild;return!n||n.type.isError?null:{from:n.to,to:r.type.isError?e.to:r.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),aZ={test:e=>/^JSX/.test(e.name),facet:rq({commentTokens:{block:{open:"{/*",close:"*/}"}}})},iZ=Gs.configure({dialect:"ts"},"typescript"),oZ=Gs.configure({dialect:"jsx",props:[U5.add(e=>e.isTop?[aZ]:void 0)]}),sZ=Gs.configure({dialect:"jsx ts",props:[U5.add(e=>e.isTop?[aZ]:void 0)]},"typescript");let lZ=e=>({label:e,type:"keyword"});const cZ="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(lZ),Xpt=cZ.concat(["declare","implements","private","protected","public"].map(lZ));function Wpt(e={}){let t=e.jsx?e.typescript?sZ:oZ:e.typescript?iZ:Gs,n=e.typescript?Vpt.concat(Xpt):eZ.concat(cZ);return new Wp(t,[Gs.data.of({autocomplete:Cut(rZ,Oq(n))}),Gs.data.of({autocomplete:Zpt}),e.jsx?Kpt:[]])}function Ypt(e){for(;;){if(e.name=="JSXOpenTag"||e.name=="JSXSelfClosingTag"||e.name=="JSXFragmentTag")return e;if(e.name=="JSXEscape"||!e.parent)return null;e=e.parent}}function N$(e,t,n=e.length){for(let r=t?.firstChild;r;r=r.nextSibling)if(r.name=="JSXIdentifier"||r.name=="JSXBuiltin"||r.name=="JSXNamespacedName"||r.name=="JSXMemberExpression")return e.sliceString(r.from,Math.min(r.to,n));return""}const Gpt=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Kpt=st.inputHandler.of((e,t,n,r,a)=>{if((Gpt?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||r!=">"&&r!="/"||!Gs.isActiveAt(e.state,t,-1))return!1;let i=a(),{state:o}=i,s=o.changeByRange(l=>{var c;let{head:u}=l,d=Ir(o).resolveInner(u-1,-1),f;if(d.name=="JSXStartTag"&&(d=d.parent),!(o.doc.sliceString(u-1,u)!=r||d.name=="JSXAttributeValue"&&d.to>u)){if(r==">"&&d.name=="JSXFragmentTag")return{range:l,changes:{from:u,insert:"</>"}};if(r=="/"&&d.name=="JSXStartCloseTag"){let p=d.parent,h=p.parent;if(h&&p.from==u-2&&((f=N$(o.doc,h.firstChild,u))||((c=h.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let b=`${f}>`;return{range:Qe.cursor(u+b.length,-1),changes:{from:u,insert:b}}}}else if(r==">"){let p=Ypt(d);if(p&&p.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(o.doc.sliceString(u,u+2))&&(f=N$(o.doc,p,u)))return{range:l,changes:{from:u,insert:`</${f}>`}}}}return{range:l}});return s.changes.empty?!1:(e.dispatch([i,o.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),_h=["_blank","_self","_top","_parent"],aS=["ascii","utf-8","utf-16","latin1","latin1"],iS=["get","post","put","delete"],oS=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Ii=["true","false"],yt={},Jpt={a:{attrs:{href:null,ping:null,type:null,media:null,target:_h,hreflang:null}},abbr:yt,address:yt,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:yt,aside:yt,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:yt,base:{attrs:{href:null,target:_h}},bdi:yt,bdo:yt,blockquote:{attrs:{cite:null}},body:yt,br:yt,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:
vendor: 6,677 bytes, line 2446
2446oS,formmethod:iS,formnovalidate:["novalidate"],formtarget:_h,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:yt,center:yt,cite:yt,code:yt,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:yt,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:yt,div:yt,dl:yt,dt:yt,em:yt,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:yt,figure:yt,footer:yt,form:{attrs:{action:null,name:null,"accept-charset":aS,autocomplete:["on","off"],enctype:oS,method:iS,novalidate:["novalidate"],target:_h}},h1:yt,h2:yt,h3:yt,h4:yt,h5:yt,h6:yt,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:yt,hgroup:yt,hr:yt,html:{attrs:{manifest:null}},i:yt,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:oS,formmethod:iS,formnovalidate:["novalidate"],formtarget:_h,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:yt,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:yt,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:yt,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:aS,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:yt,noscript:yt,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:yt,param:{attrs:{name:null,value:null}},pre:yt,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:yt,rt:yt,ruby:yt,samp:yt,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:aS}},section:yt,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:yt,source:{attrs:{src:null,type:null,media:null}},span:yt,strong:yt,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:yt,summary:yt,sup:yt,table:yt,tbody:yt,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:yt,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:yt,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:yt,time:{attrs:{datetime:null}},title:yt,tr:yt,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:yt,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:yt},uZ={accesskey:null,class:null,contenteditable:Ii,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:Ii,autocorrect:Ii,autocapitalize:Ii,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":Ii,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Ii,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Ii,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Ii,"aria-hidden":Ii,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Ii,"aria-multiselectable":Ii,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Ii,"aria-relevant":null,"aria-required":Ii,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},dZ="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".
vendor: 4,142 bytes, line 2446
2446split(" ").map(e=>"on"+e);for(let e of dZ)uZ[e]=null;class Ab{constructor(t,n){this.tags={...Jpt,...t},this.globalAttrs={...uZ,...n},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}Ab.default=new Ab;function dp(e,t,n=e.length){if(!t)return"";let r=t.firstChild,a=r&&r.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,n)):""}function fp(e,t=!1){for(;e;e=e.parent)if(e.name=="Element")if(t)t=!1;else return e;return null}function fZ(e,t,n){let r=n.tags[dp(e,fp(t))];return r?.children||n.allTags}function tk(e,t){let n=[];for(let r=fp(t);r&&!r.type.isTop;r=fp(r.parent)){let a=dp(e,r);if(a&&r.lastChild.name=="CloseTag")break;a&&n.indexOf(a)<0&&(t.name=="EndTag"||t.from>=r.firstChild.to)&&n.push(a)}return n}const pZ=/^[:\-\.\w\u00b7-\uffff]*$/;function R$(e,t,n,r,a){let i=/\s*>/.test(e.sliceDoc(a,a+5))?"":">",o=fp(n,n.name=="StartTag"||n.name=="TagName");return{from:r,to:a,options:fZ(e.doc,o,t).map(s=>({label:s,type:"type"})).concat(tk(e.doc,n).map((s,l)=>({label:"/"+s,apply:"/"+s+i,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function M$(e,t,n,r){let a=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:tk(e.doc,t).map((i,o)=>({label:i,apply:i+a,type:"type",boost:99-o})),validFor:pZ}}function eht(e,t,n,r){let a=[],i=0;for(let o of fZ(e.doc,n,t))a.push({label:"<"+o,type:"type"});for(let o of tk(e.doc,n))a.push({label:"</"+o+">",type:"type",boost:99-i++});return{from:r,to:r,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function tht(e,t,n,r,a){let i=fp(n),o=i?t.tags[dp(e.doc,i)]:null,s=o&&o.attrs?Object.keys(o.attrs):[],l=o&&o.globalAttrs===!1?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames;return{from:r,to:a,options:l.map(c=>({label:c,type:"property"})),validFor:pZ}}function nht(e,t,n,r,a){var i;let o=(i=n.parent)===null||i===void 0?void 0:i.getChild("AttributeName"),s=[],l;if(o){let c=e.sliceDoc(o.from,o.to),u=t.globalAttrs[c];if(!u){let d=fp(n),f=d?t.tags[dp(e.doc,d)]:null;u=f?.attrs&&f.attrs[c]}if(u){let d=e.sliceDoc(r,a).toLowerCase(),f='"',p='"';/^['"]/.test(d)?(l=d[0]=='"'?/^[^"]*$/:/^[^']*$/,f="",p=e.sliceDoc(a,a+1)==d[0]?"":d[0],d=d.slice(1),r++):l=/^[^\s<>='"]*$/;for(let h of u)s.push({label:h,apply:f+h+p,type:"constant"})}}return{from:r,to:a,options:s,validFor:l}}function rht(e,t){let{state:n,pos:r}=t,a=Ir(n).resolveInner(r,-1),i=a.resolve(r);for(let o=r,s;i==a&&(s=a.childBefore(o));){let l=s.lastChild;if(!l||!l.type.isError||l.from<l.to)break;i=a=s,o=l.from}return a.name=="TagName"?a.parent&&/CloseTag$/.test(a.parent.name)?M$(n,a,a.from,r):R$(n,e,a,a.from,r):a.name=="StartTag"||a.name=="IncompleteTag"?R$(n,e,a,r,r):a.name=="StartCloseTag"||a.name=="IncompleteCloseTag"?M$(n,a,r,r):a.name=="OpenTag"||a.name=="SelfClosingTag"||a.name=="AttributeName"?tht(n,e,a,a.name=="AttributeName"?a.from:r,r):a.name=="Is"||a.name=="AttributeValue"||a.name=="UnquotedAttributeValue"?nht(n,e,a,a.name=="Is"?r:a.from,r):t.explicit&&(i.name=="Element"||i.name=="Text"||i.name=="Document")?eht(n,e,a,r):null}function aht(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new Ab(t,n):Ab.default;return a=>rht(r,a)}const iht=Gs.parser.configure({top:"SingleExpression"}),hZ=[{tag:"script",attrs:e=>e.type=="text/typescript"||e.lang=="ts",parser:iZ.parser},{tag:"script",attrs:e=>e.type=="text/babel"||e.type=="text/jsx",parser:oZ.parser},{tag:"script",attrs:e=>e.type=="text/typescript-jsx",parser:sZ.parser},{tag:"script",attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:iht},{tag:"script",attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:Gs.parser},{tag:"style",attrs(e){return(!e.lang||e.lang=="css")&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:xb.parser}],mZ=[{name:"style",parser:xb.parser.configure({top:"Styles"})}].concat(dZ.map(e=>({name:e,parser:Gs.parser}))),gZ=Fl.define({name:"html",parser:fpt.configure({props:[Bd.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)}
2446,"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t=null,n;for(let r=e.node;;){let a=r.lastChild;if(!a||a.name!="Element"||a.to!=r.to)break;t=r=a}return t&&!((n=t.lastChild)&&(n.name=="CloseTag"||n.name=="SelfClosingTag"))?e.lineIndent(t.from)+e.unit:null}}),Ud.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:n.name=="CloseTag"?n.from:e.to}}}),F5.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),Hg=gZ.configure({wrap:Kq(hZ,mZ)});function oht(e={}){let t="",n;e.matchClosingTags===!1&&(t="noMatch"),e.selfClosingTags===!0&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=Kq((e.nestedLanguages||[]).concat(hZ),(e.nestedAttributes||[]).concat(mZ)));let r=n?gZ.configure({wrap:n,dialect:t}):t?Hg.configure({dialect:t}):Hg;return new Wp(r,[Hg.data.of({autocomplete:aht(e)}),e.autoCloseTags!==!1?sht:[],Wpt().support,Fq().support])}const L$=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),sht=st.inputHandler.of((e,t,n,r,a)=>{if(e.composing||e.state.readOnly||t!=n||r!=">"&&r!="/"||!Hg.isActiveAt(e.state,t,-1))return!1;let i=a(),{state:o}=i,s=o.changeByRange(l=>{var c,u,d;let f=o.doc.sliceString(l.from-1,l.to)==r,{head:p}=l,h=Ir(o).resolveInner(p,-1),b;if(f&&r==">"&&h.name=="EndTag"){let y=h.parent;if(((u=(c=y.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(b=dp(o.doc,y.parent,p))&&!L$.has(b)){let O=p+(o.doc.sliceString(p,p+1)===">"?1:0),A=`</${b}>`;return{range:l,changes:{from:p,to:O,insert:A}}}}else if(f&&r=="/"&&h.name=="IncompleteCloseTag"){let y=h.parent;if(h.from==p-2&&((d=y.lastChild)===null||d===void 0?void 0:d.name)!="CloseTag"&&(b=dp(o.doc,y,p))&&!L$.has(b)){let O=p+(o.doc.sliceString(p,p+1)===">"?1:0),A=`${b}>`;return{range:Qe.cursor(p+A.length,-1),changes:{from:p,to:O,insert:A}}}}return{range:l}});return s.changes.empty?!1:(e.dispatch([i,o.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),lht=Dd({String:Z.string,Number:Z.number,"True False":Z.bool,PropertyName:Z.propertyName,Null:Z.null,", :":Z.separator,"[ ]":Z.squareBracket,"{ }":Z.brace}),cht=zl.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"â JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[lht],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),uht=Fl.define({name:"json",parser:cht.configure({props:[Bd.add({Object:Nf({except:/^\s*\}/}),Array:Nf({except:/^\s*\]/})}),Ud.add({"Object Array":Fv})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function dht(){return new Wp(uht)}const K3=1,fht=2,pht=3,hht=4,mht=5,ght=36,bht=37,yht=38,vht=11,Oht=13;function Sht(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function wht(e){return e==9||e==10||e==13||e==32}let D$=null,B$=null,U$=0;function J3(e,t){let n=e.pos+t;if(B$==e&&U$==n)return D$;for(;wht(e.peek(t));)t++;let r="";for(;;){let a=e.peek(t);if(!Sht(a))break;r+=String.fromCharCode(a),t++}return B$=e,U$=n,D$=r||null}function j$(e,t){this.name=e,this.parent=t}const xht=new Hv({start:null,shift(e,t,n,r){return t==K3?new j$(J3(r,1)||"",e):e},reduce(e,t){return t==vht&&e?e.parent:e},reuse(e,t,n,r){let a=t.type.id;return a==K3||a==Oht?new j$(J3(r,1)||"",e):e},strict:!1}),kht=new na((e,t)=>{if(e.next==60){if(e.advance(),e.next==47){e.advance();let n=J3(e,0);if(!n)return e.acceptToken(mht);if(t.context&&n==t.context.name)return e.acceptToken(fht);for(let r=t.context;r;r=r.parent)if(r.name==n)return e.acceptToken(pht,-2);e.acceptToken(hht)}else if(e.next!=33&&e.next!=63)return e.acceptToken(K3)}},{contextual:!0});function nk(e,t){return new na(n=>{let r=0,a=t.charCodeAt(0);e:for(;!(n.next<0);n.advance(),r++)if(n.next==a){for(let i=1;i<t.length;i++)if(n.peek(i)!=t.charCodeAt(i))continue e;break}r&&n.acceptToken(e)})}const Aht=nk(ght,"-->"),Tht=nk(bht,"?>"),Eht=nk(yht,"]]>"),_ht=Dd({Text:Z.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":Z.angleBracket,TagName:Z.tagName,"MismatchedCloseTag/TagName":[Z.tagName,Z.invalid],AttributeName:Z.attributeName,AttributeValue:Z.attributeValue,Is:Z.definitionOperator,"EntityReference CharacterReference":Z.character,Comment:Z.blockComment,ProcessingInst:Z.processingInstruction,DoctypeDecl:Z.documentMeta,Cdata:Z.special(Z.string)}),Cht=zl.deserialize({version:14,states:",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS-E6|-E6|OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'mO!bO,59eOOOO-E6w-E6wO'{OpO1G.uO'{OpO1G.uOOOP1G.u1G.uO(TOpO7+$fOOOP7+$f7+$fO(]O!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(hO#tO'#CnO(vO&jO'#CnOOOO1G.q1G.qO)UOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO)^O#tO,59YOOOO,59Y,59YOOOO'#C{'#C{O)lO&jO,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.tOOOO-E6y-E6y",stateData:")z~OPQOSVOTWOVWOWWOXWOiXOyPO!QTO!SUO~OvZOx]O~O^`Oz^O~OPQOQcOSVOTWOVWOWWOXWOyPO!QTO!SUO~ORdO~P!SOteO!PgO~OuhO!RjO~O^lOz^O~OvZOxoO~O^qOz^O~O[vO`sOdwOz^O~ORyO~P!SO^{Oz^O~OteO!P}O~OuhO!R!PO~O^!QOz^O~O[!SOz^O~O[!VO`sOd!WOz^O~Oa!YOz^O~Oz^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oz^O~O[!_Oz^O~O[!aOz^O~O[!cO`sOd!dOz^O~O[!cO`sOd!dO~Oa!eOz^O~Oz^O{!gO}!hO~Oz^O[ma`madma~O[!kOz^O~O[!lOz^O~O[!mO`sOd!nO~OW!qOX!qO{!sO|!qO~OW!tOX!tO}!sO!O!tO~O[!vOz^O~OW!qOX!qO{!yO|!qO~OW!tOX!tO}!yO!O!tO~O",goto:"%cxPPPPPPPPPPyyP!PP!VPP!`!jP!pyyyP!v!|#S$[$k$q$w$}%TPPPP%ZXWORYbXRORYb_t`qru!T!U!bQ!i!YS!p!e!fR!w!oQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!j!oQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!j!]R!o!eQu`S!UqrU![u!U!bR!b!TQ!r!gR!x!rQ!u!hR!z!uQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"â StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:50,context:xht,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["o
2446penedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],propSources:[_ht
vendor: 4,503 bytes, line 2446
2446],skippedNodes:[0],repeatNodeCount:9,tokenData:"!)v~R!YOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs*vsv$qvw+fwx/ix}$q}!O0[!O!P$q!P!Q2z!Q![$q![!]4n!]!^$q!^!_8U!_!`!#t!`!a!$l!a!b!%d!b!c$q!c!}4n!}#P$q#P#Q!'W#Q#R$q#R#S4n#S#T$q#T#o4n#o%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U$q4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qi$zXVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qa%nVVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%gP&YTVPOv&Tw!^&T!_;'S&T;'S;=`&i<%lO&TP&lP;=`<%l&T`&tS!O`Ov&ox;'S&o;'S;=`'Q<%lO&o`'TP;=`<%l&oa'ZP;=`<%l%gX'eWVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^W(ST|WOr'}sv'}w;'S'};'S;=`(c<%lO'}W(fP;=`<%l'}X(lP;=`<%l'^h(vV|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oh)`P;=`<%l(oi)fP;=`<%l$qo)t`VP|W!O`zUOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk+PV{YVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%g~+iast,n![!]-r!c!}-r#R#S-r#T#o-r%W%o-r%p&a-r&b1p-r4U4d-r4e$IS-r$I`$Ib-r$Kh%#t-r&/x&Et-r&FV;'S-r;'S;:j/c?&r?Ah-r?BY?Mn-r~,qQ!Q![,w#l#m-V~,zQ!Q![,w!]!^-Q~-VOX~~-YR!Q![-c!c!i-c#T#Z-c~-fS!Q![-c!]!^-Q!c!i-c#T#Z-c~-ug}!O-r!O!P-r!Q![-r![!]-r!]!^/^!c!}-r#R#S-r#T#o-r$}%O-r%W%o-r%p&a-r&b1p-r1p4U-r4U4d-r4e$IS-r$I`$Ib-r$Je$Jg-r$Kh%#t-r&/x&Et-r&FV;'S-r;'S;:j/c?&r?Ah-r?BY?Mn-r~/cOW~~/fP;=`<%l-rk/rW}bVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^k0eZVP|W!O`Or$qrs%gsv$qwx'^x}$q}!O1W!O!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk1aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a2S!a;'S$q;'S;=`)c<%lO$qk2_X!PQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qm3TZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a3v!a;'S$q;'S;=`)c<%lO$qm4RXdSVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo4{!P`S^QVP|W!O`Or$qrs%gsv$qwx'^x}$q}!O4n!O!P4n!P!Q$q!Q![4n![!]4n!]!^$q!^!_(o!_!c$q!c!}4n!}#R$q#R#S4n#S#T$q#T#o4n#o$}$q$}%O4n%O%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U4n4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Je$q$Je$Jg4n$Jg$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qo8RP;=`<%l4ni8]Y|W!O`Oq(oqr8{rs&osv(owx'}x!a(o!a!b!#U!b;'S(o;'S;=`)]<%lO(oi9S_|W!O`Or(ors&osv(owx'}x}(o}!O:R!O!f(o!f!g;e!g!}(o!}#ODh#O#W(o#W#XLp#X;'S(o;'S;=`)]<%lO(oi:YX|W!O`Or(ors&osv(owx'}x}(o}!O:u!O;'S(o;'S;=`)]<%lO(oi;OV!QP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oi;lX|W!O`Or(ors&osv(owx'}x!q(o!q!r<X!r;'S(o;'S;=`)]<%lO(oi<`X|W!O`Or(ors&osv(owx'}x!e(o!e!f<{!f;'S(o;'S;=`)]<%lO(oi=SX|W!O`Or(ors&osv(owx'}x!v(o!v!w=o!w;'S(o;'S;=`)]<%lO(oi=vX|W!O`Or(ors&osv(owx'}x!{(o!{!|>c!|;'S(o;'S;=`)]<%lO(oi>jX|W!O`Or(ors&osv(owx'}x!r(o!r!s?V!s;'S(o;'S;=`)]<%lO(oi?^X|W!O`Or(ors&osv(owx'}x!g(o!g!h?y!h;'S(o;'S;=`)]<%lO(oi@QY|W!O`Or?yrs@psv?yvwA[wxBdx!`?y!`!aCr!a;'S?y;'S;=`Db<%lO?ya@uV!O`Ov@pvxA[x!`@p!`!aAy!a;'S@p;'S;=`B^<%lO@pPA_TO!`A[!`!aAn!a;'SA[;'S;=`As<%lOA[PAsOiPPAvP;=`<%lA[aBQSiP!O`Ov&ox;'S&o;'S;=`'Q<%lO&oaBaP;=`<%l@pXBiX|WOrBdrsA[svBdvwA[w!`Bd!`!aCU!a;'SBd;'S;=`Cl<%lOBdXC]TiP|WOr'}sv'}w;'S'};'S;=`(c<%lO'}XCoP;=`<%lBdiC{ViP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiDeP;=`<%l?yiDoZ|W!O`Or(ors&osv(owx'}x!e(o!e!fEb!f#V(o#V#WIr#W;'S(o;'S;=`)]<%lO(oiEiX|W!O`Or(ors&osv(owx'}x!f(o!f!gFU!g;'S(o;'S;=`)]<%lO(oiF]X|W!O`Or(ors&osv(owx'}x!c(o!c!dFx!d;'S(o;'S;=`)]<%lO(oiGPX|W!O`Or(ors&osv(owx'}x!v(o!v!wGl!w;'S(o;'S;=`)]<%lO(oiGsX|W!O`Or(ors&osv(owx'}x!c(o!c!dH`!d;'S(o;'S;=`)]<%lO(oiHgX|W!O`Or(ors&osv(owx'}x!}(o!}#OIS#O;'S(o;'S;=`)]<%lO(oiI]V|W!O`yPOr(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiIyX|W!O`Or(ors&osv(owx'}x#W(o#W#XJf#X;'S(o;'S;=`)]<%lO(oiJmX|W!O`Or(ors&osv(owx'}x#T(o#T#UKY#U;'S(o;'S;=`)]<%lO(oiKaX|W!O`Or(ors&osv(owx'}x#h(o#h#iK|#i;'S(o;'S;=`)]<%lO(oiLTX|W!O`Or(ors&osv(owx'}x#T(o#T#UH`#U;'S(o;'S;=`)]<%lO(oiLwX|W!O`Or(ors&osv(owx'}x#c(o#c#dMd#d;'S(o;'S;=`)]<%lO(oiMkX|W!O`Or(ors&osv(owx'}x#V(o#V#WNW#W;'S(o;'S;=`)]<%lO(oiN_X|W!O`Or(ors&osv(owx'}x#h(o#h#iNz#i;'S(o;'S;=`)]<%lO(oi! RX|W!O`Or(ors&osv(owx'}x#m(o#m#n! n#n;'S(o;'S;=`)]<%lO(oi! uX|W!O`Or(ors&osv(owx'}x#d(o#d#e!!b#e;'S(o;'S;=`)]<%lO(oi!!iX|W!O`Or(ors&osv(owx'}x#X(o#X#Y?y#Y;'S(o;'S;=`)]<%lO(oi!#_V!SP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(ok!$PXaQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo!$wX[UVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!%mZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[
2446kht,Aht,Tht,Eht,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});function qg(e,t){let n=t&&t.getChild("TagName");return n?e.sliceString(n.from,n.to):""}function sS(e,t){let n=t&&t.firstChild;return!n||n.name!="OpenTag"?"":qg(e,n)}function $ht(e,t,n){let r=t&&t.getChildren("Attribute").find(i=>i.from<=n&&i.to>=n),a=r&&r.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}function lS(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function Pht(e,t){var n;let r=Ir(e).resolveInner(t,-1),a=null;for(let i=r;!a&&i.parent;i=i.parent)(i.name=="OpenTag"||i.name=="CloseTag"||i.name=="SelfClosingTag"||i.name=="MismatchedCloseTag")&&(a=i);if(a&&(a.to>t||a.lastChild.type.isError)){let i=a.parent;if(r.name=="TagName")return a.name=="CloseTag"||a.name=="MismatchedCloseTag"?{type:"closeTag",from:r.from,context:i}:{type:"openTag",from:r.from,context:lS(i)};if(r.name=="AttributeName")return{type:"attrName",from:r.from,context:a};if(r.name=="AttributeValue")return{type:"attrValue",from:r.from,context:a};let o=r==a||r.name=="Attribute"?r.childBefore(t):r;return o?.name=="StartTag"?{type:"openTag",from:t,context:lS(i)}:o?.name=="StartCloseTag"&&o.to<=t?{type:"closeTag",from:t,context:i}:o?.name=="Is"?{type:"attrValue",from:t,context:a}:o?{type:"attrName",from:t,context:a}:null}else if(r.name=="StartCloseTag")return{type:"closeTag",from:t,context:r.parent};for(;r.parent&&r.to==t&&!(!((n=r.lastChild)===null||n===void 0)&&n.type.isError);)r=r.parent;return r.name=="Element"||r.name=="Text"||r.name=="Document"?{type:"tag",from:t,context:r.name=="Element"?r:lS(r)}:null}let Iht=class{constructor(t,n,r){this.attrs=n,this.attrValues=r,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(a=>({label:a,type:"text"})):[]}};const cS=/^[:\-\.\w\u00b7-\uffff]*$/;function Q$(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function F$(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function Nht(e,t){let n=[],r=[],a=Object.create(null);for(let l of t){let c=Q$(l);n.push(c),l.global&&r.push(c),l.values&&(a[l.name]=l.values.map(F$))}let i=[],o=[],s=Object.create(null);for(let l of e){let c=r,u=a;l.attributes&&(c=c.concat(l.attributes.map(f=>typeof f=="string"?n.find(p=>p.label==f)||{label:f,type:"property"}:(f.values&&(u==a&&(u=Object.create(u)),u[f.name]=f.values.map(F$)),Q$(f)))));let d=new Iht(l,c,u);s[d.name]=d,i.push(d),l.top&&o.push(d)}o.length||(o=i);for(let l=0;l<i.length;l++){let c=e[l],u=i[l];if(c.children)for(let d of c.children)s[d]&&u.children.push(s[d]);else u.children=i}return l=>{var c;let{doc:u}=l.state,d=Pht(l.state,l.pos);if(!d||d.type=="tag"&&!l.explicit)return null;let{type:f,from:p,context:h}=d;if(f=="openTag"){let b=o,y=sS(u,h);if(y){let O=s[y];b=O?.children||i}return{from:p,options:b.map(O=>O.completion),validFor:cS}}else if(f=="closeTag"){let b=sS(u,h);return b?{from:p,to:l.pos+(u.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((c=s[b])===null||c===void 0?void 0:c.closeNameCompletion)||{label:b+">",type:"type"}],validFor:cS}:null}else if(f=="attrName"){let b=s[qg(u,h)];return{from:p,options:b?.attrs||r,validFor:cS}}else if(f=="attrValue"){let b=$ht(u,h,p);if(!b)return null;let y=s[qg(u,h)],O=(y?.attrValues||a)[b];return!O||!O.length?null:{from:p,to:l.pos+(u.sliceString(l.pos,l.pos+1)=='"'?1:0),options:O,validFor:/^"[^"]*"?$/}}else if(f=="tag"){let b=sS(u,h),y=s[b],O=[],A=h&&h.lastChild;b&&(!A||A.name!="CloseTag"||qg(u,A)!=b)&&O.push(y?y.closeCompletion:{label:"</"+b+">",type:"type",boost:2});let x=O.concat((y?.children||(h?i:o)).map(T=>T.openCompletion));if(h&&y?.text.length){let T=h.firstChild;T.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(T.to,l.pos))&&(x=x.concat(y.text))}return{from:p,options:x,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const e8=Fl.define({name:"xml",parser:Cht.configure({props:[Bd.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)}
vendor: 7,244 bytes, line 2446
2446,"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),Ud.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:n.name=="CloseTag"?n.from:e.to}}}),F5.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function Rht(e={}){let t=[e8.data.of({autocomplete:Nht(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(Mht),new Wp(e8,t)}function z$(e,t,n=e.length){if(!t)return"";let r=t.firstChild,a=r&&r.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,n)):""}const Mht=st.inputHandler.of((e,t,n,r,a)=>{if(e.composing||e.state.readOnly||t!=n||r!=">"&&r!="/"||!e8.isActiveAt(e.state,t,-1))return!1;let i=a(),{state:o}=i,s=o.changeByRange(l=>{var c,u,d;let{head:f}=l,p=o.doc.sliceString(f-1,f)==r,h=Ir(o).resolveInner(f,-1),b;if(p&&r==">"&&h.name=="EndTag"){let y=h.parent;if(((u=(c=y.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(b=z$(o.doc,y.parent,f))){let O=f+(o.doc.sliceString(f,f+1)===">"?1:0),A=`</${b}>`;return{range:l,changes:{from:f,to:O,insert:A}}}}else if(p&&r=="/"&&h.name=="StartCloseTag"){let y=h.parent;if(h.from==f-2&&((d=y.lastChild)===null||d===void 0?void 0:d.name)!="CloseTag"&&(b=z$(o.doc,y,f))){let O=f+(o.doc.sliceString(f,f+1)===">"?1:0),A=`${b}>`;return{range:Qe.cursor(f+A.length,-1),changes:{from:f,to:O,insert:A}}}}return{range:l}});return s.changes.empty?!1:(e.dispatch([i,o.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),rf=63,V$=64,Lht=1,Dht=2,bZ=3,Bht=4,yZ=5,Uht=6,jht=7,vZ=65,Qht=66,Fht=8,zht=9,Vht=10,Hht=11,qht=12,OZ=13,Zht=19,Xht=20,Wht=29,Yht=33,Ght=34,Kht=47,Jht=0,rk=1,t8=2,Jm=3,n8=4;class _u{constructor(t,n,r){this.parent=t,this.depth=n,this.type=r,this.hash=(t?t.hash+t.hash<<8:0)+n+(n<<4)+r}}_u.top=new _u(null,-1,Jht);function um(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let a=e.peek(r);if(Vl(a)||a==-1)return n}}function r8(e){return e==32||e==9}function Vl(e){return e==10||e==13}function SZ(e){return r8(e)||Vl(e)}function Qu(e){return e<0||SZ(e)}const emt=new Hv({start:_u.top,reduce(e,t){return e.type==Jm&&(t==Xht||t==Ght)?e.parent:e},shift(e,t,n,r){if(t==bZ)return new _u(e,um(r,r.pos),rk);if(t==vZ||t==yZ)return new _u(e,um(r,r.pos),t8);if(t==rf)return e.parent;if(t==Zht||t==Yht)return new _u(e,0,Jm);if(t==OZ&&e.type==n8)return e.parent;if(t==Kht){let a=/[1-9]/.exec(r.read(r.pos,n.pos));if(a)return new _u(e,e.depth+ +a[0],n8)}return e},hash(e){return e.hash}});function pp(e,t,n=0){return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&Qu(e.peek(n+3))}const tmt=new na((e,t)=>{if(e.next==-1&&t.canShift(V$))return e.acceptToken(V$);let n=e.peek(-1);if((Vl(n)||n<0)&&t.context.type!=Jm){if(pp(e,45))if(t.canShift(rf))e.acceptToken(rf);else return e.acceptToken(Lht,3);if(pp(e,46))if(t.canShift(rf))e.acceptToken(rf);else return e.acceptToken(Dht,3);let r=0;for(;e.next==32;)r++,e.advance();(r<t.context.depth||r==t.context.depth&&t.context.type==rk&&(e.next!=45||!Qu(e.peek(1))))&&e.next!=-1&&!Vl(e.next)&&e.next!=35&&e.acceptToken(rf,-r)}},{contextual:!0}),nmt=new na((e,t)=>{if(t.context.type==Jm){e.next==63&&(e.advance(),Qu(e.next)&&e.acceptToken(jht));return}if(e.next==45)e.advance(),Qu(e.next)&&e.acceptToken(t.context.type==rk&&t.context.depth==um(e,e.pos-1)?Bht:bZ);else if(e.next==63)e.advance(),Qu(e.next)&&e.acceptToken(t.context.type==t8&&t.context.depth==um(e,e.pos-1)?Uht:yZ);else{let n=e.pos;for(;;)if(r8(e.next)){if(e.pos==n)return;e.advance()}else if(e.next==33)wZ(e);else if(e.next==38)a8(e);else if(e.next==42){a8(e);break}else if(e.next==39||e.next==34){if(ak(e,!0))break;return}else if(e.next==91||e.next==123){if(!amt(e))return;break}else{xZ(e,!0,!1,0);break}for(;r8(e.next);)e.advance();if(e.next==58){if(e.pos==n&&t.canShift(Wht))return;let r=e.peek(1);Qu(r)&&e.acceptTokenTo(t.context.type==t8&&t.context.depth==um(e,n)?Qht:vZ,n)}}},{contextual:!0});function rmt(e){return e>32&&e<127&&e!=34&&e!=37&&e!=44&&e!=60&&e!=62&&e!=92&&e!=94&&e!=96&&e!=123&&e!=124&&e!=125}function H$(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function q$(e,t){return e.next==37?(e.advance(),H$(e.next)&&e.advance(),H$(e.next)&&e.advance(),!0):rmt(e.next)||t&&e.next==44?(e.advance(),!0):!1}function wZ(e){if(e.advance(),e.next==60){for(e.advance();;)if(!q$(e,!0)){e.next==62&&e.advance();break}}else for(;q$(e,!1););}function a8(e){for(e.advance();!Qu(e.next)&&Tb(e.next)!="f";)e.advance()}function ak(e,t){let n=e.next,r=!1,a=e.pos;for(e.advance();;){let i=e.next;if(i<0)break;if(e.advance(),i==n)if(i==39)if(e.next==39)e.advance();else break;else break;else if(i==92&&n==34)e.next>=0&&e.advance();else if(Vl(i)){if(t)return!1;r=!0}else if(t&&e.pos>=a+1024)return!1}return!r}function amt(e){for(let t=[],n=e.pos+1024;;)if(e.next==91||e.next==123)t.push(e.next),e.advance();else if(e.next==39||e.next==34){if(!ak(e,!0))return!1}else if(e.next==93||e.next==125){if(t[t.length-1]!=e.next-2)return!1;if(t.pop(),e.advance(),!t.length)return!0}else{if(e.next<0||e.pos>n||Vl(e.next))return!1;e.advance()}}const imt="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function Tb(e){return e<33?"u":e>125?"s":imt[e-33]}function uS(e,t){let n=Tb(e);return n!="u"&&!(t&&n=="f")}function xZ(e,t,n,r){if(Tb(e.next)=="s"||(e.next==63||e.next==58||e.next==45)&&uS(e.peek(1),n))e.advance();else return!1;let a=e.pos;for(;;){let i=e.next,o=0,s=r+1;for(;SZ(i);){if(Vl(i)){if(t)return!1;s=0}else s++;i=e.peek(++o)}if(!(i>=0&&(i==58?uS(e.peek(o+1),n):i==35?e.peek(o-1)!=32:uS(i,n)))||!n&&s<=r||s==0&&!n&&(pp(e,45,o)||pp(e,46,o)))break;if(t&&Tb(i)=="f")return!1;for(let c=o;c>=0;c--)e.advance();if(t&&e.pos>a+1024)return!1}return!0}const omt=new na((e,t)=>{if(e.next==33)wZ(e),e.acceptToken(qht);else if(e.next==38||e.next==42){let n=e.next==38?Vht:Hht;a8(e),e.acceptToken(n)}else e.next==39||e.next==34?(ak(e,!1),e.acceptToken(zht)):xZ(e,!1,t.context.type==Jm,t.context.depth)&&e.acceptToken(Fht)}),smt=new na((e,t)=>{let n=t.context.type==n8?t.context.depth:-1,r=e.pos;e:for(;;){let a=0,i=e.next;for(;i==32;)i=e.peek(++a);if(!a&&(pp(e,45,a)||pp(e,46,a))||!Vl(i)&&(n<0&&(n=Math.max(t.context.depth+1,a)),a<n))break;for(;;){if(e.next<0)break e;let o=Vl(e.next);if(e.advance(),o)continue e;r=e.pos}}e.acceptTokenTo(OZ,r)}),lmt=Dd({DirectiveName:Z.keyword,DirectiveContent:Z.attributeValue,"DirectiveEnd DocEnd":Z.meta,QuotedLiteral:Z.string,BlockLiteralHeader:Z.special(Z.string),BlockLiteralContent:Z.content,Literal:Z.content,"Key/Literal Key/QuotedLiteral":Z.definition(Z.propertyName),"Anchor Alias":Z.labelName,Tag:Z.typeName,Comment:Z.lineComment,": , -":Z.separator,"?":Z.punctuation,"[ ]":Z.squareBracket,"{ }":Z.brace}),cmt=zl.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-s
2446QgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<<Hh<<HhOOQP<<Hn<<HnO:zOaO<<HnOOQR1G/`1G/`OOQR1G/a1G/aOOQPAN>YAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"â DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:emt,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[lmt],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}
2446![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[tmt,nmt,omt,smt,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),umt=Fl.define({name:"yaml",parser:cmt.configure({props:[Bd.add({Stream:e=>{for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){if(t.name=="BlockLiteralContent"&&t.from<t.to)return e.baseIndentFor(t);if(t.name=="BlockLiteral")return e.baseIndentFor(t)+e.unit;if(t.name=="BlockSequence"||t.name=="BlockMapping")return e.column(t.firstChild.from,1);if(t.name=="QuotedLiteral")return null;if(t.name=="Literal"){let n=e.column(t.from,1);if(n==e.lineIndent(t.from,1))return n;if(t.to>e.pos)return null}}return null},FlowMapping:Q3({closing:"}"}),FlowSequence:Q3({closing:"]"})}),Ud.add({"FlowMapping FlowSequence":Fv,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function dmt(){return new Wp(umt)}class Z${constructor(t,n,r){this.from=t,this.to=n,this.diagnostic=r}}class Cu{constructor(t,n,r){this.diagnostics=t,this.panel=n,this.selected=r}static init(t,n,r){let a=r.facet(zs).markerFilter;a&&(t=a(t,r));let i=t.slice().sort((p,h)=>p.from-h.from||p.to-h.to),o=new jl,s=[],l=0,c=r.doc.iter(),u=0,d=r.doc.length;for(let p=0;;){let h=p==i.length?null:i[p];if(!h&&!s.length)break;let b,y;if(s.length)b=l,y=s.reduce((x,T)=>Math.min(x,T.to),h&&h.from>b?h.from:1e8);else{if(b=h.from,b>d)break;y=h.to,s.push(h),p++}for(;p<i.length;){let x=i[p];if(x.from==b&&(x.to>x.from||x.to==b))s.push(x),p++,y=Math.min(x.to,y);else{y=Math.min(x.from,y);break}}y=Math.min(y,d);let O=!1;if(s.some(x=>x.from==b&&(x.to==y||y==d))&&(O=b==y,!O&&y-b<10)){let x=b-(u+c.value.length);x>0&&(c.next(x),u=b);for(let T=b;;){if(T>=y){O=!0;break}if(!c.lineBreak&&u+c.value.length>T)break;T=u+c.value.length,u+=c.value.length,c.next()}}let A=Amt(s);if(O)o.add(b,b,Dt.widget({widget:new Smt(A),diagnostics:s.slice()}));else{let x=s.reduce((T,E)=>E.markClass?T+" "+E.markClass:T,"");o.add(b,y,Dt.mark({class:"cm-lintRange cm-lintRange-"+A+x,diagnostics:s.slice(),inclusiveEnd:s.some(T=>T.to>y)}))}if(l=y,l==d)break;for(let x=0;x<s.length;x++)s[x].to<=l&&s.splice(x--,1)}let f=o.finish();return new Cu(f,n,hp(f))}}function hp(e,t=null,n=0){let r=null;return e.between(n,1e9,(a,i,{spec:o})=>{if(!(t&&o.diagnostics.indexOf(t)<0))if(!r)r=new Z$(a,i,t||o.diagnostics[0]);else{if(o.diagnostics.indexOf(r.diagnostic)<0)return!1;r=new Z$(r.from,i,r.diagnostic)}}),r}function fmt(e,t){let n=t.pos,r=t.end||n,a=e.state.facet(zs).hideOn(e,n,r);if(a!=null)return a;let i=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(o=>o.is(ik))||e.changes.touchesRange(i.from,Math.max(i.to,r)))}function pmt(e,t){return e.field(Jo,!1)?t:t.concat(Kt.appendConfig.of(_Z))}function hmt(e,t){return{effects:pmt(e,[ik.of(t)])}}const ik=Kt.define(),kZ=Kt.define(),AZ=Kt.define(),Jo=_i.define({create(){return new Cu(Dt.none,null,null)},update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,a=e.panel;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=hp(n,e.selected.diagnostic,i)||hp(n,null,i)}!n.size&&a&&t.state.facet(zs).autoPanel&&(a=null),e=new Cu(n,a,r)}for(let n of t.effects)if(n.is(ik)){let r=t.state.facet(zs).autoPanel?n.value.length?Eb.open:null:e.panel;e=Cu.init(n.value,r,t.state)}else n.is(kZ)?e=new Cu(e.diagnostics,n.value?Eb.open:null,e.selected):n.is(AZ)&&(e=new Cu(e.diagnostics,e.panel,n.value));return e},provide:e=>[M3.from(e,t=>t.panel),st.decorations.from(e,t=>t.diagnostics)]}),mmt=Dt.mark({class:"cm-lintRange cm-lintRange-active"});function gmt(e,t,n){let{diagnostics:r}=e.state.field(Jo),a,i=-1,o=-1;r.between(t-(n<0?1:0),t+(n>0?1:0),(l,c,{spec:u})=>
vendor: 9,246 bytes, line 2446
2446{if(t>=l&&t<=c&&(l==c||(t>l||n>0)&&(t<c||n<0)))return a=u.diagnostics,i=l,o=c,!1});let s=e.state.facet(zs).tooltipFilter;return a&&s&&(a=s(a,e.state)),a?{pos:i,end:o,above:!0,create(){return{dom:bmt(e,a)}}}:null}function bmt(e,t){return Ds("ul",{class:"cm-tooltip-lint"},t.map(n=>EZ(e,n,!1)))}const X$=e=>{let t=e.state.field(Jo,!1);return!t||!t.panel?!1:(e.dispatch({effects:kZ.of(!1)}),!0)},ymt=ea.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(zs);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){clearTimeout(this.timeout);let e=Date.now();if(e<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-e);else{this.set=!1;let{state:t}=this.view,{sources:n}=t.facet(zs);n.length&&vmt(n.map(r=>Promise.resolve(r(this.view))),r=>{this.view.state.doc==t.doc&&this.view.dispatch(hmt(this.view.state,r.reduce((a,i)=>a.concat(i))))},r=>{Ja(this.view.state,r)})}}update(e){let t=e.state.facet(zs);(e.docChanged||t!=e.startState.facet(zs)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}});function vmt(e,t,n){let r=[],a=-1;for(let i of e)i.then(o=>{r.push(o),clearTimeout(a),r.length==e.length?t(r):a=setTimeout(()=>t(r),200)},n)}const zs=Je.define({combine(e){return{sources:e.map(t=>t.source).filter(t=>t!=null),...Ld(e.map(t=>t.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:W$,tooltipFilter:W$,needsRefresh:(t,n)=>t?n?r=>t(r)||n(r):t:n,hideOn:(t,n)=>t?n?(r,a,i)=>t(r,a,i)||n(r,a,i):t:n,autoPanel:(t,n)=>t||n})}}});function W$(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function Omt(e,t={}){return[zs.of({source:e,config:t}),ymt,_Z]}function TZ(e){let t=[];if(e)e:for(let{name:n}of e){for(let r=0;r<n.length;r++){let a=n[r];if(/[a-zA-Z]/.test(a)&&!t.some(i=>i.toLowerCase()==a.toLowerCase())){t.push(a);continue e}}t.push("")}return t}function EZ(e,t,n){var r;let a=n?TZ(t.actions):[];return Ds("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},Ds("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),(r=t.actions)===null||r===void 0?void 0:r.map((i,o)=>{let s=!1,l=p=>{if(p.preventDefault(),s)return;s=!0;let h=hp(e.state.field(Jo).diagnostics,t);h&&i.apply(e,h.from,h.to)},{name:c}=i,u=a[o]?c.indexOf(a[o]):-1,d=u<0?c:[c.slice(0,u),Ds("u",c.slice(u,u+1)),c.slice(u+1)],f=i.markClass?" "+i.markClass:"";return Ds("button",{type:"button",class:"cm-diagnosticAction"+f,onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${a[o]})"`}.`},d)}),t.source&&Ds("div",{class:"cm-diagnosticSource"},t.source))}class Smt extends Mo{constructor(t){super(),this.sev=t}eq(t){return t.sev==this.sev}toDOM(){return Ds("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class Y${constructor(t,n){this.diagnostic=n,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=EZ(t,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Eb{constructor(t){this.view=t,this.items=[];let n=a=>{if(!(a.ctrlKey||a.altKey||a.metaKey)){if(a.keyCode==27)X$(this.view),this.view.focus();else if(a.keyCode==38||a.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(a.keyCode==40||a.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(a.keyCode==36)this.moveSelection(0);else if(a.keyCode==35)this.moveSelection(this.items.length-1);else if(a.keyCode==13)this.view.focus();else if(a.keyCode>=65&&a.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:i}=this.items[this.selectedIndex],o=TZ(i.actions);for(let s=0;s<o.length;s++)if(o[s].toUpperCase().charCodeAt(0)==a.keyCode){let l=hp(this.view.state.field(Jo).diagnostics,i);l&&i.actions[s].apply(t,l.from,l.to)}}else return;a.preventDefault()}},r=a=>{for(let i=0;i<this.items.length;i++)this.items[i].dom.contains(a.target)&&this.moveSelection(i)};this.list=Ds("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:n,onclick:r}),this.dom=Ds("div",{class:"cm-panel-lint"},this.list,Ds("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>X$(this.view)},"Ã")),this.update()}get selectedIndex(){let t=this.view.state.field(Jo).selected;if(!t)return-1;for(let n=0;n<this.items.length;n++)if(this.items[n].diagnostic==t.diagnostic)return n;return-1}update(){let{diagnostics:t,selected:n}=this.view.state.field(Jo),r=0,a=!1,i=null,o=new Set;for(t.between(0,this.view.state.doc.length,(s,l,{spec:c})=>{for(let u of c.diagnostics){if(o.has(u))continue;o.add(u);let d=-1,f;for(let p=r;p<this.items.length;p++)if(this.items[p].diagnostic==u){d=p;break}d<0?(f=new Y$(this.view,u),this.items.splice(r,0,f),a=!0):(f=this.items[d],d>r&&(this.items.splice(r,d-r),a=!0)),n&&f.diagnostic==n.diagnostic?f.dom.hasAttribute("aria-selected")||(f.dom.setAttribute("aria-selected","true"),i=f):f.dom.hasAttribute("aria-selected")&&f.dom.removeAttribute("aria-selected"),r++}});r<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)a=!0,this.items.pop();this.items.length==0&&(this.items.push(new Y$(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),a=!0),i?(this.list.setAttribute("aria-activedescendant",i.id),this.view.requestMeasure({key:this,read:()=>({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:s,panel:l})=>{let c=l.height/this.list.offsetHeight;s.top<l.top?this.list.scrollTop-=(l.top-s.top)/c:s.bottom>l.bottom&&(this.list.scrollTop+=(s.bottom-l.bottom)/c)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),a&&this.sync()}sync(){let t=this.list.firstChild;function n(){let r=t;t=r.nextSibling,r.remove()}for(let r of this.items)if(r.dom.parentNode==this.list){for(;t!=r.dom;)n();t=r.dom.nextSibling}else this.list.insertBefore(r.dom,t);for(;t;)n()}moveSelection(t){if(this.selectedIndex<0)return;let n=this.view.state.field(Jo),r=hp(n.diagnostics,this.items[t].diagnostic);r&&this.view.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:AZ.of(r)})}static open(t){return new Eb(t)}}function wmt(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}function hg(e){return wmt(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const xmt=st.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:hg("#f11")},".cm-lintRange-warning":{backgroundImage:hg("orange")},".cm-lintRange-info":{backgroundImage:hg("#999")},".cm-lintRange-hint":{backgroundImage:hg("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}},"&dark .cm-lintRange-active":{backgroundColor:"#86714a80"},"&dark .cm-panel.cm-panel-lint ul":{"& [aria-selected]":{backgroundColor:"#2e343e"}}});function kmt(e){return e=="error"?4:e=="warning"?3:e=="info"?2:1}function Amt(e){let t="hint",n=1;for(let r of e){let a=kmt(r.severity);a>n&&(n=a,t=r.severity)}return t}const Tmt=dct(gmt,{hideOn:fmt}),_Z=[Jo,st.decorations.compute([Jo],e=>{let{selected:t,panel:n}=e.field(Jo);return!t||!n||t.from==t.to?Dt.none:Dt.set([mmt.range(t.from,t.to)])}),Tmt,xmt],Emt=({theme:e,settings:t={},styles:n=[]})=>{const r={".cm-gutters":{}},a={};t.background&&(a.backgroundColor=t.background),t.backgroundImage&&(a.backgroundImage=t.backgroundImage),t.foreground&&(a.color=t.foreground),t.fontSize&&(a.fontSize=t.fontSize),(t.background||t.foreground)&&
2446(r["&"]=a),t.fontFamily&&(r["&.cm-editor .cm-scroller"]={fontFamily:t.fontFamily}),t.gutterBackground&&r[".cm-gutters"]&&(r[".cm-gutters"].backgroundColor=t.gutterBackground),t.gutterForeground&&r[".cm-gutters"]&&(r[".cm-gutters"].color=t.gutterForeground),t.gutterBorder&&r[".cm-gutters"]&&(r[".cm-gutters"].borderRightColor=t.gutterBorder),t.caret&&(r[".cm-content"]={caretColor:t.caret},r[".cm-cursor, .cm-dropCursor"]={borderLeftColor:t.caret});const i={};t.gutterActiveForeground&&(i.color=t.gutterActiveForeground),t.lineHighlight&&(r[".cm-activeLine"]={backgroundColor:t.lineHighlight},i.backgroundColor=t.lineHighlight),r[".cm-activeLineGutter"]=i,t.selection&&(r["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:t.selection+" !important"}),t.selectionMatch&&(r["& .cm-selectionMatch"]={backgroundColor:t.selectionMatch});const o=st.theme(r,{dark:e==="dark"}),s=H0.define(n);return[o,mq(s)]},_mt=Emt({theme:"light",settings:{background:"var(--scalar-background-2)",foreground:"var(--scalar-color-1)",caret:"var(--scalar-color-1)",selectionMatch:"#e3dcce",gutterBackground:"var(--scalar-background-2)",gutterForeground:"var(--scalar-color-3)",gutterBorder:"transparent",lineHighlight:"var(--scalar-background-3)",fontFamily:"var(--scalar-font-code)"},styles:[{tag:[Z.standard(Z.tagName),Z.tagName],color:"var(--scalar-color-purple)"},{tag:[Z.comment],color:"var(--scalar-color-3)"},{tag:[Z.className],color:"var(--scalar-color-orange)"},{tag:[Z.variableName,Z.propertyName,Z.attributeName],color:"var(--scalar-color-1)"},{tag:[Z.operator],color:"var(--scalar-color-2)"},{tag:[Z.keyword,Z.typeName,Z.typeOperator],color:"var(--scalar-color-green)"},{tag:[Z.string],color:"var(--scalar-color-blue)"},{tag:[Z.bracket,Z.regexp,Z.meta],color:"var(--scalar-color-3)"},{tag:[Z.number],color:"var(--scalar-color-orange)"},{tag:[Z.name,Z.quote],color:"var(--scalar-color-3)"},{tag:[Z.heading],color:"var(--scalar-color-3)",fontWeight:"bold"},{tag:[Z.emphasis],color:"var(--scalar-color-3)",fontStyle:"italic"},{tag:[Z.deleted],color:"var(--scalar-color-3)",backgroundColor:"transparent"},{tag:[Z.atom,Z.bool,Z.special(Z.variableName)],color:"var(--scalar-color-3)"},{tag:[Z.url,Z.escape,Z.regexp,Z.link],color:"var(--scalar-color-1)"},{tag:Z.link,textDecoration:"underline"},{tag:Z.strikethrough,textDecoration:"line-through"},{tag:Z.invalid,color:"var(--scalar-color-3)"}]}),G$=new VH({regexp:/(\{[^}]+\})/g,decoration:()=>Dt.mark({attributes:{class:"api-client-url-variable"}})}),Cmt=()=>ea.fromClass(class{variables;constructor(e){this.variables=G$.createDeco(e)}update(e){this.variables=G$.updateDeco(e,this.variables)}},{decorations:e=>e.variables,provide:e=>st.atomicRanges.of(t=>t.plugin(e)?.variables||Dt.none)}),K$='<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m18 10-6 6-6-6" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/></svg>',J$='<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/></svg>';st.EDIT_CONTEXT=!1;const Wd=e=>"provider"in e&&!!pt(e.provider),$mt={key:"Mod-a",run:e=>(e.dispatch({selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},D2t=e=>{const t=K(null),n=(i="")=>{t.value&&t.value.state.doc.toString()!==i&&t.value.dispatch({changes:{from:0,to:t.value.state.doc.length,insert:i},selection:{anchor:Math.min(t.value.state.selection.main.anchor,i.length)}})},r=I(()=>({onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,disableTabIndent:pt(e.disableTabIndent),language:pt(e.language),classes:pt(e.classes),readOnly:pt(e.readOnly),lineNumbers:pt(e.lineNumbers),withVariables:pt(e.withVariables),forceFoldGutter:pt(e.forceFoldGutter),disableEnter:pt(e.disableEnter),disableCloseBrackets:pt(e.disableCloseBrackets),withoutTheme:pt(e.withoutTheme),lint:pt(e.lint),additionalExtensions:pt(e.extensions),placeholder:pt(e.placeholder)}));qe(e.codeMirrorRef,()=>{t.value?.destroy(),a()},{immediate:!0}),to(()=>t.value?.destroy());function a(){if(e.codeMirrorRef.value){const i=Wd(e)?pt(e.provider):null,o=t9({...r.value,provider:i});t.value=new st({parent:e.codeMirrorRef.value,extensions:o}),Wd(e)||n(pt(e.content))}}return qe(()=>Wd(e)?pt(e.provider):null,()=>{Wd(e)&&(t.value?.destroy(),a())}),qe(r,()=>{if(!t.value)return;const i=Wd(e)?pt(e.provider):null,o=t9({...r.value,provider:i});requestAnimationFrame(()=>{t.value?.dispatch({effects:Kt.reconfigure.of(o)})})},{immediate:!0}),qe(()=>pt(e.content),()=>{Wd(e)||n(pt(e.content))},{immediate:!0}
2446),{setCodeMirrorContent:n,codeMirror:t}},e9={html:oht,json:dht,yaml:dmt,css:Fq,xml:Rht};function t9({onChange:e,onBlur:t,onFocus:n,provider:r,language:a,classes:i=[],readOnly:o=!1,lineNumbers:s=!1,withVariables:l=!1,forceFoldGutter:c=!1,disableEnter:u=!1,disableCloseBrackets:d=!1,disableTabIndent:f=!1,withoutTheme:p=!1,lint:h=!1,additionalExtensions:b=[],placeholder:y}){const O=[Wlt(),Tdt(),Rs.of(Mdt),mq(gut,{fallback:!0}),st.theme({".cm-line":{lineHeight:"22px",padding:"0 2px 0 4px"},".cm-gutterElement":{lineHeight:"22px"},".cm-foldGutter .cm-gutterElement":{display:"flex",alignItems:"center",paddingLeft:"4px"},".cm-foldMarker":{display:"flex",alignItems:"center",justifyContent:"center",height:"22px",color:"var(--scalar-color-3)",cursor:"pointer"},".cm-foldMarker:hover":{color:"var(--scalar-color-1)"},".cm-foldMarker svg":{width:"16px",height:"16px"},".cm-tooltip":{background:"var(--scalar-background-1)",border:"1px solid var(--scalar-border-color)",borderRadius:"var(--scalar-radius)",boxShadow:"var(--scalar-shadow-2)",fontSize:"12px",overflow:"hidden"},".cm-tooltip-autocomplete ul":{padding:"6px"},".cm-tooltip-autocomplete ul li":{padding:"3px 6px",color:"var(--scalar-color-1)",borderRadius:"3px"},".cm-tooltip-autocomplete ul li[aria-selected]":{background:"var(--scalar-background-2)",color:"var(--scalar-color-1)"},".cm-tooltip-autocomplete ul li:hover":{background:"var(--scalar-background-3)",color:"var(--scalar-color-1)"},".cm-completionLabel":{color:"var(--scalar-color-1)"},".cm-completionDetail":{color:"var(--scalar-color-3)"},".cm-tooltip-lint":{backgroundColor:"var(--scalar-background-1)"},".cm-diagnostic-error":{borderLeft:"0",color:"#dc1b19"},".cm-foldPlaceholder":{background:"var(--scalar-background-1)",border:"none",fontFamily:"var(--scalar-font)"}}),st.updateListener.of(A=>{A.docChanged&&e?.(A.state.doc.toString())}),st.domEventHandlers({blur:(A,x)=>{t?.(x.state.doc.toString(),A)},focus:(A,x)=>{n?.(x.state.doc.toString(),A)}}),st.editorAttributes.of({class:i.join(" ")}),...b];if(r&&O.push(r),p||O.push(_mt),o?O.push(st.editable.of(!1)):(O.push(aut(),G7(),wdt(),Rs.of([...Cq,$mt]),G7()),d||O.push(ddt(),Rs.of([...mdt])),f?O.push(Rs.of([{key:"Tab",run:()=>!1,shift:()=>!1}])):O.push(Rs.of([Udt]))),y&&O.push(nct(y)),s&&O.push(xct()),c&&O.push(W7({markerDOM:A=>{const x=document.createElement("div");return x.classList.add("cm-foldMarker"),x.innerHTML=A?K$:J$,x}})),a&&e9[a]&&(O.push(e9[a]()),c||O.push(W7({markerDOM:A=>{const x=document.createElement("div");return x.classList.add("cm-foldMarker"),x.innerHTML=A?K$:J$,x}}))),h&&a==="json"){const A=Omt(x=>{const T=[],E=x.state.doc.toString();if(E.trim())try{JSON.parse(E)}catch(C){C instanceof Error&&T.push({from:0,to:x.state.doc.length,severity:"error",message:C.message})}return T});O.push(A)}return l&&O.push(Cmt()),u?O.push(Rs.of([{key:"Enter",run:()=>!0},{key:"Ctrl-Enter",mac:"Cmd-Enter",run:()=>!0},{key:"Shift-Enter",run:()=>!0}])):O.push(Rs.of([{key:"Enter",run:Ldt}])),O}var Pmt=class CZ extends Mo{variableName;app;pillColor;variableInfo;constructor(t,n,r){if(super(),this.variableName=t,r==="contextFunction"){this.pillColor="var(--scalar-color-3)",this.variableInfo={type:"contextFunction",identifier:t,details:hx(t)};return}this.pillColor=n?.color||"var(--scalar-color-1)";const a=n?.variables?.find(o=>o.name===t),i=a?typeof a.value=="string"?a.value:a.value?.default:void 0;this.variableInfo={type:"environment",name:t,value:i||"No value",isDefined:!!i}}toDOM(){const t=document.createElement("span");return t.className=this.variableInfo.type==="contextFunction"?"cm-pill cm-pill--context-fn":"cm-pill",t.textContent=this.variableName,t.style.setProperty("--tw-bg-base",this.pillColor),this.variableInfo.type==="environment"&&(t.style.opacity=this.variableInfo.isDefined?"1":"0.5"),this.app=U9(nF,{context:this.variableInfo,target:t}),this.app.mount(document.createElement("div")),t}destroy(){this.app&&(this.app.unmount(),this.app=null)}eq(t){if(!(t instanceof CZ)||t.variableName!==this.variableName||t.pillColor!==this.pillColor||t.variableInfo.type!==this.variableInfo.type)return!1;const n=t.variableInfo,r=this.variableInfo;
2446return n.type!==r.type?!1:n.type==="environment"&&r.type==="environment"?n.name===r.name&&n.value===r.value&&n.isDefined===r.isDefined:n.type==="contextFunction"&&r.type==="contextFunction"?n.identifier===r.identifier&&n.details===r.details:!1}ignoreEvent(){return!1}},B2t=e=>ea.fromClass(class{decorations;lastEnvironment;constructor(t){this.lastEnvironment=e.environment,this.decorations=this.buildDecorations(t)}update(t){if(e.environment!==this.lastEnvironment){this.lastEnvironment=e.environment,this.decorations=this.buildDecorations(t.view);return}(t.docChanged||t.viewportChanged)&&(this.decorations=this.buildDecorations(t.view))}buildDecorations(t){const n=new jl,r=e.isContextFunctionName??(()=>!1);for(const{from:a,to:i}of t.visibleRanges){const o=t.state.doc.sliceString(a,i),s=new RegExp(wi.VARIABLES.source,wi.VARIABLES.flags);let l;for(;(l=s.exec(o))!==null;){const c=a+l.index,u=c+l[0].length,d=l[1]??"";if(t.state.doc.sliceString(c,u).includes(` 2447`))continue;const f=r(d)?"contextFunction":"environment";n.add(c,u,Dt.widget({widget:new Pmt(d,e.environment,f),side:1}))}}return n.finish()}},{decorations:t=>t.decorations}),U2t=st.domEventHandlers({keydown(e,t){if(e.key!=="Backspace")return!1;const{state:n}=t,{from:r,to:a}=n.selection.main;return r===0&&a===n.doc.length?(t.dispatch({changes:{from:0,to:n.doc.length},selection:{anchor:0}}),e.preventDefault(),!0):r===a&&r>=2&&n.doc.sliceString(r-2,r)==="}}"?(t.dispatch({changes:{from:r-2,to:r},selection:{anchor:r-2}}),e.preventDefault(),!0):!1}});function $Z(e,t){return t.reduce((n,r)=>{if(n!=null)return n[r]},e)}function Imt(e,t=!1){const n=e.length;let r=0,a="",i=0,o=16,s=0,l=0,c=0,u=0,d=0;function f(x,T){let E=0,C=0;for(;E<x;){let $=e.charCodeAt(r);if($>=48&&$<=57)C=C*16+$-48;else if($>=65&&$<=70)C=C*16+$-65+10;else if($>=97&&$<=102)C=C*16+$-97+10;else break;r++,E++}return E<x&&(C=-1),C}function p(x){r=x,a="",i=0,o=16,d=0}function h(){let x=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&Yd(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&Yd(e.charCodeAt(r)))for(r++;r<e.length&&Yd(e.charCodeAt(r));)r++;else return d=3,e.substring(x,r);let T=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&Yd(e.charCodeAt(r))){for(r++;r<e.length&&Yd(e.charCodeAt(r));)r++;T=r}else d=3;return e.substring(x,T)}function b(){let x="",T=r;for(;;){if(r>=n){x+=e.substring(T,r),d=2;break}const E=e.charCodeAt(r);if(E===34){x+=e.substring(T,r),r++;break}if(E===92){if(x+=e.substring(T,r),r++,r>=n){d=2;break}switch(e.charCodeAt(r++)){case 34:x+='"';break;case 92:x+="\\";break;case 47:x+="/";break;case 98:x+="\b";break;case 102:x+="\f";break;case 110:x+=` 2448`;break;case 114:x+="\r";break;case 116:x+=" ";break;case 117:const $=f(4);$>=0?x+=String.fromCharCode($):d=4;break;default:d=5}T=r;continue}if(E>=0&&E<=31)if(Ch(E)){x+=e.substring(T,r),d=2;break}else d=6;r++}return x}function y(){if(a="",d=0,i=r,l=s,u=c,r>=n)return i=n,o=17;let x=e.charCodeAt(r);if(dS(x)){do r++,a+=String.fromCharCode(x),x=e.charCodeAt(r);while(dS(x));return o=15}if(Ch(x))return r++,a+=String.fromCharCode(x),x===13&&e.charCodeAt(r)===10&&(r++,a+=` 2449`),s++,c=r,o=14;switch(x){case 123:return r++,o=1;case 125:return r++,o=2;case 91:return r++,o=3;case 93:return r++,o=4;case 58:return r++,o=6;case 44:return r++,o=5;case 34:return r++,a=b(),o=10;case 47:const T=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!Ch(e.charCodeAt(r));)r++;return a=e.substring(T,r),o=12}if(e.charCodeAt(r+1)===42){r+=2;const E=n-1;let C=!1;for(;r<E;){const $=e.charCodeAt(r);if($===42&&e.charCodeAt(r+1)===47){r+=2,C=!0;break}r++,Ch($)&&($===13&&e.charCodeAt(r)===10&&r++,s++,c=r)}return C||(r++,d=1),a=e.substring(T,r),o=13}return a+=String.fromCharCode(x),r++,o=16;case 45:if(a+=String.fromCharCode(x),r++,r===n||!Yd(e.charCodeAt(r)))return o=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return a+=h(),o=11;default:for(;r<n&&O(x);)r++,x=e.charCodeAt(r);if(i!==r){switch(a=e.substring(i,r),a){case"true":return o=8;case"false":return o=9;case"null":return o=7}return o=16}return a+=String.fromCharCode(x),r++,o=16}}function O(x){if(dS(x)||Ch(x))return!1;switch(x){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function A(){let x;do x=y();while(x>=12&&x<=15);return x}return{setPosition:p,getPosition:()=>r,scan:t?A:y,getToken:()=>o,getTokenValue:()=>a,getTokenOffset:()=>i,getTokenLength:()=>r-i,getTokenStartLine:()=>l,getTokenStartCharacter:()=>i-u,getTokenError:()=>d}}function dS(e){return e===32||e===9}function Ch(e){return e===10||e===13}function Yd(e){return e>=48&&e<=57}var n9;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="
2449C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(n9||(n9={}));const jo=new Array(20).fill(0).map((e,t)=>" ".repeat(t)),Gd=200,r9={" ":{"\n":new Array(Gd).fill(0).map((e,t)=>` 2450`+" ".repeat(t)),"\r":new Array(Gd).fill(0).map((e,t)=>"\r"+" ".repeat(t)),"\r\n":new Array(Gd).fill(0).map((e,t)=>`\r 2451`+" ".repeat(t))}," ":{"\n":new Array(Gd).fill(0).map((e,t)=>` 2452`+" ".repeat(t)),"\r":new Array(Gd).fill(0).map((e,t)=>"\r"+" ".repeat(t)),"\r\n":new Array(Gd).fill(0).map((e,t)=>`\r 2453`+" ".repeat(t))}},Nmt=[` 2454`,"\r",`\r 2455`];function Rmt(e,t,n){let r,a,i;a=e,r=0,i=0,e.length;const o=Mmt(n,e),s=Nmt.includes(o);let l=0,c=0,u;n.insertSpaces?u=jo[n.tabSize||4]??Kd(jo[1],n.tabSize||4):u=" ";const d=u===" "?" ":" ";let f=Imt(a,!1),p=!1;function h(){if(l>1)return Kd(o,l)+Kd(u,r+c);const x=u.length*(r+c);return!s||x>r9[d][o].length?o+Kd(u,r+c):x<=0?o:r9[d][o][x]}function b(){let x=f.scan();for(l=0;x===15||x===14;)x===14&&n.keepLines?l+=1:x===14&&(l=1),x=f.scan();return p=x===16||f.getTokenError()!==0,x}const y=[];function O(x,T,E){!p&&e.substring(T,E)!==x&&y.push({offset:T,length:E-T,content:x})}let A=b();if(n.keepLines&&l>0&&O(Kd(o,l),0,0),A!==17){let x=f.getTokenOffset()+i,T=u.length*r<20&&n.insertSpaces?jo[u.length*r]:Kd(u,r);O(T,i,x)}for(;A!==17;){let x=f.getTokenOffset()+f.getTokenLength()+i,T=b(),E="",C=!1;for(;l===0&&(T===12||T===13);){let R=f.getTokenOffset()+i;O(jo[1],x,R),x=f.getTokenOffset()+f.getTokenLength()+i,C=T===12,E=C?h():"",T=b()}if(T===2)A!==1&&c--,n.keepLines&&l>0||!n.keepLines&&A!==1?E=h():n.keepLines&&(E=jo[1]);else if(T===4)A!==3&&c--,n.keepLines&&l>0||!n.keepLines&&A!==3?E=h():n.keepLines&&(E=jo[1]);else{switch(A){case 3:case 1:c++,n.keepLines&&l>0||!n.keepLines?E=h():E=jo[1];break;case 5:n.keepLines&&l>0||!n.keepLines?E=h():E=jo[1];break;case 12:E=h();break;case 13:l>0?E=h():C||(E=jo[1]);break;case 6:n.keepLines&&l>0?E=h():C||(E=jo[1]);break;case 10:n.keepLines&&l>0?E=h():T===6&&!C&&(E="");break;case 7:case 8:case 9:case 11:case 2:case 4:n.keepLines&&l>0?E=h():(T===12||T===13)&&!C?E=jo[1]:T!==5&&T!==17&&(p=!0);break;case 16:p=!0;break}l>0&&(T===12||T===13)&&(E=h())}T===17&&(n.keepLines&&l>0?E=h():E=n.insertFinalNewline?o:"");const $=f.getTokenOffset()+i;O(E,x,$),A=T}return y}function Kd(e,t){let n="";for(let r=0;r<t;r++)n+=e;return n}function Mmt(e,t){for(let n=0;n<t.length;n++){const r=t.charAt(n);if(r==="\r")return n+1<t.length&&t.charAt(n+1)===` 2456`?`\r 2457`:"\r";if(r===` 2458`)return` 2459`}return e&&e.eol||` 2460`}var a9;(function(e){e.DEFAULT={allowTrailingComma:!1}})(a9||(a9={}));function Lmt(e,t){return e.substring(0,t.offset)+t.content+e.substring(t.offset+t.length)}var i9;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(i9||(i9={}));var o9;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"}
2460)(o9||(o9={}));var s9;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(s9||(s9={}));function j2t(e,t,n){return Rmt(e,t,n)}function Q2t(e,t){let n=t.slice(0).sort((a,i)=>{const o=a.offset-i.offset;return o===0?a.length-i.length:o}),r=e.length;for(let a=n.length-1;a>=0;a--){let i=n[a];if(i.offset+i.length<=r)e=Lmt(e,i);else throw new Error("Overlapping edit");r=i.offset}return e}var l9="scalar-app",c9="headlessui-portal-root",Dmt=e=>e!==null&&e instanceof HTMLElement,u9=e=>{!e||e.classList.contains(l9)||e.classList.add(l9)},Bmt=()=>{u9(document.getElementById(c9));const e=new MutationObserver(t=>t.forEach(({addedNodes:n})=>n.forEach(r=>{Dmt(r)&&r.id===c9&&u9(r)})));return e.observe(document.body,{childList:!0}),e};let Umt=class{data;next;constructor(t){this.data=t,this.next=null}};class PZ{front;rear;size;constructor(){this.front=null,this.rear=null,this.size=0}enqueue(t){const n=new Umt(t);this.isEmpty()||!this.rear?(this.front=n,this.rear=n):(this.rear.next=n,this.rear=n),this.size++}dequeue(){if(this.isEmpty()||!this.front)return null;const t=this.front;return this.front=this.front.next,this.front===null&&(this.rear=null),this.size--,t.data}peek(){return this.isEmpty()||!this.front?null:this.front.data}isEmpty(){return this.size===0}getSize(){return this.size}toString(){let t=this.front;const n=[];for(;t;)n.push(t.data),t=t.next;return n.join(" -> ")}}const d9=(e,t={})=>{const{prefix:n="",cache:r=new WeakMap}=t,a=l=>({$ref:`#${l??""}`});if(typeof e!="object"||e===null)return e;const i=n;r.set(e,i);const o=Array.isArray(e)?new Array(e.length):{},s=new PZ;for(s.enqueue({node:e,result:o,path:i});!s.isEmpty();){const l=s.dequeue();if(!l)continue;const{node:c,result:u,path:d}=l;if(Array.isArray(c)){const p=c,h=u;for(let b=0;b<p.length;b++){if(!(b in p))continue;const y=p[b],O=`${d}/${b}`;if(typeof y!="object"||y===null){h[b]=y;continue}const A=r.get(y);if(A!==void 0){h[b]=a(A);continue}r.set(y,O);const x=Array.isArray(y)?new Array(y.length):{};h[b]=x,s.enqueue({node:y,result:x,path:O})}continue}const f=u;for(const[p,h]of Object.entries(c)){const b=`${d}/${ED(p)}`;if(typeof h!="object"||h===null){f[p]=h;continue}const y=r.get(h);if(y!==void 0){f[p]=a(y);continue}r.set(h,b);const O=Array.isArray(h)?new Array(h.length):{};f[p]=O,s.enqueue({node:h,result:O,path:b})}}return o},jmt="2.6.0",IZ="/";function Qmt(e){const t=e;return!Ge(t)||typeof t.asyncapi!="string"||!t.asyncapi.startsWith("1.")||(t.asyncapi=jmt,Fmt(t),Vmt(t),qmt(t),Zmt(t)),t}function Fmt(e){if(!Array.isArray(e.servers))return;const t={},n=new Set;for(const[r,a]of e.servers.entries()){if(!Ge(a))continue;const i={};for(const[s,l]of Object.entries(a))s==="scheme"?i.protocol=l:s==="schemeVersion"?i.protocolVersion=l:i[s]=l;const o=zmt(typeof a.description=="string"?a.description:"",r,n);n.add(o),t[o]=i}e.servers=t}function zmt(e,t,n){const r=Pa(e)||`server-${t}`;if(!n.has(r))return r;let a=2;for(;n.has(`${r}-${a}`);)a+=1;return`${r}-${a}`}function Vmt(e){if(!Ge(e.topics)){typeof e.baseTopic=="string"&&delete e.baseTopic;return}const t=typeof e.baseTopic=="string"?e.baseTopic:"",n={};for(const[r,a]of Object.entries(e.topics)){if(!Ge(a))continue;const i=t?`${t}.${r}`:r,o={};for(const[s,l]of Object.entries(a))if(s==="parameters"){const c=Hmt(l);c&&(o.parameters=c)}else s==="publish"||s==="subscribe"?o[s]={message:l}:o[s]=l;n[i]=o}e.channels=n,delete e.topics,delete e.baseTopic}function Hmt(e){if(!Array.isArray(e))return;const t={};for(const n of e){if(!Ge(n))continue;if(typeof n.$ref=="string"){const i=n.$ref.split("/").pop()??"";i&&(t[i]={$ref:n.$ref});continue}if(typeof n.name!="string")continue;const{name:r,...a}=n;t[r]=a}return t}function qmt(e){if(!Ge(e.stream))return;const t={};Array.isArray(e.stream.read)&&(t.subscribe={message:{oneOf:e.stream.read}}),Array.isArray(e.stream.write)&&(t.publish={message:{oneOf:e.stream.write}});const n=Ge(e.channels)?e.channels:{};n[IZ]=t,e.channels=n,delete e.stream}function Zmt(e){if(!Ge(e.events))return;const t={};Array.isArray(e.events.receive)&&(t.subscribe={message:{oneOf:e.events.receive}}),Array.isArray(e.events.send)&&(t.publish={message:{oneOf:e.events.send}});const n=Ge(e.channels)?e.channels:{};n[IZ]=t,e.channels=n,delete e.events}const Xmt="3.0.0";function Wmt(e){const t=e;return!Ge(t)||typeof t.asyncapi!="string"||!t.asyncapi.startsWith("2.")||(t.asyncapi=Xmt,Jmt(t),Ymt(t),e0t(t)),t}function Ymt(e){if(!Ge(e.servers))return;const t=RZ(e);
2460for(const n of Object.values(e.servers))if(Ge(n)){if(typeof n.url=="string"){const{host:r,pathname:a}=Gmt(n.url);n.host=r,a&&(n.pathname=a),delete n.url}Array.isArray(n.security)&&(n.security=NZ(n.security,t))}}function Gmt(e){const t=e.match(/^[a-zA-Z][a-zA-Z0-9+\-.]*:\/\/(.*)$/),n=t?t[1]:e,r=n.indexOf("/");return r===-1?{host:n,pathname:""}:{host:n.slice(0,r),pathname:n.slice(r)}}function NZ(e,t){return e.map(n=>Kmt(n,t)).filter(n=>n!==void 0)}function Kmt(e,t){if(!Ge(e))return;const[n]=Object.entries(e);if(!n)return;const[r,a]=n,i=t[r];return Ge(i)&&i.type==="oauth2"&&Array.isArray(a)?{...i,scopes:a}:{$ref:`#/components/securitySchemes/${r}`}}function RZ(e){if(!Ge(e.components)||!Ge(e.components.securitySchemes))return{};const t={};for(const[n,r]of Object.entries(e.components.securitySchemes))Ge(r)&&(t[n]=r);return t}function Jmt(e){if(!(!Ge(e.components)||!Ge(e.components.securitySchemes))){for(const t of Object.values(e.components.securitySchemes))if(!(!Ge(t)||t.type!=="oauth2"||!Ge(t.flows)))for(const n of Object.values(t.flows))Ge(n)&&"scopes"in n&&(n.availableScopes=n.scopes,delete n.scopes)}}function e0t(e){if(!Ge(e.channels))return;const t=RZ(e),n={},r={},a=new Set,i=new Set;for(const[o,s]of Object.entries(e.channels)){if(!Ge(s))continue;const l=fS(n0t(o),a),c={address:o},u={};for(const[p,h]of Object.entries(s))if(!(p==="publish"||p==="subscribe"||p==="parameters")){if(p==="servers"&&Array.isArray(h)){c.servers=h.map(b=>({$ref:`#/servers/${b}`}));continue}c[p]=h}Ge(s.parameters)&&(c.parameters=s.parameters);const d=f9(s.publish,u),f=f9(s.subscribe,u);if(c.messages=u,n[l]=c,Ge(s.publish)){const p=fS(p9(s.publish,"receive",l),i);r[p]=h9(s.publish,"receive",l,d,t)}if(Ge(s.subscribe)){const p=fS(p9(s.subscribe,"send",l),i);r[p]=h9(s.subscribe,"send",l,f,t)}}e.channels=n,e.operations=r}function f9(e,t){if(!Ge(e)||!Ge(e.message))return[];const n=e.message,r=Array.isArray(n.oneOf)?n.oneOf:[n],a=[];for(const i of r){if(!Ge(i))continue;const o=t0t(i,t);t[o]=i,a.push(o)}return a}function t0t(e,t){if(typeof e.$ref=="string"){const r=e.$ref.split("/").pop();if(r)return r}if(typeof e.name=="string"&&e.name)return e.name;let n=0;for(;`message-${n}`in t;)n+=1;return`message-${n}`}
2460function p9(e,t,n){return typeof e.operationId=="string"&&e.operationId?e.operationId:`${t}-${n}`}function h9(e,t,n,r,a){const i={action:t,channel:{$ref:`#/channels/${n}`}};for(const[o,s]of Object.entries(e))if(!(o==="message"||o==="operationId")){if(o==="security"&&Array.isArray(s)){i.security=NZ(s,a);continue}i[o]=s}return i.messages=r.map(o=>({$ref:`#/channels/${n}/messages/${o}`})),i}function n0t(e){return Pa(e.replace(/[^a-zA-Z0-9]+/g," "))}function fS(e,t){if(!t.has(e))return t.add(e),e;let n=2;for(;t.has(`${e}-${n}`);)n+=1;const r=`${e}-${n}`;return t.add(r),r}const r0t="3.1.0",a0t=/^#\/components\/messages\/(.+)$/;function i0t(e){const t=e;return!Ge(t)||typeof t.asyncapi!="string"||!t.asyncapi.startsWith("3.0")||(t.asyncapi=r0t,o0t(t)),t}function o0t(e){if(!Ge(e.operations)||!Ge(e.channels))return;const t=e.channels;for(const n of Object.values(e.operations))Ge(n)&&(m9(n.messages,n.channel,t),Ge(n.reply)&&m9(n.reply.messages,n.reply.channel??n.channel,t))}function m9(e,t,n){if(!Array.isArray(e))return;const r=l0t(t);if(!r)return;const a=n[r];if(Ge(a)){for(let i=0;i<e.length;i+=1){const o=e[i];if(!Ge(o)||typeof o.$ref!="string")continue;const[,s]=o.$ref.match(a0t)??[];s&&(c0t(a,s,o.$ref),e[i]={$ref:`#/channels/${r}/messages/${s}`})}s0t(e)}}function s0t(e){const t=new Set;let n=0;for(const r of e){if(Ge(r)&&typeof r.$ref=="string"){if(t.has(r.$ref))continue;t.add(r.$ref)}e[n]=r,n+=1}e.length=n}function l0t(e){if(!Ge(e)||typeof e.$ref!="string")return;const t=e.$ref.match(/^#\/channels\/([^/]+)$/);return t?t[1]:void 0}function c0t(e,t,n){Ge(e.messages)||(e.messages={});const r=e.messages;t in r||(r[t]={$ref:n})}function u0t(e){const t=Qmt(e),n=Wmt(t);return i0t(n)}const d0t=(e,t)=>
2460{const n=performance.now(),r=t(),a=performance.now(),i=Math.round(a-n);return console.info(`${e}: ${i} ms`),r},f0t=async(e,t)=>{const n=performance.now(),r=await t(),a=performance.now(),i=Math.round(a-n);return console.info(`${e}: ${i} ms`),r};function Al(e){try{const t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}}function p0t(e){if(!/^\s*(\{)/.test(e.slice(0,500)))return!1;try{const t=JSON.parse(e);return Ge(t)}catch{return!1}}function h0t(e){return/^\s*(?:-\s*)?[\w\-]+\s*:\s*.+\n.*/.test(e)}function m0t(e){return!Al(e)&&!h0t(e)&&!p0t(e)}let g9=()=>{var e=(()=>{var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,i=(xe,Le)=>{for(var Xe in Le)t(xe,Xe,{get:Le[Xe],enumerable:!0})},o=(xe,Le,Xe,St)=>{if(Le&&typeof Le=="object"||typeof Le=="function")for(let $t of r(Le))!a.call(xe,$t)&&$t!==Xe&&t(xe,$t,{get:()=>Le[$t],enumerable:!(St=n(Le,$t))||St.enumerable});return xe},s=xe=>o(t({},"__esModule",{value:!0}),xe),l={};i(l,{default:()=>th});var c=xe=>Array.isArray(xe),u=xe=>typeof xe=="function",d=xe=>xe.length===0,f=xe=>typeof xe=="number",p=xe=>typeof xe=="object"&&xe!==null,h=xe=>xe instanceof RegExp,b=xe=>typeof xe=="string",y=xe=>xe===void 0,O=xe=>{const Le=new Map;return Xe=>{const St=Le.get(Xe);if(St)return St;const $t=xe(Xe);return Le.set(Xe,$t),$t}},A=(xe,Le,Xe={})=>{const St={cache:{},input:xe,index:0,indexMax:0,options:Xe,output:[]};if(de(Le)(St)&&St.index===xe.length)return St.output;throw new Error(`Failed to parse at index ${St.indexMax}`)},x=(xe,Le)=>c(xe)?T(xe,Le):b(xe)?C(xe,Le):E(xe,Le),T=(xe,Le)=>{const Xe={};for(const St of xe){if(St.length!==1)throw new Error(`Invalid character: "${St}"`);const $t=St.charCodeAt(0);Xe[$t]=!0}return St=>{const $t=St.index,An=St.input;for(;St.index<An.length&&An.charCodeAt(St.index)in Xe;)St.index+=1;const or=St.index;if(or>$t){if(!y(Le)&&!St.options.silent){const $i=St.input.slice($t,or),Zr=u(Le)?Le($i,An,String($t)):Le;y(Zr)||St.output.push(Zr)}St.indexMax=Math.max(St.indexMax,St.index)}return!0}},E=(xe,Le)=>{const Xe=xe.source,St=xe.flags.replace(/y|$/,"y"),$t=new RegExp(Xe,St);return ee(An=>{$t.lastIndex=An.index;const or=$t.exec(An.input);if(or){if(!y(Le)&&!An.options.silent){const $i=u(Le)?Le(...or,An.input,String(An.index)):Le;y($i)||An.output.push($i)}return An.index+=or[0].length,An.indexMax=Math.max(An.indexMax,An.index),!0}else return!1})},C=(xe,Le)=>Xe=>{if(Xe.input.startsWith(xe,Xe.index)){if(!y(Le)&&!Xe.options.silent){const St=u(Le)?Le(xe,Xe.input,String(Xe.index)):Le;y(St)||Xe.output.push(St)}return Xe.index+=xe.length,Xe.indexMax=Math.max(Xe.indexMax,Xe.index),!0}else return!1},$=(xe,Le,Xe,St)=>{const $t=de(xe);return ee(pe(W(An=>{let or=0;for(;or<Xe;){const $i=An.index;if(!$t(An)||(or+=1,An.index===$i))break}return or>=Le})))},R=(xe,Le)=>$(xe,0,1),j=(xe,Le)=>$(xe,0,1/0),U=(xe,Le)=>{const Xe=xe.map(de);return ee(pe(W(St=>{for(let $t=0,An=Xe.length;$t<An;$t++)if(!Xe[$t](St))return!1;return!0})))},Y=(xe,Le)=>{const Xe=xe.map(de);return ee(pe(St=>{for(let $t=0,An=Xe.length;$t<An;$t++)if(Xe[$t](St))return!0;return!1}))},W=(xe,Le=!1)=>{const Xe=de(xe);return St=>{const $t=St.index,An=St.output.length,or=Xe(St);return(!or||Le)&&(St.index=$t,St.output.length!==An&&(St.output.length=An)),or}},pe=(xe,Le)=>de(xe),ee=(()=>{let xe=0;return Le=>{const Xe=de(Le),St=xe+=1;return $t=>{var An;if($t.options.memoization===!1)return Xe($t);const or=$t.index,$i=(An=$t.cache)[St]||(An[St]=new Map),Zr=$i.get(or);if(Zr===!1)return!1;if(f(Zr))return $t.index=Zr,!0;if(Zr)return $t.index=Zr.index,Zr.output?.length&&$t.output.push(...Zr.output),!0;{const nh=$t.output.length;if(Xe($t)){const rh=$t.index,Y0=$t.output.length;if(Y0>nh){const Gv=$t.output.slice(nh,Y0);$i.set(or,{index:rh,output:Gv})}else $i.set(or,rh);return!0}else return $i.set(or,!1),!1}}}})(),ae=xe=>{let Le;return Xe=>(Le||(Le=de(xe())),Le(Xe))},de=O(xe=>{if(u(xe))return d(xe)?ae(xe):xe;if(b(xe)||h(xe))return x(xe);if(c(xe))return U(xe);if(p(xe))return Y(Object.values(xe));throw new Error("Invalid rule")}),ue="abcdefghijklmnopqrstuvwxyz",Ee=xe=>{let Le="";for(;xe>0;){const Xe=(xe-1)%26;Le=ue[Xe]+Le,xe=Math.floor((xe-1)/26)}return Le}
2460,Te=xe=>{let Le=0;for(let Xe=0,St=xe.length;Xe<St;Xe++)Le=Le*26+ue.indexOf(xe[Xe])+1;return Le},D=(xe,Le)=>{if(Le<xe)return D(Le,xe);const Xe=[];for(;xe<=Le;)Xe.push(xe++);return Xe},oe=(xe,Le,Xe)=>D(xe,Le).map(St=>String(St).padStart(Xe,"0")),fe=(xe,Le)=>D(Te(xe),Te(Le)).map(Ee),z=xe=>xe,mt=xe=>te(Le=>A(Le,xe,{memoization:!1}).join("")),te=xe=>{const Le={};return Xe=>Le[Xe]??(Le[Xe]=xe(Xe))},Oe=x(/^\*\*\/\*$/,".*"),Et=x(/^\*\*\/(\*)?([ a-zA-Z0-9._-]+)$/,(xe,Le,Xe)=>`.*${Le?"":"(?:^|/)"}${Xe.replaceAll(".","\\.")}`),Pt=x(/^\*\*\/(\*)?([ a-zA-Z0-9._-]*)\{([ a-zA-Z0-9._-]+(?:,[ a-zA-Z0-9._-]+)*)\}$/,(xe,Le,Xe,St)=>`.*${Le?"":"(?:^|/)"}${Xe.replaceAll(".","\\.")}(?:${St.replaceAll(",","|").replaceAll(".","\\.")})`),gt=x(/\\./,z),kn=x(/[$.*+?^(){}[\]\|]/,xe=>`\\${xe}`),Nr=x(/./,z),rr=x(/^(?:!!)*!(.*)$/,(xe,Le)=>`(?!^${ir(Le)}$).*?`),qr=x(/^(!!)+/,""),ge=Y([rr,qr]),je=x(/\/(\*\*\/)+/,"(?:/.+/|/)"),ot=x(/^(\*\*\/)+/,"(?:^|.*/)"),Lt=x(/\/(\*\*)$/,"(?:/.*|$)"),Ct=x(/\*\*/,".*"),zt=Y([je,ot,Lt,Ct]),jn=x(/\*\/(?!\*\*\/)/,"[^/]*/"),Rr=x(/\*/,"[^/]*"),ba=Y([jn,Rr]),Ci=x("?","[^/]"),io=x("[",z),oo=x("]",z),ye=x(/[!^]/,"^/"),Re=x(/[a-z]-[a-z]|[0-9]-[0-9]/i,z),bt=x(/[$.*+?^(){}[\|]/,xe=>`\\${xe}`),re=x(/[^\]]/,z),ce=Y([gt,bt,Re,re]),Ne=U([io,R(ye),j(ce),oo]),De=x("{","(?:"),Xt=x("}",")"),_t=x(/(\d+)\.\.(\d+)/,(xe,Le,Xe)=>oe(+Le,+Xe,Math.min(Le.length,Xe.length)).join("|")),On=x(/([a-z]+)\.\.([a-z]+)/,(xe,Le,Xe)=>fe(Le,Xe).join("|")),Sn=x(/([A-Z]+)\.\.([A-Z]+)/,(xe,Le,Xe)=>fe(Le.toLowerCase(),Xe.toLowerCase()).join("|").toUpperCase()),hn=Y([_t,On,Sn]),ar=U([De,hn,Xt]),Fd=x("{","(?:"),Gp=x("}",")"),Z0=x(",","|"),X0=x(/[$.*+?^(){[\]\|]/,xe=>`\\${xe}`),Yv=x(/[^}]/,z),W0=ae(()=>X),nc=Y([zt,ba,Ci,Ne,ar,W0,gt,X0,Z0,Yv]),X=U([Fd,j(nc),Gp]),$e=j(Y([Oe,Et,Pt,ge,zt,ba,Ci,Ne,ar,X,gt,kn,Nr])),et=$e,Vt=mt(et),ir=Vt,hr=x(/\\./,z),ft=x(/./,z),nt=x(/\*\*\*+/,"*"),It=x(/([^/{[(!])\*\*/,(xe,Le)=>`${Le}*`),Mr=x(/(^|.)\*\*(?=[^*/)\]}])/,(xe,Le)=>`${Le}*`),xr=j(Y([hr,nt,It,Mr,ft])),lu=xr,Kp=mt(lu),Jp=Kp,eh=(xe,Le)=>{const Xe=Array.isArray(xe)?xe:[xe];if(!Xe.length)return!1;const St=Xe.map(eh.compile),$t=Xe.every(or=>/(\/(?:\*\*)?|\[\/\])$/.test(or)),An=Le.replace(/[\\\/]+/g,"/").replace(/\/$/,$t?"/":"");return St.some(or=>or.test(An))};eh.compile=xe=>new RegExp(`^${ir(Jp(xe))}$`,"s");var th=eh;return s(l)})();return e.default||e},pS;const g0t=(e,t)=>(pS||(pS=g9(),g9=null),pS(e,t)),b0t=/^[A-Za-z]:\//;
2460function jd(e=""){return e&&e.replace(/\\/g,"/").replace(b0t,t=>t.toUpperCase())}const y0t=/^[/\\]{2}/,v0t=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,MZ=/^[A-Za-z]:$/,b9=/^\/([A-Za-z]:)?$/,O0t=/.(\.[^./]+|\.)$/,S0t=/^[/\\]|^[a-zA-Z]:[/\\]/,w0t="/",ok=function(e){if(e.length===0)return".";e=jd(e);const t=e.match(y0t),n=mp(e),r=e[e.length-1]==="/";return e=sk(e,!n),e.length===0?n?"/":r?"./":".":(r&&(e+="/"),MZ.test(e)&&(e+="/"),t?n?`//${e}`:`//./${e}`:n&&!mp(e)?`/${e}`:e)},x0t=function(...e){let t="";for(const n of e)if(n)if(t.length>0){const r=t[t.length-1]==="/",a=n[0]==="/";r&&a?t+=n.slice(1):t+=r||a?n:`/${n}`}else t+=n;return ok(t)};function k0t(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}const _b=function(...e){e=e.map(r=>jd(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const a=r>=0?e[r]:k0t();!a||a.length===0||(t=`${a}/${t}`,n=mp(a))}return t=sk(t,!n),n&&!mp(t)?`/${t}`:t.length>0?t:"."};function sk(e,t){let n="",r=0,a=-1,i=0,o=null;for(let s=0;s<=e.length;++s){if(s<e.length)o=e[s];else{if(o==="/")break;o="/"}if(o==="/"){if(!(a===s-1||i===1))if(i===2){if(n.length<2||r!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const l=n.lastIndexOf("/");l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),a=s,i=0;continue}else if(n.length>0){n="",r=0,a=s,i=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(a+1,s)}`:n=e.slice(a+1,s),r=s-a-1;a=s,i=0}else o==="."&&i!==-1?++i:i=-1}return n}const mp=function(e){return v0t.test(e)},A0t=function(e){return jd(e)},LZ=function(e){if(e==="..")return"";const t=O0t.exec(jd(e));return t&&t[1]||""},T0t=function(e,t){const n=_b(e).replace(b9,"$1").split("/"),r=_b(t).replace(b9,"$1").split("/");if(r[0][1]===":"&&n[0][1]===":"&&n[0]!==r[0])return r.join("/");const a=[...n];for(const i of a){if(r[0]!==i)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")},DZ=function(e){const t=jd(e).replace(/\/$/,"").split("/").slice(0,-1);return t.length===1&&MZ.test(t[0])&&(t[0]+="/"),t.join("/")||(mp(e)?"/":".")},E0t=function(e){const t=e.ext?e.ext.startsWith(".")?e.ext:`.${e.ext}`:"",n=[e.root,e.dir,e.base??(e.name??"")+t].filter(Boolean);return jd(e.root?_b(...n):n.join("/"))},BZ=function(e,t){const n=jd(e).split("/");let r="";for(let a=n.length-1;a>=0;a--){const i=n[a];if(i){r=i;break}}return t&&r.endsWith(t)?r.slice(0,-t.length):r},_0t=function(e){const t=S0t.exec(e)?.[0]?.replace(/\\/g,"/")||"",n=BZ(e),r=LZ(n);return{root:t,dir:DZ(e),base:n,ext:r,name:n.slice(0,n.length-r.length)}},C0t=(e,t)=>g0t(t,ok(e)),y9={__proto__:null,basename:BZ,dirname:DZ,extname:LZ,format:E0t,isAbsolute:mp,join:x0t,matchesGlob:C0t,normalize:ok,normalizeString:sk,parse:_0t,relative:T0t,resolve:_b,sep:w0t,toNamespacedPath:A0t},$0t=globalThis.process?.platform==="win32"?";":":",P0t={posix:void 0,win32:void 0},UZ=(e=$0t)=>new Proxy(y9,{get(t,n){return n==="delimiter"?e:n==="posix"?va:n==="win32"?I0t:P0t[n]||y9[n]}}),va=UZ(":"),I0t=UZ(";"),N0t=(e,t)=>{if(Al(t))return t;if(Al(e)){const n=new URL(e);return n.pathname=va.posix.resolve("/",va.dirname(n.pathname),t),n.toString()}return va.resolve(va.dirname(e),t)};function R0t(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function qv(e){return e.split("/").slice(1).map(R0t)}function i8(e,t,n){if(t==="")throw new Error("Cannot set value at root ('') pointer");const r=qv(t);r.forEach(i=>Pu(i));let a=e;for(let i=0;i<r.length;i++){const o=r[i],s=i===r.length-1,l=r[i+1],c=/^\d+$/.test(l??"");s?a[o]=n:((!(o in a)||typeof a[o]!="object")&&(a[o]=c?[]:{}),a=a[o])}}const M0t=(e,t)=>{if(Al(e)&&Al(t)){const a=new URL(e),i=new URL(t);if(a.origin!==i.origin)return e;const o=va.dirname(va.posix.resolve("/",i.pathname)),s=va.posix.resolve("/",a.pathname);return va.posix.relative(o,s)}if(Al(t)){const a=new URL(t),i=va.dirname(va.posix.resolve("/",a.pathname));return a.pathname=va.posix.relative(i,va.posix.resolve("/",e)),a.toString()}if(Al(e))return e;const n=va.dirname(va.resolve(t)),r=va.resolve(e);return va.relative(n,r)};function L0t(e){const n=tm(e).substring(0,7);return n.match(/^\d+$/)?"a"+n.substring(1):n}async function jZ(e,t,n,r,a=0){if(a>=100)throw"Can not generate unique compressed values";const o=await e(r??t);return n[o]!==void 0&&n[o]!==t?jZ(e,t,n,o,a+1):(n[o]=t,o)}const D0t=(e,t)=>
2460{const n=Object.fromEntries(Object.entries(t).map(([r,a])=>[a,r]));return{generate:async r=>{const a=n[r];if(a)return a;const i=await jZ(e,r,t),o=i.match(/^\d+$/)?`a${i}`:i;return n[r]=o,o}}},B0t=e=>Ge(e)&&"$ref"in e&&typeof e.$ref=="string";function QZ(e){return e.startsWith("#")}function v9(e,t){const n=t.find(r=>r.validate(e));return n?n.exec(e):Promise.resolve({ok:!1})}function o8(e,t){if(!QZ(e))throw"Please provide an internal ref";return`#/${t.map(sv).join("/")}${e.substring(1)}`}function s8(e,t){if(Array.isArray(e)){e.forEach(n=>s8(n,t));return}if(Ge(e)&&(Object.values(e).forEach(n=>s8(n,t)),typeof e=="object"&&"$ref"in e&&typeof e.$ref=="string")){const n=e.$ref;if(!QZ(n))return;e.$ref=o8(n,t)}}const l8=(e,t,n,r,a,i=!1,o=new Set)=>{const s=mm(t,qv(n)).value;if(o.has(s))return;o.add(s),i8(e,n,s);const l=c=>{if(!(!c||typeof c!="object")){"$ref"in c&&typeof c.$ref=="string"&&(c.$ref.startsWith(`#/${r}/${sv(a)}`)||i)&&l8(e,t,c.$ref.substring(1),r,a,i,o);for(const u of Object.values(c))l(u)}};l(s)},hS={externalDocuments:"x-ext",externalDocumentsMappings:"x-ext-urls"};async function mg(e,t){t.externalDocumentsKey=t.externalDocumentsKey??hS.externalDocuments,t.externalDocumentsMappingsKey=t.externalDocumentsMappingsKey??hS.externalDocumentsMappings;const n=t.cache??new Map,r=t.plugins.filter(y=>y.type==="loader"),a=t.plugins.filter(y=>y.type==="lifecycle"),o=await(async()=>{if(typeof e!="string")return e;const y=await v9(e,r);if(y.ok&&typeof y.data=="object")return y.data;throw new Error("Failed to resolve input: Please provide a valid string value or pass a loader to process the input")})(),s=t.root??o,l=x8(s),c=t.root!==void 0&&t.root!==o||t.depth!==void 0,u=t.visitedNodes??new Set,f=(()=>{const y=Df(s);return y||(t.origin?t.origin:typeof e!="string"?"/":Al(e)||m0t(e)?e:"/")})();s[t.externalDocumentsMappingsKey]===void 0&&(s[t.externalDocumentsMappingsKey]={});const{generate:p}=D0t(t.compress??L0t,s[t.externalDocumentsMappingsKey]),h=async(y,...O)=>{const A=t.hooks?.[y];A&&await A(...O);for(const x of a){const T=x[y];T&&await T(...O)}},b=async(y,O=f,A=!1,x=0,T=[],E=null)=>{if(t.depth!==void 0&&x>t.depth||!Ge(y)&&!Array.isArray(y)||u.has(y))return;u.add(y);const C={path:T,resolutionCache:n,parentNode:E,rootNode:s,loaders:r};await h("onBeforeNodeProcess",y,C);const $=Df(y);if(B0t(y)){const R=y.$ref,j="$global"in y&&typeof y.$global=="boolean"&&y.$global,U=PS(R,$??O,l);if(U!==void 0){if(c){const Ee=qv(`/${U}`),Te=Ee.length>0?mm(s,Ee.slice(0,-1)).value:void 0,D=mm(s,Ee);await b(D.value,D.context,A,x+1,Ee,Te)}await h("onAfterNodeProcess",y,C);return}const[Y,W=""]=R.split("#",2),pe=N0t($??O,Y),ee=M0t(pe,f),ae=await p(ee),de=n.has(ee);
2460de||n.set(ee,v9(pe,r)),await h("onResolveStart",y);const ue=await n.get(ee);if(ue.ok){de||(j||s8(ue.data,[hS.externalDocuments,ae]),await b(ue.data,j?O:pe,j,x+1,[t.externalDocumentsKey,ae,s[t.externalDocumentsMappingsKey]]),i8(s,`/${t.externalDocumentsMappingsKey}/${sv(ae)}`,ee)),t.treeShake===!0?l8(s,{[t.externalDocumentsKey]:{[ae]:ue.data}},o8(`#${W}`,[t.externalDocumentsKey,ae]).substring(1),t.externalDocumentsKey,ae):de||i8(s,`/${t.externalDocumentsKey}/${ae}`,ue.data),y.$ref=o8(`#${W}`,[t.externalDocumentsKey,ae]),await h("onResolveSuccess",y),await h("onAfterNodeProcess",y,C);return}return await h("onResolveError",y),await h("onAfterNodeProcess",y,C),console.warn(`Failed to resolve external reference "${pe}". The reference may be invalid, inaccessible, or missing a loader for this type of reference.`)}for(const R in y)R===t.externalDocumentsKey||R===t.externalDocumentsMappingsKey||await b(y[R],$??O,A,x+1,[...T,R],y);await h("onAfterNodeProcess",y,C)};return await b(o),!t.urlMap&&!c&&delete s[t.externalDocumentsMappingsKey],o}function U0t(e){let t=0;const n=new PZ,r=()=>{if(n.isEmpty()||t>=e)return;const i=n.dequeue();i&&i()};return async i=>{t>=e&&await new Promise(o=>n.enqueue(o)),t++;try{return await i()}finally{t--,r()}}}const j0t=e=>e.startsWith("\uFEFF")?e.slice(1):e;function Q0t(e){if(e!==null){if(typeof e=="string"){const t=j0t(e);if(t.trim()==="")return;try{return JSON.parse(t)}catch{const n=/^[^:]+:/.test(t),r=t.slice(0,50).trimStart(),a=r.startsWith("{")||r.startsWith("[");return!n||a?void 0:g5(t,{maxAliasCount:1e4,merge:!0})}}return e}}const F0t=e=>{try{return new URL(e).host}catch{return null}};async function z0t(e,t,n){try{const r=F0t(e),a=n?.headers?.find(l=>l.domains.find(c=>c===r)!==void 0)?.headers,i=n?.fetch??fetch,o=await t(()=>i(e,{headers:a}));if(o.ok){const l=await o.text();return{ok:!0,data:Q0t(l),raw:l}}const s=o.headers.get("Content-Type")??"";return["text/html","application/xml"].includes(s)&&console.warn(`[WARN] We only support JSON/YAML formats, received ${s}`),console.warn(`[WARN] Fetch failed with status ${o.status} ${o.statusText} for URL: ${e}`),{ok:!1}}catch{return console.warn(`[WARN] Failed to parse JSON/YAML from URL: ${e}`),{ok:!1}}}function c8(e){const t=e?.limit?U0t(e.limit):n=>n();return{type:"loader",validate:Al,exec:n=>z0t(n,t,e)}}class gg extends Error{constructor(t){super(t),this.name="InvalidChangesDetectedError"}}const V0t=(e,t)=>{const n=(r,a,i,o=0)=>{if(a[o]===void 0)throw new gg(`Process aborted. Path ${a.join(".")} at depth ${o} is undefined, check diff object`);if(o>=a.length-1){i.type==="add"||i.type==="update"?r[a[o]]=i.changes:Array.isArray(r)?r.splice(Number.parseInt(a[o]),1):delete r[a[o]];return}if(r[a[o]]===void 0||typeof r[a[o]]!="object")throw new gg("Process aborted, check diff object");n(r[a[o]],a,i,o+1)};for(const r of t){if(r.path.length===0)throw new gg("Process aborted. Root-level replacement is not supported, the change targets the document itself instead of a property inside it");const a=r.path.find(Sy);if(a!==void 0)throw new gg(`Process aborted. Path ${r.path.join(".")} contains the unsafe segment "${a}", which can modify the prototype chain`)}for(const r of t)n(e,r.path,r);return e},mS=(e,t)=>{const n=[],r=(a,i,o=[])=>{if(typeof a!=typeof i){if(typeof a>"u"){n.push({path:o,changes:i,type:"add"});return}if(typeof i>"u"){n.push({path:o,changes:a,type:"delete"});return}n.push({path:o,changes:i,type:"update"});return}if(typeof a=="object"&&typeof i=="object"&&a!==null&&i!==null){if(Array.isArray(a)!==Array.isArray(i)){n.push({path:o,changes:i,type:"update"});return}const s=[...new Set([...Object.keys(a),...Object.keys(i)])].filter(c=>!Sy(c)),l=Array.isArray(a)&&Array.isArray(i)&&a.length>=i.length?s.reverse():s;for(const c of l)r(a[c],i[c],[...o,c]);return}a!==i&&n.push({path:o,changes:i,type:"update"})};return r(e,t),n};class O9{value;children=Object.create(null);constructor(t){this.value=t}}class H0t{root;constructor(){this.root=new O9(null)}addPath(t,n){let r=this.root;for(const a of t)r.children[a]||(r.children[a]=new O9(null)),r=r.children[a];r.value=n}
2460findMatch(t,n){let r=this.root;for(const i of t){r.value!==null&&n(r.value);const o=r.children[i];if(!o)return;r=o}const a=i=>{for(const o of Object.keys(i?.children??{}))i&&Object.hasOwn(i.children,o)&&a(i?.children[o]);i?.value&&n(i.value)};a(r)}}const FZ=(e,t)=>{if(typeof e!=typeof t)return!0;if(typeof e=="object"&&typeof t=="object"&&e!==null&&t!==null){if(Array.isArray(e)!==Array.isArray(t))return!0;const n=new Set([...Object.keys(e),...Object.keys(t)]);for(const r of n)if(!Sy(r)&&e[r]!==void 0&&t[r]!==void 0&&FZ(e[r],t[r]))return!0;return!1}return e!==t},zZ=(e,t)=>{for(const n in t)if(!Sy(n))if(!(n in e))e[n]=t[n];else{const r=e[n],a=t[n];typeof r=="object"&&r!==null&&typeof a=="object"&&a!==null&&(e[n]=zZ(r,a))}return e},q0t=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<=e.length;++n)if(e[n]!==t[n])return!1;return!0},Z0t=(e,t)=>{const n=new H0t;for(const[c,u]of e.entries())n.addPath(u.path,{index:c,changes:u});const r=new Set,a=new Set,i=new Map,o=new Map;for(const[c,u]of t.entries())n.findMatch(u.path,d=>{if(u.type==="delete")if(d.changes.type==="delete")d.changes.path.length>u.path.length?r.add(d.index):a.add(c);else{r.add(d.index),a.add(c);const f=o.get(c);f!==void 0?f[0].push(d.changes):o.set(c,[[d.changes],[u]])}if(u.type==="add"||u.type==="update"){if(q0t(u.path,d.changes.path)&&d.changes.type!=="delete"&&!FZ(u.changes,d.changes.changes)){r.add(d.index),typeof u.changes=="object"&&zZ(u.changes,d.changes.changes);return}r.add(d.index),a.add(c);const f=i.get(d.index);f!==void 0?f[1].push(u):i.set(d.index,[[d.changes],[u]])}});const s=[...i.values(),...o.values()];return{diffs:[...e.filter((c,u)=>!r.has(u)),...t.filter((c,u)=>!a.has(u))],conflicts:s}};function Fu(e,t,n=[]){const r={};for(const[a,i]of Object.entries(e)){const o=[...n,a];if(Array.isArray(i)){r[a]=i.map((s,l)=>typeof s=="object"&&!Array.isArray(s)&&s!==null?Fu(s,t,[...o,l.toString()]):s);continue}if(typeof i=="object"&&i!==null){r[a]=Fu(i,t,o);continue}r[a]=i}return t(r,n)}const lc="application/json";function VZ(e){const t=e["x-example"],n=e["x-examples"];return delete e["x-example"],delete e["x-examples"],{xExample:t,xExamples:n}}function zu(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&Object.keys(e).length>0}function X0t(e){return zu(e)&&Object.values(e).every(t=>typeof t=="object"&&t!==null&&!Array.isArray(t))}function W0t(e){if(typeof e!="object"||e===null)return!0;const t=e,n=["enum","const","not","format","multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","maxProperties","minProperties","required"];return!(t.allOf||t.oneOf||t.anyOf||t.items||t.$ref||"additionalProperties"in t||n.some(r=>r in t)||typeof t.properties=="object"&&t.properties!==null&&Object.keys(t.properties).length>0)}function S9(e){const t=Object.keys(e);if(t.some(r=>{const a=e[r];return a?.example!==void 0||a?.examples!==void 0}))for(const r of t){const a=e[r];if(!a)continue;const i=a.example!==void 0||a.examples!==void 0;a.schema!==void 0&&!i&&Object.keys(a).length===1&&W0t(a.schema)&&delete e[r]}}const Y0t=new Set(["summary","description","value","externalValue"]);function HZ(e){if(typeof e!="object"||e===null)return!1;const t=e,n="value"in t||"externalValue"in t,r=Object.keys(t).every(a=>Y0t.has(a));return n&&r}function Lf(e){return HZ(e)?e:{value:e}}const G0t=/^[a-zA-Z0-9*+.-]+\/[a-zA-Z0-9*+.+-]+$/;function u8(e){return G0t.test(e)}function K0t(e){return Object.entries(e).reduce((t,[n,r])=>(t[n]={value:r},t),{})}const J0t=e=>{switch(e){case"application":return"clientCredentials";case"accessCode":return"authorizationCode";case"implicit":return"implicit";case"password":return"password";default:return e}};function e1t(e){let t=e;if(t!==null&&typeof t=="object"&&typeof t.swagger=="string"&&t.swagger?.startsWith("2.0"))t.openapi="3.0.4",delete t.swagger;else return t;if(t.host){const n=Array.isArray(t.schemes)&&t.schemes?.length?t.schemes:["http"];t.servers=n.map(r=>({url:`${r}://${t.host}${t.basePath??""}`})),delete t.basePath,delete t.schemes,delete t.host}else t.basePath&&(t.servers=[{url:t.basePath}],delete t.basePath);if(t.definitions&&(t.components=Object.assign({},t.components,{schemas:t.definitions}),delete t.definitions,t=Fu(t,n=>(typeof n.$ref=="string"&&n.$ref.startsWith("#/definitions/")&&(n.$ref=n.$ref.replace(/^#\/definitions\//,"#/components/schemas/")),n))),t=Fu(t,n=>(n.type==="file"&&(n.type="string",n.format="binary"),n)),Object.hasOwn(t,"parameters")){t=Fu(t,i=>{if(typeof i.$ref=="string"&&i.$ref.startsWith("#/parameters/")){const o=i.$ref.split("/")[2];if(!o)return i;const s=t.parameters&&typeof t.parameters=="object"&&o in t.parameters?t.parameters[o]:void 0;
2460s&&typeof s=="object"&&"in"in s&&(s.in==="body"||s.in==="formData")?i.$ref=i.$ref.replace(/^#\/parameters\//,"#/components/requestBodies/"):i.$ref=i.$ref.replace(/^#\/parameters\//,"#/components/parameters/")}return i}),t.components??={};const n={},r={},a=t.parameters&&typeof t.parameters=="object"?t.parameters:{};for(const[i,o]of Object.entries(a))if(o&&typeof o=="object"){if("$ref"in o){const s=d8(o);n[i]=s}else if("in"in o)if(o.in==="body")r[i]=ZZ(o,t.consumes??[lc]);else if(o.in==="formData")r[i]=XZ([o],t.consumes);else{const s=d8(o);n[i]=s}}Object.keys(n).length>0&&(t.components.parameters=n),Object.keys(r).length>0&&(t.components.requestBodies=r),delete t.parameters}if(Object.hasOwn(t,"responses")&&typeof t.responses=="object"&&t.responses!==null){t=Fu(t,a=>(typeof a.$ref=="string"&&a.$ref.startsWith("#/responses/")&&(a.$ref=a.$ref.replace(/^#\/responses\//,"#/components/responses/")),a)),t.components??={};const n={},r=t.responses;for(const[a,i]of Object.entries(r))if(i&&typeof i=="object")if("$ref"in i)n[a]=i;else{const o=i,s=t.produces??[lc];if(o.schema){typeof o.content!="object"&&(o.content={});for(const l of s)o.content[l]={schema:o.schema};delete o.schema}if(o.examples&&typeof o.examples=="object"){typeof o.content!="object"&&(o.content={});const l=s[0]??lc;for(const[c,u]of Object.entries(o.examples))if(u8(c))typeof o.content[c]!="object"&&(o.content[c]={}),o.content[c].example=u;else{typeof o.content[l]!="object"&&(o.content[l]={});const d=o.content[l];typeof d.examples!="object"&&(d.examples={}),d.examples[c]=Lf(u)}delete o.examples}o.content&&typeof o.content=="object"&&S9(o.content),o.headers&&typeof o.headers=="object"&&(o.headers=Object.entries(o.headers).reduce((l,[c,u])=>u&&typeof u=="object"?{[c]:w9(u),...l}:l,{})),n[a]=o}Object.keys(n).length>0&&(t.components.responses=n),delete t.responses}if(typeof t.paths=="object"){for(const n in t.paths)if(Object.hasOwn(t.paths,n)){const r=t.paths&&typeof t.paths=="object"&&n in t.paths?t.paths[n]:void 0;if(!r||typeof r!="object")continue;let a;for(const i in r)if(i==="parameters"&&Object.hasOwn(r,i)){const o=k9(r.parameters,t.consumes??[lc]);r.parameters=o.parameters,a=o.requestBody}else if(Object.hasOwn(r,i)){const o=r[i];if(a&&(o.requestBody=a),o.parameters){const s=k9(o.parameters,o.consumes??t.consumes??[lc]);o.parameters=s.parameters,s.requestBody&&(o.requestBody=s.requestBody)}if(delete o.consumes,o.responses){for(const s in o.responses)if(Object.hasOwn(o.responses,s)){const l=o.responses[s];if(l.headers&&typeof l.headers=="object"&&(l.headers=Object.entries(l.headers).reduce((c,[u,d])=>d&&typeof d=="object"?{[u]:w9(d),...c}:c,{})),l.schema){const c=t.produces??o.produces??[lc];typeof l.content!="object"&&(l.content={});for(const u of c)l.content[u]={schema:l.schema};delete l.schema}if(l.examples&&typeof l.examples=="object"){typeof l.content!="object"&&(l.content={});const u=(t.produces??o.produces??[lc])[0]??lc;for(const[d,f]of Object.entries(l.examples))if(u8(d))typeof l.content[d]!="object"&&(l.content[d]={}),l.content[d].example=f;else{typeof l.content[u]!="object"&&(l.content[u]={});const p=l.content[u];typeof p.examples!="object"&&(p.examples={}),p.examples[d]=Lf(f)}delete l.examples}l.content&&typeof l.content=="object"&&S9(l.content)}}delete o.produces,o.parameters?.length===0&&delete o.parameters}}}if(t.securityDefinitions){(typeof t.components!="object"||t.components===null)&&(t.components={}),t.components&&typeof t.components=="object"&&Object.assign(t.components,{securitySchemes:{}});for(const[n,r]of Object.entries(t.securityDefinitions))if(typeof r=="object")if("type"in r&&r.type==="oauth2"){const{flow:a,authorizationUrl:i,tokenUrl:o,scopes:s}=r;t.components&&typeof t.components=="object"&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[n]:{type:"oauth2",flows:{[J0t(a||"implicit")]:Object.assign({},i&&{authorizationUrl:i},o&&{tokenUrl:o},s&&{scopes:s})}}})}else"type"in r&&r.type==="basic"?t.components&&typeof t.components=="object"&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[n]:{type:"http",scheme:"basic"}}):t.components&&typeof t.components=="object"&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[n]:r});delete t.securityDefinitions}return delete t.consumes,delete t.produces,t}function lk(e){return["type","format","default","items","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf"].reduce((n,r)=>(Object.hasOwn(e,r)&&(n[r]=e[r],delete e[r]),n),{})}function t1t(e){if(e==="formData")throw new Error("Encountered a formData parameter which should have been filtered out by the caller");if(e==="body")throw new Error("Encountered a body parameter which should have been filtered out by the caller");return e}function d8(e){if(Object.hasOwn(e,"$ref")&&typeof e.$ref=="string")return{$ref:e.$ref};const t=n1t(e),n=lk(e),{xExample:r,xExamples:a}=VZ(e);
2460if(zu(r)?e.examples=K0t(r):zu(a)&&(e.examples=Object.entries(a).reduce((i,[o,s])=>(i[o]=Lf(s),i),{})),delete e.collectionFormat,delete e.default,!e.in)throw new Error('Parameter object must have an "in" property');return{schema:n,...t,...e,in:t1t(e.in)}}function w9(e){if(Object.hasOwn(e,"$ref")&&typeof e.$ref=="string")return{$ref:e.$ref};const t=lk(e);return{...e,schema:t}}const qZ={ssv:{style:"spaceDelimited",explode:!1},pipes:{style:"pipeDelimited",explode:!1},multi:{style:"form",explode:!0},csv:{style:"form",explode:!1},tsv:{}},x9={ssv:{},pipes:{},multi:{},csv:{style:"simple",explode:!1},tsv:{}},gS={header:x9,query:qZ,path:x9};function n1t(e){if(e.type!=="array"||!(e.in==="query"||e.in==="path"||e.in==="header"))return{};const t=e.collectionFormat??"csv";return e.in in gS&&t in gS[e.in]?gS[e.in][t]:{}}function r1t(e){if(e.type!=="array"||typeof e.collectionFormat!="string")return;const t=qZ[e.collectionFormat];if(!(!t||Object.keys(t).length===0))return t}function ZZ(e,t){const{xExample:n,xExamples:r}=VZ(e);delete e.name,delete e.in;const{schema:a,...i}=e,o={content:{},...i};if(o.content)for(const s of t){if(o.content[s]={schema:a},zu(r)&&s in r){const l=r[s];zu(l)&&Object.values(l).every(u=>HZ(u))?o.content[s].examples=l:X0t(l)?o.content[s].examples=Object.entries(l).reduce((u,[d,f])=>(u[d]=Lf(f),u),{}):o.content[s].examples={default:Lf(l)}}else zu(r)&&!Object.keys(r).some(u8)&&(o.content[s].examples=Object.entries(r).reduce((l,[c,u])=>(l[c]=Lf(u),l),{}));!o.content[s].examples&&zu(n)&&s in n&&(o.content[s].example=n[s])}return o}function XZ(e,t=["multipart/form-data"]){const n={content:{}},r=t.filter(i=>i==="multipart/form-data"||i==="application/x-www-form-urlencoded"),a=r.length>0?r:["multipart/form-data"];if(n.content)for(const i of a){n.content[i]={schema:{type:"object",properties:{},required:[]}};const o=n.content?.[i];if(o?.schema&&typeof o.schema=="object"&&"properties"in o.schema){for(const s of e)if(s.name&&o.schema.properties){o.schema.properties[s.name]={...lk(structuredClone(s)),...s.description!==void 0?{description:s.description}:{}};const l=r1t(s);l&&(o.encoding??={},o.encoding[s.name]=l),s.required&&Array.isArray(o.schema.required)&&o.schema.required.push(s.name)}}}return n}function k9(e,t){const n={parameters:e.filter(i=>!(i.in==="body"||i.in==="formData")).map(i=>d8(i))},r=structuredClone(e.find(i=>i.in==="body")??{});r&&Object.keys(r).length&&(n.requestBody=ZZ(r,t));const a=e.filter(i=>i.in==="formData");if(a.length>0){const i=XZ(a,t);typeof n.requestBody!="object"?n.requestBody=i:n.requestBody={...n.requestBody,content:{...n.requestBody.content,...i.content}},typeof n.requestBody!="object"&&(n.requestBody={content:{}})}return n}const a1t=new Set(["properties","items","allOf","anyOf","oneOf","not","additionalProperties","schema"]);function i1t(e){return e?!!(e.some(t=>a1t.has(t))||e.some(t=>t.endsWith("Schema"))||e.length>=2&&e[0]==="components"&&e[1]==="schemas"):!1}const o1t=new Set(["properties","patternProperties","$defs","definitions"]);function Cb(e){const t=e?.[e.length-1];return t===void 0?!1:t==="schemas"&&e?.[e.length-2]==="components"?!0:o1t.has(t)}const s1t=new Set(["example","default","const","enum"]);function l1t(e){if(!e)return!1;for(const[t,n]of e.entries())if(s1t.has(n)&&!Cb(e.slice(0,t))||n==="value"&&e[t-2]==="examples"&&!Cb(e.slice(0,t-2)))return!0;return!1}function c1t(e){let t=e;return t===null||typeof t.openapi!="string"||!t.openapi.startsWith("3.0")||(t.openapi="3.1.1",t=Fu(t,u1t)),t}const u1t=(e,t)=>{if(l1t(t))return e;if(e.type!==void 0&&e.nullable===!0)e.type=[e.type,"null"],delete e.nullable;else if(e.nullable===!0&&e.type===void 0){if(typeof e.$ref=="string"){const{nullable:i,$ref:o,...s}=e;return{...s,anyOf:[{$ref:o},{type:"null"}]}}if(Array.isArray(e.allOf)){const{nullable:i,allOf:o,...s}=e,l=o.length===1?o[0]:{allOf:o};return{...s,anyOf:[l,{type:"null"}]}}}e.exclusiveMinimum===!0?(e.exclusiveMinimum=e.minimum,delete e.minimum):e.exclusiveMinimum===!1&&delete e.exclusiveMinimum,e.exclusiveMaximum===!0?(e.exclusiveMaximum=e.maximum,delete e.maximum):e.exclusiveMaximum===!1&&delete e.exclusiveMaximum;const n=t?.some((i,o)=>i==="examples"&&o>0?!Cb(t.slice(0,o)):!1);if(e.example!==void 0&&!n&&!Cb(t)&&(i1t(t)?e.examples=[e.example]:e.examples={default:{value:e.example}},delete e.example),e.type==="object"&&e.properties!==void 0&&t?.slice(0,-1)?.some((s,l)=>s==="content"&&t?.[l+1]==="multipart/form-data")&&e.properties!==null)for(const s of Object.values(e.properties))typeof s=="object"&&s!==null&&"type"in s&&"format"in s&&s.type==="string"&&s.format==="binary"&&(s.contentMediaType="application/octet-stream",delete s.format);if(t?.includes("content")&&t?.includes("application/octet-stream"))return{};const{format:r,...a}=e;if(e.type==="string"){if(e.format==="binary")return{...a,type:"string",contentMediaType:"application/octet-stream"};if(e.format==="base64")return{...a,type:"string",contentEncoding:"base64"};if(e.format==="byte"){const o=t?.slice(0,-1)?.find((s,l)=>t?.[l-1]==="content");return{...a,type:"string",contentEncoding:"base64",contentMediaType:o}}}return e["x-webhooks"]!==void 0&&(t===void 0||t.length===0)&&(e.webhooks=e["x-webhooks"],delete e["x-webhooks"]),e};function d1t(e,t){const n=e1t(e);return c1t(n)}const A9="```",f1t=(e,t)=>
2460`${A9}${e} 2461${t.trimEnd()} 2462${A9}`,p1t=(e,t)=>`@example 2463${f1t(e,t)}`,h1t=e=>`\`${e}\``,m1t=(...e)=>e.join(` 2464 2465`),Hr=(e,t)=>m1t(e,p1t(t.language,t.body)),g1t=ne({"x-internal":_(Ke({typeComment:"When true, hides the entity from public documentation"}))},{typeName:"XInternal",typeComment:Hr("Marks an entity as internal (hidden from external consumers).",{language:"yaml",body:"x-internal: true"})}),b1t=ne({"x-original-aas-version":_(M({typeComment:"Original AsyncAPI Specification version the document was loaded with."}))},{typeName:"XOriginalAasVersion",typeComment:Hr("Original AsyncAPI Specification version of the source document before ingestion.",{language:"yaml",body:'x-original-aas-version: "3.0.0"'})});ne({"x-original-oas-version":_(M({typeComment:"Original OpenAPI Specification version of the source document."}))},{typeName:"XOriginalOasVersion",typeComment:Hr("Original OpenAPI Specification version of the source document before ingestion.",{language:"yaml",body:'x-original-oas-version: "3.1.0"'})});const y1t=ne({name:M({typeComment:"Variable name"}),value:xt([ne({description:_(M()),default:M()}),M()],{typeComment:"Variable value as a string, or an object with description and default"})},{typeName:"XScalarEnvVar",typeComment:"An environment variable definition"}),v1t=ne({description:_(M({typeComment:"Optional description for the environment"})),color:M({typeComment:"Color for the environment (for example a hex value)"}),variables:He(y1t,{typeComment:"Variables available in this environment"})},{typeName:"XScalarEnvironment",typeComment:"A named environment with variables and display color"});ne({"x-scalar-environments":_(Fe(M(),v1t,{typeComment:"Environments keyed by name"}))},{typeName:"XScalarEnvironments",typeComment:Hr("Named environments with variables for the API client (base URLs, tokens, etc.).",{language:"yaml",body:`x-scalar-environments: 2466 production: 2467 color: "#00ff00" 2468 variables: 2469 - name: apiKey 2470 value: prod-key`})});ne({"x-scalar-icon":_(M({typeComment:"Icon identifier or URL for the API description"}))},{typeName:"XScalarIcon",typeComment:Hr("A custom icon representing the API description in the Scalar UI.",{language:"yaml",body:"x-scalar-icon: rocket"})});const O1t=ne({"x-scalar-ignore":_(Ke({typeComment:"When true, the entity is hidden or ignored in the UI"}))},{typeName:"XScalarIgnore",typeComment:Hr("Internal extension to mark an entity as ignored in the Scalar UI.",{language:"yaml",body:"x-scalar-ignore: true"})}),S1t=ne({"x-scalar-is-dirty":_(Ke({typeComment:"When true, the document has unsaved changes"}))},{typeName:"XScalarIsDirty",typeComment:Hr("Tracks whether the document has been modified since it was last saved.",{language:"yaml",body:"x-scalar-is-dirty: true"})}),w1t=ne({name:M({typeComment:"The label to display for the link."}),url:M({typeComment:"The URL the link points to."})},{typeName:"XScalarLinkItem",typeComment:"A named link to display alongside the API info"});ne({"x-scalar-links":_(He(w1t,{typeComment:"Additional named links to display alongside the API info (e.g. privacy policy, imprint)"}))},{typeName:"XScalarLinks",typeComment:Hr("Additional named links to display alongside the API info, for example a privacy policy or an imprint. This is handy for the legal texts that some countries require on public websites.",{language:"yaml",body:`x-scalar-links: 2471 - name: Privacy Policy 2472 url: https://example.com/privacy 2473 - name: Imprint 2474 url: https://example.com/imprint`})});const x1t=ne({"x-scalar-navigation":_(Gn({typeComment:"Serialized client navigation tree (`TraversedDocument`) for this API description"}))},{typeName:"XScalarNavigation",typeComment:"Client-side navigation tree persisted on the document. Matches `TraversedDocumentObjectRef` in strict OpenAPI schemas."}),k1t=ne({"x-scalar-original-document-hash":M({typeComment:"Hash of the document as originally loaded from an external source"})},{typeName:"XScalarOriginalDocumentHash",typeComment:Hr("Tracks the original document hash when loading from an external source. Used to detect modifications since last save.",{language:"yaml",body:'x-scalar-original-document-hash: "abc123"'})}),A1t=ne({"x-scalar-original-source-url":_(M({typeComment:"Original document source URL when loaded from an external source"}))},{typeName:"XScalarOriginalSourceUrl",typeComment:Hr("Original document source URL when the API description was loaded from an external source.",{language:"yaml",body:"x-scalar-original-source-url: https://example.com/openapi.yaml"})}),T1t=ne({namespace:M({typeComment:"The namespace under which this registry meta is scoped."}),slug:M({typeComment:"A unique slug identifier for this registry meta within the namespace."}),version:M({typeComment:"The version of the registry meta."}),commitHash:_(M({typeComment:"Last known commit hash of this document. Is going to be used to track if the document has been modified since it was last saved."})),conflictCheckedAgainstHash:_(M({typeComment:"Registry commit hash that the cached `hasConflict` flag was computed against. When the registry advertises a different hash later, the cached result is stale and the conflict check must be re-run."})),hasConflict:_(Ke({typeComment:"Cached outcome of the last conflict check, valid only while `conflictCheckedAgainstHash` matches the registry current hash for this version."}))},{typeName:"XScalarRegistryMetaInner",typeComment:"Registry meta namespace and slug"}),E1t=ne({"x-scalar-registry-meta":_(T1t)},{typeName:"XScalarRegistryMeta",typeComment:Hr("Registry sync metadata for a document published to Scalar Registry.",{language:"yaml",body:`x-scalar-registry-meta: 2475 namespace: acme 2476 slug: public-api 2477 version: "1.0.0"`})}),_1t=ne({lang:M({typeComment:"Programming language or platform (for example `TypeScript`, `Java`, `Python`)"}),description:_(M({typeComment:"Installation instructions in Markdown (supports fenced code blocks)"})),source:_(M({typeComment:"@deprecated Use `description` instead. When set, it is appended to `description` as a fenced code block (or used on its own when there is no `description`)."}))},{typeName:"XScalarSdkInstallationItem",typeComment:"One SDK installation instruction block"});ne({"x-scalar-sdk-installation":_(He(_1t,{typeComment:"Installation instructions shown in the API reference"}))},{typeName:"XScalarSdkInstallation",typeComment:Hr("Scalar SDK installation instructions for the API description.",{language:"yaml",body:"x-scalar-sdk-installation:\n - lang: TypeScript\n description: Install our SDK from npm with `npm install @scalar/sdk`"})});const C1t=ne({"x-scalar-watch-mode":_(Ke({typeComment:"When true, the document is
2477watched for external file changes"}))},{typeName:"XScalarWatchMode",typeComment:Hr("Whether the document is in watch mode (reloads when the source file changes).",{language:"yaml",body:"x-scalar-watch-mode: true"})}),$1t=ne({"x-tags":_(He(M(),{typeComment:"Ordered list of tag names for this schema object"}))},{typeName:"XTags",typeComment:Hr("Custom tag ordering hints for schema objects in the sidebar.",{language:"yaml",body:`x-tags: 2478 - users 2479 - admin`})}),P1t=ne({"x-scalar-selected-server":_(M({typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}))},{typeName:"XScalarSelectedServer",typeComment:Hr("The currently selected server for this API description. For OpenAPI documents the value is the server URL; for AsyncAPI documents the value is the server name (key in `document.servers`).",{language:"yaml",body:"x-scalar-selected-server: https://api.example.com"})}),I1t=ne({"x-additionalPropertiesName":_(M({typeComment:"Human-readable label for additional properties on this schema"}))},{typeName:"XAdditionalPropertiesName",typeComment:Hr("Display name for additional properties on a schema object.",{language:"yaml",body:"x-additionalPropertiesName: metadata"})}),T9=xt([Fe(M(),M()),He(M())]),N1t=ne({"x-enumDescriptions":_(T9,{typeComment:"Map or list of descriptions keyed by enum value (camelCase spelling)"}),"x-enum-descriptions":_(T9,{typeComment:"Map or list of descriptions keyed by enum value (kebab-case spelling)"})},{typeName:"XEnumDescriptions",typeComment:Hr("Descriptions for enum values. Keys must match enum values.",{language:"yaml",body:`x-enumDescriptions: 2480 other: Other reason`})}),R1t=ne({"x-enum-varnames":_(He(M(),{typeComment:"Display names for enum values (same order as `enum`)"})),"x-enumNames":_(He(M(),{typeComment:"Alias for x-enum-varnames â display names for enum values"}))},{typeName:"XEnumVarNames",typeComment:Hr(`Display names for enum values. Must match the order of the ${h1t("enum")} array.`,{language:"yaml",body:`enum: [moon, asteroid] 2481x-enum-varnames: [Moon, Asteroid]`})}),M1t=ne({"x-examples":_(Fe(M(),Gn(),{typeComment:"Map of example name to example value"}))},{typeName:"XExamples",typeComment:Hr("Named examples attached to a schema. Keys are example names; values are the example payloads.",{language:"yaml",body:`x-examples: 2482 user: 2483 id: 1 2484 name: Ada`})}),L1t=ne({"x-variable":_(M({typeComment:"Variable name used for substitution in the API client"}))},{typeName:"XVariable",typeComment:Hr("References a variable for schema property substitution in the API client.",{language:"yaml",body:"x-variable: userId"})}),D1t=ne({propertyName:M({typeComment:"REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined."}),mapping:_(Fe(M(),M(),{typeComment:"An object to hold mappings between payload values and schema names or URI references."}))},{typeName:"DiscriminatorObject"}),B1t=ne({url:M({typeComment:"REQUIRED. The URI for the target documentation. This MUST be in the form of a URI."}),description:_(M({typeComment:"A description of the target documentation. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ExternalDocumentationObject"}),U1t=ne({$status:_(xt([ie("loading"),ie("error")]),{typeComment:"Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed."}),$global:_(Ke({typeComment:"Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context."}))},{typeName:"ReferenceObjectExtensions"}),j1t=ne({$ref:M({typeComment:"REQUIRED. The reference identifier. This MUST be in the form of a URI."}),summary:_(M({typeComment:"A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect."})),description:_(M({typeComment:"A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect."}))},{typeName:"ReferenceObject"}),Zo=e=>xt([j1t,e]),Q1t=ne({name:_(M({typeComment:'Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being "array" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored.'})),namespace:_(M({typeComment:"The URI of the namespace definition. Value MUST be in the form of a non-relative URI."})),prefix:_(M({typeComment:"The prefix to be used for the name."})),attribute:_(Ke({typeComment:"Declares whether the property definition translates to an attribute instead of an element. Default value is false."})),wrapped:_(Ke({typeComment:'MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>
2484) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items).'}))},{typeName:"XMLObject"}),F1t=[O1t,g1t,L1t,M1t,N1t,R1t,I1t,$1t],z1t=ne({name:_(M({typeComment:"Schema name (extension)."})),title:_(M({typeComment:"A title for the schema."})),description:_(M({typeComment:"A description of the schema."})),default:_(Gn({typeComment:"Default value for the schema."})),enum:_(He(Gn(),{typeComment:"Array of allowed values.",typeName:"JsonSchemaEnum"})),const:_(Gn({typeComment:"Constant value that must match exactly."})),contentMediaType:_(M({typeComment:"Media type for content validation."})),contentEncoding:_(M({typeComment:"Content encoding."})),contentSchema:_(Zo(lt(()=>po))),deprecated:_(Ke({typeComment:"Whether the schema is deprecated."})),discriminator:_(D1t),readOnly:_(Ke({typeComment:"Whether the schema is read-only."})),writeOnly:_(Ke({typeComment:"Whether the schema is write-only."})),xml:_(Q1t),externalDocs:_(B1t),example:_(Gn({typeComment:"A free-form field to include an example of an instance for this schema. Deprecated
2484in favor of the JSON Schema examples keyword."})),examples:_(He(Gn(),{typeComment:"An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.",typeName:"SchemaExamplesArray"})),allOf:_(He(Zo(lt(()=>po)),{typeName:"SchemaObjectAllOf"})),oneOf:_(He(Zo(lt(()=>po)),{typeName:"SchemaObjectOneOf"})),anyOf:_(He(Zo(lt(()=>po)),{typeName:"SchemaObjectAnyOf"})),not:_(Zo(lt(()=>po)))}),WZ=ne({multipleOf:_(mr({typeComment:"Number must be a multiple of this value."})),maximum:_(mr({typeComment:"Maximum value (inclusive)."})),exclusiveMaximum:_(mr({typeComment:"Maximum value (exclusive)."})),minimum:_(mr({typeComment:"Minimum value (inclusive)."})),exclusiveMinimum:_(mr({typeComment:"Minimum value (exclusive)."}))}),V1t=wn([ne({type:xt([ie("number"),ie("integer")]),format:_(M({typeComment:"Different subtypes."}))}),WZ],{typeName:"NumberSchemaObject"}),YZ=ne({maxLength:_(mr({typeComment:"Maximum string length."})),minLength:_(mr({typeComment:"Minimum string length."})),pattern:_(M({typeComment:"Regular expression pattern."}))}),H1t=wn([ne({type:ie("string"),format:_(M({typeComment:"Different subtypes."}))}),YZ],{typeName:"StringSchemaObject"}),GZ=ne({maxProperties:_(mr({typeComment:"Maximum number of properties."})),minProperties:_(mr({typeComment:"Minimum number of properties."})),properties:_(Fe(M(),Zo(lt(()=>po)),{typeName:"SchemaObjectProperties"})),required:_(He(M(),{typeName:"SchemaObjectRequired"})),additionalProperties:_(xt([Zo(lt(()=>po)),ne({}),Ke()],{typeName:"SchemaObjectAdditionalProperties"})),patternProperties:_(Fe(M(),Zo(lt(()=>po)),{typeName:"SchemaObjectPatternProperties"})),propertyNames:_(Zo(lt(()=>po)))}),q1t=wn([ne({type:ie("object")}),GZ],{typeName:"ObjectSchemaObject"}),KZ=ne({maxItems:_(mr({typeComment:"Maximum number of items in array."})),minItems:_(mr({typeComment:"Minimum number of items in array."})),uniqueItems:_(Ke({typeComment:"Whether array items must be unique."})),items:_(Zo(lt(()=>po))),prefixItems:_(He(Zo(lt(()=>po)),{typeComment:"Schema for tuple validation."}))}),Z1t=wn([ne({type:ie("array")}),KZ],{typeName:"ArraySchemaObject"}),X1t=xt([ie("null"),ie("boolean"),ie("string"),ie("number"),ie("integer"),ie("object"),ie("array")],{typeName:"SchemaObjectMultiTypeKeywords"}),W1t=ne({type:xt([ie("null"),ie("boolean")],{typeName:"SchemaObjectOtherTypeKeyword"})}),Y1t=wn([ne({type:He(X1t,{typeName:"SchemaObjectMultiTypeKeywordArray"}),format:_(M({typeComment:"Different subtypes."}))}),WZ,YZ,KZ,GZ],{typeName:"MultiTypeSchemaObject"}),po=wn([z1t,...F1t,xt([W1t,V1t,H1t,q1t,Z1t,Y1t,ne({})])],{typeName:"SchemaObject"}),G1t=ne({$ref:M({typeComment:"REQUIRED. The reference string."})},{typeName:"AsyncApiReferenceObject",typeComment:"JSON Reference for AsyncAPI components."}),JZ=e=>Ge(e)&&"$ref"in e?JZ(e["$ref-value"]):e,gp=e=>wn([G1t,ne({"$ref-value":_(mI(JZ,e))}),U1t]),dn=e=>xt([e,gp(e)]),K1t=ne({schemaFormat:_(M({typeComment:"Media type identifying the schema format. When omitted, defaults to the AsyncAPI JSON Schema vocabulary for the document version."})),schema:Il({typeComment:"REQUIRED. Schema definition in the format given by schemaFormat."})},{typeName:"AsyncApiMultiFormatSchemaObject"}),eX=xt([ie(!0),ie(!1),po],{typeName:"AsyncApiSchemaJsonShape"}),E9=dn(eX),$b=dn(xt([K1t,eX],{typeName:"AsyncApiMultiFormatSchemaOrSchemaObject"})),J1t=ne({method:_(xt([ie("GET"),ie("POST")],{typeComment:"HTTP method used when establishing the WebSocket connection (typically GET)."})),query:_(E9,{typeComment:"Schema Object describing WebSocket handshake query parameters (type object with properties). May be a Reference Object."}),headers:_(E9,{typeComment:"Schema Object describing HTTP headers sent during the WebSocket handshake (type object with properties). May be a Reference Object."}),bindingVersion:_(M({typeComment:'Version of the WebSocket binding. When omitted, "latest" is assumed per the binding spec.'}))},{typeName:"AsyncApiWsBindingObject",typeComment:"AsyncAPI WebSocket binding for handshake method, query, and headers."}),egt=["http","ws","kafka","anypointmq","amqp","amqp1","mqtt","mqtt5","nats","jms","sns","solace","sqs","stomp","redis","mercure","ibmmq","googlepubsub","pulsar","ros2"],tgt=()=>_(Il({typeComment:"Protocol-specific binding definition (see AsyncAPI protocol bindings)."})),ngt=()=>{const e={};for(const t of egt)e[t]=t==="ws"?_(J1t):tgt();return e},Zv=(e,t)=>ne(ngt(),{typeName:e,typeComment:t}),tX=Zv("AsyncApiServerBindingsObject","Map describing protocol-specific definitions for a server (AsyncAPI 3.1.0)."),nX=Zv("AsyncApiChannelBindingsObject","Map describing protocol-specific definitions for a channel (AsyncAPI 3.1.0)."),ck=Zv("AsyncApiOperationBindingsObject","Map describing protocol-specific definitions for an operation (AsyncAPI 3.1.0)."),uk=Zv("AsyncApiMessageBindingsObject","Map describing protocol-specific definitions for a message (AsyncAPI 3.1.0)."),tc=dn(ne({description:_(M({typeComment:"A short description of the target documentation. CommonMark syntax MAY be used for rich text representation."})),url:M({typeComment:"REQUIRED. The URL for the target documentation. This MUST be in the form of an absolute URL."})},{typeName:"AsyncApiExternalDocumentationObject"})),dk=dn(ne({description:_(M({typeComment:"An optional description of the identifier. CommonMark syntax MAY be used for rich text representation."})),location:M({typeComment:"REQUIRED. A runtime expression that specifies the location of the correlation ID."})},{typeName:"AsyncApiCorrelationIdObject"})),rX=ne({headers:_(Fe(M(),Il(),{typeComment:"Example headers;
2484 MUST validate against the Message Object headers field when present."})),payload:_(Il({typeComment:"Example payload; MUST validate against the Message Object payload field when present."})),name:_(M({typeComment:"A machine-friendly name."})),summary:_(M({typeComment:"A short summary of what the example is about."}))},{typeName:"AsyncApiMessageExampleObject"}),aX=dn(ne({name:M({typeComment:"REQUIRED. The name of the tag."}),description:_(M({typeComment:"A short description for the tag. CommonMark syntax MAY be used for rich text representation."})),externalDocs:_(tc)},{typeName:"AsyncApiTagObject"})),Qd=He(aX,{typeName:"AsyncApiTagsObject",typeComment:"A list of Tag Objects (entries MAY be Reference Objects)."}),iX=dn(ne({headers:_($b),correlationId:_(dk),contentType:_(M({typeComment:"The content type to use when encoding/decoding a message payload (for example application/json)."})),name:_(M({typeComment:"A machine-friendly name for the message."})),title:_(M({typeComment:"A human-friendly title for the message."})),summary:_(M({typeComment:"A short summary of what the message is about."})),description:_(M({typeComment:"A verbose explanation of the message. CommonMark syntax MAY be used for rich text representation."})),tags:_(Qd),externalDocs:_(tc),bindings:_(dn(uk)),examples:_(He(dn(rX)))},{typeName:"AsyncApiMessageTraitObject"})),Xv=lt(()=>dn(ne({headers:_($b),payload:_($b),correlationId:_(dk),contentType:_(M({typeComment:"The content type to use when encoding/decoding a message payload (for example application/json)."})),name:_(M({typeComment:"A machine-friendly name for the message."})),title:_(M({typeComment:"A human-friendly title for the message."})),summary:_(M({typeComment:"A short summary of what the message is about."})),description:_(M({typeComment:"A verbose explanation of the message. CommonMark syntax MAY be used for rich text representation."})),tags:_(Qd),externalDocs:_(tc),bindings:_(dn(uk)),examples:_(He(dn(rX))),traits:_(He(iX))},{typeName:"AsyncApiMessageObject"}))),rgt=Fe(M(),Xv,{typeName:"AsyncApiMessagesObject",typeComment:"Map of messageId to Message Object or Reference Object."}),oX=dn(ne({enum:_(He(M(),{typeComment:"An enumeration of string values for substitution."})),default:_(M({typeComment:"The default value to use for substitution, and to send, if an alternate value is not supplied."})),description:_(M({typeComment:"An optional description for the parameter. CommonMark syntax MAY be used for rich text representation."})),examples:_(He(M(),{typeComment:"Examples of the parameter value."})),location:_(M({typeComment:"A runtime expression that specifies the location of the parameter value."}))},{typeName:"AsyncApiParameterObject"})),agt=Fe(M(),oX,{typeName:"AsyncApiParametersObject",typeComment:"Map of parameter name to Parameter Object or Reference Object."}),bg=ne({authorizationUrl:_(M({typeComment:"REQUIRED for implicit and authorizationCode flows. The authorization URL (absolute URL)."})),tokenUrl:_(M({typeComment:"REQUIRED for password, clientCredentials, and authorizationCode flows. The token URL (absolute URL)."})),refreshUrl:_(M({typeComment:"The URL to be used for obtaining refresh tokens. This MUST be in the form of an absolute URL."})),availableScopes:_(Fe(M(),M(),{typeComment:"REQUIRED for OAuth2 flows. Map of scope name to a short description."}))},{typeName:"AsyncApiOAuthFlowObject"}),igt=ne({implicit:_(dn(bg)),password:_(dn(bg)),clientCredentials:_(dn(bg)),authorizationCode:_(dn(bg))},{typeName:"AsyncApiOAuthFlowsObject"}),Wv=dn(ne({type:xt([ie("userPassword"),ie("apiKey"),ie("X509"),ie("symmetricEncryption"),ie("asymmetricEncryption"),ie("httpApiKey"),ie("http"),ie("oauth2"),ie("openIdConnect"),ie("plain"),ie("scramSha256"),ie("scramSha512"),ie("gssapi")],{typeComment:"REQUIRED. Security scheme type: userPassword, apiKey, X509, symmetricEncryption, asymmetricEncryption, httpApiKey, http, oauth2, openIdConnect, plain, scramSha256, scramSha512, gssapi."}),description:_(M({typeComment:"A short description for security scheme. CommonMark syntax MAY be used for rich text representation."})),name:_(M({typeComment:"REQUIRED for httpApiKey. The name of the header, query or cookie parameter."})),in:_(xt([ie("user"),ie("password"),ie("query"),ie("header"),ie("
2484cookie")],{typeComment:"REQUIRED for apiKey and httpApiKey. Location of the API key: user, password, query, header, or cookie."})),scheme:_(M({typeComment:"REQUIRED for http. The name of the HTTP Authorization scheme to be used in the Authorization header."})),bearerFormat:_(M({typeComment:"A hint to the client to identify how the bearer token is formatted."})),flows:_(dn(igt)),openIdConnectUrl:_(M({typeComment:"REQUIRED for openIdConnect. OpenId Connect URL to discover OAuth2 configuration values (absolute URL)."})),scopes:_(He(M(),{typeComment:"List of the needed scope names for oauth2 and openIdConnect."}))},{typeName:"AsyncApiSecuritySchemeObject"})),sX=dn(ne({enum:_(He(M(),{typeComment:"An enumeration of string values for substitution."})),default:_(M({typeComment:"The default value to use for substitution, and to send, if an alternate value is not supplied."})),description:_(M({typeComment:"An optional description for the server variable. CommonMark syntax MAY be used for rich text representation."})),examples:_(He(M(),{typeComment:"Examples of the server variable."}))},{typeName:"AsyncApiServerVariableObject"})),fk=dn(ne({host:M({typeComment:"REQUIRED. The server host name. It MAY include the port. Supports Server Variables in {braces}."}),protocol:M({typeComment:"REQUIRED. The protocol this server supports for connection."}),protocolVersion:_(M({typeComment:"The version of the protocol used for connection (for example 0-9-1 for AMQP)."})),pathname:_(M({typeComment:"The path to a resource in the host. Supports Server Variables in {braces}."})),description:_(M({typeComment:"An optional string describing the server. CommonMark syntax MAY be used for rich text representation."})),title:_(M({typeComment:"A human-friendly title for the server."})),summary:_(M({typeComment:"A short summary of the server."})),variables:_(Fe(M(),sX,{typeComment:"Map between a variable name and its Server Variable Object or Reference Object."})),security:_(He(Wv,{typeComment:"Alternative security schemes for this server; only one of the security scheme objects need to be satisfied."})),tags:_(Qd),externalDocs:_(tc),bindings:_(dn(tX))},{typeName:"AsyncApiServerObject"})),ogt=Fe(M(),fk,{typeName:"AsyncApiServersObject",typeComment:"Map of server name to Server Object or Reference Object."}),pk=lt(()=>ne({address:_(xt([M(),ux()],{typeComment:"Channel address or null when unknown."})),messages:_(rgt),title:_(M({typeComment:"A human-friendly title for the channel."})),summary:_(M({typeComment:"A short summary of the channel."})),description:_(M({typeComment:"An optional description of this channel. CommonMark syntax MAY be used for rich text representation."})),servers:_(He(gp(fk),{typeComment:"References to Server definitions where this channel is available (Reference Objects only in the raw document)."})),parameters:_(agt),tags:_(Qd),externalDocs:_(tc),bindings:_(dn(nX))},{typeName:"AsyncApiChannelObject"})),lX=Fe(M(),dn(pk),{typeName:"AsyncApiChannelsObject",typeComment:"Map of channelId to Channel Object or Reference Object."}),cX=dn(ne({description:_(M({typeComment:"An optional description of the address. CommonMark syntax MAY be used for rich text representation."})),location:M({typeComment:"REQUIRED. A runtime expression that specifies the location of the reply address."})},{typeName:"AsyncApiOperationReplyAddressObject"})),uX=lt(()=>dn(ne({address:_(cX),channel:_(gp(pk)),messages:_(He(gp(Xv),{typeComment:"List of $ref pointers to Message Objects used as reply payloads (Reference Objects only in the raw document)."}))},{typeName:"AsyncApiOperationReplyObject"}))),dX=dn(ne({title:_(M({typeComment:"A human-friendly title for the operation."})),summary:_(M({typeComment:"A short summary of what the operation is about."})),description:_(M({typeComment:"A verbose explanation of the operation. CommonMark syntax MAY be used for rich text representation."})),security:_(He(Wv,{typeComment:"Security schemes for this operation. Only one of the security scheme objects MUST be satisfied."})),tags:_(Qd),externalDocs:_(tc),bindings:_(dn(ck))},{typeName:"AsyncApiOperationTraitObject"})),fX=lt(()=>dn(ne({action:xt([ie("send"),ie("receive")],{typeComment:"REQUIRED. send when the application sends to the channel; receive when it receives from the channel."}),channel:gp(pk),title:_(M({typeComment:"A human-friendly title for the operation."})),summary:_(M({typeComment:"A short summary of what the operation is about."})),description:_(M({typeComment:"A verbose explanation of the operation. CommonMark syntax MAY be used for rich text representation."})),security:_(He(Wv,{typeComment:"Security schemes for this operation. Only one of the security scheme objects MUST be satisfied."})),tags:_(Qd),externalDocs:_(tc),bindings:_(dn(ck)),traits:_(He(dX)),messages:_(He(gp(Xv),{typeComment:"Subset of channel messages as Reference Objects only. Omit to include all channel messages; use [] for none."})),reply:_(uX)},{typeName:"AsyncApiOperationObject"}))),sgt=Fe(M(),fX,{typeName:"AsyncApiOperationsObject",typeComment:"Map of operationId to Operation Object or Reference Object."}),lgt=lt(()=>ne({schemas:_(Fe(M(),$b,{typeComment:"Reusable Multi Format Schema, Schema Object, or Reference Object."})),servers:_(Fe(M(),fk)),channels:_(lX),operations:_(Fe(M(),fX)),messages:_(Fe(M(),Xv)),securitySchemes:_(Fe(M(),Wv)),serverVariables:_(Fe(M(),sX)),parameters:_(Fe(M(),oX)),correlationIds:_(Fe(M(),dk)),replies:_(Fe(M(),uX)),replyAddresses:_(Fe(M(),cX)),externalDocs:_(Fe(M(),tc)),tags:_(Fe(M(),aX)),operationTraits:_(Fe(M(),dX)),messageTraits:_(Fe(M(),iX)),serverBindings:_(Fe(M(),dn(tX))),channelBindings:_(Fe(M(),dn(nX))),operationBindings:_(Fe(M(),dn(ck))),messageBindings:_(Fe(M(),dn(uk)))},{typeName:"AsyncApiComponentsObject",typeComment:"Reusable objects. Definitions here have no effect unless referenced from outside components."})),cgt=ne({name:_(M({typeComment:"The identifying name of the contact person/organization."})),url:_(M({typeComment:"The URL pointing to the contact information. This MUST be in the form of an absolute URL."})),email:_(M({typeComment:"The email address of the contact person/organization."}))},{typeName:"AsyncApiContactObject"}),ugt=dn(ne({name:M({typeComment:"REQUIRED. The license name used for the API."}),url:_(M({typeComment:"A URL to the license used for the API. This MUST be in the form of an absolute URL."}))},{typeName:"AsyncApiLicenseObject"})),dgt=ne({title:M({typeComment:"REQUIRED. The title of the application."}),version:M({typeComment:"REQUIRED. Provides the version of the application API (not to be confused with the AsyncAPI Specification version)."}),description:_(M({typeComment:"A short description of the application. CommonMark syntax MAY be used for rich text representation."})),termsOfService:_(M({typeComment:"A URL to the Terms of Service for the API (absolute URL)."})),contact:_(cgt),license:_(ugt),tags:_(Qd),externalDocs:_(tc)},{typeName:"AsyncApiInfoObject"}),fgt=wn([b1t,x1t,A1t,k1t,S1t,C1t,E1t,P1t],{typeName:"AsyncApiExtensions",typeComment:"AsyncAPI document-level Scalar extensions shared with workspace tooling."}),pgt=ne({asyncapi:M({typeComment:"REQUIRED. AsyncAPI Specification version (major.minor.patch). Patch MAY include a hyphen suffix."}),id:_(M({typeComment:"Identifier of the application the AsyncAPI document is defining (URI, RFC3986)."})),info:dgt,servers:_(ogt),defaultContentType:_(M({typeComment:"Default content type when encoding/decoding a message payload (for example application/json)."})),channels:_(lX),operations:_(sgt),components:_(dn(lgt))}
2484,{typeName:"AsyncApiDocumentCore",typeComment:"Root AsyncAPI 3.1.0 document combining resource listing and API declaration."}),hgt=wn([pgt,fgt],{typeName:"AsyncApiObject",typeComment:"Root AsyncAPI 3.1.0 document including Scalar workspace extensions (AsyncApiExtensionsSchema)."}),dm=v.Object({name:v.String(),value:v.String()}),mgt=v.Object({url:v.String(),method:v.String(),httpVersion:v.String(),headers:v.Array(dm),cookies:v.Array(dm),headersSize:v.Number(),queryString:v.Array(dm),bodySize:v.Number(),postData:v.Optional(v.Union([v.Object({mimeType:v.String(),text:v.String()}),v.Object({mimeType:v.String(),params:v.Array(v.Object({name:v.String(),value:v.Optional(v.String())}))})]))}),ggt=v.Object({status:v.Number(),statusText:v.String(),headers:v.Array(dm),cookies:v.Array(dm),httpVersion:v.String(),redirectURL:v.String(),headersSize:v.Number(),bodySize:v.Number(),content:v.Object({size:v.Number(),mimeType:v.String(),encoding:v.Optional(v.String()),text:v.Optional(v.String())})}),bgt=v.Object({time:v.Number(),timestamp:v.Number(),request:mgt,response:ggt,meta:v.Object({example:v.String()}),requestMetadata:v.Object({variables:v.Record(v.String(),v.String())})}),ygt=v.Record(v.String(),v.Record(v.String(),v.Array(bgt))),vgt=v.Record(v.String(),ygt),Ogt=5,Sgt=({hooks:e})=>{const t=hs({});return{getHistory:(c,u,d)=>t[c]?.[u]?.[d],addHistory:(c,u,d,f)=>{t[c]||={},t[c][u]||={},t[c][u][d]||=[],t[c][u][d].length>=Ogt&&(t[c][u][d]=Qt(t[c][u][d].filter((p,h)=>h!==0),{depth:1})),t[c][u][d].push(f),e?.onHistoryChange?.(c)},clearOperationHistory:(c,u,d)=>{delete t[c]?.[u]?.[d],e?.onHistoryChange?.(c)},clearPathHistory:(c,u)=>{delete t[c]?.[u],e?.onHistoryChange?.(c)},clearDocumentHistory:c=>{delete t[c],e?.onHistoryChange?.(c)},load:c=>{const u=ts(vgt,c);pc(t,u),Object.keys(u).forEach(d=>{e?.onHistoryChange?.(d)})},export:()=>Qt(t)}},wgt=e=>e.fetch?e.fetch:((t,n)=>fetch(yy(e.proxyUrl,t.toString()),n)),vc=(e,t)=>{if(e&&typeof e=="object"&&"$ref"in e&&typeof e.$ref=="string"&&e.$ref.startsWith("#")){const n=qv(e.$ref.slice(1));return vc($Z(t.rootNode,n),t)}return e},xgt=()=>({type:"lifecycle",onResolveStart:e=>{e.$status="loading"},onResolveError:e=>{e.$status="error"},onResolveSuccess:e=>{delete e.$status}}),_9=()=>({type:"lifecycle",onAfterNodeProcess:async(e,t)=>{const n=e.externalValue,r=t.resolutionCache;if(typeof n!="string")return;const a=t.loaders.find(o=>o.validate(n));if(!a)return;r.has(n)||r.set(n,a.exec(n));const i=await r.get(n);i?.ok&&(e.value=i.data)}}),kgt=()=>({type:"lifecycle",onBeforeNodeProcess:async(e,t)=>{const{path:n,resolutionCache:r,parentNode:a}=t,i=e.$ref;if(typeof i!="string"||!a||!n.length)return;const o=t.loaders.find(s=>s.validate(i));if(o&&n[0]==="info"){r.has(i)||r.set(i,o.exec(i));const s=await r.get(i);s?.ok&&(a[n.at(-1)]=s.data)}}}),Agt=()=>({type:"lifecycle",onBeforeNodeProcess:(e,t)=>{const n=e.$ref,a=t.rootNode["x-ext-urls"];if(typeof n!="string"||typeof a!="object"||a===null||!fke(n))return;const o=n.split("/").at(-1)??"";e.$ref=a[o]??n}}),Tgt=()=>({type:"lifecycle",onAfterNodeProcess:(e,t)=>{const{path:n}=t;if(n.length===3&&n[0]==="components"&&n[1]==="securitySchemes"){const r=vc(e,t);typeof r=="object"&&r!==null&&"scheme"in r&&typeof r.scheme=="string"&&r.scheme.toLowerCase()!==r.scheme&&(r.scheme=r.scheme.toLowerCase())}}}),Egt=()=>({type:"lifecycle",onBeforeNodeProcess:(e,t)=>{const{path:n}=t;if(typeof e.$ref=="string"&&!(n[0]==="components"&&n[1]==="schemas")){const r=new Set(["$ref","summary","description","$status","$id","$anchor","$dynamicAnchor","$dynamicRef","$defs"]);Object.keys(e).forEach(a=>{r.has(a)||delete e[a]})}}}),_gt=()=>({type:"lifecycle",onBeforeNodeProcess:(e,t)=>{const{path:n}=t;if(n.length!==2||n[0]!=="paths"||typeof n[1]!="string")return;const r=n[1];for(const a of ly){const i=vc(e[a],t);if(!Ge(i))continue;const o=p=>{const h=vc(p,t);return Ge(h)&&"name"in h&&typeof h.name=="string"&&"in"in h&&typeof h.in=="string"},s=p=>{const h=vc(p,t);return o(h)&&h.in==="path"},l=("parameters"in i&&Array.isArray(i.parameters)?i.parameters:[]).filter(o),c=new Set(l.map(p=>vc(p,t)).filter(s).map(p=>p.name)),d=("parameters"in e&&Array.isArray(e.parameters)?e.parameters:[]).filter(p=>{const h=vc(p,t);if(!s(h))return!1;const b=!c.has(h.name);return b&&c.add(h.name),b}),f=Jje(r,r,[...l,...d],p=>vc(p,t));f.length>0&&(i.parameters=f)}}}),Cgt=["__scalar_","$status"],$gt=()=>({type:"lifecycle",onBeforeNodeProcess:e=>{if(Ge(e))for(const t of Cgt)t in e&&delete e[t]}}),Zg=ne({url:M({typeComment:"REQUIRED. The URI for the target documentation. This MUST be in the form of a URI."}),description:_(M({typeComment:"A description of the target documentation. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ExternalDocumentationObject"}),Pgt=ne({name:_(M({typeComment:'Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being "array" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored.'})),namespace:_(M({typeComment:"The URI of the namespace definition. Value MUST be in the form of a non-relative URI."})),prefix:_(M({typeComment:"The prefix to be used for the name."})),attribute:_(Ke({typeComment:"Declares whether the property definition translates to an attribute instead of an element. Default value is false."})),wrapped:_(Ke({typeComment:'MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>
2484) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items).'}))},{typeName:"XMLObject"}),Igt=ne({propertyName:M({typeComment:"REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined."}),mapping:_(Fe(M(),M(),{typeComment:"An object to hold mappings between payload values and schema names or URI references."}))},{typeName:"DiscriminatorObject"}),Ngt=e=>{const t=[$h,Ph,kse,wse,yse,Ose,gse,hoe,hse],n=ne({name:_(M({typeComment:"Schema name (extension)."})),$id:_(M({typeComment:"JSON Schema 2020-12 schema identifier."})),$anchor:_(M({typeComment:"JSON Schema 2020-12 plain-name anchor."})),$dynamicAnchor:_(M({typeComment:"JSON Schema 2020-12 dynamic anchor; the target a matching `$dynamicRef` resolves to."})),$dynamicRef:_(M({typeComment:"JSON Schema 2020-12 dynamic reference, resolved against the active `$dynamicAnchor`."})),title:_(M({typeComment:"A title for the schema."})),description:_(M({typeComment:"A description of the schema."})),default:_(Gn({typeComment:"Default value for the schema."})),enum:_(He(Gn(),{typeComment:"Array of allowed values.",typeName:"JsonSchemaEnum"})),const:_(Gn({typeComment:"Constant value that must match exactly."})),contentMediaType:_(M({typeComment:"Media type for content validation."})),contentEncoding:_(M({typeComment:"Content encoding."})),contentSchema:_(e(lt(()=>b))),deprecated:_(Ke({typeComment:"Whether the schema is deprecated."})),discriminator:_(Igt),readOnly:_(Ke({typeComment:"Whether the schema is read-only."})),writeOnly:_(Ke({typeComment:"Whether the schema is write-only."})),xml:_(Pgt),externalDocs:_(Zg),example:_(Gn({typeComment:"A free-form field to include an example of an instance for this schema. Deprecated
2484in favor of the JSON Schema examples keyword."})),examples:_(He(Gn(),{typeComment:"An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.",typeName:"SchemaExamplesArray"})),allOf:_(He(e(lt(()=>b)),{typeName:"SchemaObjectAllOf"})),oneOf:_(He(e(lt(()=>b)),{typeName:"SchemaObjectOneOf"})),anyOf:_(He(e(lt(()=>b)),{typeName:"SchemaObjectAnyOf"})),not:_(e(lt(()=>b)))}),r=ne({__scalar_:M({typeComment:"Internal marker for schema object disambiguation."})}),a=ne({multipleOf:_(mr({typeComment:"Number must be a multiple of this value."})),maximum:_(mr({typeComment:"Maximum value (inclusive)."})),exclusiveMaximum:_(mr({typeComment:"Maximum value (exclusive)."})),minimum:_(mr({typeComment:"Minimum value (inclusive)."})),exclusiveMinimum:_(mr({typeComment:"Minimum value (exclusive)."}))}),i=wn([ne({type:xt([ie("number"),ie("integer")]),format:_(M({typeComment:"Different subtypes."}))}),a],{typeName:"NumberSchemaObject"}),o=ne({maxLength:_(mr({typeComment:"Maximum string length."})),minLength:_(mr({typeComment:"Minimum string length."})),pattern:_(M({typeComment:"Regular expression pattern."}))}),s=wn([ne({type:ie("string"),format:_(M({typeComment:"Different subtypes."}))}),o],{typeName:"StringSchemaObject"}),l=ne({maxProperties:_(mr({typeComment:"Maximum number of properties."})),minProperties:_(mr({typeComment:"Minimum number of properties."})),properties:_(Fe(M(),e(lt(()=>b)),{typeName:"SchemaObjectProperties"})),required:_(He(M(),{typeName:"SchemaObjectRequired"})),additionalProperties:_(xt([Ke(),e(lt(()=>b))],{typeName:"SchemaObjectAdditionalProperties"})),patternProperties:_(Fe(M(),e(lt(()=>b)),{typeName:"SchemaObjectPatternProperties"})),propertyNames:_(e(lt(()=>b)))}),c=wn([ne({type:ie("object")}),l],{typeName:"ObjectSchemaObject"}),u=ne({maxItems:_(mr({typeComment:"Maximum number of items in array."})),minItems:_(mr({typeComment:"Minimum number of items in array."})),uniqueItems:_(Ke({typeComment:"Whether array items must be unique."})),items:_(e(lt(()=>b))),prefixItems:_(He(e(lt(()=>b)),{typeComment:"Schema for tuple validation."}))}),d=wn([ne({type:ie("array")}),u],{typeName:"ArraySchemaObject"}),f=xt([ie("null"),ie("boolean"),ie("string"),ie("number"),ie("integer"),ie("object"),ie("array")],{typeName:"SchemaObjectMultiTypeKeywords"}),p=ne({type:xt([ie("null"),ie("boolean")],{typeName:"SchemaObjectOtherTypeKeyword"})}),h=wn([ne({type:He(f,{typeName:"SchemaObjectMultiTypeKeywordArray"}),format:_(M({typeComment:"Different subtypes."}))}),a,o,u,l],{typeName:"MultiTypeSchemaObject"}),b=wn([n,...t,xt([r,p,i,s,c,d,h])],{typeName:"SchemaObject"});return b},Rgt=(e,t={})=>{const n=ne({name:_(M({typeComment:"The name of the contact."})),url:_(M({typeComment:"The URI for the contact information. This MUST be in the form of a URI."})),email:_(M({typeComment:"The email address of the contact person/organization. This MUST be in the form of an email address."}))},{typeName:"ContactObject"}),r=ne({name:_(M({typeComment:"REQUIRED. The license name used for the API."})),identifier:_(M({typeComment:"An SPDX license expression for the API. The identifier field is mutually exclusive of the url field."})),url:_(M({typeComment:"A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field."}))},{typeName:"LicenseObject"}),a=wn([ne({title:M({typeComment:"REQUIRED. The title of the API."}),version:M({typeComment:"REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description)."}),summary:_(M({typeComment:"A short summary of the API."})),description:_(M({typeComment:"A description of the API. CommonMark syntax MAY be used for rich text representation."})),termsOfService:_(M({typeComment:"A URI for the Terms of Service for the API. This MUST be in the form of a URI."})),contact:_(n),license:_(r)},{typeName:"InfoObject"}),coe,ioe]),i=ne({enum:_(He(M(),{typeComment:"An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty."})),default:_(M({typeComment:"The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than
2484inserting the value into the data."})),description:_(M({typeComment:"An optional description for the server variable. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ServerVariableObject"}),o=ne({url:M({typeComment:"REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}."}),description:_(M({typeComment:"An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation."})),variables:_(Fe(M(),i,{typeComment:"A map between a variable name and its value. The value is used for substitution in the server's URL template."}))},{typeName:"ServerObject"}),s=t.schemaObject??Ngt(e),l=wn([ne({name:M({typeComment:"REQUIRED. The name of the tag."}),summary:_(M({typeComment:"A short summary of the tag, used for display purposes. (OpenAPI 3.2)"})),description:_(M({typeComment:"A description for the tag. CommonMark syntax MAY be used for rich text representation."})),parent:_(M({typeComment:"The name of a tag that this tag is nested under. The named tag MUST exist in the API description, and circular references MUST NOT be used. (OpenAPI 3.2)"})),kind:_(M({typeComment:"A machine-readable string to categorize what sort of tag it is, for example `nav`, `badge` or `audience`. (OpenAPI 3.2)"})),externalDocs:_(Zg)},{typeName:"TagObject"}),Vse,Ph,$h,QS]),c=Fe(M(),He(M()),{typeName:"SecurityRequirementObject",typeComment:"Lists the required security schemes to execute this operation. An empty object ({}) indicates anonymous access is supported."}),u=ne({description:_(M({typeComment:"A description for security scheme. CommonMark syntax MAY be used for rich text representation."}))}),d=ne({...u.properties,type:ie("apiKey"),name:M({typeComment:"REQUIRED. The name of the header, query or cookie parameter to be used."}),in:xt([ie("query"),ie("header"),ie("cookie")],{typeComment:'REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie".'})},{typeName:"ApiKeySecuritySchemeObject"}),f=ne({...u.properties,type:ie("http"),scheme:xt([ie("basic"),ie("bearer")],{typeName:"HttpSecuritySchemeScheme",typeComment:"REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235."}),bearerFormat:_(M({typeComment:"A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes."}))},{typeName:"HttpSecuritySchemeObject"}),p=[yoe,goe,Coe,Soe,xoe],h=ne({refreshUrl:M({typeComment:"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."}),scopes:Fe(M(),M(),{typeComment:"REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.",typeName:"OAuthFlowScopes"})},{typeName:"OAuthFlowBaseCore"}),b=wn([h,...p,ne({authorizationUrl:M({typeComment:"REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"ImplicitOAuthFlowObject"})]),y=wn([h,...p,ne({tokenUrl:M({typeComment:"REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"PasswordOAuthFlowObject"}),iO]),O=wn([h,...p,ne({tokenUrl:M({typeComment:"REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"ClientCredentialsOAuthFlowObject"}),iO]),A=wn([h,...p,ne({authorizationUrl:M({typeComment:"REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."}),tokenUrl:M({typeComment:"REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"AuthorizationCodeOAuthFlowObject"}),Poe,iO]),x=ne({implicit:_(b),password:_(y),clientCredentials:_(O),authorizationCode:_(A)},{typeName:"OAuthFlowsObject"}),T=wn([ne({...u.properties,type:ie("oauth2"),flows:x},{typeName:"OAuth2SecuritySchemeObject"}),Mse]),E=ne({...u.properties,type:ie("openIdConnect"),openIdConnectUrl:M({typeComment:"REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata."})},{typeName:"OpenIdConnectSecuritySchemeObject"}
vendor: 11,990 bytes, line 2484
2484),C=xt([d,f,T,E],{typeName:"SecuritySchemeObject"}),$=ne({schemas:_(Fe(M(),e(s),{typeName:"ComponentsSchemas"})),responses:_(Fe(M(),e(lt(()=>D)),{typeName:"ComponentsResponses"})),parameters:_(Fe(M(),e(lt(()=>ue)),{typeName:"ComponentsParameters"})),examples:_(Fe(M(),e(lt(()=>R)),{typeName:"ComponentsExamples"})),requestBodies:_(Fe(M(),e(lt(()=>Ee)),{typeName:"ComponentsRequestBodies"})),headers:_(Fe(M(),e(lt(()=>W)),{typeName:"ComponentsHeaders"})),securitySchemes:_(Fe(M(),e(lt(()=>C)),{typeName:"ComponentsSecuritySchemes"})),links:_(Fe(M(),e(lt(()=>Te)),{typeName:"ComponentsLinks"})),callbacks:_(Fe(M(),e(lt(()=>fe)),{typeName:"ComponentsCallbacks"})),pathItems:_(Fe(M(),lt(()=>mt),{typeName:"ComponentsPathItems"}))},{typeName:"ComponentsObject"}),R=wn([ne({summary:_(M({typeComment:"Short description for the example."})),description:_(M({typeComment:"Long description for the example. CommonMark syntax MAY be used for rich text representation."})),value:_(Gn({typeComment:"Embedded literal example. The value field and externalValue field are mutually exclusive."})),externalValue:_(M({typeComment:"A URI that identifies the literal example. The value field and externalValue field are mutually exclusive."}))},{typeName:"ExampleObject"}),Gie]),j=ne({description:_(M({typeComment:"A brief description of the header. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:_(Ke({typeComment:"Determines whether this header is mandatory. The default value is false."})),deprecated:_(Ke({typeComment:"Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is false."}))},{typeName:"HeaderBase"}),U=wn([j,ne({style:_(M({typeComment:'Describes how the header value will be serialized. The default (and only legal value for headers) is "simple".'})),explode:_(Ke({typeComment:"When this is true, header values of type array or object generate a single header whose value is a comma-separated list of the array items or key-value pairs of the map, see Style Examples."})),schema:_(e(lt(()=>s))),example:_(Gn()),examples:_(Fe(M(),e(lt(()=>R)),{typeName:"HeaderExamples"}))},{typeName:"HeaderObjectWithSchema"})]),Y=wn([j,ne({content:_(Fe(M(),lt(()=>ee),{typeName:"HeaderContent"}))},{typeName:"HeaderObjectWithContent"})]),W=xt([U,Y],{typeName:"HeaderObject"}),pe=ne({contentType:_(M({typeComment:"The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*)."})),headers:_(Fe(M(),e(lt(()=>W)),{typeName:"EncodingHeaders"}))},{typeName:"EncodingObject"}),ee=ne({schema:_(e(lt(()=>s))),example:_(Gn({typeComment:"Example of the media type."})),examples:_(Fe(M(),e(lt(()=>R)),{typeName:"MediaTypeExamples"})),encoding:_(Fe(M(),pe,{typeComment:"A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property.",typeName:"MediaTypeEncoding"}))},{typeName:"MediaTypeObject"}),ae=wn([ne({name:M({typeComment:'REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object.'}),in:xt([ie("query"),ie("header"),ie("path"),ie("cookie")],{typeName:"ParameterLocation",typeComment:'REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".'}),description:_(M({typeComment:"A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:_(Ke({typeComment:'Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true.'})),deprecated:_(Ke({typeComment:"Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false."})),allowEmptyValue:_(Ke({typeComment:"If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely. This field is valid only for query parameters."})),allowReserved:_(Ke({typeComment:"When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570. This field only applies to parameters with an in value of query. The default value is false."})),style:_(M({typeComment:"Describes how the parameter value will be serialized (depending on the schema type)."})),explode:_(Ke({typeComment:"When this is true, parameter values of type array or object generate separate parameters for each array item or object property."})),schema:_(e(lt(()=>s))),example:_(Gn()),examples:_(Fe(M(),e(lt(()=>R)),{typeName:"ParameterExamples"}))},{typeName:"ParameterObjectWithSchema"}),Yk,Ph,$h]),de=wn([ne({name:M({typeComment:'REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object.'}),in:xt([ie("query"),ie("header"),ie("path"),ie("cookie")],{typeName:"ParameterLocation",typeComment:'REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".'}),description:_(M({typeComment:"A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:_(Ke({typeComment:'Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true.'})),deprecated:_(Ke({typeComment:"Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false."})),allowEmptyValue:_(Ke({typeComment:"If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely. This field is valid only for query parameters."})),allowReserved:_(Ke({typeComment:"When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570. This field only applies to parameters with an in value of query. The default value is false."})),content:_(Fe(M(),lt(()=>ee),{typeName:"ParameterContent"}))},{typeName:"ParameterObjectWithContent"}),Yk,Ph,$h]),ue=xt([ae,de],{typeName:"ParameterObject"}),Ee=wn([ne({description:_(M({typeComment:"A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),content:Fe(M(),lt(()=>ee),{typeComment:"REQUIRED. The content of the request body. The key is a media type or media type range and the value describes it.",typeName:"RequestBodyContent"}),required:_(Ke({typeComment:"Determines if the request body is required in the request. Defaults to false."}))},{typeName:"RequestBodyObject"}),cse]),Te=ne({operationRef:_(M({typeComment:"A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object."})),operationId:_(M({typeComment:"The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field."})),parameters:_(Fe(M(),Gn(),{typeComment:"A map representing parameters to pass to an operation as specified with operationId or identified via operationRef.",typeName:"LinkParameters"})),requestBody:_(Gn({typeComment:"A literal value or {expression} to use as a request body when calling the target operation."})),description:_(M({typeComment:"A description of the link. CommonMark syntax MAY be used for rich text representation."})),server:_(o)},{typeName:"LinkObject"}),D=ne({description:M({typeComment:"REQUIRED. A description of the response. CommonMark syntax MAY be used for rich text representation."}),headers:_(Fe(M(),e(lt(()=>W)),{typeName:"ResponseHeaders"})),content:_(Fe(M(),lt(()=>ee),{typeName:"ResponseContent"})),links:_(Fe(M(),e(lt(()=>Te)),{typeName:"ResponseLinks"}))},{typeName:"ResponseObject"}),oe=Fe(M(),e(lt(()=>D)),{typeName:"ResponsesObject"}),fe=Fe(M(),e(lt(()=>mt)),{typeName:"CallbackObject"}),z=wn([ne({tags:_(He(M(),{typeComment:"A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.",typeName:"OperationTags"})),summary:_(M({typeComment:"A short summary of what the operation does."})),description:_(M({typeComment:"A verbose explanation of the operation behavior. CommonMark syntax MAY be used for rich text representation."})),externalDocs:_(Zg),operationId:_(M({typeComment:"Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is case-sensitive."})),parameters:_(He(e(lt(()=>ue)),{typeName:"OperationParameters"})),requestBody:_(e(lt(()=>Ee))),responses:_(lt(()=>oe)),deprecated:_(Ke({typeComment:"Declares this operation to be deprecated. Consumers SHOULD refrain from usage of the declared operation. Default value is false."})),security:_(He(c,{typeName:"OperationSecurity"})),servers:_(He(o,{typeName:"OperationServers"})),callbacks:_(Fe(M(),e(lt(()=>fe)),{typeName:"OperationCallbacks"}))},{typeName:"OperationObject"}),Loe,Ph,$h,Voe,ese,Goe,zk,Vk,qoe,Hk]),mt=ne({$ref:_(M({typeComment:"Allows for a referenced definition of this path item. The value MUST be in the form of a URI, and the referenced structure MUST be in the form of a Path Item Object."})),summary:_(M({typeComment:"An optional string summary, intended to apply to all operations in this path."})),description:_(M({typeComment:"An optional string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation."})),get:_(e(lt(()=>z))),put:_(e(lt(()=>z))),post:_(e(lt(()=>z))),delete:_(e(lt(()=>z))),patch:_(e(lt(()=>z))),connect:_(e(lt(()=>z))),options:_(e(lt(()=>z))),head:_(e(lt(()=>z))),trace:_(e(lt(()=>z))),servers:_(He(o,{typeName:"PathItemServers"})),parameters:_(He(e(lt(()=>ue)),{typeName:"PathItemParameters"}))},{typeName:"PathItemObject"}),te=ne({"x-original-oas-version":_(M({typeComment:"Original OpenAPI Specification version of the source document."})),[Is.document.navigation]:_(Gn({typeComment:"Client navigation tree (TraversedDocument) for this OpenAPI description. Matches TraversedDocumentObjectRef in strict schemas."}))},{typeName:"OpenApiExtensionsPartial"}),Oe=ne({openapi:M({typeComment:"REQUIRED. This string MUST be the version number of the OpenAPI Specification that the OpenAPI Document uses. The openapi field SHOULD be used by tooling to interpret the OpenAPI Document. This is not related to the API info.version string."}),info:a,jsonSchemaDialect:_(M({typeComment:"The default value for the $schema keyword within Schema Objects contained within this OAS document. This MUST be in the form of a URI."})),servers:_(He(o,{typeComment:"An array of Server Objects, which provide connectivity information to a target server. If the servers field is not provided, or is an empty array, the default value would be a Server Object with a url value of /.",typeName:"OpenApiServers"})),paths:_(Fe(M(),mt,{typeComment:"The available paths and operations for the API.",typeName:"PathsObject"})),webhooks:_(Fe(M(),mt,{typeComment:"The incoming webhooks that MAY be received as part of this API and that the API consumer MAY choose to implement.",typeName:"WebhooksObject"})),components:_($),security:_(He(c,{typeComment:"A declaration of which security mechanisms can be used across the API. The list of values includes alternative Security Requirement Objects that can be used. Only one of the Security Requirement Objects need to be satisfied to authorize a request.",typeName:"OpenApiSecurity"})),tags:_(He(l,{typeComment:"A list of tags used by the OpenAPI Description with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools."})),externalDocs:_(Zg)}
2484,{typeName:"OpenApiDocumentCore"});return wn([Oe,te,die,Eie,rie,Hk,iie,QS,xie,cie,sie,vie,bie,mie,Vk,zk],{typeName:"OpenApiDocument",typeComment:"Root OpenAPI 3.1 document including Scalar workspace extensions (OpenApiExtensionsSchema)."})},Mgt=ne({$status:_(xt([ie("loading"),ie("error")]),{typeComment:"Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed."}),$global:_(Ke({typeComment:"Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context."}))},{typeName:"ReferenceObjectExtensions"}),Lgt=ne({$ref:M({typeComment:"REQUIRED. The reference identifier. This MUST be in the form of a URI."}),summary:_(M({typeComment:"A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect."})),description:_(M({typeComment:"A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect."}))},{typeName:"ReferenceObject"}),pX=e=>Ge(e)&&"$ref"in e?pX(e["$ref-value"]):e,Dgt=e=>xt([e,wn([Lgt,ne({"$ref-value":mI(pX,e)}),Mgt])]),Bgt=10;function C9(e){if("url"in e)return c8({fetch:e.fetch}).exec(e.url);if("path"in e){const t=e.fileLoader;return t?t.exec(e.path):(console.error("No loader provided for loading files"),Promise.resolve({ok:!1}))}return Promise.resolve({ok:!0,data:e.document,raw:JSON.stringify(e.document)})}const $9=e=>{if("url"in e)return e.url;if("path"in e)return e.path},Ugt=Rgt(Dgt),P9=new Set(["x-scalar-is-dirty","x-scalar-registry-meta"]),jgt=e=>{const t=sa(e),n=["x-ext","x-ext-urls","x-scalar-navigation","x-scalar-is-dirty","x-original-oas-version","x-scalar-original-document-hash","x-scalar-original-source-url","x-scalar-registry-meta"];for(const r of n)delete t[r];return t},I9=e=>{const{verbose:t=!1}=e??{},n=($,R)=>t?d0t($,R):R(),r=($,R)=>t?f0t($,R):R(),a={},i=$=>{e?.plugins?.forEach(R=>R.hooks?.onWorkspaceStateChanges?.($))},o=hs(IS({...e?.meta,documents:{},get activeDocument(){return o.documents[f()]}},{hooks:{onAfterChange($){const R=$[0];if(R==="documents"){if($.length<2){console.log("[WARN]: Overriding entire documents object is not supported");return}const pe=$[1],ee=o.documents[pe]??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""},ae={type:"documents",documentName:pe,value:Qt(ee),path:$.slice(2)};ae.path.length>0&&!P9.has(ae.path[0])&&(ee["x-scalar-is-dirty"]=!0),i(ae);return}if(R==="activeDocument"){const pe=f(),ee=o.documents[pe]??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""},ae={type:"documents",documentName:pe,value:Qt(ee),path:$.slice(2)};ae.path.length>0&&!P9.has(ae.path[0])&&(ee["x-scalar-is-dirty"]=!0),i(ae);return}const{activeDocument:j,documents:U,...Y}=o,W={type:"meta",value:Qt(Y,{depth:1})};i(W)}}})),{originalDocuments:s,intermediateDocuments:l,overrides:c}=IS({originalDocuments:{},intermediateDocuments:{},overrides:{}},{hooks:{onAfterChange($){const R=$[0];if(!R||$.length<2)return;const j=$[1];if(R==="originalDocuments"){const U={type:R,documentName:j,value:Qt(s[j]??{}),path:$.splice(2)};i(U)}if(R==="intermediateDocuments"){const U={type:R,documentName:j,value:Qt(l[j]??{}),path:$.splice(2)};i(U)}if(R==="overrides"){const U={type:R,documentName:j,value:Qt(c[j]??{})};i(U)}}}}),u=Sgt({hooks:{onHistoryChange:$=>{i({type:"history",documentName:$,value:u.export()[$]??{}})}}}),d=pke({hooks:{onAuthChange:$=>{i({type:"auth",documentName:$,value:d.export()[$]??{secrets:{},selected:{document:{selectedIndex:0,selectedSchemes:[]},path:{}}}})}}});function f(){return o[Is.workspace.activeDocument]??Object.keys(o.documents)[0]??""}function p($,R,j){const U=s[$];if(U)return R==="json"?j?JSON.stringify(U):JSON.stringify(U,null,2):wot.stringify(U)}const h=async $=>{const R=o.documents[$],j=await T($);
2484return!R||!j?(console.warn("Failed to save document, active document is missing"),!1):(s[$]=j,l[$]=sa(j),R["x-scalar-is-dirty"]=!1,!0)};async function b($,R){const{name:j}=$,U=sa($.meta),Y=n("deepClone",()=>sa($.document));n("initialize",()=>{$.initialize!==!1&&(s[j]=sa(Y),l[j]=sa(Y),c[j]=$.overrides??{},a[j]={fetch:$.fetch})});const W=[c8({fetch:a[j]?.fetch??e?.fetch,limit:Bgt})];if(e?.fileLoader&&W.push(e.fileLoader),So(Y)){const de=Y.asyncapi,ue=n("upgrade",()=>u0t(sa(Y))),Ee=af({...ue,...U,"x-original-aas-version":de,"x-scalar-original-document-hash":$.documentHash,"x-scalar-original-source-url":$.documentSource});await r("bundle",async()=>await mg($u(Ee),{treeShake:!1,plugins:W,urlMap:!0,origin:$.documentSource}));const Te=n("coerceValue",()=>o2(hgt,sa($u(Ee))));if(n("mergeObjects",()=>b2(Ee,Te)),Ee[Is.document.navigation]===void 0){const D=yQe(j,Ee,R);Ee[Is.document.navigation]=D}o.documents[j]=Og(Ee,{overrides:Qt(c[j])});return}const pe=n("upgrade",()=>d1t(sa(Y))),ee=af({...pe,...U,"x-original-oas-version":s[j]?.openapi??s[j]?.swagger,"x-scalar-original-document-hash":$.documentHash,"x-scalar-original-source-url":$.documentSource},{showInternal:!0});if(ee[Is.document.navigation]===void 0){await r("bundle",async()=>await mg($u(ee),{treeShake:!1,plugins:[...W,Egt(),_9(),kgt(),Tgt(),_gt()],urlMap:!0,origin:$.documentSource}));const de=n("coerceValue",()=>o2(Ugt,sa(ee)));n("mergeObjects",()=>b2(ee,de))}if(!Qa(Kk,ee)){const de=Array.from(Yre(Kk,ee));console.warn("document validation errors: "),console.warn(de.map(ue=>({message:ue.message,path:ue.path,schema:ue.schema,value:ue.value})))}if(ee[Is.document.navigation]===void 0){const de=w_(j,ee,R);ee[Is.document.navigation]=de}o.documents[j]=Og(af($u(ee)),{overrides:Qt(c[j])})}async function y($,R){const{name:j,meta:U}=$,Y=wgt({fetch:$.fetch??e?.fetch,proxyUrl:o["x-scalar-active-proxy"]??void 0}),W=await r("loadDocument",async()=>await C9({...$,fetch:Y,fileLoader:e?.fileLoader}));return await r("addDocument",async()=>W.ok?Ge(W.data)?(await b({...$,document:W.data,documentSource:$9($),documentHash:tm(W.raw)},R),!0):(console.error(`Failed to load document '${j}': response data is not a valid object`),o.documents[j]={...U,openapi:"3.1.0",info:{title:`Document '${j}' could not be loaded`,version:"unknown"},"x-scalar-original-document-hash":"not-a-hash"},!1):(console.error(`Failed to fetch document '${j}': request was not successful`),o.documents[j]={...U,openapi:"3.1.0",info:{title:`Document '${j}' could not be loaded`,version:"unknown"},"x-scalar-original-document-hash":"not-a-hash"},!1))}const O=$=>{const R=Qt(s[$],{depth:1});return R||null},A=$=>{const R=Qt(l[$],{depth:1});return R||null},x=$=>!!l[$],T=async $=>{const R=Qt(o.documents[$],{depth:1});if(!R)return null;const j=await mg(sa(R),{plugins:[Agt(),$gt()],treeShake:!1,urlMap:!0});return jgt(j)},E=$=>{const R=o.documents[$];if(!R)return console.error(`Document '${$}' does not exist in the workspace.`),!1;if(!Eo(R))return!1;const j=w_($,R);return R[Is.document.navigation]=j,!0},C=new Set;return{get workspace(){return o},get history(){return u},get auth(){return d},update($,R){Pu($),Object.assign(o,{[$]:R})},getEditableDocument:T,getOriginalDocument:O,getIntermediateDocument:A,updateDocument($,R,j){const U=o.documents[$==="active"?f():$];return U?(Pu(R),Object.assign(U,{[R]:j}),!0):!1},async replaceDocument($,R){const j=Qt(o.documents[$],{depth:1});if(!j)return console.error(`Document '${$}' does not exist in the workspace.`);await b({name:$,document:R,documentSource:j["x-scalar-original-source-url"],documentHash:j["x-scalar-original-document-hash"],meta:{"x-scalar-registry-meta":j["x-scalar-registry-meta"],"x-scalar-is-dirty":!0,"x-scalar-navigation":void 0},initialize:!1})},resolve:$=>{const R=o.activeDocument,j=$Z(R,$);return Ge(j)?mg(j,{root:R,treeShake:!1,plugins:[c8(),xgt(),_9()],urlMap:!0,visitedNodes:C}):(console.error(`Invalid path provided for resolution. Path: [${$.join(", ")}]. Found value of type: ${typeof j}. Expected an object.`),Promise.resolve())},addDocument:y,deleteDocument:$=>{if(!o.documents[$])return;delete o.documents[$],delete s[$],delete l[$],delete c[$],delete a[$],u.clearDocumentHistory($),d.clearDocumentAuth($);const R=Object.keys(o.documents);o["x-scalar-active-document"]===$&&(o["x-scalar-active-document"]=R[0]??void 0),i({type:"deleteDocument",documentName:$})},exportDocument:p,exportActiveDocument:($,R)=>p(f(),$,R),buildSidebar:E,saveDocument:h,promoteIntermediateToOriginal:x,async revertDocumentChanges($){const R=Qt(o.documents[$],{depth:1}),j=Qt(s[$],{depth:1});!R||!j||(l[$]=sa(j),await b({name:$,document:j,documentSource:R["x-scalar-original-source-url"],documentHash:R["x-scalar-original-document-hash"],initialize:!1,meta:{"x-scalar-registry-meta":R["x-scalar-registry-meta"]}}))},commitDocument($){console.warn(`Commit operation for document '${$}' is not implemented yet.`)},exportWorkspace(){const{activeDocument:$,documents:R,...j}=Qt(o);return{documents:{...Object.fromEntries(Object.entries(R).map(([U,Y])=>[U,Qt(Y)]))},meta:Qt(j)??{},originalDocuments:Qt(s),intermediateDocuments:Qt(l),overrides:Qt(c),history:u.export(),auth:d.export()}},loadWorkspace($){pc(o.documents,Object.fromEntries(Object.entries($.documents).map(([R,j])=>[R,Og(af(j),{overrides:$.overrides[R]})]))),pc(s,$.originalDocuments),pc(l,$.intermediateDocuments),pc(c,$.overrides),pc(o,$.meta),u.load($.history),d.load($.auth)},importWorkspaceFromSpecification:$=>{const{documents:R,overrides:j,info:U,workspace:Y,...W}=$;return pc(o,W),Promise.all(Object.entries(R??{}).map(([pe,ee])=>y({url:ee.$ref,name:pe,overrides:j?.[pe]})))},rebaseDocument:async $=>{const{name:R}=$,j=Qt(s[R],{depth:1}),U=Qt(o.documents[R],{depth:1}),Y=await T(R);if(!j||!Y||!U)return{ok:!1,type:"CORRUPTED_STATE",message:`Cannot rebase document '${R}': missing original or active document state`};const W=await r("loadDocument",async()=>await C9({...$,fetch:$.fetch??e?.fetch,fileLoader:e?.fileLoader}));if(!W.ok||!Ge(W.data))return{ok:!1,type:"FETCH_FAILED",message:`Failed to fetch document '${R}
2484': request was not successful or returned invalid data`};const pe=tm(W.raw);if(U["x-scalar-original-document-hash"]===pe)return{ok:!1,type:"NO_CHANGES_DETECTED",message:`No changes detected for document '${R}': document hash matches the active document`};const ee=W.data;c[R]=$.overrides??{},a[R]={fetch:$.fetch};const ae=mS(j,ee);if(ae.length===0)return{ok:!1,type:"NO_CHANGES_DETECTED",message:`No changes detected for document '${R}' after fetching the latest version.`};const de=mS(j,Y),ue=Z0t(ae,de);return{ok:!0,conflicts:ue.conflicts,changes:ue.diffs,applyChanges:async Ee=>{const D=(()=>{if("resolvedConflicts"in Ee){const kn=ue.diffs.concat(Ee.resolvedConflicts);return V0t(sa(j),kn)}return Ee.resolvedDocument})(),oe=mS(ee,D).length>0;s[R]=D,l[R]=sa(D);const fe=Eo(U),z=fe?U["x-scalar-environments"]:void 0,mt=fe?U["x-scalar-order"]:void 0,te=D.servers,Oe=U.servers,Et=Array.isArray(te)&&te.length>0,Pt=Array.isArray(Oe)&&Oe.length>0,gt=!So(D)&&!Et&&Pt?sa(Oe):void 0;await b({...$,document:{...D,[Is.document.navigation]:void 0},documentSource:$9($),documentHash:tm(W.raw),initialize:!1,meta:{...$.meta,"x-scalar-registry-meta":U["x-scalar-registry-meta"],"x-scalar-watch-mode":U["x-scalar-watch-mode"],"x-scalar-selected-server":U["x-scalar-selected-server"],...z!==void 0?{"x-scalar-environments":z}:{},...mt!==void 0?{"x-scalar-order":mt}:{},...gt!==void 0?{servers:gt}:{},"x-scalar-is-dirty":oe}})}}}}},Qgt={Date:!0,RegExp:!0,String:!0,Number:!0};function hX(e,t,n={cyclesFix:!0},r=[]){let a=[];const i=Array.isArray(e);for(const s in e){const l=e[s],c=i?+s:s;if(!(s in t)){a.push({type:"REMOVE",path:[c],oldValue:e[s]});continue}const u=t[s],d=typeof l=="object"&&typeof u=="object"&&Array.isArray(l)===Array.isArray(u);l&&u&&d&&!Qgt[Object.getPrototypeOf(l)?.constructor?.name]&&(!n.cyclesFix||!r.includes(l))?a.push.apply(a,hX(l,u,n,n.cyclesFix?r.concat([l]):[]).map(f=>(f.path.unshift(c),f))):l!==u&&!(Number.isNaN(l)&&Number.isNaN(u))&&!(d&&(isNaN(l)?l+""==u+"":+l==+u))&&a.push({path:[c],type:"CHANGE",value:u,oldValue:l})}const o=Array.isArray(t);for(const s in t)s in e||a.push({type:"CREATE",path:[o?+s:s],value:t[s]});return a}var Fgt=["dir","lang"],zgt={key:1,class:"flex gap-1.5 px-3 pt-3"},Vgt={class:"no-underline hover:underline",href:"https://www.scalar.com",rel:"noopener noreferrer",target:"_blank"},Hgt={key:1},qgt=["aria-label","inert"],Zgt={class:"w-64 empty:hidden"},Xgt={key:3,class:"references-footer"},Wgt="1.66.1";typeof window<"u"&&console.info(`@scalar/api-reference@${Wgt}`);var Ygt=Q({__name:"ApiReference",props:{configuration:{}},setup(e,{expose:t}){const n=e,{copyToClipboard:r}=au(),a=!1,i=K(!1);Mt(()=>{i.value=sat()});const o=Yje({debug:a}),s=K(!1);r8e(()=>vn());const l=I(()=>Aot(n.configuration)),c=I(()=>Object.keys(l.value).length>1),u=K(Object.values(l.value).find(re=>re.default)?.slug??l.value[Object.keys(l.value)?.[0]??""]?.slug??"");if(typeof window<"u"){const re=new URL(window.location.href),ce=re.searchParams.get("api");if(ce&&l.value[ce]){u.value=ce;const De=ph(fh(re,l.value[ce].config.pathRouting?.basePath,ce),l.value[ce].config.pathRouting?.basePath,c.value);De&&(De.searchParams.delete("api"),window.history.replaceState({},"",De.toString()))}const Ne=fh(re,Object.values(l.value).map(De=>De.config.pathRouting?.basePath).find(De=>De?xke(re,De):!1),c.value?void 0:u.value).split("/")[0];Ne&&l.value[Ne]&&(u.value=Ne)}const d=I(()=>Object.values(l.value).map(re=>({label:re.title,id:re.slug}))),f=K(""),p=K(""),h=I(()=>{const re=Y.workspace.activeDocument;return So(re)?re:null});qe(u,()=>{f.value="",p.value=""});const b=K({}),y=(re,ce)=>{const Ne=z9(re.localization),De=b.value.modelsSectionLabel??(ce?.modelsSectionLabel!==di?ce?.modelsSectionLabel:void 0);return{...re,modelsSectionLabel:De??Ne.translations.models.label??di}},O=I(()=>{const re=l.value[u.value]?.config,ce={...o2(Cz,{}),...re,...b.value};return y(ce,re)}),A=mW(()=>O.value.localization),x=I(()=>({...O.value,labels:{closeGroup:A.translate("navigation.closeGroup"),httpMethod:A.translate("common.httpMethod"),openGroup:A.translate("navigation.openGroup")}})),T=I(()=>A.locale.value.replace("_","-")),E=I(()=>O.value.pathRouting?.basePath),C=re=>iB(re.id,E.value,c.value),$=I(()=>uat(O.value.theme,{fonts:O.value.withDefaultFonts})),R=I(()=>`${O.value.customCss??""} 2485${$.value}`.replace(/<\/style/gi,"<\\/style")),j=re=>re.flatMap(ce=>{const Ne="children"in ce&&ce.children?j(ce.children):[];return ce.type==="webhook"?[{name:ce.name,method:ce.method,id:ce.id},...Ne]:Ne});if(typeof window<"u"){const re=bT(window.location.href,Pa(O.value.modelsSectionLabel??di),u.value,c.value,O.value.pathRouting?.basePath);re&&window.history.replaceState({},"",re.toString())}if(O.value.redirect&&typeof window<"u"){const re=O.value.redirect((O.value.pathRouting?window.location.pathname:"")+window.location.hash);re&&window.history.replaceState({},"",re)}function U(re,ce,Ne){const De=ph(ce||re,Ne.pathRouting?.basePath,c.value);De&&window.history.replaceState({},"",De.toString()),u.value=re}const Y=I9({verbose:a}),W=I9({verbose:a,plugins:[hke({persistAuth:()=>O.value.persistAuth??!1})]}),pe=ZD({plugins:Object.values(l.value).flatMap(re=>re.config.plugins??[]),auth:{export:()=>W.auth.export(),getAuthSecrets:(re,ce)=>d9(W.auth.getAuthSecrets(re,ce)),getAuthSelectedSchemas:re=>d9(W.auth.getAuthSelectedSchemas(re))}});In(XD,pe),pe.notifyInit(O.value),qe(O,re=>pe.notifyConfigChange(re));const{toggleColorMode:ee,isDarkMode:ae}=wL({initialColorMode:{true:"dark",false:"light",undefined:"system"}[String(O.value.darkMode)],overrideColorMode:O.value.forceDarkModeState}),de=I(()=>Y.workspace.activeDocument),ue=I(()=>pe.getSidebarEntries(u.value).reduce((re,ce)=>(re[ce.viewName].push({id:ce.id,title:ce.label,type:"text"}),re),{"content.start":[],"content.end":[]}
2485)),Ee=re=>{const ce=A.translate("navigation.introduction"),Ne=A.translate("navigation.webhooks"),De=O.value.modelsSectionLabel??di,Xt=_t=>{let On=!1;const Sn=_t.map(hn=>{let ar=hn;if(CS(hn)&&hn.title!==ce?ar={...hn,title:ce}:hn.type==="tag"&&hn.isWebhooks===!0&&(hn.title!==Ne||hn.name!==Ne)?ar={...hn,title:Ne,name:Ne}:hn.type==="models"&&(hn.title!==De||hn.name!==De)&&(ar={...hn,title:De,name:De}),"children"in hn&&hn.children){const Fd=Xt(hn.children);Fd!==hn.children&&(ar=ar===hn?{...hn}:ar,ar.children=Fd)}return ar!==hn&&(On=!0),ar});return On?Sn:_t};return Xt(re)},Te=P3e(I(()=>Object.entries(Y.workspace.documents).map(([re,ce])=>{const Ne=ce["x-scalar-navigation"]?.children??[],De=re===u.value?[...ue.value["content.start"],...Ee(Ne),...ue.value["content.end"]]:Ee(Ne);return{id:re,type:"document",description:ce.info.description,name:ce.info.title??re,title:ce.info.title??re,children:De}})),{hooks:{}}),D=re=>{re.forEach(ce=>{(ce.type==="tag"||ce.type==="models")&&Te.setExpanded(ce.id,!0),"children"in ce&&ce.children&&D(ce.children)})},oe=I(()=>{const re=O.value;if(!re)return[];const ce=Te.items.value.find(De=>De.id===u.value)?.children??[],Ne=h.value?b6e(ce,h.value,{protocol:f.value,server:p.value}):ce;if(re.defaultOpenAllTags&&D(Ne),re.expandAllModelSections){const De=Ne.find(Xt=>Xt.type==="models");De&&(Te.setExpanded(De.id,!0),De.children?.forEach(Xt=>{Te.setExpanded(Xt.id,!0)}))}return Ne}),fe=I(()=>oe.value.find(CS)?.id??`${u.value}/description/introduction`),z=K(!0);Mt(()=>{z.value=!1});const mt=K(""),te=I(()=>({breadcrumb:mt.value})),Oe=re=>{const ce=Te.getEntryById(re);!ce||ce.type==="document"?mt.value="":mt.value=ce.title},Et=I(()=>{const re=Te.selectedItem.value;if(!re)return[];const ce=[];let Ne=Te.getEntryById(re);for(;Ne;)Ne.type==="tag"&&(Ne.isTagGroup!==!0||O.value.layout==="classic")&&ce.unshift({id:Ne.id,title:Ne.title}),Ne=Ne.parent;return ce}),Pt=re=>{Oe(re),Te.setSelected(re),Bke(re,Te.setExpanded,Te.getEntryById)},gt=re=>{const ce=O.value?.setPageTitle,Ne=Te.getEntryById(re);if(!ce||typeof document>"u"||!Ne?.title)return;const De=Y.workspace.activeDocument;document.title=ce({title:Ne.title,document:{title:De?.info?.title??u.value,slug:u.value}})};xC({config:()=>O.value,store:Y,isDarkMode:ae}),xC({config:()=>O.value,store:W,isDarkMode:ae});const kn=I(()=>Zue(Y,Y.workspace.activeDocument??null).environment);typeof window<"u"&&(window.dataDumpWorkspace=()=>Y),t({eventBus:o,workspaceStore:Y,sidebarItems:oe});const Nr=I(()=>qat(oe.value));o.on("scroll-to:model-by-name",({name:re})=>{const ce=Nr.value[re];ce&&Pt(ce)});const rr=async(re,ce)=>{const Ne=await Y.addDocument(re,ce),De=W.workspace.documents[re.name],Xt=De&&typeof De=="object"?De["x-scalar-selected-server"]:void 0,_t=Eot(Y.exportWorkspace().documents[re.name])??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""};return typeof Xt=="string"&&Object.assign(_t,{"x-scalar-selected-server":Xt}),W.loadWorkspace({auth:{},documents:{[re.name]:_t},intermediateDocuments:{},originalDocuments:{},overrides:{},history:{},meta:{}}),Ne},qr=new Map,ge=re=>{if(Y.workspace.documents[re])return Promise.resolve();const ce=qr.get(re);if(ce)return ce;const Ne=l.value[re];if(!Ne)return Promise.resolve();const De=y({...Ne.config,...b.value},Ne.config),Xt=(async()=>{const _t=await rr(Ne.source.url?{name:re,url:Ne.source.url,fetch:De.customFetch}:{name:re,document:Ne.source.content??{}},De),On=W.workspace.documents[re];if(_t===!0&&Eo(On)&&On["x-scalar-selected-server"]===void 0){const Sn=vN(Ne.config.servers??On.servers,{baseServerUrl:De.baseServerURL,documentUrl:Ne.source.url});Sn.length>0&&W.updateDocument(re,"x-scalar-selected-server",Sn[0].url)}})().finally(()=>{qr.delete(re)});return qr.set(re,Xt),Xt};let je=!1,ot;const Lt=()=>{je=!0,ot?.(),ot=void 0},Ct=()=>{if(typeof window>"u")return;const re=Object.keys(l.value).filter(De=>!Y.workspace.documents[De]),ce=De=>{if(typeof window.requestIdleCallback=="function"){const Xt=window.requestIdleCallback(De,{timeout:1500});ot=()=>window.cancelIdleCallback(Xt)}else{const Xt=window.setTimeout(De,200);ot=()=>window.clearTimeout(Xt)}},Ne=()=>{if(je)return;const De=re.shift();De&&ge(De).finally(()=>{je||ce(Ne)})};ce(Ne)},zt=async(re,ce)=>{const Ne=l.value[re];if(!Ne){console.warn(`Document ${re} not found in configList`);return}const De=y({...Ne.config,...b.value},Ne.config),Xt=De.onDocumentSelect?.();if(U(re,ce,De),Ci.value?.route({documentSlug:re,method:"get",path:"/"}),await ge(re),Y.update("x-scalar-active-document",re),W.update("x-scalar-active-document",re),ce&&typeof window<"u"){const _t=bT(window.location.href,Pa(De.modelsSectionLabel??di),re,c.value,De.pathRouting?.basePath,j(Y.workspace.activeDocument?.["x-scalar-navigation"]?.children??[]));_t&&(window.history.replaceState({},"",_t.toString()),ce=fh(_t.href,De.pathRouting?.basePath,c.value?void 0:re)||ce)}if(De.persistAuth&&eit(W,re),(async()=>(await Xt,De.onLoaded?.(re)))(),ce&&ce!==re)Pt(ce);else if(De.defaultOpenFirstTag){const _t=oe.value.find(On=>On.type==="tag");_t&&Te.setExpanded(_t.id,!0)}gt(ce&&ce!==re?ce:re)};qe(()=>Object.values(l.value),async(re,ce)=>{const Ne=async(_t,On)=>{const Sn=y({..._t.config,...b.value},_t.config),hn=qr.get(_t.slug);
2485if(hn&&await hn,!!Y.workspace.documents[_t.slug]){if(_t.source.url&&_t.source.url!==On?.source.url){await rr({name:_t.slug,url:_t.source.url,fetch:Sn.customFetch},Sn);return}_t.source.content&&hX(_t.source.content,On&&"content"in On.source?On.source.content??{}:{}).length&&await rr({name:_t.slug,document:_t.source.content},Sn)}};re.forEach((_t,On)=>Ne(_t,ce[On]));const De=re.map(_t=>_t.slug),Xt=ce.map(_t=>_t.slug);(De.length!==Xt.length||!De.every((_t,On)=>_t===Xt[On]))&&await zt(De[0]??"")},{deep:!0}),HX(()=>zt(u.value)),yS(async()=>{Jat(W),await zt(u.value,fh(window.location.href,l.value[u.value]?.config.pathRouting?.basePath,c.value?void 0:u.value)),Ct()});const jn=I(()=>l.value[u.value]?.source?.url),Rr=y6e({agentEnabled:I(()=>l.value[u.value]?.agent?.disabled?!1:typeof window<"u"&&qf(window.location.href)?!0:!!l.value[u.value]?.agent?.key)});In(RD,Rr);const ba=vi("modal"),Ci=K(null);Mt(async()=>{if(!ba.value)return;const{createApiClientModal:re}=await Be(async()=>{const{createApiClientModal:ce}=await import("./index-C2L2Cw64.js").then(Ne=>Ne.i);return{createApiClientModal:ce}},__vite__mapDeps([86,1,2]));ba.value&&(Ci.value=re({el:ba.value,eventBus:o,workspaceStore:W,options:O,plugins:[...pe.getApiClientPlugins(),...tit(O,kn)]}))}),to(()=>{Lt(),pe.notifyDestroy(),Ci.value?.app.unmount()}),o.on("server:update:selected",({url:re})=>O.value.onServerChange?.(re)),o.on("asyncapi-server:update:selected",({name:re})=>{const ce=W.workspace.activeDocument;if(!So(ce))return;const Ne=Hx(ce,{webSocketOnly:!1}).find(De=>De.name===re);O.value.onServerChange?.(Ne?.url??re)}),o.on("ui:download:document",({format:re})=>{const ce=Y.exportActiveDocument(re);if(!ce){console.error("No document found to download");return}Kat(ce,u.value??"openapi",re)});const io=(re,ce)=>{const Ne=Te.getEntryById(re);if(gt(re),(Ne?.type==="tag"||Ne?.type==="models"||Ne?.type==="text")&&Te.isExpanded(re)&&Te.selectedItem.value===re){const Xt=sB();Te.setExpanded(re,!1),Xt();return}Ne?.type!=="tag"&&Ne?.type!=="models"&&(s.value=!1),Pt(re);const De=ph(re,E.value,c.value);De&&(window.history.pushState({},"",De),ce==="sidebar"&&O.value.onSidebarClick?.(De.toString())),Rr.showAgent.value&&Rr.closeAgent()};o.on("select:nav-item",({id:re})=>io(re)),o.on("scroll-to:nav-item",({id:re})=>io(re)),o.on("intersecting:nav-item",({id:re})=>{if(!Nke.value)return;Te.setSelected(re),Oe(re),gt(re),L3e(re);const ce=ph(re,E.value,c.value);ce&&Y.workspace.activeDocument&&window.history.replaceState({},"",ce.toString())}),o.on("toggle:nav-item",({id:re,open:ce})=>{if(ce){O.value.onShowMore?.(re);const Ne=Te.getEntryById(re);if(Ne&&"children"in Ne&&Ne.children){const De=Ne.children[0];De&&Tu(De.id)}}Te.setExpanded(re,ce??!Te.isExpanded(re))}),o.on("copy-url:nav-item",({id:re})=>{const ce=ph(re,E.value,c.value)?.toString();return ce&&r(ce)}),yS(()=>{window.history.scrollRestoration="manual",Bmt(),window.addEventListener("popstate",()=>{const re=fh(window.location.href,O.value.pathRouting?.basePath,c.value?void 0:u.value);re&&Pt(re)})});const oo=vi("documentStartRef");Ed(oo,()=>{o.emit("intersecting:nav-item",{id:fe.value})},{onExit:()=>{const re=window.innerHeight/2,ce=document.elementsFromPoint(window.innerWidth/2,re).find(Ne=>Ne.tagName==="SECTION"&&Ne.id);ce?.id&&o.emit("intersecting:nav-item",{id:ce.id})},immediate:!0});const ye=I(()=>{const re=Y.workspace["x-scalar-color-mode"];return re==="system"?Zat():re}),Re=G5e(typeof document<"u"?document.body:null);qe(Rr.showAgent,()=>Re.value=Rr.showAgent.value);const bt=I(()=>O.value.mcp?.disabled?!1:!!(typeof window<"u"&&qf(window.location.href)||O.value.mcp));return(re,ce)=>(g(),S("div",null,[(g(),L(Yt("style"),{innerHTML:R.value},null,8,["innerHTML"])),w("div",{ref:"documentEl",class:Se(["scalar-app scalar-api-reference references-layout",[{"scalar-api-references-standalone-mobile":O.value.showSidebar,"scalar-scrollbars-obtrusive":i.value,"references-editable":O.value.isEditable,"references-sidebar":O.value.showSidebar,"references-sidebar-mobile-open":s.value,"references-classic":O.value.layout==="classic"},re.$attrs.class]]),dir:m(A).direction.value,lang:T.value},[m(Rr).agentEnabled.value?(g(),L(m(x6e),{key:0,agentScalarConfiguration:l.value[u.value]?.agent,externalUrls:O.value.externalUrls,workspaceStore:m(Y)},null,8,["agentScalarConfiguration","externalUrls","workspaceStore"])):B("",!0),O.value.layout==="modern"?(g(),L(Ynt,{key:1,breadcrumb:mt.value,isSidebarOpen:s.value,showSidebar:O.value.showSidebar,onToggleSidebar:ce[5]||(ce[5]=()=>s.value=!s.value)},{search:P(()=>[O.value.hideSearch?B("",!0):(g(),L(wO,{key:0,class:"my-2",document:de.value,eventBus:m(o),hideModels:O.value.hideModels,modelsSectionLabel:O.value.modelsSectionLabel,searchHotKey:O.value.searchHotKey,showSidebar:O.value.showSidebar},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey","showSidebar"]))]),sidebar:P(({sidebarClasses:Ne})=>[O.value.showSidebar&&O.value.layout==="modern"?(g(),L(m(C3e),{key:0,"aria-label":m(A).translate("navigation.sidebarFor",{name:m(Y).workspace.activeDocument?.info?.title??""}),class:Se(["t-doc__sidebar",Ne]),getHref:C,isExpanded:m(Te).isExpanded,isSelected:m(Te).isSelected,items:oe.value,layout:"reference",options:x.value,onSelectItem:ce[3]||(ce[3]=De=>io(De,"sidebar")),onToggleGroup:ce[4]||(ce[4]=De=>m(Te).setExpanded(De,!m(Te).isExpanded(De)))},{header:P(()=>[d.value.length>1?(g(),L(SC,{key:0,modelValue:u.value,options:d.value,"onUpdate:modelValue":zt},null,8,["modelValue","options"])):B("",!0),O.value.hideSearch?B("",!0):(g(),S("div",zgt,[N(wO,{document:de.value,eventBus:m(o),hideModels:O.value.hideModels,modelsSectionLabel:O.value.modelsSectionLabel,searchHotKey:O.value.searchHotKey},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey"]),m(Rr).agentEnabled.value?(g(),L(m(O6e),{key:0})):B("",!0)])),H(re.$slots,"sidebar-start",Rt(Ft(te.value)),void 0,!0)]),before:P(()=>[N(m(m6e),{protocol:f.value,"onUpdate:protocol":ce[0]||(ce[0]=De=>f.value=De),server:p.value,"onUpdate:server":ce[1]||(ce[1]=De=>p.value=De),document:h.value},null,8,["protocol","server","document"]),h.value?(g(),L(m(Px),{key:0,class:"asyncapi-sidebar-document-section"},{default:P(()=>[...ce[8]||(ce[8]=[J(" Document ",-1)])]),_:1})):B("",!0)]),footer:P(()=>[H(re.$slots,"sidebar-end",Rt(Ft(te.value)),()=>[N(m(uwe),{class:"darklight-reference"},{description:P(()=>[w("a",Vgt,V(m(A).translate("footer.poweredByScalar")),1)]),toggle:P(()=>[!O.value.hideDarkModeToggle&&!O.value.forceDarkModeState?(g(),L(m(SL),{key:0,modelValue:ye.value==="dark","onUpdate:modelValue":ce[2]||(ce[2]=()=>m(ee)())},null,8,["modelValue"])):(g(),S("span",Hgt))]),default:P(()=>[!O.value.hideClientButton&&!bt.value?(g(),L(m($ot),{key:0,buttonSource:"sidebar",integration:O.value._integration,isDevelopment:m(a),url:jn.value},null,8,["integration","isDevelopment","url"])):B("",!0),bt.value?(g(),L(m(x5e),{key:1,config:O.value.mcp,externalUrls:O.value.externalUrls,isDevelopment:m(a),url:jn.value,workspace:m(Y)},null,8,["config","externalUrls","isDevelopment","url","workspace"])):B("",!0)]),_:1})],!0)]),_:3},8,["aria-label","class","isExpanded","isSelected","items","options"])):B("",!0)]),_:3},8,["breadcrumb","isSidebarOpen","showSidebar"])):B("",!0),z.value?(g(),L(Hnt,{key:2,basePath:E.value,isMultiDocument:c.value,items:oe.value,options:x.value},null,8,["basePath","isMultiDocument","items","options"])):B("",!0),w("main",{"aria-label":m(A).translate("navigation.mainContent",{name:m(Y).workspace.activeDocument?.info?.title??""}),class:"references-rendered",inert:m(Rr).showAgent.value},[N(Qnt,{authStore:m(W).auth,clientDocument:m(W).workspace.activeDocument,contextChain:Et.value,document:m(Y).workspace.activeDocument,documentSlug:u.value,environment:kn.value,eventBus:m(o),expandedItems:m(Te).expandedItems.value,headingSlugGenerator:O.value.generateHeadingSlug??(Ne=>`${u.value}/description/${Ne.slug}`),infoSectionId:fe.value,items:oe.value,options:O.value,xScalarDefaultClient:m(W).workspace["x-scalar-default-client"],xScalarDefaultExample:m(W).workspace["x-scalar-default-example"]},lr({start:P(()=>[w("div",{ref_key:"documentStartRef",ref:oo},null,512),m(Y).workspace.activeDocument?(g(),L(m(Qat),{key:0,overrides:b.value,"onUpdate:overrides":ce[6]||(ce[6]=Ne=>b.value=Ne),class:"references-developer-tools",configuration:O.value,externalUrls:O.value.externalUrls,workspace:m(Y)},null,8,["overrides","configuration","externalUrls","workspace"])):B("",!0),O.value.layout==="classic"?(g(),L(C5e,{key:1},{"dark-mode-toggle":P(()=>[!O.value.hideDarkModeToggle&&!O.value.forceDarkModeState?(g(),L(m(Ax),{key:0,class:"text-c-2 hover:text-c-1",mode:ye.value,style:{transform:"scale(1.4)"},variant:"icon",onClick:ce[7]||(ce[7]=()=>m(ee)())},null,8,["mode"])):B("",!0)]),default:P(()=>[w("div",Zgt,[d.value.length>1?(g(),L(SC,{key:0,modelValue:u.value,options:d.value,"onUpdate:modelValue":zt},null,8,["modelValue","options"])):B("",!0)]),O.value.hideSearch?B("",!0):(g(),L(wO,{key:0,class:"t-doc__sidebar max-w-64",document:de.value,eventBus:m(o),hideModels:O.value.hideModels,modelsSectionLabel:O.value.modelsSectionLabel,searchHotKey:O.value.searchHotKey},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey"]))]),_:1})):B("",!0),H(re.$slots,"content-start",Rt(Ft(te.value)),void 0,!0)]),end:P(()=>[H(re.$slots,"content-end",Rt(Ft(te.value)),void 0,!0)]),_:2},[O.value.isEditable?{name:"empty-state",fn:P(()=>[H(re.$slots,"editor-placeholder",Rt(Ft(te.value)),void 0,!0)]),key:"0"}:void 0]),1032,["authStore","clientDocument","contextChain","document","documentSlug","environment","eventBus","expandedItems","headingSlugGenerator","infoSectionId","items","options","xScalarDefaultClient","xScalarDefaultExample"])],8,qgt),re.$slots.footer?(g(),S("div",Xgt,[H(re.$slots,"footer",Rt(Ft(te.value)),void 0,!0)])):B("",!0),w("div",{ref_key:"modal",ref:ba},null,512)],10,Fgt),N(m(y5e))]))}}),Ggt=ct(Ygt,[["__scopeId","data-v-2e948397"]]);const Kgt={class:"api-docs h-full","data-testid":"api-docs"}
2485,Jgt=Q({__name:"api-docs",setup(e){const t=I(()=>({url:`${qX}/rest/v1/openapi.yaml`,theme:"none",forceDarkModeState:"light",hideDarkModeToggle:!0,hideClientButton:!0,layout:"modern",agent:{disabled:!0},mcp:{disabled:!0},defaultOpenAllTags:!0,slug:"recital-rest-api",title:"Recital REST API"}));return(n,r)=>(g(),S("div",Kgt,[N(m(Ggt),{configuration:t.value},null,8,["configuration"])]))}}),z2t=Object.freeze(Object.defineProperty({__proto__:null,default:Jgt},Symbol.toStringTag,{value:"Module"}));export{nB as $,Sv as A,xt as B,h5 as C,$v as D,ux as E,He as F,Qh as G,o2 as H,_ as I,Fe as J,vd as K,xV as L,yy as M,Eo as N,sde as O,Ba as P,vN as Q,ts as R,Bt as S,JD as T,nde as U,Yue as V,yN as W,pO as X,wot as Y,tke as Z,YD as _,kV as a,wm as a$,mg as a0,c8 as a1,MKe as a2,w2t as a3,Y6 as a4,cn as a5,E2t as a6,T2t as a7,A2t as a8,Ng as a9,OD as aA,yr as aB,My as aC,U_ as aD,g0 as aE,XZe as aF,UN as aG,Cp as aH,Cat as aI,EL as aJ,Sx as aK,Pp as aL,mr as aM,xx as aN,eo as aO,jN as aP,vfe as aQ,nu as aR,cB as aS,owe as aT,T8 as aU,ke as aV,e2 as aW,Ga as aX,Qr as aY,b8 as aZ,Lue as a_,Fp as aa,yl as ab,GF as ac,cC as ad,gJe as ae,gv as af,x2t as ag,lJe as ah,k2t as ai,B0 as aj,Yje as ak,I9 as al,Cz as am,Ry as an,ru as ao,b2t as ap,xet as aq,Ln as ar,Zue as as,ev as at,iv as au,xi as av,wd as aw,Knt as ax,Jr as ay,g2t as az,m5 as b,QL as b$,xle as b0,Bi as b1,Pu as b2,Ge as b3,ble as b4,Qt as b5,oN as b6,Iue as b7,qI as b8,gle as b9,Rx as bA,Py as bB,$y as bC,v8e as bD,p8e as bE,ku as bF,ka as bG,Z8e as bH,Lx as bI,zn as bJ,m2t as bK,mN as bL,So as bM,Kje as bN,b2 as bO,Jae as bP,wg as bQ,t2t as bR,s2t as bS,l2t as bT,lT as bU,Jje as bV,OQ as bW,o2t as bX,gx as bY,n2t as bZ,tT as b_,Oie as ba,mle as bb,WI as bc,ZI as bd,XI as be,f2 as bf,i2t as bg,lN as bh,p2 as bi,Zf as bj,gA as bk,gN as bl,Vue as bm,At as bn,vs as bo,Da as bp,Iy as bq,Pe as br,fr as bs,qt as bt,Ya as bu,Ny as bv,ds as bw,h2t as bx,Yn as by,p2t as bz,yot as c,$ot as c$,I2t as c0,r2t as c1,sN as c2,Bue as c3,uv as c4,st as c5,ea as c6,Ir as c7,zc as c8,Dt as c9,QUe as cA,Mue as cB,$Z as cC,er as cD,wi as cE,JI as cF,xm as cG,Dr as cH,Pot as cI,j2t as cJ,Q2t as cK,fQ as cL,bQ as cM,$2t as cN,P2t as cO,mde as cP,m0 as cQ,Ku as cR,$r as cS,Ly as cT,fZe as cU,$p as cV,g0e as cW,w0 as cX,wx as cY,Ac as cZ,eXe as c_,Mo as ca,rn as cb,Yx as cc,D2t as cd,Ig as ce,hXe as cf,Eue as cg,hx as ch,U2t as ci,B2t as cj,mx as ck,tp as cl,MXe as cm,kXe as cn,FN as co,En as cp,vt as cq,YQ as cr,gi as cs,SZe as ct,Uw as cu,Wo as cv,ov as cw,HUe as cx,qUe as cy,BUe as cz,cV as d,R2 as d0,au as d1,a2t as d2,$ue as d3,AUe as d4,P3e as d5,$3e as d6,_S as d7,r3e as d8,u2t as d9,Ex as da,xd as db,LL as dc,t3e as dd,BL as de,DL as df,d2t as dg,n3e as dh,c2t as di,xy as dj,YZe as dk,Rfe as dl,kg as dm,the as dn,zZe as dp,jhe as dq,C3e as dr,Td as ds,Fh as dt,hi as du,DD as dv,Bmt as dw,Dnt as dx,y5e as dy,z2t as dz,f5 as e,Fi as f,Du as g,Lc as h,fV as i,Nd as j,br as k,Rd as l,Vp as m,Or as n,dr as o,g5 as p,Hn as q,Hp as r,_V as s,Sot as t,EV as u,Md as v,Ov as w,Zt as x,ne as y,M as z}; 2486//# sourceMappingURL=api-docs-DZvGFd9T.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.